gtkAcceleratorValid {RGtk2}R Documentation

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 [numeric] a GDK keyval
modifiers [GdkModifierType] modifier mask

Value

[logical] TRUE if the accelerator is valid

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]