Re: GDK Event skipping...

Tom Gilbert <> writes:
>       while ((e = (GdkEventMotion *) gdk_event_get()) != NULL)

Isn't there a gdk_event_peek() to avoid having to put the event back?

I'm not sure I understand the problem though - if you use
GDK_POINTER_MOTION_HINT_MASK you should only get events as fast as you
process them. See the "scribble" example in the tutorial.


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