[Gtk-sharp-list] Triggering a draw in Gtk# / Windows

Ofer Achler ofer at achler.org
Sun Feb 5 13:49:24 EST 2006


Hello,

I'm trying to trigger an immediate redraw in an app i'm writing but am 
not getting the expected result:

I tried .QueueDraw(), but that just makes it so that in the next event 
(like moving the mouse, changing focus, etc. etc.) it'll redraw.

I tried .GdkWindow.InvalidateRegion(null, false), it does the same thing 
is .QueueDraw().

Is there something else i can do?

I've tried drawing directly, but its in the wrong thread, so the program 
throws an exception.

Thanks,

-- Ofer Achler


More information about the Gtk-sharp-list mailing list