Gtk.Widget.prototype.add_mnemonic_label
function add_mnemonic_label(label:Gtk.Widget):void {
// Gjs wrapper for gtk_widget_add_mnemonic_label()
}Adds a widget to the list of mnemonic labels for this widget. (See Gtk.list_mnemonic_labels). Note the list of mnemonic labels for the widget is cleared when the widget is destroyed, so the caller must make sure to update its internal state at this point as well, by using a connection to the Gtk.destroy signal or a weak notifier.
Since 2.4
- label
a Gtk.Widget that acts as a mnemonic label for widget