[wxPython-users] Can anybody explain how to use TransferDataToWindow/TransferDataFromWindow?

jmf jfauth at bluewin.ch
Tue Jan 2 08:39:46 PST 2007


Thomas wrote:

Tue, 2 Jan 2007 16:23:18 +0100
Ok, thanks for the example but I still got to set the value of each
control and get the value in the TransferFromWindow? Is there any
automagic-stuff going on anywhere? I don't see what the big hoopla
about Transfer[To|From]Window is, but it seems like it's the way
everybody does it anyway.

---

In practice I never use Transfer[To|From]Window. In my applications,
either I use global variables stored in a class structure or I fetch
the "dialog values" from the caller application before destroying
the dialog window.

I find your question interesting. Should we use Transfer[To|From]Window?
And if yes, why? Or is it just a matter of style?

Jean-Michel Fauth, Switzerland.





More information about the wxpython-users mailing list