[ba.windows.x] need help with exposure events and line drawing

chapman@lll-lcc.UUCP (Carol Chapman) (06/13/89)

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."