Tkinter message window

Jonas Bengtsson jonas.b at home.se
Tue Dec 18 13:29:25 EST 2001


I want to use a Tkinter window for presenting messages. I use the code as
follows:
###
root = Tkinter.Tk()
textField = Tkinter.Text(self._root)
textField.grid(sticky=Tkinter.NW+Tkinter.SE)
#adding stuff to textField
root.mainloop()
###

But when the window is resized the textField remain the same. How do I
accomplish the textField to resize along with the main window?

TIA!
/Jonas





More information about the Python-list mailing list