[wxPython-users] Old bug appears in new XRCed & pyXRC
甜瓜
littlesweetmelon at gmail.com
Wed Dec 12 18:43:31 PST 2007
Yeah, I have read the doc. I am using this features now. It works! Thank you.
I suggest a new XRCed useful feature:
For subclass / custom controls, the programmer usually add in their
own properties. If those properties can be also store in XRC by XRCed,
that would be very cool!
For examle, XRCed can provide a "custom data" tab for each control.
Programmer can add:
AlphaRender = 10
BlinkTimes = 5
Rotate = True
.... to the tab. Then, XRCed stored them into XRC:
<object class="MyButton" name="BtnUpdate">
<label>Update</label>
<XRCED>
<assign_var>1</assign_var>
</XRCED>
<Custom>
<AlphaRender> 10 </AlphaRender>
<BlinkTimes> 5 </BlinkTimes>
<Rotate> True </Rotate>
</Custom>
</object>
Finally, pywxrc can automatically attach custom properities to the
class instance...
^_^
Thank you for your attention.
---
ShenLei
More information about the wxpython-users
mailing list