Re: [Tkinter-discuss] python tcl mixed programming

2007-05-21 Thread Jeff Epler
This is the way I found to do it: http://cvs.linuxcnc.org/cgi-bin/cvsweb.cgi/emc2/lib/python/nf.py.in?rev=1.1 You're interested in the class 'Widgets' and the function 'makewidget' which does all the work. #This program is free software; you can redistribute it and/or modify #it under the

[Tkinter-discuss] python tcl mixed programming

2007-05-21 Thread Fabrizio Pollastri
Hello, I am trying to import into a python program a TK gui designed with TkproE. My code is root = Tk() root.tk.evalfile('my_tcl_gui.tcl') The problem at this point is that root.children is empty. It seems that evalfile created the gui widgets somewhere else, not inside my root window. How I