[wxPython-users] ANN: FancyButtonPanel Control For wxPython
Robin Dunn
robin at alldunn.com
Tue Oct 3 11:15:59 PDT 2006
Andrea Gavana wrote:
> =
> Well, if this is the case, I will surely try to do it, to have also my
> widgets to be more "Pythonic". I only don't know how Robin has
> implemented the changes in wxPython from setter and getter to
> properties, so if Robin could share some suggestions on how to do it
> semi-automatically (faster) I will surely do it.
I have a little script that scans the classes in a module and looks for =
methods that start with "Get" and then looks for a matching method that =
starts with "Set" and then writes to stdout a property line for it (in =
my case using SWIG syntax.) I then reviewed what had been written and =
copy/paste/edit it into the sources. It's not anywhere near perfect, =
but it saved me a bunch of typing.
-- =
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: getprops.py
Type: text/x-python
Size: 2088 bytes
Desc: not available
Url : http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/20061=
003/e2e3075e/getprops.py
More information about the wxpython-users
mailing list