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

2005-05-13 Thread Fredrik Lundh
David King wrote: > I still would like to hear from someone on how I'd invoke creation of my new > custom widget and send it commands from python. The C++ code registers > callbacks for both these sorts of things with the Tcl interpreter, so that > they become available as _Tcl/Tk_ commands. But

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

2005-05-13 Thread Fredrik Lundh
"David King" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Thank you, Jeff, for your suggested code to send Tkinter's interpreter > pointer into C++; along with Mr. Lundh's advice, you are helping me to piece > together what I need to make my custom C++/Tk widget available in Tk

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

2005-05-13 Thread Jeff Epler
[copied to tkinter-discuss for the benefit of others] On Fri, May 13, 2005 at 09:15:44AM -0600, David King wrote: > I still would like to hear from someone on how I'd invoke creation of my > new custom widget and send it commands from python. The C++ code registers > callbacks for both these so

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

2005-05-13 Thread David King
Thank you, Jeff, for your suggested code to send Tkinter's interpreter pointer into C++; along with Mr. Lundh's advice, you are helping me to piece together what I need to make my custom C++/Tk widget available in Tkinter. I still would like to hear from someone on how I'd invoke creation of my

[Tkinter-discuss] Python 2.1 with tcl/tk 8.4.5

2005-05-13 Thread Mathieu Cousy
Hi all, For different reasons I need to build a python interpreter 2.1 linked with tk 8.4.5 library (I am working on a Debian Woody system). The whole python building process succeeded but when I try to run the tkinter demo (Demo/tkinter/guido/AttrDialog.py) an exception is raised on any event