home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / windows / x / motif / 5220 < prev    next >
Encoding:
Text File  |  1992-07-25  |  929 b   |  23 lines

  1. Newsgroups: comp.windows.x.motif
  2. Path: sparky!uunet!psinntp!aruba.uucp!ruby!sandys
  3. From: sandys@ruby.aruba.UUCP (Sandy Schindler)
  4. Subject: Re: placing a dialog exactly where I want it
  5. Message-ID: <1992Jul24.123530.24008@aruba.uucp>
  6. Sender: sandys@ruby (Sandy Schindler)
  7. Date: Fri, 24 Jul 1992 12:35:30 GMT
  8. References:  <1992Jul22.163233.222@trantor.harris-atd.com>
  9. Organization: Project Zed
  10. Lines: 11
  11.  
  12. The way I got this to work was to do an XtTranslateCoordinates and *then* set
  13. the XmNx and XmNy coordinates (since this is a shell, its coords are not
  14. interpreted relative to its parent widget, but relative to the root window of
  15. the display).
  16.  
  17. To prevent motif from overriding my specified coordinates, I also set the 
  18. XmNdefaultPosition to False for the dialog.
  19.  
  20. -- 
  21. Sandy Schindler                      |Internet Style: aruba!sandys@uu2.psi.com
  22. Systems Programming/UI, Project Zed  |UUCP : ...!uunet!uu2.psi.com!aruba!sandys
  23.