"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
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
"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
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
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