![]() ![]() ![]() |
![]() |
Usage:
static(Handle, Parent, Static_func(_), Title, X, Y,
Width, Height)
Creates a static label.
Handle | handle. Use _ if you don't need it. |
Parent | handle of the parent window. Use _ for default. |
Static_func(_) | predicate which will receive static messages |
Title | the window title |
X,Y | coordinates of upper left corner |
Width, Height | size of the window |
Example:
?-window( _, _, win_func(_), "Static Label demo", 100, 100, 200, 200).
win_func(init):-
static( St, 1, fail(_),
"Static Label", X, Y,100, 20).
See also: