Determines whether a given keyval and modifier mask constitute
a valid keyboard accelerator.
For example, the GDK_KEY_a keyval plus GDK_CONTROL_MASK mask is valid,
and matches the “Ctrl+a” accelerator. But, you can't, for instance, use
the GDK_KEY_Control_L keyval as an accelerator.
Determines whether a given keyval and modifier mask constitute a valid keyboard accelerator.
For example, the
GDK_KEY_akeyval plusGDK_CONTROL_MASKmask is valid, and matches the “Ctrl+a” accelerator. But, you can't, for instance, use theGDK_KEY_Control_Lkeyval as an accelerator.