Gtk.ToolShell

g GObject.GInterface GObject.GInterface Gtk.ToolShell Gtk.ToolShell GObject.GInterface->Gtk.ToolShell

Implementations:
 Gtk.ToolItemGroup, Gtk.Toolbar

Properties

None

Signals

None

Fields

None

Class Details

class Gtk.ToolShell
Bases:GObject.GInterface
Structure:Gtk.ToolShellIface

The Gtk.ToolShell interface allows container widgets to provide additional information when embedding Gtk.ToolItem widgets.

get_ellipsize_mode()[source]
Returns:the current ellipsize mode of self
Return type:Pango.EllipsizeMode

Retrieves the current ellipsize mode for the tool shell. Tool items must not call this function directly, but rely on Gtk.ToolItem.get_ellipsize_mode() instead.

New in version 2.20.

get_icon_size()[source]
Returns:the current size (Gtk.IconSize) for icons of self
Return type:int

Retrieves the icon size for the tool shell. Tool items must not call this function directly, but rely on Gtk.ToolItem.get_icon_size() instead.

New in version 2.14.

get_orientation()[source]
Returns:the current orientation of self
Return type:Gtk.Orientation

Retrieves the current orientation for the tool shell. Tool items must not call this function directly, but rely on Gtk.ToolItem.get_orientation() instead.

New in version 2.14.

get_relief_style()[source]
Returns:The relief style of buttons on self.
Return type:Gtk.ReliefStyle

Returns the relief style of buttons on self. Tool items must not call this function directly, but rely on Gtk.ToolItem.get_relief_style() instead.

New in version 2.14.

get_style()[source]
Returns:the current style of self
Return type:Gtk.ToolbarStyle

Retrieves whether the tool shell has text, icons, or both. Tool items must not call this function directly, but rely on Gtk.ToolItem.get_toolbar_style() instead.

New in version 2.14.

get_text_alignment()[source]
Returns:the current text alignment of self
Return type:float

Retrieves the current text alignment for the tool shell. Tool items must not call this function directly, but rely on Gtk.ToolItem.get_text_alignment() instead.

New in version 2.20.

get_text_orientation()[source]
Returns:the current text orientation of self
Return type:Gtk.Orientation

Retrieves the current text orientation for the tool shell. Tool items must not call this function directly, but rely on Gtk.ToolItem.get_text_orientation() instead.

New in version 2.20.

get_text_size_group()[source]
Returns:the current text size group of self
Return type:Gtk.SizeGroup

Retrieves the current text size group for the tool shell. Tool items must not call this function directly, but rely on Gtk.ToolItem.get_text_size_group() instead.

New in version 2.20.

rebuild_menu()[source]

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 Gtk.ToolItem.rebuild_menu() instead.

New in version 2.14.

do_get_ellipsize_mode() virtual
Returns:the current ellipsize mode of shell
Return type:Pango.EllipsizeMode

Retrieves the current ellipsize mode for the tool shell. Tool items must not call this function directly, but rely on Gtk.ToolItem.get_ellipsize_mode() instead.

New in version 2.20.

do_get_icon_size() virtual
Return type:Gtk.IconSize
do_get_orientation() virtual
Returns:the current orientation of shell
Return type:Gtk.Orientation

Retrieves the current orientation for the tool shell. Tool items must not call this function directly, but rely on Gtk.ToolItem.get_orientation() instead.

New in version 2.14.

do_get_relief_style() virtual
Returns:The relief style of buttons on shell.
Return type:Gtk.ReliefStyle

Returns the relief style of buttons on shell. Tool items must not call this function directly, but rely on Gtk.ToolItem.get_relief_style() instead.

New in version 2.14.

do_get_style() virtual
Returns:the current style of shell
Return type:Gtk.ToolbarStyle

Retrieves whether the tool shell has text, icons, or both. Tool items must not call this function directly, but rely on Gtk.ToolItem.get_toolbar_style() instead.

New in version 2.14.

do_get_text_alignment() virtual
Returns:the current text alignment of shell
Return type:float

Retrieves the current text alignment for the tool shell. Tool items must not call this function directly, but rely on Gtk.ToolItem.get_text_alignment() instead.

New in version 2.20.

do_get_text_orientation() virtual
Returns:the current text orientation of shell
Return type:Gtk.Orientation

Retrieves the current text orientation for the tool shell. Tool items must not call this function directly, but rely on Gtk.ToolItem.get_text_orientation() instead.

New in version 2.20.

do_get_text_size_group() virtual
Returns:the current text size group of shell
Return type:Gtk.SizeGroup

Retrieves the current text size group for the tool shell. Tool items must not call this function directly, but rely on Gtk.ToolItem.get_text_size_group() instead.

New in version 2.20.

do_rebuild_menu() virtual

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 Gtk.ToolItem.rebuild_menu() instead.

New in version 2.14.