summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7b625c3)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32790
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
return _misc_.ArtProvider_GetIcon(*args, **kwargs)
GetIcon = staticmethod(GetIcon)
return _misc_.ArtProvider_GetIcon(*args, **kwargs)
GetIcon = staticmethod(GetIcon)
- def GetSize(*args, **kwargs):
+ def GetSizeHint(*args, **kwargs):
- GetSize(String client, bool platform_dependent=False) -> Size
+ GetSizeHint(String client, bool platform_dependent=False) -> Size
- Get the size of an icon from a specific Art Client, queries the
+ Get the size hint of an icon from a specific Art Client, queries the
topmost provider if platform_dependent = false
"""
topmost provider if platform_dependent = false
"""
- return _misc_.ArtProvider_GetSize(*args, **kwargs)
+ return _misc_.ArtProvider_GetSizeHint(*args, **kwargs)
- GetSize = staticmethod(GetSize)
+ GetSizeHint = staticmethod(GetSizeHint)
def Destroy(*args, **kwargs):
"""Destroy(self)"""
return _misc_.ArtProvider_Destroy(*args, **kwargs)
def Destroy(*args, **kwargs):
"""Destroy(self)"""
return _misc_.ArtProvider_Destroy(*args, **kwargs)
"""
return _misc_.ArtProvider_GetIcon(*args, **kwargs)
"""
return _misc_.ArtProvider_GetIcon(*args, **kwargs)
-def ArtProvider_GetSize(*args, **kwargs):
+def ArtProvider_GetSizeHint(*args, **kwargs):
- ArtProvider_GetSize(String client, bool platform_dependent=False) -> Size
+ ArtProvider_GetSizeHint(String client, bool platform_dependent=False) -> Size
- Get the size of an icon from a specific Art Client, queries the
+ Get the size hint of an icon from a specific Art Client, queries the
topmost provider if platform_dependent = false
"""
topmost provider if platform_dependent = false
"""
- return _misc_.ArtProvider_GetSize(*args, **kwargs)
+ return _misc_.ArtProvider_GetSizeHint(*args, **kwargs)
#---------------------------------------------------------------------------
#---------------------------------------------------------------------------
-static PyObject *_wrap_ArtProvider_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
+static PyObject *_wrap_ArtProvider_GetSizeHint(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxString *arg1 = 0 ;
bool arg2 = (bool) false ;
PyObject *resultobj;
wxString *arg1 = 0 ;
bool arg2 = (bool) false ;
(char *) "client",(char *) "platform_dependent", NULL
};
(char *) "client",(char *) "platform_dependent", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ArtProvider_GetSize",kwnames,&obj0,&obj1)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ArtProvider_GetSizeHint",kwnames,&obj0,&obj1)) goto fail;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = wxPyArtProvider::GetSize((wxString const &)*arg1,arg2);
+ result = wxPyArtProvider::GetSizeHint((wxString const &)*arg1,arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
{ (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
- { (char *)"ArtProvider_GetSize", (PyCFunction) _wrap_ArtProvider_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"ArtProvider_GetSizeHint", (PyCFunction) _wrap_ArtProvider_GetSizeHint, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS, NULL},
{ (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS, NULL},
{ (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS, NULL},