XForms: window focus

mike grant (ccas20@abacus.strath.ac.uk)
Fri, 27 Mar 1998 11:38:07 -0800

# To subscribers of the xforms list from mike grant <ccas20@abacus.strath.ac.uk> :

I have several windows, each with an OpenGL canvas running trivial
animations. Each animation is invoked through an on_idle callback.

In order to prevent each animation competing for CPU cycles, I would
like to attach a seperate on_idle callback to different windows on the
basis of which window has the current input focus.

Can anyone suggest an elegant way of achieving this?

thanks,
MIKE
_________________________________________________
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/