Skip to main content

Module build

Module build 

Source
Expand description

Code-side widget construction.

Builders mirror the RON authoring path but produce (UiItem, ItemState) pairs directly, so callers can spawn widgets at runtime via StandaloneHandle::create and friends.

Style references are by string name and resolved against the running pane’s style map at create time. Pass None to fall back to the menu’s default_style.

Structs§

ButtonBuilder
DropdownBuilder
RadioGroupBuilder
SliderBuilder
TextBoxBuilder
ToggleBuilder

Traits§

WidgetBuilder
Common trait for code-constructed widgets. Used by create() on the handles.