[comp.windows.open-look] Accelerators in OLIT

garnaat@arisia.xerox.com (Mitch Garnaat) (06/07/91)

I've got a bunch of OblongButtonWidget's inside of Menu's and I wanted
to install accelerators for some of them.  I added the following line
to my app defaults file:

	*myapp*nodeprops.accelerators: <Key>L3 : menunotify()

where nodeprops is the name of one of the oblong buttons and then called
XtInstallAllAccelerators before entering XtAppMainLoop().
Using dbx, I determined that the accelerator was installed and when I
press the L3 key, the function MenuNotify in OblongButt.o is called but
it doesn't do seem to be calling its XtNselect callback list.  Is MenuNotify
doing something funny do disable accelerators?  I tried both menunotify()
and notify() with the same result.

BTW, I'm using OLIT 2.0 on a SparcStation 2 with SunOS 4.1.1.

Thanks,

(mitch)
----------------------------------------------------------------
Mitch Garnaat					Xerox Corp.
garnaat@arisia.xerox.com			(716)427-6260