AccelGroup.acceleratorValid

Determines whether a given keyval and modifier mask constitute a valid keyboard accelerator. For example, the GDK_a keyval plus GDK_CONTROL_MASK is valid - this is a "Ctrl+a" accelerator. But, you can't, for instance, use the GDK_Control_L keyval as an accelerator.

class AccelGroup
static
int
acceleratorValid

Parameters

keyval uint

a GDK keyval

modifiers GdkModifierType

modifier mask

Return Value

Type: int

TRUE if the accelerator is valid

Meta