From: Robin Becker <robin@je...> - 2002-11-03 21:10:34
Attention Dean Wiliams
From Mike Clarkson <mike@...>
I have an "updated" version of TkSteal for 8.3.3 I can send you.
It was a bare minimum patch to get it working for 8.3.3 and
I'm not usiig it a whole lot so there may be some small tinkering to do.
Any shared C Tk extension loads easily into Tkinter these days (2.1)
root.tk.eval('package require Ext')
assuming you have installed it into the Tcl/ subdirectory of Python.
You may need to fiddle with teh pkgIndex.tcl a little.
Any Tk extension, as the very least can be called from Python
root.tk.eval('Ext foo bar')
Writing a wrapper is straight forward and is basically pattern
matching on the Tkinter.py code.
For a more complete example of calling Python from Tcl and
calling Tcl from Python look at IDEStudio
I have taken up a collection for a home for wayward Tk wrappers into
in the Python/ directory of Tixapps -
If someone does a wrapper for TkSteal I'll add it to the collection.
You may be also interested in the install_tix Tcl script in the
Windows IDEStudio distribution, and the automatic wrapping of Tix
objects in Tixapps/Utils/ObjtixPython.tcl