Gtk.Label.prototype.get_mnemonic_widget

function get_mnemonic_widget():Gtk.Widget {
    // Gjs wrapper for gtk_label_get_mnemonic_widget()
}

Retrieves the target of the mnemonic (keyboard shortcut) of this label. See Gtk.set_mnemonic_widget.

Returns

the target of the label's mnemonic, or null if none has been set and the default algorithm will be used.