reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
2cbbc68d20
commit
d3b6e4ff11
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1320,6 +1320,16 @@ def RectPS(*args, **kwargs):
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
def RectS(*args, **kwargs):
|
||||
"""
|
||||
RectS(Size size) -> Rect
|
||||
|
||||
Create a new Rect from a size only.
|
||||
"""
|
||||
val = _core_.new_RectS(*args, **kwargs)
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
|
||||
def IntersectRect(*args, **kwargs):
|
||||
"""
|
||||
@ -8891,6 +8901,14 @@ class SizerItem(Object):
|
||||
"""
|
||||
return _core_.SizerItem_GetRatio(*args, **kwargs)
|
||||
|
||||
def GetRect(*args, **kwargs):
|
||||
"""
|
||||
GetRect(self) -> Rect
|
||||
|
||||
Returns the rectangle that the sizer item should occupy
|
||||
"""
|
||||
return _core_.SizerItem_GetRect(*args, **kwargs)
|
||||
|
||||
def IsWindow(*args, **kwargs):
|
||||
"""
|
||||
IsWindow(self) -> bool
|
||||
@ -9129,7 +9147,7 @@ class Sizer(Object):
|
||||
def Add(*args, **kwargs):
|
||||
"""
|
||||
Add(self, item, int proportion=0, int flag=0, int border=0,
|
||||
PyObject userData=None)
|
||||
PyObject userData=None) -> wx.SizerItem
|
||||
|
||||
Appends a child item to the sizer.
|
||||
"""
|
||||
@ -9138,7 +9156,7 @@ class Sizer(Object):
|
||||
def Insert(*args, **kwargs):
|
||||
"""
|
||||
Insert(self, int before, item, int proportion=0, int flag=0, int border=0,
|
||||
PyObject userData=None)
|
||||
PyObject userData=None) -> wx.SizerItem
|
||||
|
||||
Inserts a new item into the list of items managed by this sizer before
|
||||
the item at index *before*. See `Add` for a description of the parameters.
|
||||
@ -9148,7 +9166,7 @@ class Sizer(Object):
|
||||
def Prepend(*args, **kwargs):
|
||||
"""
|
||||
Prepend(self, item, int proportion=0, int flag=0, int border=0,
|
||||
PyObject userData=None)
|
||||
PyObject userData=None) -> wx.SizerItem
|
||||
|
||||
Adds a new item to the begining of the list of sizer items managed by
|
||||
this sizer. See `Add` for a description of the parameters.
|
||||
@ -9180,6 +9198,16 @@ class Sizer(Object):
|
||||
"""
|
||||
return _core_.Sizer_Detach(*args, **kwargs)
|
||||
|
||||
def GetItem(*args, **kwargs):
|
||||
"""
|
||||
GetItem(self, item) -> wx.SizerItem
|
||||
|
||||
Returns the `wx.SizerItem` which holds the *item* given. The *item*
|
||||
parameter can be either a window, a sizer, or the zero-based index of
|
||||
the item to be detached.
|
||||
"""
|
||||
return _core_.Sizer_GetItem(*args, **kwargs)
|
||||
|
||||
def _SetItemMinSize(*args, **kwargs):
|
||||
"""_SetItemMinSize(self, PyObject item, Size size)"""
|
||||
return _core_.Sizer__SetItemMinSize(*args, **kwargs)
|
||||
@ -10240,7 +10268,7 @@ class GridBagSizer(FlexGridSizer):
|
||||
def Add(*args, **kwargs):
|
||||
"""
|
||||
Add(self, item, GBPosition pos, GBSpan span=DefaultSpan, int flag=0,
|
||||
int border=0, userData=None)
|
||||
int border=0, userData=None) -> wx.GBSizerItem
|
||||
|
||||
Adds an item to the sizer at the grid cell *pos*, optionally spanning
|
||||
more than one row or column as specified with *span*. The remaining
|
||||
@ -10254,7 +10282,7 @@ class GridBagSizer(FlexGridSizer):
|
||||
|
||||
def AddItem(*args, **kwargs):
|
||||
"""
|
||||
Add(self, GBSizerItem item) -> bool
|
||||
Add(self, GBSizerItem item) -> wx.GBSizerItem
|
||||
|
||||
Add an item to the sizer using a `wx.GBSizerItem`. Returns True if
|
||||
the item was successfully placed at its given cell position, False if
|
||||
|
@ -1848,7 +1848,7 @@ void wxSizer__setOORInfo(wxSizer *self,PyObject *_self){
|
||||
if (!self->GetClientObject())
|
||||
self->SetClientObject(new wxPyOORClientData(_self));
|
||||
}
|
||||
void wxSizer_Add(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
|
||||
wxSizerItem *wxSizer_Add(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
|
||||
|
||||
wxPyUserData* data = NULL;
|
||||
bool blocked = wxPyBeginBlockThreads();
|
||||
@ -1859,14 +1859,16 @@ void wxSizer_Add(wxSizer *self,PyObject *item,int proportion,int flag,int border
|
||||
|
||||
// Now call the real Add method if a valid item type was found
|
||||
if ( info.window )
|
||||
self->Add(info.window, proportion, flag, border, data);
|
||||
return self->Add(info.window, proportion, flag, border, data);
|
||||
else if ( info.sizer )
|
||||
self->Add(info.sizer, proportion, flag, border, data);
|
||||
return self->Add(info.sizer, proportion, flag, border, data);
|
||||
else if (info.gotSize)
|
||||
self->Add(info.size.GetWidth(), info.size.GetHeight(),
|
||||
proportion, flag, border, data);
|
||||
return self->Add(info.size.GetWidth(), info.size.GetHeight(),
|
||||
proportion, flag, border, data);
|
||||
else
|
||||
return NULL;
|
||||
}
|
||||
void wxSizer_Insert(wxSizer *self,int before,PyObject *item,int proportion,int flag,int border,PyObject *userData){
|
||||
wxSizerItem *wxSizer_Insert(wxSizer *self,int before,PyObject *item,int proportion,int flag,int border,PyObject *userData){
|
||||
|
||||
wxPyUserData* data = NULL;
|
||||
bool blocked = wxPyBeginBlockThreads();
|
||||
@ -1877,14 +1879,16 @@ void wxSizer_Insert(wxSizer *self,int before,PyObject *item,int proportion,int f
|
||||
|
||||
// Now call the real Insert method if a valid item type was found
|
||||
if ( info.window )
|
||||
self->Insert(before, info.window, proportion, flag, border, data);
|
||||
return self->Insert(before, info.window, proportion, flag, border, data);
|
||||
else if ( info.sizer )
|
||||
self->Insert(before, info.sizer, proportion, flag, border, data);
|
||||
return self->Insert(before, info.sizer, proportion, flag, border, data);
|
||||
else if (info.gotSize)
|
||||
self->Insert(before, info.size.GetWidth(), info.size.GetHeight(),
|
||||
proportion, flag, border, data);
|
||||
return self->Insert(before, info.size.GetWidth(), info.size.GetHeight(),
|
||||
proportion, flag, border, data);
|
||||
else
|
||||
return NULL;
|
||||
}
|
||||
void wxSizer_Prepend(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
|
||||
wxSizerItem *wxSizer_Prepend(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
|
||||
|
||||
wxPyUserData* data = NULL;
|
||||
bool blocked = wxPyBeginBlockThreads();
|
||||
@ -1895,12 +1899,14 @@ void wxSizer_Prepend(wxSizer *self,PyObject *item,int proportion,int flag,int bo
|
||||
|
||||
// Now call the real Prepend method if a valid item type was found
|
||||
if ( info.window )
|
||||
self->Prepend(info.window, proportion, flag, border, data);
|
||||
return self->Prepend(info.window, proportion, flag, border, data);
|
||||
else if ( info.sizer )
|
||||
self->Prepend(info.sizer, proportion, flag, border, data);
|
||||
return self->Prepend(info.sizer, proportion, flag, border, data);
|
||||
else if (info.gotSize)
|
||||
self->Prepend(info.size.GetWidth(), info.size.GetHeight(),
|
||||
proportion, flag, border, data);
|
||||
return self->Prepend(info.size.GetWidth(), info.size.GetHeight(),
|
||||
proportion, flag, border, data);
|
||||
else
|
||||
return NULL;
|
||||
}
|
||||
bool wxSizer_Remove(wxSizer *self,PyObject *item){
|
||||
bool blocked = wxPyBeginBlockThreads();
|
||||
@ -1928,6 +1934,19 @@ bool wxSizer_Detach(wxSizer *self,PyObject *item){
|
||||
else
|
||||
return false;
|
||||
}
|
||||
wxSizerItem *wxSizer_GetItem(wxSizer *self,PyObject *item){
|
||||
bool blocked = wxPyBeginBlockThreads();
|
||||
wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, true);
|
||||
wxPyEndBlockThreads(blocked);
|
||||
if ( info.window )
|
||||
return self->GetItem(info.window);
|
||||
else if ( info.sizer )
|
||||
return self->GetItem(info.sizer);
|
||||
else if ( info.gotPos )
|
||||
return self->GetItem(info.pos);
|
||||
else
|
||||
return NULL;
|
||||
}
|
||||
void wxSizer__SetItemMinSize(wxSizer *self,PyObject *item,wxSize const &size){
|
||||
bool blocked = wxPyBeginBlockThreads();
|
||||
wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, true);
|
||||
@ -2053,7 +2072,7 @@ wxGBPosition wxGBSizerItem_GetEndPos(wxGBSizerItem *self){
|
||||
self->GetEndPos(row, col);
|
||||
return wxGBPosition(row, col);
|
||||
}
|
||||
bool wxGridBagSizer_Add(wxGridBagSizer *self,PyObject *item,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
|
||||
wxGBSizerItem *wxGridBagSizer_Add(wxGridBagSizer *self,PyObject *item,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
|
||||
|
||||
wxPyUserData* data = NULL;
|
||||
bool blocked = wxPyBeginBlockThreads();
|
||||
@ -2064,13 +2083,13 @@ bool wxGridBagSizer_Add(wxGridBagSizer *self,PyObject *item,wxGBPosition const &
|
||||
|
||||
// Now call the real Add method if a valid item type was found
|
||||
if ( info.window )
|
||||
return self->Add(info.window, pos, span, flag, border, data);
|
||||
return (wxGBSizerItem*)self->Add(info.window, pos, span, flag, border, data);
|
||||
else if ( info.sizer )
|
||||
return self->Add(info.sizer, pos, span, flag, border, data);
|
||||
return (wxGBSizerItem*)self->Add(info.sizer, pos, span, flag, border, data);
|
||||
else if (info.gotSize)
|
||||
return self->Add(info.size.GetWidth(), info.size.GetHeight(),
|
||||
pos, span, flag, border, data);
|
||||
return false;
|
||||
return (wxGBSizerItem*)self->Add(info.size.GetWidth(), info.size.GetHeight(),
|
||||
pos, span, flag, border, data);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
@ -3662,6 +3681,35 @@ static PyObject *_wrap_new_RectPS(PyObject *, PyObject *args, PyObject *kwargs)
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_new_RectS(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxSize *arg1 = 0 ;
|
||||
wxRect *result;
|
||||
wxSize temp1 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "size", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_RectS",kwnames,&obj0)) goto fail;
|
||||
{
|
||||
arg1 = &temp1;
|
||||
if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (wxRect *)new wxRect((wxSize const &)*arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_delete_Rect(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxRect *arg1 = (wxRect *) 0 ;
|
||||
@ -34911,6 +34959,36 @@ static PyObject *_wrap_SizerItem_GetRatio(PyObject *, PyObject *args, PyObject *
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_SizerItem_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxSizerItem *arg1 = (wxSizerItem *) 0 ;
|
||||
wxRect result;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetRect",kwnames,&obj0)) goto fail;
|
||||
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
|
||||
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (arg1)->GetRect();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
wxRect * resultptr;
|
||||
resultptr = new wxRect((wxRect &) result);
|
||||
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_SizerItem_IsWindow(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxSizerItem *arg1 = (wxSizerItem *) 0 ;
|
||||
@ -35491,6 +35569,7 @@ static PyObject *_wrap_Sizer_Add(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
int arg4 = (int) 0 ;
|
||||
int arg5 = (int) 0 ;
|
||||
PyObject *arg6 = (PyObject *) NULL ;
|
||||
wxSizerItem *result;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@ -35522,12 +35601,12 @@ static PyObject *_wrap_Sizer_Add(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxSizer_Add(arg1,arg2,arg3,arg4,arg5,arg6);
|
||||
result = (wxSizerItem *)wxSizer_Add(arg1,arg2,arg3,arg4,arg5,arg6);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
Py_INCREF(Py_None); resultobj = Py_None;
|
||||
resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@ -35543,6 +35622,7 @@ static PyObject *_wrap_Sizer_Insert(PyObject *, PyObject *args, PyObject *kwargs
|
||||
int arg5 = (int) 0 ;
|
||||
int arg6 = (int) 0 ;
|
||||
PyObject *arg7 = (PyObject *) NULL ;
|
||||
wxSizerItem *result;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@ -35577,12 +35657,12 @@ static PyObject *_wrap_Sizer_Insert(PyObject *, PyObject *args, PyObject *kwargs
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxSizer_Insert(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
|
||||
result = (wxSizerItem *)wxSizer_Insert(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
Py_INCREF(Py_None); resultobj = Py_None;
|
||||
resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@ -35597,6 +35677,7 @@ static PyObject *_wrap_Sizer_Prepend(PyObject *, PyObject *args, PyObject *kwarg
|
||||
int arg4 = (int) 0 ;
|
||||
int arg5 = (int) 0 ;
|
||||
PyObject *arg6 = (PyObject *) NULL ;
|
||||
wxSizerItem *result;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@ -35628,12 +35709,12 @@ static PyObject *_wrap_Sizer_Prepend(PyObject *, PyObject *args, PyObject *kwarg
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxSizer_Prepend(arg1,arg2,arg3,arg4,arg5,arg6);
|
||||
result = (wxSizerItem *)wxSizer_Prepend(arg1,arg2,arg3,arg4,arg5,arg6);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
Py_INCREF(Py_None); resultobj = Py_None;
|
||||
resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@ -35702,6 +35783,35 @@ static PyObject *_wrap_Sizer_Detach(PyObject *, PyObject *args, PyObject *kwargs
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_Sizer_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxSizer *arg1 = (wxSizer *) 0 ;
|
||||
PyObject *arg2 = (PyObject *) 0 ;
|
||||
wxSizerItem *result;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self",(char *) "item", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_GetItem",kwnames,&obj0,&obj1)) goto fail;
|
||||
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
|
||||
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
|
||||
arg2 = obj1;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (wxSizerItem *)wxSizer_GetItem(arg1,arg2);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxSizer *arg1 = (wxSizer *) 0 ;
|
||||
@ -35741,6 +35851,7 @@ static PyObject *_wrap_Sizer_AddItem(PyObject *, PyObject *args, PyObject *kwarg
|
||||
PyObject *resultobj;
|
||||
wxSizer *arg1 = (wxSizer *) 0 ;
|
||||
wxSizerItem *arg2 = (wxSizerItem *) 0 ;
|
||||
wxSizerItem *result;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@ -35754,12 +35865,12 @@ static PyObject *_wrap_Sizer_AddItem(PyObject *, PyObject *args, PyObject *kwarg
|
||||
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->Add(arg2);
|
||||
result = (wxSizerItem *)(arg1)->Add(arg2);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
Py_INCREF(Py_None); resultobj = Py_None;
|
||||
resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@ -35771,6 +35882,7 @@ static PyObject *_wrap_Sizer_InsertItem(PyObject *, PyObject *args, PyObject *kw
|
||||
wxSizer *arg1 = (wxSizer *) 0 ;
|
||||
size_t arg2 ;
|
||||
wxSizerItem *arg3 = (wxSizerItem *) 0 ;
|
||||
wxSizerItem *result;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@ -35787,12 +35899,12 @@ static PyObject *_wrap_Sizer_InsertItem(PyObject *, PyObject *args, PyObject *kw
|
||||
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->Insert(arg2,arg3);
|
||||
result = (wxSizerItem *)(arg1)->Insert(arg2,arg3);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
Py_INCREF(Py_None); resultobj = Py_None;
|
||||
resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@ -35803,6 +35915,7 @@ static PyObject *_wrap_Sizer_PrependItem(PyObject *, PyObject *args, PyObject *k
|
||||
PyObject *resultobj;
|
||||
wxSizer *arg1 = (wxSizer *) 0 ;
|
||||
wxSizerItem *arg2 = (wxSizerItem *) 0 ;
|
||||
wxSizerItem *result;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@ -35816,12 +35929,12 @@ static PyObject *_wrap_Sizer_PrependItem(PyObject *, PyObject *args, PyObject *k
|
||||
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->Prepend(arg2);
|
||||
result = (wxSizerItem *)(arg1)->Prepend(arg2);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
Py_INCREF(Py_None); resultobj = Py_None;
|
||||
resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@ -38351,7 +38464,7 @@ static PyObject *_wrap_GridBagSizer_Add(PyObject *, PyObject *args, PyObject *kw
|
||||
int arg5 = (int) 0 ;
|
||||
int arg6 = (int) 0 ;
|
||||
PyObject *arg7 = (PyObject *) NULL ;
|
||||
bool result;
|
||||
wxGBSizerItem *result;
|
||||
wxGBPosition temp3 ;
|
||||
wxGBSpan temp4 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
@ -38392,14 +38505,12 @@ static PyObject *_wrap_GridBagSizer_Add(PyObject *, PyObject *args, PyObject *kw
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (bool)wxGridBagSizer_Add(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
|
||||
result = (wxGBSizerItem *)wxGridBagSizer_Add(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@ -38410,7 +38521,7 @@ static PyObject *_wrap_GridBagSizer_AddItem(PyObject *, PyObject *args, PyObject
|
||||
PyObject *resultobj;
|
||||
wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
|
||||
wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
|
||||
bool result;
|
||||
wxGBSizerItem *result;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@ -38424,14 +38535,12 @@ static PyObject *_wrap_GridBagSizer_AddItem(PyObject *, PyObject *args, PyObject
|
||||
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (bool)(arg1)->Add(arg2);
|
||||
result = (wxGBSizerItem *)(arg1)->Add(arg2);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@ -40725,6 +40834,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"new_Rect", (PyCFunction) _wrap_new_Rect, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"new_RectPP", (PyCFunction) _wrap_new_RectPP, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"new_RectPS", (PyCFunction) _wrap_new_RectPS, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"new_RectS", (PyCFunction) _wrap_new_RectS, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"delete_Rect", (PyCFunction) _wrap_delete_Rect, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"Rect_GetX", (PyCFunction) _wrap_Rect_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"Rect_SetX", (PyCFunction) _wrap_Rect_SetX, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
@ -41754,6 +41864,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"SizerItem_SetRatioSize", (PyCFunction) _wrap_SizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"SizerItem_SetRatio", (PyCFunction) _wrap_SizerItem_SetRatio, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"SizerItem_GetRatio", (PyCFunction) _wrap_SizerItem_GetRatio, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"SizerItem_GetRect", (PyCFunction) _wrap_SizerItem_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"SizerItem_IsWindow", (PyCFunction) _wrap_SizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"SizerItem_IsSizer", (PyCFunction) _wrap_SizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"SizerItem_IsSpacer", (PyCFunction) _wrap_SizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
@ -41780,6 +41891,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"Sizer_Prepend", (PyCFunction) _wrap_Sizer_Prepend, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"Sizer_Remove", (PyCFunction) _wrap_Sizer_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"Sizer_Detach", (PyCFunction) _wrap_Sizer_Detach, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"Sizer_GetItem", (PyCFunction) _wrap_Sizer_GetItem, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"Sizer__SetItemMinSize", (PyCFunction) _wrap_Sizer__SetItemMinSize, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"Sizer_AddItem", (PyCFunction) _wrap_Sizer_AddItem, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"Sizer_InsertItem", (PyCFunction) _wrap_Sizer_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
|
@ -246,7 +246,7 @@ class Palette(GDIObject):
|
||||
return _gdi_.Palette_GetPixel(*args, **kwargs)
|
||||
|
||||
def GetRGB(*args, **kwargs):
|
||||
"""GetRGB(int pixel) -> (R,G,B)"""
|
||||
"""GetRGB(self, int pixel) -> (R,G,B)"""
|
||||
return _gdi_.Palette_GetRGB(*args, **kwargs)
|
||||
|
||||
def Ok(*args, **kwargs):
|
||||
@ -589,6 +589,10 @@ class Bitmap(GDIObject):
|
||||
"""
|
||||
return _gdi_.Bitmap_LoadFile(*args, **kwargs)
|
||||
|
||||
def GetPalette(*args, **kwargs):
|
||||
"""GetPalette(self) -> Palette"""
|
||||
return _gdi_.Bitmap_GetPalette(*args, **kwargs)
|
||||
|
||||
def CopyFromIcon(*args, **kwargs):
|
||||
"""CopyFromIcon(self, Icon icon) -> bool"""
|
||||
return _gdi_.Bitmap_CopyFromIcon(*args, **kwargs)
|
||||
|
@ -3340,6 +3340,32 @@ static PyObject *_wrap_Bitmap_LoadFile(PyObject *, PyObject *args, PyObject *kwa
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_Bitmap_GetPalette(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxBitmap *arg1 = (wxBitmap *) 0 ;
|
||||
wxPalette *result;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_GetPalette",kwnames,&obj0)) goto fail;
|
||||
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
|
||||
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (wxPalette *)((wxBitmap const *)arg1)->GetPalette();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPalette, 0);
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_Bitmap_CopyFromIcon(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxBitmap *arg1 = (wxBitmap *) 0 ;
|
||||
@ -18554,6 +18580,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"Bitmap_GetSubBitmap", (PyCFunction) _wrap_Bitmap_GetSubBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"Bitmap_SaveFile", (PyCFunction) _wrap_Bitmap_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"Bitmap_LoadFile", (PyCFunction) _wrap_Bitmap_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"Bitmap_GetPalette", (PyCFunction) _wrap_Bitmap_GetPalette, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"Bitmap_CopyFromIcon", (PyCFunction) _wrap_Bitmap_CopyFromIcon, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"Bitmap_SetHeight", (PyCFunction) _wrap_Bitmap_SetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"Bitmap_SetWidth", (PyCFunction) _wrap_Bitmap_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
|
@ -5719,4 +5719,157 @@ def Display_GetFromWindow(*args, **kwargs):
|
||||
"""
|
||||
return _misc_.Display_GetFromWindow(*args, **kwargs)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
class StandardPaths(object):
|
||||
"""
|
||||
wx.StandardPaths returns the standard locations in the file system and
|
||||
should be used by the programs to find their data files in a portable
|
||||
way.
|
||||
|
||||
In the description of the methods below, the example return values are
|
||||
given for the Unix, Windows and Mac OS X systems, however please note
|
||||
that these are just the examples and the actual values may differ. For
|
||||
example, under Windows: the system administrator may change the
|
||||
standard directories locations, i.e. the Windows directory may be
|
||||
named W:\Win2003 instead of the default C:\Windows.
|
||||
|
||||
The strings appname and username should be replaced with the value
|
||||
returned by `wx.App.GetAppName` and the name of the currently logged
|
||||
in user, respectively. The string prefix is only used under Unix and
|
||||
is /usr/local by default but may be changed using `SetInstallPrefix`.
|
||||
|
||||
The directories returned by the methods of this class may or may not
|
||||
exist. If they don't exist, it's up to the caller to create them,
|
||||
wxStandardPaths doesn't do it.
|
||||
|
||||
Finally note that these functions only work with standardly packaged
|
||||
applications. I.e. under Unix you should follow the standard
|
||||
installation conventions and under Mac you should create your
|
||||
application bundle according to the Apple guidelines. Again, this
|
||||
class doesn't help you to do it.
|
||||
"""
|
||||
def __init__(self): raise RuntimeError, "No constructor defined"
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxStandardPaths instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def Get(*args, **kwargs):
|
||||
"""
|
||||
Get() -> StandardPaths
|
||||
|
||||
Return the global standard paths object
|
||||
"""
|
||||
return _misc_.StandardPaths_Get(*args, **kwargs)
|
||||
|
||||
Get = staticmethod(Get)
|
||||
def GetConfigDir(*args, **kwargs):
|
||||
"""
|
||||
GetConfigDir(self) -> String
|
||||
|
||||
Return the directory with system config files: /etc under Unix,
|
||||
c:\Documents and Settings\All Users\Application Data under Windows,
|
||||
/Library/Preferences for Mac
|
||||
"""
|
||||
return _misc_.StandardPaths_GetConfigDir(*args, **kwargs)
|
||||
|
||||
def GetUserConfigDir(*args, **kwargs):
|
||||
"""
|
||||
GetUserConfigDir(self) -> String
|
||||
|
||||
Return the directory for the user config files: $HOME under Unix,
|
||||
c:\Documents and Settings\username under Windows,
|
||||
~/Library/Preferences under Mac
|
||||
|
||||
Only use this if you have a single file to put there, otherwise
|
||||
`GetUserDataDir` is more appropriate
|
||||
"""
|
||||
return _misc_.StandardPaths_GetUserConfigDir(*args, **kwargs)
|
||||
|
||||
def GetDataDir(*args, **kwargs):
|
||||
"""
|
||||
GetDataDir(self) -> String
|
||||
|
||||
Return the location of the application's global, (i.e. not
|
||||
user-specific,) data files: prefix/share/appname under Unix,
|
||||
c:\Program Filesppname under Windows,
|
||||
appname.app/Contents/SharedSupport app bundle directory under Mac.
|
||||
"""
|
||||
return _misc_.StandardPaths_GetDataDir(*args, **kwargs)
|
||||
|
||||
def GetLocalDataDir(*args, **kwargs):
|
||||
"""
|
||||
GetLocalDataDir(self) -> String
|
||||
|
||||
Return the location for application data files which are
|
||||
host-specific. Same as `GetDataDir` except under Unix where it is
|
||||
/etc/appname
|
||||
"""
|
||||
return _misc_.StandardPaths_GetLocalDataDir(*args, **kwargs)
|
||||
|
||||
def GetUserDataDir(*args, **kwargs):
|
||||
"""
|
||||
GetUserDataDir(self) -> String
|
||||
|
||||
Return the directory for the user-dependent application data files:
|
||||
$HOME/.appname under Unix, c:\Documents and
|
||||
Settings\username\Application Datappname under Windows and
|
||||
~/Library/Application Support/appname under Mac
|
||||
"""
|
||||
return _misc_.StandardPaths_GetUserDataDir(*args, **kwargs)
|
||||
|
||||
def GetUserLocalDataDir(*args, **kwargs):
|
||||
"""
|
||||
GetUserLocalDataDir(self) -> String
|
||||
|
||||
Return the directory for user data files which shouldn't be shared
|
||||
with the other machines
|
||||
|
||||
Same as `GetUserDataDir` for all platforms except Windows where it is
|
||||
the 'Local Settings\Application Datappname' directory.
|
||||
"""
|
||||
return _misc_.StandardPaths_GetUserLocalDataDir(*args, **kwargs)
|
||||
|
||||
def GetPluginsDir(*args, **kwargs):
|
||||
"""
|
||||
GetPluginsDir(self) -> String
|
||||
|
||||
Return the directory where the loadable modules (plugins) live:
|
||||
prefix/lib/appname under Unix, program directory under Windows and
|
||||
Contents/Plugins app bundle subdirectory under Mac
|
||||
"""
|
||||
return _misc_.StandardPaths_GetPluginsDir(*args, **kwargs)
|
||||
|
||||
def SetInstallPrefix(*args, **kwargs):
|
||||
"""
|
||||
SetInstallPrefix(self, String prefix)
|
||||
|
||||
Set the program installation directory which is /usr/local by default.
|
||||
This value will be used by other methods such as `GetDataDir` and
|
||||
`GetPluginsDir` as the prefix for what they return. (Unix only.)
|
||||
"""
|
||||
return _misc_.StandardPaths_SetInstallPrefix(*args, **kwargs)
|
||||
|
||||
def GetInstallPrefix(*args, **kwargs):
|
||||
"""
|
||||
GetInstallPrefix(self) -> String
|
||||
|
||||
Get the program installation prefix.
|
||||
"""
|
||||
return _misc_.StandardPaths_GetInstallPrefix(*args, **kwargs)
|
||||
|
||||
|
||||
class StandardPathsPtr(StandardPaths):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = StandardPaths
|
||||
_misc_.StandardPaths_swigregister(StandardPathsPtr)
|
||||
|
||||
def StandardPaths_Get(*args, **kwargs):
|
||||
"""
|
||||
StandardPaths_Get() -> StandardPaths
|
||||
|
||||
Return the global standard paths object
|
||||
"""
|
||||
return _misc_.StandardPaths_Get(*args, **kwargs)
|
||||
|
||||
|
||||
|
@ -260,40 +260,41 @@ SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_con
|
||||
#define SWIGTYPE_p_wxRect swig_types[49]
|
||||
#define SWIGTYPE_p_char swig_types[50]
|
||||
#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[51]
|
||||
#define SWIGTYPE_p_wxFileTypeInfo swig_types[52]
|
||||
#define SWIGTYPE_p_wxFrame swig_types[53]
|
||||
#define SWIGTYPE_p_wxTimer swig_types[54]
|
||||
#define SWIGTYPE_p_wxMimeTypesManager swig_types[55]
|
||||
#define SWIGTYPE_p_wxPyArtProvider swig_types[56]
|
||||
#define SWIGTYPE_p_wxPyTipProvider swig_types[57]
|
||||
#define SWIGTYPE_p_wxTipProvider swig_types[58]
|
||||
#define SWIGTYPE_p_wxJoystick swig_types[59]
|
||||
#define SWIGTYPE_p_wxSystemOptions swig_types[60]
|
||||
#define SWIGTYPE_p_wxPoint swig_types[61]
|
||||
#define SWIGTYPE_p_wxJoystickEvent swig_types[62]
|
||||
#define SWIGTYPE_p_wxCursor swig_types[63]
|
||||
#define SWIGTYPE_p_wxObject swig_types[64]
|
||||
#define SWIGTYPE_p_wxOutputStream swig_types[65]
|
||||
#define SWIGTYPE_p_wxDateTime swig_types[66]
|
||||
#define SWIGTYPE_p_wxPyDropSource swig_types[67]
|
||||
#define SWIGTYPE_p_wxWindow swig_types[68]
|
||||
#define SWIGTYPE_p_wxString swig_types[69]
|
||||
#define SWIGTYPE_p_wxPyProcess swig_types[70]
|
||||
#define SWIGTYPE_p_wxBitmap swig_types[71]
|
||||
#define SWIGTYPE_p_wxConfig swig_types[72]
|
||||
#define SWIGTYPE_p_wxChar swig_types[73]
|
||||
#define SWIGTYPE_p_wxBusyInfo swig_types[74]
|
||||
#define SWIGTYPE_p_wxPyDropTarget swig_types[75]
|
||||
#define SWIGTYPE_p_wxPyTextDropTarget swig_types[76]
|
||||
#define SWIGTYPE_p_wxPyFileDropTarget swig_types[77]
|
||||
#define SWIGTYPE_p_wxProcessEvent swig_types[78]
|
||||
#define SWIGTYPE_p_wxPyLog swig_types[79]
|
||||
#define SWIGTYPE_p_wxLogNull swig_types[80]
|
||||
#define SWIGTYPE_p_wxColour swig_types[81]
|
||||
#define SWIGTYPE_p_wxConfigPathChanger swig_types[82]
|
||||
#define SWIGTYPE_p_wxPyTimer swig_types[83]
|
||||
#define SWIGTYPE_p_wxDateSpan swig_types[84]
|
||||
static swig_type_info *swig_types[86];
|
||||
#define SWIGTYPE_p_wxStandardPaths swig_types[52]
|
||||
#define SWIGTYPE_p_wxFileTypeInfo swig_types[53]
|
||||
#define SWIGTYPE_p_wxFrame swig_types[54]
|
||||
#define SWIGTYPE_p_wxTimer swig_types[55]
|
||||
#define SWIGTYPE_p_wxMimeTypesManager swig_types[56]
|
||||
#define SWIGTYPE_p_wxPyArtProvider swig_types[57]
|
||||
#define SWIGTYPE_p_wxPyTipProvider swig_types[58]
|
||||
#define SWIGTYPE_p_wxTipProvider swig_types[59]
|
||||
#define SWIGTYPE_p_wxJoystick swig_types[60]
|
||||
#define SWIGTYPE_p_wxSystemOptions swig_types[61]
|
||||
#define SWIGTYPE_p_wxPoint swig_types[62]
|
||||
#define SWIGTYPE_p_wxJoystickEvent swig_types[63]
|
||||
#define SWIGTYPE_p_wxCursor swig_types[64]
|
||||
#define SWIGTYPE_p_wxObject swig_types[65]
|
||||
#define SWIGTYPE_p_wxOutputStream swig_types[66]
|
||||
#define SWIGTYPE_p_wxDateTime swig_types[67]
|
||||
#define SWIGTYPE_p_wxPyDropSource swig_types[68]
|
||||
#define SWIGTYPE_p_wxWindow swig_types[69]
|
||||
#define SWIGTYPE_p_wxString swig_types[70]
|
||||
#define SWIGTYPE_p_wxPyProcess swig_types[71]
|
||||
#define SWIGTYPE_p_wxBitmap swig_types[72]
|
||||
#define SWIGTYPE_p_wxConfig swig_types[73]
|
||||
#define SWIGTYPE_p_wxChar swig_types[74]
|
||||
#define SWIGTYPE_p_wxBusyInfo swig_types[75]
|
||||
#define SWIGTYPE_p_wxPyDropTarget swig_types[76]
|
||||
#define SWIGTYPE_p_wxPyTextDropTarget swig_types[77]
|
||||
#define SWIGTYPE_p_wxPyFileDropTarget swig_types[78]
|
||||
#define SWIGTYPE_p_wxProcessEvent swig_types[79]
|
||||
#define SWIGTYPE_p_wxPyLog swig_types[80]
|
||||
#define SWIGTYPE_p_wxLogNull swig_types[81]
|
||||
#define SWIGTYPE_p_wxColour swig_types[82]
|
||||
#define SWIGTYPE_p_wxConfigPathChanger swig_types[83]
|
||||
#define SWIGTYPE_p_wxPyTimer swig_types[84]
|
||||
#define SWIGTYPE_p_wxDateSpan swig_types[85]
|
||||
static swig_type_info *swig_types[87];
|
||||
|
||||
/* -------- TYPES TABLE (END) -------- */
|
||||
|
||||
@ -1768,6 +1769,9 @@ PyObject *wxDisplay_GetModes(wxDisplay *self,wxVideoMode const &mode){
|
||||
wxPyEndBlockThreads(blocked);
|
||||
return pyList;
|
||||
}
|
||||
|
||||
#include <wx/stdpaths.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
@ -28532,6 +28536,335 @@ static PyObject * Display_swigregister(PyObject *, PyObject *args) {
|
||||
Py_INCREF(obj);
|
||||
return Py_BuildValue((char *)"");
|
||||
}
|
||||
static PyObject *_wrap_StandardPaths_Get(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxStandardPaths *result;
|
||||
char *kwnames[] = {
|
||||
NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StandardPaths_Get",kwnames)) goto fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
{
|
||||
wxStandardPaths &_result_ref = wxStandardPaths::Get();
|
||||
result = (wxStandardPaths *) &_result_ref;
|
||||
}
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStandardPaths, 0);
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_StandardPaths_GetConfigDir(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
|
||||
wxString result;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetConfigDir",kwnames,&obj0)) goto fail;
|
||||
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStandardPaths,
|
||||
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = ((wxStandardPaths const *)arg1)->GetConfigDir();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
#if wxUSE_UNICODE
|
||||
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
|
||||
#else
|
||||
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
|
||||
#endif
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_StandardPaths_GetUserConfigDir(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
|
||||
wxString result;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetUserConfigDir",kwnames,&obj0)) goto fail;
|
||||
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStandardPaths,
|
||||
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = ((wxStandardPaths const *)arg1)->GetUserConfigDir();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
#if wxUSE_UNICODE
|
||||
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
|
||||
#else
|
||||
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
|
||||
#endif
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_StandardPaths_GetDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
|
||||
wxString result;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetDataDir",kwnames,&obj0)) goto fail;
|
||||
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStandardPaths,
|
||||
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = ((wxStandardPaths const *)arg1)->GetDataDir();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
#if wxUSE_UNICODE
|
||||
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
|
||||
#else
|
||||
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
|
||||
#endif
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_StandardPaths_GetLocalDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
|
||||
wxString result;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetLocalDataDir",kwnames,&obj0)) goto fail;
|
||||
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStandardPaths,
|
||||
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = ((wxStandardPaths const *)arg1)->GetLocalDataDir();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
#if wxUSE_UNICODE
|
||||
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
|
||||
#else
|
||||
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
|
||||
#endif
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_StandardPaths_GetUserDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
|
||||
wxString result;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetUserDataDir",kwnames,&obj0)) goto fail;
|
||||
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStandardPaths,
|
||||
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = ((wxStandardPaths const *)arg1)->GetUserDataDir();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
#if wxUSE_UNICODE
|
||||
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
|
||||
#else
|
||||
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
|
||||
#endif
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_StandardPaths_GetUserLocalDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
|
||||
wxString result;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames,&obj0)) goto fail;
|
||||
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStandardPaths,
|
||||
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = ((wxStandardPaths const *)arg1)->GetUserLocalDataDir();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
#if wxUSE_UNICODE
|
||||
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
|
||||
#else
|
||||
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
|
||||
#endif
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_StandardPaths_GetPluginsDir(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
|
||||
wxString result;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetPluginsDir",kwnames,&obj0)) goto fail;
|
||||
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStandardPaths,
|
||||
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = ((wxStandardPaths const *)arg1)->GetPluginsDir();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
#if wxUSE_UNICODE
|
||||
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
|
||||
#else
|
||||
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
|
||||
#endif
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_StandardPaths_SetInstallPrefix(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
|
||||
wxString *arg2 = 0 ;
|
||||
bool temp2 = false ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self",(char *) "prefix", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames,&obj0,&obj1)) goto fail;
|
||||
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStandardPaths,
|
||||
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
|
||||
{
|
||||
arg2 = wxString_in_helper(obj1);
|
||||
if (arg2 == NULL) SWIG_fail;
|
||||
temp2 = true;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->SetInstallPrefix((wxString const &)*arg2);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
Py_INCREF(Py_None); resultobj = Py_None;
|
||||
{
|
||||
if (temp2)
|
||||
delete arg2;
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
{
|
||||
if (temp2)
|
||||
delete arg2;
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_StandardPaths_GetInstallPrefix(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
|
||||
wxString result;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetInstallPrefix",kwnames,&obj0)) goto fail;
|
||||
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStandardPaths,
|
||||
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = ((wxStandardPaths const *)arg1)->GetInstallPrefix();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
#if wxUSE_UNICODE
|
||||
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
|
||||
#else
|
||||
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
|
||||
#endif
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject * StandardPaths_swigregister(PyObject *, PyObject *args) {
|
||||
PyObject *obj;
|
||||
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
|
||||
SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths, obj);
|
||||
Py_INCREF(obj);
|
||||
return Py_BuildValue((char *)"");
|
||||
}
|
||||
static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
@ -29331,6 +29664,17 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"Display_ChangeMode", (PyCFunction) _wrap_Display_ChangeMode, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"Display_ResetMode", (PyCFunction) _wrap_Display_ResetMode, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"Display_swigregister", Display_swigregister, METH_VARARGS, NULL },
|
||||
{ (char *)"StandardPaths_Get", (PyCFunction) _wrap_StandardPaths_Get, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"StandardPaths_GetConfigDir", (PyCFunction) _wrap_StandardPaths_GetConfigDir, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"StandardPaths_GetUserConfigDir", (PyCFunction) _wrap_StandardPaths_GetUserConfigDir, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"StandardPaths_GetDataDir", (PyCFunction) _wrap_StandardPaths_GetDataDir, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"StandardPaths_GetLocalDataDir", (PyCFunction) _wrap_StandardPaths_GetLocalDataDir, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"StandardPaths_GetUserDataDir", (PyCFunction) _wrap_StandardPaths_GetUserDataDir, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction) _wrap_StandardPaths_GetUserLocalDataDir, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"StandardPaths_GetPluginsDir", (PyCFunction) _wrap_StandardPaths_GetPluginsDir, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"StandardPaths_SetInstallPrefix", (PyCFunction) _wrap_StandardPaths_SetInstallPrefix, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"StandardPaths_GetInstallPrefix", (PyCFunction) _wrap_StandardPaths_GetInstallPrefix, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"StandardPaths_swigregister", StandardPaths_swigregister, METH_VARARGS, NULL },
|
||||
{ NULL, NULL, 0, NULL }
|
||||
};
|
||||
|
||||
@ -29890,6 +30234,7 @@ static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtH
|
||||
static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxSingleInstanceChecker[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0, 0, 0, 0},{"_p_wxSingleInstanceChecker", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxStandardPaths[] = {{"_p_wxStandardPaths", 0, "wxStandardPaths *", 0, 0, 0, 0},{"_p_wxStandardPaths", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxFileTypeInfo[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0, 0, 0, 0},{"_p_wxFileTypeInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
static swig_type_info _swigt__p_wxTimer[] = {{"_p_wxTimer", 0, "wxTimer *", 0, 0, 0, 0},{"_p_wxTimer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
|
||||
@ -29977,6 +30322,7 @@ _swigt__p_wxEvtHandler,
|
||||
_swigt__p_wxRect,
|
||||
_swigt__p_char,
|
||||
_swigt__p_wxSingleInstanceChecker,
|
||||
_swigt__p_wxStandardPaths,
|
||||
_swigt__p_wxFileTypeInfo,
|
||||
_swigt__p_wxFrame,
|
||||
_swigt__p_wxTimer,
|
||||
|
@ -2612,7 +2612,7 @@ class TextEntryDialog(Dialog):
|
||||
"""
|
||||
__init__(self, Window parent, String message, String caption=GetTextFromUserPromptStr,
|
||||
String defaultValue=EmptyString,
|
||||
long style=wxOK|wxCANCEL|wxCENTRE, Point pos=DefaultPosition) -> TextEntryDialog
|
||||
long style=wxTextEntryDialogStyle, Point pos=DefaultPosition) -> TextEntryDialog
|
||||
|
||||
Constructor. Use ShowModal method to show the dialog.
|
||||
"""
|
||||
@ -2647,6 +2647,28 @@ class TextEntryDialogPtr(TextEntryDialog):
|
||||
self.__class__ = TextEntryDialog
|
||||
_windows_.TextEntryDialog_swigregister(TextEntryDialogPtr)
|
||||
|
||||
class PasswordEntryDialog(TextEntryDialog):
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxPasswordEntryDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, Window parent, String message, String caption=GetPasswordFromUserPromptStr,
|
||||
String value=EmptyString,
|
||||
long style=wxTextEntryDialogStyle, Point pos=DefaultPosition) -> PasswordEntryDialog
|
||||
"""
|
||||
newobj = _windows_.new_PasswordEntryDialog(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
|
||||
class PasswordEntryDialogPtr(PasswordEntryDialog):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = PasswordEntryDialog
|
||||
_windows_.PasswordEntryDialog_swigregister(PasswordEntryDialogPtr)
|
||||
GetPasswordFromUserPromptStr = cvar.GetPasswordFromUserPromptStr
|
||||
|
||||
class FontData(_core.Object):
|
||||
"""
|
||||
This class holds a variety of information related to font dialogs and
|
||||
@ -3774,6 +3796,10 @@ class PrintData(_core.Object):
|
||||
"""GetBin(self) -> int"""
|
||||
return _windows_.PrintData_GetBin(*args, **kwargs)
|
||||
|
||||
def GetPrintMode(*args, **kwargs):
|
||||
"""GetPrintMode(self) -> int"""
|
||||
return _windows_.PrintData_GetPrintMode(*args, **kwargs)
|
||||
|
||||
def SetNoCopies(*args, **kwargs):
|
||||
"""SetNoCopies(self, int v)"""
|
||||
return _windows_.PrintData_SetNoCopies(*args, **kwargs)
|
||||
@ -3814,6 +3840,19 @@ class PrintData(_core.Object):
|
||||
"""SetBin(self, int bin)"""
|
||||
return _windows_.PrintData_SetBin(*args, **kwargs)
|
||||
|
||||
def SetPrintMode(*args, **kwargs):
|
||||
"""SetPrintMode(self, int printMode)"""
|
||||
return _windows_.PrintData_SetPrintMode(*args, **kwargs)
|
||||
|
||||
def GetFilename(*args, **kwargs):
|
||||
"""GetFilename(self) -> String"""
|
||||
return _windows_.PrintData_GetFilename(*args, **kwargs)
|
||||
|
||||
def SetFilename(*args, **kwargs):
|
||||
"""SetFilename(self, String filename)"""
|
||||
return _windows_.PrintData_SetFilename(*args, **kwargs)
|
||||
|
||||
def __nonzero__(self): return self.Ok()
|
||||
def GetPrinterCommand(*args, **kwargs):
|
||||
"""GetPrinterCommand(self) -> String"""
|
||||
return _windows_.PrintData_GetPrinterCommand(*args, **kwargs)
|
||||
@ -3826,10 +3865,6 @@ class PrintData(_core.Object):
|
||||
"""GetPreviewCommand(self) -> String"""
|
||||
return _windows_.PrintData_GetPreviewCommand(*args, **kwargs)
|
||||
|
||||
def GetFilename(*args, **kwargs):
|
||||
"""GetFilename(self) -> String"""
|
||||
return _windows_.PrintData_GetFilename(*args, **kwargs)
|
||||
|
||||
def GetFontMetricPath(*args, **kwargs):
|
||||
"""GetFontMetricPath(self) -> String"""
|
||||
return _windows_.PrintData_GetFontMetricPath(*args, **kwargs)
|
||||
@ -3850,10 +3885,6 @@ class PrintData(_core.Object):
|
||||
"""GetPrinterTranslateY(self) -> long"""
|
||||
return _windows_.PrintData_GetPrinterTranslateY(*args, **kwargs)
|
||||
|
||||
def GetPrintMode(*args, **kwargs):
|
||||
"""GetPrintMode(self) -> int"""
|
||||
return _windows_.PrintData_GetPrintMode(*args, **kwargs)
|
||||
|
||||
def SetPrinterCommand(*args, **kwargs):
|
||||
"""SetPrinterCommand(self, String command)"""
|
||||
return _windows_.PrintData_SetPrinterCommand(*args, **kwargs)
|
||||
@ -3866,10 +3897,6 @@ class PrintData(_core.Object):
|
||||
"""SetPreviewCommand(self, String command)"""
|
||||
return _windows_.PrintData_SetPreviewCommand(*args, **kwargs)
|
||||
|
||||
def SetFilename(*args, **kwargs):
|
||||
"""SetFilename(self, String filename)"""
|
||||
return _windows_.PrintData_SetFilename(*args, **kwargs)
|
||||
|
||||
def SetFontMetricPath(*args, **kwargs):
|
||||
"""SetFontMetricPath(self, String path)"""
|
||||
return _windows_.PrintData_SetFontMetricPath(*args, **kwargs)
|
||||
@ -3898,19 +3925,6 @@ class PrintData(_core.Object):
|
||||
"""SetPrinterTranslation(self, long x, long y)"""
|
||||
return _windows_.PrintData_SetPrinterTranslation(*args, **kwargs)
|
||||
|
||||
def SetPrintMode(*args, **kwargs):
|
||||
"""SetPrintMode(self, int printMode)"""
|
||||
return _windows_.PrintData_SetPrintMode(*args, **kwargs)
|
||||
|
||||
def GetOutputStream(*args, **kwargs):
|
||||
"""GetOutputStream(self) -> OutputStream"""
|
||||
return _windows_.PrintData_GetOutputStream(*args, **kwargs)
|
||||
|
||||
def SetOutputStream(*args, **kwargs):
|
||||
"""SetOutputStream(self, OutputStream outputstream)"""
|
||||
return _windows_.PrintData_SetOutputStream(*args, **kwargs)
|
||||
|
||||
def __nonzero__(self): return self.Ok()
|
||||
|
||||
class PrintDataPtr(PrintData):
|
||||
def __init__(self, this):
|
||||
@ -4149,6 +4163,10 @@ class PrintDialogData(_core.Object):
|
||||
"""GetSetupDialog(self) -> bool"""
|
||||
return _windows_.PrintDialogData_GetSetupDialog(*args, **kwargs)
|
||||
|
||||
def SetSetupDialog(*args, **kwargs):
|
||||
"""SetSetupDialog(self, bool flag)"""
|
||||
return _windows_.PrintDialogData_SetSetupDialog(*args, **kwargs)
|
||||
|
||||
def SetFromPage(*args, **kwargs):
|
||||
"""SetFromPage(self, int v)"""
|
||||
return _windows_.PrintDialogData_SetFromPage(*args, **kwargs)
|
||||
@ -4185,10 +4203,6 @@ class PrintDialogData(_core.Object):
|
||||
"""SetPrintToFile(self, bool flag)"""
|
||||
return _windows_.PrintDialogData_SetPrintToFile(*args, **kwargs)
|
||||
|
||||
def SetSetupDialog(*args, **kwargs):
|
||||
"""SetSetupDialog(self, bool flag)"""
|
||||
return _windows_.PrintDialogData_SetSetupDialog(*args, **kwargs)
|
||||
|
||||
def EnablePrintToFile(*args, **kwargs):
|
||||
"""EnablePrintToFile(self, bool flag)"""
|
||||
return _windows_.PrintDialogData_EnablePrintToFile(*args, **kwargs)
|
||||
@ -4253,18 +4267,22 @@ class PrintDialog(Dialog):
|
||||
del newobj.thisown
|
||||
self._setOORInfo(self)
|
||||
|
||||
def ShowModal(*args, **kwargs):
|
||||
"""ShowModal(self) -> int"""
|
||||
return _windows_.PrintDialog_ShowModal(*args, **kwargs)
|
||||
|
||||
def GetPrintDialogData(*args, **kwargs):
|
||||
"""GetPrintDialogData(self) -> PrintDialogData"""
|
||||
return _windows_.PrintDialog_GetPrintDialogData(*args, **kwargs)
|
||||
|
||||
def GetPrintData(*args, **kwargs):
|
||||
"""GetPrintData(self) -> PrintData"""
|
||||
return _windows_.PrintDialog_GetPrintData(*args, **kwargs)
|
||||
|
||||
def GetPrintDC(*args, **kwargs):
|
||||
"""GetPrintDC(self) -> DC"""
|
||||
return _windows_.PrintDialog_GetPrintDC(*args, **kwargs)
|
||||
|
||||
def ShowModal(*args, **kwargs):
|
||||
"""ShowModal(self) -> int"""
|
||||
return _windows_.PrintDialog_ShowModal(*args, **kwargs)
|
||||
|
||||
|
||||
class PrintDialogPtr(PrintDialog):
|
||||
def __init__(self, this):
|
||||
@ -4292,28 +4310,28 @@ class Printer(_core.Object):
|
||||
except: pass
|
||||
|
||||
def CreateAbortWindow(*args, **kwargs):
|
||||
"""CreateAbortWindow(self, Window parent, Printout printout)"""
|
||||
"""CreateAbortWindow(self, Window parent, wxPrintout printout) -> Window"""
|
||||
return _windows_.Printer_CreateAbortWindow(*args, **kwargs)
|
||||
|
||||
def GetPrintDialogData(*args, **kwargs):
|
||||
"""GetPrintDialogData(self) -> PrintDialogData"""
|
||||
return _windows_.Printer_GetPrintDialogData(*args, **kwargs)
|
||||
def ReportError(*args, **kwargs):
|
||||
"""ReportError(self, Window parent, wxPrintout printout, String message)"""
|
||||
return _windows_.Printer_ReportError(*args, **kwargs)
|
||||
|
||||
def Setup(*args, **kwargs):
|
||||
"""Setup(self, Window parent) -> bool"""
|
||||
return _windows_.Printer_Setup(*args, **kwargs)
|
||||
|
||||
def Print(*args, **kwargs):
|
||||
"""Print(self, Window parent, Printout printout, int prompt=True) -> bool"""
|
||||
"""Print(self, Window parent, wxPrintout printout, bool prompt=True) -> bool"""
|
||||
return _windows_.Printer_Print(*args, **kwargs)
|
||||
|
||||
def PrintDialog(*args, **kwargs):
|
||||
"""PrintDialog(self, Window parent) -> DC"""
|
||||
return _windows_.Printer_PrintDialog(*args, **kwargs)
|
||||
|
||||
def ReportError(*args, **kwargs):
|
||||
"""ReportError(self, Window parent, Printout printout, String message)"""
|
||||
return _windows_.Printer_ReportError(*args, **kwargs)
|
||||
|
||||
def Setup(*args, **kwargs):
|
||||
"""Setup(self, Window parent) -> bool"""
|
||||
return _windows_.Printer_Setup(*args, **kwargs)
|
||||
def GetPrintDialogData(*args, **kwargs):
|
||||
"""GetPrintDialogData(self) -> PrintDialogData"""
|
||||
return _windows_.Printer_GetPrintDialogData(*args, **kwargs)
|
||||
|
||||
def GetAbort(*args, **kwargs):
|
||||
"""GetAbort(self) -> bool"""
|
||||
@ -4821,4 +4839,115 @@ class PyPreviewControlBarPtr(PyPreviewControlBar):
|
||||
self.__class__ = PyPreviewControlBar
|
||||
_windows_.PyPreviewControlBar_swigregister(PyPreviewControlBarPtr)
|
||||
|
||||
class PrintFactory(object):
|
||||
def __init__(self): raise RuntimeError, "No constructor defined"
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxPrintFactory instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def CreatePrinter(*args, **kwargs):
|
||||
"""CreatePrinter(self, PrintDialogData data) -> wxPrinterBase"""
|
||||
return _windows_.PrintFactory_CreatePrinter(*args, **kwargs)
|
||||
|
||||
def CreatePrintPreview(*args):
|
||||
"""
|
||||
CreatePrintPreview(self, wxPrintout preview, wxPrintout printout=None, PrintDialogData data=None) -> wxPrintPreviewBase
|
||||
CreatePrintPreview(self, wxPrintout preview, wxPrintout printout, PrintData data) -> wxPrintPreviewBase
|
||||
"""
|
||||
return _windows_.PrintFactory_CreatePrintPreview(*args)
|
||||
|
||||
def CreatePrintDialog(*args):
|
||||
"""
|
||||
CreatePrintDialog(self, Window parent, PrintDialogData data=None) -> wxPrintDialogBase
|
||||
CreatePrintDialog(self, Window parent, PrintData data) -> wxPrintDialogBase
|
||||
"""
|
||||
return _windows_.PrintFactory_CreatePrintDialog(*args)
|
||||
|
||||
def HasPrintSetupDialog(*args, **kwargs):
|
||||
"""HasPrintSetupDialog(self) -> bool"""
|
||||
return _windows_.PrintFactory_HasPrintSetupDialog(*args, **kwargs)
|
||||
|
||||
def CreatePrintSetupDialog(*args, **kwargs):
|
||||
"""CreatePrintSetupDialog(self, Window parent, PrintData data) -> Dialog"""
|
||||
return _windows_.PrintFactory_CreatePrintSetupDialog(*args, **kwargs)
|
||||
|
||||
def HasOwnPrintToFile(*args, **kwargs):
|
||||
"""HasOwnPrintToFile(self) -> bool"""
|
||||
return _windows_.PrintFactory_HasOwnPrintToFile(*args, **kwargs)
|
||||
|
||||
def HasPrinterLine(*args, **kwargs):
|
||||
"""HasPrinterLine(self) -> bool"""
|
||||
return _windows_.PrintFactory_HasPrinterLine(*args, **kwargs)
|
||||
|
||||
def CreatePrinterLine(*args, **kwargs):
|
||||
"""CreatePrinterLine(self) -> String"""
|
||||
return _windows_.PrintFactory_CreatePrinterLine(*args, **kwargs)
|
||||
|
||||
def HasStatusLine(*args, **kwargs):
|
||||
"""HasStatusLine(self) -> bool"""
|
||||
return _windows_.PrintFactory_HasStatusLine(*args, **kwargs)
|
||||
|
||||
def CreateStatusLine(*args, **kwargs):
|
||||
"""CreateStatusLine(self) -> String"""
|
||||
return _windows_.PrintFactory_CreateStatusLine(*args, **kwargs)
|
||||
|
||||
def CreatePrintNativeData(*args, **kwargs):
|
||||
"""CreatePrintNativeData(self) -> PrintNativeDataBase"""
|
||||
return _windows_.PrintFactory_CreatePrintNativeData(*args, **kwargs)
|
||||
|
||||
def SetPrintFactory(*args, **kwargs):
|
||||
"""SetPrintFactory(PrintFactory factory)"""
|
||||
return _windows_.PrintFactory_SetPrintFactory(*args, **kwargs)
|
||||
|
||||
SetPrintFactory = staticmethod(SetPrintFactory)
|
||||
def GetFactory(*args, **kwargs):
|
||||
"""GetFactory() -> PrintFactory"""
|
||||
return _windows_.PrintFactory_GetFactory(*args, **kwargs)
|
||||
|
||||
GetFactory = staticmethod(GetFactory)
|
||||
|
||||
class PrintFactoryPtr(PrintFactory):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = PrintFactory
|
||||
_windows_.PrintFactory_swigregister(PrintFactoryPtr)
|
||||
|
||||
def PrintFactory_SetPrintFactory(*args, **kwargs):
|
||||
"""PrintFactory_SetPrintFactory(PrintFactory factory)"""
|
||||
return _windows_.PrintFactory_SetPrintFactory(*args, **kwargs)
|
||||
|
||||
def PrintFactory_GetFactory(*args, **kwargs):
|
||||
"""PrintFactory_GetFactory() -> PrintFactory"""
|
||||
return _windows_.PrintFactory_GetFactory(*args, **kwargs)
|
||||
|
||||
class PrintNativeDataBase(_core.Object):
|
||||
def __init__(self): raise RuntimeError, "No constructor defined"
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxPrintNativeDataBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __del__(self, destroy=_windows_.delete_PrintNativeDataBase):
|
||||
"""__del__(self)"""
|
||||
try:
|
||||
if self.thisown: destroy(self)
|
||||
except: pass
|
||||
|
||||
def TransferTo(*args, **kwargs):
|
||||
"""TransferTo(self, PrintData data) -> bool"""
|
||||
return _windows_.PrintNativeDataBase_TransferTo(*args, **kwargs)
|
||||
|
||||
def TransferFrom(*args, **kwargs):
|
||||
"""TransferFrom(self, PrintData data) -> bool"""
|
||||
return _windows_.PrintNativeDataBase_TransferFrom(*args, **kwargs)
|
||||
|
||||
def Ok(*args, **kwargs):
|
||||
"""Ok(self) -> bool"""
|
||||
return _windows_.PrintNativeDataBase_Ok(*args, **kwargs)
|
||||
|
||||
m_ref = property(_windows_.PrintNativeDataBase_m_ref_get, _windows_.PrintNativeDataBase_m_ref_set)
|
||||
|
||||
class PrintNativeDataBasePtr(PrintNativeDataBase):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = PrintNativeDataBase
|
||||
_windows_.PrintNativeDataBase_swigregister(PrintNativeDataBasePtr)
|
||||
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
@ -2026,6 +2026,30 @@ class Grid(_windows.ScrolledWindow):
|
||||
"""GetGridCornerLabelWindow(self) -> Window"""
|
||||
return _grid.Grid_GetGridCornerLabelWindow(*args, **kwargs)
|
||||
|
||||
def SetScrollLineX(*args, **kwargs):
|
||||
"""SetScrollLineX(self, int x)"""
|
||||
return _grid.Grid_SetScrollLineX(*args, **kwargs)
|
||||
|
||||
def SetScrollLineY(*args, **kwargs):
|
||||
"""SetScrollLineY(self, int y)"""
|
||||
return _grid.Grid_SetScrollLineY(*args, **kwargs)
|
||||
|
||||
def GetScrollLineX(*args, **kwargs):
|
||||
"""GetScrollLineX(self) -> int"""
|
||||
return _grid.Grid_GetScrollLineX(*args, **kwargs)
|
||||
|
||||
def GetScrollLineY(*args, **kwargs):
|
||||
"""GetScrollLineY(self) -> int"""
|
||||
return _grid.Grid_GetScrollLineY(*args, **kwargs)
|
||||
|
||||
def GetScrollX(*args, **kwargs):
|
||||
"""GetScrollX(self, int x) -> int"""
|
||||
return _grid.Grid_GetScrollX(*args, **kwargs)
|
||||
|
||||
def GetScrollY(*args, **kwargs):
|
||||
"""GetScrollY(self, int y) -> int"""
|
||||
return _grid.Grid_GetScrollY(*args, **kwargs)
|
||||
|
||||
def GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
|
||||
|
File diff suppressed because one or more lines are too long
@ -1318,10 +1318,6 @@ class HtmlEasyPrinting(_core.Object):
|
||||
"""PrintText(self, String htmltext, String basepath=EmptyString)"""
|
||||
return _html.HtmlEasyPrinting_PrintText(*args, **kwargs)
|
||||
|
||||
def PrinterSetup(*args, **kwargs):
|
||||
"""PrinterSetup(self)"""
|
||||
return _html.HtmlEasyPrinting_PrinterSetup(*args, **kwargs)
|
||||
|
||||
def PageSetup(*args, **kwargs):
|
||||
"""PageSetup(self)"""
|
||||
return _html.HtmlEasyPrinting_PageSetup(*args, **kwargs)
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -535,10 +535,6 @@ class XmlResourceHandler(_core.Object):
|
||||
"""GetParentAsWindow(self) -> Window"""
|
||||
return _xrc.XmlResourceHandler_GetParentAsWindow(*args, **kwargs)
|
||||
|
||||
def GetInstanceAsWindow(*args, **kwargs):
|
||||
"""GetInstanceAsWindow(self) -> Window"""
|
||||
return _xrc.XmlResourceHandler_GetInstanceAsWindow(*args, **kwargs)
|
||||
|
||||
def IsOfClass(*args, **kwargs):
|
||||
"""IsOfClass(self, XmlNode node, String classname) -> bool"""
|
||||
return _xrc.XmlResourceHandler_IsOfClass(*args, **kwargs)
|
||||
|
@ -472,7 +472,7 @@ public:
|
||||
wxObject* GetParent() { return m_parent; }
|
||||
wxObject* GetInstance() { return m_instance; }
|
||||
wxWindow* GetParentAsWindow() { return m_parentAsWindow; }
|
||||
wxWindow* GetInstanceAsWindow() { return m_instanceAsWindow; }
|
||||
// wxWindow* GetInstanceAsWindow() { return m_instanceAsWindow; }
|
||||
|
||||
|
||||
// turn some protected methods into public via delegation
|
||||
@ -4252,34 +4252,6 @@ static PyObject *_wrap_XmlResourceHandler_GetParentAsWindow(PyObject *, PyObject
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_XmlResourceHandler_GetInstanceAsWindow(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ;
|
||||
wxWindow *result;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:XmlResourceHandler_GetInstanceAsWindow",kwnames,&obj0)) goto fail;
|
||||
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyXmlResourceHandler,
|
||||
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (wxWindow *)(arg1)->GetInstanceAsWindow();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
resultobj = wxPyMake_wxObject(result, 0);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_XmlResourceHandler_IsOfClass(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ;
|
||||
@ -5482,7 +5454,6 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"XmlResourceHandler_GetParent", (PyCFunction) _wrap_XmlResourceHandler_GetParent, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"XmlResourceHandler_GetInstance", (PyCFunction) _wrap_XmlResourceHandler_GetInstance, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"XmlResourceHandler_GetParentAsWindow", (PyCFunction) _wrap_XmlResourceHandler_GetParentAsWindow, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"XmlResourceHandler_GetInstanceAsWindow", (PyCFunction) _wrap_XmlResourceHandler_GetInstanceAsWindow, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"XmlResourceHandler_IsOfClass", (PyCFunction) _wrap_XmlResourceHandler_IsOfClass, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"XmlResourceHandler_GetNodeContent", (PyCFunction) _wrap_XmlResourceHandler_GetNodeContent, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
{ (char *)"XmlResourceHandler_HasParam", (PyCFunction) _wrap_XmlResourceHandler_HasParam, METH_VARARGS | METH_KEYWORDS, NULL },
|
||||
|
Loading…
Reference in New Issue
Block a user