Re: Expose events not occurring from gdk_window_invalidate_rect

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

 



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@xxxxxxxxxxxx> 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@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list




_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux