Re: tkinter prob

2006-08-21 Thread JyotiC
thanx a lot it worked Peter Otten wrote: > JyotiC wrote: > > > got the error, > > but there is one more prob, button is not coming to enable again. once > > it is disabled > > the error it's giving is:- > > > NameError: global name 'ENABLED' is not defined > > Try NORMAL instead of ENABLED. > >

Re: tkinter prob

2006-08-21 Thread Peter Otten
JyotiC wrote: > got the error, > but there is one more prob, button is  not coming to enable again. once > it is disabled > the error it's giving is:- > NameError: global name 'ENABLED' is not defined Try NORMAL instead of ENABLED. Peter -- http://mail.python.org/mailman/listinfo/python-list

Re: tkinter prob

2006-08-21 Thread JyotiC
thanx got the error, but there is one more prob, button is not coming to enable again. once it is disabled the error it's giving is:- Exception in Tkinter callback Traceback (most recent call last): File "/usr/lib/python2.3/lib-tk/Tkinter.py", line 1345, in __call__ return self.func(*args)

Re: tkinter prob

2006-08-21 Thread Eric Brunel
On Mon, 21 Aug 2006 08:50:29 +0200, JyotiC <[EMAIL PROTECTED]> wrote: > i have tried it out but it's not working. > this is the code > > from Tkinter import * > > class abc: > def __init__(self,parent): > #make container myparent > self.myparent=parent > self.myparent.g

Re: tkinter prob

2006-08-20 Thread JyotiC
i have tried it out but it's not working. this is the code from Tkinter import * class abc: def __init__(self,parent): #make container myparent self.myparent=parent self.myparent.geometry("500x200") #make the initial frame self.frame=Frame(self.myparen

Re: tkinter prob

2006-08-20 Thread Fredrik Lundh
JyotiC wrote: > i am making a GUI using Tkinter, > I have a button and a checkbutton. > i want the button to be enable when checkbutton is on and disble when > the checkbutton is off. use the checkbutton's command option to install a callback that enables or disables the button. -- http://ma

tkinter prob

2006-08-20 Thread JyotiC
hi, i am making a GUI using Tkinter, I have a button and a checkbutton. i want the button to be enable when checkbutton is on and disble when the checkbutton is off. thanx -- http://mail.python.org/mailman/listinfo/python-list