Event.pending

Checks if any events are ready to be processed for any display.

class Event
static
bool
pending
()

Return Value

Type: bool

TRUE if any events are pending.