AccelGroup.acceleratorGetLabelWithKeycode

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

This is only useful for system-level components, applications should use gtk_accelerator_parse() instead.

class AccelGroup
static
string
acceleratorGetLabelWithKeycode

Parameters

display Display

a #GdkDisplay or %NULL to use the default display

acceleratorKey uint

accelerator keyval

keycode uint

accelerator keycode

acceleratorMods GdkModifierType

accelerator modifier mask

Return: a newly-allocated string representing the accelerator.

Meta