Method

GtkLabelset_label

Declaration [src]

void
gtk_label_set_label (
  GtkLabel* self,
  const char* str
)

Description [src]

Sets the text of the label.

The label is interpreted as including embedded underlines and/or Pango markup depending on the values of the GtkLabel:use-underline and GtkLabel:use-markup properties.

Sets propertyGtk.Label:label

Parameters

str

Type: const char*

The new text to set for the label.

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