Expand description
Widget, UI node API.
Modules§
- base
- The widget base, nodes and properties used in most widgets.
- border
- Border and line types.
- builder
- Widget and property builder types.
- info
- Widget info tree.
- inspector
- Helper types for inspecting an UI tree.
- node
- Widget nodes types,
UiNode
,UiNodeList
and others.
Macros§
- widget_
impl - Implement a property on the widget to strongly associate it with the widget.
- widget_
set - Sets properties and when condition on a widget builder.
Structs§
- OnVar
Args - Arguments for a var event handler.
- WIDGET
- Current context widget.
- Widget
Ctx - Defines the backing data of
WIDGET
. - Widget
Handles Ctx - Defines the backing data for
WIDGET.with_handles
. - Widget
Id - Unique ID of a widget.
Enums§
- Widget
Update Mode - Defines how widget update requests inside
WIDGET::with_context
are handled.
Traits§
- AnyVar
Subscribe - Extension method to subscribe any widget to a variable.
- Response
VarSubscribe - Extension methods to subscribe app handlers to a response variable.
- UiTask
Widget - Integrate
UiTask
with widget updates. - VarLayout
- Extension methods to layout var values.
- VarSubscribe
- Extension methods to subscribe any widget to a variable or app handlers to a variable.
Attribute Macros§
- easing
- Expands a property assign to include a build action that applies an easing transition to the variable inputs.
- property
- Expands a function to a widget property.
- ui_node
- Expands an impl into a
UiNode
impl. - widget
- Expands a struct to a widget and macro.
- widget_
mixin - Expands a generic struct to a widget mixin.