pub trait MenuBarExt: 'static {
    fn child_pack_direction(&self) -> PackDirection;
    fn pack_direction(&self) -> PackDirection;
    fn set_child_pack_direction(&self, child_pack_dir: PackDirection);
    fn set_pack_direction(&self, pack_dir: PackDirection);
    fn connect_child_pack_direction_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_pack_direction_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }
Expand description

Trait containing all MenuBar methods.

Implementors

MenuBar

Required Methods

Retrieves the current child pack direction of the menubar. See set_child_pack_direction().

Returns

the child pack direction

Retrieves the current pack direction of the menubar. See set_pack_direction().

Returns

the pack direction

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

child_pack_dir

a new PackDirection

Sets how items should be packed inside a menubar.

pack_dir

a new PackDirection

Implementors