Constructor

GtkToolButtonnew

since: 2.4

Declaration [src]

GtkToolItem*
gtk_tool_button_new (
  GtkWidget* icon_widget,
  const gchar* label
)

Description [src]

Creates a new GtkToolButton using icon_widget as contents and label as label.

Available since: 2.4

Parameters

icon_widget

Type: GtkWidget

A widget that will be used as the button contents, or NULL.

The argument can be NULL.
The data is owned by the caller of the function.
label

Type: const gchar*

A string that will be used as label, or NULL.

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: GtkToolItem

A new GtkToolButton.

The data is owned by the called function.