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`` | a GDK keyval
``modifiers`` | modifier mask

### Value

[logical] `TRUE` if the accelerator is valid

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]