Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!rutgers!apple!oliveb!sun!eureka!argv From: argv%eureka@Sun.COM (Dan Heller) Newsgroups: comp.windows.x,ba.windows.x Subject: Re: probs with popup windows Keywords: X11R3, Athena widgets Message-ID: <103179@sun.Eng.Sun.COM> Date: 5 May 89 03:54:37 GMT References: <2461@lll-lcc.UUCP> Sender: news@sun.Eng.Sun.COM Reply-To: argv@sun.UUCP (Dan Heller) Organization: Sun Microsystems, Mountain View Lines: 16 In article <2461@lll-lcc.UUCP> chapman@lll-lcc.UUCP (Carol Chapman) writes: >Well, I am still struggling along, trying to find a way for my program to >get a mere 10 bytes of input from a user. If any of you can offer >advice or send me samples of code using popup windows, I'd appreciate it. This is perhaps the most commonly asked question that people send "me", so when I posted my WidgetWrap code to comp.sources.x, I made sure to include a sample program which does just what you are talking about. It is a very simple program that demonstrates the widgetwrap code (which is much easier to use and read than the XtSetArg() calls riddled throughout toolkit programs). The sample application uses a simple yes/no dialog box ... This code is also available via ftp from expo.lcs.mit.edu in the contrib directory. I have yet to have questions from someone who can't figure out this stuff, so maybe it will be equally helpful to you. dan