AccelGroup.acceleratorName

Converts an accelerator keyval and modifier mask into a string parseable by gtk_accelerator_parse(). For example, if you pass in GDK_q and GDK_CONTROL_MASK, this function returns "<Control>q". If you need to display accelerators in the user interface, see gtk_accelerator_get_label().

class AccelGroup
static
string
acceleratorName

Parameters

acceleratorKey uint

accelerator keyval

acceleratorMods GdkModifierType

accelerator modifier mask

Return Value

Type: string

a newly-allocated accelerator name

Meta