Add properties

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-09-26 00:26:35 +00:00
parent 4627af27d4
commit e70b4d2db9
50 changed files with 1799 additions and 249 deletions

View File

@@ -158,6 +158,10 @@ public:
void SetPageSource(wxString& source, const wxString& baseUrl = wxPyEmptyString);
wxString GetPageURL();
wxString GetPageTitle();
%property(PageSource, GetPageSource, SetPageSource, doc="See `GetPageSource` and `SetPageSource`");
%property(PageTitle, GetPageTitle, doc="See `GetPageTitle`");
%property(PageURL, GetPageURL, doc="See `GetPageURL`");
};
@@ -186,6 +190,9 @@ public:
void SetState(const int state);
wxString GetURL();
void SetURL(const wxString& url);
%property(State, GetState, SetState, doc="See `GetState` and `SetState`");
%property(URL, GetURL, SetURL, doc="See `GetURL` and `SetURL`");
};