Path: utzoo!attcan!uunet!husc6!mit-eddie!mit-vax!josh From: josh@mit-vax.LCS.MIT.EDU (Joshua Marantz) Newsgroups: comp.windows.x Subject: Re: Basic questions on X Toolkit Intrinsics Message-ID: <5136@mit-vax.LCS.MIT.EDU> Date: 22 Nov 88 20:03:34 GMT Organization: MIT LCS, Cambridge, MA Lines: 20 I asked how I could write a routine that would pop up a widget and *block* until the user closed the widget. kit@athena.mit.edu (Chris D. Peterson) answered a different question: [ How can I lock out events in the rest of my applicaion while processing an error condition? ] He suggested using XtPopup (widget, XtGrabExclusive), and referred me to the R3 toolkit docs. Unfortunately, I don't have the R3 documentation yet, but my intuition, the R2 documentation, and the R2 source code all seem to indicate that that routine will not block. It will just perform the appropriate grabs to ensure that none of my other widgets' callbacks get called. What I want is to write a routine that does not return until a widget has been closed. Is that what XtPopup does? -Joshua Marantz Viewlogic Systems, Inc.