Trait zng::mouse::WidgetInfoBuilderMouseExt
source · pub trait WidgetInfoBuilderMouseExt {
// Required method
fn set_click_mode(&mut self, mode: Option<ClickMode>);
}
Expand description
Mouse config builder methods.
Required Methods§
sourcefn set_click_mode(&mut self, mode: Option<ClickMode>)
fn set_click_mode(&mut self, mode: Option<ClickMode>)
Sets the click mode of the widget.
Setting this to None
will cause the widget to inherit the click mode.