zng::menu::sub

Function end_column_fn

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

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

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