Re: Tkinter, Trouble with Message,Label widget

2009-05-05 Thread Hendrik van Rooyen
"norseman" wrote: > Hendrik van Rooyen mentioned the textvar too. Thanks Hendrik Yeah - and also omitted to mention the set method. With friends like that, who needs enemies? - Hendrik -- http://mail.python.org/mailman/listinfo/python-list

Re: Tkinter, Trouble with Message,Label widget

2009-05-04 Thread norseman
Ioannis Lalopoulos wrote: I assume that you create the two windows through two different calls to Tkinter.Tk() but you cannot enter two mainloops (at least not in a normal way). If you want a second window use the Toplevel widget. Try the following, it does what you want: import Tkinter root

Re: Tkinter, Trouble with Message,Label widget

2009-05-04 Thread Hendrik van Rooyen
"norseman" wrote: > There has to be some way of using a Message or Label (or some) widget as > a simple posting board. There is - look at textvariable - an instance of StringVar that is associated with the widget. If all else fails, you can always use configure to change the text... hth - He

Re: Tkinter, Trouble with Message,Label widget

2009-05-03 Thread Ioannis Lalopoulos
I assume that you create the two windows through two different calls to Tkinter.Tk() but you cannot enter two mainloops (at least not in a normal way). If you want a second window use the Toplevel widget. Try the following, it does what you want: import Tkinter root = Tkinter.Tk() my_text = Tk

Tkinter, Trouble with Message,Label widget

2009-05-03 Thread norseman
Intended action: Two Tkinter windows. W1 is complex, user interacts with program from here ONLY W2 is for display only, NO user interactions I can get info to W2. But to get it to update I first have to manually kill it. Program does create both. Both terminate when progr