Path: utzoo!attcan!uunet!srg!lyons From: lyons@srg.UUCP (Don R. Lyons x4811) Newsgroups: comp.windows.x.motif Subject: accelarators. How to? Message-ID: <22@srg.UUCP> Date: 18 Sep 90 03:32:12 GMT Reply-To: lyons@srg.UUCP (Don R. Lyons x4811) Organization: ARINC Research Corp., Annapolis, MD, SRG Group Lines: 22 Salutation netlanders: I have an menubar in an MainWindow. I would like to add accelarators to the children on the menus. I am using CascadeButtonWidgets as children. Does the following seem unreasonable? XtSetArg( argList[n], XmNaccelerator, "Altt"); n++; XtCreateWidget( name, xmCascadeButtonWidgetClass, menu, argList, n); Do I have to do an XtAddEventHandler? What else is there? Any help will be appreciated. -don -- Don R Lyons Any opinions expressed are my own. Arinc Research Inc uucp : uunet!cdss!lyons SRG, Mail Stop 5230 voice: 301 266 4811 2551 Riva Road Annapolis , MD 21401 fax : 301 266 2047