Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!zaphod.mps.ohio-state.edu!mips!apple!uokmax!munnari.oz.au!metro!cs.uow.edu.au!jorgi From: jorgi@cs.uow.edu.au (George B Zamroz) Newsgroups: comp.windows.x.motif Subject: A couple of menu questions Keywords: window manager,menus Message-ID: <1991Apr9.070434.211@cs.uow.edu.au> Date: 9 Apr 91 07:04:34 GMT Distribution: comp Organization: Dept of Computer Science, Wollongong University Lines: 23 I have couple of questions regarding menus under Motif and the Motif Window Manager: 1) I have an application which uses a menubar widget. I want to use mnemonics for the menus themselves (the CascadeButtons) and the menu items (PushButtons and ToggleButtons). Using the Xt Intrinsics I can set the XmNmemonic resource to the mnemonic I want and everything works fine, but trying the same thing from under UIL, the mnemonics are totally ignored. I turned on the listing options for the UIL compiler, and the mnemonics are in the output. What gives? 2) I want to stop my application from being close via the window menu. I configured a new menu to get rid of the Close option, and that works fine. I then wanted to stop people being able to double-click on the window menu button to kill the program. The manual says to set wMenuButtonClick2 to False. This works for all of the windows, but can I do it for just one application e.g. *application*wMenuButtonClick2: False I have tried this and it is simply ignored. Whereas mwm*wMenuButtonClick2: False will disable feature on all windows. -- George B. Zamroz, University of Wollongong, Australia Masters Student (Computer Science) Internet: jorgi@cs.uow.edu.au