Quick Question regarding Frames

Chris S seywaresolutions at gmail.com
Tue Mar 28 22:30:46 CEST 2006

HI Dave,
Thanks for the reply.
I am a bit confused by this piece of code:
  class FrameB(wx.Frame):
      def __init__(self, frameA, ...):
          self.frameA = frameA

What is frameA in the __init__ definition?
Do I need to create something called frameA in order to pass it to that
__init__ function?

Presently I would call FrameB as
        w2 = FrameB(None, -1,"")

Where would I put the reference to frameA?



More information about the Python-list mailing list