Trait libhelium::prelude::BottomBarExt
source · pub trait BottomBarExt: IsA<BottomBar> + Sealed + 'static {
Show 17 methods
// Provided methods
fn append_button(
&self,
icon: &impl IsA<Button>,
position: BottomBarPosition,
) { ... }
fn prepend_button(
&self,
icon: &impl IsA<Button>,
position: BottomBarPosition,
) { ... }
fn remove_button(
&self,
icon: &impl IsA<Button>,
position: BottomBarPosition,
) { ... }
fn insert_button_after(
&self,
icon: &impl IsA<Button>,
after: &impl IsA<Button>,
position: BottomBarPosition,
) { ... }
fn reorder_button_after(
&self,
icon: &impl IsA<Button>,
sibling: &impl IsA<Button>,
position: BottomBarPosition,
) { ... }
fn title(&self) -> GString { ... }
fn set_title(&self, value: &str) { ... }
fn description(&self) -> GString { ... }
fn set_description(&self, value: &str) { ... }
fn menu_model(&self) -> MenuModel { ... }
fn set_menu_model(&self, value: &impl IsA<MenuModel>) { ... }
fn is_collapse_actions(&self) -> bool { ... }
fn set_collapse_actions(&self, value: bool) { ... }
fn connect_title_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_description_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_menu_model_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_collapse_actions_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}
Provided Methods§
fn title(&self) -> GString
fn set_title(&self, value: &str)
fn description(&self) -> GString
fn set_description(&self, value: &str)
fn is_collapse_actions(&self) -> bool
fn set_collapse_actions(&self, value: bool)
fn connect_title_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_description_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_collapse_actions_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
Object Safety§
This trait is not object safe.