accelerator_name_with_keycode

function accelerator_name_with_keycode(display:Gdk.Display, accelerator_key:Number, keycode:Number, accelerator_mods:Gdk.ModifierType):String {
    // Gjs wrapper for gtk_accelerator_name_with_keycode()
}

Converts an accelerator keyval and modifier mask into a string parseable by gtk_accelerator_parse_full(), similarly to accelerator_name but handling keycodes. This is only useful for system-level components, applications should use accelerator_parse instead.

Since 3.4

display

a Gdk.Display or null to use the default display

accelerator_key

accelerator keyval

keycode

accelerator keycode

accelerator_mods

accelerator modifier mask

Returns

a newly allocated accelerator name.