Re: GTK/GDK equivalent to UpdateWindow() ?







----- Original Message ----
From: "jcupitt gmail com" <jcupitt gmail com>
To: John Emmas <johne53 tiscali co uk>
Cc: gtk-app-devel-list <gtk-app-devel-list gnome org>
Sent: Sun, July 4, 2010 12:51:52 PM
Subject: Re: GTK/GDK equivalent to UpdateWindow() ?

On 4 July 2010 16:50, John Emmas <
href="mailto:johne53 tiscali co uk">johne53 tiscali co uk> wrote:

operation being processed.  Neither of those is quite what I need.  I'm looking 
for is a function that will force a window to be repainted at once, before any 
other pending events get processed.

There's 
gdk_window_process_updates():

http://library.gnome.org/devel/gdk/stable/gdk-Windows.html#gdk-window-process-updates

But 
I'm not certain is does much any more. Generally, you just paint
in the 
expose handler and nowhere else, and calls like this 
are
unnecessary.

What are you trying to achieve? Perhaps there's some 
other way to get
the effect you 
need.

John

---------------------------------


Maybe this is what you want?


http://library.gnome.org/devel/gdk/stable/GdkDisplay.html#gdk-display-flush
http://library.gnome.org/devel/gdk/stable/gdk-Windows.html#gdk-window-flush

This one is possible, but the others may be more useful or relevant:

http://library.gnome.org/devel/gdk/stable/gdk-General.html#gdk-flush



      



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]