ToolShellT

The GtkToolShell interface allows container widgets to provide additional information when embedding gtk.ToolItem widgets.

Members

Functions

getEllipsizeMode
PangoEllipsizeMode getEllipsizeMode()

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

getIconSize
GtkIconSize getIconSize()

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

getReliefStyle
GtkReliefStyle getReliefStyle()

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

getTextAlignment
float getTextAlignment()

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

getTextOrientation
GtkOrientation getTextOrientation()

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

getTextSizeGroup
SizeGroup getTextSizeGroup()

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

getToolBarStyle
GtkToolbarStyle getToolBarStyle()

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

getToolShellStruct
GtkToolShell* getToolShellStruct(bool transferOwnership)

Get the main Gtk struct

rebuildMenu
void rebuildMenu()

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.