[wxpython-users] Stuck in a problem with validators

David Anderson zerty.david at gmail.com
Wed Apr 30 08:05:19 PDT 2008


Hi you all
Well the thing is... i'm using a validator that do this
 def __init__(self, data, key):
         wx.PyValidator.__init__(self)
         self.data =3D data
         self.key =3D key
def TransferFromWindow(self):
         textCtrl =3D self.GetWindow()
         self.data[self.key] =3D textCtrl.GetValue()
         return True

So i'll add the stuff in a dictionary..
The thing is, the stuff is only added to the dic data if I click on the 'ok'
button from the dialog,
but I want to access those info on the dic before closing the dialog...
Any ideas of how to solve this problem?
thx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200804=
30/a969ae4c/attachment.htm


More information about the wxpython-users mailing list