home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!snorkelwacker.mit.edu!bloom-beacon!INTERNET!dont-send-mail-to-path-lines
- From: converse@expo.lcs.mit.EDU (Donna Converse)
- Subject: Re: Problems with Athena Tree Widget
- Message-ID: <9207241843.AA15563@excess.lcs.mit.edu>
- Sender: daemon@athena.mit.edu (Mr Background)
- Organization: X Consortium, MIT Laboratory for Computer Science
- References: <1992Jul23.221513.1048@elroy.jpl.nasa.gov>
- Date: Fri, 24 Jul 1992 18:43:23 GMT
- Lines: 23
-
-
- > I am trying to use the Athena tree widget on a Sparc IPX running 4.1.2 SunOS,
- > X11R5 fix 11. The problem I am having is that if I do not set the
- > XtNtreeParent resource when the child of the tree is created It can not be
- > set using XtSetValue.
-
- The treeParent resource can be set on a child of the Tree widget at any time.
- Setting it will not necessarily have an immediate effect on the layout of the
- children (nodes) of the Tree. The layout is affected anytime a child of the
- Tree is managed or unmanaged. So it is management that it coupled with the
- ability to see the resource have an effect on the layout, not creation.
-
- You could create all the potential nodes, then later use XtSetValues on
- their Tree constraint resource XtNtreeParent, and then manage all the
- interesting nodes. The Tree autoReconfigure resource is supposed to be able
- to give the application programmer a way to delay the geometry management
- negotiations until all the nodes are managed, but this is apparently a
- no-op, so you may see a lot of geometry jiggling going on as you make the
- calls to manage children.
-
-
- Donna Converse
- MIT X Consortium
-