icon
Entity: predicate

Usage:
icon( )
icon(Arg1, ... , ArgN)

Creates an icon control.

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 icon control. 
parent(Parent) handle to the parent window.
class(Icon_func) predicate which will receive the messages from this icon control.
file(File) the file which contains the icon
pos(X,Y) coordinates of upper left corner

Example:

?-window( title("Icon control demo") ).

win_func(init):-
  icon( pos(50, 50) ).

See also:

window