zng::menu::sub

Function start_column_fn

source
pub fn start_column_fn(
    child: impl UiNode,
    cell_fn: impl IntoVar<WidgetFn<()>>,
) -> impl UiNode
Expand description

P Sets the content to the Align::START side of the button menu item generated using a WidgetFn<()>.

This property presents the same visual as start_column, but when used in styles cell_fn is called multiple times to generate duplicates of the start cell.