En Sat, 24 Oct 2009 23:59:06 -0300, linda.s
escribió:
When I click "quit" button, why the following code has problem?
[...]
if __name__ == '__main__':
root = Tk()
gridbox(Toplevel())
packbox(Toplevel())
Button(root, text='Quit', command=root.quit).pack()
mainloop()
If
On 2009-10-25, linda.s wrote:
> When I click "quit" button, why the following code has problem?
It works fine for me (running Gentoo Linux on IA32).
--
Grant
--
http://mail.python.org/mailman/listinfo/python-list
linda.s wrote:
When I click "quit" button, why the following code has problem?
from Tkinter import *
colors = ['red', 'green', 'yellow', 'orange', 'blue', 'navy']
def gridbox(parent):
r = 0
for c in colors:
l = Label(parent, text=c, relief=RIDGE, width=25)
e = Entry(pa