Re: XForms: fl_redraw_object()

Steve Lamont (spl@szechuan.ucsd.edu)
Sun, 24 Oct 99 12:05:10 PDT

# To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> In XForms 0.88 there was a bug in fl_redraw_object() which
> prevented it from correctly redrawing canvas objects. Am I
> right in thinking this bug persists in V0.89?

I'm not sure whether this is a Bug or a Feature. fl_redraw_object()
basically just reinitializes the Canvas object's XForms controlled
attributes but does not cause anything to be redrawn inside the
Canvas. If you want to redraw the Canvas's contents, you should
explicitly call your own drawing functions or, if you have an Expose
event handler declared, send a synthetic Expose event to the Canvas's
Window.

I suppose that XForms could send an Expose event itself but seeing as
how as an Expose event handler is a application controlled option and
may not even be present, I'm not sure whether this would be the Right
Thing or not.

spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/