Path: utzoo!attcan!uunet!munnari.oz.au!uhccux!ames!elroy.jpl.nasa.gov!usc!snorkelwacker!bloom-beacon!kheops.cmi.no!pererik From: pererik@kheops.cmi.no (per erik nordbo) Newsgroups: comp.windows.x Subject: Adding event handlers to windows Message-ID: <1445.9006120916@kheops.cmi.no> Date: 12 Jun 90 09:16:03 GMT Sender: root@athena.mit.edu (Wizard A. Root) Organization: The Internet Lines: 12 Adding event handlers to the root window. Is there a way to add Xt R4 event handlers to windows and not just widgets? I would rather avoid open up the XtAppMainLoop() and dispatch non-widget events myself if possible. I'm using properties to share data among loosely coupled processes, registering the property in the root window which is not a widget. Would it possible to convert a window to widget using XtWindowToWidget() and than using the XtAddEventHandler() mechanism. Per Erik Nordboe Chr. Michelsens Institute Norway