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#7 (2006/4/26, 19:22:13 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.
window_class):- use_module(library(window_class)).
window_class)
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)
W is a reference to one type of the widget widgets.
Usage: option(O)
O is hidden if the Widget is not visible or shown if its visible.
Usage: menu(M)
M is a reference to one type of the menu.
Usage: canvas(C)
C is a reference to one type of the canvas.
Usage:
Usage: window_class(+WidgetList, +MenusList, +CanvasList)
+WidgetList is a list.
(basic_props:list/1)
+MenusList is a list.
(basic_props:list/1)
+CanvasList is a list.
(basic_props:list/1)
Usage:
Usage:
Usage:
Usage: title(+X)
X specifies the title for window. The default window title is the name of the window.
+X is a string (a list of character codes).
(basic_props:string/1)
Usage: maxsize(+X, +Y)
X specifies the maximum width and Y the maximum height for the window.
+X is an integer.
(basic_props:int/1)
+Y is an integer.
(basic_props:int/1)
Usage: minsize(+X, +Y)
X specifies the minimum width and Y the minimum height for the window.
+X is an integer.
(basic_props:int/1)
+Y is an integer.
(basic_props:int/1)
Usage:
Usage:
Go to the first, previous, next, last section, table of contents.