Start adding some properties for getter/setter methods

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-09-02 19:46:44 +00:00
parent 5b5d4ef2dd
commit 0eae5d0999
29 changed files with 292 additions and 5 deletions

View File

@@ -202,6 +202,10 @@ is returned if the pixel is invalid (on X, unallocated).", "");
__safe_for_unpickling__ = True
def __reduce__(self): return (Colour, self.Get(True))
}
%property(Pixel, GetPixel, doc="See `GetPixel`");
%property(RGB, GetRGB, SetRGB, doc="See `GetRGB` and `SetRGB`");
};
%pythoncode {