Learn R Programming

RGtk2 (version 2.20.31)

gtkAcceleratorValid: gtkAcceleratorValid

Description

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.

Usage

gtkAcceleratorValid(keyval, modifiers)

Arguments

keyval
a GDK keyval
modifiers
modifier mask

Value

TRUE if the accelerator is valid