pub trait ActionBarExt: 'static {
    fn center_widget(&self) -> Option<Widget>;
    fn pack_end(&self, child: &impl IsA<Widget>);
    fn pack_start(&self, child: &impl IsA<Widget>);
    fn set_center_widget(&self, center_widget: Option<&impl IsA<Widget>>);
    fn child_pack_type<T: IsA<Widget>>(&self, item: &T) -> PackType;
    fn set_child_pack_type<T: IsA<Widget>>(&self, item: &T, pack_type: PackType);
    fn child_position<T: IsA<Widget>>(&self, item: &T) -> i32;
    fn set_child_position<T: IsA<Widget>>(&self, item: &T, position: i32);
}
Expand description

Trait containing all ActionBar methods.

Implementors

ActionBar

Required Methods

Retrieves the center bar widget of the bar.

Returns

the center Widget or None.

Adds child to self, packed with reference to the end of the self.

child

the Widget to be added to self

Adds child to self, packed with reference to the start of the self.

child

the Widget to be added to self

Sets the center widget for the ActionBar.

center_widget

a widget to use for the center

Implementors