On Fri, 2007-09-28 at 17:51 +1000, skaller wrote:
> On Thu, 2007-09-27 at 19:19 -0700, Erick Tryzelaar wrote:
> > On 9/27/07, Erick Tryzelaar <[EMAIL PROTECTED]> wrote:

Hm, also get "no instance of _tk" problem:

Exception exceptions.AttributeError: "StringVar instance has no
attribute '_tk'" in <bound method StringVar.__del__ of
<Tkinter.StringVar instance at 0x2af095750ef0>> ignored
Traceback (most recent call last):
  File "bin/gflx.py", line 630, in ?
    app = App(root,initfile)
  File "bin/gflx.py", line 323, in __init__
    value=self.appstate.runstring)
TypeError: __init__() got an unexpected keyword argument 'value'

Now, StringVar is NOT part of Tk, it's part of Tcl.

BTW: Tkinter and _tkinter are fairly buggy. Last I looked
Tkinter cannot correctly handle deletion of anything.
Guido's _tkinter is rubbish.. I wrote a much better interface
which provided a complete Tcl binding with proper reflection.

The problem is some operations on Tk windows move or delete 
them, and Python expects all operations are managed by it:
Tkinter requires it control everything, it doesn't have
any proper reflection API, so if something is changed using
the native Tcl interface, it loses track.

Anyhow, fixed the problem in SVN now, Python 2.4 works with
it on my box.

-- 
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to