Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!decwrl!ucbvax!ics.com!david From: david@ics.com (David B. Lewis) Newsgroups: comp.windows.x.motif Subject: multi-column mwm menus Message-ID: <9008171756.AA11123@BU.EDU> Date: 17 Aug 90 17:45:47 GMT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 25 Skip asks: >> > Is there a way to define multi-column menus in mwm? Something that would >> > display like: >> You might try creating a pulldown, and then changing the number of columns >> afterwords. I don't know if it would work, but it's worth a try. >> >> Creating pulldown menus and changing the number of columns from .Xdefaults >> or .mwmrc seems a strech. Am I missing something? >Whoops. Teach me to skim postings! I was thinking about pulldowns in >an application menu. I have no idea how to do it in mwm. Sorry. > -kee Use the resource manager to affect the widget: $ mwm -xrm '*_MwmSystemMenu_.numColumns: 2' -xrm '*_MwmSystemMenu_.packing: pack_column' Other menus have the names defined in your defaults files; use the names explicitly instead of wild-carding *numColumns and *packing (there are other RowColumn widgets that mwm creates.) Note that the general case of defining these for any menu popup or pulldown menu (not option, though) works as well; the menu does not need to be created before these resources are set.