home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi.graphics
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!wupost!gumby!destroyer!wsu-cs!vela!sglanger
- From: sglanger@vela.acs.oakland.edu (LANGER STEVEN C)
- Subject: Motif window problem
- Message-ID: <1992Dec13.142406.14815@vela.acs.oakland.edu>
- Organization: Oakland University, Rochester MI.
- Distribution: usa
- Date: Sun, 13 Dec 1992 14:24:06 GMT
- Lines: 25
-
- Hi netters;
- I have an Iris Indigo with the Xlib, Xt and Xmotif tools on it.
- I'm trying to write an application that creates one big parent
- window and a bunch of children windows that can move around inside of it,
- but not move outside. In other words, I want the child windows to
- respect the borders of the parent, and if the parent is shrunk, I want
- the children to be clipped.
-
- I have been using Adrian Nye's book on Xt/Motif programming and
- set up the app using his topLevel and mainWindow method, but I can't
- seem to find a way of using forms or RowColumn widgets to bind the
- children to the parent. Any ideas?
-
- P.S. Nye's book is volume 4 of the great X11 series.
- --
- 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.
- ---------------------------------------------------------------------------
-