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: Tue, 09 Aug 2005 11:04:23 +0200
Douglas Vechinski wrote:
That appears to have been the problem. Changed the rectangle to begin
at (0,0). Seems to be working under all platforms. That part of the
code was actually a left over from a gtkglext example that I started
with and was modifying. Plus I haven't done much GTK+ programming.
Trying to get familar with it.
Thanks for your help.
Douglas
Luca Cappa wrote:
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
_______________________________________________
gtk-list mailing list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]