Re: XForms: Redrawing free objects

Steve Lamont (
Fri, 17 Oct 97 09:06:01 PDT

To subscribers of the xforms list from (Steve Lamont) :

> 1) Can I add a pre- or post handler to an object that is normally
> non-interactive, like a box?


> 2) My app has a free object that I display other objects on, by drawing
> circles, lines, etc. and by displaying pixmaps. When the free object
> needs to be redrawn, i.e. when it receives the FL_DRAW event, I know to
> redraw the free object box and then redraw all the circles, lines, etc.
> How do I "redraw" the pixmaps?

How did you draw them in the first place?

The technique I use is to create an offscreen Pixmap and then use
XCopyArea() to blat the Pixmap to the form.

To unsubscribe, send the message "unsubscribe" to or see
Xforms Home Page:
List Archive: