Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!sun-barr!ccut!wnoc-tyo-news!kogwy!new1!roger From: roger@zuken.co.jp (Roger Meunier) Newsgroups: comp.windows.x.motif Subject: Gadgets and Events Message-ID: Date: 22 Apr 91 07:25:34 GMT Sender: news@new1.zuken.co.jp Organization: ZUKEN Inc. Yokohama, JAPAN Lines: 13 Is there some way to use XtAddEventHandler() or XtAddRawEventHandler() with gadgets? I tried installing a ButtonPressMask event handler in a XmCreatePushButtonGadget, and was surprised at the results. It wouldn't even handle exposure events after that! Does someone know a trick I can use to emulate event handling (or translations) for a gadget? Or am I asking too much? I know that the behavior is being managed somewhere; is there some way to modify this behavior? Any tips will be appreciated. -- Roger Meunier @ Zuken, Inc. Yokohama, Japan (roger@zuken.co.jp)