home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / sgi / graphics / 79 < prev    next >
Encoding:
Text File  |  1993-01-01  |  1.6 KB  |  41 lines

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