Label.getText

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 [method@Gtk.Label.get_label])

class Label
string
getText
()

Return Value

Type: string

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

Meta