Re: beginner python GUI question

2010-08-02 Thread Chris Hare
On Aug 2, 2010, at 7:25 AM, Peter Otten wrote: > Chris Hare wrote: > root = Tk() root.title = "test" > >> I should think it would work, but I don't understand why it doesn't. > > Try > > root.title("test") > > title() is a method that you are hiding with your attribute leading to

Re: beginner python GUI question

2010-08-02 Thread Peter Otten
Chris Hare wrote: >>> root = Tk() >>> root.title = "test" > I should think it would work, but I don't understand why it doesn't. Try root.title("test") title() is a method that you are hiding with your attribute leading to problems later on. By the way, what kind of documentation are you usi

Re: beginner python GUI question

2010-08-02 Thread Chris Hare
On Aug 1, 2010, at 8:33 PM, rechardchen wrote: > 于 2010-8-2 6:15, Chris Hare 写道: >> I hope I can explain this correctly. >> >> I have a GUI, which is already being processed by a mainloop. I want to be >> able to open a second window so the user can interact with specific >> information in th

Re: beginner python GUI question

2010-08-01 Thread rechardchen
于 2010-8-2 6:15, Chris Hare 写道: I hope I can explain this correctly. I have a GUI, which is already being processed by a mainloop. I want to be able to open a second window so the user can interact with specific information in the second window. I pulled together this code example from Tkin