Trait zng_wgt::WidgetInfoBuilderModalExt

source ·
pub trait WidgetInfoBuilderModalExt {
    // Required methods
    fn insert_modal_include(&mut self, include: WidgetId);
    fn set_modal_included(&mut self, modal: WidgetId);
}
Expand description

Widget info builder extensions for modal control.

Required Methods§

source

fn insert_modal_include(&mut self, include: WidgetId)

Include an extra widget in the modal filter of this widget.

source

fn set_modal_included(&mut self, modal: WidgetId)

Register a modal widget that must include this widget in its modal filter.

Implementations on Foreign Types§

source§

impl WidgetInfoBuilderModalExt for WidgetInfoBuilder

source§

fn insert_modal_include(&mut self, include: WidgetId)

source§

fn set_modal_included(&mut self, modal: WidgetId)

Implementors§