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§
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 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_popover_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
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.