InputDef class | input.t[19]

Keyboard input parameter definition.

`class InputDef : object`

Superclass Tree (in declaration order)

`InputDef`
`object`

Subclass Tree

`InputDef`
`BasicInputDef`

Global Objects

(none)

Summary of Properties

`allowRealTime promptFunc`

Summary of Methods

`beginInputFont endInputFont`

Properties

`allowRealTime` | `input.t[33]`

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` | `input.t[26]`

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 ( )` | `input.t[41]`

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 ( )` | `input.t[47]`

End the input style. By default, we'll close the <.inputline> that we opened in beginInputFont().

TADS 3 Library Manual
Generated on 8/21/2012 from TADS version 3.1.2