Gtk.AccelLabel.prototype.set_accel
function set_accel(accelerator_key:Number, accelerator_mods:Gdk.ModifierType):void {
// Gjs wrapper for gtk_accel_label_set_accel()
}Manually sets a keyval and modifier mask as the accelerator rendered by accel_label.
If a keyval and modifier are explicitly set then these values are used regardless of any associated accel closure or widget.
Providing an accelerator_key of 0 removes the manual setting.
Since 3.6
- accelerator_key
a keyval, or 0
- accelerator_mods
the modifier mask for the accel