Re: [Tkinter-discuss] Re: Hooking into custom Tcl/Tk Widgets from Tkinter (vis)

2005-04-29 Thread Jeff Epler
On Fri, Apr 29, 2005 at 11:01:15AM -0600, David King wrote: > But let's leave WCK aside and just talk about plain Tkinter for the moment. > I'd like to understand how my custom C++/Tk widget could make itself known > in the usual Tkinter world. On the C++ side, essentially all my Tcl/Tk API >

[Tkinter-discuss] Re: Hooking into custom Tcl/Tk Widgets from Tkinter (vis)

2005-04-29 Thread David King
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 interprete

Re: [Tkinter-discuss] more control over truncating long strings in Labels?

2005-04-29 Thread Jeff Epler
On Wed, Apr 27, 2005 at 04:05:31PM -0500, Jeff Epler wrote: > This code is not well tested, but I'll share it anyway. [snipped] Someone asked me off-list if there was a reason I wrote this code in tcl, not Python. No, there was no efficiency reason. I wrote this code first for a tcl/tk app, then