wxPython: need return value from wxFrame
Cliff Wells
logiplex at qwest.net
Thu Aug 21 18:28:23 EDT 2003
On Thu, 2003-08-21 at 15:17, Mirko Koenig wrote:
> Hi
>
> I have a frame where you can select/add/delte etc a customer address.
> It is included in an wxApp to have a stand alone customer addressbook.
>
> Now i wrote a invoice application. I added a button to add a address to
> the invoice. I want the customer addressbook to be open by clicking
> on that button. No problem. So far so good.
>
> But i want the addressbook frame to return the selected address as a
> tuple, list or dict. I don't have any idea how to do that.
>
> I can show() the frame from within the invoice code but show doesn't
> return a value.
Use a wxDialog instead.
--
Cliff Wells, Software Engineer
Logiplex Corporation (www.logiplex.net)
(503) 978-6726 (800) 735-0555
More information about the Python-list
mailing list