acceleratorGetLabelWithKeycode
fn
string acceleratorGetLabelWithKeycode(gdk.display.Display display, uint acceleratorKey, uint keycode, gdk.types.ModifierType acceleratorMods)Converts an accelerator keyval and modifier mask into a string that can be displayed to the user.
The string may be translated.
This function is similar to funcGtk.accelerator_get_label, but handling keycodes. This is only useful for system-level components, applications should use funcGtk.accelerator_get_label instead.
Parameters
display | a [gdk.display.Display] or null to use the default display |
acceleratorKey | accelerator keyval |
keycode | accelerator keycode |
acceleratorMods | accelerator modifier mask |
Returns
a newly-allocated string representing the accelerator