Method
GtkToolItemget_toolbar_style
since: 2.4
Declaration [src]
GtkToolbarStyle
gtk_tool_item_get_toolbar_style (
GtkToolItem* tool_item
)
Description [src]
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_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.
Available since: 2.4
Return value
Type: GtkToolbarStyle
A GtkToolbarStyle indicating the toolbar style used
for tool_item.