Entity: predicate

static( )
static(Arg1, ... , ArgN)

Creates a static label.

Put inside the brackets only these arguments which you need. All other arguments will be set by default. The arguments may be any of the following (the order is not important).
handle(Handle) handle to this static label. 
parent(Parent) handle to the parent window.
class(Static_func) predicate which will receive the messages from this static label.
text(Text) the text which is on the static label
pos(X,Y) coordinates of upper left corner
size(Width, Height)  size of the static label
grayed  flag (default off)


?-window( title("Static Label demo")).

  static( text("Static Label"), size(100, 20)).

See also: