Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!ucsd!ucbvax!DRD.Com!walt From: walt@DRD.Com (Walt Gaber) Newsgroups: comp.windows.x.motif Subject: Re: multi-column menus in mwm? Message-ID: <9008211312.AA04168@DRD.Com> Date: 21 Aug 90 13:12:28 GMT References: Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 46 > Is there a way to define multi-column menus in mwm? Something that would > display like: > > Moose C2A > Sierra CRDGW1 > SC Zephyrus > Mobius Durango > HPX02 Neva > Dwaskill Milkweed > Rigel Karnack > Hudson Kreskin The mwm manual says that the "appearance of menus can be configured based on the name of the menu." The popup shell is named "menu" and the RowColumn widget is named according to the entry in your .mwmrc file. Therefore, if your .mwmrc contains: Menu YourMenu { "Moose" "Sierra" "SC" "Mobius" "HPX02" "Dwaskill" "Rigel" "Hudson" "C2A" "CRDGW1" "Zephyrus" "Durango" "Neva" "Milkweed" "Karnack" "Kreskin" } just add the following to your mwm resource file: Mwm*menu*YourMenu*numColumns: 2 Mwm*menu*YourMenu*packing: PACK_COLUMN -- Walt Gaber walt@DRD.Com DRD Corporation uunet!apctrc!drd!walt (918) 743-3013