Try:

fenster.title("Demofenster")

"title" a class method, not a variable.

Kevin.


"Steffen Mutter" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi all and a happy new year!
>
> My first try fiddling around with GUIs ended disappointing, instead of
> showing the window title as expected 'Demofenster' ist still shows 'tk'
> instead.
> What did I do wrong?
>
>
> #!/usr/bin/env python
>
> from Tkinter import *
> fenster = Tk()
> fenster.title = 'Demofenster'
> fenster.mainloop()
>
>
>
> I actually tried this running python2.4 on an Ubuntu's breezy badger
> machine and Win2kPro running Python2.3 gives the same result.
>
> Any hints highly apprechiated.
>
> Regards,
> Steffen
>


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to