zng_wgt_container

Function child

source
pub fn child(widget_child: impl UiNode, child: impl UiNode) -> impl UiNode
Expand description

P The widget’s child.

Can be any type that implements UiNode, any widget.

In Container! derived widgets or similar this property is captured and used as the actual child, in other widgets this property is an alias for child_under.