pub trait BottomBarExt: 'static {
Show 17 methods
fn title(&self) -> Option<GString>;
fn set_title(&self, value: &str);
fn description(&self) -> Option<GString>;
fn set_description(&self, value: &str);
fn menu_model(&self) -> Option<MenuModel>;
fn set_menu_model(&self, value: &impl IsA<MenuModel>);
fn is_collapse_actions(&self) -> bool;
fn set_collapse_actions(&self, value: bool);
fn append_button(
&self,
icon: &impl IsA<IconicButton>,
position: BottomBarPosition
);
fn prepend_button(
&self,
icon: &impl IsA<IconicButton>,
position: BottomBarPosition
);
fn remove_button(
&self,
icon: &impl IsA<IconicButton>,
position: BottomBarPosition
);
fn insert_button_after(
&self,
icon: &impl IsA<IconicButton>,
after: &impl IsA<IconicButton>,
position: BottomBarPosition
);
fn reorder_button_after(
&self,
icon: &impl IsA<IconicButton>,
sibling: &impl IsA<IconicButton>,
position: BottomBarPosition
);
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;
}
Expand description