On 6 Oct 2011, at 10:27, Jens Grunert wrote:

> I'd like to start Tcl_Main from within an fltk application. But once started 
> in inputcb (see blow) it takes over the control. Is there a way to add tcl to 
> the fltk event loop?


Don't know - but it may be easier to add fltk to the tcl event loop.

Basically, if you can contrive to call Fl::check(); every now and then, say 
every 0.1 seconds or faster, then fltk will Just Work without having to call 
Fl::run() at all.

So if you can set that up somehow, so that the tcl loop "pumps" fltk loop, it 
should be OK.




_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to