More properties

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-09-08 01:08:36 +00:00
parent 925430af06
commit 76b8fa1d20
20 changed files with 200 additions and 6 deletions

View File

@@ -54,6 +54,11 @@ public:
void SetExtension(const wxString& extension);
void SetType(long type);
void SetMimeType(const wxString& mimetype);
%property(Extension, GetExtension, SetExtension, doc="See `GetExtension` and `SetExtension`");
%property(MimeType, GetMimeType, SetMimeType, doc="See `GetMimeType` and `SetMimeType`");
%property(Name, GetName, SetName, doc="See `GetName` and `SetName`");
%property(Type, GetType, SetType, doc="See `GetType` and `SetType`");
};
@@ -983,6 +988,17 @@ range -1.0..1.0 where -1.0 is -360 degrees and 1.0 is 360 degrees", "");
%pythoncode { def __nonzero__(self): return self.Ok() }
%property(AlphaBuffer, GetAlphaBuffer, SetAlphaBuffer, doc="See `GetAlphaBuffer` and `SetAlphaBuffer`");
%property(AlphaData, GetAlphaData, SetAlphaData, doc="See `GetAlphaData` and `SetAlphaData`");
%property(Data, GetData, SetData, doc="See `GetData` and `SetData`");
%property(DataBuffer, GetDataBuffer, SetDataBuffer, doc="See `GetDataBuffer` and `SetDataBuffer`");
%property(Height, GetHeight, doc="See `GetHeight`");
%property(MaskBlue, GetMaskBlue, doc="See `GetMaskBlue`");
%property(MaskGreen, GetMaskGreen, doc="See `GetMaskGreen`");
%property(MaskRed, GetMaskRed, doc="See `GetMaskRed`");
%property(Size, GetSize, doc="See `GetSize`");
%property(Width, GetWidth, doc="See `GetWidth`");
};