[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: vic usability improvements
=?iso-8859-1?Q?Jos=E9=20Mar=EDa=20Gonz=E1lez?= writes:
> The renderer code eventually returns the
> control to tcl to display the frame. Therefore, control
> reaches the point where tcl has to decide which event
> to dispatch next.
it does? can you trace the code path by which this happens?
ketan at one point wrote a package for cmt that allowed one
to prioritize events in the tcl event loop so that as you
created timers, fileevents, idle events, etc. you could
assign them to various priority groups so that, for isntance,
all ui events were handled before ui events, followed by
audio or video events...
this was done a long time back by hacking the tk core (this
was way back when the event loop was in tk, not tcl) but i
believe ketan was able to do it in a pretty clean way with
the tcl event notifier. i'll try to get in touch with him
and see if he still has the code around.
-Andrew