Path: utzoo!attcan!uunet!husc6!purdue!decwrl!asente From: asente@decwrl.dec.com (Paul Asente) Newsgroups: comp.windows.x Subject: Re: Another toolkit question Message-ID: <932@bacchus.dec.com> Date: 22 Nov 88 23:35:16 GMT References: <5120@mit-vax.LCS.MIT.EDU> Organization: DEC Western Software Lab Lines: 11 In article <5120@mit-vax.LCS.MIT.EDU> josh@mit-vax.LCS.MIT.EDU (Joshua Marantz) writes: >[Summary: How do I detect typeahead in the toolkit?] > >To accomplish this in the toolkit, we would need to have a function > XtWidgetMaskIfEvent (widget, event_mask, predicate, user_data); It's perfectly ok to call the Xlib routines to look for typeahead. Just pull the display and window out of the widget with XtDisplay and XtWindow. -paul asente asente@decwrl.dec.com decwrl!asente