newbie wxpython GUI question

anthony ajc1961 at yahoo.com
Thu Mar 27 20:00:03 CET 2003


I feel quite lame for not being able to figure this out.  I'm using
python 2.2, wxpython 2.4.  I want to build a simple GUI where there
are three text boxes and one button.  I want the user to put values
into the text boexes and press the button.  When you press the button
I want to read the data from the text boxes (currently wxTextCtrl) and
add them up.  I have the event set up for something to happen on the
button press, but how do I either pass the text box IDs into the
button event or get the text from the button event?  If this is
incorrect Python mentality feel free to yell at me.

thanks,
anthony




More information about the Python-list mailing list