gesture>string ( gesture -- string/f )
Factor handbook » UI framework » Implementing new gadgets » UI gestures

Prev:handle-gesture ( gesture gadget -- ? )
Next:Keyboard focus


Vocabulary
ui.gestures

Inputs
gesturea gesture


Outputs
string/fa string or f


Generic word contract
Creates a human-readable string from a gesture object, returning f if the gesture does not have a human-readable form.

Examples
USING: io ui.gestures ; T{ key-down f { C+ } "x" } gesture>string print
C+x


Definition

GENERIC: gesture>string ( gesture -- string/f )


Methods