Submitted by Anonymous on Thu, 05/10/2001 - 15:50. Developers
Hi guru,
how can I repaint dowing area towards display my picture? Have I send
Expose event?
Mon, 07/02/2012 - 14:40
#1
Repaint Drowing area
Typically, the X server sends expose events to the windows, including the window for this drawing area. The widget then forwards the event to you in the form of an XmNexposeCallback. The callback procedure in your application then re-does the drawing, as needed.
If you want to redraw without first receiving an expose event, you can simply clear the area and then call your internal routines for redrawing.