Trait zng_wgt_settings::SettingEditorExt
source · pub trait SettingEditorExt {
// Required methods
fn editor_fn(&self) -> Option<WidgetFn<Setting>>;
fn editor(&self) -> BoxedUiNode;
}
Expand description
Extends Setting
to get custom editor metadata.
Required Methods§
sourcefn editor(&self) -> BoxedUiNode
fn editor(&self) -> BoxedUiNode
Instantiate editor.
If an editor is set the EDITORS
service is used to instantiate the editor.