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.
>
>
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
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)
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
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
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
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