> Yes, this would work in most cases. However, if the menu (as describe
> in my scenario) is removed BEFORE the menu callback is executed, the
> `Expose' event will still be in the event stack and acted upon. Come
> to thing of it there can also be some `EnterNotify', `FocusIn' and
> `MotionNotify' event sent if we are really unlucky...
Actually, the [elided] hack was developed to deal with almost exactly
that case. I do deal with my menus in a slightly different fashion
than standard since I prefer to have a generalized callback mechanism
but other than that it should work.
spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/