Hi,

I saw that.  Can you think of a way to register your Qt event loop
> processing without directly modifying bwish?
>

I modified the code so that every time Tcl_DoOneEvent is called
QApplication::processEvents is also called so that there aren't any
modification to the code that have to be done besides checking for Tk
events non-blocking. I couldn't figure out a method to avoid this since
being blocked and waiting for Tk events stops from processing Qt ones. I
haven't modified the code in bwish (the call to qt_tk_processEvents that
now only processes Tk ones non-blocking because DM_QT is not defined in
bwish and I want to process events non-blocking just when qt dm is enabled.
Should I leave it like this (and change the name to be more appropriate) or
should I process all events non-blocking?).
Also I want to thank D.Rossberg for the suggestion to use
Tcl_CreateEventSource.

Cheers,
Vlad
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to