ToolItem.getToolbarStyle
gtk.types.ToolbarStyle getToolbarStyle()Returns the toolbar style used for tool_item. Custom subclasses of #GtkToolItem 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.types.ToolbarStyle.Both, meaning the tool item should show both an icon and a label, stacked vertically
- gtk.types.ToolbarStyle.Icons, meaning the toolbar shows only icons
- gtk.types.ToolbarStyle.Text, meaning the tool item should only show text
- gtk.types.ToolbarStyle.BothHoriz, meaning the tool item should show both an icon and a label, arranged horizontally
Returns
A #GtkToolbarStyle indicating the toolbar style used for tool_item.