since: 2.4

Declaration [src]

gtk_tool_button_set_label (
  GtkToolButton* button,
  const gchar* label

Description [src]

Sets label as the label used for the tool button. The GtkToolButton:label property only has an effect if not overridden by a non-NULL GtkToolButton:label-widget property. If both the GtkToolButton:label-widget and GtkToolButton:label properties are NULL, the label is determined by the GtkToolButton:stock-id property. If the GtkToolButton:stock-id property is also NULL, button will not have a label.

Available since: 2.4

Sets propertyGtk.ToolButton: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 method.
The value is a NUL terminated UTF-8 string.