ZoneConfig::WidgetConfig
ZoneConfig::WidgetConfig
Configuration for a single widget in a zone.
#include <ZoneConfig.hpp>
Public Attributes
| Name | |
|---|---|
| std::string | type_id Editor type ID (e.g., “MediaWidget”). |
| std::optional< std::string > | title Custom title (uses default if not set). |
| std::optional< std::string > | instance_id Specific instance ID (for restoration). |
| bool | visible Whether the widget is visible. |
| bool | closable Whether the widget can be closed. |
Public Attributes Documentation
variable type_id
std::string type_id;Editor type ID (e.g., “MediaWidget”).
variable title
std::optional< std::string > title;Custom title (uses default if not set).
variable instance_id
std::optional< std::string > instance_id;Specific instance ID (for restoration).
variable visible
bool visible = true;Whether the widget is visible.
variable closable
bool closable = true;Whether the widget can be closed.
Updated on 2026-11-13 at 20:25:41 +0000