Crate zng_wgt_settings
source ·Expand description
Settings widgets.
Structs§
- Arguments for a widget function that makes a list of category items that can be selected.
- Arguments for a widget function that makes a category header in a settings list.
- Arguments for a widget function that makes a category item for a categories list.
- Arguments for the entire settings editor layout.
- Arguments for a widget function that makes a setting container.
- Arguments for a widget function that makes a settings for a category list.
W
Settings editor widget.- Represents the current settings data.
- Arguments for a search box widget.
Statics§
- Categories list.
- Category header on the settings list.
- Category in a category list.
- Editor layout.
- Settings list for a category.
- Settings search area.
- Setting item.
Traits§
- Extends
SettingBuilder
to set custom editor metadata. - Extends
Setting
to get custom editor metadata. - Extends
SETTINGS
to provide contextual information in an editor. - Extends
WidgetInfo
to provide the setting config key for setting widgets.
Functions§
P
Widget function that convertsCategoriesListArgs
to a category list.P
Widget function that convertsCategoryHeaderArgs
to a category settings header.P
Widget function that convertsCategoryItemArgs
to a category item on a category list.- Default categories list view on
actual_width > 400
. - Default categories list view on
actual_width <= 400
. - Default category item view.
- Default category item view.
- Default editor layout on
actual_width > 400
. - Default editor layout on
actual_width <= 400
. - Default setting item view.
- Default settings for a category view.
- Default settings search box.
- Set a
SETTINGS_CMD
handler that shows the settings window. P
Widget that defines the editor layout, bringing together the other component widgets.P
Save and restore settings search and selected category.P
Identifies thesetting_fn
widget.P
Widget function that convertsSettingArgs
to a setting editor entry on a settings list.- Implements the
SettingsEditor!
inner widgets. P
Widget function that convertsSettingsArgs
to a settings list.P
Widget function that convertsSettingsSearchArgs
to a search box.