Hello,
I am trying to disable temporary TCL execution during the instantiation
of Tkinter classes. The scope is to build the Tkinter python structure
of a Tk widget tree already generated by direct TCL commands.
I tried a "monkey patch" on the call method of tkapp as follow
from Tkinter import *
Mohammad Tayseer wrote:
> Finishing the program will close it, which will destroy the Tk object.
> You have to call mainloop() at the end to stop the program from >closing
The program waits for 3 seconds before finishing, so I must see the
expected window for the same time, but this do not happ
Hello,
in mixed python-tcl programming I found the following different
behaviours of the same tcl script.
If I type manually in the python interpreter the following lines
>>> from Tkinter import *
>>> w = Tk()
>>> w.tk.evalfile('my_tcl_script.tcl')
where my_tcl_script.tcl is
#!/bin/sh
Hello,
I am trying to use VisualTcl as an interface designer. The tcl file
produced by VisualTcl is executed in my application as
root = Tk()
root.tk.evalfile('my_tcl_gui.tcl')
I have found two problems.
First, the toplevel "root" supersede the toplevel options defined in the
tcl file (typical
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