mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-21 21:47:55 +08:00
improvements to wxPickerBase default proportion values (patch 1525578)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1922,6 +1922,10 @@ class TextCtrl(_core.Control):
|
||||
"""SetEditable(self, bool editable)"""
|
||||
return _controls_.TextCtrl_SetEditable(*args, **kwargs)
|
||||
|
||||
def MacCheckSpelling(*args, **kwargs):
|
||||
"""MacCheckSpelling(self, bool check)"""
|
||||
return _controls_.TextCtrl_MacCheckSpelling(*args, **kwargs)
|
||||
|
||||
def SendTextUpdatedEvent(*args, **kwargs):
|
||||
"""SendTextUpdatedEvent(self)"""
|
||||
return _controls_.TextCtrl_SendTextUpdatedEvent(*args, **kwargs)
|
||||
|
||||
@@ -2897,6 +2897,7 @@ SWIGINTERN void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
|
||||
#endif
|
||||
}
|
||||
static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
|
||||
SWIGINTERN void wxTextCtrl_MacCheckSpelling(wxTextCtrl *self,bool check){}
|
||||
SWIGINTERN void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
|
||||
self->AppendText(text);
|
||||
}
|
||||
@@ -13831,6 +13832,44 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_TextCtrl_MacCheckSpelling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
|
||||
bool arg2 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
bool val2 ;
|
||||
int ecode2 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "check", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_MacCheckSpelling",kwnames,&obj0,&obj1)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
|
||||
ecode2 = SWIG_AsVal_bool(obj1, &val2);
|
||||
if (!SWIG_IsOK(ecode2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "2"" of type '" "bool""'");
|
||||
}
|
||||
arg2 = static_cast< bool >(val2);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxTextCtrl_MacCheckSpelling(arg1,arg2);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_Py_Void();
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_TextCtrl_SendTextUpdatedEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
|
||||
@@ -46196,6 +46235,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"TextCtrl_SelectAll", (PyCFunction)_wrap_TextCtrl_SelectAll, METH_O, NULL},
|
||||
{ (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"TextCtrl_MacCheckSpelling", (PyCFunction) _wrap_TextCtrl_MacCheckSpelling, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction)_wrap_TextCtrl_SendTextUpdatedEvent, METH_O, NULL},
|
||||
{ (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
|
||||
+36
-28
@@ -638,21 +638,9 @@ class AuiManager(_core.EvtHandler):
|
||||
"""DetachPane(self, Window window) -> bool"""
|
||||
return _aui.AuiManager_DetachPane(*args, **kwargs)
|
||||
|
||||
def ClosePane(*args, **kwargs):
|
||||
"""ClosePane(self, AuiPaneInfo pane_info)"""
|
||||
return _aui.AuiManager_ClosePane(*args, **kwargs)
|
||||
|
||||
def MaximizePane(*args, **kwargs):
|
||||
"""MaximizePane(self, AuiPaneInfo pane_info)"""
|
||||
return _aui.AuiManager_MaximizePane(*args, **kwargs)
|
||||
|
||||
def RestorePane(*args, **kwargs):
|
||||
"""RestorePane(self, AuiPaneInfo pane_info)"""
|
||||
return _aui.AuiManager_RestorePane(*args, **kwargs)
|
||||
|
||||
def RestoreMaximizedPane(*args, **kwargs):
|
||||
"""RestoreMaximizedPane(self)"""
|
||||
return _aui.AuiManager_RestoreMaximizedPane(*args, **kwargs)
|
||||
def Update(*args, **kwargs):
|
||||
"""Update(self)"""
|
||||
return _aui.AuiManager_Update(*args, **kwargs)
|
||||
|
||||
def SavePaneInfo(*args, **kwargs):
|
||||
"""SavePaneInfo(self, AuiPaneInfo pane) -> String"""
|
||||
@@ -670,9 +658,29 @@ class AuiManager(_core.EvtHandler):
|
||||
"""LoadPerspective(self, String perspective, bool update=True) -> bool"""
|
||||
return _aui.AuiManager_LoadPerspective(*args, **kwargs)
|
||||
|
||||
def Update(*args, **kwargs):
|
||||
"""Update(self)"""
|
||||
return _aui.AuiManager_Update(*args, **kwargs)
|
||||
def SetDockSizeConstraint(*args, **kwargs):
|
||||
"""SetDockSizeConstraint(self, double width_pct, double height_pct)"""
|
||||
return _aui.AuiManager_SetDockSizeConstraint(*args, **kwargs)
|
||||
|
||||
def GetDockSizeConstraint(*args, **kwargs):
|
||||
"""GetDockSizeConstraint(self, double width_pct, double height_pct)"""
|
||||
return _aui.AuiManager_GetDockSizeConstraint(*args, **kwargs)
|
||||
|
||||
def ClosePane(*args, **kwargs):
|
||||
"""ClosePane(self, AuiPaneInfo pane_info)"""
|
||||
return _aui.AuiManager_ClosePane(*args, **kwargs)
|
||||
|
||||
def MaximizePane(*args, **kwargs):
|
||||
"""MaximizePane(self, AuiPaneInfo pane_info)"""
|
||||
return _aui.AuiManager_MaximizePane(*args, **kwargs)
|
||||
|
||||
def RestorePane(*args, **kwargs):
|
||||
"""RestorePane(self, AuiPaneInfo pane_info)"""
|
||||
return _aui.AuiManager_RestorePane(*args, **kwargs)
|
||||
|
||||
def RestoreMaximizedPane(*args, **kwargs):
|
||||
"""RestoreMaximizedPane(self)"""
|
||||
return _aui.AuiManager_RestoreMaximizedPane(*args, **kwargs)
|
||||
|
||||
def CreateFloatingFrame(*args, **kwargs):
|
||||
"""CreateFloatingFrame(self, Window parent, AuiPaneInfo p) -> AuiFloatingFrame"""
|
||||
@@ -906,18 +914,18 @@ class AuiPaneButton(object):
|
||||
__del__ = lambda self : None;
|
||||
_aui.AuiPaneButton_swigregister(AuiPaneButton)
|
||||
|
||||
wxEVT_AUI_PANEBUTTON = _aui.wxEVT_AUI_PANEBUTTON
|
||||
wxEVT_AUI_PANECLOSE = _aui.wxEVT_AUI_PANECLOSE
|
||||
wxEVT_AUI_PANEMAXIMIZE = _aui.wxEVT_AUI_PANEMAXIMIZE
|
||||
wxEVT_AUI_PANERESTORE = _aui.wxEVT_AUI_PANERESTORE
|
||||
wxEVT_AUI_PANE_BUTTON = _aui.wxEVT_AUI_PANE_BUTTON
|
||||
wxEVT_AUI_PANE_CLOSE = _aui.wxEVT_AUI_PANE_CLOSE
|
||||
wxEVT_AUI_PANE_MAXIMIZE = _aui.wxEVT_AUI_PANE_MAXIMIZE
|
||||
wxEVT_AUI_PANE_RESTORE = _aui.wxEVT_AUI_PANE_RESTORE
|
||||
wxEVT_AUI_RENDER = _aui.wxEVT_AUI_RENDER
|
||||
wxEVT_AUI_FINDMANAGER = _aui.wxEVT_AUI_FINDMANAGER
|
||||
EVT_AUI_PANEBUTTON = wx.PyEventBinder( wxEVT_AUI_PANEBUTTON )
|
||||
EVT_AUI_PANECLOSE = wx.PyEventBinder( wxEVT_AUI_PANECLOSE )
|
||||
EVT_AUI_PANEMAXIMIZE = wx.PyEventBinder( wxEVT_AUI_PANEMAXIMIZE )
|
||||
EVT_AUI_PANERESTORE = wx.PyEventBinder( wxEVT_AUI_PANERESTORE )
|
||||
wxEVT_AUI_FIND_MANAGER = _aui.wxEVT_AUI_FIND_MANAGER
|
||||
EVT_AUI_PANE_BUTTON = wx.PyEventBinder( wxEVT_AUI_PANE_BUTTON )
|
||||
EVT_AUI_PANE_CLOSE = wx.PyEventBinder( wxEVT_AUI_PANE_CLOSE )
|
||||
EVT_AUI_PANE_MAXIMIZE = wx.PyEventBinder( wxEVT_AUI_PANE_MAXIMIZE )
|
||||
EVT_AUI_PANE_RESTORE = wx.PyEventBinder( wxEVT_AUI_PANE_RESTORE )
|
||||
EVT_AUI_RENDER = wx.PyEventBinder( wxEVT_AUI_RENDER )
|
||||
EVT_AUI_FINDMANAGER = wx.PyEventBinder( wxEVT_AUI_FINDMANAGER )
|
||||
EVT_AUI_FIND_MANAGER = wx.PyEventBinder( wxEVT_AUI_FIND_MANAGER )
|
||||
|
||||
class AuiDockArt(object):
|
||||
"""Proxy of C++ AuiDockArt class"""
|
||||
|
||||
+485
-373
File diff suppressed because it is too large
Load Diff
@@ -701,14 +701,6 @@ class ComboBox(_core.Control,_core.ItemContainer):
|
||||
"""
|
||||
return _controls_.ComboBox_SetStringSelection(*args, **kwargs)
|
||||
|
||||
def SetString(*args, **kwargs):
|
||||
"""
|
||||
SetString(self, int n, String string)
|
||||
|
||||
Set the label for the n'th item (zero based) in the list.
|
||||
"""
|
||||
return _controls_.ComboBox_SetString(*args, **kwargs)
|
||||
|
||||
def SetEditable(*args, **kwargs):
|
||||
"""SetEditable(self, bool editable)"""
|
||||
return _controls_.ComboBox_SetEditable(*args, **kwargs)
|
||||
@@ -1923,6 +1915,10 @@ class TextCtrl(_core.Control):
|
||||
"""SetEditable(self, bool editable)"""
|
||||
return _controls_.TextCtrl_SetEditable(*args, **kwargs)
|
||||
|
||||
def MacCheckSpelling(*args, **kwargs):
|
||||
"""MacCheckSpelling(self, bool check)"""
|
||||
return _controls_.TextCtrl_MacCheckSpelling(*args, **kwargs)
|
||||
|
||||
def SendTextUpdatedEvent(*args, **kwargs):
|
||||
"""SendTextUpdatedEvent(self)"""
|
||||
return _controls_.TextCtrl_SendTextUpdatedEvent(*args, **kwargs)
|
||||
|
||||
@@ -6261,60 +6261,6 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_ComboBox_SetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxComboBox *arg1 = (wxComboBox *) 0 ;
|
||||
int arg2 ;
|
||||
wxString *arg3 = 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
int val2 ;
|
||||
int ecode2 = 0 ;
|
||||
bool temp3 = false ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "n",(char *) "string", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxComboBox * >(argp1);
|
||||
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
||||
if (!SWIG_IsOK(ecode2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
|
||||
}
|
||||
arg2 = static_cast< int >(val2);
|
||||
{
|
||||
arg3 = wxString_in_helper(obj2);
|
||||
if (arg3 == NULL) SWIG_fail;
|
||||
temp3 = true;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->SetString(arg2,(wxString const &)*arg3);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_Py_Void();
|
||||
{
|
||||
if (temp3)
|
||||
delete arg3;
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
{
|
||||
if (temp3)
|
||||
delete arg3;
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_ComboBox_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxComboBox *arg1 = (wxComboBox *) 0 ;
|
||||
@@ -13810,6 +13756,44 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_TextCtrl_MacCheckSpelling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
|
||||
bool arg2 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
bool val2 ;
|
||||
int ecode2 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "check", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_MacCheckSpelling",kwnames,&obj0,&obj1)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
|
||||
ecode2 = SWIG_AsVal_bool(obj1, &val2);
|
||||
if (!SWIG_IsOK(ecode2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "2"" of type '" "bool""'");
|
||||
}
|
||||
arg2 = static_cast< bool >(val2);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->MacCheckSpelling(arg2);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_Py_Void();
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_TextCtrl_SendTextUpdatedEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
|
||||
@@ -45992,7 +45976,6 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"ComboBox_GetCurrentSelection", (PyCFunction)_wrap_ComboBox_GetCurrentSelection, METH_O, NULL},
|
||||
{ (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction)_wrap_ComboBox_SetInsertionPointEnd, METH_O, NULL},
|
||||
{ (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
@@ -46174,6 +46157,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"TextCtrl_SelectAll", (PyCFunction)_wrap_TextCtrl_SelectAll, METH_O, NULL},
|
||||
{ (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"TextCtrl_MacCheckSpelling", (PyCFunction) _wrap_TextCtrl_MacCheckSpelling, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction)_wrap_TextCtrl_SendTextUpdatedEvent, METH_O, NULL},
|
||||
{ (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
|
||||
+36
-28
@@ -638,21 +638,9 @@ class AuiManager(_core.EvtHandler):
|
||||
"""DetachPane(self, Window window) -> bool"""
|
||||
return _aui.AuiManager_DetachPane(*args, **kwargs)
|
||||
|
||||
def ClosePane(*args, **kwargs):
|
||||
"""ClosePane(self, AuiPaneInfo pane_info)"""
|
||||
return _aui.AuiManager_ClosePane(*args, **kwargs)
|
||||
|
||||
def MaximizePane(*args, **kwargs):
|
||||
"""MaximizePane(self, AuiPaneInfo pane_info)"""
|
||||
return _aui.AuiManager_MaximizePane(*args, **kwargs)
|
||||
|
||||
def RestorePane(*args, **kwargs):
|
||||
"""RestorePane(self, AuiPaneInfo pane_info)"""
|
||||
return _aui.AuiManager_RestorePane(*args, **kwargs)
|
||||
|
||||
def RestoreMaximizedPane(*args, **kwargs):
|
||||
"""RestoreMaximizedPane(self)"""
|
||||
return _aui.AuiManager_RestoreMaximizedPane(*args, **kwargs)
|
||||
def Update(*args, **kwargs):
|
||||
"""Update(self)"""
|
||||
return _aui.AuiManager_Update(*args, **kwargs)
|
||||
|
||||
def SavePaneInfo(*args, **kwargs):
|
||||
"""SavePaneInfo(self, AuiPaneInfo pane) -> String"""
|
||||
@@ -670,9 +658,29 @@ class AuiManager(_core.EvtHandler):
|
||||
"""LoadPerspective(self, String perspective, bool update=True) -> bool"""
|
||||
return _aui.AuiManager_LoadPerspective(*args, **kwargs)
|
||||
|
||||
def Update(*args, **kwargs):
|
||||
"""Update(self)"""
|
||||
return _aui.AuiManager_Update(*args, **kwargs)
|
||||
def SetDockSizeConstraint(*args, **kwargs):
|
||||
"""SetDockSizeConstraint(self, double width_pct, double height_pct)"""
|
||||
return _aui.AuiManager_SetDockSizeConstraint(*args, **kwargs)
|
||||
|
||||
def GetDockSizeConstraint(*args, **kwargs):
|
||||
"""GetDockSizeConstraint(self, double width_pct, double height_pct)"""
|
||||
return _aui.AuiManager_GetDockSizeConstraint(*args, **kwargs)
|
||||
|
||||
def ClosePane(*args, **kwargs):
|
||||
"""ClosePane(self, AuiPaneInfo pane_info)"""
|
||||
return _aui.AuiManager_ClosePane(*args, **kwargs)
|
||||
|
||||
def MaximizePane(*args, **kwargs):
|
||||
"""MaximizePane(self, AuiPaneInfo pane_info)"""
|
||||
return _aui.AuiManager_MaximizePane(*args, **kwargs)
|
||||
|
||||
def RestorePane(*args, **kwargs):
|
||||
"""RestorePane(self, AuiPaneInfo pane_info)"""
|
||||
return _aui.AuiManager_RestorePane(*args, **kwargs)
|
||||
|
||||
def RestoreMaximizedPane(*args, **kwargs):
|
||||
"""RestoreMaximizedPane(self)"""
|
||||
return _aui.AuiManager_RestoreMaximizedPane(*args, **kwargs)
|
||||
|
||||
def CreateFloatingFrame(*args, **kwargs):
|
||||
"""CreateFloatingFrame(self, Window parent, AuiPaneInfo p) -> AuiFloatingFrame"""
|
||||
@@ -906,18 +914,18 @@ class AuiPaneButton(object):
|
||||
__del__ = lambda self : None;
|
||||
_aui.AuiPaneButton_swigregister(AuiPaneButton)
|
||||
|
||||
wxEVT_AUI_PANEBUTTON = _aui.wxEVT_AUI_PANEBUTTON
|
||||
wxEVT_AUI_PANECLOSE = _aui.wxEVT_AUI_PANECLOSE
|
||||
wxEVT_AUI_PANEMAXIMIZE = _aui.wxEVT_AUI_PANEMAXIMIZE
|
||||
wxEVT_AUI_PANERESTORE = _aui.wxEVT_AUI_PANERESTORE
|
||||
wxEVT_AUI_PANE_BUTTON = _aui.wxEVT_AUI_PANE_BUTTON
|
||||
wxEVT_AUI_PANE_CLOSE = _aui.wxEVT_AUI_PANE_CLOSE
|
||||
wxEVT_AUI_PANE_MAXIMIZE = _aui.wxEVT_AUI_PANE_MAXIMIZE
|
||||
wxEVT_AUI_PANE_RESTORE = _aui.wxEVT_AUI_PANE_RESTORE
|
||||
wxEVT_AUI_RENDER = _aui.wxEVT_AUI_RENDER
|
||||
wxEVT_AUI_FINDMANAGER = _aui.wxEVT_AUI_FINDMANAGER
|
||||
EVT_AUI_PANEBUTTON = wx.PyEventBinder( wxEVT_AUI_PANEBUTTON )
|
||||
EVT_AUI_PANECLOSE = wx.PyEventBinder( wxEVT_AUI_PANECLOSE )
|
||||
EVT_AUI_PANEMAXIMIZE = wx.PyEventBinder( wxEVT_AUI_PANEMAXIMIZE )
|
||||
EVT_AUI_PANERESTORE = wx.PyEventBinder( wxEVT_AUI_PANERESTORE )
|
||||
wxEVT_AUI_FIND_MANAGER = _aui.wxEVT_AUI_FIND_MANAGER
|
||||
EVT_AUI_PANE_BUTTON = wx.PyEventBinder( wxEVT_AUI_PANE_BUTTON )
|
||||
EVT_AUI_PANE_CLOSE = wx.PyEventBinder( wxEVT_AUI_PANE_CLOSE )
|
||||
EVT_AUI_PANE_MAXIMIZE = wx.PyEventBinder( wxEVT_AUI_PANE_MAXIMIZE )
|
||||
EVT_AUI_PANE_RESTORE = wx.PyEventBinder( wxEVT_AUI_PANE_RESTORE )
|
||||
EVT_AUI_RENDER = wx.PyEventBinder( wxEVT_AUI_RENDER )
|
||||
EVT_AUI_FINDMANAGER = wx.PyEventBinder( wxEVT_AUI_FINDMANAGER )
|
||||
EVT_AUI_FIND_MANAGER = wx.PyEventBinder( wxEVT_AUI_FIND_MANAGER )
|
||||
|
||||
class AuiDockArt(object):
|
||||
"""Proxy of C++ AuiDockArt class"""
|
||||
|
||||
+485
-373
File diff suppressed because it is too large
Load Diff
@@ -707,14 +707,6 @@ class ComboBox(Choice):
|
||||
"""
|
||||
return _controls_.ComboBox_SetStringSelection(*args, **kwargs)
|
||||
|
||||
def SetString(*args, **kwargs):
|
||||
"""
|
||||
SetString(self, int n, String string)
|
||||
|
||||
Set the label for the n'th item (zero based) in the list.
|
||||
"""
|
||||
return _controls_.ComboBox_SetString(*args, **kwargs)
|
||||
|
||||
def SetEditable(*args, **kwargs):
|
||||
"""SetEditable(self, bool editable)"""
|
||||
return _controls_.ComboBox_SetEditable(*args, **kwargs)
|
||||
@@ -1930,6 +1922,10 @@ class TextCtrl(_core.Control):
|
||||
"""SetEditable(self, bool editable)"""
|
||||
return _controls_.TextCtrl_SetEditable(*args, **kwargs)
|
||||
|
||||
def MacCheckSpelling(*args, **kwargs):
|
||||
"""MacCheckSpelling(self, bool check)"""
|
||||
return _controls_.TextCtrl_MacCheckSpelling(*args, **kwargs)
|
||||
|
||||
def SendTextUpdatedEvent(*args, **kwargs):
|
||||
"""SendTextUpdatedEvent(self)"""
|
||||
return _controls_.TextCtrl_SendTextUpdatedEvent(*args, **kwargs)
|
||||
|
||||
@@ -2897,6 +2897,7 @@ SWIGINTERN void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
|
||||
#endif
|
||||
}
|
||||
static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
|
||||
SWIGINTERN void wxTextCtrl_MacCheckSpelling(wxTextCtrl *self,bool check){}
|
||||
SWIGINTERN void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
|
||||
self->AppendText(text);
|
||||
}
|
||||
@@ -6308,60 +6309,6 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_ComboBox_SetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxComboBox *arg1 = (wxComboBox *) 0 ;
|
||||
int arg2 ;
|
||||
wxString *arg3 = 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
int val2 ;
|
||||
int ecode2 = 0 ;
|
||||
bool temp3 = false ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "n",(char *) "string", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxComboBox * >(argp1);
|
||||
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
||||
if (!SWIG_IsOK(ecode2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
|
||||
}
|
||||
arg2 = static_cast< int >(val2);
|
||||
{
|
||||
arg3 = wxString_in_helper(obj2);
|
||||
if (arg3 == NULL) SWIG_fail;
|
||||
temp3 = true;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->SetString(arg2,(wxString const &)*arg3);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_Py_Void();
|
||||
{
|
||||
if (temp3)
|
||||
delete arg3;
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
{
|
||||
if (temp3)
|
||||
delete arg3;
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_ComboBox_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxComboBox *arg1 = (wxComboBox *) 0 ;
|
||||
@@ -13885,6 +13832,44 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_TextCtrl_MacCheckSpelling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
|
||||
bool arg2 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
bool val2 ;
|
||||
int ecode2 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "check", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_MacCheckSpelling",kwnames,&obj0,&obj1)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
|
||||
ecode2 = SWIG_AsVal_bool(obj1, &val2);
|
||||
if (!SWIG_IsOK(ecode2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "2"" of type '" "bool""'");
|
||||
}
|
||||
arg2 = static_cast< bool >(val2);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxTextCtrl_MacCheckSpelling(arg1,arg2);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
resultobj = SWIG_Py_Void();
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_TextCtrl_SendTextUpdatedEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
|
||||
@@ -46280,7 +46265,6 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"ComboBox_GetMark", (PyCFunction)_wrap_ComboBox_GetMark, METH_O, NULL},
|
||||
{ (char *)"ComboBox_GetCurrentSelection", (PyCFunction)_wrap_ComboBox_GetCurrentSelection, METH_O, NULL},
|
||||
{ (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction)_wrap_ComboBox_SetInsertionPointEnd, METH_O, NULL},
|
||||
{ (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
@@ -46463,6 +46447,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"TextCtrl_SelectAll", (PyCFunction)_wrap_TextCtrl_SelectAll, METH_O, NULL},
|
||||
{ (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"TextCtrl_MacCheckSpelling", (PyCFunction) _wrap_TextCtrl_MacCheckSpelling, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction)_wrap_TextCtrl_SendTextUpdatedEvent, METH_O, NULL},
|
||||
{ (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"TextCtrl_HideNativeCaret", (PyCFunction)_wrap_TextCtrl_HideNativeCaret, METH_O, NULL},
|
||||
|
||||
+36
-28
@@ -638,21 +638,9 @@ class AuiManager(_core.EvtHandler):
|
||||
"""DetachPane(self, Window window) -> bool"""
|
||||
return _aui.AuiManager_DetachPane(*args, **kwargs)
|
||||
|
||||
def ClosePane(*args, **kwargs):
|
||||
"""ClosePane(self, AuiPaneInfo pane_info)"""
|
||||
return _aui.AuiManager_ClosePane(*args, **kwargs)
|
||||
|
||||
def MaximizePane(*args, **kwargs):
|
||||
"""MaximizePane(self, AuiPaneInfo pane_info)"""
|
||||
return _aui.AuiManager_MaximizePane(*args, **kwargs)
|
||||
|
||||
def RestorePane(*args, **kwargs):
|
||||
"""RestorePane(self, AuiPaneInfo pane_info)"""
|
||||
return _aui.AuiManager_RestorePane(*args, **kwargs)
|
||||
|
||||
def RestoreMaximizedPane(*args, **kwargs):
|
||||
"""RestoreMaximizedPane(self)"""
|
||||
return _aui.AuiManager_RestoreMaximizedPane(*args, **kwargs)
|
||||
def Update(*args, **kwargs):
|
||||
"""Update(self)"""
|
||||
return _aui.AuiManager_Update(*args, **kwargs)
|
||||
|
||||
def SavePaneInfo(*args, **kwargs):
|
||||
"""SavePaneInfo(self, AuiPaneInfo pane) -> String"""
|
||||
@@ -670,9 +658,29 @@ class AuiManager(_core.EvtHandler):
|
||||
"""LoadPerspective(self, String perspective, bool update=True) -> bool"""
|
||||
return _aui.AuiManager_LoadPerspective(*args, **kwargs)
|
||||
|
||||
def Update(*args, **kwargs):
|
||||
"""Update(self)"""
|
||||
return _aui.AuiManager_Update(*args, **kwargs)
|
||||
def SetDockSizeConstraint(*args, **kwargs):
|
||||
"""SetDockSizeConstraint(self, double width_pct, double height_pct)"""
|
||||
return _aui.AuiManager_SetDockSizeConstraint(*args, **kwargs)
|
||||
|
||||
def GetDockSizeConstraint(*args, **kwargs):
|
||||
"""GetDockSizeConstraint(self, double width_pct, double height_pct)"""
|
||||
return _aui.AuiManager_GetDockSizeConstraint(*args, **kwargs)
|
||||
|
||||
def ClosePane(*args, **kwargs):
|
||||
"""ClosePane(self, AuiPaneInfo pane_info)"""
|
||||
return _aui.AuiManager_ClosePane(*args, **kwargs)
|
||||
|
||||
def MaximizePane(*args, **kwargs):
|
||||
"""MaximizePane(self, AuiPaneInfo pane_info)"""
|
||||
return _aui.AuiManager_MaximizePane(*args, **kwargs)
|
||||
|
||||
def RestorePane(*args, **kwargs):
|
||||
"""RestorePane(self, AuiPaneInfo pane_info)"""
|
||||
return _aui.AuiManager_RestorePane(*args, **kwargs)
|
||||
|
||||
def RestoreMaximizedPane(*args, **kwargs):
|
||||
"""RestoreMaximizedPane(self)"""
|
||||
return _aui.AuiManager_RestoreMaximizedPane(*args, **kwargs)
|
||||
|
||||
def CreateFloatingFrame(*args, **kwargs):
|
||||
"""CreateFloatingFrame(self, Window parent, AuiPaneInfo p) -> AuiFloatingFrame"""
|
||||
@@ -906,18 +914,18 @@ class AuiPaneButton(object):
|
||||
__del__ = lambda self : None;
|
||||
_aui.AuiPaneButton_swigregister(AuiPaneButton)
|
||||
|
||||
wxEVT_AUI_PANEBUTTON = _aui.wxEVT_AUI_PANEBUTTON
|
||||
wxEVT_AUI_PANECLOSE = _aui.wxEVT_AUI_PANECLOSE
|
||||
wxEVT_AUI_PANEMAXIMIZE = _aui.wxEVT_AUI_PANEMAXIMIZE
|
||||
wxEVT_AUI_PANERESTORE = _aui.wxEVT_AUI_PANERESTORE
|
||||
wxEVT_AUI_PANE_BUTTON = _aui.wxEVT_AUI_PANE_BUTTON
|
||||
wxEVT_AUI_PANE_CLOSE = _aui.wxEVT_AUI_PANE_CLOSE
|
||||
wxEVT_AUI_PANE_MAXIMIZE = _aui.wxEVT_AUI_PANE_MAXIMIZE
|
||||
wxEVT_AUI_PANE_RESTORE = _aui.wxEVT_AUI_PANE_RESTORE
|
||||
wxEVT_AUI_RENDER = _aui.wxEVT_AUI_RENDER
|
||||
wxEVT_AUI_FINDMANAGER = _aui.wxEVT_AUI_FINDMANAGER
|
||||
EVT_AUI_PANEBUTTON = wx.PyEventBinder( wxEVT_AUI_PANEBUTTON )
|
||||
EVT_AUI_PANECLOSE = wx.PyEventBinder( wxEVT_AUI_PANECLOSE )
|
||||
EVT_AUI_PANEMAXIMIZE = wx.PyEventBinder( wxEVT_AUI_PANEMAXIMIZE )
|
||||
EVT_AUI_PANERESTORE = wx.PyEventBinder( wxEVT_AUI_PANERESTORE )
|
||||
wxEVT_AUI_FIND_MANAGER = _aui.wxEVT_AUI_FIND_MANAGER
|
||||
EVT_AUI_PANE_BUTTON = wx.PyEventBinder( wxEVT_AUI_PANE_BUTTON )
|
||||
EVT_AUI_PANE_CLOSE = wx.PyEventBinder( wxEVT_AUI_PANE_CLOSE )
|
||||
EVT_AUI_PANE_MAXIMIZE = wx.PyEventBinder( wxEVT_AUI_PANE_MAXIMIZE )
|
||||
EVT_AUI_PANE_RESTORE = wx.PyEventBinder( wxEVT_AUI_PANE_RESTORE )
|
||||
EVT_AUI_RENDER = wx.PyEventBinder( wxEVT_AUI_RENDER )
|
||||
EVT_AUI_FINDMANAGER = wx.PyEventBinder( wxEVT_AUI_FINDMANAGER )
|
||||
EVT_AUI_FIND_MANAGER = wx.PyEventBinder( wxEVT_AUI_FIND_MANAGER )
|
||||
|
||||
class AuiDockArt(object):
|
||||
"""Proxy of C++ AuiDockArt class"""
|
||||
|
||||
+485
-373
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user