Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!csd4.milw.wisc.edu!lll-winken!lll-lcc!chapman From: chapman@lll-lcc.UUCP (Carol Chapman) Newsgroups: comp.windows.x,ba.windows.x Subject: need help with exposure events and line drawing Keywords: X11R3, Athena, can I draw lines in a form widget?, send sample code! Message-ID: <2510@lll-lcc.UUCP> Date: 13 Jun 89 00:25:57 GMT Followup-To: poster Organization: Livermore National Laboratory Lines: 19 Could some nice, thoughtful people please send me some sample source code showing how to handle exposure events while using Athena widgets? I have a vpaned widget. One window of it is a form widget, and I'd like to draw some lines in that form. The lines are actually tick marks to use in measuring a colorbar which is stored as a core widget within the form widget. Right now I'm trying to use XtAddEventHandler, but no lines are getting drawn. Perhaps lines can't be drawn in a form widget? Do I need to call a routine such as XSelectInput before calling XtAddEventHandler? Thanks, carol chapman -- ------------------------------------------------------------------------------- Livermore Lab (chapman@lll-crg.llnl.gov or chapman@lll-lcc.llnl.gov) P.O. Box 808, L-153 Tel. (415) 423-7876 Livermore, CA 94550 "Never own anything that you have to FEED or PAINT."