Interface for containers containing GtkToolItem widgets
Class GtkToolShell
The GtkToolShell interface allows container widgets to provide additional information when embedding GtkToolItem widgets.
Methods | |
get_ellipsize_mode | Retrieves the current ellipsize mode for the tool shell. |
get_icon_size | Retrieves the icon size for the tool shell. |
get_orientation | Retrieves the current orientation for the tool shell. |
get_relief_style | Returns the relief style of buttons on shell. |
get_style | Retrieves whether the tool shell has text, icons, or both. |
get_text_alignment | Retrieves the current text alignment for the tool shell. |
get_text_orientation | Retrieves the current text orientation for the tool shell. |
rebuild_menu | Calling this function signals the tool shell that the overflow menu item for tool items have changed. |
Retrieves the current ellipsize mode for the tool shell.
GtkToolShell.get_ellipsize_mode()
Return | the current ellipsize mode of shell (PangoEllipsizeMode). |
Tool items must not call this function directly, but rely on gtk_tool_item_get_ellipsize_mode() instead.
Retrieves the icon size for the tool shell.
GtkToolShell.get_icon_size()
Return | the current size for icons of shell (GtkIconSize). |
Tool items must not call this function directly, but rely on gtk_tool_item_get_icon_size() instead.
Retrieves the current orientation for the tool shell.
GtkToolShell.get_orientation()
Return | the current orientation of shell (GtkOrientation). |
Tool items must not call this function directly, but rely on gtk_tool_item_get_orientation() instead.
Returns the relief style of buttons on shell.
GtkToolShell.get_relief_style()
Return | The relief style of buttons on shell (GtkReliefStyle). |
Tool items must not call this function directly, but rely on gtk_tool_item_get_relief_style() instead.
Retrieves whether the tool shell has text, icons, or both.
GtkToolShell.get_style()
Return | the current style of shell (GtkToolbarStyle). |
Tool items must not call this function directly, but rely on gtk_tool_item_get_style() instead.
Retrieves the current text alignment for the tool shell.
GtkToolShell.get_text_alignment()
Return | the current text alignment of shell. |
Tool items must not call this function directly, but rely on gtk_tool_item_get_text_alignment() instead.
Retrieves the current text orientation for the tool shell.
GtkToolShell.get_text_orientation()
Return | the current text orientation of shell (GtkOrientation). |
Tool items must not call this function directly, but rely on gtk_tool_item_get_text_orientation() instead.
Calling this function signals the tool shell that the overflow menu item for tool items have changed.
GtkToolShell.rebuild_menu()
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_tool_item_rebuild_menu() instead.