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