Method EventsPending
EventsPending(bool)
Must report whether there are any events pending, or even block waiting for events.
bool EventsPending(bool wait)
Parameters
wait
boolIf set to
true
wait until an event is available, otherwise return immediately.
Returns
- bool
true
, if there were pending events,false
otherwise.