InputDefclass
Keyboard input parameter definition.
class
InputDef
: object
Superclass Tree (in declaration order)
InputDef
` object`
Subclass Tree
InputDef
BasicInputDef
Global Objects
(none)
Summary of Properties
Summary of Methods
Properties
allowRealTime
Allow real-time events. If this is true, we’ll allow real-time events to interrupt the input; if it’s nil, we’ll freeze the real-time clock while reading input.
promptFunc
The prompt function. This is a function pointer (which is frequently given as an anonymous function) or nil; if it’s nil, we won’t show any prompt at all, otherwise we’ll call the function pointer to display a prompt as needed.
Methods
beginInputFont ( )
Begin the input style. This should do anything required to set the font to the desired attributes for the input text. By default, we’ll simply display <.inputline> to set up the default input style.
endInputFont ( )
End the input style. By default, we’ll close the <.inputline> that we opened in beginInputFont().
TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3