GtkToolButton

## GtkToolButton GtkToolButton — A GtkToolItem subclass that displays buttons |

## Includes

    #include <gtk/gtk.h>

## Description

GtkToolButtons are GtkToolItems containing buttons.

Use `gtk_tool_button_new()` to create a new GtkToolButton. Use `gtk_tool_button_new_with_stock()` to create a GtkToolButton containing a stock item.

The label of a GtkToolButton is determined by the properties "label-widget", "label", and "stock-id". If "label-widget" is non-`NULL`, then that widget is used as the label. Otherwise, if "label" is non-`NULL`, that string is used as the label. Otherwise, if "stock-id" is non-`NULL`, the label is determined by the stock item. Otherwise, the button does not have a label.

The icon of a GtkToolButton is determined by the properties "icon-widget" and "stock-id". If "icon-widget" is non-`NULL`, then that widget is used as the icon. Otherwise, if "stock-id" is non-`NULL`, the icon is determined by the stock item. Otherwise, the button does not have a icon.

## Functions

## Types and Values

## See Also

GtkToolbar | The toolbar widget
GtkMenuToolButton | A subclass of GtkToolButton that displays on the toolbar a button with an additional dropdown menu
GtkToggleToolButton | A subclass of GtkToolButton that displays toggle buttons on the toolbar
GtkRadioToolButton | A subclass of GtkToolButton that displays radio buttons on the toolbar
GtkSeparatorToolItem | A subclass of GtkToolItem that separates groups of items on a toolbar