I am new to wxpython ,i wanted to know how we can send data from child frame to main frame in wxpython?
Here is brief discription about my prog:
child frame has spinctrl and a button , when we click on the button mainframe should get those value which is used for furthur application.
Thanks in advance
It’s best to send messages across frames like this, using Publisher from wx.lib.pubsub. You
subscribeto a message in the main frame, and thensendMessagefrom the child frame.For an example and more info, see
http://www.blog.pythonlibrary.org/2010/06/27/wxpython-and-pubsub-a-simple-tutorial/