Tkinter window title won't change

Hans Nowak wurmy at earthlink.net
Wed Aug 28 13:44:20 EDT 2002


Michael B. wrote:

> Hi!
> 
> I have a problem with Tkinter. I am using Python 2.2 with Tkinter Revision 
> 1.160 on SuSE Linux 8.0 with Kernel 2.4 and KDE3.
> The problem is that I can't change the title of any of my Tk()-windows. I 
> tried
> root.title="Test" and
> root.wm_title="Test", as well as 
> button.master.title="Test",
> but none woud actually change the title. I searched Google, but I only found 
> a threat asking the same question without getting an answer.

Try:

   root.title("something")

HTH,

-- 
Hans (base64.decodestring('d3VybXlAZWFydGhsaW5rLm5ldA=='))
# decode for email address ;-)
The Pythonic Quarter:: http://www.awaretek.com/nowak/
Kaa:: http://www.awaretek.com/nowak/kaa.html




More information about the Python-list mailing list