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