[][src]Trait gtk::MenuBarExt

pub trait MenuBarExt: 'static {
    fn get_child_pack_direction(&self) -> PackDirection;
fn get_pack_direction(&self) -> PackDirection;
fn set_child_pack_direction(&self, child_pack_dir: PackDirection);
fn set_pack_direction(&self, pack_dir: PackDirection);
fn connect_property_child_pack_direction_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_pack_direction_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Trait containing all MenuBar methods.

Implementors

MenuBar

Required methods

fn get_child_pack_direction(&self) -> PackDirection

Retrieves the current child pack direction of the menubar. See MenuBarExt::set_child_pack_direction.

Returns

the child pack direction

fn get_pack_direction(&self) -> PackDirection

Retrieves the current pack direction of the menubar. See MenuBarExt::set_pack_direction.

Returns

the pack direction

fn set_child_pack_direction(&self, child_pack_dir: PackDirection)

Sets how widgets should be packed inside the children of a menubar.

child_pack_dir

a new PackDirection

fn set_pack_direction(&self, pack_dir: PackDirection)

Sets how items should be packed inside a menubar.

pack_dir

a new PackDirection

fn connect_property_child_pack_direction_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_pack_direction_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

Loading content...

Implementors

impl<O: IsA<MenuBar>> MenuBarExt for O[src]

Loading content...