Path: utzoo!attcan!uunet!ogicse!uwm.edu!cs.utexas.edu!rutgers!mit-eddie!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: <1438.9006120913@kheops.cmi.no> Date: 12 Jun 90 09:13:44 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