Title: Signature.html
Not at all. I took Grayson's example as it stood. However, as it might have been noted above, he was working with Pmw, so the code may be a false impression of how it works in Tkinter.

This gave the same results:
root = Tk()
dialog = DialogPrototype(root)
root.mainloop()

Extra blank window at start up and crashed the same way when pressing OK.
I'm using this code to prototype a larger dialog with more data entry, so it doesn't really matter that it crashes when I exit.

John Fouhy wrote:
2009/3/18 Wayne Watson <sierra_mtnv...@sbcglobal.net>:
  
Unfortunately, that takes me back to the original situation. That is, the
blank window appears along with the dialog window. It also ends badly with
what looks like the same error messages(below). Maybe focus needs to be
established. I'm really using this code to design a dialog for the larger
application program, so I don't need to get too fussy about how it ends. I
just want to see that I've got the elementary widgets place properly.
    

I didn't notice any call to root.mainloop() in your original code.
Are you calling mainloop() anywhere?

  

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

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


                Life is one damn thing after another."
                     -- Mark Twain 
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to