NextPrevUpTopContentsIndex

print-pretty-gesture-spec

Function
Summary

Prints a Gesture Spec object as a keystroke.

Package

system

Signature

print-pretty-gesture-spec gspec stream &key force-meta-to-alt force-shift-for-upcase => gspec

Arguments

gspec

A Gesture Spec object.

stream

An output stream.

force-meta-to-alt

A boolean.

force-shift-for-upcase

A boolean.

Values

gspec

The Gesture Spec objec that was passed.

Description

The function print-pretty-gesture-spec prints the keystroke represented by the Gesture Spec object gspec to the stream stream .

If force-meta-to-alt is true, then gesture-spec-meta-bit is represented as Alt in the output; otherwise it is represented as Meta . force-meta-to-alt defaults to nil .

If force-shift-for-upcase is true and gspec represents uppercase input such as A , then the Shift modifier is printed, indicating that Shift is pressed to obtain the A character. force-shift-for-upcase defaults to t .

If gspec has a wild modifiers or data component (that is, gesture-spec-modifiers and/or gesture-spec-data return nil ) then <Wild> appears in the output.

See also

gesture-spec-data
gesture-spec-meta-bit
gesture-spec-modifiers
make-gesture-spec


LispWorks Reference Manual - 23 Jul 2004

NextPrevUpTopContentsIndex