Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!ucsd!ucbvax!ECHO.CANBERRA.EDU.AU!jan From: jan@ECHO.CANBERRA.EDU.AU (Jan Newmarch) Newsgroups: comp.windows.x.motif Subject: Re: Menu Bars Message-ID: <9011130031.AA02709@golf.canberra.edu.au> Date: 13 Nov 90 15:31:47 GMT References: <4df75675.20b6d@apollo.HP.COM> Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 23 > Menu bars require that all the children of the menu bar be the same 'type' > of widget (or gadget). To get around this problem, use a cascade button or > gadget for the button that will invoke the dialog box; just don't set the > subMenuId resource. It should then act just like a push button. But then the Style Guide will get you (just like it got me some time ago). You can't have commands in the menu bar, and that is "unlikely to change". "If it is important enough to require its own button, then it should be a separate button elsewhere, not in the menu bar" (Motif Style Guru). Use a pulldown from the menu bar and hang the dialog off an item in it, or put it somewhere else. +----------------------+---+ Jan Newmarch, Information Science and Engineering, University of Canberra, PO Box 1, Belconnen, Act 2616 Australia. Tel: (Aust) 6-2522422. Fax: (Aust) 6-2522999 ACSnet: jan@ise.canberra.edu.au ARPA: jan%ise.canberra.edu.au@uunet.uu.net UUCP: {uunet,ukc}!munnari!ise.canberra.edu.au!jan JANET: jan%au.edu.canberra.ise@EAN-RELAY +--------------------------+