Quick Question regarding Frames

Dave Mandelin mandelin at cs.berkeley.edu
Wed Mar 29 12:55:36 EST 2006


Hi again. frameA in the __init__ is a parameter that is required to be
the FrameA object that is creating the FrameB. In my example, I was
assuming that the FrameB is created in a method of FrameA, so I created
it passing self as frameA:

        w2 = FrameB(self, None, -1,"")
        w2.Show()

--
Want to play tabletop RPGs over the internet?
    Check out Koboldsoft RPZen:    http://www.koboldsoft.com




More information about the Python-list mailing list