egc@h.gp.cs.cmu.edu (eddie caplan) (08/25/90)
Hi. This is the THIRD time I've posted this call for help. Is there nobody out there (even at MIT) that can help me? ____________________________________________________________________________ ---------------------------------------------------------------------------- I would like to have the following widget structure: +--------------------------------------------------+ + pane + + + + +------------------------------------------+ + + + box1 + + + + + + + + +---------+ +------------ + + + + + + command + + simpleMenu + + + + + + + + + + + + + + + + +---------+ + + + + + + + + + smeLine + + + + + + + + + +---------+ + + + + + + + + +---------+ + + + + + + + + + smeBSB + + ...etc... + + + + + + + +---------+ + + + + + + + + + + + + + + + + ...etc... + + + + + + + + + + + + + +---------+ +-------------+ + + + + + + + +------------------------------------------+ + + + + +------------------------------------------+ + + + box2 + + + +------------------------------------------+ + + + + +------------------------------------------+ + + + box3 + + + +------------------------------------------+ + + + + ...etc... + +--------------------------------------------------+ That is, a panedWidget containing several boxWidgets, which in turn contain some number of commandWidgets and simpleMenus inside of them. There are two problems: (1) If I create this structure in a depth-first order (ie, pane, box1, command, simpleMenu, smeLine, smeBSB, box2, box3) then the panedWidget gets confused about sizes of box1, box2, and box3. the only way i have found that can create this structure correctly is to create the menus AFTER everything else is in place. (2) To complicate things, I would like different subsets of box1..box<n> to be displayed at different times. I've been trying to do this by calling XtUnmanageChild and XtManageChild on the appropriate boxes. This works ok, except that the panedWidget gets re-confused about the height of the boxes. (3) Finally, I would like to be able to add and remove menu entries on the fly and keep the panedWidget happy. All of this is happening on a PMax running Mach, under X11R4. any suggestions? -- usps: eddie caplan, c/o school of comp sci, cmu, pittsburgh, pa 15213-3890 phone: (412) 268-6426 wit: good engineers are good thieves. internet: caplan@cs.cmu.edu bitnet: caplan%cs.cmu.edu@cmuccvma csnet: caplan%cs.cmu.edu@relay.cs.net uucp: ...!seismo!cs.cmu.edu!caplan
rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (08/25/90)
This is the THIRD time I've posted this call for help. Is there nobody out there (even at MIT) that can help me? At the present time, the MIT Consortium staff are pretty much ignoring most questions on xpert. This is particularly true of questions about the Athena widgets, twm, and xterm. We simply don't have the time to spend. I'm sorry, and I'm grateful to people like der Mouse who have been generating lots of responses lately. When my staff level gets back up to where it should be, we might be able to pitch in on a more regular basis (but there's certainly a nice feeling of freedom when you hit that Delete button :-).