10.5.3 Abstract Gadget Classes

10.5.3.8 The Text-Field and Text-Editor Gadgets

The text-field gadget corresponds to a small field containing text. The text-editor gadget corresponds to a large field containing multiple lines of text.

text-field [Class]

Summary:
The class that implements a text field. This is a subclass of value-gadget and action-gadget. The value of a text field is the text string.

:editable-p [Initarg]
Summary:
Specifies whether or not the text field can be edited.

gadget-value [Generic Function]
Arguments:
(value-gadget text-field)
Summary:
Returns the resulting string.

text-field-pane [Class]
Summary:
The instantiable class that implements a portable text field; it is a subclass of text-field.

text-editor [Class]
Summary:
The instantiable class that implements an abstract large text field. This is a subclass of text-field.

The value of a text editor is the text string.

:ncolumns [Initarg]
:nlines [Initarg]
Summary:
Specifies the width and height of the text editor in columns and number of lines.

gadget-value [Generic Function]
Arguments:
(value-gadget text-editor)
Summary:
Returns the resulting string.

text-editor-pane [Class]
Summary:
The instantiable class that implements a portable text editor; it is a subclass of text-editor.


CLIM 2.0 User's Guide - OCT 1998

Generated with Harlequin WebMaker