Expand description
Basic nodes for widgets, some used in WidgetBase.
Functionsยง
- build
- Capture the
idproperty and builds the base widget. - include_
intrinsics - Insert
widget_childandwidget_innerin the widget. - widget
- Create a widget node that wraps
childand introduces a new widget context. The node defines anWIDGETcontext and implements the widget in each specific node method. - widget_
child - Returns a node that wraps
childand potentially applies child transforms if thechildturns out to not be a full widget or to be multiple children. This is important for making properties like padding or content_align work for anyUiNodeas content. - widget_
inner - Returns a node that wraps
childand marks theWidgetLayout::with_innerandFrameBuilder::push_inner.