David King wrote:

I am looking to make a custom Tcl/Tk widget available in Tkinter. It is written in C/C++ and does graphics rendering of some custom astronomical data formats. It has previously been driven stand-alone from a C++ program, without benefit of python (i.e., the Tcl/Tk interpreter and its event loop are currently created / run from the top level of a C++ program).

are you migrating from C++ to Python, and have full control over the code base (including the widget)? if so, the approach outlined here might be less work:

   http://effbot.org/zone/tkinter3000-embed.htm

for configuration and custom events, use standard Python extension techniques:

   http://docs.python.org/ext/simpleExample.html
   http://docs.python.org/ext/callingPython.html

</F>

_______________________________________________
Tkinter-discuss mailing list
[email protected]
http://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to