[][src]Trait gtk::ActionBarExt

pub trait ActionBarExt: 'static {
    fn get_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 get_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 get_child_position<T: IsA<Widget>>(&self, item: &T) -> i32;
fn set_child_position<T: IsA<Widget>>(&self, item: &T, position: i32); }

Trait containing all ActionBar methods.

Implementors

ActionBar

Required methods

fn get_center_widget(&self) -> Option<Widget>

Retrieves the center bar widget of the bar.

Returns

the center Widget or None.

fn pack_end<P: IsA<Widget>>(&self, child: &P)

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

child

the Widget to be added to self

fn pack_start<P: IsA<Widget>>(&self, child: &P)

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

child

the Widget to be added to self

fn set_center_widget<P: IsA<Widget>>(&self, center_widget: Option<&P>)

Sets the center widget for the ActionBar.

center_widget

a widget to use for the center

fn get_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 get_child_position<T: IsA<Widget>>(&self, item: &T) -> i32

fn set_child_position<T: IsA<Widget>>(&self, item: &T, position: i32)

Loading content...

Implementors

impl<O: IsA<ActionBar>> ActionBarExt for O[src]

Loading content...