AccelGroup.acceleratorNameWithKeycode

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

class AccelGroup
static
string
acceleratorNameWithKeycode

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 Value

Type: string

a newly allocated accelerator name.

Meta