Re: quit button

2009-10-26 Thread Gabriel Genellina
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.qu

Re: quit button

2009-10-25 Thread Grant Edwards
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

Re: quit button

2009-10-25 Thread John Posner
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:

quit button

2009-10-24 Thread linda.s
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(p

Re: newbie:this program stops responding after pressing quit button

2007-12-04 Thread Eric Brunel
On Tue, 04 Dec 2007 14:32:34 +0100, Boris <[EMAIL PROTECTED]> wrote: > I am using windows vista and python 2.5 .This program stops responding > after pressing quit button. I am not able to figure the problem out. > please help. > > from Tkinter import * > > def gree

Re: newbie:this program stops responding after pressing quit button

2007-12-04 Thread Michael Speer
On Dec 4, 2007 8:32 AM, Boris <[EMAIL PROTECTED]> wrote: > I am using windows vista and python 2.5 .This program stops responding > after pressing quit button. I am not able to figure the problem out. > please help. > > from Tkinter import * > > def greeting( ): >

newbie:this program stops responding after pressing quit button

2007-12-04 Thread Boris
I am using windows vista and python 2.5 .This program stops responding after pressing quit button. I am not able to figure the problem out. please help. from Tkinter import * def greeting( ): print 'Hello stdout world!...' win = Frame( ) win.pack( ) Label(win, text='Hello