Gtk.Window.prototype.add_mnemonic

function add_mnemonic(keyval:Number, target:Gtk.Widget):void {
    // Gjs wrapper for gtk_window_add_mnemonic()
}

Adds a mnemonic to this window.

keyval

the mnemonic

target

the widget that gets activated by the mnemonic