Re: Expose events not occurring from gdk_window_invalidate_rect



Hello,


Douglas Vechinski wrote:

Yes it is idle a lot.  Whenever your not moving the mouse or interacting
with the GUI it should be sitting in main GTK event loop.
On Fri, 2005-08-05 at 17:31 +0200, Sven Neumann wrote:
Hi,

Douglas Vechinski <douglas vechinski dynetics com> writes:

The problem I am having is that depending upon the size of the drawing
area window, the expose event handler (to redraw the scene) is not
called after I issue a gdk_window_invalidate_rect.
Which is the rectangle you are calling the gdk_window_invalidate:rect? You should pass to it the rectangle relative to its upperleft origin (for its entire size you shoudl pass for example [0,0]-[width, height]), and not its allocation, that it's instead relative to the container origin.
Correct me if i am wrong.

Greetings,
Luca



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