Author(s): Montserrat Iglesias Urraca, http://www.clip.dia.fi.upm.es/
, The CLIP Group, Facultad de Informática, Universidad Politécnica de Madrid.
This manual includes a complete reference to the objects orientited Prolog Tcl/Tk interface. This interface allows create and destroy objects and modified their properties. The
window_class
contains three clases: widget class, menu class and canvas class. The constructor class is window_class.
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.