Gtk.Label.prototype.get_label

function get_label():String {
    // Gjs wrapper for gtk_label_get_label()
}

Fetches the text from a label widget including any embedded underlines indicating mnemonics and Pango markup. (See Gtk.get_text).

Returns

the text of the label widget. This string is owned by the widget and must not be modified or freed.