home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi.graphics
- Path: sparky!uunet!spool.mu.edu!wupost!cs.uiuc.edu!vela!sglanger
- From: sglanger@vela.acs.oakland.edu (LANGER STEVEN C)
- Subject: motif convenience functions
- Message-ID: <1993Jan1.161847.2266@vela.acs.oakland.edu>
- Organization: Oakland University, Rochester MI.
- Distribution: na
- Date: Fri, 1 Jan 1993 16:18:47 GMT
- Lines: 30
-
- When using functions like
- dialog = XmCreateMessageDialog(parent, "my_dialog", NULL, 0);
-
- why does the dialog always come up with the title bar
- "my_dialog_popup"
-
- I can override this from an app-defaults file, but I'd like to just do
- it in the code. I've tried
- XtVaSetValues (dialog, XmNlabelString, "my_dialog", NULL);
-
- and XtVaSetValues (dialog, XmNlabelType, "my_dialog", NULL);
-
- but the title bar always has _popup appended to it.
- XtCreateManagedWidget does not do this, but is not as conveneient.
- Any suggestions?
-
- --thanks in advance, steve
-
-
- --
- Steve Langer sglanger@argo.acs.oakland.edu (VMS)
- Oakland University sglanger@vela.acs.oakland.edu (Ultrix)
- ---------------------------------------------------------------------------
- Standard disclaimers apply. In addition, the author makes no guarantees,
- concerning the grammatical accuracy of his writing. Therefore, any ^B's, ^C's,
- midword character additions/deletions and other non-sense which occurs (after
- the work leaves the author's decade old text editor via his decade old Amiga,
- struggles through a local 1200 baud Merit server to be further mauled via the
- remote VAX mail servers) is someone elses problem - namely yours.
- ---------------------------------------------------------------------------
-