Trait gtk::prelude::ActionBarExt[][src]

pub trait ActionBarExt: 'static {
    fn center_widget(&self) -> Option<Widget>;
fn pack_end<P: IsA<Widget>>(&self, child: &P);
fn pack_start<P: IsA<Widget>>(&self, child: &P);
fn set_center_widget<P: IsA<Widget>>(&self, center_widget: Option<&P>);
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