Path: utzoo!utgpu!attcan!uunet!kddlab!icot32!nttlab!gama!etlcom!titcca!sragwa!srava!erik From: erik@srava.sra.JUNET (Erik M. van der Poel) Newsgroups: comp.windows.x Subject: querying event sources in Xt Message-ID: <2041@srava.sra.JUNET> Date: 17 Feb 89 04:57:24 GMT Reply-To: erik%sra.junet@uunet.uu.net (Erik M. van der Poel) Organization: Software Research Associates, Inc., Japan Lines: 13 Using XtAppNextEvent() it is possible to fetch an X event, examine it, and decide what to do with it. Ordinarily one would pass it to XtDispatchEvent() but one does not have to; the event can also be ignored, for example. Unless I am "missing something", there does not seem to be a way of doing the same thing with alternate input and timer events. It would be nice if one could check the source (file descriptor) or XtIntervalId before deciding to dispatch the event. -- Erik M. van der Poel erik@sra.junet (Japan) SRA, 1-1-1 Hirakawa-cho, Chiyoda-ku erik%sra.junet@uunet.uu.net (USA) Tokyo 102 Japan. TEL +81-3-234-2692 erik%sra.junet@mcvax.uucp (Europe)