mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-22 14:20:35 +08:00
reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3264,7 +3264,7 @@ class Treebook(BookCtrlBase):
|
||||
return _controls_.Treebook_GetPageParent(*args, **kwargs)
|
||||
|
||||
def GetTreeCtrl(*args, **kwargs):
|
||||
"""GetTreeCtrl(self) -> wxTreeCtrl"""
|
||||
"""GetTreeCtrl(self) -> TreeCtrl"""
|
||||
return _controls_.Treebook_GetTreeCtrl(*args, **kwargs)
|
||||
|
||||
_controls_.Treebook_swigregister(Treebook)
|
||||
@@ -6410,6 +6410,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)
|
||||
|
||||
@@ -2625,21 +2625,20 @@ SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags)
|
||||
#define SWIGTYPE_p_wxToolBarToolBase swig_types[159]
|
||||
#define SWIGTYPE_p_wxToolbook swig_types[160]
|
||||
#define SWIGTYPE_p_wxToolbookEvent swig_types[161]
|
||||
#define SWIGTYPE_p_wxTreeCtrl swig_types[162]
|
||||
#define SWIGTYPE_p_wxTreeEvent swig_types[163]
|
||||
#define SWIGTYPE_p_wxTreeItemId swig_types[164]
|
||||
#define SWIGTYPE_p_wxTreebook swig_types[165]
|
||||
#define SWIGTYPE_p_wxTreebookEvent swig_types[166]
|
||||
#define SWIGTYPE_p_wxUpdateUIEvent swig_types[167]
|
||||
#define SWIGTYPE_p_wxValidator swig_types[168]
|
||||
#define SWIGTYPE_p_wxVisualAttributes swig_types[169]
|
||||
#define SWIGTYPE_p_wxWindow swig_types[170]
|
||||
#define SWIGTYPE_p_wxWindowBase swig_types[171]
|
||||
#define SWIGTYPE_p_wxWindowCreateEvent swig_types[172]
|
||||
#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[173]
|
||||
#define SWIGTYPE_p_wxXPMHandler swig_types[174]
|
||||
static swig_type_info *swig_types[176];
|
||||
static swig_module_info swig_module = {swig_types, 175, 0, 0, 0, 0};
|
||||
#define SWIGTYPE_p_wxTreeEvent swig_types[162]
|
||||
#define SWIGTYPE_p_wxTreeItemId swig_types[163]
|
||||
#define SWIGTYPE_p_wxTreebook swig_types[164]
|
||||
#define SWIGTYPE_p_wxTreebookEvent swig_types[165]
|
||||
#define SWIGTYPE_p_wxUpdateUIEvent swig_types[166]
|
||||
#define SWIGTYPE_p_wxValidator swig_types[167]
|
||||
#define SWIGTYPE_p_wxVisualAttributes swig_types[168]
|
||||
#define SWIGTYPE_p_wxWindow swig_types[169]
|
||||
#define SWIGTYPE_p_wxWindowBase swig_types[170]
|
||||
#define SWIGTYPE_p_wxWindowCreateEvent swig_types[171]
|
||||
#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[172]
|
||||
#define SWIGTYPE_p_wxXPMHandler swig_types[173]
|
||||
static swig_type_info *swig_types[175];
|
||||
static swig_module_info swig_module = {swig_types, 174, 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)
|
||||
|
||||
@@ -22102,7 +22101,7 @@ fail:
|
||||
SWIGINTERN PyObject *_wrap_Treebook_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxTreebook *arg1 = (wxTreebook *) 0 ;
|
||||
wxTreeCtrl *result = 0 ;
|
||||
wxPyTreeCtrl *result = 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
PyObject *swig_obj[1] ;
|
||||
@@ -22116,11 +22115,13 @@ SWIGINTERN PyObject *_wrap_Treebook_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self),
|
||||
arg1 = reinterpret_cast< wxTreebook * >(argp1);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (wxTreeCtrl *)((wxTreebook const *)arg1)->GetTreeCtrl();
|
||||
result = (wxPyTreeCtrl *)((wxTreebook const *)arg1)->GetTreeCtrl();
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeCtrl, 0 | 0 );
|
||||
{
|
||||
resultobj = wxPyMake_wxObject(result, (bool)0);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@@ -42540,6 +42541,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 ;
|
||||
@@ -46076,6 +46143,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},
|
||||
@@ -47490,7 +47559,6 @@ static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", "wxToolBarB
|
||||
static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_wxTreeCtrl = {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
|
||||
@@ -47663,7 +47731,6 @@ static swig_type_info *swig_type_initial[] = {
|
||||
&_swigt__p_wxToolBarToolBase,
|
||||
&_swigt__p_wxToolbook,
|
||||
&_swigt__p_wxToolbookEvent,
|
||||
&_swigt__p_wxTreeCtrl,
|
||||
&_swigt__p_wxTreeEvent,
|
||||
&_swigt__p_wxTreeItemId,
|
||||
&_swigt__p_wxTreebook,
|
||||
@@ -47844,7 +47911,6 @@ static swig_cast_info _swigc__p_wxToolBarBase[] = { {&_swigt__p_wxToolBarBase,
|
||||
static swig_cast_info _swigc__p_wxToolBarToolBase[] = { {&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_wxToolbook[] = { {&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_wxToolbookEvent[] = { {&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_wxTreeCtrl[] = { {&_swigt__p_wxTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_wxTreeEvent[] = { {&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_wxTreebook[] = { {&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
|
||||
@@ -48017,7 +48083,6 @@ static swig_cast_info *swig_cast_initial[] = {
|
||||
_swigc__p_wxToolBarToolBase,
|
||||
_swigc__p_wxToolbook,
|
||||
_swigc__p_wxToolbookEvent,
|
||||
_swigc__p_wxTreeCtrl,
|
||||
_swigc__p_wxTreeEvent,
|
||||
_swigc__p_wxTreeItemId,
|
||||
_swigc__p_wxTreebook,
|
||||
|
||||
+31
-25
@@ -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,31 +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 Navigate(*args, **kwargs):
|
||||
"""
|
||||
Navigate(self, int flags=NavigationKeyEvent.IsForward) -> bool
|
||||
@@ -9165,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
|
||||
@@ -10391,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)
|
||||
|
||||
+237
-139
@@ -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){
|
||||
@@ -3966,25 +3985,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)
|
||||
{
|
||||
@@ -4847,6 +4847,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 ;
|
||||
@@ -32837,115 +32884,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_Navigate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxWindow *arg1 = (wxWindow *) 0 ;
|
||||
@@ -36226,6 +36164,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 ;
|
||||
@@ -44059,6 +44027,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 ;
|
||||
@@ -52741,6 +52836,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},
|
||||
@@ -53651,9 +53747,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_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},
|
||||
@@ -53739,6 +53832,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},
|
||||
@@ -53935,6 +54029,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},
|
||||
@@ -55866,6 +55962,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)));
|
||||
|
||||
+143
-89
@@ -2552,90 +2552,89 @@ 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_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 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_wxMetafileDataObject swig_types[93]
|
||||
#define SWIGTYPE_p_wxMimeTypesManager swig_types[94]
|
||||
#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[95]
|
||||
#define SWIGTYPE_p_wxMouseEvent swig_types[96]
|
||||
#define SWIGTYPE_p_wxMouseState swig_types[97]
|
||||
#define SWIGTYPE_p_wxMoveEvent swig_types[98]
|
||||
#define SWIGTYPE_p_wxMutexGuiLocker swig_types[99]
|
||||
#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[100]
|
||||
#define SWIGTYPE_p_wxNcPaintEvent swig_types[101]
|
||||
#define SWIGTYPE_p_wxNotifyEvent swig_types[102]
|
||||
#define SWIGTYPE_p_wxObject swig_types[103]
|
||||
#define SWIGTYPE_p_wxOutputStream swig_types[104]
|
||||
#define SWIGTYPE_p_wxPCXHandler swig_types[105]
|
||||
#define SWIGTYPE_p_wxPNGHandler swig_types[106]
|
||||
#define SWIGTYPE_p_wxPNMHandler swig_types[107]
|
||||
#define SWIGTYPE_p_wxPaintEvent swig_types[108]
|
||||
#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[109]
|
||||
#define SWIGTYPE_p_wxPaperSize swig_types[110]
|
||||
#define SWIGTYPE_p_wxPoint swig_types[111]
|
||||
#define SWIGTYPE_p_wxPowerEvent swig_types[112]
|
||||
#define SWIGTYPE_p_wxProcessEvent swig_types[113]
|
||||
#define SWIGTYPE_p_wxPyApp swig_types[114]
|
||||
#define SWIGTYPE_p_wxPyArtProvider swig_types[115]
|
||||
#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[116]
|
||||
#define SWIGTYPE_p_wxPyCommandEvent swig_types[117]
|
||||
#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[118]
|
||||
#define SWIGTYPE_p_wxPyDropSource swig_types[119]
|
||||
#define SWIGTYPE_p_wxPyDropTarget swig_types[120]
|
||||
#define SWIGTYPE_p_wxPyEvent swig_types[121]
|
||||
#define SWIGTYPE_p_wxPyFileDropTarget swig_types[122]
|
||||
#define SWIGTYPE_p_wxPyImageHandler swig_types[123]
|
||||
#define SWIGTYPE_p_wxPyLog swig_types[124]
|
||||
#define SWIGTYPE_p_wxPyProcess swig_types[125]
|
||||
#define SWIGTYPE_p_wxPySizer swig_types[126]
|
||||
#define SWIGTYPE_p_wxPyTextDataObject swig_types[127]
|
||||
#define SWIGTYPE_p_wxPyTextDropTarget swig_types[128]
|
||||
#define SWIGTYPE_p_wxPyTimer swig_types[129]
|
||||
#define SWIGTYPE_p_wxPyTipProvider swig_types[130]
|
||||
#define SWIGTYPE_p_wxPyValidator swig_types[131]
|
||||
#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[132]
|
||||
#define SWIGTYPE_p_wxRect swig_types[133]
|
||||
#define SWIGTYPE_p_wxScrollEvent swig_types[134]
|
||||
#define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
|
||||
#define SWIGTYPE_p_wxSetCursorEvent swig_types[136]
|
||||
#define SWIGTYPE_p_wxShowEvent swig_types[137]
|
||||
#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[138]
|
||||
#define SWIGTYPE_p_wxSize swig_types[139]
|
||||
#define SWIGTYPE_p_wxSizeEvent swig_types[140]
|
||||
#define SWIGTYPE_p_wxSizer swig_types[141]
|
||||
#define SWIGTYPE_p_wxSizerItem swig_types[142]
|
||||
#define SWIGTYPE_p_wxSound swig_types[143]
|
||||
#define SWIGTYPE_p_wxStandardPaths swig_types[144]
|
||||
#define SWIGTYPE_p_wxStaticBoxSizer swig_types[145]
|
||||
#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
|
||||
#define SWIGTYPE_p_wxStopWatch swig_types[147]
|
||||
#define SWIGTYPE_p_wxString swig_types[148]
|
||||
#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[149]
|
||||
#define SWIGTYPE_p_wxSystemOptions swig_types[150]
|
||||
#define SWIGTYPE_p_wxSystemSettings swig_types[151]
|
||||
#define SWIGTYPE_p_wxTIFFHandler swig_types[152]
|
||||
#define SWIGTYPE_p_wxTextCtrl swig_types[153]
|
||||
#define SWIGTYPE_p_wxTextDataObject swig_types[154]
|
||||
#define SWIGTYPE_p_wxTimeSpan swig_types[155]
|
||||
#define SWIGTYPE_p_wxTimer swig_types[156]
|
||||
#define SWIGTYPE_p_wxTimerEvent swig_types[157]
|
||||
#define SWIGTYPE_p_wxTimerRunner swig_types[158]
|
||||
#define SWIGTYPE_p_wxTipProvider swig_types[159]
|
||||
#define SWIGTYPE_p_wxToolTip swig_types[160]
|
||||
#define SWIGTYPE_p_wxURLDataObject swig_types[161]
|
||||
#define SWIGTYPE_p_wxUpdateUIEvent swig_types[162]
|
||||
#define SWIGTYPE_p_wxValidator swig_types[163]
|
||||
#define SWIGTYPE_p_wxVideoMode swig_types[164]
|
||||
#define SWIGTYPE_p_wxWindow swig_types[165]
|
||||
#define SWIGTYPE_p_wxWindowCreateEvent swig_types[166]
|
||||
#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[167]
|
||||
#define SWIGTYPE_p_wxWindowDisabler swig_types[168]
|
||||
#define SWIGTYPE_p_wxXPMHandler swig_types[169]
|
||||
static swig_type_info *swig_types[171];
|
||||
static swig_module_info swig_module = {swig_types, 170, 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)
|
||||
|
||||
@@ -5094,7 +5093,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;
|
||||
@@ -11441,6 +11446,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 ;
|
||||
@@ -36434,6 +36490,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},
|
||||
@@ -37753,7 +37811,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_wxMetafileDataObject = {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_wxMimeTypesManager = {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, (void*)0, 0};
|
||||
@@ -37919,7 +37976,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,
|
||||
@@ -38099,7 +38155,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_wxMetafileDataObject[] = { {&_swigt__p_wxMetafileDataObject, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_wxMimeTypesManager[] = { {&_swigt__p_wxMimeTypesManager, 0, 0, 0},{0, 0, 0, 0}};
|
||||
@@ -38265,7 +38320,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,
|
||||
|
||||
@@ -419,6 +419,51 @@ class TopLevelWindow(_core.Window):
|
||||
return _windows_.TopLevelWindow_CenterOnScreen(*args, **kwargs)
|
||||
|
||||
CentreOnScreen = CenterOnScreen
|
||||
def EnableCloseButton(*args, **kwargs):
|
||||
"""EnableCloseButton(self, bool enable=True) -> bool"""
|
||||
return _windows_.TopLevelWindow_EnableCloseButton(*args, **kwargs)
|
||||
|
||||
def SetTransparent(*args, **kwargs):
|
||||
"""SetTransparent(self, byte alpha) -> bool"""
|
||||
return _windows_.TopLevelWindow_SetTransparent(*args, **kwargs)
|
||||
|
||||
def CanSetTransparent(*args, **kwargs):
|
||||
"""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
|
||||
@@ -2208,6 +2253,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):
|
||||
"""
|
||||
@@ -2422,7 +2468,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)
|
||||
|
||||
|
||||
@@ -2821,6 +2821,36 @@ SWIG_AsVal_double (PyObject *obj, double* val)
|
||||
static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
|
||||
SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
|
||||
SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
|
||||
SWIGINTERN bool wxTopLevelWindow_EnableCloseButton(wxTopLevelWindow *self,bool enable=true){ return false; }
|
||||
|
||||
SWIGINTERN int
|
||||
SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
|
||||
{
|
||||
long v = 0;
|
||||
if (SWIG_AsVal_long(obj, &v) && v < 0) {
|
||||
return SWIG_TypeError;
|
||||
}
|
||||
else if (val)
|
||||
*val = (unsigned long)v;
|
||||
return SWIG_OK;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN int
|
||||
SWIG_AsVal_unsigned_SS_char (PyObject * obj, unsigned char *val)
|
||||
{
|
||||
unsigned long v;
|
||||
int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
|
||||
if (SWIG_IsOK(res)) {
|
||||
if ((v > UCHAR_MAX)) {
|
||||
return SWIG_OverflowError;
|
||||
} else {
|
||||
if (val) *val = static_cast< unsigned char >(v);
|
||||
}
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
|
||||
SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
|
||||
@@ -2944,19 +2974,6 @@ IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnG
|
||||
IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
|
||||
|
||||
|
||||
SWIGINTERN int
|
||||
SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
|
||||
{
|
||||
long v = 0;
|
||||
if (SWIG_AsVal_long(obj, &v) && v < 0) {
|
||||
return SWIG_TypeError;
|
||||
}
|
||||
else if (val)
|
||||
*val = (unsigned long)v;
|
||||
return SWIG_OK;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERNINLINE int
|
||||
SWIG_AsVal_size_t (PyObject * obj, size_t *val)
|
||||
{
|
||||
@@ -5981,6 +5998,259 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
|
||||
bool arg2 = (bool) true ;
|
||||
bool result;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
bool val2 ;
|
||||
int ecode2 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "enable", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_EnableCloseButton",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_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
|
||||
if (obj1) {
|
||||
ecode2 = SWIG_AsVal_bool(obj1, &val2);
|
||||
if (!SWIG_IsOK(ecode2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
|
||||
}
|
||||
arg2 = static_cast< bool >(val2);
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (bool)wxTopLevelWindow_EnableCloseButton(arg1,arg2);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTransparent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
|
||||
byte arg2 ;
|
||||
bool result;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
unsigned char val2 ;
|
||||
int ecode2 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "alpha", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTransparent",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_SetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
|
||||
ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2);
|
||||
if (!SWIG_IsOK(ecode2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_SetTransparent" "', expected argument " "2"" of type '" "byte""'");
|
||||
}
|
||||
arg2 = static_cast< byte >(val2);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (bool)(arg1)->SetTransparent(arg2);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_TopLevelWindow_CanSetTransparent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 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_wxTopLevelWindow, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CanSetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (bool)(arg1)->CanSetTransparent();
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
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 +31025,13 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
|
||||
{ (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (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},
|
||||
@@ -33802,6 +34079,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)));
|
||||
|
||||
+292
-15
@@ -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
|
||||
@@ -895,13 +901,13 @@ class FrameManager(_core.EvtHandler):
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, Frame frame=None, int flags=AUI_MGR_DEFAULT) -> FrameManager
|
||||
__init__(self, Window managed_wnd=None, int flags=AUI_MGR_DEFAULT) -> FrameManager
|
||||
|
||||
Constructor.
|
||||
|
||||
:param frame: Specifies the `wx.Frame` which should be managed.
|
||||
If not set in the call to this constructor then `SetFrame`
|
||||
should be called.
|
||||
:param managed_wnd: Specifies the `wx.Window` which should be
|
||||
managed. If not set in the call to this constructor then
|
||||
`SetManagedWindow` should be called later.
|
||||
|
||||
:param flags: Specifies options which allow the frame management
|
||||
behavior to be modified.
|
||||
@@ -916,7 +922,7 @@ class FrameManager(_core.EvtHandler):
|
||||
|
||||
UnInit uninitializes the framework and should be called before a
|
||||
managed frame is destroyed. UnInit is usually called in the managed
|
||||
wx.Frame's destructor.
|
||||
window's destructor.
|
||||
|
||||
"""
|
||||
return _aui.FrameManager_UnInit(*args, **kwargs)
|
||||
@@ -940,26 +946,28 @@ class FrameManager(_core.EvtHandler):
|
||||
"""
|
||||
return _aui.FrameManager_GetFlags(*args, **kwargs)
|
||||
|
||||
def SetFrame(*args, **kwargs):
|
||||
def SetManagedWindow(*args, **kwargs):
|
||||
"""
|
||||
SetFrame(self, Window frame)
|
||||
SetManagedWindow(self, Window managed_wnd)
|
||||
|
||||
SetFrame is called to specify the frame which is to be managed by the
|
||||
FrameManager. It only needs to be called if the Frame was not given
|
||||
to the manager in the constructor.
|
||||
SetManagedWindow is called to specify the window which is to be
|
||||
managed by the FrameManager. It is normally a `wx.Frame` but it is
|
||||
possible to also allow docking within any container window. This only
|
||||
needs to be called if the window was not given to the manager in the
|
||||
constructor.
|
||||
|
||||
"""
|
||||
return _aui.FrameManager_SetFrame(*args, **kwargs)
|
||||
return _aui.FrameManager_SetManagedWindow(*args, **kwargs)
|
||||
|
||||
def GetFrame(*args, **kwargs):
|
||||
def GetManagedWindow(*args, **kwargs):
|
||||
"""
|
||||
GetFrame(self) -> Window
|
||||
GetManagedWindow(self) -> Window
|
||||
|
||||
GetFrame returns the frame currently being managed by the
|
||||
GetManagedWindow returns the window currently being managed by the
|
||||
FrameManager.
|
||||
|
||||
"""
|
||||
return _aui.FrameManager_GetFrame(*args, **kwargs)
|
||||
return _aui.FrameManager_GetManagedWindow(*args, **kwargs)
|
||||
|
||||
def SetArtProvider(*args, **kwargs):
|
||||
"""
|
||||
@@ -1009,6 +1017,10 @@ class FrameManager(_core.EvtHandler):
|
||||
"""_AddPane1(self, Window window, PaneInfo pane_info) -> bool"""
|
||||
return _aui.FrameManager__AddPane1(*args, **kwargs)
|
||||
|
||||
def AddPaneAtPos(*args, **kwargs):
|
||||
"""AddPaneAtPos(self, Window window, PaneInfo pane_info, Point drop_pos) -> bool"""
|
||||
return _aui.FrameManager_AddPaneAtPos(*args, **kwargs)
|
||||
|
||||
def _AddPane2(*args, **kwargs):
|
||||
"""_AddPane2(self, Window window, int direction=LEFT, String caption=wxEmptyString) -> bool"""
|
||||
return _aui.FrameManager__AddPane2(*args, **kwargs)
|
||||
@@ -1040,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
|
||||
@@ -1079,6 +1099,18 @@ class FrameManager(_core.EvtHandler):
|
||||
"""
|
||||
return _aui.FrameManager_Update(*args, **kwargs)
|
||||
|
||||
def DrawHintRect(*args, **kwargs):
|
||||
"""DrawHintRect(self, Window pane_window, Point pt, Point offset)"""
|
||||
return _aui.FrameManager_DrawHintRect(*args, **kwargs)
|
||||
|
||||
def ShowHint(*args, **kwargs):
|
||||
"""ShowHint(self, Rect rect)"""
|
||||
return _aui.FrameManager_ShowHint(*args, **kwargs)
|
||||
|
||||
def HideHint(*args, **kwargs):
|
||||
"""HideHint(self)"""
|
||||
return _aui.FrameManager_HideHint(*args, **kwargs)
|
||||
|
||||
def OnRender(*args, **kwargs):
|
||||
"""OnRender(self, FrameManagerEvent evt)"""
|
||||
return _aui.FrameManager_OnRender(*args, **kwargs)
|
||||
@@ -1133,6 +1165,11 @@ class FrameManager(_core.EvtHandler):
|
||||
caption = ""
|
||||
return self._AddPane2(window, info, caption)
|
||||
|
||||
SetFrame = wx._deprecated(SetManagedWindow,
|
||||
"SetFrame is deprecated, use `SetManagedWindow` instead.")
|
||||
GetFrame = wx._deprecated(GetManagedWindow,
|
||||
"GetFrame is deprecated, use `GetManagedWindow` instead.")
|
||||
|
||||
_aui.FrameManager_swigregister(FrameManager)
|
||||
|
||||
class FrameManagerEvent(_core.Event):
|
||||
@@ -1369,6 +1406,246 @@ class FloatingPane(_windows.Frame):
|
||||
|
||||
_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
|
||||
|
||||
+3601
-228
File diff suppressed because one or more lines are too long
@@ -1566,7 +1566,7 @@ class HtmlHelpWindow(_core.Window):
|
||||
return _html.HtmlHelpWindow_GetCfgData(*args, **kwargs)
|
||||
|
||||
def GetTreeCtrl(*args, **kwargs):
|
||||
"""GetTreeCtrl(self) -> wxTreeCtrl"""
|
||||
"""GetTreeCtrl(self) -> wxPyTreeCtrl"""
|
||||
return _html.HtmlHelpWindow_GetTreeCtrl(*args, **kwargs)
|
||||
|
||||
_html.HtmlHelpWindow_swigregister(HtmlHelpWindow)
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -3251,7 +3251,7 @@ class Treebook(BookCtrlBase):
|
||||
return _controls_.Treebook_GetPageParent(*args, **kwargs)
|
||||
|
||||
def GetTreeCtrl(*args, **kwargs):
|
||||
"""GetTreeCtrl(self) -> wxTreeCtrl"""
|
||||
"""GetTreeCtrl(self) -> TreeCtrl"""
|
||||
return _controls_.Treebook_GetTreeCtrl(*args, **kwargs)
|
||||
|
||||
_controls_.Treebook_swigregister(Treebook)
|
||||
|
||||
@@ -2625,21 +2625,20 @@ SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags)
|
||||
#define SWIGTYPE_p_wxToolBarToolBase swig_types[159]
|
||||
#define SWIGTYPE_p_wxToolbook swig_types[160]
|
||||
#define SWIGTYPE_p_wxToolbookEvent swig_types[161]
|
||||
#define SWIGTYPE_p_wxTreeCtrl swig_types[162]
|
||||
#define SWIGTYPE_p_wxTreeEvent swig_types[163]
|
||||
#define SWIGTYPE_p_wxTreeItemId swig_types[164]
|
||||
#define SWIGTYPE_p_wxTreebook swig_types[165]
|
||||
#define SWIGTYPE_p_wxTreebookEvent swig_types[166]
|
||||
#define SWIGTYPE_p_wxUpdateUIEvent swig_types[167]
|
||||
#define SWIGTYPE_p_wxValidator swig_types[168]
|
||||
#define SWIGTYPE_p_wxVisualAttributes swig_types[169]
|
||||
#define SWIGTYPE_p_wxWindow swig_types[170]
|
||||
#define SWIGTYPE_p_wxWindowBase swig_types[171]
|
||||
#define SWIGTYPE_p_wxWindowCreateEvent swig_types[172]
|
||||
#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[173]
|
||||
#define SWIGTYPE_p_wxXPMHandler swig_types[174]
|
||||
static swig_type_info *swig_types[176];
|
||||
static swig_module_info swig_module = {swig_types, 175, 0, 0, 0, 0};
|
||||
#define SWIGTYPE_p_wxTreeEvent swig_types[162]
|
||||
#define SWIGTYPE_p_wxTreeItemId swig_types[163]
|
||||
#define SWIGTYPE_p_wxTreebook swig_types[164]
|
||||
#define SWIGTYPE_p_wxTreebookEvent swig_types[165]
|
||||
#define SWIGTYPE_p_wxUpdateUIEvent swig_types[166]
|
||||
#define SWIGTYPE_p_wxValidator swig_types[167]
|
||||
#define SWIGTYPE_p_wxVisualAttributes swig_types[168]
|
||||
#define SWIGTYPE_p_wxWindow swig_types[169]
|
||||
#define SWIGTYPE_p_wxWindowBase swig_types[170]
|
||||
#define SWIGTYPE_p_wxWindowCreateEvent swig_types[171]
|
||||
#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[172]
|
||||
#define SWIGTYPE_p_wxXPMHandler swig_types[173]
|
||||
static swig_type_info *swig_types[175];
|
||||
static swig_module_info swig_module = {swig_types, 174, 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)
|
||||
|
||||
@@ -22027,7 +22026,7 @@ fail:
|
||||
SWIGINTERN PyObject *_wrap_Treebook_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxTreebook *arg1 = (wxTreebook *) 0 ;
|
||||
wxTreeCtrl *result = 0 ;
|
||||
wxPyTreeCtrl *result = 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
PyObject *swig_obj[1] ;
|
||||
@@ -22041,11 +22040,13 @@ SWIGINTERN PyObject *_wrap_Treebook_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self),
|
||||
arg1 = reinterpret_cast< wxTreebook * >(argp1);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (wxTreeCtrl *)((wxTreebook const *)arg1)->GetTreeCtrl();
|
||||
result = (wxPyTreeCtrl *)((wxTreebook const *)arg1)->GetTreeCtrl();
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeCtrl, 0 | 0 );
|
||||
{
|
||||
resultobj = wxPyMake_wxObject(result, (bool)0);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@@ -47413,7 +47414,6 @@ static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", "wxToolBarB
|
||||
static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_wxTreeCtrl = {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
|
||||
@@ -47586,7 +47586,6 @@ static swig_type_info *swig_type_initial[] = {
|
||||
&_swigt__p_wxToolBarToolBase,
|
||||
&_swigt__p_wxToolbook,
|
||||
&_swigt__p_wxToolbookEvent,
|
||||
&_swigt__p_wxTreeCtrl,
|
||||
&_swigt__p_wxTreeEvent,
|
||||
&_swigt__p_wxTreeItemId,
|
||||
&_swigt__p_wxTreebook,
|
||||
@@ -47767,7 +47766,6 @@ static swig_cast_info _swigc__p_wxToolBarBase[] = { {&_swigt__p_wxToolBarBase,
|
||||
static swig_cast_info _swigc__p_wxToolBarToolBase[] = { {&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_wxToolbook[] = { {&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_wxToolbookEvent[] = { {&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_wxTreeCtrl[] = { {&_swigt__p_wxTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_wxTreeEvent[] = { {&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_wxTreebook[] = { {&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
|
||||
@@ -47940,7 +47938,6 @@ static swig_cast_info *swig_cast_initial[] = {
|
||||
_swigc__p_wxToolBarToolBase,
|
||||
_swigc__p_wxToolbook,
|
||||
_swigc__p_wxToolbookEvent,
|
||||
_swigc__p_wxTreeCtrl,
|
||||
_swigc__p_wxTreeEvent,
|
||||
_swigc__p_wxTreeItemId,
|
||||
_swigc__p_wxTreebook,
|
||||
|
||||
@@ -8302,6 +8302,14 @@ class Window(EvtHandler):
|
||||
"""
|
||||
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
|
||||
|
||||
@@ -32945,6 +32945,36 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
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 ;
|
||||
@@ -53653,6 +53683,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (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},
|
||||
|
||||
@@ -427,6 +427,18 @@ class TopLevelWindow(_core.Window):
|
||||
return _windows_.TopLevelWindow_CenterOnScreen(*args, **kwargs)
|
||||
|
||||
CentreOnScreen = CenterOnScreen
|
||||
def EnableCloseButton(*args, **kwargs):
|
||||
"""EnableCloseButton(self, bool enable=True) -> bool"""
|
||||
return _windows_.TopLevelWindow_EnableCloseButton(*args, **kwargs)
|
||||
|
||||
def SetTransparent(*args, **kwargs):
|
||||
"""SetTransparent(self, byte alpha) -> bool"""
|
||||
return _windows_.TopLevelWindow_SetTransparent(*args, **kwargs)
|
||||
|
||||
def CanSetTransparent(*args, **kwargs):
|
||||
"""CanSetTransparent(self) -> bool"""
|
||||
return _windows_.TopLevelWindow_CanSetTransparent(*args, **kwargs)
|
||||
|
||||
_windows_.TopLevelWindow_swigregister(TopLevelWindow)
|
||||
cvar = _windows_.cvar
|
||||
FrameNameStr = cvar.FrameNameStr
|
||||
|
||||
@@ -2827,6 +2827,36 @@ SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bo
|
||||
style &= ~wxFRAME_EX_METAL;
|
||||
self->SetExtraStyle(style);
|
||||
}
|
||||
SWIGINTERN bool wxTopLevelWindow_EnableCloseButton(wxTopLevelWindow *self,bool enable=true){ return false; }
|
||||
|
||||
SWIGINTERN int
|
||||
SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
|
||||
{
|
||||
long v = 0;
|
||||
if (SWIG_AsVal_long(obj, &v) && v < 0) {
|
||||
return SWIG_TypeError;
|
||||
}
|
||||
else if (val)
|
||||
*val = (unsigned long)v;
|
||||
return SWIG_OK;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN int
|
||||
SWIG_AsVal_unsigned_SS_char (PyObject * obj, unsigned char *val)
|
||||
{
|
||||
unsigned long v;
|
||||
int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
|
||||
if (SWIG_IsOK(res)) {
|
||||
if ((v > UCHAR_MAX)) {
|
||||
return SWIG_OverflowError;
|
||||
} else {
|
||||
if (val) *val = static_cast< unsigned char >(v);
|
||||
}
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
|
||||
SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
|
||||
@@ -2945,19 +2975,6 @@ IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnG
|
||||
IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
|
||||
|
||||
|
||||
SWIGINTERN int
|
||||
SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
|
||||
{
|
||||
long v = 0;
|
||||
if (SWIG_AsVal_long(obj, &v) && v < 0) {
|
||||
return SWIG_TypeError;
|
||||
}
|
||||
else if (val)
|
||||
*val = (unsigned long)v;
|
||||
return SWIG_OK;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERNINLINE int
|
||||
SWIG_AsVal_size_t (PyObject * obj, size_t *val)
|
||||
{
|
||||
@@ -6046,6 +6063,120 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
|
||||
bool arg2 = (bool) true ;
|
||||
bool result;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
bool val2 ;
|
||||
int ecode2 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "enable", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_EnableCloseButton",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_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
|
||||
if (obj1) {
|
||||
ecode2 = SWIG_AsVal_bool(obj1, &val2);
|
||||
if (!SWIG_IsOK(ecode2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
|
||||
}
|
||||
arg2 = static_cast< bool >(val2);
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (bool)wxTopLevelWindow_EnableCloseButton(arg1,arg2);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTransparent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
|
||||
byte arg2 ;
|
||||
bool result;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
unsigned char val2 ;
|
||||
int ecode2 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "alpha", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTransparent",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_SetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
|
||||
ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2);
|
||||
if (!SWIG_IsOK(ecode2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_SetTransparent" "', expected argument " "2"" of type '" "byte""'");
|
||||
}
|
||||
arg2 = static_cast< byte >(val2);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (bool)(arg1)->SetTransparent(arg2);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_TopLevelWindow_CanSetTransparent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 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_wxTopLevelWindow, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CanSetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (bool)(arg1)->CanSetTransparent();
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
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;
|
||||
@@ -30621,6 +30752,9 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
|
||||
{ (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (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_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},
|
||||
|
||||
+38
-15
@@ -895,13 +895,13 @@ class FrameManager(_core.EvtHandler):
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, Frame frame=None, int flags=AUI_MGR_DEFAULT) -> FrameManager
|
||||
__init__(self, Window managed_wnd=None, int flags=AUI_MGR_DEFAULT) -> FrameManager
|
||||
|
||||
Constructor.
|
||||
|
||||
:param frame: Specifies the `wx.Frame` which should be managed.
|
||||
If not set in the call to this constructor then `SetFrame`
|
||||
should be called.
|
||||
:param managed_wnd: Specifies the `wx.Window` which should be
|
||||
managed. If not set in the call to this constructor then
|
||||
`SetManagedWindow` should be called later.
|
||||
|
||||
:param flags: Specifies options which allow the frame management
|
||||
behavior to be modified.
|
||||
@@ -916,7 +916,7 @@ class FrameManager(_core.EvtHandler):
|
||||
|
||||
UnInit uninitializes the framework and should be called before a
|
||||
managed frame is destroyed. UnInit is usually called in the managed
|
||||
wx.Frame's destructor.
|
||||
window's destructor.
|
||||
|
||||
"""
|
||||
return _aui.FrameManager_UnInit(*args, **kwargs)
|
||||
@@ -940,26 +940,28 @@ class FrameManager(_core.EvtHandler):
|
||||
"""
|
||||
return _aui.FrameManager_GetFlags(*args, **kwargs)
|
||||
|
||||
def SetFrame(*args, **kwargs):
|
||||
def SetManagedWindow(*args, **kwargs):
|
||||
"""
|
||||
SetFrame(self, Window frame)
|
||||
SetManagedWindow(self, Window managed_wnd)
|
||||
|
||||
SetFrame is called to specify the frame which is to be managed by the
|
||||
FrameManager. It only needs to be called if the Frame was not given
|
||||
to the manager in the constructor.
|
||||
SetManagedWindow is called to specify the window which is to be
|
||||
managed by the FrameManager. It is normally a `wx.Frame` but it is
|
||||
possible to also allow docking within any container window. This only
|
||||
needs to be called if the window was not given to the manager in the
|
||||
constructor.
|
||||
|
||||
"""
|
||||
return _aui.FrameManager_SetFrame(*args, **kwargs)
|
||||
return _aui.FrameManager_SetManagedWindow(*args, **kwargs)
|
||||
|
||||
def GetFrame(*args, **kwargs):
|
||||
def GetManagedWindow(*args, **kwargs):
|
||||
"""
|
||||
GetFrame(self) -> Window
|
||||
GetManagedWindow(self) -> Window
|
||||
|
||||
GetFrame returns the frame currently being managed by the
|
||||
GetManagedWindow returns the window currently being managed by the
|
||||
FrameManager.
|
||||
|
||||
"""
|
||||
return _aui.FrameManager_GetFrame(*args, **kwargs)
|
||||
return _aui.FrameManager_GetManagedWindow(*args, **kwargs)
|
||||
|
||||
def SetArtProvider(*args, **kwargs):
|
||||
"""
|
||||
@@ -1009,6 +1011,10 @@ class FrameManager(_core.EvtHandler):
|
||||
"""_AddPane1(self, Window window, PaneInfo pane_info) -> bool"""
|
||||
return _aui.FrameManager__AddPane1(*args, **kwargs)
|
||||
|
||||
def AddPaneAtPos(*args, **kwargs):
|
||||
"""AddPaneAtPos(self, Window window, PaneInfo pane_info, Point drop_pos) -> bool"""
|
||||
return _aui.FrameManager_AddPaneAtPos(*args, **kwargs)
|
||||
|
||||
def _AddPane2(*args, **kwargs):
|
||||
"""_AddPane2(self, Window window, int direction=LEFT, String caption=wxEmptyString) -> bool"""
|
||||
return _aui.FrameManager__AddPane2(*args, **kwargs)
|
||||
@@ -1079,6 +1085,18 @@ class FrameManager(_core.EvtHandler):
|
||||
"""
|
||||
return _aui.FrameManager_Update(*args, **kwargs)
|
||||
|
||||
def DrawHintRect(*args, **kwargs):
|
||||
"""DrawHintRect(self, Window pane_window, Point pt, Point offset)"""
|
||||
return _aui.FrameManager_DrawHintRect(*args, **kwargs)
|
||||
|
||||
def ShowHint(*args, **kwargs):
|
||||
"""ShowHint(self, Rect rect)"""
|
||||
return _aui.FrameManager_ShowHint(*args, **kwargs)
|
||||
|
||||
def HideHint(*args, **kwargs):
|
||||
"""HideHint(self)"""
|
||||
return _aui.FrameManager_HideHint(*args, **kwargs)
|
||||
|
||||
def OnRender(*args, **kwargs):
|
||||
"""OnRender(self, FrameManagerEvent evt)"""
|
||||
return _aui.FrameManager_OnRender(*args, **kwargs)
|
||||
@@ -1133,6 +1151,11 @@ class FrameManager(_core.EvtHandler):
|
||||
caption = ""
|
||||
return self._AddPane2(window, info, caption)
|
||||
|
||||
SetFrame = wx._deprecated(SetManagedWindow,
|
||||
"SetFrame is deprecated, use `SetManagedWindow` instead.")
|
||||
GetFrame = wx._deprecated(GetManagedWindow,
|
||||
"GetFrame is deprecated, use `GetManagedWindow` instead.")
|
||||
|
||||
_aui.FrameManager_swigregister(FrameManager)
|
||||
|
||||
class FrameManagerEvent(_core.Event):
|
||||
|
||||
+201
-22
@@ -5795,7 +5795,7 @@ fail:
|
||||
SWIGINTERN PyObject *_wrap_PaneInfo_frame_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
|
||||
wxWindow *arg2 = (wxWindow *) 0 ;
|
||||
wxFrame *arg2 = (wxFrame *) 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
void *argp2 = 0 ;
|
||||
@@ -5808,11 +5808,11 @@ SWIGINTERN PyObject *_wrap_PaneInfo_frame_set(PyObject *SWIGUNUSEDPARM(self), Py
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_frame_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
|
||||
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, SWIG_POINTER_DISOWN | 0 );
|
||||
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxFrame, SWIG_POINTER_DISOWN | 0 );
|
||||
if (!SWIG_IsOK(res2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_frame_set" "', expected argument " "2"" of type '" "wxWindow *""'");
|
||||
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_frame_set" "', expected argument " "2"" of type '" "wxFrame *""'");
|
||||
}
|
||||
arg2 = reinterpret_cast< wxWindow * >(argp2);
|
||||
arg2 = reinterpret_cast< wxFrame * >(argp2);
|
||||
if (arg1) (arg1)->frame = arg2;
|
||||
|
||||
resultobj = SWIG_Py_Void();
|
||||
@@ -5825,7 +5825,7 @@ fail:
|
||||
SWIGINTERN PyObject *_wrap_PaneInfo_frame_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
|
||||
wxWindow *result = 0 ;
|
||||
wxFrame *result = 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
PyObject *swig_obj[1] ;
|
||||
@@ -5837,7 +5837,7 @@ SWIGINTERN PyObject *_wrap_PaneInfo_frame_get(PyObject *SWIGUNUSEDPARM(self), Py
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_frame_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
|
||||
result = (wxWindow *) ((arg1)->frame);
|
||||
result = (wxFrame *) ((arg1)->frame);
|
||||
{
|
||||
resultobj = wxPyMake_wxObject(result, 0);
|
||||
}
|
||||
@@ -6557,7 +6557,7 @@ SWIGINTERN PyObject *PaneInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject
|
||||
|
||||
SWIGINTERN PyObject *_wrap_new_FrameManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxFrame *arg1 = (wxFrame *) NULL ;
|
||||
wxWindow *arg1 = (wxWindow *) NULL ;
|
||||
int arg2 = (int) wxAUI_MGR_DEFAULT ;
|
||||
wxFrameManager *result = 0 ;
|
||||
void *argp1 = 0 ;
|
||||
@@ -6567,16 +6567,16 @@ SWIGINTERN PyObject *_wrap_new_FrameManager(PyObject *SWIGUNUSEDPARM(self), PyOb
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "frame",(char *) "flags", NULL
|
||||
(char *) "managed_wnd",(char *) "flags", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FrameManager",kwnames,&obj0,&obj1)) SWIG_fail;
|
||||
if (obj0) {
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FrameManager" "', expected argument " "1"" of type '" "wxFrame *""'");
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FrameManager" "', expected argument " "1"" of type '" "wxWindow *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxFrame * >(argp1);
|
||||
arg1 = reinterpret_cast< wxWindow * >(argp1);
|
||||
}
|
||||
if (obj1) {
|
||||
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
||||
@@ -6719,7 +6719,7 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_FrameManager_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
SWIGINTERN PyObject *_wrap_FrameManager_SetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxFrameManager *arg1 = (wxFrameManager *) 0 ;
|
||||
wxWindow *arg2 = (wxWindow *) 0 ;
|
||||
@@ -6730,23 +6730,23 @@ SWIGINTERN PyObject *_wrap_FrameManager_SetFrame(PyObject *SWIGUNUSEDPARM(self),
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "frame", NULL
|
||||
(char *) "self",(char *) "managed_wnd", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_SetManagedWindow",kwnames,&obj0,&obj1)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SetFrame" "', expected argument " "1"" of type '" "wxFrameManager *""'");
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SetManagedWindow" "', expected argument " "1"" of type '" "wxFrameManager *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxFrameManager * >(argp1);
|
||||
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
|
||||
if (!SWIG_IsOK(res2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_SetFrame" "', expected argument " "2"" of type '" "wxWindow *""'");
|
||||
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_SetManagedWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
|
||||
}
|
||||
arg2 = reinterpret_cast< wxWindow * >(argp2);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->SetFrame(arg2);
|
||||
(arg1)->SetManagedWindow(arg2);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
@@ -6757,7 +6757,7 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_FrameManager_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
SWIGINTERN PyObject *_wrap_FrameManager_GetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxFrameManager *arg1 = (wxFrameManager *) 0 ;
|
||||
wxWindow *result = 0 ;
|
||||
@@ -6769,12 +6769,12 @@ SWIGINTERN PyObject *_wrap_FrameManager_GetFrame(PyObject *SWIGUNUSEDPARM(self),
|
||||
swig_obj[0] = args;
|
||||
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_GetFrame" "', expected argument " "1"" of type '" "wxFrameManager const *""'");
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_GetManagedWindow" "', expected argument " "1"" of type '" "wxFrameManager const *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxFrameManager * >(argp1);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (wxWindow *)((wxFrameManager const *)arg1)->GetFrame();
|
||||
result = (wxWindow *)((wxFrameManager const *)arg1)->GetManagedWindow();
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
@@ -7032,6 +7032,66 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_FrameManager_AddPaneAtPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxFrameManager *arg1 = (wxFrameManager *) 0 ;
|
||||
wxWindow *arg2 = (wxWindow *) 0 ;
|
||||
wxPaneInfo *arg3 = 0 ;
|
||||
wxPoint *arg4 = 0 ;
|
||||
bool result;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
void *argp2 = 0 ;
|
||||
int res2 = 0 ;
|
||||
void *argp3 = 0 ;
|
||||
int res3 = 0 ;
|
||||
wxPoint temp4 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
PyObject * obj3 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "window",(char *) "pane_info",(char *) "drop_pos", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FrameManager_AddPaneAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_AddPaneAtPos" "', expected argument " "1"" of type '" "wxFrameManager *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxFrameManager * >(argp1);
|
||||
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
|
||||
if (!SWIG_IsOK(res2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_AddPaneAtPos" "', expected argument " "2"" of type '" "wxWindow *""'");
|
||||
}
|
||||
arg2 = reinterpret_cast< wxWindow * >(argp2);
|
||||
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 | 0);
|
||||
if (!SWIG_IsOK(res3)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrameManager_AddPaneAtPos" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
|
||||
}
|
||||
if (!argp3) {
|
||||
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_AddPaneAtPos" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
|
||||
}
|
||||
arg3 = reinterpret_cast< wxPaneInfo * >(argp3);
|
||||
{
|
||||
arg4 = &temp4;
|
||||
if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (bool)(arg1)->AddPane(arg2,(wxPaneInfo const &)*arg3,(wxPoint const &)*arg4);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_FrameManager__AddPane2(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxFrameManager *arg1 = (wxFrameManager *) 0 ;
|
||||
@@ -7328,6 +7388,121 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_FrameManager_DrawHintRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxFrameManager *arg1 = (wxFrameManager *) 0 ;
|
||||
wxWindow *arg2 = (wxWindow *) 0 ;
|
||||
wxPoint *arg3 = 0 ;
|
||||
wxPoint *arg4 = 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
void *argp2 = 0 ;
|
||||
int res2 = 0 ;
|
||||
wxPoint temp3 ;
|
||||
wxPoint temp4 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
PyObject * obj3 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "pane_window",(char *) "pt",(char *) "offset", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FrameManager_DrawHintRect",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_DrawHintRect" "', expected argument " "1"" of type '" "wxFrameManager *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxFrameManager * >(argp1);
|
||||
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
|
||||
if (!SWIG_IsOK(res2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_DrawHintRect" "', expected argument " "2"" of type '" "wxWindow *""'");
|
||||
}
|
||||
arg2 = reinterpret_cast< wxWindow * >(argp2);
|
||||
{
|
||||
arg3 = &temp3;
|
||||
if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
|
||||
}
|
||||
{
|
||||
arg4 = &temp4;
|
||||
if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->DrawHintRect(arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_Py_Void();
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_FrameManager_ShowHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxFrameManager *arg1 = (wxFrameManager *) 0 ;
|
||||
wxRect *arg2 = 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
wxRect temp2 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "rect", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_ShowHint",kwnames,&obj0,&obj1)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_ShowHint" "', expected argument " "1"" of type '" "wxFrameManager *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxFrameManager * >(argp1);
|
||||
{
|
||||
arg2 = &temp2;
|
||||
if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->ShowHint((wxRect const &)*arg2);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_Py_Void();
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_FrameManager_HideHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxFrameManager *arg1 = (wxFrameManager *) 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_wxFrameManager, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_HideHint" "', expected argument " "1"" of type '" "wxFrameManager *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxFrameManager * >(argp1);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->HideHint();
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_Py_Void();
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_FrameManager_OnRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxFrameManager *arg1 = (wxFrameManager *) 0 ;
|
||||
@@ -10317,20 +10492,24 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"FrameManager_UnInit", (PyCFunction)_wrap_FrameManager_UnInit, METH_O, NULL},
|
||||
{ (char *)"FrameManager_SetFlags", (PyCFunction) _wrap_FrameManager_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"FrameManager_GetFlags", (PyCFunction)_wrap_FrameManager_GetFlags, METH_O, NULL},
|
||||
{ (char *)"FrameManager_SetFrame", (PyCFunction) _wrap_FrameManager_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"FrameManager_GetFrame", (PyCFunction)_wrap_FrameManager_GetFrame, METH_O, NULL},
|
||||
{ (char *)"FrameManager_SetManagedWindow", (PyCFunction) _wrap_FrameManager_SetManagedWindow, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"FrameManager_GetManagedWindow", (PyCFunction)_wrap_FrameManager_GetManagedWindow, METH_O, NULL},
|
||||
{ (char *)"FrameManager_SetArtProvider", (PyCFunction) _wrap_FrameManager_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"FrameManager_GetArtProvider", (PyCFunction)_wrap_FrameManager_GetArtProvider, METH_O, NULL},
|
||||
{ (char *)"FrameManager__GetPaneByWidget", (PyCFunction) _wrap_FrameManager__GetPaneByWidget, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"FrameManager__GetPaneByName", (PyCFunction) _wrap_FrameManager__GetPaneByName, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"FrameManager_GetAllPanes", (PyCFunction)_wrap_FrameManager_GetAllPanes, METH_O, NULL},
|
||||
{ (char *)"FrameManager__AddPane1", (PyCFunction) _wrap_FrameManager__AddPane1, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"FrameManager_AddPaneAtPos", (PyCFunction) _wrap_FrameManager_AddPaneAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"FrameManager__AddPane2", (PyCFunction) _wrap_FrameManager__AddPane2, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"FrameManager_InsertPane", (PyCFunction) _wrap_FrameManager_InsertPane, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"FrameManager_DetachPane", (PyCFunction) _wrap_FrameManager_DetachPane, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"FrameManager_SavePerspective", (PyCFunction)_wrap_FrameManager_SavePerspective, METH_O, NULL},
|
||||
{ (char *)"FrameManager_LoadPerspective", (PyCFunction) _wrap_FrameManager_LoadPerspective, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"FrameManager_Update", (PyCFunction)_wrap_FrameManager_Update, METH_O, NULL},
|
||||
{ (char *)"FrameManager_DrawHintRect", (PyCFunction) _wrap_FrameManager_DrawHintRect, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"FrameManager_ShowHint", (PyCFunction) _wrap_FrameManager_ShowHint, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"FrameManager_HideHint", (PyCFunction)_wrap_FrameManager_HideHint, METH_O, NULL},
|
||||
{ (char *)"FrameManager_OnRender", (PyCFunction) _wrap_FrameManager_OnRender, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"FrameManager_OnPaneButton", (PyCFunction) _wrap_FrameManager_OnPaneButton, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"FrameManager_swigregister", FrameManager_swigregister, METH_VARARGS, NULL},
|
||||
|
||||
@@ -1566,7 +1566,7 @@ class HtmlHelpWindow(_core.Window):
|
||||
return _html.HtmlHelpWindow_GetCfgData(*args, **kwargs)
|
||||
|
||||
def GetTreeCtrl(*args, **kwargs):
|
||||
"""GetTreeCtrl(self) -> wxTreeCtrl"""
|
||||
"""GetTreeCtrl(self) -> wxPyTreeCtrl"""
|
||||
return _html.HtmlHelpWindow_GetTreeCtrl(*args, **kwargs)
|
||||
|
||||
_html.HtmlHelpWindow_swigregister(HtmlHelpWindow)
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -3272,7 +3272,7 @@ class Treebook(BookCtrlBase):
|
||||
return _controls_.Treebook_GetPageParent(*args, **kwargs)
|
||||
|
||||
def GetTreeCtrl(*args, **kwargs):
|
||||
"""GetTreeCtrl(self) -> wxTreeCtrl"""
|
||||
"""GetTreeCtrl(self) -> TreeCtrl"""
|
||||
return _controls_.Treebook_GetTreeCtrl(*args, **kwargs)
|
||||
|
||||
_controls_.Treebook_swigregister(Treebook)
|
||||
|
||||
@@ -2625,21 +2625,20 @@ SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags)
|
||||
#define SWIGTYPE_p_wxToolBarToolBase swig_types[159]
|
||||
#define SWIGTYPE_p_wxToolbook swig_types[160]
|
||||
#define SWIGTYPE_p_wxToolbookEvent swig_types[161]
|
||||
#define SWIGTYPE_p_wxTreeCtrl swig_types[162]
|
||||
#define SWIGTYPE_p_wxTreeEvent swig_types[163]
|
||||
#define SWIGTYPE_p_wxTreeItemId swig_types[164]
|
||||
#define SWIGTYPE_p_wxTreebook swig_types[165]
|
||||
#define SWIGTYPE_p_wxTreebookEvent swig_types[166]
|
||||
#define SWIGTYPE_p_wxUpdateUIEvent swig_types[167]
|
||||
#define SWIGTYPE_p_wxValidator swig_types[168]
|
||||
#define SWIGTYPE_p_wxVisualAttributes swig_types[169]
|
||||
#define SWIGTYPE_p_wxWindow swig_types[170]
|
||||
#define SWIGTYPE_p_wxWindowBase swig_types[171]
|
||||
#define SWIGTYPE_p_wxWindowCreateEvent swig_types[172]
|
||||
#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[173]
|
||||
#define SWIGTYPE_p_wxXPMHandler swig_types[174]
|
||||
static swig_type_info *swig_types[176];
|
||||
static swig_module_info swig_module = {swig_types, 175, 0, 0, 0, 0};
|
||||
#define SWIGTYPE_p_wxTreeEvent swig_types[162]
|
||||
#define SWIGTYPE_p_wxTreeItemId swig_types[163]
|
||||
#define SWIGTYPE_p_wxTreebook swig_types[164]
|
||||
#define SWIGTYPE_p_wxTreebookEvent swig_types[165]
|
||||
#define SWIGTYPE_p_wxUpdateUIEvent swig_types[166]
|
||||
#define SWIGTYPE_p_wxValidator swig_types[167]
|
||||
#define SWIGTYPE_p_wxVisualAttributes swig_types[168]
|
||||
#define SWIGTYPE_p_wxWindow swig_types[169]
|
||||
#define SWIGTYPE_p_wxWindowBase swig_types[170]
|
||||
#define SWIGTYPE_p_wxWindowCreateEvent swig_types[171]
|
||||
#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[172]
|
||||
#define SWIGTYPE_p_wxXPMHandler swig_types[173]
|
||||
static swig_type_info *swig_types[175];
|
||||
static swig_module_info swig_module = {swig_types, 174, 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)
|
||||
|
||||
@@ -22175,7 +22174,7 @@ fail:
|
||||
SWIGINTERN PyObject *_wrap_Treebook_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxTreebook *arg1 = (wxTreebook *) 0 ;
|
||||
wxTreeCtrl *result = 0 ;
|
||||
wxPyTreeCtrl *result = 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
PyObject *swig_obj[1] ;
|
||||
@@ -22189,11 +22188,13 @@ SWIGINTERN PyObject *_wrap_Treebook_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self),
|
||||
arg1 = reinterpret_cast< wxTreebook * >(argp1);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (wxTreeCtrl *)((wxTreebook const *)arg1)->GetTreeCtrl();
|
||||
result = (wxPyTreeCtrl *)((wxTreebook const *)arg1)->GetTreeCtrl();
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeCtrl, 0 | 0 );
|
||||
{
|
||||
resultobj = wxPyMake_wxObject(result, (bool)0);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@@ -47713,7 +47714,6 @@ static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", "wxToolBarB
|
||||
static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_wxTreeCtrl = {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
|
||||
@@ -47886,7 +47886,6 @@ static swig_type_info *swig_type_initial[] = {
|
||||
&_swigt__p_wxToolBarToolBase,
|
||||
&_swigt__p_wxToolbook,
|
||||
&_swigt__p_wxToolbookEvent,
|
||||
&_swigt__p_wxTreeCtrl,
|
||||
&_swigt__p_wxTreeEvent,
|
||||
&_swigt__p_wxTreeItemId,
|
||||
&_swigt__p_wxTreebook,
|
||||
@@ -48067,7 +48066,6 @@ static swig_cast_info _swigc__p_wxToolBarBase[] = { {&_swigt__p_wxToolBarBase,
|
||||
static swig_cast_info _swigc__p_wxToolBarToolBase[] = { {&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_wxToolbook[] = { {&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_wxToolbookEvent[] = { {&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_wxTreeCtrl[] = { {&_swigt__p_wxTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_wxTreeEvent[] = { {&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_wxTreebook[] = { {&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
|
||||
@@ -48240,7 +48238,6 @@ static swig_cast_info *swig_cast_initial[] = {
|
||||
_swigc__p_wxToolBarToolBase,
|
||||
_swigc__p_wxToolbook,
|
||||
_swigc__p_wxToolbookEvent,
|
||||
_swigc__p_wxTreeCtrl,
|
||||
_swigc__p_wxTreeEvent,
|
||||
_swigc__p_wxTreeItemId,
|
||||
_swigc__p_wxTreebook,
|
||||
|
||||
@@ -8302,6 +8302,14 @@ class Window(EvtHandler):
|
||||
"""
|
||||
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
|
||||
|
||||
@@ -32930,6 +32930,36 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
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 ;
|
||||
@@ -53679,6 +53709,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (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},
|
||||
|
||||
@@ -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;
|
||||
@@ -37816,7 +37821,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 +37987,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 +38167,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 +38333,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,
|
||||
|
||||
@@ -427,6 +427,18 @@ class TopLevelWindow(_core.Window):
|
||||
return _windows_.TopLevelWindow_CenterOnScreen(*args, **kwargs)
|
||||
|
||||
CentreOnScreen = CenterOnScreen
|
||||
def EnableCloseButton(*args, **kwargs):
|
||||
"""EnableCloseButton(self, bool enable=True) -> bool"""
|
||||
return _windows_.TopLevelWindow_EnableCloseButton(*args, **kwargs)
|
||||
|
||||
def SetTransparent(*args, **kwargs):
|
||||
"""SetTransparent(self, byte alpha) -> bool"""
|
||||
return _windows_.TopLevelWindow_SetTransparent(*args, **kwargs)
|
||||
|
||||
def CanSetTransparent(*args, **kwargs):
|
||||
"""CanSetTransparent(self) -> bool"""
|
||||
return _windows_.TopLevelWindow_CanSetTransparent(*args, **kwargs)
|
||||
|
||||
_windows_.TopLevelWindow_swigregister(TopLevelWindow)
|
||||
cvar = _windows_.cvar
|
||||
FrameNameStr = cvar.FrameNameStr
|
||||
|
||||
@@ -2822,6 +2822,35 @@ SWIG_AsVal_double (PyObject *obj, double* val)
|
||||
SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
|
||||
SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
|
||||
|
||||
SWIGINTERN int
|
||||
SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
|
||||
{
|
||||
long v = 0;
|
||||
if (SWIG_AsVal_long(obj, &v) && v < 0) {
|
||||
return SWIG_TypeError;
|
||||
}
|
||||
else if (val)
|
||||
*val = (unsigned long)v;
|
||||
return SWIG_OK;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN int
|
||||
SWIG_AsVal_unsigned_SS_char (PyObject * obj, unsigned char *val)
|
||||
{
|
||||
unsigned long v;
|
||||
int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
|
||||
if (SWIG_IsOK(res)) {
|
||||
if ((v > UCHAR_MAX)) {
|
||||
return SWIG_OverflowError;
|
||||
} else {
|
||||
if (val) *val = static_cast< unsigned char >(v);
|
||||
}
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
|
||||
SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
|
||||
wxRect r;
|
||||
@@ -2944,19 +2973,6 @@ IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnG
|
||||
IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
|
||||
|
||||
|
||||
SWIGINTERN int
|
||||
SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
|
||||
{
|
||||
long v = 0;
|
||||
if (SWIG_AsVal_long(obj, &v) && v < 0) {
|
||||
return SWIG_TypeError;
|
||||
}
|
||||
else if (val)
|
||||
*val = (unsigned long)v;
|
||||
return SWIG_OK;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERNINLINE int
|
||||
SWIG_AsVal_size_t (PyObject * obj, size_t *val)
|
||||
{
|
||||
@@ -6045,6 +6061,120 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
|
||||
bool arg2 = (bool) true ;
|
||||
bool result;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
bool val2 ;
|
||||
int ecode2 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "enable", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_EnableCloseButton",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_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
|
||||
if (obj1) {
|
||||
ecode2 = SWIG_AsVal_bool(obj1, &val2);
|
||||
if (!SWIG_IsOK(ecode2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
|
||||
}
|
||||
arg2 = static_cast< bool >(val2);
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (bool)(arg1)->EnableCloseButton(arg2);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTransparent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
|
||||
byte arg2 ;
|
||||
bool result;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
unsigned char val2 ;
|
||||
int ecode2 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "alpha", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTransparent",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_SetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
|
||||
ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2);
|
||||
if (!SWIG_IsOK(ecode2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_SetTransparent" "', expected argument " "2"" of type '" "byte""'");
|
||||
}
|
||||
arg2 = static_cast< byte >(val2);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (bool)(arg1)->SetTransparent(arg2);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_TopLevelWindow_CanSetTransparent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 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_wxTopLevelWindow, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CanSetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (bool)(arg1)->CanSetTransparent();
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
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;
|
||||
@@ -30889,6 +31019,9 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
|
||||
{ (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (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_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},
|
||||
|
||||
+279
-15
@@ -167,6 +167,7 @@ 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_DEFAULT = _aui.AUI_MGR_DEFAULT
|
||||
AUI_ART_SASH_SIZE = _aui.AUI_ART_SASH_SIZE
|
||||
AUI_ART_CAPTION_SIZE = _aui.AUI_ART_CAPTION_SIZE
|
||||
@@ -895,13 +896,13 @@ class FrameManager(_core.EvtHandler):
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, Frame frame=None, int flags=AUI_MGR_DEFAULT) -> FrameManager
|
||||
__init__(self, Window managed_wnd=None, int flags=AUI_MGR_DEFAULT) -> FrameManager
|
||||
|
||||
Constructor.
|
||||
|
||||
:param frame: Specifies the `wx.Frame` which should be managed.
|
||||
If not set in the call to this constructor then `SetFrame`
|
||||
should be called.
|
||||
:param managed_wnd: Specifies the `wx.Window` which should be
|
||||
managed. If not set in the call to this constructor then
|
||||
`SetManagedWindow` should be called later.
|
||||
|
||||
:param flags: Specifies options which allow the frame management
|
||||
behavior to be modified.
|
||||
@@ -916,7 +917,7 @@ class FrameManager(_core.EvtHandler):
|
||||
|
||||
UnInit uninitializes the framework and should be called before a
|
||||
managed frame is destroyed. UnInit is usually called in the managed
|
||||
wx.Frame's destructor.
|
||||
window's destructor.
|
||||
|
||||
"""
|
||||
return _aui.FrameManager_UnInit(*args, **kwargs)
|
||||
@@ -940,26 +941,28 @@ class FrameManager(_core.EvtHandler):
|
||||
"""
|
||||
return _aui.FrameManager_GetFlags(*args, **kwargs)
|
||||
|
||||
def SetFrame(*args, **kwargs):
|
||||
def SetManagedWindow(*args, **kwargs):
|
||||
"""
|
||||
SetFrame(self, Window frame)
|
||||
SetManagedWindow(self, Window managed_wnd)
|
||||
|
||||
SetFrame is called to specify the frame which is to be managed by the
|
||||
FrameManager. It only needs to be called if the Frame was not given
|
||||
to the manager in the constructor.
|
||||
SetManagedWindow is called to specify the window which is to be
|
||||
managed by the FrameManager. It is normally a `wx.Frame` but it is
|
||||
possible to also allow docking within any container window. This only
|
||||
needs to be called if the window was not given to the manager in the
|
||||
constructor.
|
||||
|
||||
"""
|
||||
return _aui.FrameManager_SetFrame(*args, **kwargs)
|
||||
return _aui.FrameManager_SetManagedWindow(*args, **kwargs)
|
||||
|
||||
def GetFrame(*args, **kwargs):
|
||||
def GetManagedWindow(*args, **kwargs):
|
||||
"""
|
||||
GetFrame(self) -> Window
|
||||
GetManagedWindow(self) -> Window
|
||||
|
||||
GetFrame returns the frame currently being managed by the
|
||||
GetManagedWindow returns the window currently being managed by the
|
||||
FrameManager.
|
||||
|
||||
"""
|
||||
return _aui.FrameManager_GetFrame(*args, **kwargs)
|
||||
return _aui.FrameManager_GetManagedWindow(*args, **kwargs)
|
||||
|
||||
def SetArtProvider(*args, **kwargs):
|
||||
"""
|
||||
@@ -1009,6 +1012,10 @@ class FrameManager(_core.EvtHandler):
|
||||
"""_AddPane1(self, Window window, PaneInfo pane_info) -> bool"""
|
||||
return _aui.FrameManager__AddPane1(*args, **kwargs)
|
||||
|
||||
def AddPaneAtPos(*args, **kwargs):
|
||||
"""AddPaneAtPos(self, Window window, PaneInfo pane_info, Point drop_pos) -> bool"""
|
||||
return _aui.FrameManager_AddPaneAtPos(*args, **kwargs)
|
||||
|
||||
def _AddPane2(*args, **kwargs):
|
||||
"""_AddPane2(self, Window window, int direction=LEFT, String caption=wxEmptyString) -> bool"""
|
||||
return _aui.FrameManager__AddPane2(*args, **kwargs)
|
||||
@@ -1079,6 +1086,18 @@ class FrameManager(_core.EvtHandler):
|
||||
"""
|
||||
return _aui.FrameManager_Update(*args, **kwargs)
|
||||
|
||||
def DrawHintRect(*args, **kwargs):
|
||||
"""DrawHintRect(self, Window pane_window, Point pt, Point offset)"""
|
||||
return _aui.FrameManager_DrawHintRect(*args, **kwargs)
|
||||
|
||||
def ShowHint(*args, **kwargs):
|
||||
"""ShowHint(self, Rect rect)"""
|
||||
return _aui.FrameManager_ShowHint(*args, **kwargs)
|
||||
|
||||
def HideHint(*args, **kwargs):
|
||||
"""HideHint(self)"""
|
||||
return _aui.FrameManager_HideHint(*args, **kwargs)
|
||||
|
||||
def OnRender(*args, **kwargs):
|
||||
"""OnRender(self, FrameManagerEvent evt)"""
|
||||
return _aui.FrameManager_OnRender(*args, **kwargs)
|
||||
@@ -1133,6 +1152,11 @@ class FrameManager(_core.EvtHandler):
|
||||
caption = ""
|
||||
return self._AddPane2(window, info, caption)
|
||||
|
||||
SetFrame = wx._deprecated(SetManagedWindow,
|
||||
"SetFrame is deprecated, use `SetManagedWindow` instead.")
|
||||
GetFrame = wx._deprecated(GetManagedWindow,
|
||||
"GetFrame is deprecated, use `GetManagedWindow` instead.")
|
||||
|
||||
_aui.FrameManager_swigregister(FrameManager)
|
||||
|
||||
class FrameManagerEvent(_core.Event):
|
||||
@@ -1369,6 +1393,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
|
||||
|
||||
+3454
-228
File diff suppressed because one or more lines are too long
@@ -1566,7 +1566,7 @@ class HtmlHelpWindow(_core.Window):
|
||||
return _html.HtmlHelpWindow_GetCfgData(*args, **kwargs)
|
||||
|
||||
def GetTreeCtrl(*args, **kwargs):
|
||||
"""GetTreeCtrl(self) -> wxTreeCtrl"""
|
||||
"""GetTreeCtrl(self) -> wxPyTreeCtrl"""
|
||||
return _html.HtmlHelpWindow_GetTreeCtrl(*args, **kwargs)
|
||||
|
||||
_html.HtmlHelpWindow_swigregister(HtmlHelpWindow)
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user