Tkinter + Tcl help

2005-07-05 Thread sunitajain
Hello all, I have a Tcldot package which I am using with Tcl (I source the package by 'load .\libtcldot.so.0' command. Now I want to use this package in Tkinter. Can anyone suggest me how to do this? I tried the foll: root=Tk() root.tk.eval('load ..\libtcldot.so.0') root.mainloop() But I

Re: Tkinter + Tcl help

2005-07-05 Thread Jeff Epler
I think you need to write root.tk.eval('load', '...\\libtcldot.so.0') When you write root.tk.eval(x y z) it's like doing this at the wish/tclsh prompt: # {x y z} Not like this: # x y z Now, how useful it is to have a command called x y z, I can't guess... but tcl would let you do