Re: Peeking into the event queue?
- From: Jon Trowbridge <trow emccta com>
- To: Ian Britten <britten universal ca>
- Cc: gtk-list gnome org
- Subject: Re: Peeking into the event queue?
- Date: Mon, 14 Aug 2000 15:27:51 -0500
On Mon, Aug 14, 2000 at 05:49:40PM -0300, Ian Britten wrote:
> Thanks for the suggestion, but this isn't a plausable solution for my
> particular problem.
> The problem is that the above solution is _dispatching_ the events in the
> queue, which is exactly what I _don't_ want to do. (If you're familiar
> with XCheckIfEvent(), it doesn't actually dispatch the events, but merely
> scans the queue to see if a match exists).
Well, there is
GdkEvent* gdk_event_peek();
that looks like it would do what you want. The source for the
gtk_main_do_event() function has an example of its use.
-JT
--
GNU/Linux: Free your mind and your OS will follow.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]