Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!uunet!snorkelwacker.mit.edu!bloom-beacon!dont-send-mail-to-path-lines From: pete@iris49.UUCP (Pete Ware) Newsgroups: comp.windows.x Subject: Adding accelerators to menu items Message-ID: <9102080024.AA18356@iris49.biosym.com> Date: 8 Feb 91 00:24:19 GMT References: <9102072116.AA10588@excess.lcs.mit.edu> Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 22 I'm being stupid argueing with the author, but judging from the man page and the app-defaults file (source isn't on line), it looks like the accelerators are bound to the Menu, for example Xmh*tocMenu.Accelerators: #override ... This works because xmh is a great program and defines a bunch of actions that could probably be invoked from any widget. What you can't do is (and what I thought the original person was asking) cause some an action of one of the menu items: Xmh*tocMenu.open.Accelerators: #override \n\ :MetaI: activate() First off, the menu's items don't have any actions -- they're RectObjs secondly even if they did have actions they don't have any translation tables and hench no accelerators. --pete (I'm probably going to regret this) Pete Ware / Biosym / San Diego CA / (619) 546-5532 uucp: scripps.edu!bioc1!pete Internet: bioc1!pete@scripps.edu