Pike v8.0 release 1738

Method GTK2.GdkDisplay()->flush()


Method flush

GDK2.Display flush()

Description

Flushes any requests queued for the windowing system; this happens automatically when the main loop blocks waiting for new events, but if your application is drawing without returning control to the main loop, you may need to call this function explicitly. A common case where this function needs to be called is when an application is executing drawing commands from a thread other than the thread where the main loop is running.