Package: gtk

Function gtk-tool-item-toolbar-style

Lambda List

gtk-tool-item-toolbar-style (item)

Arguments

item -- a gtk-tool-item widget

Return Value

A gtk-toolbar-style value indicating the toolbar style used for item.

Details

Returns the toolbar style used for the tool item. Custom subclasses of the gtk-tool-item class should call this function in the handler of the "toolbar-reconfigured" signal to find out in what style the toolbar is displayed and change themselves accordingly.

Possibilities are:
    :both
    Meaning the tool item should show both an icon and a label, stacked vertically.
    :icons
    Meaning the toolbar shows only icons.
    :text
    Meaning the tool item should only show text.
    :both-horiz
    Meaning the tool item should show both an icon and a label, arranged horizontally. However, note the "has-text-horizontally" property that makes tool buttons not show labels when the toolbar style is :both-horiz.
 

See also

2021-10-31