OpalEventfunction OpalEvent(byref window_ref:integer, byref widget_ref:integer) : boolean |
Polls and handles mouse and keyboard input (if textboxes used) on the GUI. Should be called in the main loop. Returns TRUE if event occured and the refs of the widget activated are returned, returns FALSE otherwise. Mouse events are triggered when the mouse is released. If the mouse is on a window/widget then its ref is returned in the parameter, even if no event was triggered. If nothing is selected, both parameters are set to -1. |
byref window_ref:integer = ignored, returns ref of the selected window byref widget_ref:integer = ignored, returns ref of the selected widget This function returns a boolean |