Re: [Tutor] Calling Classes From Tkinter Radio Buttons

2012-04-09 Thread Peter Otten
Nathan wrote: > I'm using Tkinter for a GUI for a program of mine, and I'm trying to > use radio buttons to select different functions, but it's not working > right at all. Originally, I had something like > > class ClassOne(self): You didn't run that code. > def ___str___(self): >

Re: [Tutor] Calling Classes From Tkinter Radio Buttons

2012-04-08 Thread Alan Gauld
On 08/04/12 23:26, Nathan wrote: I'm using Tkinter for a GUI for a program of mine, and I'm trying to use radio buttons to select different functions, Sorry, its too late for my brain to try and decipher your code (even though you have tried to shorten it!). But you can see a simple example

[Tutor] Calling Classes From Tkinter Radio Buttons

2012-04-08 Thread Nathan
I'm using Tkinter for a GUI for a program of mine, and I'm trying to use radio buttons to select different functions, but it's not working right at all. Originally, I had something like class ClassOne(self): def ___str___(self): return "This is the base class." class ClassTwo(ClassOn