Path: utzoo!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!mailrus!uwm.edu!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!EXPO.LCS.MIT.EDU!kit From: kit@EXPO.LCS.MIT.EDU (Chris D. Peterson) Newsgroups: comp.windows.x Subject: Re: Cascading SimpleMenuWidgets Message-ID: <9005291926.AA22236@expo.lcs.mit.edu> Date: 29 May 90 19:26:02 GMT Article-I.D.: expo.9005291926.AA22236 References: <433@hal.CSS.GOV> Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 29 > I would like to know if it is possible to cascade several > SimpleMenuWidgets. Has anyone sucessfully done this? I have yet to hear of a working implementation. > I have tried to do this, but I am > having some trouble with setting the translations for > the cascaded menu. The simple menu entries (smeObjectClass) are not widgets, but non windowed objects. As such they have no translation or event management of their own. This is one of the reasons I think that objects are a bad idea, they detract from the nice modular design of Xt. "Then why did you use them?", I hear you cry... My major goal behind the Simple Menu widget was to make it fast to pop up and down. I felt that if the menus felt sluggish then they would not be used. I think I was able to get the feel that I wanted, but unfortunately I had to sacrafice some of the nice things Xt gives to all widgets. Is there any way to implement cascading menus? I cannot think of one, short of whacking the Simple menu code. Chris D. Peterson MIT X Consortium Net: kit@expo.lcs.mit.edu Phone: (617) 253 - 9608 Address: MIT - Room NE43-213