Trait gtk::prelude::MenuBarExt [−][src]
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
Required methods
fn child_pack_direction(&self) -> PackDirection
fn child_pack_direction(&self) -> PackDirectionRetrieves the current child pack direction of the menubar.
See set_child_pack_direction().
Returns
the child pack direction
fn pack_direction(&self) -> PackDirection
fn pack_direction(&self) -> PackDirectionRetrieves the current pack direction of the menubar.
See set_pack_direction().
Returns
the pack direction
fn set_child_pack_direction(&self, child_pack_dir: PackDirection)
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)
fn set_pack_direction(&self, pack_dir: PackDirection)fn connect_child_pack_direction_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerIdfn connect_pack_direction_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId