In the main program I invoke an instance of a class which loads my data from a
pickled file. Then I use an html control like the demo to display the
information with a widget. When the user enters data in the widget and presses
the button, I would like the program to search for the appropriate data and
display new information in the html control. How do I pass the widget the
instance variable for the data or how to I pass the users input from the widget
back to a class in the main program?
gtryus wrote:
In the main program I invoke an instance of a class which loads my
data from a pickled file. Then I use an html control like the demo to
display the information with a widget. When the user enters data in
the widget and presses the button, I would like the program to search
for the appropriate data and display new information in the html
control. How do I pass the widget the instance variable for the data
or how to I pass the users input from the widget back to a class in
the main program?
I'm not sure exactly what you are asking but why not just catch events from the widgets in the parent of the html window?
ยทยทยท
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!