[wxPython-dev] 20061006 test build uploaded

Bill Baxter wbaxter at gmail.com
Wed Oct 11 17:06:06 PDT 2006


On 10/12/06, Christopher Barker <Chris.Barker at noaa.gov> wrote:
> Robin Dunn wrote:
> > Actually they are different.  Size returns a new image that is the
> > specified size, without modifying the original, and Resize modifies the
> > original.  So I'll need to remove that property.
>
> Boy, that's a bad name -- could we just change it to AsSize or NewSize,
> or something so that we can have that nice Size property be what we'd
> expect?
>
> This does make me wonder about the property idea -- I really like
> getting rid of all those getters and setters, but given the the C++ API
> is designed with them, things like this are likely to crop up a lot.

This may have been discussed and rejected already, but why not jsut
make the properties start with a lower case letter?

Then the conflicts would be eliminated, and besides, Image.size looks
much more like a property value to me than Image.Size.

--bb




More information about the wxpython-dev mailing list