Method

Gtk.Label.get_text

Declaration [src]

const char*
gtk_label_get_text (
  GtkLabel* self
)

Description [src]

Fetches the text from a label.

The returned text is as it appears on screen. This does not include any embedded underlines indicating mnemonics or Pango markup. (See gtk_label_get_label())

Return value

Returns: const char*

the text in the label widget. This is the internal string used by the label, and must not be modified.

Ownership is not transferred to the caller
The string is a NUL terminated UTF-8 string