Gtk.ToolShell¶
- Implementations:
Methods¶
|
|
|
Virtual Methods¶
|
|
Properties¶
None
Signals¶
None
Fields¶
None
Class Details¶
- class Gtk.ToolShell¶
- Bases:
- Structure:
The
Gtk.ToolShell
interface allows container widgets to provide additional information when embeddingGtk.ToolItem
widgets.- get_ellipsize_mode()[source]¶
- Returns:
the current ellipsize mode of self
- Return type:
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:
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:
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:
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:
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:
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:
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:
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.
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:
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:
mandatory implementation of
Gtk.ToolShell.get_icon_size
().
- do_get_orientation() virtual¶
- Returns:
the current orientation of shell
- Return type:
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:
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:
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:
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:
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:
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.
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.