SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1649,6 +1649,43 @@ static PyObject *_wrap_wxStyledTextCtrl_MarkerPrevious(PyObject *self, PyObject
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxStyledTextCtrl_MarkerDefineBitmap(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerDefineBitmap(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxStyledTextCtrl_MarkerDefineBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxStyledTextCtrl * _arg0;
|
||||
int _arg1;
|
||||
wxBitmap * _arg2;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _argo2 = 0;
|
||||
char *_kwnames[] = { "self","markerNumber","bmp", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_MarkerDefineBitmap",_kwnames,&_argo0,&_arg1,&_argo2))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDefineBitmap. Expected _wxStyledTextCtrl_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
if (_argo2) {
|
||||
if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxStyledTextCtrl_MarkerDefineBitmap. Expected _wxBitmap_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxStyledTextCtrl_MarkerDefineBitmap(_arg0,_arg1,*_arg2);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxStyledTextCtrl_SetMarginType(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginType(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxStyledTextCtrl_SetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
@@ -3859,6 +3896,128 @@ static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *self
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxStyledTextCtrl_RegisterImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->RegisterImage(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxStyledTextCtrl_RegisterImage(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxStyledTextCtrl * _arg0;
|
||||
int _arg1;
|
||||
wxBitmap * _arg2;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _argo2 = 0;
|
||||
char *_kwnames[] = { "self","type","bmp", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_RegisterImage",_kwnames,&_argo0,&_arg1,&_argo2))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_RegisterImage. Expected _wxStyledTextCtrl_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
if (_argo2) {
|
||||
if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxStyledTextCtrl_RegisterImage. Expected _wxBitmap_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxStyledTextCtrl_RegisterImage(_arg0,_arg1,*_arg2);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxStyledTextCtrl_ClearRegisteredImages(_swigobj) (_swigobj->ClearRegisteredImages())
|
||||
static PyObject *_wrap_wxStyledTextCtrl_ClearRegisteredImages(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxStyledTextCtrl * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_ClearRegisteredImages",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ClearRegisteredImages. Expected _wxStyledTextCtrl_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxStyledTextCtrl_ClearRegisteredImages(_arg0);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxStyledTextCtrl_AutoCompGetTypeSeparator(_swigobj) (_swigobj->AutoCompGetTypeSeparator())
|
||||
static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
int _result;
|
||||
wxStyledTextCtrl * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetTypeSeparator",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetTypeSeparator. Expected _wxStyledTextCtrl_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
_result = (int )wxStyledTextCtrl_AutoCompGetTypeSeparator(_arg0);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} _resultobj = Py_BuildValue("i",_result);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxStyledTextCtrl_AutoCompSetTypeSeparator(_swigobj,_swigarg0) (_swigobj->AutoCompSetTypeSeparator(_swigarg0))
|
||||
static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxStyledTextCtrl * _arg0;
|
||||
int _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","separatorCharacter", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetTypeSeparator",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetTypeSeparator. Expected _wxStyledTextCtrl_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxStyledTextCtrl_AutoCompSetTypeSeparator(_arg0,_arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxStyledTextCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
|
||||
static PyObject *_wrap_wxStyledTextCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
@@ -7209,6 +7368,355 @@ static PyObject *_wrap_wxStyledTextCtrl_TextHeight(PyObject *self, PyObject *arg
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxStyledTextCtrl_SetUseVerticalScrollBar(_swigobj,_swigarg0) (_swigobj->SetUseVerticalScrollBar(_swigarg0))
|
||||
static PyObject *_wrap_wxStyledTextCtrl_SetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxStyledTextCtrl * _arg0;
|
||||
bool _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
int tempbool1;
|
||||
char *_kwnames[] = { "self","show", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUseVerticalScrollBar",_kwnames,&_argo0,&tempbool1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUseVerticalScrollBar. Expected _wxStyledTextCtrl_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
_arg1 = (bool ) tempbool1;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxStyledTextCtrl_SetUseVerticalScrollBar(_arg0,_arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxStyledTextCtrl_GetUseVerticalScrollBar(_swigobj) (_swigobj->GetUseVerticalScrollBar())
|
||||
static PyObject *_wrap_wxStyledTextCtrl_GetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxStyledTextCtrl * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUseVerticalScrollBar",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUseVerticalScrollBar. Expected _wxStyledTextCtrl_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
_result = (bool )wxStyledTextCtrl_GetUseVerticalScrollBar(_arg0);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} _resultobj = Py_BuildValue("i",_result);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxStyledTextCtrl_AppendText(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendText(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxStyledTextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxStyledTextCtrl * _arg0;
|
||||
int _arg1;
|
||||
wxString * _arg2;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _obj2 = 0;
|
||||
char *_kwnames[] = { "self","length","text", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_AppendText",_kwnames,&_argo0,&_arg1,&_obj2))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AppendText. Expected _wxStyledTextCtrl_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
_arg2 = wxString_in_helper(_obj2);
|
||||
if (_arg2 == NULL)
|
||||
return NULL;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxStyledTextCtrl_AppendText(_arg0,_arg1,*_arg2);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
{
|
||||
if (_obj2)
|
||||
delete _arg2;
|
||||
}
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxStyledTextCtrl_GetTwoPhaseDraw(_swigobj) (_swigobj->GetTwoPhaseDraw())
|
||||
static PyObject *_wrap_wxStyledTextCtrl_GetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxStyledTextCtrl * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTwoPhaseDraw",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTwoPhaseDraw. Expected _wxStyledTextCtrl_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
_result = (bool )wxStyledTextCtrl_GetTwoPhaseDraw(_arg0);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} _resultobj = Py_BuildValue("i",_result);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxStyledTextCtrl_SetTwoPhaseDraw(_swigobj,_swigarg0) (_swigobj->SetTwoPhaseDraw(_swigarg0))
|
||||
static PyObject *_wrap_wxStyledTextCtrl_SetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxStyledTextCtrl * _arg0;
|
||||
bool _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
int tempbool1;
|
||||
char *_kwnames[] = { "self","twoPhase", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTwoPhaseDraw",_kwnames,&_argo0,&tempbool1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTwoPhaseDraw. Expected _wxStyledTextCtrl_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
_arg1 = (bool ) tempbool1;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxStyledTextCtrl_SetTwoPhaseDraw(_arg0,_arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxStyledTextCtrl_TargetFromSelection(_swigobj) (_swigobj->TargetFromSelection())
|
||||
static PyObject *_wrap_wxStyledTextCtrl_TargetFromSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxStyledTextCtrl * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_TargetFromSelection",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_TargetFromSelection. Expected _wxStyledTextCtrl_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxStyledTextCtrl_TargetFromSelection(_arg0);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxStyledTextCtrl_LinesJoin(_swigobj) (_swigobj->LinesJoin())
|
||||
static PyObject *_wrap_wxStyledTextCtrl_LinesJoin(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxStyledTextCtrl * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LinesJoin",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LinesJoin. Expected _wxStyledTextCtrl_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxStyledTextCtrl_LinesJoin(_arg0);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxStyledTextCtrl_LinesSplit(_swigobj,_swigarg0) (_swigobj->LinesSplit(_swigarg0))
|
||||
static PyObject *_wrap_wxStyledTextCtrl_LinesSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxStyledTextCtrl * _arg0;
|
||||
int _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","pixelWidth", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_LinesSplit",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LinesSplit. Expected _wxStyledTextCtrl_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxStyledTextCtrl_LinesSplit(_arg0,_arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxStyledTextCtrl_SetFoldMarginColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldMarginColour(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxStyledTextCtrl_SetFoldMarginColour(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxStyledTextCtrl * _arg0;
|
||||
bool _arg1;
|
||||
wxColour * _arg2;
|
||||
PyObject * _argo0 = 0;
|
||||
int tempbool1;
|
||||
wxColour temp;
|
||||
PyObject * _obj2 = 0;
|
||||
char *_kwnames[] = { "self","useSetting","back", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetFoldMarginColour",_kwnames,&_argo0,&tempbool1,&_obj2))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldMarginColour. Expected _wxStyledTextCtrl_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
_arg1 = (bool ) tempbool1;
|
||||
{
|
||||
_arg2 = &temp;
|
||||
if (! wxColour_helper(_obj2, &_arg2))
|
||||
return NULL;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxStyledTextCtrl_SetFoldMarginColour(_arg0,_arg1,*_arg2);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxStyledTextCtrl_SetFoldMarginHiColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldMarginHiColour(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxStyledTextCtrl_SetFoldMarginHiColour(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxStyledTextCtrl * _arg0;
|
||||
bool _arg1;
|
||||
wxColour * _arg2;
|
||||
PyObject * _argo0 = 0;
|
||||
int tempbool1;
|
||||
wxColour temp;
|
||||
PyObject * _obj2 = 0;
|
||||
char *_kwnames[] = { "self","useSetting","fore", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetFoldMarginHiColour",_kwnames,&_argo0,&tempbool1,&_obj2))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldMarginHiColour. Expected _wxStyledTextCtrl_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
_arg1 = (bool ) tempbool1;
|
||||
{
|
||||
_arg2 = &temp;
|
||||
if (! wxColour_helper(_obj2, &_arg2))
|
||||
return NULL;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxStyledTextCtrl_SetFoldMarginHiColour(_arg0,_arg1,*_arg2);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxStyledTextCtrl_LineDuplicate(_swigobj) (_swigobj->LineDuplicate())
|
||||
static PyObject *_wrap_wxStyledTextCtrl_LineDuplicate(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxStyledTextCtrl * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LineDuplicate",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineDuplicate. Expected _wxStyledTextCtrl_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxStyledTextCtrl_LineDuplicate(_arg0);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxStyledTextCtrl_HomeDisplay(_swigobj) (_swigobj->HomeDisplay())
|
||||
static PyObject *_wrap_wxStyledTextCtrl_HomeDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
@@ -8739,6 +9247,34 @@ static PyObject *_wrap_wxStyledTextCtrl_GetXOffset(PyObject *self, PyObject *arg
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxStyledTextCtrl_ChooseCaretX(_swigobj) (_swigobj->ChooseCaretX())
|
||||
static PyObject *_wrap_wxStyledTextCtrl_ChooseCaretX(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxStyledTextCtrl * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_ChooseCaretX",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ChooseCaretX. Expected _wxStyledTextCtrl_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxStyledTextCtrl_ChooseCaretX(_arg0);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxStyledTextCtrl_SetXCaretPolicy(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetXCaretPolicy(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxStyledTextCtrl_SetXCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
@@ -8799,6 +9335,63 @@ static PyObject *_wrap_wxStyledTextCtrl_SetYCaretPolicy(PyObject *self, PyObject
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxStyledTextCtrl_SetPrintWrapMode(_swigobj,_swigarg0) (_swigobj->SetPrintWrapMode(_swigarg0))
|
||||
static PyObject *_wrap_wxStyledTextCtrl_SetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxStyledTextCtrl * _arg0;
|
||||
int _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","mode", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetPrintWrapMode",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetPrintWrapMode. Expected _wxStyledTextCtrl_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxStyledTextCtrl_SetPrintWrapMode(_arg0,_arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxStyledTextCtrl_GetPrintWrapMode(_swigobj) (_swigobj->GetPrintWrapMode())
|
||||
static PyObject *_wrap_wxStyledTextCtrl_GetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
int _result;
|
||||
wxStyledTextCtrl * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetPrintWrapMode",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetPrintWrapMode. Expected _wxStyledTextCtrl_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
_result = (int )wxStyledTextCtrl_GetPrintWrapMode(_arg0);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} _resultobj = Py_BuildValue("i",_result);
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxStyledTextCtrl_StartRecord(_swigobj) (_swigobj->StartRecord())
|
||||
static PyObject *_wrap_wxStyledTextCtrl_StartRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
@@ -11035,8 +11628,11 @@ static PyMethodDef stc_cMethods[] = {
|
||||
{ "wxStyledTextCtrl_SetLexer", (PyCFunction) _wrap_wxStyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_StopRecord", (PyCFunction) _wrap_wxStyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_StartRecord", (PyCFunction) _wrap_wxStyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_GetPrintWrapMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetPrintWrapMode, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_wxStyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_wxStyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_ChooseCaretX", (PyCFunction) _wrap_wxStyledTextCtrl_ChooseCaretX, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_GetXOffset", (PyCFunction) _wrap_wxStyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_SetXOffset", (PyCFunction) _wrap_wxStyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_DelLineRight", (PyCFunction) _wrap_wxStyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS },
|
||||
@@ -11088,6 +11684,17 @@ static PyMethodDef stc_cMethods[] = {
|
||||
{ "wxStyledTextCtrl_LineEndDisplay", (PyCFunction) _wrap_wxStyledTextCtrl_LineEndDisplay, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_HomeDisplayExtend", (PyCFunction) _wrap_wxStyledTextCtrl_HomeDisplayExtend, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_HomeDisplay", (PyCFunction) _wrap_wxStyledTextCtrl_HomeDisplay, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_LineDuplicate", (PyCFunction) _wrap_wxStyledTextCtrl_LineDuplicate, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_LinesSplit", (PyCFunction) _wrap_wxStyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_LinesJoin", (PyCFunction) _wrap_wxStyledTextCtrl_LinesJoin, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_TargetFromSelection", (PyCFunction) _wrap_wxStyledTextCtrl_TargetFromSelection, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_wxStyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_GetTwoPhaseDraw", (PyCFunction) _wrap_wxStyledTextCtrl_GetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_AppendText", (PyCFunction) _wrap_wxStyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_GetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_TextHeight", (PyCFunction) _wrap_wxStyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_wxStyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS },
|
||||
@@ -11198,6 +11805,10 @@ static PyMethodDef stc_cMethods[] = {
|
||||
{ "wxStyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_GetIndent", (PyCFunction) _wrap_wxStyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_SetIndent", (PyCFunction) _wrap_wxStyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetTypeSeparator, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_ClearRegisteredImages", (PyCFunction) _wrap_wxStyledTextCtrl_ClearRegisteredImages, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_RegisterImage", (PyCFunction) _wrap_wxStyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS },
|
||||
@@ -11268,6 +11879,7 @@ static PyMethodDef stc_cMethods[] = {
|
||||
{ "wxStyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_GetMarginType", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_SetMarginType", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_MarkerNext", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxStyledTextCtrl_MarkerGet", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS },
|
||||
@@ -11455,6 +12067,7 @@ SWIGEXPORT(void) initstc_c() {
|
||||
PyDict_SetItemString(d,"wxSTC_EOL_CR", PyInt_FromLong((long) 1));
|
||||
PyDict_SetItemString(d,"wxSTC_EOL_LF", PyInt_FromLong((long) 2));
|
||||
PyDict_SetItemString(d,"wxSTC_CP_UTF8", PyInt_FromLong((long) 65001));
|
||||
PyDict_SetItemString(d,"wxSTC_CP_DBCS", PyInt_FromLong((long) 1));
|
||||
PyDict_SetItemString(d,"wxSTC_MARKER_MAX", PyInt_FromLong((long) 31));
|
||||
PyDict_SetItemString(d,"wxSTC_MARK_CIRCLE", PyInt_FromLong((long) 0));
|
||||
PyDict_SetItemString(d,"wxSTC_MARK_ROUNDRECT", PyInt_FromLong((long) 1));
|
||||
@@ -11481,6 +12094,7 @@ SWIGEXPORT(void) initstc_c() {
|
||||
PyDict_SetItemString(d,"wxSTC_MARK_BACKGROUND", PyInt_FromLong((long) 22));
|
||||
PyDict_SetItemString(d,"wxSTC_MARK_DOTDOTDOT", PyInt_FromLong((long) 23));
|
||||
PyDict_SetItemString(d,"wxSTC_MARK_ARROWS", PyInt_FromLong((long) 24));
|
||||
PyDict_SetItemString(d,"wxSTC_MARK_PIXMAP", PyInt_FromLong((long) 25));
|
||||
PyDict_SetItemString(d,"wxSTC_MARK_CHARACTER", PyInt_FromLong((long) 10000));
|
||||
PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEREND", PyInt_FromLong((long) 25));
|
||||
PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEROPENMID", PyInt_FromLong((long) 26));
|
||||
@@ -11544,7 +12158,17 @@ SWIGEXPORT(void) initstc_c() {
|
||||
PyDict_SetItemString(d,"wxSTC_FOLDLEVELBASE", PyInt_FromLong((long) 0x400));
|
||||
PyDict_SetItemString(d,"wxSTC_FOLDLEVELWHITEFLAG", PyInt_FromLong((long) 0x1000));
|
||||
PyDict_SetItemString(d,"wxSTC_FOLDLEVELHEADERFLAG", PyInt_FromLong((long) 0x2000));
|
||||
PyDict_SetItemString(d,"wxSTC_FOLDLEVELBOXHEADERFLAG", PyInt_FromLong((long) 0x4000));
|
||||
PyDict_SetItemString(d,"wxSTC_FOLDLEVELBOXFOOTERFLAG", PyInt_FromLong((long) 0x8000));
|
||||
PyDict_SetItemString(d,"wxSTC_FOLDLEVELCONTRACTED", PyInt_FromLong((long) 0x10000));
|
||||
PyDict_SetItemString(d,"wxSTC_FOLDLEVELUNINDENT", PyInt_FromLong((long) 0x20000));
|
||||
PyDict_SetItemString(d,"wxSTC_FOLDLEVELNUMBERMASK", PyInt_FromLong((long) 0x0FFF));
|
||||
PyDict_SetItemString(d,"wxSTC_FOLDFLAG_LINEBEFORE_EXPANDED", PyInt_FromLong((long) 0x0002));
|
||||
PyDict_SetItemString(d,"wxSTC_FOLDFLAG_LINEBEFORE_CONTRACTED", PyInt_FromLong((long) 0x0004));
|
||||
PyDict_SetItemString(d,"wxSTC_FOLDFLAG_LINEAFTER_EXPANDED", PyInt_FromLong((long) 0x0008));
|
||||
PyDict_SetItemString(d,"wxSTC_FOLDFLAG_LINEAFTER_CONTRACTED", PyInt_FromLong((long) 0x0010));
|
||||
PyDict_SetItemString(d,"wxSTC_FOLDFLAG_LEVELNUMBERS", PyInt_FromLong((long) 0x0040));
|
||||
PyDict_SetItemString(d,"wxSTC_FOLDFLAG_BOX", PyInt_FromLong((long) 0x0001));
|
||||
PyDict_SetItemString(d,"wxSTC_TIME_FOREVER", PyInt_FromLong((long) 10000000));
|
||||
PyDict_SetItemString(d,"wxSTC_WRAP_NONE", PyInt_FromLong((long) 0));
|
||||
PyDict_SetItemString(d,"wxSTC_WRAP_WORD", PyInt_FromLong((long) 1));
|
||||
@@ -11556,7 +12180,7 @@ SWIGEXPORT(void) initstc_c() {
|
||||
PyDict_SetItemString(d,"wxSTC_EDGE_LINE", PyInt_FromLong((long) 1));
|
||||
PyDict_SetItemString(d,"wxSTC_EDGE_BACKGROUND", PyInt_FromLong((long) 2));
|
||||
PyDict_SetItemString(d,"wxSTC_CURSORNORMAL", PyInt_FromLong((long) -1));
|
||||
PyDict_SetItemString(d,"wxSTC_CURSORWAIT", PyInt_FromLong((long) 3));
|
||||
PyDict_SetItemString(d,"wxSTC_CURSORWAIT", PyInt_FromLong((long) 4));
|
||||
PyDict_SetItemString(d,"wxSTC_VISIBLE_SLOP", PyInt_FromLong((long) 0x01));
|
||||
PyDict_SetItemString(d,"wxSTC_VISIBLE_STRICT", PyInt_FromLong((long) 0x04));
|
||||
PyDict_SetItemString(d,"wxSTC_CARET_SLOP", PyInt_FromLong((long) 0x01));
|
||||
@@ -11629,6 +12253,11 @@ SWIGEXPORT(void) initstc_c() {
|
||||
PyDict_SetItemString(d,"wxSTC_LEX_BAAN", PyInt_FromLong((long) 31));
|
||||
PyDict_SetItemString(d,"wxSTC_LEX_MATLAB", PyInt_FromLong((long) 32));
|
||||
PyDict_SetItemString(d,"wxSTC_LEX_SCRIPTOL", PyInt_FromLong((long) 33));
|
||||
PyDict_SetItemString(d,"wxSTC_LEX_ASM", PyInt_FromLong((long) 34));
|
||||
PyDict_SetItemString(d,"wxSTC_LEX_CPPNOCASE", PyInt_FromLong((long) 35));
|
||||
PyDict_SetItemString(d,"wxSTC_LEX_FORTRAN", PyInt_FromLong((long) 36));
|
||||
PyDict_SetItemString(d,"wxSTC_LEX_F77", PyInt_FromLong((long) 37));
|
||||
PyDict_SetItemString(d,"wxSTC_LEX_CSS", PyInt_FromLong((long) 38));
|
||||
PyDict_SetItemString(d,"wxSTC_LEX_AUTOMATIC", PyInt_FromLong((long) 1000));
|
||||
PyDict_SetItemString(d,"wxSTC_P_DEFAULT", PyInt_FromLong((long) 0));
|
||||
PyDict_SetItemString(d,"wxSTC_P_COMMENTLINE", PyInt_FromLong((long) 1));
|
||||
@@ -11854,6 +12483,7 @@ SWIGEXPORT(void) initstc_c() {
|
||||
PyDict_SetItemString(d,"wxSTC_ERR_DIFF_ADDITION", PyInt_FromLong((long) 11));
|
||||
PyDict_SetItemString(d,"wxSTC_ERR_DIFF_DELETION", PyInt_FromLong((long) 12));
|
||||
PyDict_SetItemString(d,"wxSTC_ERR_DIFF_MESSAGE", PyInt_FromLong((long) 13));
|
||||
PyDict_SetItemString(d,"wxSTC_ERR_PHP", PyInt_FromLong((long) 14));
|
||||
PyDict_SetItemString(d,"wxSTC_BAT_DEFAULT", PyInt_FromLong((long) 0));
|
||||
PyDict_SetItemString(d,"wxSTC_BAT_COMMENT", PyInt_FromLong((long) 1));
|
||||
PyDict_SetItemString(d,"wxSTC_BAT_WORD", PyInt_FromLong((long) 2));
|
||||
@@ -11890,22 +12520,29 @@ SWIGEXPORT(void) initstc_c() {
|
||||
PyDict_SetItemString(d,"wxSTC_AVE_COMMENT", PyInt_FromLong((long) 1));
|
||||
PyDict_SetItemString(d,"wxSTC_AVE_NUMBER", PyInt_FromLong((long) 2));
|
||||
PyDict_SetItemString(d,"wxSTC_AVE_WORD", PyInt_FromLong((long) 3));
|
||||
PyDict_SetItemString(d,"wxSTC_AVE_KEYWORD", PyInt_FromLong((long) 4));
|
||||
PyDict_SetItemString(d,"wxSTC_AVE_STATEMENT", PyInt_FromLong((long) 5));
|
||||
PyDict_SetItemString(d,"wxSTC_AVE_STRING", PyInt_FromLong((long) 6));
|
||||
PyDict_SetItemString(d,"wxSTC_AVE_ENUM", PyInt_FromLong((long) 7));
|
||||
PyDict_SetItemString(d,"wxSTC_AVE_STRINGEOL", PyInt_FromLong((long) 8));
|
||||
PyDict_SetItemString(d,"wxSTC_AVE_IDENTIFIER", PyInt_FromLong((long) 9));
|
||||
PyDict_SetItemString(d,"wxSTC_AVE_OPERATOR", PyInt_FromLong((long) 10));
|
||||
PyDict_SetItemString(d,"wxSTC_AVE_WORD1", PyInt_FromLong((long) 11));
|
||||
PyDict_SetItemString(d,"wxSTC_AVE_WORD2", PyInt_FromLong((long) 12));
|
||||
PyDict_SetItemString(d,"wxSTC_AVE_WORD3", PyInt_FromLong((long) 13));
|
||||
PyDict_SetItemString(d,"wxSTC_AVE_WORD4", PyInt_FromLong((long) 14));
|
||||
PyDict_SetItemString(d,"wxSTC_AVE_WORD5", PyInt_FromLong((long) 15));
|
||||
PyDict_SetItemString(d,"wxSTC_AVE_WORD6", PyInt_FromLong((long) 16));
|
||||
PyDict_SetItemString(d,"wxSTC_ADA_DEFAULT", PyInt_FromLong((long) 0));
|
||||
PyDict_SetItemString(d,"wxSTC_ADA_COMMENT", PyInt_FromLong((long) 1));
|
||||
PyDict_SetItemString(d,"wxSTC_ADA_NUMBER", PyInt_FromLong((long) 2));
|
||||
PyDict_SetItemString(d,"wxSTC_ADA_WORD", PyInt_FromLong((long) 3));
|
||||
PyDict_SetItemString(d,"wxSTC_ADA_STRING", PyInt_FromLong((long) 4));
|
||||
PyDict_SetItemString(d,"wxSTC_ADA_WORD", PyInt_FromLong((long) 1));
|
||||
PyDict_SetItemString(d,"wxSTC_ADA_IDENTIFIER", PyInt_FromLong((long) 2));
|
||||
PyDict_SetItemString(d,"wxSTC_ADA_NUMBER", PyInt_FromLong((long) 3));
|
||||
PyDict_SetItemString(d,"wxSTC_ADA_DELIMITER", PyInt_FromLong((long) 4));
|
||||
PyDict_SetItemString(d,"wxSTC_ADA_CHARACTER", PyInt_FromLong((long) 5));
|
||||
PyDict_SetItemString(d,"wxSTC_ADA_OPERATOR", PyInt_FromLong((long) 6));
|
||||
PyDict_SetItemString(d,"wxSTC_ADA_IDENTIFIER", PyInt_FromLong((long) 7));
|
||||
PyDict_SetItemString(d,"wxSTC_ADA_CHARACTEREOL", PyInt_FromLong((long) 6));
|
||||
PyDict_SetItemString(d,"wxSTC_ADA_STRING", PyInt_FromLong((long) 7));
|
||||
PyDict_SetItemString(d,"wxSTC_ADA_STRINGEOL", PyInt_FromLong((long) 8));
|
||||
PyDict_SetItemString(d,"wxSTC_ADA_LABEL", PyInt_FromLong((long) 9));
|
||||
PyDict_SetItemString(d,"wxSTC_ADA_COMMENTLINE", PyInt_FromLong((long) 10));
|
||||
PyDict_SetItemString(d,"wxSTC_ADA_ILLEGAL", PyInt_FromLong((long) 11));
|
||||
PyDict_SetItemString(d,"wxSTC_BAAN_DEFAULT", PyInt_FromLong((long) 0));
|
||||
PyDict_SetItemString(d,"wxSTC_BAAN_COMMENT", PyInt_FromLong((long) 1));
|
||||
PyDict_SetItemString(d,"wxSTC_BAAN_COMMENTDOC", PyInt_FromLong((long) 2));
|
||||
@@ -11973,6 +12610,45 @@ SWIGEXPORT(void) initstc_c() {
|
||||
PyDict_SetItemString(d,"wxSTC_SCRIPTOL_COMMENTDOCKEYWORD", PyInt_FromLong((long) 17));
|
||||
PyDict_SetItemString(d,"wxSTC_SCRIPTOL_COMMENTDOCKEYWORDERROR", PyInt_FromLong((long) 18));
|
||||
PyDict_SetItemString(d,"wxSTC_SCRIPTOL_COMMENTBASIC", PyInt_FromLong((long) 19));
|
||||
PyDict_SetItemString(d,"wxSTC_ASM_DEFAULT", PyInt_FromLong((long) 0));
|
||||
PyDict_SetItemString(d,"wxSTC_ASM_COMMENT", PyInt_FromLong((long) 1));
|
||||
PyDict_SetItemString(d,"wxSTC_ASM_NUMBER", PyInt_FromLong((long) 2));
|
||||
PyDict_SetItemString(d,"wxSTC_ASM_STRING", PyInt_FromLong((long) 3));
|
||||
PyDict_SetItemString(d,"wxSTC_ASM_OPERATOR", PyInt_FromLong((long) 4));
|
||||
PyDict_SetItemString(d,"wxSTC_ASM_IDENTIFIER", PyInt_FromLong((long) 5));
|
||||
PyDict_SetItemString(d,"wxSTC_ASM_CPUINSTRUCTION", PyInt_FromLong((long) 6));
|
||||
PyDict_SetItemString(d,"wxSTC_ASM_MATHINSTRUCTION", PyInt_FromLong((long) 7));
|
||||
PyDict_SetItemString(d,"wxSTC_ASM_REGISTER", PyInt_FromLong((long) 8));
|
||||
PyDict_SetItemString(d,"wxSTC_ASM_DIRECTIVE", PyInt_FromLong((long) 9));
|
||||
PyDict_SetItemString(d,"wxSTC_ASM_DIRECTIVEOPERAND", PyInt_FromLong((long) 10));
|
||||
PyDict_SetItemString(d,"wxSTC_F_DEFAULT", PyInt_FromLong((long) 0));
|
||||
PyDict_SetItemString(d,"wxSTC_F_COMMENT", PyInt_FromLong((long) 1));
|
||||
PyDict_SetItemString(d,"wxSTC_F_NUMBER", PyInt_FromLong((long) 2));
|
||||
PyDict_SetItemString(d,"wxSTC_F_STRING1", PyInt_FromLong((long) 3));
|
||||
PyDict_SetItemString(d,"wxSTC_F_STRING2", PyInt_FromLong((long) 4));
|
||||
PyDict_SetItemString(d,"wxSTC_F_STRINGEOL", PyInt_FromLong((long) 5));
|
||||
PyDict_SetItemString(d,"wxSTC_F_OPERATOR", PyInt_FromLong((long) 6));
|
||||
PyDict_SetItemString(d,"wxSTC_F_IDENTIFIER", PyInt_FromLong((long) 7));
|
||||
PyDict_SetItemString(d,"wxSTC_F_WORD", PyInt_FromLong((long) 8));
|
||||
PyDict_SetItemString(d,"wxSTC_F_WORD2", PyInt_FromLong((long) 9));
|
||||
PyDict_SetItemString(d,"wxSTC_F_WORD3", PyInt_FromLong((long) 10));
|
||||
PyDict_SetItemString(d,"wxSTC_F_PREPROCESSOR", PyInt_FromLong((long) 11));
|
||||
PyDict_SetItemString(d,"wxSTC_F_OPERATOR2", PyInt_FromLong((long) 12));
|
||||
PyDict_SetItemString(d,"wxSTC_F_LABEL", PyInt_FromLong((long) 13));
|
||||
PyDict_SetItemString(d,"wxSTC_F_CONTINUATION", PyInt_FromLong((long) 14));
|
||||
PyDict_SetItemString(d,"wxSTC_CSS_DEFAULT", PyInt_FromLong((long) 0));
|
||||
PyDict_SetItemString(d,"wxSTC_CSS_TAG", PyInt_FromLong((long) 1));
|
||||
PyDict_SetItemString(d,"wxSTC_CSS_CLASS", PyInt_FromLong((long) 2));
|
||||
PyDict_SetItemString(d,"wxSTC_CSS_PSEUDOCLASS", PyInt_FromLong((long) 3));
|
||||
PyDict_SetItemString(d,"wxSTC_CSS_UNKNOWN_PSEUDOCLASS", PyInt_FromLong((long) 4));
|
||||
PyDict_SetItemString(d,"wxSTC_CSS_OPERATOR", PyInt_FromLong((long) 5));
|
||||
PyDict_SetItemString(d,"wxSTC_CSS_IDENTIFIER", PyInt_FromLong((long) 6));
|
||||
PyDict_SetItemString(d,"wxSTC_CSS_UNKNOWN_IDENTIFIER", PyInt_FromLong((long) 7));
|
||||
PyDict_SetItemString(d,"wxSTC_CSS_VALUE", PyInt_FromLong((long) 8));
|
||||
PyDict_SetItemString(d,"wxSTC_CSS_COMMENT", PyInt_FromLong((long) 9));
|
||||
PyDict_SetItemString(d,"wxSTC_CSS_ID", PyInt_FromLong((long) 10));
|
||||
PyDict_SetItemString(d,"wxSTC_CSS_IMPORTANT", PyInt_FromLong((long) 11));
|
||||
PyDict_SetItemString(d,"wxSTC_CSS_DIRECTIVE", PyInt_FromLong((long) 12));
|
||||
PyDict_SetItemString(d,"wxSTC_CMD_REDO", PyInt_FromLong((long) 2011));
|
||||
PyDict_SetItemString(d,"wxSTC_CMD_SELECTALL", PyInt_FromLong((long) 2013));
|
||||
PyDict_SetItemString(d,"wxSTC_CMD_UNDO", PyInt_FromLong((long) 2176));
|
||||
@@ -12020,6 +12696,7 @@ SWIGEXPORT(void) initstc_c() {
|
||||
PyDict_SetItemString(d,"wxSTC_CMD_LINECUT", PyInt_FromLong((long) 2337));
|
||||
PyDict_SetItemString(d,"wxSTC_CMD_LINEDELETE", PyInt_FromLong((long) 2338));
|
||||
PyDict_SetItemString(d,"wxSTC_CMD_LINETRANSPOSE", PyInt_FromLong((long) 2339));
|
||||
PyDict_SetItemString(d,"wxSTC_CMD_LINEDUPLICATE", PyInt_FromLong((long) 2404));
|
||||
PyDict_SetItemString(d,"wxSTC_CMD_LOWERCASE", PyInt_FromLong((long) 2340));
|
||||
PyDict_SetItemString(d,"wxSTC_CMD_UPPERCASE", PyInt_FromLong((long) 2341));
|
||||
PyDict_SetItemString(d,"wxSTC_CMD_LINESCROLLDOWN", PyInt_FromLong((long) 2342));
|
||||
|
@@ -258,6 +258,9 @@ class wxStyledTextCtrlPtr(wxControlPtr):
|
||||
def MarkerPrevious(self, *_args, **_kwargs):
|
||||
val = stc_c.wxStyledTextCtrl_MarkerPrevious(self, *_args, **_kwargs)
|
||||
return val
|
||||
def MarkerDefineBitmap(self, *_args, **_kwargs):
|
||||
val = stc_c.wxStyledTextCtrl_MarkerDefineBitmap(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetMarginType(self, *_args, **_kwargs):
|
||||
val = stc_c.wxStyledTextCtrl_SetMarginType(self, *_args, **_kwargs)
|
||||
return val
|
||||
@@ -470,6 +473,18 @@ class wxStyledTextCtrlPtr(wxControlPtr):
|
||||
def AutoCompGetDropRestOfWord(self, *_args, **_kwargs):
|
||||
val = stc_c.wxStyledTextCtrl_AutoCompGetDropRestOfWord(self, *_args, **_kwargs)
|
||||
return val
|
||||
def RegisterImage(self, *_args, **_kwargs):
|
||||
val = stc_c.wxStyledTextCtrl_RegisterImage(self, *_args, **_kwargs)
|
||||
return val
|
||||
def ClearRegisteredImages(self, *_args, **_kwargs):
|
||||
val = stc_c.wxStyledTextCtrl_ClearRegisteredImages(self, *_args, **_kwargs)
|
||||
return val
|
||||
def AutoCompGetTypeSeparator(self, *_args, **_kwargs):
|
||||
val = stc_c.wxStyledTextCtrl_AutoCompGetTypeSeparator(self, *_args, **_kwargs)
|
||||
return val
|
||||
def AutoCompSetTypeSeparator(self, *_args, **_kwargs):
|
||||
val = stc_c.wxStyledTextCtrl_AutoCompSetTypeSeparator(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetIndent(self, *_args, **_kwargs):
|
||||
val = stc_c.wxStyledTextCtrl_SetIndent(self, *_args, **_kwargs)
|
||||
return val
|
||||
@@ -801,6 +816,39 @@ class wxStyledTextCtrlPtr(wxControlPtr):
|
||||
def TextHeight(self, *_args, **_kwargs):
|
||||
val = stc_c.wxStyledTextCtrl_TextHeight(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetUseVerticalScrollBar(self, *_args, **_kwargs):
|
||||
val = stc_c.wxStyledTextCtrl_SetUseVerticalScrollBar(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetUseVerticalScrollBar(self, *_args, **_kwargs):
|
||||
val = stc_c.wxStyledTextCtrl_GetUseVerticalScrollBar(self, *_args, **_kwargs)
|
||||
return val
|
||||
def AppendText(self, *_args, **_kwargs):
|
||||
val = stc_c.wxStyledTextCtrl_AppendText(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetTwoPhaseDraw(self, *_args, **_kwargs):
|
||||
val = stc_c.wxStyledTextCtrl_GetTwoPhaseDraw(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetTwoPhaseDraw(self, *_args, **_kwargs):
|
||||
val = stc_c.wxStyledTextCtrl_SetTwoPhaseDraw(self, *_args, **_kwargs)
|
||||
return val
|
||||
def TargetFromSelection(self, *_args, **_kwargs):
|
||||
val = stc_c.wxStyledTextCtrl_TargetFromSelection(self, *_args, **_kwargs)
|
||||
return val
|
||||
def LinesJoin(self, *_args, **_kwargs):
|
||||
val = stc_c.wxStyledTextCtrl_LinesJoin(self, *_args, **_kwargs)
|
||||
return val
|
||||
def LinesSplit(self, *_args, **_kwargs):
|
||||
val = stc_c.wxStyledTextCtrl_LinesSplit(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetFoldMarginColour(self, *_args, **_kwargs):
|
||||
val = stc_c.wxStyledTextCtrl_SetFoldMarginColour(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetFoldMarginHiColour(self, *_args, **_kwargs):
|
||||
val = stc_c.wxStyledTextCtrl_SetFoldMarginHiColour(self, *_args, **_kwargs)
|
||||
return val
|
||||
def LineDuplicate(self, *_args, **_kwargs):
|
||||
val = stc_c.wxStyledTextCtrl_LineDuplicate(self, *_args, **_kwargs)
|
||||
return val
|
||||
def HomeDisplay(self, *_args, **_kwargs):
|
||||
val = stc_c.wxStyledTextCtrl_HomeDisplay(self, *_args, **_kwargs)
|
||||
return val
|
||||
@@ -955,12 +1003,21 @@ class wxStyledTextCtrlPtr(wxControlPtr):
|
||||
def GetXOffset(self, *_args, **_kwargs):
|
||||
val = stc_c.wxStyledTextCtrl_GetXOffset(self, *_args, **_kwargs)
|
||||
return val
|
||||
def ChooseCaretX(self, *_args, **_kwargs):
|
||||
val = stc_c.wxStyledTextCtrl_ChooseCaretX(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetXCaretPolicy(self, *_args, **_kwargs):
|
||||
val = stc_c.wxStyledTextCtrl_SetXCaretPolicy(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetYCaretPolicy(self, *_args, **_kwargs):
|
||||
val = stc_c.wxStyledTextCtrl_SetYCaretPolicy(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetPrintWrapMode(self, *_args, **_kwargs):
|
||||
val = stc_c.wxStyledTextCtrl_SetPrintWrapMode(self, *_args, **_kwargs)
|
||||
return val
|
||||
def GetPrintWrapMode(self, *_args, **_kwargs):
|
||||
val = stc_c.wxStyledTextCtrl_GetPrintWrapMode(self, *_args, **_kwargs)
|
||||
return val
|
||||
def StartRecord(self, *_args, **_kwargs):
|
||||
val = stc_c.wxStyledTextCtrl_StartRecord(self, *_args, **_kwargs)
|
||||
return val
|
||||
@@ -1215,6 +1272,7 @@ wxSTC_EOL_CRLF = stc_c.wxSTC_EOL_CRLF
|
||||
wxSTC_EOL_CR = stc_c.wxSTC_EOL_CR
|
||||
wxSTC_EOL_LF = stc_c.wxSTC_EOL_LF
|
||||
wxSTC_CP_UTF8 = stc_c.wxSTC_CP_UTF8
|
||||
wxSTC_CP_DBCS = stc_c.wxSTC_CP_DBCS
|
||||
wxSTC_MARKER_MAX = stc_c.wxSTC_MARKER_MAX
|
||||
wxSTC_MARK_CIRCLE = stc_c.wxSTC_MARK_CIRCLE
|
||||
wxSTC_MARK_ROUNDRECT = stc_c.wxSTC_MARK_ROUNDRECT
|
||||
@@ -1241,6 +1299,7 @@ wxSTC_MARK_CIRCLEMINUSCONNECTED = stc_c.wxSTC_MARK_CIRCLEMINUSCONNECTED
|
||||
wxSTC_MARK_BACKGROUND = stc_c.wxSTC_MARK_BACKGROUND
|
||||
wxSTC_MARK_DOTDOTDOT = stc_c.wxSTC_MARK_DOTDOTDOT
|
||||
wxSTC_MARK_ARROWS = stc_c.wxSTC_MARK_ARROWS
|
||||
wxSTC_MARK_PIXMAP = stc_c.wxSTC_MARK_PIXMAP
|
||||
wxSTC_MARK_CHARACTER = stc_c.wxSTC_MARK_CHARACTER
|
||||
wxSTC_MARKNUM_FOLDEREND = stc_c.wxSTC_MARKNUM_FOLDEREND
|
||||
wxSTC_MARKNUM_FOLDEROPENMID = stc_c.wxSTC_MARKNUM_FOLDEROPENMID
|
||||
@@ -1304,7 +1363,17 @@ wxSTC_FIND_REGEXP = stc_c.wxSTC_FIND_REGEXP
|
||||
wxSTC_FOLDLEVELBASE = stc_c.wxSTC_FOLDLEVELBASE
|
||||
wxSTC_FOLDLEVELWHITEFLAG = stc_c.wxSTC_FOLDLEVELWHITEFLAG
|
||||
wxSTC_FOLDLEVELHEADERFLAG = stc_c.wxSTC_FOLDLEVELHEADERFLAG
|
||||
wxSTC_FOLDLEVELBOXHEADERFLAG = stc_c.wxSTC_FOLDLEVELBOXHEADERFLAG
|
||||
wxSTC_FOLDLEVELBOXFOOTERFLAG = stc_c.wxSTC_FOLDLEVELBOXFOOTERFLAG
|
||||
wxSTC_FOLDLEVELCONTRACTED = stc_c.wxSTC_FOLDLEVELCONTRACTED
|
||||
wxSTC_FOLDLEVELUNINDENT = stc_c.wxSTC_FOLDLEVELUNINDENT
|
||||
wxSTC_FOLDLEVELNUMBERMASK = stc_c.wxSTC_FOLDLEVELNUMBERMASK
|
||||
wxSTC_FOLDFLAG_LINEBEFORE_EXPANDED = stc_c.wxSTC_FOLDFLAG_LINEBEFORE_EXPANDED
|
||||
wxSTC_FOLDFLAG_LINEBEFORE_CONTRACTED = stc_c.wxSTC_FOLDFLAG_LINEBEFORE_CONTRACTED
|
||||
wxSTC_FOLDFLAG_LINEAFTER_EXPANDED = stc_c.wxSTC_FOLDFLAG_LINEAFTER_EXPANDED
|
||||
wxSTC_FOLDFLAG_LINEAFTER_CONTRACTED = stc_c.wxSTC_FOLDFLAG_LINEAFTER_CONTRACTED
|
||||
wxSTC_FOLDFLAG_LEVELNUMBERS = stc_c.wxSTC_FOLDFLAG_LEVELNUMBERS
|
||||
wxSTC_FOLDFLAG_BOX = stc_c.wxSTC_FOLDFLAG_BOX
|
||||
wxSTC_TIME_FOREVER = stc_c.wxSTC_TIME_FOREVER
|
||||
wxSTC_WRAP_NONE = stc_c.wxSTC_WRAP_NONE
|
||||
wxSTC_WRAP_WORD = stc_c.wxSTC_WRAP_WORD
|
||||
@@ -1389,6 +1458,11 @@ wxSTC_LEX_PHP = stc_c.wxSTC_LEX_PHP
|
||||
wxSTC_LEX_BAAN = stc_c.wxSTC_LEX_BAAN
|
||||
wxSTC_LEX_MATLAB = stc_c.wxSTC_LEX_MATLAB
|
||||
wxSTC_LEX_SCRIPTOL = stc_c.wxSTC_LEX_SCRIPTOL
|
||||
wxSTC_LEX_ASM = stc_c.wxSTC_LEX_ASM
|
||||
wxSTC_LEX_CPPNOCASE = stc_c.wxSTC_LEX_CPPNOCASE
|
||||
wxSTC_LEX_FORTRAN = stc_c.wxSTC_LEX_FORTRAN
|
||||
wxSTC_LEX_F77 = stc_c.wxSTC_LEX_F77
|
||||
wxSTC_LEX_CSS = stc_c.wxSTC_LEX_CSS
|
||||
wxSTC_LEX_AUTOMATIC = stc_c.wxSTC_LEX_AUTOMATIC
|
||||
wxSTC_P_DEFAULT = stc_c.wxSTC_P_DEFAULT
|
||||
wxSTC_P_COMMENTLINE = stc_c.wxSTC_P_COMMENTLINE
|
||||
@@ -1614,6 +1688,7 @@ wxSTC_ERR_DIFF_CHANGED = stc_c.wxSTC_ERR_DIFF_CHANGED
|
||||
wxSTC_ERR_DIFF_ADDITION = stc_c.wxSTC_ERR_DIFF_ADDITION
|
||||
wxSTC_ERR_DIFF_DELETION = stc_c.wxSTC_ERR_DIFF_DELETION
|
||||
wxSTC_ERR_DIFF_MESSAGE = stc_c.wxSTC_ERR_DIFF_MESSAGE
|
||||
wxSTC_ERR_PHP = stc_c.wxSTC_ERR_PHP
|
||||
wxSTC_BAT_DEFAULT = stc_c.wxSTC_BAT_DEFAULT
|
||||
wxSTC_BAT_COMMENT = stc_c.wxSTC_BAT_COMMENT
|
||||
wxSTC_BAT_WORD = stc_c.wxSTC_BAT_WORD
|
||||
@@ -1650,22 +1725,29 @@ wxSTC_AVE_DEFAULT = stc_c.wxSTC_AVE_DEFAULT
|
||||
wxSTC_AVE_COMMENT = stc_c.wxSTC_AVE_COMMENT
|
||||
wxSTC_AVE_NUMBER = stc_c.wxSTC_AVE_NUMBER
|
||||
wxSTC_AVE_WORD = stc_c.wxSTC_AVE_WORD
|
||||
wxSTC_AVE_KEYWORD = stc_c.wxSTC_AVE_KEYWORD
|
||||
wxSTC_AVE_STATEMENT = stc_c.wxSTC_AVE_STATEMENT
|
||||
wxSTC_AVE_STRING = stc_c.wxSTC_AVE_STRING
|
||||
wxSTC_AVE_ENUM = stc_c.wxSTC_AVE_ENUM
|
||||
wxSTC_AVE_STRINGEOL = stc_c.wxSTC_AVE_STRINGEOL
|
||||
wxSTC_AVE_IDENTIFIER = stc_c.wxSTC_AVE_IDENTIFIER
|
||||
wxSTC_AVE_OPERATOR = stc_c.wxSTC_AVE_OPERATOR
|
||||
wxSTC_AVE_WORD1 = stc_c.wxSTC_AVE_WORD1
|
||||
wxSTC_AVE_WORD2 = stc_c.wxSTC_AVE_WORD2
|
||||
wxSTC_AVE_WORD3 = stc_c.wxSTC_AVE_WORD3
|
||||
wxSTC_AVE_WORD4 = stc_c.wxSTC_AVE_WORD4
|
||||
wxSTC_AVE_WORD5 = stc_c.wxSTC_AVE_WORD5
|
||||
wxSTC_AVE_WORD6 = stc_c.wxSTC_AVE_WORD6
|
||||
wxSTC_ADA_DEFAULT = stc_c.wxSTC_ADA_DEFAULT
|
||||
wxSTC_ADA_COMMENT = stc_c.wxSTC_ADA_COMMENT
|
||||
wxSTC_ADA_NUMBER = stc_c.wxSTC_ADA_NUMBER
|
||||
wxSTC_ADA_WORD = stc_c.wxSTC_ADA_WORD
|
||||
wxSTC_ADA_STRING = stc_c.wxSTC_ADA_STRING
|
||||
wxSTC_ADA_CHARACTER = stc_c.wxSTC_ADA_CHARACTER
|
||||
wxSTC_ADA_OPERATOR = stc_c.wxSTC_ADA_OPERATOR
|
||||
wxSTC_ADA_IDENTIFIER = stc_c.wxSTC_ADA_IDENTIFIER
|
||||
wxSTC_ADA_NUMBER = stc_c.wxSTC_ADA_NUMBER
|
||||
wxSTC_ADA_DELIMITER = stc_c.wxSTC_ADA_DELIMITER
|
||||
wxSTC_ADA_CHARACTER = stc_c.wxSTC_ADA_CHARACTER
|
||||
wxSTC_ADA_CHARACTEREOL = stc_c.wxSTC_ADA_CHARACTEREOL
|
||||
wxSTC_ADA_STRING = stc_c.wxSTC_ADA_STRING
|
||||
wxSTC_ADA_STRINGEOL = stc_c.wxSTC_ADA_STRINGEOL
|
||||
wxSTC_ADA_LABEL = stc_c.wxSTC_ADA_LABEL
|
||||
wxSTC_ADA_COMMENTLINE = stc_c.wxSTC_ADA_COMMENTLINE
|
||||
wxSTC_ADA_ILLEGAL = stc_c.wxSTC_ADA_ILLEGAL
|
||||
wxSTC_BAAN_DEFAULT = stc_c.wxSTC_BAAN_DEFAULT
|
||||
wxSTC_BAAN_COMMENT = stc_c.wxSTC_BAAN_COMMENT
|
||||
wxSTC_BAAN_COMMENTDOC = stc_c.wxSTC_BAAN_COMMENTDOC
|
||||
@@ -1733,6 +1815,45 @@ wxSTC_SCRIPTOL_WORD2 = stc_c.wxSTC_SCRIPTOL_WORD2
|
||||
wxSTC_SCRIPTOL_COMMENTDOCKEYWORD = stc_c.wxSTC_SCRIPTOL_COMMENTDOCKEYWORD
|
||||
wxSTC_SCRIPTOL_COMMENTDOCKEYWORDERROR = stc_c.wxSTC_SCRIPTOL_COMMENTDOCKEYWORDERROR
|
||||
wxSTC_SCRIPTOL_COMMENTBASIC = stc_c.wxSTC_SCRIPTOL_COMMENTBASIC
|
||||
wxSTC_ASM_DEFAULT = stc_c.wxSTC_ASM_DEFAULT
|
||||
wxSTC_ASM_COMMENT = stc_c.wxSTC_ASM_COMMENT
|
||||
wxSTC_ASM_NUMBER = stc_c.wxSTC_ASM_NUMBER
|
||||
wxSTC_ASM_STRING = stc_c.wxSTC_ASM_STRING
|
||||
wxSTC_ASM_OPERATOR = stc_c.wxSTC_ASM_OPERATOR
|
||||
wxSTC_ASM_IDENTIFIER = stc_c.wxSTC_ASM_IDENTIFIER
|
||||
wxSTC_ASM_CPUINSTRUCTION = stc_c.wxSTC_ASM_CPUINSTRUCTION
|
||||
wxSTC_ASM_MATHINSTRUCTION = stc_c.wxSTC_ASM_MATHINSTRUCTION
|
||||
wxSTC_ASM_REGISTER = stc_c.wxSTC_ASM_REGISTER
|
||||
wxSTC_ASM_DIRECTIVE = stc_c.wxSTC_ASM_DIRECTIVE
|
||||
wxSTC_ASM_DIRECTIVEOPERAND = stc_c.wxSTC_ASM_DIRECTIVEOPERAND
|
||||
wxSTC_F_DEFAULT = stc_c.wxSTC_F_DEFAULT
|
||||
wxSTC_F_COMMENT = stc_c.wxSTC_F_COMMENT
|
||||
wxSTC_F_NUMBER = stc_c.wxSTC_F_NUMBER
|
||||
wxSTC_F_STRING1 = stc_c.wxSTC_F_STRING1
|
||||
wxSTC_F_STRING2 = stc_c.wxSTC_F_STRING2
|
||||
wxSTC_F_STRINGEOL = stc_c.wxSTC_F_STRINGEOL
|
||||
wxSTC_F_OPERATOR = stc_c.wxSTC_F_OPERATOR
|
||||
wxSTC_F_IDENTIFIER = stc_c.wxSTC_F_IDENTIFIER
|
||||
wxSTC_F_WORD = stc_c.wxSTC_F_WORD
|
||||
wxSTC_F_WORD2 = stc_c.wxSTC_F_WORD2
|
||||
wxSTC_F_WORD3 = stc_c.wxSTC_F_WORD3
|
||||
wxSTC_F_PREPROCESSOR = stc_c.wxSTC_F_PREPROCESSOR
|
||||
wxSTC_F_OPERATOR2 = stc_c.wxSTC_F_OPERATOR2
|
||||
wxSTC_F_LABEL = stc_c.wxSTC_F_LABEL
|
||||
wxSTC_F_CONTINUATION = stc_c.wxSTC_F_CONTINUATION
|
||||
wxSTC_CSS_DEFAULT = stc_c.wxSTC_CSS_DEFAULT
|
||||
wxSTC_CSS_TAG = stc_c.wxSTC_CSS_TAG
|
||||
wxSTC_CSS_CLASS = stc_c.wxSTC_CSS_CLASS
|
||||
wxSTC_CSS_PSEUDOCLASS = stc_c.wxSTC_CSS_PSEUDOCLASS
|
||||
wxSTC_CSS_UNKNOWN_PSEUDOCLASS = stc_c.wxSTC_CSS_UNKNOWN_PSEUDOCLASS
|
||||
wxSTC_CSS_OPERATOR = stc_c.wxSTC_CSS_OPERATOR
|
||||
wxSTC_CSS_IDENTIFIER = stc_c.wxSTC_CSS_IDENTIFIER
|
||||
wxSTC_CSS_UNKNOWN_IDENTIFIER = stc_c.wxSTC_CSS_UNKNOWN_IDENTIFIER
|
||||
wxSTC_CSS_VALUE = stc_c.wxSTC_CSS_VALUE
|
||||
wxSTC_CSS_COMMENT = stc_c.wxSTC_CSS_COMMENT
|
||||
wxSTC_CSS_ID = stc_c.wxSTC_CSS_ID
|
||||
wxSTC_CSS_IMPORTANT = stc_c.wxSTC_CSS_IMPORTANT
|
||||
wxSTC_CSS_DIRECTIVE = stc_c.wxSTC_CSS_DIRECTIVE
|
||||
wxSTC_CMD_REDO = stc_c.wxSTC_CMD_REDO
|
||||
wxSTC_CMD_SELECTALL = stc_c.wxSTC_CMD_SELECTALL
|
||||
wxSTC_CMD_UNDO = stc_c.wxSTC_CMD_UNDO
|
||||
@@ -1780,6 +1901,7 @@ wxSTC_CMD_DELWORDRIGHT = stc_c.wxSTC_CMD_DELWORDRIGHT
|
||||
wxSTC_CMD_LINECUT = stc_c.wxSTC_CMD_LINECUT
|
||||
wxSTC_CMD_LINEDELETE = stc_c.wxSTC_CMD_LINEDELETE
|
||||
wxSTC_CMD_LINETRANSPOSE = stc_c.wxSTC_CMD_LINETRANSPOSE
|
||||
wxSTC_CMD_LINEDUPLICATE = stc_c.wxSTC_CMD_LINEDUPLICATE
|
||||
wxSTC_CMD_LOWERCASE = stc_c.wxSTC_CMD_LOWERCASE
|
||||
wxSTC_CMD_UPPERCASE = stc_c.wxSTC_CMD_UPPERCASE
|
||||
wxSTC_CMD_LINESCROLLDOWN = stc_c.wxSTC_CMD_LINESCROLLDOWN
|
||||
|
@@ -11427,6 +11427,37 @@ static PyObject *_wrap_wxSpinCtrl_SetValue(PyObject *self, PyObject *args, PyObj
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static void wxSpinCtrl_SetSelection(wxSpinCtrl *self,long from,long to) {
|
||||
}
|
||||
static PyObject *_wrap_wxSpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxSpinCtrl * _arg0;
|
||||
long _arg1;
|
||||
long _arg2;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","from","to", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxSpinCtrl_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_SetSelection. Expected _wxSpinCtrl_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxSpinCtrl_SetSelection(_arg0,_arg1,_arg2);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static void *SwigwxToggleButtonTowxControl(void *ptr) {
|
||||
wxToggleButton *src;
|
||||
wxControl *dest;
|
||||
@@ -11764,6 +11795,7 @@ static PyMethodDef controlscMethods[] = {
|
||||
{ "wxToggleButton_Create", (PyCFunction) _wrap_wxToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxPreToggleButton", (PyCFunction) _wrap_new_wxPreToggleButton, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxToggleButton", (PyCFunction) _wrap_new_wxToggleButton, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSpinCtrl_SetSelection", (PyCFunction) _wrap_wxSpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSpinCtrl_SetValue", (PyCFunction) _wrap_wxSpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSpinCtrl_SetRange", (PyCFunction) _wrap_wxSpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSpinCtrl_GetValue", (PyCFunction) _wrap_wxSpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
|
||||
|
@@ -1131,6 +1131,9 @@ class wxSpinCtrlPtr(wxSpinButtonPtr):
|
||||
def SetValue(self, *_args, **_kwargs):
|
||||
val = controlsc.wxSpinCtrl_SetValue(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetSelection(self, *_args, **_kwargs):
|
||||
val = controlsc.wxSpinCtrl_SetSelection(self, *_args, **_kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<%s.%s instance; proxy of C++ wxSpinCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
|
||||
class wxSpinCtrl(wxSpinCtrlPtr):
|
||||
|
@@ -1495,18 +1495,18 @@ static PyObject *_wrap_wxHtmlWinParser_GetWindow(PyObject *self, PyObject *args,
|
||||
}
|
||||
|
||||
static void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject * sizes) {
|
||||
int* temp = int_LIST_helper(sizes);
|
||||
if (temp) {
|
||||
self->SetFonts(normal_face, fixed_face, temp);
|
||||
int* temp = NULL;
|
||||
if (sizes) temp = int_LIST_helper(sizes);
|
||||
self->SetFonts(normal_face, fixed_face, temp);
|
||||
if (temp)
|
||||
delete [] temp;
|
||||
}
|
||||
}
|
||||
static PyObject *_wrap_wxHtmlWinParser_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxHtmlWinParser * _arg0;
|
||||
wxString * _arg1;
|
||||
wxString * _arg2;
|
||||
PyObject * _arg3;
|
||||
PyObject * _arg3 = (PyObject *) NULL;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
PyObject * _obj2 = 0;
|
||||
@@ -1514,7 +1514,7 @@ static PyObject *_wrap_wxHtmlWinParser_SetFonts(PyObject *self, PyObject *args,
|
||||
char *_kwnames[] = { "self","normal_face","fixed_face","sizes", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxHtmlWinParser_SetFonts",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|O:wxHtmlWinParser_SetFonts",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1533,6 +1533,7 @@ static PyObject *_wrap_wxHtmlWinParser_SetFonts(PyObject *self, PyObject *args,
|
||||
if (_arg2 == NULL)
|
||||
return NULL;
|
||||
}
|
||||
if (_obj3)
|
||||
{
|
||||
_arg3 = _obj3;
|
||||
}
|
||||
@@ -4720,18 +4721,18 @@ static PyObject *_wrap_wxHtmlWindow_SetRelatedStatusBar(PyObject *self, PyObject
|
||||
}
|
||||
|
||||
static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject * sizes) {
|
||||
int* temp = int_LIST_helper(sizes);
|
||||
if (temp) {
|
||||
self->SetFonts(normal_face, fixed_face, temp);
|
||||
int* temp = NULL;
|
||||
if (sizes) temp = int_LIST_helper(sizes);
|
||||
self->SetFonts(normal_face, fixed_face, temp);
|
||||
if (temp)
|
||||
delete [] temp;
|
||||
}
|
||||
}
|
||||
static PyObject *_wrap_wxHtmlWindow_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxPyHtmlWindow * _arg0;
|
||||
wxString * _arg1;
|
||||
wxString * _arg2;
|
||||
PyObject * _arg3;
|
||||
PyObject * _arg3 = (PyObject *) NULL;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
PyObject * _obj2 = 0;
|
||||
@@ -4739,7 +4740,7 @@ static PyObject *_wrap_wxHtmlWindow_SetFonts(PyObject *self, PyObject *args, PyO
|
||||
char *_kwnames[] = { "self","normal_face","fixed_face","sizes", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxHtmlWindow_SetFonts",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|O:wxHtmlWindow_SetFonts",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -4758,6 +4759,7 @@ static PyObject *_wrap_wxHtmlWindow_SetFonts(PyObject *self, PyObject *args, PyO
|
||||
if (_arg2 == NULL)
|
||||
return NULL;
|
||||
}
|
||||
if (_obj3)
|
||||
{
|
||||
_arg3 = _obj3;
|
||||
}
|
||||
@@ -5606,6 +5608,68 @@ static PyObject *_wrap_wxHtmlDCRenderer_SetHtmlText(PyObject *self, PyObject *ar
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject * sizes) {
|
||||
int* temp = NULL;
|
||||
if (sizes) temp = int_LIST_helper(sizes);
|
||||
self->SetFonts(normal_face, fixed_face, temp);
|
||||
if (temp)
|
||||
delete [] temp;
|
||||
}
|
||||
static PyObject *_wrap_wxHtmlDCRenderer_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxHtmlDCRenderer * _arg0;
|
||||
wxString * _arg1;
|
||||
wxString * _arg2;
|
||||
PyObject * _arg3 = (PyObject *) NULL;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
PyObject * _obj2 = 0;
|
||||
PyObject * _obj3 = 0;
|
||||
char *_kwnames[] = { "self","normal_face","fixed_face","sizes", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|O:wxHtmlDCRenderer_SetFonts",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlDCRenderer_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlDCRenderer_SetFonts. Expected _wxHtmlDCRenderer_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
_arg1 = wxString_in_helper(_obj1);
|
||||
if (_arg1 == NULL)
|
||||
return NULL;
|
||||
}
|
||||
{
|
||||
_arg2 = wxString_in_helper(_obj2);
|
||||
if (_arg2 == NULL)
|
||||
return NULL;
|
||||
}
|
||||
if (_obj3)
|
||||
{
|
||||
_arg3 = _obj3;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxHtmlDCRenderer_SetFonts(_arg0,*_arg1,*_arg2,_arg3);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
{
|
||||
if (_obj1)
|
||||
delete _arg1;
|
||||
}
|
||||
{
|
||||
if (_obj2)
|
||||
delete _arg2;
|
||||
}
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxHtmlDCRenderer_Render(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Render(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
|
||||
static PyObject *_wrap_wxHtmlDCRenderer_Render(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
@@ -5893,6 +5957,68 @@ static PyObject *_wrap_wxHtmlPrintout_SetFooter(PyObject *self, PyObject *args,
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject * sizes) {
|
||||
int* temp = NULL;
|
||||
if (sizes) temp = int_LIST_helper(sizes);
|
||||
self->SetFonts(normal_face, fixed_face, temp);
|
||||
if (temp)
|
||||
delete [] temp;
|
||||
}
|
||||
static PyObject *_wrap_wxHtmlPrintout_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxHtmlPrintout * _arg0;
|
||||
wxString * _arg1;
|
||||
wxString * _arg2;
|
||||
PyObject * _arg3 = (PyObject *) NULL;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
PyObject * _obj2 = 0;
|
||||
PyObject * _obj3 = 0;
|
||||
char *_kwnames[] = { "self","normal_face","fixed_face","sizes", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|O:wxHtmlPrintout_SetFonts",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlPrintout_p")) {
|
||||
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlPrintout_SetFonts. Expected _wxHtmlPrintout_p.");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
{
|
||||
_arg1 = wxString_in_helper(_obj1);
|
||||
if (_arg1 == NULL)
|
||||
return NULL;
|
||||
}
|
||||
{
|
||||
_arg2 = wxString_in_helper(_obj2);
|
||||
if (_arg2 == NULL)
|
||||
return NULL;
|
||||
}
|
||||
if (_obj3)
|
||||
{
|
||||
_arg3 = _obj3;
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
wxHtmlPrintout_SetFonts(_arg0,*_arg1,*_arg2,_arg3);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
} Py_INCREF(Py_None);
|
||||
_resultobj = Py_None;
|
||||
{
|
||||
if (_obj1)
|
||||
delete _arg1;
|
||||
}
|
||||
{
|
||||
if (_obj2)
|
||||
delete _arg2;
|
||||
}
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxHtmlPrintout_SetMargins(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetMargins(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
|
||||
static PyObject *_wrap_wxHtmlPrintout_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
@@ -6409,6 +6535,7 @@ static PyMethodDef htmlcMethods[] = {
|
||||
{ "delete_wxHtmlEasyPrinting", (PyCFunction) _wrap_delete_wxHtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxHtmlEasyPrinting", (PyCFunction) _wrap_new_wxHtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxHtmlPrintout_SetMargins", (PyCFunction) _wrap_wxHtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxHtmlPrintout_SetFonts", (PyCFunction) _wrap_wxHtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxHtmlPrintout_SetFooter", (PyCFunction) _wrap_wxHtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxHtmlPrintout_SetHeader", (PyCFunction) _wrap_wxHtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxHtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_wxHtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS },
|
||||
@@ -6416,6 +6543,7 @@ static PyMethodDef htmlcMethods[] = {
|
||||
{ "new_wxHtmlPrintout", (PyCFunction) _wrap_new_wxHtmlPrintout, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxHtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_wxHtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxHtmlDCRenderer_Render", (PyCFunction) _wrap_wxHtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxHtmlDCRenderer_SetFonts", (PyCFunction) _wrap_wxHtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxHtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_wxHtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxHtmlDCRenderer_SetSize", (PyCFunction) _wrap_wxHtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxHtmlDCRenderer_SetDC", (PyCFunction) _wrap_wxHtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS },
|
||||
|
@@ -664,6 +664,9 @@ class wxHtmlDCRendererPtr(wxObjectPtr):
|
||||
def SetHtmlText(self, *_args, **_kwargs):
|
||||
val = htmlc.wxHtmlDCRenderer_SetHtmlText(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetFonts(self, *_args, **_kwargs):
|
||||
val = htmlc.wxHtmlDCRenderer_SetFonts(self, *_args, **_kwargs)
|
||||
return val
|
||||
def Render(self, *_args, **_kwargs):
|
||||
val = htmlc.wxHtmlDCRenderer_Render(self, *_args, **_kwargs)
|
||||
return val
|
||||
@@ -696,6 +699,9 @@ class wxHtmlPrintoutPtr(wxPrintoutPtr):
|
||||
def SetFooter(self, *_args, **_kwargs):
|
||||
val = htmlc.wxHtmlPrintout_SetFooter(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetFonts(self, *_args, **_kwargs):
|
||||
val = htmlc.wxHtmlPrintout_SetFonts(self, *_args, **_kwargs)
|
||||
return val
|
||||
def SetMargins(self, *_args, **_kwargs):
|
||||
val = htmlc.wxHtmlPrintout_SetMargins(self, *_args, **_kwargs)
|
||||
return val
|
||||
|
@@ -1610,6 +1610,8 @@ if wxPlatform == "__WXGTK__":
|
||||
except:
|
||||
pass
|
||||
|
||||
# On MSW add the directory where the wxWindows catalogs were installed
|
||||
# to the default catalog path.
|
||||
if wxPlatform == "__WXMSW__":
|
||||
import os
|
||||
localedir = os.path.join(os.path.split(__file__)[0], "locale")
|
||||
|
Reference in New Issue
Block a user