Originally Posted by Mackx
The functions that you mention can indeed be used to force refreshes. An alternative that I used in xournal was to set the text of a GtkLabel, which also triggers a refresh.
A GtkLabel does not own a GdkWindow (i.e. an X window), so I guess this trick performs a full screen refresh. Am I correct?