2 tkinter questions
John Grayson
johngrayson at home.com
Thu Jul 20 08:35:42 EDT 2000
In article <3976B061.617CACB0 at structurex.net>,
walter hanagriff <walter111 at structurex.net> wrote:
One answer:
You *are* using Tkinter variables, aren't you?
def power(self, frame):
self.ivar1 = StringVar()
self.ivar2 = StringVar()
entry1 = Entry(frame, width = 10, textvariable = self.ivar1)
entry1.pack()
entry2 = Entry(frame, width = 10, textvariable = self.ivar2)
entry2.pack()
iv1 = ivar1.get() ; iv2 = ivar2.get()
Sent via Deja.com http://www.deja.com/
Before you buy.
More information about the Python-list
mailing list