Method

GtkButtonset_label

Declaration [src]

void
gtk_button_set_label (
  GtkButton* button,
  const gchar* label
)

Description [src]

Sets the text of the label of the button to str. This text is also used to select the stock item if gtk_button_set_use_stock() is used.

This will also clear any previously set labels.

Sets propertyGtk.Button:label

Parameters

label const gchar*
 

A string.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.