[−][src]Trait gtk::ToolShellExt
Required methods
fn get_ellipsize_mode(&self) -> EllipsizeMode
Retrieves the current ellipsize mode for the tool shell. Tool items must not
call this function directly, but rely on ToolItemExt::get_ellipsize_mode
instead.
Returns
the current ellipsize mode of self
fn get_icon_size(&self) -> IconSize
Retrieves the icon size for the tool shell. Tool items must not call this
function directly, but rely on ToolItemExt::get_icon_size
instead.
Returns
the current size (IconSize
) for icons of self
fn get_orientation(&self) -> Orientation
Retrieves the current orientation for the tool shell. Tool items must not
call this function directly, but rely on ToolItemExt::get_orientation
instead.
Returns
the current orientation of self
fn get_relief_style(&self) -> ReliefStyle
Returns the relief style of buttons on self
. Tool items must not call this
function directly, but rely on ToolItemExt::get_relief_style
instead.
Returns
The relief style of buttons on self
.
fn get_style(&self) -> ToolbarStyle
Retrieves whether the tool shell has text, icons, or both. Tool items must
not call this function directly, but rely on ToolItemExt::get_toolbar_style
instead.
Returns
the current style of self
fn get_text_alignment(&self) -> f32
Retrieves the current text alignment for the tool shell. Tool items must not
call this function directly, but rely on ToolItemExt::get_text_alignment
instead.
Returns
the current text alignment of self
fn get_text_orientation(&self) -> Orientation
Retrieves the current text orientation for the tool shell. Tool items must not
call this function directly, but rely on ToolItemExt::get_text_orientation
instead.
Returns
the current text orientation of self
fn get_text_size_group(&self) -> Option<SizeGroup>
Retrieves the current text size group for the tool shell. Tool items must not
call this function directly, but rely on ToolItemExt::get_text_size_group
instead.
Returns
the current text size group of self
fn rebuild_menu(&self)
Calling this function signals the tool shell that the overflow menu item for tool items have changed. If there is an overflow menu and if it is visible when this function it called, the menu will be rebuilt.
Tool items must not call this function directly, but rely on
ToolItemExt::rebuild_menu
instead.