Converts an accelerator keyval and modifier mask into a (possibly translated) string that can be displayed to a user, similarly to accelerator_get_label, but handling keycodes.
This is only useful for system-level components, applications should use accelerator_parse instead.
| display |
a Display or null to use the default display |
| accelerator_key |
accelerator keyval |
| keycode |
accelerator keycode |
| accelerator_mods |
accelerator modifier mask |
|
a newly-allocated string representing the accelerator. |