Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ucsd!ucbvax!moose.crd.ge.com!montnaro From: montnaro@moose.crd.ge.com (Skip Montanaro) Newsgroups: comp.windows.x.motif Subject: multi-column mwm menus Message-ID: <9008201550.AA14256@moose.crd.Ge.Com> Date: 20 Aug 90 15:50:36 GMT References: <9008171756.AA11119@BU.EDU> Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: montanaro@crdgw1.ge.com (Skip Montanaro) Distribution: inet Organization: The Internet Lines: 26 I asked: Is there a way to define multi-column menus in mwm? to which David Lewis responded Use the resource manager to affect the widget: $ mwm -xrm '*_MwmSystemMenu_.numColumns: 2' -xrm '*_MwmSystemMenu_.packing: pack_column' This worked fine in .Xdefaults. I just replaced "_MwmSystemMenu_" with the names of the menus I wanted to be two-dimensional, and presto! Mwm*RemoteMenu.numColumns: 2 Mwm*RemoteMenu.packing: pack_column Mwm*ToolsMenu.numColumns: 2 Mwm*ToolsMenu.packing: pack_column The only ill effect is that f.title and f.separator fields come out a bit strange. For instance, they don't span multiple columns, so you have to insert them twice, plus they don't always show up where you think they should. The simple fix there was to remove titles and separators from multi-column menus. I haven't tried this for menus with pull-right items.