[wxpython-users] Re: [newbie] Connection between app and frame?

Gilles gilles.ganault at free.fr
Thu Apr 3 07:55:04 PDT 2008


On Thu, 3 Apr 2008 07:09:42 +0200, "Raffaello Barella"
<barbarossa.platz at gmail.com> wrote:
>>> if __name__ == '__main__':
>         app = wx.PySimpleApp()
>         frame = StaticTextFrame()
>         frame.Show()
>         app.MainLoop()
>
>The connection is in MainLoop().

But since I can call the frame class and instance whatever I like, how
does app knows about frame?



More information about the wxpython-users mailing list