Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!julius.cs.uiuc.edu!rpi!batcomputer!excalibur!hecht From: hecht@excalibur.tn.cornell.EDU (Caroline Hecht) Newsgroups: comp.windows.x.motif Subject: Prompt Dialog question Message-ID: <1990Dec3.151858.11160@batcomputer.tn.cornell.edu> Date: 3 Dec 90 15:18:58 GMT Sender: news@batcomputer.tn.cornell.edu Reply-To: cgh@cornellf.tn.cornell.EDU (Caroline Hecht) Organization: Cornell National Supercomputer Facility Lines: 15 Nntp-Posting-Host: excalibur.tn.cornell.edu How can I create a widget that is like the PromptDialog (created with XmCreatePromptDialog), except that I don't want to have to pop it up with a pushbutton? In other words, I want the entire program to be this prompt; when the user clicks on "ok" or hits return, I'll exit. I tried taking the pushbutton out, and managing the promptdialog widget after creating it, but that failed due to "zero width/height for the toplevel widget." I've also tried a few other variations, but seem to be getting nowhere -- I keep getting core dumps or working programs that don't look right. Caroline Hecht Cornell National Supercomputer Facility cgh@cornellf.tn.cornell.edu (Ignore addresses in header) (607) 254-8686