Operators |
get_icon — Query the icon for region output
get_icon( : Icon : WindowHandle : )
get_icon queries the icon that was set with set_icon.
Icon for the regions center of gravity.
Window handle.
/* draw a region and an icon. */ /* set it and get it again. */ draw_region(&Region,WindowHandle) ; draw_region(&Icon,WindowHandle) ; set_icon(Icon) ; set_shape(WindowHandle,"icon") ; disp_region(Region,WindowHandle) ; get_icon(&OldIcon) ; disp_region(OldIcon,WindowHandle) ;
get_icon always returns 2 (H_MSG_TRUE).
Foundation
Operators |