Repaint Drowing area

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

2 posts / 0 new
Last post
Repaint Drowing area

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?

ICS_support

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.