Re: Expose events not occurring from gdk_window_invalidate_rect
- From: Luca Cappa <luca cappa i-medlab com>
- To: gtk-list gnome org
- Subject: Re: Expose events not occurring from gdk_window_invalidate_rect
- Date: Mon, 08 Aug 2005 11:20:32 +0200
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]