reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -6397,6 +6397,22 @@ class PickerBase(_core.Control):
|
||||
"""
|
||||
return _controls_.PickerBase_GetTextCtrlProportion(*args, **kwargs)
|
||||
|
||||
def SetPickerCtrlProportion(*args, **kwargs):
|
||||
"""
|
||||
SetPickerCtrlProportion(self, int prop)
|
||||
|
||||
Sets the proportion value of the picker.
|
||||
"""
|
||||
return _controls_.PickerBase_SetPickerCtrlProportion(*args, **kwargs)
|
||||
|
||||
def GetPickerCtrlProportion(*args, **kwargs):
|
||||
"""
|
||||
GetPickerCtrlProportion(self) -> int
|
||||
|
||||
Gets the proportion value of the picker.
|
||||
"""
|
||||
return _controls_.PickerBase_GetPickerCtrlProportion(*args, **kwargs)
|
||||
|
||||
def IsTextCtrlGrowable(*args, **kwargs):
|
||||
"""IsTextCtrlGrowable(self) -> bool"""
|
||||
return _controls_.PickerBase_IsTextCtrlGrowable(*args, **kwargs)
|
||||
|
@@ -42466,6 +42466,72 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_PickerBase_SetPickerCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxPickerBase *arg1 = (wxPickerBase *) 0 ;
|
||||
int arg2 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
int val2 ;
|
||||
int ecode2 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "prop", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames,&obj0,&obj1)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxPickerBase * >(argp1);
|
||||
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
||||
if (!SWIG_IsOK(ecode2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
|
||||
}
|
||||
arg2 = static_cast< int >(val2);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->SetPickerCtrlProportion(arg2);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_Py_Void();
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_PickerBase_GetPickerCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxPickerBase *arg1 = (wxPickerBase *) 0 ;
|
||||
int result;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
PyObject *swig_obj[1] ;
|
||||
|
||||
if (!args) SWIG_fail;
|
||||
swig_obj[0] = args;
|
||||
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxPickerBase * >(argp1);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (int)((wxPickerBase const *)arg1)->GetPickerCtrlProportion();
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_From_int(static_cast< int >(result));
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_PickerBase_IsTextCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxPickerBase *arg1 = (wxPickerBase *) 0 ;
|
||||
@@ -46000,6 +46066,8 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"PickerBase_GetInternalMargin", (PyCFunction)_wrap_PickerBase_GetInternalMargin, METH_O, NULL},
|
||||
{ (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction) _wrap_PickerBase_SetTextCtrlProportion, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction)_wrap_PickerBase_GetTextCtrlProportion, METH_O, NULL},
|
||||
{ (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction) _wrap_PickerBase_SetPickerCtrlProportion, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction)_wrap_PickerBase_GetPickerCtrlProportion, METH_O, NULL},
|
||||
{ (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction)_wrap_PickerBase_IsTextCtrlGrowable, METH_O, NULL},
|
||||
{ (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction) _wrap_PickerBase_SetTextCtrlGrowable, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction)_wrap_PickerBase_IsPickerCtrlGrowable, METH_O, NULL},
|
||||
|
@@ -200,6 +200,8 @@ ID_HELP_CONTENTS = _core_.ID_HELP_CONTENTS
|
||||
ID_HELP_COMMANDS = _core_.ID_HELP_COMMANDS
|
||||
ID_HELP_PROCEDURES = _core_.ID_HELP_PROCEDURES
|
||||
ID_HELP_CONTEXT = _core_.ID_HELP_CONTEXT
|
||||
ID_HELP_INDEX = _core_.ID_HELP_INDEX
|
||||
ID_HELP_SEARCH = _core_.ID_HELP_SEARCH
|
||||
ID_CLOSE_ALL = _core_.ID_CLOSE_ALL
|
||||
ID_PREFERENCES = _core_.ID_PREFERENCES
|
||||
ID_CUT = _core_.ID_CUT
|
||||
@@ -844,6 +846,14 @@ class Size(object):
|
||||
"""
|
||||
return _core_.Size_DecTo(*args, **kwargs)
|
||||
|
||||
def Scale(*args, **kwargs):
|
||||
"""
|
||||
Scale(self, float xscale, float yscale)
|
||||
|
||||
Scales the dimensions of this object by the given factors.
|
||||
"""
|
||||
return _core_.Size_Scale(*args, **kwargs)
|
||||
|
||||
def Set(*args, **kwargs):
|
||||
"""
|
||||
Set(self, int w, int h)
|
||||
@@ -8277,39 +8287,6 @@ class Window(EvtHandler):
|
||||
"""
|
||||
return _core_.Window_AcceptsFocusFromKeyboard(*args, **kwargs)
|
||||
|
||||
def GetDefaultItem(*args, **kwargs):
|
||||
"""
|
||||
GetDefaultItem(self) -> Window
|
||||
|
||||
Get the default child of this parent, i.e. the one which is activated
|
||||
by pressing <Enter> such as the OK button on a wx.Dialog.
|
||||
"""
|
||||
return _core_.Window_GetDefaultItem(*args, **kwargs)
|
||||
|
||||
def SetDefaultItem(*args, **kwargs):
|
||||
"""
|
||||
SetDefaultItem(self, Window child) -> Window
|
||||
|
||||
Set this child as default, return the old default.
|
||||
"""
|
||||
return _core_.Window_SetDefaultItem(*args, **kwargs)
|
||||
|
||||
def SetTmpDefaultItem(*args, **kwargs):
|
||||
"""
|
||||
SetTmpDefaultItem(self, Window win)
|
||||
|
||||
Set this child as temporary default
|
||||
"""
|
||||
return _core_.Window_SetTmpDefaultItem(*args, **kwargs)
|
||||
|
||||
def GetTmpDefaultItem(*args, **kwargs):
|
||||
"""
|
||||
GetTmpDefaultItem(self) -> Window
|
||||
|
||||
Return the temporary default item, which can be None.
|
||||
"""
|
||||
return _core_.Window_GetTmpDefaultItem(*args, **kwargs)
|
||||
|
||||
def Navigate(*args, **kwargs):
|
||||
"""
|
||||
Navigate(self, int flags=NavigationKeyEvent.IsForward) -> bool
|
||||
@@ -9173,6 +9150,10 @@ class Window(EvtHandler):
|
||||
"""
|
||||
return _core_.Window_PopupMenu(*args, **kwargs)
|
||||
|
||||
def HasMultiplePages(*args, **kwargs):
|
||||
"""HasMultiplePages(self) -> bool"""
|
||||
return _core_.Window_HasMultiplePages(*args, **kwargs)
|
||||
|
||||
def GetHandle(*args, **kwargs):
|
||||
"""
|
||||
GetHandle(self) -> long
|
||||
@@ -10399,6 +10380,23 @@ class Control(Window):
|
||||
"""
|
||||
return _core_.Control_Create(*args, **kwargs)
|
||||
|
||||
def GetAlignment(*args, **kwargs):
|
||||
"""
|
||||
GetAlignment(self) -> int
|
||||
|
||||
Get the control alignment (left/right/centre, top/bottom/centre)
|
||||
"""
|
||||
return _core_.Control_GetAlignment(*args, **kwargs)
|
||||
|
||||
def GetLabelText(*args):
|
||||
"""
|
||||
GetLabelText(self, String label) -> String
|
||||
GetLabelText(self) -> String
|
||||
|
||||
Get just the text of the label, without mnemonic characters ('&')
|
||||
"""
|
||||
return _core_.Control_GetLabelText(*args)
|
||||
|
||||
def Command(*args, **kwargs):
|
||||
"""
|
||||
Command(self, CommandEvent event)
|
||||
|
@@ -2978,14 +2978,9 @@ SWIGINTERN bool wxSize___ne__(wxSize *self,PyObject *other){
|
||||
}
|
||||
return self->operator!=(*obj);
|
||||
}
|
||||
SWIGINTERN PyObject *wxSize_Get(wxSize *self){
|
||||
wxPyBlock_t blocked = wxPyBeginBlockThreads();
|
||||
PyObject* tup = PyTuple_New(2);
|
||||
PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
|
||||
PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
|
||||
wxPyEndBlockThreads(blocked);
|
||||
return tup;
|
||||
}
|
||||
|
||||
#include <float.h>
|
||||
|
||||
|
||||
SWIGINTERN int
|
||||
SWIG_AsVal_double (PyObject *obj, double* val)
|
||||
@@ -2998,6 +2993,30 @@ SWIG_AsVal_double (PyObject *obj, double* val)
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN int
|
||||
SWIG_AsVal_float (PyObject * obj, float *val)
|
||||
{
|
||||
double v;
|
||||
int res = SWIG_AsVal_double (obj, &v);
|
||||
if (SWIG_IsOK(res)) {
|
||||
if ((v < -FLT_MAX || v > FLT_MAX)) {
|
||||
return SWIG_OverflowError;
|
||||
} else {
|
||||
if (val) *val = static_cast< float >(v);
|
||||
}
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
SWIGINTERN PyObject *wxSize_Get(wxSize *self){
|
||||
wxPyBlock_t blocked = wxPyBeginBlockThreads();
|
||||
PyObject* tup = PyTuple_New(2);
|
||||
PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
|
||||
PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
|
||||
wxPyEndBlockThreads(blocked);
|
||||
return tup;
|
||||
}
|
||||
|
||||
#define SWIG_From_double PyFloat_FromDouble
|
||||
|
||||
SWIGINTERN bool wxRealPoint___eq__(wxRealPoint *self,PyObject *other){
|
||||
@@ -3965,25 +3984,6 @@ SWIGINTERN wxSizerItem *new_wxSizerItem(wxSizer *sizer,int proportion,int flag,i
|
||||
return new wxSizerItem(sizer, proportion, flag, border, data);
|
||||
}
|
||||
|
||||
#include <float.h>
|
||||
|
||||
|
||||
SWIGINTERN int
|
||||
SWIG_AsVal_float (PyObject * obj, float *val)
|
||||
{
|
||||
double v;
|
||||
int res = SWIG_AsVal_double (obj, &v);
|
||||
if (SWIG_IsOK(res)) {
|
||||
if ((v < -FLT_MAX || v > FLT_MAX)) {
|
||||
return SWIG_OverflowError;
|
||||
} else {
|
||||
if (val) *val = static_cast< float >(v);
|
||||
}
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERNINLINE PyObject *
|
||||
SWIG_From_float (float value)
|
||||
{
|
||||
@@ -4846,6 +4846,53 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Size_Scale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxSize *arg1 = (wxSize *) 0 ;
|
||||
float arg2 ;
|
||||
float arg3 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
float val2 ;
|
||||
int ecode2 = 0 ;
|
||||
float val3 ;
|
||||
int ecode3 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "xscale",(char *) "yscale", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Size_Scale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSize, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Size_Scale" "', expected argument " "1"" of type '" "wxSize *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxSize * >(argp1);
|
||||
ecode2 = SWIG_AsVal_float(obj1, &val2);
|
||||
if (!SWIG_IsOK(ecode2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Size_Scale" "', expected argument " "2"" of type '" "float""'");
|
||||
}
|
||||
arg2 = static_cast< float >(val2);
|
||||
ecode3 = SWIG_AsVal_float(obj2, &val3);
|
||||
if (!SWIG_IsOK(ecode3)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Size_Scale" "', expected argument " "3"" of type '" "float""'");
|
||||
}
|
||||
arg3 = static_cast< float >(val3);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->Scale(arg2,arg3);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_Py_Void();
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Size_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxSize *arg1 = (wxSize *) 0 ;
|
||||
@@ -32836,145 +32883,6 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Window_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxWindow *arg1 = (wxWindow *) 0 ;
|
||||
wxWindow *result = 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
PyObject *swig_obj[1] ;
|
||||
|
||||
if (!args) SWIG_fail;
|
||||
swig_obj[0] = args;
|
||||
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Window_GetDefaultItem" "', expected argument " "1"" of type '" "wxWindow const *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxWindow * >(argp1);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (wxWindow *)((wxWindow const *)arg1)->GetDefaultItem();
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
resultobj = wxPyMake_wxObject(result, 0);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Window_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxWindow *arg1 = (wxWindow *) 0 ;
|
||||
wxWindow *arg2 = (wxWindow *) 0 ;
|
||||
wxWindow *result = 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
void *argp2 = 0 ;
|
||||
int res2 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "child", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Window_SetDefaultItem" "', expected argument " "1"" of type '" "wxWindow *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxWindow * >(argp1);
|
||||
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
|
||||
if (!SWIG_IsOK(res2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Window_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
|
||||
}
|
||||
arg2 = reinterpret_cast< wxWindow * >(argp2);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
resultobj = wxPyMake_wxObject(result, 0);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Window_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxWindow *arg1 = (wxWindow *) 0 ;
|
||||
wxWindow *arg2 = (wxWindow *) 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
void *argp2 = 0 ;
|
||||
int res2 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "win", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Window_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxWindow *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxWindow * >(argp1);
|
||||
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
|
||||
if (!SWIG_IsOK(res2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Window_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
|
||||
}
|
||||
arg2 = reinterpret_cast< wxWindow * >(argp2);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->SetTmpDefaultItem(arg2);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_Py_Void();
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Window_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxWindow *arg1 = (wxWindow *) 0 ;
|
||||
wxWindow *result = 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
PyObject *swig_obj[1] ;
|
||||
|
||||
if (!args) SWIG_fail;
|
||||
swig_obj[0] = args;
|
||||
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Window_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxWindow const *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxWindow * >(argp1);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (wxWindow *)((wxWindow const *)arg1)->GetTmpDefaultItem();
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
resultobj = wxPyMake_wxObject(result, 0);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Window_Navigate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxWindow *arg1 = (wxWindow *) 0 ;
|
||||
@@ -36255,6 +36163,36 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Window_HasMultiplePages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxWindow *arg1 = (wxWindow *) 0 ;
|
||||
bool result;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
PyObject *swig_obj[1] ;
|
||||
|
||||
if (!args) SWIG_fail;
|
||||
swig_obj[0] = args;
|
||||
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Window_HasMultiplePages" "', expected argument " "1"" of type '" "wxWindow const *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxWindow * >(argp1);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (bool)((wxWindow const *)arg1)->HasMultiplePages();
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Window_GetHandle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxWindow *arg1 = (wxWindow *) 0 ;
|
||||
@@ -44088,6 +44026,133 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Control_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxControl *arg1 = (wxControl *) 0 ;
|
||||
int result;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
PyObject *swig_obj[1] ;
|
||||
|
||||
if (!args) SWIG_fail;
|
||||
swig_obj[0] = args;
|
||||
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxControl, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Control_GetAlignment" "', expected argument " "1"" of type '" "wxControl const *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxControl * >(argp1);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (int)((wxControl const *)arg1)->GetAlignment();
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_From_int(static_cast< int >(result));
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Control_GetLabelText__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
|
||||
PyObject *resultobj = 0;
|
||||
wxString *arg1 = 0 ;
|
||||
wxString result;
|
||||
bool temp1 = false ;
|
||||
|
||||
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
|
||||
{
|
||||
arg1 = wxString_in_helper(swig_obj[0]);
|
||||
if (arg1 == NULL) SWIG_fail;
|
||||
temp1 = true;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxControl::GetLabelText((wxString const &)*arg1);
|
||||
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
|
||||
}
|
||||
{
|
||||
if (temp1)
|
||||
delete arg1;
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
{
|
||||
if (temp1)
|
||||
delete arg1;
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Control_GetLabelText__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
|
||||
PyObject *resultobj = 0;
|
||||
wxControl *arg1 = (wxControl *) 0 ;
|
||||
wxString result;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
|
||||
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxControl, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Control_GetLabelText" "', expected argument " "1"" of type '" "wxControl const *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxControl * >(argp1);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = ((wxControl const *)arg1)->GetLabelText();
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Control_GetLabelText(PyObject *self, PyObject *args) {
|
||||
int argc;
|
||||
PyObject *argv[2];
|
||||
|
||||
if (!(argc = SWIG_Python_UnpackTuple(args,"Control_GetLabelText",0,1,argv))) SWIG_fail;
|
||||
--argc;
|
||||
if (argc == 1) {
|
||||
int _v = 0;
|
||||
{
|
||||
{
|
||||
_v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
|
||||
}
|
||||
}
|
||||
if (!_v) goto check_1;
|
||||
return _wrap_Control_GetLabelText__SWIG_0(self, argc, argv);
|
||||
}
|
||||
check_1:
|
||||
|
||||
if (argc == 1) {
|
||||
return _wrap_Control_GetLabelText__SWIG_1(self, argc, argv);
|
||||
}
|
||||
|
||||
fail:
|
||||
SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'Control_GetLabelText'");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Control_Command(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxControl *arg1 = (wxControl *) 0 ;
|
||||
@@ -52770,6 +52835,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"Size___sub__", (PyCFunction) _wrap_Size___sub__, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Size_IncTo", (PyCFunction) _wrap_Size_IncTo, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Size_DecTo", (PyCFunction) _wrap_Size_DecTo, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Size_Scale", (PyCFunction) _wrap_Size_Scale, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Size_Set", (PyCFunction) _wrap_Size_Set, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Size_SetWidth", (PyCFunction) _wrap_Size_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Size_SetHeight", (PyCFunction) _wrap_Size_SetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
@@ -53680,10 +53746,6 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"Window_FindFocus", (PyCFunction)_wrap_Window_FindFocus, METH_NOARGS, NULL},
|
||||
{ (char *)"Window_AcceptsFocus", (PyCFunction)_wrap_Window_AcceptsFocus, METH_O, NULL},
|
||||
{ (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction)_wrap_Window_AcceptsFocusFromKeyboard, METH_O, NULL},
|
||||
{ (char *)"Window_GetDefaultItem", (PyCFunction)_wrap_Window_GetDefaultItem, METH_O, NULL},
|
||||
{ (char *)"Window_SetDefaultItem", (PyCFunction) _wrap_Window_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Window_SetTmpDefaultItem", (PyCFunction) _wrap_Window_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Window_GetTmpDefaultItem", (PyCFunction)_wrap_Window_GetTmpDefaultItem, METH_O, NULL},
|
||||
{ (char *)"Window_Navigate", (PyCFunction) _wrap_Window_Navigate, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Window_MoveAfterInTabOrder", (PyCFunction) _wrap_Window_MoveAfterInTabOrder, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Window_MoveBeforeInTabOrder", (PyCFunction) _wrap_Window_MoveBeforeInTabOrder, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
@@ -53769,6 +53831,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"Window_UpdateWindowUI", (PyCFunction) _wrap_Window_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Window_PopupMenuXY", (PyCFunction) _wrap_Window_PopupMenuXY, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Window_PopupMenu", (PyCFunction) _wrap_Window_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Window_HasMultiplePages", (PyCFunction)_wrap_Window_HasMultiplePages, METH_O, NULL},
|
||||
{ (char *)"Window_GetHandle", (PyCFunction)_wrap_Window_GetHandle, METH_O, NULL},
|
||||
{ (char *)"Window_AssociateHandle", (PyCFunction) _wrap_Window_AssociateHandle, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Window_DissociateHandle", (PyCFunction)_wrap_Window_DissociateHandle, METH_O, NULL},
|
||||
@@ -53965,6 +54028,8 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"new_Control", (PyCFunction) _wrap_new_Control, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"new_PreControl", (PyCFunction)_wrap_new_PreControl, METH_NOARGS, NULL},
|
||||
{ (char *)"Control_Create", (PyCFunction) _wrap_Control_Create, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Control_GetAlignment", (PyCFunction)_wrap_Control_GetAlignment, METH_O, NULL},
|
||||
{ (char *)"Control_GetLabelText", _wrap_Control_GetLabelText, METH_VARARGS, NULL},
|
||||
{ (char *)"Control_Command", (PyCFunction) _wrap_Control_Command, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Control_GetLabel", (PyCFunction)_wrap_Control_GetLabel, METH_O, NULL},
|
||||
{ (char *)"Control_GetClassDefaultAttributes", (PyCFunction) _wrap_Control_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
@@ -55896,6 +55961,8 @@ SWIGEXPORT void SWIG_init(void) {
|
||||
SWIG_Python_SetConstant(d, "ID_HELP_COMMANDS",SWIG_From_int(static_cast< int >(wxID_HELP_COMMANDS)));
|
||||
SWIG_Python_SetConstant(d, "ID_HELP_PROCEDURES",SWIG_From_int(static_cast< int >(wxID_HELP_PROCEDURES)));
|
||||
SWIG_Python_SetConstant(d, "ID_HELP_CONTEXT",SWIG_From_int(static_cast< int >(wxID_HELP_CONTEXT)));
|
||||
SWIG_Python_SetConstant(d, "ID_HELP_INDEX",SWIG_From_int(static_cast< int >(wxID_HELP_INDEX)));
|
||||
SWIG_Python_SetConstant(d, "ID_HELP_SEARCH",SWIG_From_int(static_cast< int >(wxID_HELP_SEARCH)));
|
||||
SWIG_Python_SetConstant(d, "ID_CLOSE_ALL",SWIG_From_int(static_cast< int >(wxID_CLOSE_ALL)));
|
||||
SWIG_Python_SetConstant(d, "ID_PREFERENCES",SWIG_From_int(static_cast< int >(wxID_PREFERENCES)));
|
||||
SWIG_Python_SetConstant(d, "ID_CUT",SWIG_From_int(static_cast< int >(wxID_CUT)));
|
||||
|
@@ -1299,6 +1299,16 @@ class Log(object):
|
||||
return _misc_.Log_DontCreateOnDemand(*args, **kwargs)
|
||||
|
||||
DontCreateOnDemand = staticmethod(DontCreateOnDemand)
|
||||
def SetRepetitionCounting(*args, **kwargs):
|
||||
"""SetRepetitionCounting(bool bRepetCounting=True)"""
|
||||
return _misc_.Log_SetRepetitionCounting(*args, **kwargs)
|
||||
|
||||
SetRepetitionCounting = staticmethod(SetRepetitionCounting)
|
||||
def GetRepetitionCounting(*args, **kwargs):
|
||||
"""GetRepetitionCounting() -> bool"""
|
||||
return _misc_.Log_GetRepetitionCounting(*args, **kwargs)
|
||||
|
||||
GetRepetitionCounting = staticmethod(GetRepetitionCounting)
|
||||
def SetTraceMask(*args, **kwargs):
|
||||
"""SetTraceMask(TraceMask ulMask)"""
|
||||
return _misc_.Log_SetTraceMask(*args, **kwargs)
|
||||
@@ -1411,6 +1421,14 @@ def Log_DontCreateOnDemand(*args):
|
||||
"""Log_DontCreateOnDemand()"""
|
||||
return _misc_.Log_DontCreateOnDemand(*args)
|
||||
|
||||
def Log_SetRepetitionCounting(*args, **kwargs):
|
||||
"""Log_SetRepetitionCounting(bool bRepetCounting=True)"""
|
||||
return _misc_.Log_SetRepetitionCounting(*args, **kwargs)
|
||||
|
||||
def Log_GetRepetitionCounting(*args):
|
||||
"""Log_GetRepetitionCounting() -> bool"""
|
||||
return _misc_.Log_GetRepetitionCounting(*args)
|
||||
|
||||
def Log_SetTraceMask(*args, **kwargs):
|
||||
"""Log_SetTraceMask(TraceMask ulMask)"""
|
||||
return _misc_.Log_SetTraceMask(*args, **kwargs)
|
||||
|
@@ -2552,91 +2552,90 @@ SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags)
|
||||
#define SWIGTYPE_p_wxLogTextCtrl swig_types[86]
|
||||
#define SWIGTYPE_p_wxLogWindow swig_types[87]
|
||||
#define SWIGTYPE_p_wxMaximizeEvent swig_types[88]
|
||||
#define SWIGTYPE_p_wxMemorySize swig_types[89]
|
||||
#define SWIGTYPE_p_wxMenu swig_types[90]
|
||||
#define SWIGTYPE_p_wxMenuBar swig_types[91]
|
||||
#define SWIGTYPE_p_wxMenuEvent swig_types[92]
|
||||
#define SWIGTYPE_p_wxMenuItem swig_types[93]
|
||||
#define SWIGTYPE_p_wxMetafile swig_types[94]
|
||||
#define SWIGTYPE_p_wxMetafileDataObject swig_types[95]
|
||||
#define SWIGTYPE_p_wxMimeTypesManager swig_types[96]
|
||||
#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[97]
|
||||
#define SWIGTYPE_p_wxMouseEvent swig_types[98]
|
||||
#define SWIGTYPE_p_wxMouseState swig_types[99]
|
||||
#define SWIGTYPE_p_wxMoveEvent swig_types[100]
|
||||
#define SWIGTYPE_p_wxMutexGuiLocker swig_types[101]
|
||||
#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[102]
|
||||
#define SWIGTYPE_p_wxNcPaintEvent swig_types[103]
|
||||
#define SWIGTYPE_p_wxNotifyEvent swig_types[104]
|
||||
#define SWIGTYPE_p_wxObject swig_types[105]
|
||||
#define SWIGTYPE_p_wxOutputStream swig_types[106]
|
||||
#define SWIGTYPE_p_wxPCXHandler swig_types[107]
|
||||
#define SWIGTYPE_p_wxPNGHandler swig_types[108]
|
||||
#define SWIGTYPE_p_wxPNMHandler swig_types[109]
|
||||
#define SWIGTYPE_p_wxPaintEvent swig_types[110]
|
||||
#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[111]
|
||||
#define SWIGTYPE_p_wxPaperSize swig_types[112]
|
||||
#define SWIGTYPE_p_wxPoint swig_types[113]
|
||||
#define SWIGTYPE_p_wxPowerEvent swig_types[114]
|
||||
#define SWIGTYPE_p_wxProcessEvent swig_types[115]
|
||||
#define SWIGTYPE_p_wxPyApp swig_types[116]
|
||||
#define SWIGTYPE_p_wxPyArtProvider swig_types[117]
|
||||
#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[118]
|
||||
#define SWIGTYPE_p_wxPyCommandEvent swig_types[119]
|
||||
#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[120]
|
||||
#define SWIGTYPE_p_wxPyDropSource swig_types[121]
|
||||
#define SWIGTYPE_p_wxPyDropTarget swig_types[122]
|
||||
#define SWIGTYPE_p_wxPyEvent swig_types[123]
|
||||
#define SWIGTYPE_p_wxPyFileDropTarget swig_types[124]
|
||||
#define SWIGTYPE_p_wxPyImageHandler swig_types[125]
|
||||
#define SWIGTYPE_p_wxPyLog swig_types[126]
|
||||
#define SWIGTYPE_p_wxPyProcess swig_types[127]
|
||||
#define SWIGTYPE_p_wxPySizer swig_types[128]
|
||||
#define SWIGTYPE_p_wxPyTextDataObject swig_types[129]
|
||||
#define SWIGTYPE_p_wxPyTextDropTarget swig_types[130]
|
||||
#define SWIGTYPE_p_wxPyTimer swig_types[131]
|
||||
#define SWIGTYPE_p_wxPyTipProvider swig_types[132]
|
||||
#define SWIGTYPE_p_wxPyValidator swig_types[133]
|
||||
#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[134]
|
||||
#define SWIGTYPE_p_wxRect swig_types[135]
|
||||
#define SWIGTYPE_p_wxScrollEvent swig_types[136]
|
||||
#define SWIGTYPE_p_wxScrollWinEvent swig_types[137]
|
||||
#define SWIGTYPE_p_wxSetCursorEvent swig_types[138]
|
||||
#define SWIGTYPE_p_wxShowEvent swig_types[139]
|
||||
#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[140]
|
||||
#define SWIGTYPE_p_wxSize swig_types[141]
|
||||
#define SWIGTYPE_p_wxSizeEvent swig_types[142]
|
||||
#define SWIGTYPE_p_wxSizer swig_types[143]
|
||||
#define SWIGTYPE_p_wxSizerItem swig_types[144]
|
||||
#define SWIGTYPE_p_wxSound swig_types[145]
|
||||
#define SWIGTYPE_p_wxStandardPaths swig_types[146]
|
||||
#define SWIGTYPE_p_wxStaticBoxSizer swig_types[147]
|
||||
#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148]
|
||||
#define SWIGTYPE_p_wxStopWatch swig_types[149]
|
||||
#define SWIGTYPE_p_wxString swig_types[150]
|
||||
#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[151]
|
||||
#define SWIGTYPE_p_wxSystemOptions swig_types[152]
|
||||
#define SWIGTYPE_p_wxSystemSettings swig_types[153]
|
||||
#define SWIGTYPE_p_wxTIFFHandler swig_types[154]
|
||||
#define SWIGTYPE_p_wxTextCtrl swig_types[155]
|
||||
#define SWIGTYPE_p_wxTextDataObject swig_types[156]
|
||||
#define SWIGTYPE_p_wxTimeSpan swig_types[157]
|
||||
#define SWIGTYPE_p_wxTimer swig_types[158]
|
||||
#define SWIGTYPE_p_wxTimerEvent swig_types[159]
|
||||
#define SWIGTYPE_p_wxTimerRunner swig_types[160]
|
||||
#define SWIGTYPE_p_wxTipProvider swig_types[161]
|
||||
#define SWIGTYPE_p_wxToolTip swig_types[162]
|
||||
#define SWIGTYPE_p_wxURLDataObject swig_types[163]
|
||||
#define SWIGTYPE_p_wxUpdateUIEvent swig_types[164]
|
||||
#define SWIGTYPE_p_wxValidator swig_types[165]
|
||||
#define SWIGTYPE_p_wxVideoMode swig_types[166]
|
||||
#define SWIGTYPE_p_wxWindow swig_types[167]
|
||||
#define SWIGTYPE_p_wxWindowCreateEvent swig_types[168]
|
||||
#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[169]
|
||||
#define SWIGTYPE_p_wxWindowDisabler swig_types[170]
|
||||
#define SWIGTYPE_p_wxXPMHandler swig_types[171]
|
||||
static swig_type_info *swig_types[173];
|
||||
static swig_module_info swig_module = {swig_types, 172, 0, 0, 0, 0};
|
||||
#define SWIGTYPE_p_wxMenu swig_types[89]
|
||||
#define SWIGTYPE_p_wxMenuBar swig_types[90]
|
||||
#define SWIGTYPE_p_wxMenuEvent swig_types[91]
|
||||
#define SWIGTYPE_p_wxMenuItem swig_types[92]
|
||||
#define SWIGTYPE_p_wxMetafile swig_types[93]
|
||||
#define SWIGTYPE_p_wxMetafileDataObject swig_types[94]
|
||||
#define SWIGTYPE_p_wxMimeTypesManager swig_types[95]
|
||||
#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[96]
|
||||
#define SWIGTYPE_p_wxMouseEvent swig_types[97]
|
||||
#define SWIGTYPE_p_wxMouseState swig_types[98]
|
||||
#define SWIGTYPE_p_wxMoveEvent swig_types[99]
|
||||
#define SWIGTYPE_p_wxMutexGuiLocker swig_types[100]
|
||||
#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[101]
|
||||
#define SWIGTYPE_p_wxNcPaintEvent swig_types[102]
|
||||
#define SWIGTYPE_p_wxNotifyEvent swig_types[103]
|
||||
#define SWIGTYPE_p_wxObject swig_types[104]
|
||||
#define SWIGTYPE_p_wxOutputStream swig_types[105]
|
||||
#define SWIGTYPE_p_wxPCXHandler swig_types[106]
|
||||
#define SWIGTYPE_p_wxPNGHandler swig_types[107]
|
||||
#define SWIGTYPE_p_wxPNMHandler swig_types[108]
|
||||
#define SWIGTYPE_p_wxPaintEvent swig_types[109]
|
||||
#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[110]
|
||||
#define SWIGTYPE_p_wxPaperSize swig_types[111]
|
||||
#define SWIGTYPE_p_wxPoint swig_types[112]
|
||||
#define SWIGTYPE_p_wxPowerEvent swig_types[113]
|
||||
#define SWIGTYPE_p_wxProcessEvent swig_types[114]
|
||||
#define SWIGTYPE_p_wxPyApp swig_types[115]
|
||||
#define SWIGTYPE_p_wxPyArtProvider swig_types[116]
|
||||
#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[117]
|
||||
#define SWIGTYPE_p_wxPyCommandEvent swig_types[118]
|
||||
#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[119]
|
||||
#define SWIGTYPE_p_wxPyDropSource swig_types[120]
|
||||
#define SWIGTYPE_p_wxPyDropTarget swig_types[121]
|
||||
#define SWIGTYPE_p_wxPyEvent swig_types[122]
|
||||
#define SWIGTYPE_p_wxPyFileDropTarget swig_types[123]
|
||||
#define SWIGTYPE_p_wxPyImageHandler swig_types[124]
|
||||
#define SWIGTYPE_p_wxPyLog swig_types[125]
|
||||
#define SWIGTYPE_p_wxPyProcess swig_types[126]
|
||||
#define SWIGTYPE_p_wxPySizer swig_types[127]
|
||||
#define SWIGTYPE_p_wxPyTextDataObject swig_types[128]
|
||||
#define SWIGTYPE_p_wxPyTextDropTarget swig_types[129]
|
||||
#define SWIGTYPE_p_wxPyTimer swig_types[130]
|
||||
#define SWIGTYPE_p_wxPyTipProvider swig_types[131]
|
||||
#define SWIGTYPE_p_wxPyValidator swig_types[132]
|
||||
#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[133]
|
||||
#define SWIGTYPE_p_wxRect swig_types[134]
|
||||
#define SWIGTYPE_p_wxScrollEvent swig_types[135]
|
||||
#define SWIGTYPE_p_wxScrollWinEvent swig_types[136]
|
||||
#define SWIGTYPE_p_wxSetCursorEvent swig_types[137]
|
||||
#define SWIGTYPE_p_wxShowEvent swig_types[138]
|
||||
#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[139]
|
||||
#define SWIGTYPE_p_wxSize swig_types[140]
|
||||
#define SWIGTYPE_p_wxSizeEvent swig_types[141]
|
||||
#define SWIGTYPE_p_wxSizer swig_types[142]
|
||||
#define SWIGTYPE_p_wxSizerItem swig_types[143]
|
||||
#define SWIGTYPE_p_wxSound swig_types[144]
|
||||
#define SWIGTYPE_p_wxStandardPaths swig_types[145]
|
||||
#define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
|
||||
#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[147]
|
||||
#define SWIGTYPE_p_wxStopWatch swig_types[148]
|
||||
#define SWIGTYPE_p_wxString swig_types[149]
|
||||
#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[150]
|
||||
#define SWIGTYPE_p_wxSystemOptions swig_types[151]
|
||||
#define SWIGTYPE_p_wxSystemSettings swig_types[152]
|
||||
#define SWIGTYPE_p_wxTIFFHandler swig_types[153]
|
||||
#define SWIGTYPE_p_wxTextCtrl swig_types[154]
|
||||
#define SWIGTYPE_p_wxTextDataObject swig_types[155]
|
||||
#define SWIGTYPE_p_wxTimeSpan swig_types[156]
|
||||
#define SWIGTYPE_p_wxTimer swig_types[157]
|
||||
#define SWIGTYPE_p_wxTimerEvent swig_types[158]
|
||||
#define SWIGTYPE_p_wxTimerRunner swig_types[159]
|
||||
#define SWIGTYPE_p_wxTipProvider swig_types[160]
|
||||
#define SWIGTYPE_p_wxToolTip swig_types[161]
|
||||
#define SWIGTYPE_p_wxURLDataObject swig_types[162]
|
||||
#define SWIGTYPE_p_wxUpdateUIEvent swig_types[163]
|
||||
#define SWIGTYPE_p_wxValidator swig_types[164]
|
||||
#define SWIGTYPE_p_wxVideoMode swig_types[165]
|
||||
#define SWIGTYPE_p_wxWindow swig_types[166]
|
||||
#define SWIGTYPE_p_wxWindowCreateEvent swig_types[167]
|
||||
#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[168]
|
||||
#define SWIGTYPE_p_wxWindowDisabler swig_types[169]
|
||||
#define SWIGTYPE_p_wxXPMHandler swig_types[170]
|
||||
static swig_type_info *swig_types[172];
|
||||
static swig_module_info swig_module = {swig_types, 171, 0, 0, 0, 0};
|
||||
#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
|
||||
#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
|
||||
|
||||
@@ -5086,7 +5085,13 @@ SWIGINTERN PyObject *_wrap_GetFreeMemory(PyObject *SWIGUNUSEDPARM(self), PyObjec
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_NewPointerObj((new wxMemorySize(static_cast< const wxMemorySize& >(result))), SWIGTYPE_p_wxMemorySize, SWIG_POINTER_OWN | 0 );
|
||||
{
|
||||
#if wxUSE_LONGLONG
|
||||
resultobj = PyLong_FromLongLong((&result)->GetValue());
|
||||
#else
|
||||
resultobj = PyInt_FromLong(result);
|
||||
#endif
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@@ -11433,6 +11438,57 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Log_SetRepetitionCounting(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
bool arg1 = (bool) true ;
|
||||
bool val1 ;
|
||||
int ecode1 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "bRepetCounting", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetRepetitionCounting",kwnames,&obj0)) SWIG_fail;
|
||||
if (obj0) {
|
||||
ecode1 = SWIG_AsVal_bool(obj0, &val1);
|
||||
if (!SWIG_IsOK(ecode1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Log_SetRepetitionCounting" "', expected argument " "1"" of type '" "bool""'");
|
||||
}
|
||||
arg1 = static_cast< bool >(val1);
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxLog::SetRepetitionCounting(arg1);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_Py_Void();
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Log_GetRepetitionCounting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
bool result;
|
||||
|
||||
if (!SWIG_Python_UnpackTuple(args,"Log_GetRepetitionCounting",0,0,0)) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (bool)wxLog::GetRepetitionCounting();
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Log_SetTraceMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxTraceMask arg1 ;
|
||||
@@ -36495,6 +36551,8 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Log_DontCreateOnDemand", (PyCFunction)_wrap_Log_DontCreateOnDemand, METH_NOARGS, NULL},
|
||||
{ (char *)"Log_SetRepetitionCounting", (PyCFunction) _wrap_Log_SetRepetitionCounting, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Log_GetRepetitionCounting", (PyCFunction)_wrap_Log_GetRepetitionCounting, METH_NOARGS, NULL},
|
||||
{ (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
@@ -37816,7 +37874,6 @@ static swig_type_info _swigt__p_wxLogNull = {"_p_wxLogNull", "wxLogNull *", 0, 0
|
||||
static swig_type_info _swigt__p_wxLogStderr = {"_p_wxLogStderr", "wxLogStderr *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_wxLogTextCtrl = {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_wxLogWindow = {"_p_wxLogWindow", "wxLogWindow *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_wxMemorySize = {"_p_wxMemorySize", "wxMemorySize *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_wxMetafile = {"_p_wxMetafile", "wxMetafile *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_wxMetafileDataObject = {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, (void*)0, 0};
|
||||
@@ -37983,7 +38040,6 @@ static swig_type_info *swig_type_initial[] = {
|
||||
&_swigt__p_wxLogTextCtrl,
|
||||
&_swigt__p_wxLogWindow,
|
||||
&_swigt__p_wxMaximizeEvent,
|
||||
&_swigt__p_wxMemorySize,
|
||||
&_swigt__p_wxMenu,
|
||||
&_swigt__p_wxMenuBar,
|
||||
&_swigt__p_wxMenuEvent,
|
||||
@@ -38164,7 +38220,6 @@ static swig_cast_info _swigc__p_wxLogNull[] = { {&_swigt__p_wxLogNull, 0, 0, 0}
|
||||
static swig_cast_info _swigc__p_wxLogStderr[] = { {&_swigt__p_wxLogStderr, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_wxLogTextCtrl[] = { {&_swigt__p_wxLogTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_wxLogWindow[] = { {&_swigt__p_wxLogWindow, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_wxMemorySize[] = { {&_swigt__p_wxMemorySize, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_wxMetafile[] = { {&_swigt__p_wxMetafile, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_wxMetafileDataObject[] = { {&_swigt__p_wxMetafileDataObject, 0, 0, 0},{0, 0, 0, 0}};
|
||||
@@ -38331,7 +38386,6 @@ static swig_cast_info *swig_cast_initial[] = {
|
||||
_swigc__p_wxLogTextCtrl,
|
||||
_swigc__p_wxLogWindow,
|
||||
_swigc__p_wxMaximizeEvent,
|
||||
_swigc__p_wxMemorySize,
|
||||
_swigc__p_wxMenu,
|
||||
_swigc__p_wxMenuBar,
|
||||
_swigc__p_wxMenuEvent,
|
||||
|
@@ -439,6 +439,39 @@ class TopLevelWindow(_core.Window):
|
||||
"""CanSetTransparent(self) -> bool"""
|
||||
return _windows_.TopLevelWindow_CanSetTransparent(*args, **kwargs)
|
||||
|
||||
def GetDefaultItem(*args, **kwargs):
|
||||
"""
|
||||
GetDefaultItem(self) -> Window
|
||||
|
||||
Get the default child of this parent, i.e. the one which is activated
|
||||
by pressing <Enter> such as the OK button on a wx.Dialog.
|
||||
"""
|
||||
return _windows_.TopLevelWindow_GetDefaultItem(*args, **kwargs)
|
||||
|
||||
def SetDefaultItem(*args, **kwargs):
|
||||
"""
|
||||
SetDefaultItem(self, Window child) -> Window
|
||||
|
||||
Set this child as default, return the old default.
|
||||
"""
|
||||
return _windows_.TopLevelWindow_SetDefaultItem(*args, **kwargs)
|
||||
|
||||
def SetTmpDefaultItem(*args, **kwargs):
|
||||
"""
|
||||
SetTmpDefaultItem(self, Window win)
|
||||
|
||||
Set this child as temporary default
|
||||
"""
|
||||
return _windows_.TopLevelWindow_SetTmpDefaultItem(*args, **kwargs)
|
||||
|
||||
def GetTmpDefaultItem(*args, **kwargs):
|
||||
"""
|
||||
GetTmpDefaultItem(self) -> Window
|
||||
|
||||
Return the temporary default item, which can be None.
|
||||
"""
|
||||
return _windows_.TopLevelWindow_GetTmpDefaultItem(*args, **kwargs)
|
||||
|
||||
_windows_.TopLevelWindow_swigregister(TopLevelWindow)
|
||||
cvar = _windows_.cvar
|
||||
FrameNameStr = cvar.FrameNameStr
|
||||
@@ -2200,6 +2233,7 @@ FD_OVERWRITE_PROMPT = _windows_.FD_OVERWRITE_PROMPT
|
||||
FD_FILE_MUST_EXIST = _windows_.FD_FILE_MUST_EXIST
|
||||
FD_MULTIPLE = _windows_.FD_MULTIPLE
|
||||
FD_CHANGE_DIR = _windows_.FD_CHANGE_DIR
|
||||
FD_PREVIEW = _windows_.FD_PREVIEW
|
||||
FD_DEFAULT_STYLE = _windows_.FD_DEFAULT_STYLE
|
||||
class FileDialog(Dialog):
|
||||
"""
|
||||
@@ -2414,7 +2448,7 @@ class SingleChoiceDialog(Dialog):
|
||||
"""
|
||||
GetSelection(self) -> int
|
||||
|
||||
Get the index of teh currently selected item.
|
||||
Get the index of the currently selected item.
|
||||
"""
|
||||
return _windows_.SingleChoiceDialog_GetSelection(*args, **kwargs)
|
||||
|
||||
|
@@ -6177,6 +6177,145 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
|
||||
wxWindow *result = 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
PyObject *swig_obj[1] ;
|
||||
|
||||
if (!args) SWIG_fail;
|
||||
swig_obj[0] = args;
|
||||
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
resultobj = wxPyMake_wxObject(result, 0);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
|
||||
wxWindow *arg2 = (wxWindow *) 0 ;
|
||||
wxWindow *result = 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
void *argp2 = 0 ;
|
||||
int res2 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "child", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
|
||||
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
|
||||
if (!SWIG_IsOK(res2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
|
||||
}
|
||||
arg2 = reinterpret_cast< wxWindow * >(argp2);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
resultobj = wxPyMake_wxObject(result, 0);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
|
||||
wxWindow *arg2 = (wxWindow *) 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
void *argp2 = 0 ;
|
||||
int res2 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "win", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
|
||||
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
|
||||
if (!SWIG_IsOK(res2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
|
||||
}
|
||||
arg2 = reinterpret_cast< wxWindow * >(argp2);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->SetTmpDefaultItem(arg2);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_Py_Void();
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
|
||||
wxWindow *result = 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
PyObject *swig_obj[1] ;
|
||||
|
||||
if (!args) SWIG_fail;
|
||||
swig_obj[0] = args;
|
||||
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
resultobj = wxPyMake_wxObject(result, 0);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *obj;
|
||||
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
||||
@@ -30755,6 +30894,10 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"TopLevelWindow_SetTransparent", (PyCFunction) _wrap_TopLevelWindow_SetTransparent, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"TopLevelWindow_CanSetTransparent", (PyCFunction)_wrap_TopLevelWindow_CanSetTransparent, METH_O, NULL},
|
||||
{ (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
|
||||
{ (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
|
||||
{ (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
|
||||
{ (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
|
||||
@@ -33797,6 +33940,7 @@ SWIGEXPORT void SWIG_init(void) {
|
||||
SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
|
||||
SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
|
||||
SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
|
||||
SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
|
||||
SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
|
||||
SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
|
||||
SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
|
||||
|
@@ -167,6 +167,8 @@ AUI_MGR_ALLOW_ACTIVE_PANE = _aui.AUI_MGR_ALLOW_ACTIVE_PANE
|
||||
AUI_MGR_TRANSPARENT_DRAG = _aui.AUI_MGR_TRANSPARENT_DRAG
|
||||
AUI_MGR_TRANSPARENT_HINT = _aui.AUI_MGR_TRANSPARENT_HINT
|
||||
AUI_MGR_TRANSPARENT_HINT_FADE = _aui.AUI_MGR_TRANSPARENT_HINT_FADE
|
||||
AUI_MGR_DISABLE_VENETIAN_BLINDS = _aui.AUI_MGR_DISABLE_VENETIAN_BLINDS
|
||||
AUI_MGR_DISABLE_VENETIAN_BLINDS_FADE = _aui.AUI_MGR_DISABLE_VENETIAN_BLINDS_FADE
|
||||
AUI_MGR_DEFAULT = _aui.AUI_MGR_DEFAULT
|
||||
AUI_ART_SASH_SIZE = _aui.AUI_ART_SASH_SIZE
|
||||
AUI_ART_CAPTION_SIZE = _aui.AUI_ART_CAPTION_SIZE
|
||||
@@ -221,6 +223,10 @@ class PaneInfo(object):
|
||||
_aui.PaneInfo_swiginit(self,_aui.new_PaneInfo(*args, **kwargs))
|
||||
__swig_destroy__ = _aui.delete_PaneInfo
|
||||
__del__ = lambda self : None;
|
||||
def SafeSet(*args, **kwargs):
|
||||
"""SafeSet(self, PaneInfo source)"""
|
||||
return _aui.PaneInfo_SafeSet(*args, **kwargs)
|
||||
|
||||
def IsOk(*args, **kwargs):
|
||||
"""
|
||||
IsOk(self) -> bool
|
||||
@@ -1046,6 +1052,14 @@ class FrameManager(_core.EvtHandler):
|
||||
"""
|
||||
return _aui.FrameManager_DetachPane(*args, **kwargs)
|
||||
|
||||
def SavePaneInfo(*args, **kwargs):
|
||||
"""SavePaneInfo(self, PaneInfo pane) -> String"""
|
||||
return _aui.FrameManager_SavePaneInfo(*args, **kwargs)
|
||||
|
||||
def LoadPaneInfo(*args, **kwargs):
|
||||
"""LoadPaneInfo(self, String pane_part, PaneInfo pane)"""
|
||||
return _aui.FrameManager_LoadPaneInfo(*args, **kwargs)
|
||||
|
||||
def SavePerspective(*args, **kwargs):
|
||||
"""
|
||||
SavePerspective(self) -> String
|
||||
@@ -1392,6 +1406,246 @@ class FloatingPane(_windows.MiniFrame):
|
||||
|
||||
_aui.FloatingPane_swigregister(FloatingPane)
|
||||
|
||||
class AuiNotebookEvent(_core.NotifyEvent):
|
||||
"""Proxy of C++ AuiNotebookEvent class"""
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(self, EventType command_type=wxEVT_NULL, int win_id=0) -> AuiNotebookEvent"""
|
||||
_aui.AuiNotebookEvent_swiginit(self,_aui.new_AuiNotebookEvent(*args, **kwargs))
|
||||
def SetSelection(*args, **kwargs):
|
||||
"""SetSelection(self, int s)"""
|
||||
return _aui.AuiNotebookEvent_SetSelection(*args, **kwargs)
|
||||
|
||||
def SetOldSelection(*args, **kwargs):
|
||||
"""SetOldSelection(self, int s)"""
|
||||
return _aui.AuiNotebookEvent_SetOldSelection(*args, **kwargs)
|
||||
|
||||
def GetSelection(*args, **kwargs):
|
||||
"""
|
||||
GetSelection(self) -> int
|
||||
|
||||
Returns item index for a listbox or choice selection event (not valid
|
||||
for a deselection).
|
||||
"""
|
||||
return _aui.AuiNotebookEvent_GetSelection(*args, **kwargs)
|
||||
|
||||
def GetOldSelection(*args, **kwargs):
|
||||
"""GetOldSelection(self) -> int"""
|
||||
return _aui.AuiNotebookEvent_GetOldSelection(*args, **kwargs)
|
||||
|
||||
old_selection = property(_aui.AuiNotebookEvent_old_selection_get, _aui.AuiNotebookEvent_old_selection_set)
|
||||
selection = property(_aui.AuiNotebookEvent_selection_get, _aui.AuiNotebookEvent_selection_set)
|
||||
_aui.AuiNotebookEvent_swigregister(AuiNotebookEvent)
|
||||
|
||||
class AuiNotebookPage(object):
|
||||
"""Proxy of C++ AuiNotebookPage class"""
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
def __init__(self): raise AttributeError, "No constructor defined"
|
||||
__repr__ = _swig_repr
|
||||
window = property(_aui.AuiNotebookPage_window_get, _aui.AuiNotebookPage_window_set)
|
||||
caption = property(_aui.AuiNotebookPage_caption_get, _aui.AuiNotebookPage_caption_set)
|
||||
bitmap = property(_aui.AuiNotebookPage_bitmap_get, _aui.AuiNotebookPage_bitmap_set)
|
||||
rect = property(_aui.AuiNotebookPage_rect_get, _aui.AuiNotebookPage_rect_set)
|
||||
active = property(_aui.AuiNotebookPage_active_get, _aui.AuiNotebookPage_active_set)
|
||||
_aui.AuiNotebookPage_swigregister(AuiNotebookPage)
|
||||
|
||||
class AuiTabContainerButton(object):
|
||||
"""Proxy of C++ AuiTabContainerButton class"""
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
def __init__(self): raise AttributeError, "No constructor defined"
|
||||
__repr__ = _swig_repr
|
||||
id = property(_aui.AuiTabContainerButton_id_get, _aui.AuiTabContainerButton_id_set)
|
||||
cur_state = property(_aui.AuiTabContainerButton_cur_state_get, _aui.AuiTabContainerButton_cur_state_set)
|
||||
bitmap = property(_aui.AuiTabContainerButton_bitmap_get, _aui.AuiTabContainerButton_bitmap_set)
|
||||
rect = property(_aui.AuiTabContainerButton_rect_get, _aui.AuiTabContainerButton_rect_set)
|
||||
_aui.AuiTabContainerButton_swigregister(AuiTabContainerButton)
|
||||
|
||||
class AuiTabContainer(object):
|
||||
"""Proxy of C++ AuiTabContainer class"""
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(self) -> AuiTabContainer"""
|
||||
_aui.AuiTabContainer_swiginit(self,_aui.new_AuiTabContainer(*args, **kwargs))
|
||||
__swig_destroy__ = _aui.delete_AuiTabContainer
|
||||
__del__ = lambda self : None;
|
||||
def AddPage(*args, **kwargs):
|
||||
"""AddPage(self, Window page, AuiNotebookPage info) -> bool"""
|
||||
return _aui.AuiTabContainer_AddPage(*args, **kwargs)
|
||||
|
||||
def InsertPage(*args, **kwargs):
|
||||
"""InsertPage(self, Window page, AuiNotebookPage info, size_t idx) -> bool"""
|
||||
return _aui.AuiTabContainer_InsertPage(*args, **kwargs)
|
||||
|
||||
def RemovePage(*args, **kwargs):
|
||||
"""RemovePage(self, Window page) -> bool"""
|
||||
return _aui.AuiTabContainer_RemovePage(*args, **kwargs)
|
||||
|
||||
def SetActivePage(*args):
|
||||
"""
|
||||
SetActivePage(self, Window page) -> bool
|
||||
SetActivePage(self, size_t page) -> bool
|
||||
"""
|
||||
return _aui.AuiTabContainer_SetActivePage(*args)
|
||||
|
||||
def SetNoneActive(*args, **kwargs):
|
||||
"""SetNoneActive(self)"""
|
||||
return _aui.AuiTabContainer_SetNoneActive(*args, **kwargs)
|
||||
|
||||
def GetActivePage(*args, **kwargs):
|
||||
"""GetActivePage(self) -> int"""
|
||||
return _aui.AuiTabContainer_GetActivePage(*args, **kwargs)
|
||||
|
||||
def TabHitTest(*args, **kwargs):
|
||||
"""TabHitTest(self, int x, int y, Window hit) -> bool"""
|
||||
return _aui.AuiTabContainer_TabHitTest(*args, **kwargs)
|
||||
|
||||
def ButtonHitTest(*args, **kwargs):
|
||||
"""ButtonHitTest(self, int x, int y, AuiTabContainerButton hit) -> bool"""
|
||||
return _aui.AuiTabContainer_ButtonHitTest(*args, **kwargs)
|
||||
|
||||
def GetWindowFromIdx(*args, **kwargs):
|
||||
"""GetWindowFromIdx(self, size_t idx) -> Window"""
|
||||
return _aui.AuiTabContainer_GetWindowFromIdx(*args, **kwargs)
|
||||
|
||||
def GetIdxFromWindow(*args, **kwargs):
|
||||
"""GetIdxFromWindow(self, Window page) -> int"""
|
||||
return _aui.AuiTabContainer_GetIdxFromWindow(*args, **kwargs)
|
||||
|
||||
def GetPageCount(*args, **kwargs):
|
||||
"""GetPageCount(self) -> size_t"""
|
||||
return _aui.AuiTabContainer_GetPageCount(*args, **kwargs)
|
||||
|
||||
def GetPage(*args, **kwargs):
|
||||
"""GetPage(self, size_t idx) -> AuiNotebookPage"""
|
||||
return _aui.AuiTabContainer_GetPage(*args, **kwargs)
|
||||
|
||||
def GetPages(*args, **kwargs):
|
||||
"""GetPages(self) -> wxAuiNotebookPageArray"""
|
||||
return _aui.AuiTabContainer_GetPages(*args, **kwargs)
|
||||
|
||||
def SetNormalFont(*args, **kwargs):
|
||||
"""SetNormalFont(self, Font normal_font)"""
|
||||
return _aui.AuiTabContainer_SetNormalFont(*args, **kwargs)
|
||||
|
||||
def SetSelectedFont(*args, **kwargs):
|
||||
"""SetSelectedFont(self, Font selected_font)"""
|
||||
return _aui.AuiTabContainer_SetSelectedFont(*args, **kwargs)
|
||||
|
||||
def SetMeasuringFont(*args, **kwargs):
|
||||
"""SetMeasuringFont(self, Font measuring_font)"""
|
||||
return _aui.AuiTabContainer_SetMeasuringFont(*args, **kwargs)
|
||||
|
||||
def DoShowHide(*args, **kwargs):
|
||||
"""DoShowHide(self)"""
|
||||
return _aui.AuiTabContainer_DoShowHide(*args, **kwargs)
|
||||
|
||||
def SetRect(*args, **kwargs):
|
||||
"""SetRect(self, Rect rect)"""
|
||||
return _aui.AuiTabContainer_SetRect(*args, **kwargs)
|
||||
|
||||
def AddButton(*args, **kwargs):
|
||||
"""AddButton(self, int id, Bitmap bmp)"""
|
||||
return _aui.AuiTabContainer_AddButton(*args, **kwargs)
|
||||
|
||||
_aui.AuiTabContainer_swigregister(AuiTabContainer)
|
||||
|
||||
class AuiTabCtrl(_core.Control,AuiTabContainer):
|
||||
"""Proxy of C++ AuiTabCtrl class"""
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=0) -> AuiTabCtrl
|
||||
"""
|
||||
_aui.AuiTabCtrl_swiginit(self,_aui.new_AuiTabCtrl(*args, **kwargs))
|
||||
self._setOORInfo(self)
|
||||
|
||||
_aui.AuiTabCtrl_swigregister(AuiTabCtrl)
|
||||
|
||||
class AuiMultiNotebook(_core.Control):
|
||||
"""Proxy of C++ AuiMultiNotebook class"""
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=0) -> AuiMultiNotebook
|
||||
"""
|
||||
_aui.AuiMultiNotebook_swiginit(self,_aui.new_AuiMultiNotebook(*args, **kwargs))
|
||||
self._setOORInfo(self)
|
||||
|
||||
def Create(*args, **kwargs):
|
||||
"""
|
||||
Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=0) -> bool
|
||||
|
||||
Do the 2nd phase and create the GUI control.
|
||||
"""
|
||||
return _aui.AuiMultiNotebook_Create(*args, **kwargs)
|
||||
|
||||
def AddPage(*args, **kwargs):
|
||||
"""AddPage(self, Window page, String caption, bool select=False, Bitmap bitmap=wxNullBitmap) -> bool"""
|
||||
return _aui.AuiMultiNotebook_AddPage(*args, **kwargs)
|
||||
|
||||
def InsertPage(*args, **kwargs):
|
||||
"""
|
||||
InsertPage(self, size_t page_idx, Window page, String caption, bool select=False,
|
||||
Bitmap bitmap=wxNullBitmap) -> bool
|
||||
"""
|
||||
return _aui.AuiMultiNotebook_InsertPage(*args, **kwargs)
|
||||
|
||||
def DeletePage(*args, **kwargs):
|
||||
"""DeletePage(self, size_t page) -> bool"""
|
||||
return _aui.AuiMultiNotebook_DeletePage(*args, **kwargs)
|
||||
|
||||
def RemovePage(*args, **kwargs):
|
||||
"""RemovePage(self, size_t page) -> bool"""
|
||||
return _aui.AuiMultiNotebook_RemovePage(*args, **kwargs)
|
||||
|
||||
def SetPageText(*args, **kwargs):
|
||||
"""SetPageText(self, size_t page, String text) -> bool"""
|
||||
return _aui.AuiMultiNotebook_SetPageText(*args, **kwargs)
|
||||
|
||||
def SetSelection(*args, **kwargs):
|
||||
"""SetSelection(self, size_t new_page) -> size_t"""
|
||||
return _aui.AuiMultiNotebook_SetSelection(*args, **kwargs)
|
||||
|
||||
def GetSelection(*args, **kwargs):
|
||||
"""GetSelection(self) -> int"""
|
||||
return _aui.AuiMultiNotebook_GetSelection(*args, **kwargs)
|
||||
|
||||
def GetPageCount(*args, **kwargs):
|
||||
"""GetPageCount(self) -> size_t"""
|
||||
return _aui.AuiMultiNotebook_GetPageCount(*args, **kwargs)
|
||||
|
||||
def GetPage(*args, **kwargs):
|
||||
"""GetPage(self, size_t page_idx) -> Window"""
|
||||
return _aui.AuiMultiNotebook_GetPage(*args, **kwargs)
|
||||
|
||||
_aui.AuiMultiNotebook_swigregister(AuiMultiNotebook)
|
||||
|
||||
def PreAuiMultiNotebook(*args, **kwargs):
|
||||
"""PreAuiMultiNotebook() -> AuiMultiNotebook"""
|
||||
val = _aui.new_PreAuiMultiNotebook(*args, **kwargs)
|
||||
self._setOORInfo(self)
|
||||
return val
|
||||
|
||||
wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED = _aui.wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED
|
||||
wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING = _aui.wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING
|
||||
wxEVT_COMMAND_AUINOTEBOOK_BUTTON = _aui.wxEVT_COMMAND_AUINOTEBOOK_BUTTON
|
||||
wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG = _aui.wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG
|
||||
wxEVT_COMMAND_AUINOTEBOOK_END_DRAG = _aui.wxEVT_COMMAND_AUINOTEBOOK_END_DRAG
|
||||
wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION = _aui.wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION
|
||||
EVT_AUINOTEBOOK_PAGE_CHANGED = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED, 1 )
|
||||
EVT_AUINOTEBOOK_PAGE_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING, 1 )
|
||||
EVT_AUINOTEBOOK_BUTTON = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_BUTTON, 1 )
|
||||
EVT_AUINOTEBOOK_BEGIN_DRAG = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG, 1 )
|
||||
EVT_AUINOTEBOOK_END_DRAG = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_END_DRAG, 1 )
|
||||
EVT_AUINOTEBOOK_DRAG_MOTION = wx.PyEventBinder( wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION, 1 )
|
||||
|
||||
class PyDockArt(DefaultDockArt):
|
||||
"""
|
||||
This version of the `DockArt` class has been instrumented to be
|
||||
|
File diff suppressed because one or more lines are too long
@@ -1400,6 +1400,18 @@ class Grid(_windows.ScrolledWindow):
|
||||
"""GetGridLineColour(self) -> Colour"""
|
||||
return _grid.Grid_GetGridLineColour(*args, **kwargs)
|
||||
|
||||
def GetDefaultGridLinePen(*args, **kwargs):
|
||||
"""GetDefaultGridLinePen(self) -> wxPen"""
|
||||
return _grid.Grid_GetDefaultGridLinePen(*args, **kwargs)
|
||||
|
||||
def GetRowGridLinePen(*args, **kwargs):
|
||||
"""GetRowGridLinePen(self, int row) -> wxPen"""
|
||||
return _grid.Grid_GetRowGridLinePen(*args, **kwargs)
|
||||
|
||||
def GetColGridLinePen(*args, **kwargs):
|
||||
"""GetColGridLinePen(self, int col) -> wxPen"""
|
||||
return _grid.Grid_GetColGridLinePen(*args, **kwargs)
|
||||
|
||||
def GetCellHighlightColour(*args, **kwargs):
|
||||
"""GetCellHighlightColour(self) -> Colour"""
|
||||
return _grid.Grid_GetCellHighlightColour(*args, **kwargs)
|
||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user