Returns the character corresponding to a gesture-spec.
system
gesture-spec-to-character gspec &key errorp => char
gspec⇩ |
A gesture-spec. |
errorp⇩ |
char |
A Lisp character. |
The function gesture-spec-to-character
returns the Lisp character object corresponding to gspec.
A gesture-spec with modifiers or data which is not an integer cannot be converted to a character. When supplied such a gesture-spec, gesture-spec-to-character
either signals an error (if errorp is true), or returns nil
(if errorp is nil
). The default value of errorp is t
.
gesture-spec-accelerator-bit is ignored.
In LispWorks 6.1 and earlier versions, gesture-spec-to-character
allows modifiers and does not error when the data is not an integer. LispWorks 7.0 and later versions do not support character bits, therefore if gspec contains non-zero modifier bits, gesture-spec-to-character
signals an error.
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:31:02