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

Gilles gilles.ganault at free.fr
Wed Apr 2 16:59:13 PDT 2008


Hello

	I'm reading "wxPython in Action", and am puzzled at the lack of
connection between an app and a frame:

if __name__ == '__main__':
	app = wx.PySimpleApp()
	frame = StaticTextFrame()
	frame.Show()
	app.MainLoop()

How can the app and the frame communicate, since there doesn't seem to
be a connection in the above code?

Thank you.



More information about the wxpython-users mailing list