[Tutor] i need help!!!

Walter Hanagriff princeshinji@xoommail.com
Thu, 30 Mar 2000 20:57:53 -0800

i am using win95 and python version 1.5.2
i understand that an answer isnt guaranteed, thought i would 
try one more time though
i just need to know how to get the value of a radiobutton
class Radiobutton:
    v = IntVar()
    Radiobutton(frame, text = "1 = Find the power of a 
number", variable = v, value = 1).pack(anchor = W)
    Radiobutton(frame, text = "2 = Find the area of a 
shape", variable = v, value = 2).pack(anchor = W)
    Radiobutton(frame, text = "3 = Find the perimeter of a 
shape", variable = v, value = 3).pack(anchor = W)

    def ifpick(self, v):
        if v == 1:  frame2()
        elif v == 2:  frame3()
        elif v == 3:  frame4()

i thought maybe tkinter works the same across platforms, an 
introduction to tkinter doesnt talk like there is a 
difference, if so can somebody tell me where i should go to 
get an answer to my question

Get your free web-based email at http://www.xoom.com
Birthday? Anniversary? Send FREE animated greeting
cards for any occasion at http://greetings.xoom.com