Title: Signature.html
master!   Good. Thanks.
 
master.mainloop()

Alan Gauld wrote:

"Wayne Watson" <[email protected]> wrote

Here's what I think the author meant in discussing a control variable sample
program. <http://effbot.org/tkinterbook/entry.htm>
========================
from Tkinter import *

v=StringVar()

e = Entry(master, textvariable=v)

AG >> No master defined... you need

AG >> master = Tk()


e.pack()
e.focus_set()

v.set("a default value")
s = v.get()

mainloop()

AG>> and this should be master.mainloop()


Alan G

_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor


--
           Wayne Watson (Watson Adventures, Prop., Nevada City, CA)

             (121.01 Deg. W, 39.26 Deg. N) GMT-8 hr std. time)
            

                In mathematics you don't understand things. 
                 You just get used to them. -- John Von Neumann
                    (P.S. The same is true in life.)

                    Web Page: <www.speckledwithstars.net/>
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to