I'm contemplating porting XCircuit to C++ using Qt toolkit, using Javascript 
for scripting. This would immediately make it available on all major platforms, 
and make it easier to hack on it (IMHO, no flamebaiting intended).

I'm trying to figure out where the main entry point is for the code that 
creates the main window. I don't know much about Xw nor Tk, so my immediate 
concern is to know where to look first. All I figured out so far is that the 
code is called as a library that plugs into the tcl interpreter.

One benefit of using Qt is that all of the introspection glue between scripting 
languages (even potentially TCL) and core object system is already there with 
zero extra effort. I expect this would cull lots of boilerplate code. I really 
like the sparse and efficient UI, so that aspect is my prime concern for 
preservation.

I have it running on X11 on OS X, configured to use tcl+tk from MacPorts, 
compiled to use X11 as follows:

./configure --with-tcl=/opt/local/lib --with-tk=/opt/local/lib --prefix=~kuba
make
make install

I run it by invoking ~/bin/xcircuit

Thanks, Kuba
_______________________________________________
Xcircuit-dev mailing list
[email protected]
http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev

Reply via email to