Method

GtkButtonset_label

Declaration [src]

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

Description [src]

Sets the text of the label of the button to label.

This will also clear any previously set labels.

Sets propertyGtk.Button:label

Parameters

label

Type: const char*

A string.

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