All Manuals > LispWorks User Guide and Reference Manual > 49 The SYSTEM Package

NextPrevUpTopContentsIndex

gesture-spec-accelerator-bit

gesture-spec-caps-lock-bit

gesture-spec-control-bit

gesture-spec-hyper-bit

gesture-spec-meta-bit

gesture-spec-shift-bit

gesture-spec-super-bit

Constants
Summary

Used in the representation of keystrokes with the various modifier keys.

Package

system

Description

These constants are used to represent the accelerator and modifier keys in a Gesture Spec object, as follows:

gesture-spec-accelerator-bit

Accelerator key.

gesture-spec-caps-lock-bit

Caps Lock modifier key.

gesture-spec-control-bit

Control modifier key.

gesture-spec-hyper-bit

Hyper modifier key.

gesture-spec-meta-bit

Meta modifier key.

gesture-spec-shift-bit

Shift modifier key.

gesture-spec-super-bit

Super modifier key.

See the reference entry for capi:output-pane in the CAPI User Guide and Reference Manual for more information about the use of Gesture Specs.

Notes
  1. You may not construct a Gesture Spec with a both-case-p character represented in the data and with modifiers equal to gesture-spec-shift-bit. See make-gesture-spec for details and examples.
  2. The gesture-spec-caps-lock-bit is used to represent the state of Caps Lock, in situations where the bits are used to represent the keyboard state. It is not used in Gesture Specs that are generated by the system.
  3. The gesture-spec-hyper-bit is used to represent the Command key.
  4. The gesture-spec-accelerator-bit is a "virtual" bit. It corresponds to different keys on different GUI systems, currently these are Command on Cocoa, Control on GTK+ and Control on Windows.
See also

coerce-to-gesture-spec
gesture-spec-modifiers
make-gesture-spec


LispWorks User Guide and Reference Manual - 13 Feb 2015

NextPrevUpTopContentsIndex