def CreateBitmap(self, artid, client, size):
...
return bmp
-
+", "
Identifying art resources
-------------------------
of the categories above)
");
+MustHaveApp(wxPyArtProvider);
+MustHaveApp(wxPyArtProvider::GetBitmap);
+MustHaveApp(wxPyArtProvider::GetIcon);
+
%name(ArtProvider) class wxPyArtProvider /*: public wxObject*/
{
public:
DocDeclStr(
static void , PushProvider(wxPyArtProvider *provider),
- "Add new provider to the top of providers stack.");
+ "Add new provider to the top of providers stack.", "");
DocDeclStr(
static bool , PopProvider(),
- "Remove latest added provider and delete it.");
+ "Remove latest added provider and delete it.", "");
DocDeclStr(
static bool , RemoveProvider(wxPyArtProvider *provider),
"Remove provider. The provider must have been added previously! The
-provider is _not_ deleted.");
+provider is _not_ deleted.", "");
DocDeclStr(
const wxString& client = wxPyART_OTHER,
const wxSize& size = wxDefaultSize),
"Query the providers for bitmap with given ID and return it. Return
-wx.NullBitmap if no provider provides it.");
+wx.NullBitmap if no provider provides it.", "");
DocDeclStr(
const wxString& client = wxPyART_OTHER,
const wxSize& size = wxDefaultSize),
"Query the providers for icon with given ID and return it. Return
-wx.NullIcon if no provider provides it.");
+wx.NullIcon if no provider provides it.", "");
%extend { void Destroy() { delete self; }}