lisp-widget

Class

Package: common-graphics

Class and Control

This control was removed from the 5.0/5.0.1 releases of Allegro CL, but has been restored in release 6.0.

This control is like a editable-text control, except that the value may be any lisp object rather than a string only. When the control's value is set programmatically to a new arbitrary lisp object, on-print event handler function for the control takes the object as its argument and should return a string to be displayed in the control. When the end user types into the control, read-from-string is called internally on the new string to produce a new arbitrary lisp object that is then stored as the value of the control. Errors are trapped during the reading so that no break will occur; if an error is signaled during the reading then nil is stored as the value of the control.

See also multi-line-lisp-text

Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.