OmniBarExt

Trait OmniBarExt 

Source
pub trait OmniBarExt: IsA<OmniBar> + 'static {
Show 20 methods // Provided methods fn add_prefix(&self, priority: i32, widget: &impl IsA<Widget>) { ... } fn add_suffix(&self, priority: i32, widget: &impl IsA<Widget>) { ... } fn popover(&self) -> Option<Popover> { ... } fn progress(&self) -> f64 { ... } fn remove(&self, widget: &impl IsA<Widget>) { ... } fn set_popover(&self, popover: Option<&impl IsA<Popover>>) { ... } fn set_progress(&self, progress: f64) { ... } fn start_pulsing(&self) { ... } fn stop_pulsing(&self) { ... } fn action_tooltip(&self) -> Option<GString> { ... } fn set_action_tooltip(&self, action_tooltip: Option<&str>) { ... } fn icon_name(&self) -> Option<GString> { ... } fn set_icon_name(&self, icon_name: Option<&str>) { ... } fn menu_model(&self) -> Option<MenuModel> { ... } fn set_menu_model<P: IsA<MenuModel>>(&self, menu_model: Option<&P>) { ... } fn connect_action_tooltip_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_icon_name_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_menu_model_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_popover_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_progress_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... }
}

Provided Methods§

Source

fn add_prefix(&self, priority: i32, widget: &impl IsA<Widget>)

Source

fn add_suffix(&self, priority: i32, widget: &impl IsA<Widget>)

Source

fn popover(&self) -> Option<Popover>

Source

fn progress(&self) -> f64

Source

fn remove(&self, widget: &impl IsA<Widget>)

Source

fn set_popover(&self, popover: Option<&impl IsA<Popover>>)

Source

fn set_progress(&self, progress: f64)

Source

fn start_pulsing(&self)

Source

fn stop_pulsing(&self)

Source

fn action_tooltip(&self) -> Option<GString>

Source

fn set_action_tooltip(&self, action_tooltip: Option<&str>)

Source

fn icon_name(&self) -> Option<GString>

Source

fn set_icon_name(&self, icon_name: Option<&str>)

Source

fn menu_model(&self) -> Option<MenuModel>

Source

fn set_menu_model<P: IsA<MenuModel>>(&self, menu_model: Option<&P>)

Source

fn connect_action_tooltip_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_icon_name_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_menu_model_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_popover_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_progress_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§