acceleratorGetLabelWithKeycode

fnstring acceleratorGetLabelWithKeycode(gdk.display.Display display, uint acceleratorKey, uint keycode, gdk.types.ModifierType acceleratorMods)

Converts an accelerator keyval and modifier mask into a (possibly translated) string that can be displayed to a user, similarly to [gtk.global.acceleratorGetLabel], but handling keycodes.

This is only useful for system-level components, applications should use [gtk.global.acceleratorParse] instead.

Parameters

displaya #GdkDisplay or null to use the default display
acceleratorKeyaccelerator keyval
keycodeaccelerator keycode
acceleratorModsaccelerator modifier mask

Returns

a newly-allocated string representing the accelerator.