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

@@ -312,6 +312,15 @@ the ``type`` parameter.", "");
bool __eq__(const wxBitmap* other) { return other ? (*self == *other) : false; }
bool __ne__(const wxBitmap* other) { return other ? (*self != *other) : true; }
}
%property(Depth, GetDepth, SetDepth, doc="See `GetDepth` and `SetDepth`");
%property(Height, GetHeight, SetHeight, doc="See `GetHeight` and `SetHeight`");
%property(Mask, GetMask, SetMask, doc="See `GetMask` and `SetMask`");
%property(Palette, GetPalette, doc="See `GetPalette`");
%property(Size, GetSize, SetSize, doc="See `GetSize` and `SetSize`");
%property(SubBitmap, GetSubBitmap, doc="See `GetSubBitmap`");
%property(Width, GetWidth, SetWidth, doc="See `GetWidth` and `SetWidth`");
};
@@ -588,6 +597,8 @@ public:
pixels.nextPixel()
pixels.MoveTo(self, 0, y)
}
%property(Pixels, GetPixels, doc="See `GetPixels`");
};