gtk.ToolShell — Interface for containers containing GtkToolItem widgets.
class gtk.ToolShell( |
The gtk.ToolShell
interface allows container widgets to provide additional information when embedding GtkToolItem widgets.
see_also: gtk.ToolBar
,
gtk.ToolItem
def get_icon_size()
Returns : | The current size for icons of shell. |
This method is available in PyGTK 2.14 and above.
The get_icon_size
() method 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.
def get_orientation()
Returns : | The current orientation of shell. |
This method is available in PyGTK 2.14 and above.
The get_orientation
() method retrieves the
current orientation for the tool shell. Tool items must not call
this function directly, but rely on
gtk.ToolItem.get_orientation
()
instead.
def get_relief_style()
Returns : | The relief style of buttons on shell. |
This method is available in PyGTK 2.14 and above.
The get_relief_style
() method 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.
def get_style()
Returns : | The current style of shell. |
This method is available in PyGTK 2.14 and above.
The get_style
() method retrieves whether the tool
shell has text, icons, or both. Tool items must not call this function directly, but rely on
()
instead.
def rebuild_menu()
Returns : |
This method is available in PyGTK 2.14 and above.
The rebuild_menu
() method 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.get_relief_style
()
instead.