zng::config::settings::editor

Function category_item_fn

source
pub fn category_item_fn(
    child: impl UiNode,
    wgt_fn: impl IntoVar<WidgetFn<CategoryItemArgs>>,
) -> impl UiNode
Expand description

P Widget function that converts CategoryItemArgs to a category item on a category list.

Sets the CATEGORY_ITEM_FN_VAR.