sol@laura-palmer.lucid.com (Sonia Lyris) (04/05/91)
I'm using Motif 1.1 (x11r4, sun4.) I want a XmMessageBox with one or two more pushbuttons, in addition to the standard "ok", "cancel" and "help" buttons. Is there some (possibly undocumented) way of adding buttons to an XmMessageBox widget, or must I duplicate the behavior of XmMessageBox with component widgets in order to get extra pushbuttons? Thank you. Sonia Lyris | Lucid, Inc, Menlo Park CA sol@lucid.com | 415/329-8400x5559
nazgul@alfalfa.com (Information Junkie) (04/05/91)
> > > I'm using Motif 1.1 (x11r4, sun4.) I want a XmMessageBox with > one or two more pushbuttons, in addition to the standard "ok", > "cancel" and "help" buttons. Is there some (possibly > undocumented) way of adding buttons to an XmMessageBox widget, or > must I duplicate the behavior of XmMessageBox with component > widgets in order to get extra pushbuttons? Well, you can add one more by managing the Apply button. Otherwise you either need to put them elsewhere in the dialog (by using a SelectionBox with the prompt unmanaged) or do it yourself. If you're going to do it yourself you'll either want to do a bulletinboard and calculate positions, or use the table widget. Alfalfa Software, Inc. | Poste: The EMail for Unix nazgul@alfalfa.com | Send Anything... Anywhere 617/646-7703 (voice/fax) | info@alfalfa.com I'm not sure which upsets me more: that people are so unwilling to accept responsibility for their own actions, or that they are so eager to regulate everyone else's.