Function zng::menu::icon

source ยท
pub fn icon(child: impl UiNode, icon: impl UiNode) -> impl UiNode
Expand description

P Menu item icon.

Set on a Button! inside a sub-menu to define the menu Icon! for that button.

This property is an alias for sub::start_column.