Chapter 2. Static functions in GUI
void processEvents()
Allow application to process its events, so the gui can redraw itself. Useful, it it is called periodically while doing some lenthy operation