Message130494
Hi.
I am new to Python.
I have an ABC.py file in which it has a checkbox.
An instance of the "wx.CheckBox" is created with name "chkbox1".
Initial value is set and its binded to the "wx.EVT_CHECKBOX" with a function xxx().
Now, I am importing ABC.py to XYZ.py.
How to access the event of the checkbox XYZ.py?
If i try to access it as ABC.chkbox1.SetVaule(), its giving the error as ""Attribute Error: type object 'ABC' has no attribute 'chkbox1'"".
Please help me ASAP. |
|
Date |
User |
Action |
Args |
2011-03-10 09:13:18 | syerrama | set | recipients:
+ syerrama |
2011-03-10 09:13:18 | syerrama | set | messageid: <1299748398.42.0.872980855635.issue11460@psf.upfronthosting.co.za> |
2011-03-10 09:13:17 | syerrama | link | issue11460 messages |
2011-03-10 09:13:17 | syerrama | create | |
|