Re: XForms: clearing and refreshing the canvas

Steve Lamont (
Wed, 28 Jan 98 11:44:56 PST

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

> how do I refresh and clear the canvas if it has some lines or shapes on
> it?

This will depend on what API you're using for your graphics. If you're using
raw Xlib, use XClearWindow():

XClearWindow( fl_get_display(), FL_ObjWin( my_canvas ) );

If you're using some other graphics API such as OpenGL, consult your

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