Display.hasPending
bool hasPending() nothrowReturns whether the display has events that are waiting to be processed.
Returns
true if there are events ready to be processed.
bool hasPending() nothrowReturns whether the display has events that are waiting to be processed.