Method

GtkToolButtonset_label_widget

Declaration [src]

void
gtk_tool_button_set_label_widget (
  GtkToolButton* button,
  GtkWidget* label_widget
)

Description [src]

Sets label_widget as the widget that will be used as the label for button. If label_widget is NULL the GtkToolButton:label property is used as label. If GtkToolButton:label is also NULL, the label in the stock item determined by the GtkToolButton:stock-id property is used as label. If GtkToolButton:stock-id is also NULL, button does not have a label.

Available since:2.4

Parameters

label_widget GtkWidget
 

The widget used as label, or NULL.

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