[previous] [up] [next]     [index]
Next: get-editor Up: Windowing Class Reference Previous: subwindow<>

text-field%

Implements: control<%>

A text-field% object is an editable text field with an optional label displayed in front of it. There are two text field styles:

Whenever the user changes the content of a text field, its callback procedure is invoked. A callback procedure is provided as an initialization argument when each text field is created.

The text field is implemented using a text% editor (with an inaccessible display). Thus, whereas text-field% provides only get-value and set-value to manipulate the text in a text field, the get-editor returns the field's editor, which provides a vast collection of methods for more sophisticated operations on the text.

The keymap for the text field's editor is initialized by calling the current keymap initializer procedure, which is determined by the current-text-keymap-initializer parameter.

Methods
All Methods

[previous] [up] [next]     [index]
Next: get-editor Up: Windowing Class Reference Previous: subwindow<>

PLT