Expand description
Widget node types, UiNode
, UiNodeList
and others.
Macros§
- Creates an
UiVec
containing the arguments.
Structs§
- Placeholder for the dynamic child of an adoptive node.
- Represents a node setup to dynamically swap child.
- A reference counted
UiNode
. - A reference counted
UiNodeList
. - Default
PanelList
associated data. - Represents an
UiNodeList
that can be modified using a connected sender. - Represents a sender to an
EditableUiNodeList
. - A UI node that fills the available layout space.
- Child node of
match_node
. - Children node of
match_node_list
. - Child node of
match_widget
. - A UI node that does nothing and has collapsed layout (zero size).
- Represents an
UiNodeListObserver
that applies an offset to all indexes. - Represents the final
UiNodeList
in a panel layout node. - First and last child widget in a
PanelList
. - Represents the contextual parent
SortingList
during an update. - Represents a sorted view into an
UiNodeList
. - Implementation of
UiNodeListChain::chain
. - Vec of boxed UI nodes.
- Weak reference to a
ArcNode<U>
. - Weak reference to a
ArcNodeList<U>
. - Builds a node that can be one of multiple options, selected by the first condition that is
true
, or a fallback default. - Builds a node list that can be one of multiple options, selected by the first condition that is
true
, or a fallback default. - Access to widget z-index in a parent
PanelList
.
Enums§
- Represents a node operation in a
match_node
. - Identifies an
UiNodeOp
method without the associated data.
Traits§
- Represents an item’s associated data in a
PanelList
. - Represents an UI tree node.
- Represents a list of UI nodes.
- Adds the
chain
method for allUiNodeList
implementors. - Represents an
UiNodeList::update_all
observer that can be used to monitor widget insertion, removal and re-order.
Functions§
- Helper for declaring state properties that are controlled by a variable.
- Helper for declaring state properties that are controlled by a variable.
- Creates a border node that delegates rendering to a
border_visual
and manages theborder_offsets
coordinating with the other borders of the widget. - Helper for declaring state properties that depend on a single event.
- Helper for declaring state properties that depend on two other event states.
- Helper for declaring state properties that depend on three other event states.
- Helper for declaring state properties that depend on four other event states.
- Create a widget node that wraps the
widget
with any number of other non-widget nodes and still delegateswith_context
to thewidget
. - Transforms and clips the
content
node according with the default widget border align behavior. - Create a node that controls interaction for all widgets inside
node
. - Node that presents
list
usingitem_fn
for each new list item. - Creates a node that is implemented as a closure that matches over
UiNodeOp
and delegates to another child node. - Creates a node that is implemented as a closure that matches over
UiNodeOp
and does not delegate to any child node. - Creates a node that is implemented as a closure that matches over
UiNodeOp
and delegates to multiple children nodes in a list. - Like
match_node
, but does not change the child type when build withdyn_node
. - Creates a widget that is implemented as a closure that matches over
UiNodeOp
and delegates to another child widget. - Node that presents
data
usingwgt_fn
. - Node that presents
data
usingwgt_fn
if data is available, otherwise presents nil. - Helper for declaring state getter properties that are controlled by values in the widget state map.
- Helper for declaring state properties that are controlled by values in the widget state map.
- Helper for declaring widgets that are recontextualized to take in some of the context of an original parent.
- Helper for declaring nodes that sets a context local value.
- Helper for declaring nodes that sets a context local value generated on init.
- Helper for declaring properties that sets a context var.
- Helper for declaring properties that sets a context var to a value generated on init.
- Helper for a property that gets the index of the widget in the parent panel and the number of children.
- Helper for a property that gets the index of the widget in the parent panel.
- Helper for a property that gets the reverse index of the widget in the parent panel.
- Helper for declaring properties that set the widget state.
- Helper for declaring properties that set the widget state with a custom closure.
Type Aliases§
- An
UiNode
in a box. - An
UiNodeList
in a box.