Usage:
bitmap( )
bitmap(Arg1, ... , ArgN)
Creates a bitmap 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 bitmap control. |
parent(Parent) | handle to the parent window. |
class(Bitmap_func) | predicate which will receive the messages from this bitmap control. |
file(File) | the file which contains the bitmap |
pos(X,Y) | coordinates of upper left corner |
Example:
?-window( title("Bitmap control demo") ).
win_func(init):-
bitmap( pos(50, 50) ).
See also: