|
|
Usage:
bitmap(Handle, Parent, Bitmap_func(_),Bitmap, X, Y)
Creates a bitmap control.
| Handle | handle. Use _ if you don't need it. |
| Parent | handle of the parent window. Use _ for default. |
| Bitmap_func(_) | predicate which will receive bitmap messages |
| Bitmap | a string containing the bitmap file otherwise the default bitmap is displayed |
| X, Y | coordinates of upper left corner |
Example:
?-window( _, _, win_func(_), "Bitmap control demo", 100, 100, 200, 200).
win_func(init):-
bitmap(_, _, fail(_),
default, 50, 50).
See also: