get_toolbar_style


Description:

[ Version ( since = "2.4" ) ]
public ToolbarStyle get_toolbar_style ()

Returns the toolbar style used for this.

Custom subclasses of ToolItem should call this function in the handler of the GtkToolItem: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

Parameters:

this

a ToolItem

Returns:

A ToolbarStyle indicating the toolbar style used for this.