pub trait OmniBarExt: 'static {
Show 20 methods // Required 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: &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;
}

Required 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: &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

Implementors§