gtk.ToolShellInterface for containers containing GtkToolItem widgets.Synopsisgtk.ToolShellgobject.GInterfaceget_icon_sizeget_orientationget_relief_styleget_stylerebuild_menuAncestry+-- gobject.GInterface
+-- gtk.ToolShell
Known Implementationgtk.ToolShell
is implementated by
gtk.ToolBar,
Description
The gtk.ToolShell
interface allows container widgets to provide additional information when embedding GtkToolItem widgets.
see_also: gtk.ToolBar,
gtk.ToolItemMethodsgtk.ToolShell.get_icon_sizeget_icon_sizeReturns :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.
gtk.ToolShell.get_orientationget_orientationReturns :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.
gtk.ToolShell.get_relief_styleget_relief_styleReturns :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.
gtk.ToolShell.get_styleget_styleReturns :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
gtk.ToolItem.get_style()
instead.
gtk.ToolShell.rebuild_menurebuild_menuReturns :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.