zng::config::settings::editor

Function setting_fn

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

P Widget function that converts SettingArgs to a setting editor entry on a settings list.

Note that the widget must set setting or some features will not work.

Sets the SETTING_FN_VAR.