Re: Would be nice something like gtk_event_peek()



Htëchnö mkö wrote:
I need to stop a process if gtk_events_pending() is true and the next GtkEvent-type is not a expose-event.

But I did not find tools in gtk to get the next event in gtk event queue, like gdk_event_peek() return the next event in gdk event queue

how i can access manually to the gtk event queue?

You can add a filter using gdk_window_add_filter in which you will receive the raw events before they are processed by GDK.

This kind of questions should normally not be sent to gtk-devel list which is about the development of gtk+ itself, not applications written on top of it. Please send similar questions to gtk-app-devel-list gnome org in the future.

Johan


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