ToolItem.getToolbarStyle

Returns the toolbar style used for tool_item. Custom subclasses of gtk.ToolItem should call this function in the handler of the GtkToolItem::toolbar_reconfigured signal to find out in what style the toolbar is displayed and change themselves accordingly

Possibilities are: - GTK_TOOLBAR_BOTH, meaning the tool item should show both an icon and a label, stacked vertically - GTK_TOOLBAR_ICONS, meaning the toolbar shows only icons - GTK_TOOLBAR_TEXT, meaning the tool item should only show text - GTK_TOOLBAR_BOTH_HORIZ, meaning the tool item should show both an icon and a label, arranged horizontally

class ToolItem
getToolbarStyle
()

Return Value

A GtkToolbarStyle indicating the toolbar style used for tool_item.

Meta