Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!eecae!tank!ncar!boulder!sunybcs!bingvaxu!leah!rpi!joplin.cs.rpi.edu!mcintyrd From: mcintyrd@cs.rpi.edu (David McIntyre) Newsgroups: comp.windows.x Subject: Toolkit/Events question Message-ID: <921@rpi.edu> Date: 14 Mar 89 08:58:40 GMT Sender: usenet@rpi.edu Organization: Rensselaer Polytechnic Institute, Troy, NY Lines: 31 I have a question about the toolkit and event handling. I have a box widget, which I want to draw on using the Xlib graphics primitives. I can do this, no problem. Next, I want to catch exposure events on this widget so that I can redraw the graphics if desired. I do this by calling XtAddEventHandler on this widget, with an ExposureMask. I catch lots of expose events. This is good. However, as soon as I actually draw on the box, I no longer get ANY expose events for this widget. Adding the event handler again does not help! Synopsis: The event handler on my box widget won't catch expose events after I have drawn on it. I am using X11R3, Athena Tookit, Sun 3/60. I would really appreciate any help that anyone can send me. -Dave PS. I think this is a better question that than last stupid question I posted, eh? Dave "mr question" McIntyre | "....say you're thinking about a plate mcintyre@turing.cs.rpi.edu | of shrimp.....and someone says to office : 518-276-8633 | you `plate,' or `shrimp'......" home : 518-271-6664 |