gtkAcceleratorValid: gtkAcceleratorValid

Description Usage Arguments Value Author(s)

View source: R/gtkFuncs.R

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

1
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


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.