[Tutor] Tkinter Radiobutton

Ismael Garrido ismaelgf at adinet.com.uy
Mon Jan 17 06:02:00 CET 2005


Ismael Garrido wrote:

> Hello.
>
> I can't figure out what's wrong in here! For some reason I can't 
> understand, the radiobuttons don't work. The code itself is correct, 
> the problem arises when I tell them that their master is 
> self.configurar. I don't know why, but they don't like it.


After changing this:

>    def _configurar(self):
>        self.configurar = Tk() 

To this: self.configurar= Toplevel(self.root)
Works....

I don't understand why it didn't work the other way around. Is it some 
kind of bug or strange 'feature'? Or was I making a silly mistake?

Thanks
Ismael


More information about the Tutor mailing list