Go to the first, previous, next, last section, table of contents.

The Tcl/Tk Class Interface

Author(s): Montserrat Urraca, Montserrat Iglesias Urraca, http://www.clip.dia.fi.upm.es/, The CLIP Group, Facultad de Informática, Universidad Politécnica de Madrid.

Version: 1.10#6 (2004/8/7, 21:46:39 CEST)

Version of last change: 1.9#152 (2003/12/4, 17:35:17 CET)

This library implements an object-orented graphical library with a number of predefined objects, using the Prolog Tcl/Tk interface. This interface allows creating and destroying objects and modifying their properties. The window_class contains three clases: widget class, menu class, and canvas class. The constructor class is window_class.

Note: This library (and the documentation) are still under development.

Usage and interface (window_class)

Documentation on exports (window_class)

REGTYPE: widget/1:

Each Widget type is characterized in two ways: first, the form of the create command used to create instances of the type; and second, a set of configuration options for items of that type, which may be used in the create and itemconfigure widget commands.

Usage: widget(W)

REGTYPE: option/1:

Usage: option(O)

REGTYPE: menu/1:

Usage: menu(M)

REGTYPE: canvas/1:

Usage: canvas(C)

PREDICATE: window_class/0:


PREDICATE: window_class/3:

Usage: window_class(+WidgetList, +MenusList, +CanvasList)

PREDICATE: destructor/0:


PREDICATE: show/0:


PREDICATE: hide_/0:


PREDICATE: title/1:

Usage: title(+X)

PREDICATE: maxsize/2:

Usage: maxsize(+X, +Y)

PREDICATE: minsize/2:

Usage: minsize(+X, +Y)

PREDICATE: withdraw/0:


PREDICATE: event_loop/0:


Go to the first, previous, next, last section, table of contents.