f6bcfd974e
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
8084 lines
317 KiB
C++
8084 lines
317 KiB
C++
/*
|
|
* FILE : ./stc_.cpp
|
|
*
|
|
* This file was automatically generated by :
|
|
* Simplified Wrapper and Interface Generator (SWIG)
|
|
* Version 1.1 (Build 810)
|
|
*
|
|
* Portions Copyright (c) 1995-1998
|
|
* The University of Utah and The Regents of the University of California.
|
|
* Permission is granted to distribute this file in any manner provided
|
|
* this notice remains intact.
|
|
*
|
|
* Do not make changes to this file--changes will be lost!
|
|
*
|
|
*/
|
|
|
|
|
|
#define SWIGCODE
|
|
/* Implementation : PYTHON */
|
|
|
|
#define SWIGPYTHON
|
|
#include <string.h>
|
|
#include <stdlib.h>
|
|
/* Definitions for Windows/Unix exporting */
|
|
#if defined(__WIN32__)
|
|
# if defined(_MSC_VER)
|
|
# define SWIGEXPORT(a) __declspec(dllexport) a
|
|
# else
|
|
# if defined(__BORLANDC__)
|
|
# define SWIGEXPORT(a) a _export
|
|
# else
|
|
# define SWIGEXPORT(a) a
|
|
# endif
|
|
# endif
|
|
#else
|
|
# define SWIGEXPORT(a) a
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
#include "Python.h"
|
|
extern void SWIG_MakePtr(char *, void *, char *);
|
|
extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
|
|
extern char *SWIG_GetPtr(char *, void **, char *);
|
|
extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
|
|
extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
|
|
extern PyObject *SWIG_newvarlink(void);
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#define SWIG_init initstc_c
|
|
|
|
#define SWIG_name "stc_c"
|
|
|
|
#include "helpers.h"
|
|
#include "wx/stc/stc.h"
|
|
|
|
static PyObject* l_output_helper(PyObject* target, PyObject* o) {
|
|
PyObject* o2;
|
|
PyObject* o3;
|
|
if (!target) {
|
|
target = o;
|
|
} else if (target == Py_None) {
|
|
Py_DECREF(Py_None);
|
|
target = o;
|
|
} else {
|
|
if (!PyList_Check(target)) {
|
|
o2 = target;
|
|
target = PyList_New(0);
|
|
PyList_Append(target, o2);
|
|
Py_XDECREF(o2);
|
|
}
|
|
PyList_Append(target,o);
|
|
Py_XDECREF(o);
|
|
}
|
|
return target;
|
|
}
|
|
|
|
static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
|
PyObject* o2;
|
|
PyObject* o3;
|
|
|
|
if (!target) {
|
|
target = o;
|
|
} else if (target == Py_None) {
|
|
Py_DECREF(Py_None);
|
|
target = o;
|
|
} else {
|
|
if (!PyTuple_Check(target)) {
|
|
o2 = target;
|
|
target = PyTuple_New(1);
|
|
PyTuple_SetItem(target, 0, o2);
|
|
}
|
|
o3 = PyTuple_New(1);
|
|
PyTuple_SetItem(o3, 0, o);
|
|
|
|
o2 = target;
|
|
target = PySequence_Concat(o2, o3);
|
|
Py_DECREF(o2);
|
|
Py_DECREF(o3);
|
|
}
|
|
return target;
|
|
}
|
|
|
|
static char* wxStringErrorMsg = "string type is required for parameter";
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
static void *SwigwxStyledTextCtrlTowxControl(void *ptr) {
|
|
wxStyledTextCtrl *src;
|
|
wxControl *dest;
|
|
src = (wxStyledTextCtrl *) ptr;
|
|
dest = (wxControl *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
static void *SwigwxStyledTextCtrlTowxWindow(void *ptr) {
|
|
wxStyledTextCtrl *src;
|
|
wxWindow *dest;
|
|
src = (wxStyledTextCtrl *) ptr;
|
|
dest = (wxWindow *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
static void *SwigwxStyledTextCtrlTowxEvtHandler(void *ptr) {
|
|
wxStyledTextCtrl *src;
|
|
wxEvtHandler *dest;
|
|
src = (wxStyledTextCtrl *) ptr;
|
|
dest = (wxEvtHandler *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
#define new_wxStyledTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStyledTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
|
|
static PyObject *_wrap_new_wxStyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _result;
|
|
wxWindow * _arg0;
|
|
wxWindowID _arg1;
|
|
wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
|
|
wxSize * _arg3 = (wxSize *) &wxDefaultSize;
|
|
long _arg4 = (long ) 0;
|
|
char * _arg5 = (char *) "styledtext";
|
|
PyObject * _argo0 = 0;
|
|
wxPoint temp;
|
|
PyObject * _obj2 = 0;
|
|
wxSize temp0;
|
|
PyObject * _obj3 = 0;
|
|
char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxStyledTextCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStyledTextCtrl. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_obj2)
|
|
{
|
|
_arg2 = &temp;
|
|
if (! wxPoint_helper(_obj2, &_arg2))
|
|
return NULL;
|
|
}
|
|
if (_obj3)
|
|
{
|
|
_arg3 = &temp0;
|
|
if (! wxSize_helper(_obj3, &_arg3))
|
|
return NULL;
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (wxStyledTextCtrl *)new_wxStyledTextCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} if (_result) {
|
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxStyledTextCtrl_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
} else {
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetText(_swigobj) (_swigobj->GetText())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxString * _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetText",_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_GetText. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = new wxString (wxStyledTextCtrl_GetText(_arg0));
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
}{
|
|
_resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
|
|
}
|
|
{
|
|
delete _result;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
wxString * _arg1;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _obj1 = 0;
|
|
char *_kwnames[] = { "self","text", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetText",_kwnames,&_argo0,&_obj1))
|
|
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_SetText. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxStyledTextCtrl_SetText(_arg0,*_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
{
|
|
if (_obj1)
|
|
delete _arg1;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetLine(_swigobj,_swigarg0) (_swigobj->GetLine(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxString * _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","line", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLine",_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_GetLine. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = new wxString (wxStyledTextCtrl_GetLine(_arg0,_arg1));
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
}{
|
|
_resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
|
|
}
|
|
{
|
|
delete _result;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_ReplaceSelection(_swigobj,_swigarg0) (_swigobj->ReplaceSelection(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_ReplaceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
wxString * _arg1;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _obj1 = 0;
|
|
char *_kwnames[] = { "self","text", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReplaceSelection",_kwnames,&_argo0,&_obj1))
|
|
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_ReplaceSelection. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_ReplaceSelection(_arg0,*_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
if (_obj1)
|
|
delete _arg1;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
bool _arg1;
|
|
PyObject * _argo0 = 0;
|
|
int tempbool1;
|
|
char *_kwnames[] = { "self","readOnly", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetReadOnly",_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_SetReadOnly. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetReadOnly(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetReadOnly(_swigobj) (_swigobj->GetReadOnly())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetReadOnly(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_GetReadOnly",_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_GetReadOnly. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxStyledTextCtrl_GetReadOnly(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetTextRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTextRange(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetTextRange(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxString * _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","startPos","endPos", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetTextRange",_kwnames,&_argo0,&_arg1,&_arg2))
|
|
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_GetTextRange. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = new wxString (wxStyledTextCtrl_GetTextRange(_arg0,_arg1,_arg2));
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
}{
|
|
_resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
|
|
}
|
|
{
|
|
delete _result;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetStyledTextRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetStyledTextRange(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetStyledTextRange(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxString * _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","startPos","endPos", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetStyledTextRange",_kwnames,&_argo0,&_arg1,&_arg2))
|
|
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_GetStyledTextRange. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = new wxString (wxStyledTextCtrl_GetStyledTextRange(_arg0,_arg1,_arg2));
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
}{
|
|
_resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
|
|
}
|
|
{
|
|
delete _result;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_AddText(_swigobj,_swigarg0) (_swigobj->AddText(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_AddText(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
wxString * _arg1;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _obj1 = 0;
|
|
char *_kwnames[] = { "self","text", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AddText",_kwnames,&_argo0,&_obj1))
|
|
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_AddText. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_AddText(_arg0,*_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
if (_obj1)
|
|
delete _arg1;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_AddStyledText(_swigobj,_swigarg0) (_swigobj->AddStyledText(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_AddStyledText(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
wxString * _arg1;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _obj1 = 0;
|
|
char *_kwnames[] = { "self","text", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AddStyledText",_kwnames,&_argo0,&_obj1))
|
|
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_AddStyledText. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_AddStyledText(_arg0,*_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
if (_obj1)
|
|
delete _arg1;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_InsertText(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertText(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_InsertText(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
wxString * _arg2;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _obj2 = 0;
|
|
char *_kwnames[] = { "self","pos","text", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_InsertText",_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_InsertText. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj2)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_InsertText(_arg0,_arg1,*_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
if (_obj2)
|
|
delete _arg2;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
|
|
static PyObject *_wrap_wxStyledTextCtrl_ClearAll(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_ClearAll",_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_ClearAll. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_ClearAll(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetCharAt(_swigobj,_swigarg0) (_swigobj->GetCharAt(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetCharAt(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
char _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","pos", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetCharAt",_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_GetCharAt. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (char )wxStyledTextCtrl_GetCharAt(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("c",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetStyleAt(_swigobj,_swigarg0) (_swigobj->GetStyleAt(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetStyleAt(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
char _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","pos", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetStyleAt",_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_GetStyleAt. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (char )wxStyledTextCtrl_GetStyleAt(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("c",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetStyleBits(_swigobj,_swigarg0) (_swigobj->SetStyleBits(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","bits", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetStyleBits",_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_SetStyleBits. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetStyleBits(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetStyleBits(_swigobj) (_swigobj->GetStyleBits())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetStyleBits(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_GetStyleBits",_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_GetStyleBits. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetStyleBits(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_Cut(_swigobj) (_swigobj->Cut())
|
|
static PyObject *_wrap_wxStyledTextCtrl_Cut(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_Cut",_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_Cut. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_Cut(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_Copy(_swigobj) (_swigobj->Copy())
|
|
static PyObject *_wrap_wxStyledTextCtrl_Copy(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_Copy",_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_Copy. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_Copy(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_Paste(_swigobj) (_swigobj->Paste())
|
|
static PyObject *_wrap_wxStyledTextCtrl_Paste(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_Paste",_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_Paste. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_Paste(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
|
|
static PyObject *_wrap_wxStyledTextCtrl_CanPaste(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_CanPaste",_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_CanPaste. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxStyledTextCtrl_CanPaste(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_ClearClipbrd(_swigobj) (_swigobj->ClearClipbrd())
|
|
static PyObject *_wrap_wxStyledTextCtrl_ClearClipbrd(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_ClearClipbrd",_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_ClearClipbrd. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_ClearClipbrd(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_Undo(_swigobj) (_swigobj->Undo())
|
|
static PyObject *_wrap_wxStyledTextCtrl_Undo(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_Undo",_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_Undo. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_Undo(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
|
|
static PyObject *_wrap_wxStyledTextCtrl_CanUndo(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_CanUndo",_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_CanUndo. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxStyledTextCtrl_CanUndo(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_EmptyUndoBuffer(_swigobj) (_swigobj->EmptyUndoBuffer())
|
|
static PyObject *_wrap_wxStyledTextCtrl_EmptyUndoBuffer(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_EmptyUndoBuffer",_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_EmptyUndoBuffer. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_EmptyUndoBuffer(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_Redo(_swigobj) (_swigobj->Redo())
|
|
static PyObject *_wrap_wxStyledTextCtrl_Redo(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_Redo",_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_Redo. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_Redo(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
|
|
static PyObject *_wrap_wxStyledTextCtrl_CanRedo(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_CanRedo",_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_CanRedo. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxStyledTextCtrl_CanRedo(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetUndoCollection(_swigobj,_swigarg0) (_swigobj->SetUndoCollection(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
wxSTC_UndoType _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","type", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUndoCollection",_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_SetUndoCollection. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetUndoCollection(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetUndoCollection(_swigobj) (_swigobj->GetUndoCollection())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSTC_UndoType _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUndoCollection",_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_GetUndoCollection. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (wxSTC_UndoType )wxStyledTextCtrl_GetUndoCollection(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_BeginUndoAction(_swigobj) (_swigobj->BeginUndoAction())
|
|
static PyObject *_wrap_wxStyledTextCtrl_BeginUndoAction(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_BeginUndoAction",_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_BeginUndoAction. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_BeginUndoAction(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_EndUndoAction(_swigobj) (_swigobj->EndUndoAction())
|
|
static PyObject *_wrap_wxStyledTextCtrl_EndUndoAction(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_EndUndoAction",_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_EndUndoAction. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_EndUndoAction(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int * _arg1;
|
|
int temp;
|
|
int * _arg2;
|
|
int temp0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
{
|
|
_arg1 = &temp;
|
|
}
|
|
{
|
|
_arg2 = &temp0;
|
|
}
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelection",_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_GetSelection. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_GetSelection(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
PyObject *o;
|
|
o = PyInt_FromLong((long) (*_arg1));
|
|
_resultobj = t_output_helper(_resultobj, o);
|
|
}
|
|
{
|
|
PyObject *o;
|
|
o = PyInt_FromLong((long) (*_arg2));
|
|
_resultobj = t_output_helper(_resultobj, o);
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","startPos","endPos", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2))
|
|
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_SetSelection. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetSelection(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetSelectedText(_swigobj) (_swigobj->GetSelectedText())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetSelectedText(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxString * _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelectedText",_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_GetSelectedText. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = new wxString (wxStyledTextCtrl_GetSelectedText(_arg0));
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
}{
|
|
_resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
|
|
}
|
|
{
|
|
delete _result;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_HideSelection(_swigobj,_swigarg0) (_swigobj->HideSelection(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_HideSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
bool _arg1;
|
|
PyObject * _argo0 = 0;
|
|
int tempbool1;
|
|
char *_kwnames[] = { "self","hide", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_HideSelection",_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_HideSelection. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_HideSelection(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetHideSelection(_swigobj) (_swigobj->GetHideSelection())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetHideSelection(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_GetHideSelection",_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_GetHideSelection. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxStyledTextCtrl_GetHideSelection(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetTextLength(_swigobj) (_swigobj->GetTextLength())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetTextLength(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_GetTextLength",_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_GetTextLength. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetTextLength(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetFirstVisibleLine(_swigobj) (_swigobj->GetFirstVisibleLine())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetFirstVisibleLine(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_GetFirstVisibleLine",_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_GetFirstVisibleLine. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetFirstVisibleLine(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetModified(_swigobj) (_swigobj->GetModified())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetModified(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_GetModified",_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_GetModified. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxStyledTextCtrl_GetModified(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetLineCount(_swigobj) (_swigobj->GetLineCount())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetLineCount(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_GetLineCount",_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_GetLineCount. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetLineCount(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetRect(_swigobj) (_swigobj->GetRect())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxRect * _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetRect",_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_GetRect. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = new wxRect (wxStyledTextCtrl_GetRect(_arg0));
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetLineFromPos(_swigobj,_swigarg0) (_swigobj->GetLineFromPos(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetLineFromPos(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","pos", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineFromPos",_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_GetLineFromPos. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetLineFromPos(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetLineStartPos(_swigobj,_swigarg0) (_swigobj->GetLineStartPos(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetLineStartPos(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","line", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineStartPos",_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_GetLineStartPos. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetLineStartPos(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetLineLengthAtPos(_swigobj,_swigarg0) (_swigobj->GetLineLengthAtPos(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetLineLengthAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","pos", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineLengthAtPos",_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_GetLineLengthAtPos. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetLineLengthAtPos(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","line", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineLength",_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_GetLineLength. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetLineLength(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetCurrentLineText(_swigobj,_swigarg0) (_swigobj->GetCurrentLineText(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetCurrentLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxString * _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
int * _arg1;
|
|
int temp;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
{
|
|
_arg1 = &temp;
|
|
}
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCurrentLineText",_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_GetCurrentLineText. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = new wxString (wxStyledTextCtrl_GetCurrentLineText(_arg0,_arg1));
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
}{
|
|
_resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
|
|
}
|
|
{
|
|
PyObject *o;
|
|
o = PyInt_FromLong((long) (*_arg1));
|
|
_resultobj = t_output_helper(_resultobj, o);
|
|
}
|
|
{
|
|
delete _result;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetCurrentLine(_swigobj) (_swigobj->GetCurrentLine())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetCurrentLine(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_GetCurrentLine",_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_GetCurrentLine. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetCurrentLine(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_PositionFromPoint(_swigobj,_swigarg0) (_swigobj->PositionFromPoint(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_PositionFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
wxPoint * _arg1;
|
|
PyObject * _argo0 = 0;
|
|
wxPoint temp;
|
|
PyObject * _obj1 = 0;
|
|
char *_kwnames[] = { "self","pt", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_PositionFromPoint",_kwnames,&_argo0,&_obj1))
|
|
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_PositionFromPoint. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
_arg1 = &temp;
|
|
if (! wxPoint_helper(_obj1, &_arg1))
|
|
return NULL;
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_PositionFromPoint(_arg0,*_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_LineFromPoint(_swigobj,_swigarg0) (_swigobj->LineFromPoint(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_LineFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
wxPoint * _arg1;
|
|
PyObject * _argo0 = 0;
|
|
wxPoint temp;
|
|
PyObject * _obj1 = 0;
|
|
char *_kwnames[] = { "self","pt", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_LineFromPoint",_kwnames,&_argo0,&_obj1))
|
|
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_LineFromPoint. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
_arg1 = &temp;
|
|
if (! wxPoint_helper(_obj1, &_arg1))
|
|
return NULL;
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_LineFromPoint(_arg0,*_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_PointFromPosition(_swigobj,_swigarg0) (_swigobj->PointFromPosition(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_PointFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxPoint * _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","pos", NULL };
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_PointFromPosition",_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_PointFromPosition. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = new wxPoint (wxStyledTextCtrl_PointFromPosition(_arg0,_arg1));
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetCurrentPos(_swigobj) (_swigobj->GetCurrentPos())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetCurrentPos(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_GetCurrentPos",_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_GetCurrentPos. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetCurrentPos(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetAnchor(_swigobj) (_swigobj->GetAnchor())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetAnchor(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_GetAnchor",_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_GetAnchor. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetAnchor(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll())
|
|
static PyObject *_wrap_wxStyledTextCtrl_SelectAll(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_SelectAll",_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_SelectAll. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SelectAll(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetCurrentPosition(_swigobj,_swigarg0) (_swigobj->SetCurrentPosition(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetCurrentPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","pos", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCurrentPosition",_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_SetCurrentPosition. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetCurrentPosition(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetAnchor(_swigobj,_swigarg0) (_swigobj->SetAnchor(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","pos", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetAnchor",_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_SetAnchor. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetAnchor(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GotoPos(_swigobj,_swigarg0) (_swigobj->GotoPos(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_GotoPos(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","pos", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GotoPos",_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_GotoPos. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_GotoPos(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GotoLine(_swigobj,_swigarg0) (_swigobj->GotoLine(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_GotoLine(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","line", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GotoLine",_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_GotoLine. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_GotoLine(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_ChangePosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->ChangePosition(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_ChangePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
bool _arg2;
|
|
PyObject * _argo0 = 0;
|
|
int tempbool2;
|
|
char *_kwnames[] = { "self","delta","extendSelection", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_ChangePosition",_kwnames,&_argo0,&_arg1,&tempbool2))
|
|
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_ChangePosition. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg2 = (bool ) tempbool2;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_ChangePosition(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_PageMove(_swigobj,_swigarg0,_swigarg1) (_swigobj->PageMove(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_PageMove(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
bool _arg2;
|
|
PyObject * _argo0 = 0;
|
|
int tempbool2;
|
|
char *_kwnames[] = { "self","cmdKey","extendSelection", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_PageMove",_kwnames,&_argo0,&_arg1,&tempbool2))
|
|
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_PageMove. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg2 = (bool ) tempbool2;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_PageMove(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_ScrollBy(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollBy(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_ScrollBy(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","columnDelta","lineDelta", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_ScrollBy",_kwnames,&_argo0,&_arg1,&_arg2))
|
|
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_ScrollBy. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_ScrollBy(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_ScrollToLine(_swigobj,_swigarg0) (_swigobj->ScrollToLine(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","line", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ScrollToLine",_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_ScrollToLine. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_ScrollToLine(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_ScrollToColumn(_swigobj,_swigarg0) (_swigobj->ScrollToColumn(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_ScrollToColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","column", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ScrollToColumn",_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_ScrollToColumn. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_ScrollToColumn(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_EnsureCaretVisible(_swigobj) (_swigobj->EnsureCaretVisible())
|
|
static PyObject *_wrap_wxStyledTextCtrl_EnsureCaretVisible(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_EnsureCaretVisible",_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_EnsureCaretVisible. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_EnsureCaretVisible(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetCaretPolicy(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCaretPolicy(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
int _arg2 = (int ) 0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","policy","slop", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxStyledTextCtrl_SetCaretPolicy",_kwnames,&_argo0,&_arg1,&_arg2))
|
|
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_SetCaretPolicy. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetCaretPolicy(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetSelectionType(_swigobj) (_swigobj->GetSelectionType())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetSelectionType(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_GetSelectionType",_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_GetSelectionType. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetSelectionType(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetLinesOnScreen(_swigobj) (_swigobj->GetLinesOnScreen())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetLinesOnScreen(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_GetLinesOnScreen",_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_GetLinesOnScreen. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetLinesOnScreen(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_IsSelectionRectangle(_swigobj) (_swigobj->IsSelectionRectangle())
|
|
static PyObject *_wrap_wxStyledTextCtrl_IsSelectionRectangle(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_IsSelectionRectangle",_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_IsSelectionRectangle. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxStyledTextCtrl_IsSelectionRectangle(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetUseHorizontalScrollBar(_swigobj,_swigarg0) (_swigobj->SetUseHorizontalScrollBar(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
bool _arg1;
|
|
PyObject * _argo0 = 0;
|
|
int tempbool1;
|
|
char *_kwnames[] = { "self","use", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUseHorizontalScrollBar",_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_SetUseHorizontalScrollBar. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetUseHorizontalScrollBar(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetUseHorizontalScrollBar(_swigobj) (_swigobj->GetUseHorizontalScrollBar())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetUseHorizontalScrollBar(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_GetUseHorizontalScrollBar",_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_GetUseHorizontalScrollBar. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxStyledTextCtrl_GetUseHorizontalScrollBar(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_FindText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->FindText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
|
|
static PyObject *_wrap_wxStyledTextCtrl_FindText(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
wxString * _arg3;
|
|
bool _arg4;
|
|
bool _arg5;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _obj3 = 0;
|
|
int tempbool4;
|
|
int tempbool5;
|
|
char *_kwnames[] = { "self","minPos","maxPos","text","caseSensitive","wholeWord", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOii:wxStyledTextCtrl_FindText",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&tempbool4,&tempbool5))
|
|
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_FindText. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj3)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
|
|
}
|
|
_arg4 = (bool ) tempbool4;
|
|
_arg5 = (bool ) tempbool5;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_FindText(_arg0,_arg1,_arg2,*_arg3,_arg4,_arg5);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
{
|
|
if (_obj3)
|
|
delete _arg3;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SearchAnchor(_swigobj) (_swigobj->SearchAnchor())
|
|
static PyObject *_wrap_wxStyledTextCtrl_SearchAnchor(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_SearchAnchor",_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_SearchAnchor. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SearchAnchor(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SearchNext(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SearchNext(_swigarg0,_swigarg1,_swigarg2))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SearchNext(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
wxString * _arg1;
|
|
bool _arg2;
|
|
bool _arg3;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _obj1 = 0;
|
|
int tempbool2;
|
|
int tempbool3;
|
|
char *_kwnames[] = { "self","text","caseSensitive","wholeWord", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxStyledTextCtrl_SearchNext",_kwnames,&_argo0,&_obj1,&tempbool2,&tempbool3))
|
|
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_SearchNext. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
|
|
}
|
|
_arg2 = (bool ) tempbool2;
|
|
_arg3 = (bool ) tempbool3;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_SearchNext(_arg0,*_arg1,_arg2,_arg3);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
{
|
|
if (_obj1)
|
|
delete _arg1;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SearchPrev(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SearchPrev(_swigarg0,_swigarg1,_swigarg2))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SearchPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
wxString * _arg1;
|
|
bool _arg2;
|
|
bool _arg3;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _obj1 = 0;
|
|
int tempbool2;
|
|
int tempbool3;
|
|
char *_kwnames[] = { "self","text","caseSensitive","wholeWord", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxStyledTextCtrl_SearchPrev",_kwnames,&_argo0,&_obj1,&tempbool2,&tempbool3))
|
|
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_SearchPrev. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
|
|
}
|
|
_arg2 = (bool ) tempbool2;
|
|
_arg3 = (bool ) tempbool3;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_SearchPrev(_arg0,*_arg1,_arg2,_arg3);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
{
|
|
if (_obj1)
|
|
delete _arg1;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetViewWhitespace(_swigobj) (_swigobj->GetViewWhitespace())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetViewWhitespace(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_GetViewWhitespace",_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_GetViewWhitespace. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxStyledTextCtrl_GetViewWhitespace(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetViewWhitespace(_swigobj,_swigarg0) (_swigobj->SetViewWhitespace(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetViewWhitespace(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
bool _arg1;
|
|
PyObject * _argo0 = 0;
|
|
int tempbool1;
|
|
char *_kwnames[] = { "self","visible", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetViewWhitespace",_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_SetViewWhitespace. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetViewWhitespace(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetEOLMode(_swigobj) (_swigobj->GetEOLMode())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSTC_EOL _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEOLMode",_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_GetEOLMode. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (wxSTC_EOL )wxStyledTextCtrl_GetEOLMode(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetEOLMode(_swigobj,_swigarg0) (_swigobj->SetEOLMode(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
wxSTC_EOL _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","mode", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEOLMode",_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_SetEOLMode. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetEOLMode(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetViewEOL(_swigobj) (_swigobj->GetViewEOL())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetViewEOL(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_GetViewEOL",_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_GetViewEOL. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxStyledTextCtrl_GetViewEOL(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetViewEOL(_swigobj,_swigarg0) (_swigobj->SetViewEOL(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
bool _arg1;
|
|
PyObject * _argo0 = 0;
|
|
int tempbool1;
|
|
char *_kwnames[] = { "self","visible", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetViewEOL",_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_SetViewEOL. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetViewEOL(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_ConvertEOL(_swigobj,_swigarg0) (_swigobj->ConvertEOL(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_ConvertEOL(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
wxSTC_EOL _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","mode", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ConvertEOL",_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_ConvertEOL. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_ConvertEOL(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetEndStyled(_swigobj) (_swigobj->GetEndStyled())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetEndStyled(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_GetEndStyled",_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_GetEndStyled. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetEndStyled(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_StartStyling(_swigobj,_swigarg0,_swigarg1) (_swigobj->StartStyling(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_StartStyling(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","pos","mask", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StartStyling",_kwnames,&_argo0,&_arg1,&_arg2))
|
|
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_StartStyling. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_StartStyling(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetStyleFor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStyleFor(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetStyleFor(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","length","style", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetStyleFor",_kwnames,&_argo0,&_arg1,&_arg2))
|
|
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_SetStyleFor. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetStyleFor(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetStyleBytes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStyleBytes(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetStyleBytes(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
char * _arg2;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","length","styleBytes", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ois:wxStyledTextCtrl_SetStyleBytes",_kwnames,&_argo0,&_arg1,&_arg2))
|
|
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_SetStyleBytes. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetStyleBytes(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetLineState(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLineState(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","line","value", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetLineState",_kwnames,&_argo0,&_arg1,&_arg2))
|
|
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_SetLineState. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetLineState(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetLineState(_swigobj,_swigarg0) (_swigobj->GetLineState(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","line", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineState",_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_GetLineState. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetLineState(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_StyleClearAll(_swigobj) (_swigobj->StyleClearAll())
|
|
static PyObject *_wrap_wxStyledTextCtrl_StyleClearAll(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_StyleClearAll",_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_StyleClearAll. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_StyleClearAll(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_StyleResetDefault(_swigobj) (_swigobj->StyleResetDefault())
|
|
static PyObject *_wrap_wxStyledTextCtrl_StyleResetDefault(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_StyleResetDefault",_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_StyleResetDefault. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_StyleResetDefault(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_StyleSetSpec(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetSpec(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_StyleSetSpec(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
wxString * _arg2;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _obj2 = 0;
|
|
char *_kwnames[] = { "self","styleNum","spec", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetSpec",_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_StyleSetSpec. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj2)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_StyleSetSpec(_arg0,_arg1,*_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
if (_obj2)
|
|
delete _arg2;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_StyleSetForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetForeground(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_StyleSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
wxColour * _arg2;
|
|
PyObject * _argo0 = 0;
|
|
wxColour temp;
|
|
PyObject * _obj2 = 0;
|
|
char *_kwnames[] = { "self","styleNum","colour", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetForeground",_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_StyleSetForeground. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
_arg2 = &temp;
|
|
if (! wxColour_helper(_obj2, &_arg2))
|
|
return NULL;
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_StyleSetForeground(_arg0,_arg1,*_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_StyleSetBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetBackground(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_StyleSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
wxColour * _arg2;
|
|
PyObject * _argo0 = 0;
|
|
wxColour temp;
|
|
PyObject * _obj2 = 0;
|
|
char *_kwnames[] = { "self","styleNum","colour", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetBackground",_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_StyleSetBackground. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
_arg2 = &temp;
|
|
if (! wxColour_helper(_obj2, &_arg2))
|
|
return NULL;
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_StyleSetBackground(_arg0,_arg1,*_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_StyleSetFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetFont(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_StyleSetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
wxFont * _arg2;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _argo2 = 0;
|
|
char *_kwnames[] = { "self","styleNum","font", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetFont",_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_StyleSetFont. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argo2) {
|
|
if (_argo2 == Py_None) { _arg2 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxStyledTextCtrl_StyleSetFont. Expected _wxFont_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_StyleSetFont(_arg0,_arg1,*_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_StyleSetFontAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->StyleSetFontAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
|
|
static PyObject *_wrap_wxStyledTextCtrl_StyleSetFontAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
wxString * _arg3;
|
|
bool _arg4 = (bool ) FALSE;
|
|
bool _arg5 = (bool ) FALSE;
|
|
bool _arg6 = (bool ) FALSE;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _obj3 = 0;
|
|
int tempbool4 = (int) FALSE;
|
|
int tempbool5 = (int) FALSE;
|
|
int tempbool6 = (int) FALSE;
|
|
char *_kwnames[] = { "self","styleNum","size","faceName","bold","italic","underline", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO|iii:wxStyledTextCtrl_StyleSetFontAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&tempbool4,&tempbool5,&tempbool6))
|
|
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_StyleSetFontAttr. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj3)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
|
|
}
|
|
_arg4 = (bool ) tempbool4;
|
|
_arg5 = (bool ) tempbool5;
|
|
_arg6 = (bool ) tempbool6;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_StyleSetFontAttr(_arg0,_arg1,_arg2,*_arg3,_arg4,_arg5,_arg6);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
if (_obj3)
|
|
delete _arg3;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_StyleSetBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetBold(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_StyleSetBold(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
bool _arg2;
|
|
PyObject * _argo0 = 0;
|
|
int tempbool2;
|
|
char *_kwnames[] = { "self","styleNum","bold", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetBold",_kwnames,&_argo0,&_arg1,&tempbool2))
|
|
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_StyleSetBold. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg2 = (bool ) tempbool2;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_StyleSetBold(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_StyleSetItalic(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetItalic(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_StyleSetItalic(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
bool _arg2;
|
|
PyObject * _argo0 = 0;
|
|
int tempbool2;
|
|
char *_kwnames[] = { "self","styleNum","italic", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetItalic",_kwnames,&_argo0,&_arg1,&tempbool2))
|
|
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_StyleSetItalic. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg2 = (bool ) tempbool2;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_StyleSetItalic(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_StyleSetFaceName(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetFaceName(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_StyleSetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
wxString * _arg2;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _obj2 = 0;
|
|
char *_kwnames[] = { "self","styleNum","faceName", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetFaceName",_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_StyleSetFaceName. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj2)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_StyleSetFaceName(_arg0,_arg1,*_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
if (_obj2)
|
|
delete _arg2;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_StyleSetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetSize(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_StyleSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","styleNum","pointSize", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetSize",_kwnames,&_argo0,&_arg1,&_arg2))
|
|
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_StyleSetSize. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_StyleSetSize(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_StyleSetEOLFilled(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetEOLFilled(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_StyleSetEOLFilled(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
bool _arg2;
|
|
PyObject * _argo0 = 0;
|
|
int tempbool2;
|
|
char *_kwnames[] = { "self","styleNum","fillEOL", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetEOLFilled",_kwnames,&_argo0,&_arg1,&tempbool2))
|
|
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_StyleSetEOLFilled. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg2 = (bool ) tempbool2;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_StyleSetEOLFilled(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_StyleSetUnderline(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetUnderline(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_StyleSetUnderline(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
bool _arg2;
|
|
PyObject * _argo0 = 0;
|
|
int tempbool2;
|
|
char *_kwnames[] = { "self","styleNum","underline", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetUnderline",_kwnames,&_argo0,&_arg1,&tempbool2))
|
|
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_StyleSetUnderline. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg2 = (bool ) tempbool2;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_StyleSetUnderline(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetLeftMargin(_swigobj) (_swigobj->GetLeftMargin())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetLeftMargin(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_GetLeftMargin",_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_GetLeftMargin. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetLeftMargin(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetRightMargin(_swigobj) (_swigobj->GetRightMargin())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetRightMargin(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_GetRightMargin",_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_GetRightMargin. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetRightMargin(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","left","right", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2))
|
|
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_SetMargins. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetMargins(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} 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;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","margin","type", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginType",_kwnames,&_argo0,&_arg1,&_arg2))
|
|
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_SetMarginType. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetMarginType(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetMarginType(_swigobj,_swigarg0) (_swigobj->GetMarginType(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","margin", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginType",_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_GetMarginType. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetMarginType(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetMarginWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginWidth(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","margin","pixelWidth", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginWidth",_kwnames,&_argo0,&_arg1,&_arg2))
|
|
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_SetMarginWidth. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetMarginWidth(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetMarginWidth(_swigobj,_swigarg0) (_swigobj->GetMarginWidth(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","margin", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginWidth",_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_GetMarginWidth. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetMarginWidth(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetMarginMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginMask(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","margin","mask", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginMask",_kwnames,&_argo0,&_arg1,&_arg2))
|
|
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_SetMarginMask. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetMarginMask(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetMarginMask(_swigobj,_swigarg0) (_swigobj->GetMarginMask(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","margin", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginMask",_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_GetMarginMask. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetMarginMask(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetMarginSensitive(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginSensitive(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
bool _arg2;
|
|
PyObject * _argo0 = 0;
|
|
int tempbool2;
|
|
char *_kwnames[] = { "self","margin","sensitive", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginSensitive",_kwnames,&_argo0,&_arg1,&tempbool2))
|
|
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_SetMarginSensitive. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg2 = (bool ) tempbool2;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetMarginSensitive(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetMarginSensitive(_swigobj,_swigarg0) (_swigobj->GetMarginSensitive(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","margin", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginSensitive",_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_GetMarginSensitive. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxStyledTextCtrl_GetMarginSensitive(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
wxColour * _arg1;
|
|
PyObject * _argo0 = 0;
|
|
wxColour temp;
|
|
PyObject * _obj1 = 0;
|
|
char *_kwnames[] = { "self","colour", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetSelectionForeground",_kwnames,&_argo0,&_obj1))
|
|
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_SetSelectionForeground. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
_arg1 = &temp;
|
|
if (! wxColour_helper(_obj1, &_arg1))
|
|
return NULL;
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetSelectionForeground(_arg0,*_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
wxColour * _arg1;
|
|
PyObject * _argo0 = 0;
|
|
wxColour temp;
|
|
PyObject * _obj1 = 0;
|
|
char *_kwnames[] = { "self","colour", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetSelectionBackground",_kwnames,&_argo0,&_obj1))
|
|
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_SetSelectionBackground. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
_arg1 = &temp;
|
|
if (! wxColour_helper(_obj1, &_arg1))
|
|
return NULL;
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetSelectionBackground(_arg0,*_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetCaretForeground(_swigobj,_swigarg0) (_swigobj->SetCaretForeground(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
wxColour * _arg1;
|
|
PyObject * _argo0 = 0;
|
|
wxColour temp;
|
|
PyObject * _obj1 = 0;
|
|
char *_kwnames[] = { "self","colour", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetCaretForeground",_kwnames,&_argo0,&_obj1))
|
|
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_SetCaretForeground. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
_arg1 = &temp;
|
|
if (! wxColour_helper(_obj1, &_arg1))
|
|
return NULL;
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetCaretForeground(_arg0,*_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetCaretPeriod(_swigobj) (_swigobj->GetCaretPeriod())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetCaretPeriod(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_GetCaretPeriod",_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_GetCaretPeriod. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetCaretPeriod(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetCaretPeriod(_swigobj,_swigarg0) (_swigobj->SetCaretPeriod(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","milliseconds", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCaretPeriod",_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_SetCaretPeriod. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetCaretPeriod(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetBufferedDraw(_swigobj,_swigarg0) (_swigobj->SetBufferedDraw(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
bool _arg1;
|
|
PyObject * _argo0 = 0;
|
|
int tempbool1;
|
|
char *_kwnames[] = { "self","isBuffered", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetBufferedDraw",_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_SetBufferedDraw. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetBufferedDraw(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetTabWidth(_swigobj,_swigarg0) (_swigobj->SetTabWidth(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","numChars", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTabWidth",_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_SetTabWidth. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetTabWidth(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} 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;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","numChars", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetIndent",_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_SetIndent. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetIndent(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetUseTabs(_swigobj,_swigarg0) (_swigobj->SetUseTabs(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
bool _arg1;
|
|
PyObject * _argo0 = 0;
|
|
int tempbool1;
|
|
char *_kwnames[] = { "self","usetabs", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUseTabs",_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_SetUseTabs. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetUseTabs(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetLineIndentation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLineIndentation(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","line","indentation", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetLineIndentation",_kwnames,&_argo0,&_arg1,&_arg2))
|
|
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_SetLineIndentation. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetLineIndentation(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetLineIndentation(_swigobj,_swigarg0) (_swigobj->GetLineIndentation(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","line", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineIndentation",_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_GetLineIndentation. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetLineIndentation(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetLineIndentationPos(_swigobj,_swigarg0) (_swigobj->GetLineIndentationPos(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetLineIndentationPos(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","line", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineIndentationPos",_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_GetLineIndentationPos. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetLineIndentationPos(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetWordChars(_swigobj,_swigarg0) (_swigobj->SetWordChars(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetWordChars(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
wxString * _arg1;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _obj1 = 0;
|
|
char *_kwnames[] = { "self","wordChars", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetWordChars",_kwnames,&_argo0,&_obj1))
|
|
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_SetWordChars. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetWordChars(_arg0,*_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
if (_obj1)
|
|
delete _arg1;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetUsePop(_swigobj,_swigarg0) (_swigobj->SetUsePop(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetUsePop(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
bool _arg1;
|
|
PyObject * _argo0 = 0;
|
|
int tempbool1;
|
|
char *_kwnames[] = { "self","usepopup", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUsePop",_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_SetUsePop. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetUsePop(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_BraceHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->BraceHighlight(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_BraceHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","pos1","pos2", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_BraceHighlight",_kwnames,&_argo0,&_arg1,&_arg2))
|
|
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_BraceHighlight. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_BraceHighlight(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_BraceBadlight(_swigobj,_swigarg0) (_swigobj->BraceBadlight(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_BraceBadlight(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","pos", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_BraceBadlight",_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_BraceBadlight. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_BraceBadlight(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_BraceMatch(_swigobj,_swigarg0,_swigarg1) (_swigobj->BraceMatch(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_BraceMatch(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
int _arg2 = (int ) 0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","pos","maxReStyle", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxStyledTextCtrl_BraceMatch",_kwnames,&_argo0,&_arg1,&_arg2))
|
|
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_BraceMatch. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_BraceMatch(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_MarkerDefine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->MarkerDefine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
|
|
static PyObject *_wrap_wxStyledTextCtrl_MarkerDefine(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
wxColour * _arg3;
|
|
wxColour * _arg4;
|
|
PyObject * _argo0 = 0;
|
|
wxColour temp;
|
|
PyObject * _obj3 = 0;
|
|
wxColour temp0;
|
|
PyObject * _obj4 = 0;
|
|
char *_kwnames[] = { "self","markerNumber","markerSymbol","foreground","background", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO:wxStyledTextCtrl_MarkerDefine",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4))
|
|
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_MarkerDefine. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
_arg3 = &temp;
|
|
if (! wxColour_helper(_obj3, &_arg3))
|
|
return NULL;
|
|
}
|
|
{
|
|
_arg4 = &temp0;
|
|
if (! wxColour_helper(_obj4, &_arg4))
|
|
return NULL;
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_MarkerDefine(_arg0,_arg1,_arg2,*_arg3,*_arg4);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_MarkerSetType(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerSetType(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_MarkerSetType(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","markerNumber","markerSymbol", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerSetType",_kwnames,&_argo0,&_arg1,&_arg2))
|
|
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_MarkerSetType. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_MarkerSetType(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_MarkerSetForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerSetForeground(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_MarkerSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
wxColour * _arg2;
|
|
PyObject * _argo0 = 0;
|
|
wxColour temp;
|
|
PyObject * _obj2 = 0;
|
|
char *_kwnames[] = { "self","markerNumber","colour", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_MarkerSetForeground",_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_MarkerSetForeground. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
_arg2 = &temp;
|
|
if (! wxColour_helper(_obj2, &_arg2))
|
|
return NULL;
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_MarkerSetForeground(_arg0,_arg1,*_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_MarkerSetBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerSetBackground(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_MarkerSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
wxColour * _arg2;
|
|
PyObject * _argo0 = 0;
|
|
wxColour temp;
|
|
PyObject * _obj2 = 0;
|
|
char *_kwnames[] = { "self","markerNumber","colour", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_MarkerSetBackground",_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_MarkerSetBackground. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
_arg2 = &temp;
|
|
if (! wxColour_helper(_obj2, &_arg2))
|
|
return NULL;
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_MarkerSetBackground(_arg0,_arg1,*_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_MarkerAdd(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerAdd(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_MarkerAdd(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","line","markerNumber", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerAdd",_kwnames,&_argo0,&_arg1,&_arg2))
|
|
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_MarkerAdd. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_MarkerAdd(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_MarkerDelete(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerDelete(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_MarkerDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","line","markerNumber", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerDelete",_kwnames,&_argo0,&_arg1,&_arg2))
|
|
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_MarkerDelete. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_MarkerDelete(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_MarkerDeleteAll(_swigobj,_swigarg0) (_swigobj->MarkerDeleteAll(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_MarkerDeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","markerNumber", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerDeleteAll",_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_MarkerDeleteAll. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_MarkerDeleteAll(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_MarkerGet(_swigobj,_swigarg0) (_swigobj->MarkerGet(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_MarkerGet(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","line", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerGet",_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_MarkerGet. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_MarkerGet(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_MarkerGetNextLine(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerGetNextLine(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_MarkerGetNextLine(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","lineStart","markerMask", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerGetNextLine",_kwnames,&_argo0,&_arg1,&_arg2))
|
|
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_MarkerGetNextLine. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_MarkerGetNextLine(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_MarkerGetPrevLine(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerGetPrevLine(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_MarkerGetPrevLine(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","lineStart","markerMask", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerGetPrevLine",_kwnames,&_argo0,&_arg1,&_arg2))
|
|
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_MarkerGetPrevLine. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_MarkerGetPrevLine(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_MarkerLineFromHandle(_swigobj,_swigarg0) (_swigobj->MarkerLineFromHandle(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_MarkerLineFromHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","handle", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerLineFromHandle",_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_MarkerLineFromHandle. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_MarkerLineFromHandle(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_MarkerDeleteHandle(_swigobj,_swigarg0) (_swigobj->MarkerDeleteHandle(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_MarkerDeleteHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","handle", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerDeleteHandle",_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_MarkerDeleteHandle. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_MarkerDeleteHandle(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_IndicatorSetStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->IndicatorSetStyle(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_IndicatorSetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","indicNum","indicStyle", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_IndicatorSetStyle",_kwnames,&_argo0,&_arg1,&_arg2))
|
|
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_IndicatorSetStyle. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_IndicatorSetStyle(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_IndicatorGetStyle(_swigobj,_swigarg0) (_swigobj->IndicatorGetStyle(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_IndicatorGetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","indicNum", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_IndicatorGetStyle",_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_IndicatorGetStyle. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_IndicatorGetStyle(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_IndicatorSetColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->IndicatorSetColour(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_IndicatorSetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
wxColour * _arg2;
|
|
PyObject * _argo0 = 0;
|
|
wxColour temp;
|
|
PyObject * _obj2 = 0;
|
|
char *_kwnames[] = { "self","indicNum","colour", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_IndicatorSetColour",_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_IndicatorSetColour. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
_arg2 = &temp;
|
|
if (! wxColour_helper(_obj2, &_arg2))
|
|
return NULL;
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_IndicatorSetColour(_arg0,_arg1,*_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_AutoCompShow(_swigobj,_swigarg0) (_swigobj->AutoCompShow(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_AutoCompShow(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
wxString * _arg1;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _obj1 = 0;
|
|
char *_kwnames[] = { "self","listOfWords", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompShow",_kwnames,&_argo0,&_obj1))
|
|
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_AutoCompShow. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_AutoCompShow(_arg0,*_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
if (_obj1)
|
|
delete _arg1;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_AutoCompCancel(_swigobj) (_swigobj->AutoCompCancel())
|
|
static PyObject *_wrap_wxStyledTextCtrl_AutoCompCancel(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_AutoCompCancel",_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_AutoCompCancel. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_AutoCompCancel(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_AutoCompActive(_swigobj) (_swigobj->AutoCompActive())
|
|
static PyObject *_wrap_wxStyledTextCtrl_AutoCompActive(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_AutoCompActive",_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_AutoCompActive. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxStyledTextCtrl_AutoCompActive(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_AutoCompPosAtStart(_swigobj) (_swigobj->AutoCompPosAtStart())
|
|
static PyObject *_wrap_wxStyledTextCtrl_AutoCompPosAtStart(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_AutoCompPosAtStart",_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_AutoCompPosAtStart. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_AutoCompPosAtStart(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_AutoCompComplete(_swigobj) (_swigobj->AutoCompComplete())
|
|
static PyObject *_wrap_wxStyledTextCtrl_AutoCompComplete(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_AutoCompComplete",_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_AutoCompComplete. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_AutoCompComplete(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_AutoCompStopChars(_swigobj,_swigarg0) (_swigobj->AutoCompStopChars(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_AutoCompStopChars(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
wxString * _arg1;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _obj1 = 0;
|
|
char *_kwnames[] = { "self","stopChars", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompStopChars",_kwnames,&_argo0,&_obj1))
|
|
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_AutoCompStopChars. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_AutoCompStopChars(_arg0,*_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
if (_obj1)
|
|
delete _arg1;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_AutoCompSetSeparator(_swigobj,_swigarg0) (_swigobj->AutoCompSetSeparator(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
char _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","separator", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oc:wxStyledTextCtrl_AutoCompSetSeparator",_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_AutoCompSetSeparator. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_AutoCompSetSeparator(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_AutoCompGetSeparator(_swigobj) (_swigobj->AutoCompGetSeparator())
|
|
static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
char _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetSeparator",_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_AutoCompGetSeparator. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (char )wxStyledTextCtrl_AutoCompGetSeparator(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("c",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_AutoCompSelect(_swigobj,_swigarg0) (_swigobj->AutoCompSelect(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_AutoCompSelect(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
wxString * _arg1;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _obj1 = 0;
|
|
char *_kwnames[] = { "self","stringtoselect", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompSelect",_kwnames,&_argo0,&_obj1))
|
|
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_AutoCompSelect. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_AutoCompSelect(_arg0,*_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
if (_obj1)
|
|
delete _arg1;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_CallTipShow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CallTipShow(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_CallTipShow(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
wxString * _arg2;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _obj2 = 0;
|
|
char *_kwnames[] = { "self","pos","text", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_CallTipShow",_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_CallTipShow. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj2)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_CallTipShow(_arg0,_arg1,*_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
if (_obj2)
|
|
delete _arg2;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_CallTipCancel(_swigobj) (_swigobj->CallTipCancel())
|
|
static PyObject *_wrap_wxStyledTextCtrl_CallTipCancel(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_CallTipCancel",_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_CallTipCancel. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_CallTipCancel(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_CallTipActive(_swigobj) (_swigobj->CallTipActive())
|
|
static PyObject *_wrap_wxStyledTextCtrl_CallTipActive(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_CallTipActive",_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_CallTipActive. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxStyledTextCtrl_CallTipActive(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_CallTipPosAtStart(_swigobj) (_swigobj->CallTipPosAtStart())
|
|
static PyObject *_wrap_wxStyledTextCtrl_CallTipPosAtStart(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_CallTipPosAtStart",_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_CallTipPosAtStart. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_CallTipPosAtStart(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_CallTipSetHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->CallTipSetHighlight(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_CallTipSetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","start","end", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_CallTipSetHighlight",_kwnames,&_argo0,&_arg1,&_arg2))
|
|
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_CallTipSetHighlight. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_CallTipSetHighlight(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_CallTipSetBackground(_swigobj,_swigarg0) (_swigobj->CallTipSetBackground(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_CallTipSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
wxColour * _arg1;
|
|
PyObject * _argo0 = 0;
|
|
wxColour temp;
|
|
PyObject * _obj1 = 0;
|
|
char *_kwnames[] = { "self","colour", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_CallTipSetBackground",_kwnames,&_argo0,&_obj1))
|
|
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_CallTipSetBackground. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
_arg1 = &temp;
|
|
if (! wxColour_helper(_obj1, &_arg1))
|
|
return NULL;
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_CallTipSetBackground(_arg0,*_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_CmdKeyAssign(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CmdKeyAssign(_swigarg0,_swigarg1,_swigarg2))
|
|
static PyObject *_wrap_wxStyledTextCtrl_CmdKeyAssign(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
int _arg3;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","key","modifiers","cmd", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxStyledTextCtrl_CmdKeyAssign",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
|
|
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_CmdKeyAssign. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_CmdKeyAssign(_arg0,_arg1,_arg2,_arg3);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_CmdKeyClear(_swigobj,_swigarg0,_swigarg1) (_swigobj->CmdKeyClear(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_CmdKeyClear(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","key","modifiers", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_CmdKeyClear",_kwnames,&_argo0,&_arg1,&_arg2))
|
|
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_CmdKeyClear. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_CmdKeyClear(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_CmdKeyClearAll(_swigobj) (_swigobj->CmdKeyClearAll())
|
|
static PyObject *_wrap_wxStyledTextCtrl_CmdKeyClearAll(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_CmdKeyClearAll",_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_CmdKeyClearAll. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_CmdKeyClearAll(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_CmdKeyExecute(_swigobj,_swigarg0) (_swigobj->CmdKeyExecute(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_CmdKeyExecute(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","cmd", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_CmdKeyExecute",_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_CmdKeyExecute. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_CmdKeyExecute(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_FormatRange(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->FormatRange(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
|
|
static PyObject *_wrap_wxStyledTextCtrl_FormatRange(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
bool _arg1;
|
|
int _arg2;
|
|
int _arg3;
|
|
wxDC * _arg4;
|
|
wxDC * _arg5;
|
|
wxRect * _arg6;
|
|
wxRect * _arg7;
|
|
PyObject * _argo0 = 0;
|
|
int tempbool1;
|
|
PyObject * _argo4 = 0;
|
|
PyObject * _argo5 = 0;
|
|
wxRect temp;
|
|
PyObject * _obj6 = 0;
|
|
wxRect temp0;
|
|
PyObject * _obj7 = 0;
|
|
char *_kwnames[] = { "self","doDraw","startPos","endPos","draw","target","renderRect","pageRect", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiiOOOO:wxStyledTextCtrl_FormatRange",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_argo4,&_argo5,&_obj6,&_obj7))
|
|
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_FormatRange. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
if (_argo4) {
|
|
if (_argo4 == Py_None) { _arg4 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxDC_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxStyledTextCtrl_FormatRange. Expected _wxDC_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argo5) {
|
|
if (_argo5 == Py_None) { _arg5 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxDC_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxStyledTextCtrl_FormatRange. Expected _wxDC_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
_arg6 = &temp;
|
|
if (! wxRect_helper(_obj6, &_arg6))
|
|
return NULL;
|
|
}
|
|
{
|
|
_arg7 = &temp0;
|
|
if (! wxRect_helper(_obj7, &_arg7))
|
|
return NULL;
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_FormatRange(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,*_arg6,*_arg7);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetDocument(_swigobj) (_swigobj->GetDocument())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
void * _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetDocument",_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_GetDocument. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (void *)wxStyledTextCtrl_GetDocument(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} if (_result) {
|
|
SWIG_MakePtr(_ptemp, (char *) _result,"_void_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
} else {
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetDocument(_swigobj,_swigarg0) (_swigobj->SetDocument(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
void * _arg1;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _argo1 = 0;
|
|
char *_kwnames[] = { "self","document", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetDocument",_kwnames,&_argo0,&_argo1))
|
|
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_SetDocument. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argo1) {
|
|
if (_argo1 == Py_None) { _arg1 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_SetDocument. Expected _void_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetDocument(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_VisibleFromDocLine(_swigobj,_swigarg0) (_swigobj->VisibleFromDocLine(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_VisibleFromDocLine(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","docLine", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_VisibleFromDocLine",_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_VisibleFromDocLine. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_VisibleFromDocLine(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_DocLineFromVisible(_swigobj,_swigarg0) (_swigobj->DocLineFromVisible(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_DocLineFromVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","displayLine", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_DocLineFromVisible",_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_DocLineFromVisible. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_DocLineFromVisible(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetFoldLevel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldLevel(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","line","level", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetFoldLevel",_kwnames,&_argo0,&_arg1,&_arg2))
|
|
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_SetFoldLevel. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_SetFoldLevel(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetFoldLevel(_swigobj,_swigarg0) (_swigobj->GetFoldLevel(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","line", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldLevel",_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_GetFoldLevel. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetFoldLevel(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetLastChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLastChild(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","line","level", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetLastChild",_kwnames,&_argo0,&_arg1,&_arg2))
|
|
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_GetLastChild. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetLastChild(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetFoldParent(_swigobj,_swigarg0) (_swigobj->GetFoldParent(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetFoldParent(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","line", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldParent",_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_GetFoldParent. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetFoldParent(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_ShowLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->ShowLines(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_ShowLines(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","lineStart","lineEnd", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_ShowLines",_kwnames,&_argo0,&_arg1,&_arg2))
|
|
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_ShowLines. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_ShowLines(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_HideLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->HideLines(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_HideLines(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","lineStart","lineEnd", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_HideLines",_kwnames,&_argo0,&_arg1,&_arg2))
|
|
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_HideLines. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_HideLines(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetLineVisible(_swigobj,_swigarg0) (_swigobj->GetLineVisible(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","line", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineVisible",_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_GetLineVisible. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxStyledTextCtrl_GetLineVisible(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetFoldExpanded(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldExpanded(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
bool _arg2;
|
|
PyObject * _argo0 = 0;
|
|
int tempbool2;
|
|
char *_kwnames[] = { "self","line","expanded", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetFoldExpanded",_kwnames,&_argo0,&_arg1,&tempbool2))
|
|
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_SetFoldExpanded. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg2 = (bool ) tempbool2;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetFoldExpanded(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetFoldExpanded(_swigobj,_swigarg0) (_swigobj->GetFoldExpanded(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","line", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldExpanded",_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_GetFoldExpanded. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxStyledTextCtrl_GetFoldExpanded(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_ToggleFold(_swigobj,_swigarg0) (_swigobj->ToggleFold(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_ToggleFold(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","line", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ToggleFold",_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_ToggleFold. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_ToggleFold(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","line", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_EnsureVisible",_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_EnsureVisible. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_EnsureVisible(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetFoldFlags(_swigobj,_swigarg0) (_swigobj->SetFoldFlags(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetFoldFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","flags", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetFoldFlags",_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_SetFoldFlags. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetFoldFlags(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_ZoomIn(_swigobj) (_swigobj->ZoomIn())
|
|
static PyObject *_wrap_wxStyledTextCtrl_ZoomIn(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_ZoomIn",_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_ZoomIn. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_ZoomIn(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_ZoomOut(_swigobj) (_swigobj->ZoomOut())
|
|
static PyObject *_wrap_wxStyledTextCtrl_ZoomOut(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_ZoomOut",_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_ZoomOut. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_ZoomOut(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","zoom", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetZoom",_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_SetZoom. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetZoom(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetZoom(_swigobj) (_swigobj->GetZoom())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetZoom(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_GetZoom",_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_GetZoom. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetZoom(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetEdgeColumn(_swigobj) (_swigobj->GetEdgeColumn())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetEdgeColumn(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_GetEdgeColumn",_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_GetEdgeColumn. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetEdgeColumn(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetEdgeColumn(_swigobj,_swigarg0) (_swigobj->SetEdgeColumn(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","column", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEdgeColumn",_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_SetEdgeColumn. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetEdgeColumn(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetEdgeMode(_swigobj) (_swigobj->GetEdgeMode())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSTC_EDGE _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeMode",_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_GetEdgeMode. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (wxSTC_EDGE )wxStyledTextCtrl_GetEdgeMode(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetEdgeMode(_swigobj,_swigarg0) (_swigobj->SetEdgeMode(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
wxSTC_EDGE _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","mode", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEdgeMode",_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_SetEdgeMode. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetEdgeMode(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetEdgeColour(_swigobj) (_swigobj->GetEdgeColour())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxColour * _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeColour",_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_GetEdgeColour. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = new wxColour (wxStyledTextCtrl_GetEdgeColour(_arg0));
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetEdgeColour(_swigobj,_swigarg0) (_swigobj->SetEdgeColour(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
wxColour * _arg1;
|
|
PyObject * _argo0 = 0;
|
|
wxColour temp;
|
|
PyObject * _obj1 = 0;
|
|
char *_kwnames[] = { "self","colour", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetEdgeColour",_kwnames,&_argo0,&_obj1))
|
|
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_SetEdgeColour. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
_arg1 = &temp;
|
|
if (! wxColour_helper(_obj1, &_arg1))
|
|
return NULL;
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetEdgeColour(_arg0,*_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetLexer(_swigobj,_swigarg0) (_swigobj->SetLexer(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetLexer(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
wxSTC_LEX _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","lexer", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetLexer",_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_SetLexer. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetLexer(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetLexer(_swigobj) (_swigobj->GetLexer())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetLexer(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSTC_LEX _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLexer",_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_GetLexer. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (wxSTC_LEX )wxStyledTextCtrl_GetLexer(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_Colourise(_swigobj,_swigarg0,_swigarg1) (_swigobj->Colourise(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_Colourise(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","start","end", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_Colourise",_kwnames,&_argo0,&_arg1,&_arg2))
|
|
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_Colourise. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_Colourise(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetProperty(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetProperty(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetProperty(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
wxString * _arg1;
|
|
wxString * _arg2;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _obj1 = 0;
|
|
PyObject * _obj2 = 0;
|
|
char *_kwnames[] = { "self","key","value", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxStyledTextCtrl_SetProperty",_kwnames,&_argo0,&_obj1,&_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_SetProperty. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj2)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetProperty(_arg0,*_arg1,*_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
if (_obj1)
|
|
delete _arg1;
|
|
}
|
|
{
|
|
if (_obj2)
|
|
delete _arg2;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetKeywords(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetKeywords(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetKeywords(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
wxString * _arg2;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _obj2 = 0;
|
|
char *_kwnames[] = { "self","keywordSet","keywordList", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetKeywords",_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_SetKeywords. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
if (!PyString_Check(_obj2)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetKeywords(_arg0,_arg1,*_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
if (_obj2)
|
|
delete _arg2;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetModEventMask(_swigobj,_swigarg0) (_swigobj->SetModEventMask(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","mask", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetModEventMask",_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_SetModEventMask. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetModEventMask(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
static void *SwigwxStyledTextEventTowxCommandEvent(void *ptr) {
|
|
wxStyledTextEvent *src;
|
|
wxCommandEvent *dest;
|
|
src = (wxStyledTextEvent *) ptr;
|
|
dest = (wxCommandEvent *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
static void *SwigwxStyledTextEventTowxEvent(void *ptr) {
|
|
wxStyledTextEvent *src;
|
|
wxEvent *dest;
|
|
src = (wxStyledTextEvent *) ptr;
|
|
dest = (wxEvent *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
#define new_wxStyledTextEvent(_swigarg0,_swigarg1) (new wxStyledTextEvent(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_new_wxStyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextEvent * _result;
|
|
wxEventType _arg0 = (wxEventType ) 0;
|
|
int _arg1 = (int ) 0;
|
|
char *_kwnames[] = { "commandType","id", NULL };
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxStyledTextEvent",_kwnames,&_arg0,&_arg1))
|
|
return NULL;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (wxStyledTextEvent *)new_wxStyledTextEvent(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} if (_result) {
|
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxStyledTextEvent_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
} else {
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define delete_wxStyledTextEvent(_swigobj) (delete _swigobj)
|
|
static PyObject *_wrap_delete_wxStyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextEvent * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxStyledTextEvent",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxStyledTextEvent. Expected _wxStyledTextEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
delete_wxStyledTextEvent(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextEvent * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","pos", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetPosition",_kwnames,&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetPosition. Expected _wxStyledTextEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextEvent_SetPosition(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextEvent_SetKey(_swigobj,_swigarg0) (_swigobj->SetKey(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextEvent_SetKey(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextEvent * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","k", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetKey",_kwnames,&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetKey. Expected _wxStyledTextEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextEvent_SetKey(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextEvent_SetModifiers(_swigobj,_swigarg0) (_swigobj->SetModifiers(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextEvent_SetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextEvent * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","m", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetModifiers",_kwnames,&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetModifiers. Expected _wxStyledTextEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextEvent_SetModifiers(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextEvent_SetModificationType(_swigobj,_swigarg0) (_swigobj->SetModificationType(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextEvent_SetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextEvent * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","t", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetModificationType",_kwnames,&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetModificationType. Expected _wxStyledTextEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextEvent_SetModificationType(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextEvent * _arg0;
|
|
char * _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","t", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxStyledTextEvent_SetText",_kwnames,&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetText. Expected _wxStyledTextEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextEvent_SetText(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextEvent_SetLength(_swigobj,_swigarg0) (_swigobj->SetLength(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextEvent_SetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextEvent * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","len", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLength",_kwnames,&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLength. Expected _wxStyledTextEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextEvent_SetLength(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextEvent_SetLinesAdded(_swigobj,_swigarg0) (_swigobj->SetLinesAdded(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextEvent_SetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextEvent * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","num", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLinesAdded",_kwnames,&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLinesAdded. Expected _wxStyledTextEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextEvent_SetLinesAdded(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextEvent_SetLine(_swigobj,_swigarg0) (_swigobj->SetLine(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextEvent_SetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextEvent * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","val", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLine",_kwnames,&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLine. Expected _wxStyledTextEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextEvent_SetLine(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextEvent_SetFoldLevelNow(_swigobj,_swigarg0) (_swigobj->SetFoldLevelNow(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextEvent_SetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextEvent * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","val", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetFoldLevelNow",_kwnames,&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetFoldLevelNow. Expected _wxStyledTextEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextEvent_SetFoldLevelNow(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextEvent_SetFoldLevelPrev(_swigobj,_swigarg0) (_swigobj->SetFoldLevelPrev(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextEvent_SetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextEvent * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","val", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetFoldLevelPrev",_kwnames,&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetFoldLevelPrev. Expected _wxStyledTextEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextEvent_SetFoldLevelPrev(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextEvent_SetMargin(_swigobj,_swigarg0) (_swigobj->SetMargin(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextEvent_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextEvent * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","val", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetMargin",_kwnames,&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetMargin. Expected _wxStyledTextEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextEvent_SetMargin(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextEvent_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextEvent_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextEvent * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","val", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetMessage",_kwnames,&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetMessage. Expected _wxStyledTextEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextEvent_SetMessage(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextEvent_SetWParam(_swigobj,_swigarg0) (_swigobj->SetWParam(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextEvent_SetWParam(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextEvent * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","val", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetWParam",_kwnames,&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetWParam. Expected _wxStyledTextEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextEvent_SetWParam(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextEvent_SetLParam(_swigobj,_swigarg0) (_swigobj->SetLParam(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextEvent_SetLParam(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextEvent * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","val", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLParam",_kwnames,&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLParam. Expected _wxStyledTextEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextEvent_SetLParam(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
|
|
static PyObject *_wrap_wxStyledTextEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextEvent * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetPosition",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetPosition. Expected _wxStyledTextEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextEvent_GetPosition(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextEvent_GetKey(_swigobj) (_swigobj->GetKey())
|
|
static PyObject *_wrap_wxStyledTextEvent_GetKey(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextEvent * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetKey",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetKey. Expected _wxStyledTextEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextEvent_GetKey(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextEvent_GetModifiers(_swigobj) (_swigobj->GetModifiers())
|
|
static PyObject *_wrap_wxStyledTextEvent_GetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextEvent * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetModifiers",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetModifiers. Expected _wxStyledTextEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextEvent_GetModifiers(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextEvent_GetModificationType(_swigobj) (_swigobj->GetModificationType())
|
|
static PyObject *_wrap_wxStyledTextEvent_GetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextEvent * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetModificationType",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetModificationType. Expected _wxStyledTextEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextEvent_GetModificationType(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextEvent_GetText(_swigobj) (_swigobj->GetText())
|
|
static PyObject *_wrap_wxStyledTextEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxString * _result;
|
|
wxStyledTextEvent * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetText",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetText. Expected _wxStyledTextEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = new wxString (wxStyledTextEvent_GetText(_arg0));
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
}{
|
|
_resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
|
|
}
|
|
{
|
|
delete _result;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextEvent_GetLength(_swigobj) (_swigobj->GetLength())
|
|
static PyObject *_wrap_wxStyledTextEvent_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextEvent * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLength",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLength. Expected _wxStyledTextEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextEvent_GetLength(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextEvent_GetLinesAdded(_swigobj) (_swigobj->GetLinesAdded())
|
|
static PyObject *_wrap_wxStyledTextEvent_GetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextEvent * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLinesAdded",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLinesAdded. Expected _wxStyledTextEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextEvent_GetLinesAdded(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextEvent_GetLine(_swigobj) (_swigobj->GetLine())
|
|
static PyObject *_wrap_wxStyledTextEvent_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextEvent * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLine",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLine. Expected _wxStyledTextEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextEvent_GetLine(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextEvent_GetFoldLevelNow(_swigobj) (_swigobj->GetFoldLevelNow())
|
|
static PyObject *_wrap_wxStyledTextEvent_GetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextEvent * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetFoldLevelNow",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetFoldLevelNow. Expected _wxStyledTextEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextEvent_GetFoldLevelNow(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextEvent_GetFoldLevelPrev(_swigobj) (_swigobj->GetFoldLevelPrev())
|
|
static PyObject *_wrap_wxStyledTextEvent_GetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextEvent * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetFoldLevelPrev",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetFoldLevelPrev. Expected _wxStyledTextEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextEvent_GetFoldLevelPrev(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextEvent_GetMargin(_swigobj) (_swigobj->GetMargin())
|
|
static PyObject *_wrap_wxStyledTextEvent_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextEvent * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetMargin",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetMargin. Expected _wxStyledTextEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextEvent_GetMargin(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextEvent_GetMessage(_swigobj) (_swigobj->GetMessage())
|
|
static PyObject *_wrap_wxStyledTextEvent_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextEvent * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetMessage",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetMessage. Expected _wxStyledTextEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextEvent_GetMessage(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextEvent_GetWParam(_swigobj) (_swigobj->GetWParam())
|
|
static PyObject *_wrap_wxStyledTextEvent_GetWParam(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextEvent * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetWParam",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetWParam. Expected _wxStyledTextEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextEvent_GetWParam(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextEvent_GetLParam(_swigobj) (_swigobj->GetLParam())
|
|
static PyObject *_wrap_wxStyledTextEvent_GetLParam(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextEvent * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLParam",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLParam. Expected _wxStyledTextEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextEvent_GetLParam(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextEvent_GetShift(_swigobj) (_swigobj->GetShift())
|
|
static PyObject *_wrap_wxStyledTextEvent_GetShift(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxStyledTextEvent * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetShift",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetShift. Expected _wxStyledTextEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxStyledTextEvent_GetShift(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextEvent_GetControl(_swigobj) (_swigobj->GetControl())
|
|
static PyObject *_wrap_wxStyledTextEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxStyledTextEvent * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetControl",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetControl. Expected _wxStyledTextEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxStyledTextEvent_GetControl(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextEvent_GetAlt(_swigobj) (_swigobj->GetAlt())
|
|
static PyObject *_wrap_wxStyledTextEvent_GetAlt(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxStyledTextEvent * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetAlt",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetAlt. Expected _wxStyledTextEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxStyledTextEvent_GetAlt(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextEvent_CopyObject(_swigobj,_swigarg0) (_swigobj->CopyObject(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextEvent_CopyObject(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextEvent * _arg0;
|
|
wxObject * _arg1;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _argo1 = 0;
|
|
char *_kwnames[] = { "self","obj", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextEvent_CopyObject",_kwnames,&_argo0,&_argo1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_CopyObject. Expected _wxStyledTextEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argo1) {
|
|
if (_argo1 == Py_None) { _arg1 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxObject_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextEvent_CopyObject. Expected _wxObject_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextEvent_CopyObject(_arg0,*_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
static PyMethodDef stc_cMethods[] = {
|
|
{ "wxStyledTextEvent_CopyObject", (PyCFunction) _wrap_wxStyledTextEvent_CopyObject, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextEvent_GetAlt", (PyCFunction) _wrap_wxStyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextEvent_GetControl", (PyCFunction) _wrap_wxStyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextEvent_GetShift", (PyCFunction) _wrap_wxStyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextEvent_GetLParam", (PyCFunction) _wrap_wxStyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextEvent_GetWParam", (PyCFunction) _wrap_wxStyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextEvent_GetMessage", (PyCFunction) _wrap_wxStyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextEvent_GetMargin", (PyCFunction) _wrap_wxStyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_wxStyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_wxStyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextEvent_GetLine", (PyCFunction) _wrap_wxStyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_wxStyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextEvent_GetLength", (PyCFunction) _wrap_wxStyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextEvent_GetText", (PyCFunction) _wrap_wxStyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextEvent_GetModificationType", (PyCFunction) _wrap_wxStyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextEvent_GetModifiers", (PyCFunction) _wrap_wxStyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextEvent_GetKey", (PyCFunction) _wrap_wxStyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextEvent_GetPosition", (PyCFunction) _wrap_wxStyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextEvent_SetLParam", (PyCFunction) _wrap_wxStyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextEvent_SetWParam", (PyCFunction) _wrap_wxStyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextEvent_SetMessage", (PyCFunction) _wrap_wxStyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextEvent_SetMargin", (PyCFunction) _wrap_wxStyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_wxStyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_wxStyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextEvent_SetLine", (PyCFunction) _wrap_wxStyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_wxStyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextEvent_SetLength", (PyCFunction) _wrap_wxStyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextEvent_SetText", (PyCFunction) _wrap_wxStyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextEvent_SetModificationType", (PyCFunction) _wrap_wxStyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextEvent_SetModifiers", (PyCFunction) _wrap_wxStyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextEvent_SetKey", (PyCFunction) _wrap_wxStyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextEvent_SetPosition", (PyCFunction) _wrap_wxStyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
|
|
{ "delete_wxStyledTextEvent", (PyCFunction) _wrap_delete_wxStyledTextEvent, METH_VARARGS | METH_KEYWORDS },
|
|
{ "new_wxStyledTextEvent", (PyCFunction) _wrap_new_wxStyledTextEvent, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_wxStyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetKeywords", (PyCFunction) _wrap_wxStyledTextCtrl_SetKeywords, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetProperty", (PyCFunction) _wrap_wxStyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_Colourise", (PyCFunction) _wrap_wxStyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetLexer", (PyCFunction) _wrap_wxStyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetLexer", (PyCFunction) _wrap_wxStyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetZoom", (PyCFunction) _wrap_wxStyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetZoom", (PyCFunction) _wrap_wxStyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_ZoomOut", (PyCFunction) _wrap_wxStyledTextCtrl_ZoomOut, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_ZoomIn", (PyCFunction) _wrap_wxStyledTextCtrl_ZoomIn, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_ToggleFold", (PyCFunction) _wrap_wxStyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_HideLines", (PyCFunction) _wrap_wxStyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_ShowLines", (PyCFunction) _wrap_wxStyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetLastChild", (PyCFunction) _wrap_wxStyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_wxStyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_wxStyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetDocument", (PyCFunction) _wrap_wxStyledTextCtrl_SetDocument, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetDocument", (PyCFunction) _wrap_wxStyledTextCtrl_GetDocument, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_FormatRange", (PyCFunction) _wrap_wxStyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_CallTipActive", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_CallTipShow", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_AutoCompStopChars", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompStopChars, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_AutoCompPosAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompPosAtStart, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_IndicatorSetColour", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorSetColour, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_MarkerGetPrevLine", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerGetPrevLine, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_MarkerGetNextLine", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerGetNextLine, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_MarkerGet", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_MarkerSetType", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerSetType, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_BraceMatch", (PyCFunction) _wrap_wxStyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_BraceBadlight", (PyCFunction) _wrap_wxStyledTextCtrl_BraceBadlight, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_wxStyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetUsePop", (PyCFunction) _wrap_wxStyledTextCtrl_SetUsePop, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetWordChars", (PyCFunction) _wrap_wxStyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetLineIndentationPos", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineIndentationPos, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_wxStyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetIndent", (PyCFunction) _wrap_wxStyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_wxStyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetSelectionBackground", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetSelectionForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS },
|
|
{ "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_SetMargins", (PyCFunction) _wrap_wxStyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetRightMargin", (PyCFunction) _wrap_wxStyledTextCtrl_GetRightMargin, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetLeftMargin", (PyCFunction) _wrap_wxStyledTextCtrl_GetLeftMargin, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_wxStyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetLineState", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetLineState", (PyCFunction) _wrap_wxStyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetStyleFor", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyleFor, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_StartStyling", (PyCFunction) _wrap_wxStyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_wxStyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_ConvertEOL", (PyCFunction) _wrap_wxStyledTextCtrl_ConvertEOL, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_wxStyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_wxStyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetViewWhitespace", (PyCFunction) _wrap_wxStyledTextCtrl_SetViewWhitespace, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetViewWhitespace", (PyCFunction) _wrap_wxStyledTextCtrl_GetViewWhitespace, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SearchPrev", (PyCFunction) _wrap_wxStyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SearchNext", (PyCFunction) _wrap_wxStyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_FindText", (PyCFunction) _wrap_wxStyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_IsSelectionRectangle", (PyCFunction) _wrap_wxStyledTextCtrl_IsSelectionRectangle, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetLinesOnScreen", (PyCFunction) _wrap_wxStyledTextCtrl_GetLinesOnScreen, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetSelectionType", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectionType, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetCaretPolicy", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretPolicy, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_wxStyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_wxStyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_ScrollBy", (PyCFunction) _wrap_wxStyledTextCtrl_ScrollBy, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_PageMove", (PyCFunction) _wrap_wxStyledTextCtrl_PageMove, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_ChangePosition", (PyCFunction) _wrap_wxStyledTextCtrl_ChangePosition, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GotoLine", (PyCFunction) _wrap_wxStyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GotoPos", (PyCFunction) _wrap_wxStyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetCurrentPosition", (PyCFunction) _wrap_wxStyledTextCtrl_SetCurrentPosition, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SelectAll", (PyCFunction) _wrap_wxStyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_wxStyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_LineFromPoint", (PyCFunction) _wrap_wxStyledTextCtrl_LineFromPoint, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetCurrentLineText", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurrentLineText, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetLineLength", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetLineLengthAtPos", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineLengthAtPos, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetLineStartPos", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineStartPos, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetLineFromPos", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineFromPos, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetRect", (PyCFunction) _wrap_wxStyledTextCtrl_GetRect, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetLineCount", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetModified", (PyCFunction) _wrap_wxStyledTextCtrl_GetModified, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetTextLength", (PyCFunction) _wrap_wxStyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetHideSelection", (PyCFunction) _wrap_wxStyledTextCtrl_GetHideSelection, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_HideSelection", (PyCFunction) _wrap_wxStyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetSelection", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetSelection", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_wxStyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_wxStyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_wxStyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_wxStyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_CanRedo", (PyCFunction) _wrap_wxStyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_Redo", (PyCFunction) _wrap_wxStyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_wxStyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_CanUndo", (PyCFunction) _wrap_wxStyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_Undo", (PyCFunction) _wrap_wxStyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_ClearClipbrd", (PyCFunction) _wrap_wxStyledTextCtrl_ClearClipbrd, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_CanPaste", (PyCFunction) _wrap_wxStyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_Paste", (PyCFunction) _wrap_wxStyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_Copy", (PyCFunction) _wrap_wxStyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_Cut", (PyCFunction) _wrap_wxStyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetCharAt", (PyCFunction) _wrap_wxStyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_ClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_InsertText", (PyCFunction) _wrap_wxStyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_AddStyledText", (PyCFunction) _wrap_wxStyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_AddText", (PyCFunction) _wrap_wxStyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetStyledTextRange", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyledTextRange, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetTextRange", (PyCFunction) _wrap_wxStyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_wxStyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_wxStyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_wxStyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetText", (PyCFunction) _wrap_wxStyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetText", (PyCFunction) _wrap_wxStyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS },
|
|
{ "new_wxStyledTextCtrl", (PyCFunction) _wrap_new_wxStyledTextCtrl, METH_VARARGS | METH_KEYWORDS },
|
|
{ NULL, NULL }
|
|
};
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
/*
|
|
* This table is used by the pointer type-checker
|
|
*/
|
|
static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|
{ "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
|
|
{ "_wxEvent","_class_wxStyledTextEvent",SwigwxStyledTextEventTowxEvent},
|
|
{ "_wxEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxEvent},
|
|
{ "_wxEvent","_class_wxEvent",0},
|
|
{ "_class_wxActivateEvent","_wxActivateEvent",0},
|
|
{ "_signed_long","_long",0},
|
|
{ "_wxMenuEvent","_class_wxMenuEvent",0},
|
|
{ "_class_wxJPEGHandler","_wxJPEGHandler",0},
|
|
{ "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
|
|
{ "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
|
|
{ "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
|
|
{ "_wxBMPHandler","_class_wxBMPHandler",0},
|
|
{ "_wxImage","_class_wxImage",0},
|
|
{ "_wxFlexGridSizer","_class_wxFlexGridSizer",0},
|
|
{ "_wxPrintQuality","_wxCoord",0},
|
|
{ "_wxPrintQuality","_int",0},
|
|
{ "_wxPrintQuality","_signed_int",0},
|
|
{ "_wxPrintQuality","_unsigned_int",0},
|
|
{ "_wxPrintQuality","_wxWindowID",0},
|
|
{ "_wxPrintQuality","_uint",0},
|
|
{ "_wxPrintQuality","_EBool",0},
|
|
{ "_wxPrintQuality","_size_t",0},
|
|
{ "_class_wxCustomDataObject","_wxCustomDataObject",0},
|
|
{ "_wxSpinCtrl","_class_wxSpinCtrl",0},
|
|
{ "_wxFontData","_class_wxFontData",0},
|
|
{ "_class_wxRegionIterator","_wxRegionIterator",0},
|
|
{ "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
|
|
{ "_class_wxMenuBar","_wxMenuBar",0},
|
|
{ "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
|
|
{ "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0},
|
|
{ "_class_wxEvtHandler","_class_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxEvtHandler},
|
|
{ "_class_wxEvtHandler","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxEvtHandler},
|
|
{ "_class_wxEvtHandler","_wxEvtHandler",0},
|
|
{ "_wxPaintEvent","_class_wxPaintEvent",0},
|
|
{ "_wxGIFHandler","_class_wxGIFHandler",0},
|
|
{ "_wxPySizer","_class_wxPySizer",0},
|
|
{ "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
|
|
{ "_wxCursor","_class_wxCursor",0},
|
|
{ "_wxNotifyEvent","_class_wxNotifyEvent",0},
|
|
{ "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0},
|
|
{ "_wxImageHandler","_class_wxImageHandler",0},
|
|
{ "_wxLog","_class_wxLog",0},
|
|
{ "_class_wxToolBarBase","_wxToolBarBase",0},
|
|
{ "_wxMask","_class_wxMask",0},
|
|
{ "_wxToolTip","_class_wxToolTip",0},
|
|
{ "_wxPNGHandler","_class_wxPNGHandler",0},
|
|
{ "_class_wxStyledTextCtrl","_wxStyledTextCtrl",0},
|
|
{ "_class_wxColourData","_wxColourData",0},
|
|
{ "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
|
|
{ "_wxPrinter","_class_wxPrinter",0},
|
|
{ "_wxPen","_class_wxPen",0},
|
|
{ "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
|
|
{ "_class_wxNotebookSizer","_wxNotebookSizer",0},
|
|
{ "_byte","_unsigned_char",0},
|
|
{ "_wxDataObject","_class_wxDataObject",0},
|
|
{ "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0},
|
|
{ "_wxStaticBox","_class_wxStaticBox",0},
|
|
{ "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
|
|
{ "_wxPyDropSource","_class_wxPyDropSource",0},
|
|
{ "_wxChoice","_class_wxChoice",0},
|
|
{ "_wxSlider","_class_wxSlider",0},
|
|
{ "_wxNotebookEvent","_class_wxNotebookEvent",0},
|
|
{ "_wxPyPrintout","_class_wxPyPrintout",0},
|
|
{ "_long","_unsigned_long",0},
|
|
{ "_long","_signed_long",0},
|
|
{ "_wxImageList","_class_wxImageList",0},
|
|
{ "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
|
|
{ "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
|
|
{ "_wxBitmapButton","_class_wxBitmapButton",0},
|
|
{ "_wxSashWindow","_class_wxSashWindow",0},
|
|
{ "_class_wxSizer","_wxSizer",0},
|
|
{ "_class_wxTIFFHandler","_wxTIFFHandler",0},
|
|
{ "_class_wxPrintDialogData","_wxPrintDialogData",0},
|
|
{ "_wxGridSizer","_class_wxGridSizer",0},
|
|
{ "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
|
|
{ "_class_wxClipboard","_wxClipboard",0},
|
|
{ "_class_wxGauge","_wxGauge",0},
|
|
{ "_class_wxSashEvent","_wxSashEvent",0},
|
|
{ "_wxDC","_class_wxDC",0},
|
|
{ "_wxSizerItem","_class_wxSizerItem",0},
|
|
{ "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
|
|
{ "_wxListEvent","_class_wxListEvent",0},
|
|
{ "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
|
|
{ "_wxProgressDialog","_class_wxProgressDialog",0},
|
|
{ "_class_wxBMPHandler","_wxBMPHandler",0},
|
|
{ "_wxPrintPreview","_class_wxPrintPreview",0},
|
|
{ "_class_wxFlexGridSizer","_wxFlexGridSizer",0},
|
|
{ "_wxSpinEvent","_class_wxSpinEvent",0},
|
|
{ "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0},
|
|
{ "_size_t","_wxCoord",0},
|
|
{ "_size_t","_wxPrintQuality",0},
|
|
{ "_size_t","_unsigned_int",0},
|
|
{ "_size_t","_int",0},
|
|
{ "_size_t","_wxWindowID",0},
|
|
{ "_size_t","_uint",0},
|
|
{ "_class_wxRealPoint","_wxRealPoint",0},
|
|
{ "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
|
|
{ "_wxPNMHandler","_class_wxPNMHandler",0},
|
|
{ "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
|
|
{ "_wxLogGui","_class_wxLogGui",0},
|
|
{ "_class_wxMenuItem","_wxMenuItem",0},
|
|
{ "_class_wxPaintEvent","_wxPaintEvent",0},
|
|
{ "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
|
|
{ "_class_wxStatusBar","_wxStatusBar",0},
|
|
{ "_class_wxGIFHandler","_wxGIFHandler",0},
|
|
{ "_class_wxPySizer","_wxPySizer",0},
|
|
{ "_class_wxPostScriptDC","_wxPostScriptDC",0},
|
|
{ "_wxPanel","_class_wxPanel",0},
|
|
{ "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
|
|
{ "_wxCheckBox","_class_wxCheckBox",0},
|
|
{ "_class_wxPyTreeCtrl","_wxPyTreeCtrl",0},
|
|
{ "_wxPyEvent","_class_wxPyEvent",0},
|
|
{ "_wxTextCtrl","_class_wxTextCtrl",0},
|
|
{ "_class_wxMask","_wxMask",0},
|
|
{ "_wxTextDataObject","_class_wxTextDataObject",0},
|
|
{ "_class_wxKeyEvent","_wxKeyEvent",0},
|
|
{ "_class_wxToolTip","_wxToolTip",0},
|
|
{ "_class_wxPNGHandler","_wxPNGHandler",0},
|
|
{ "_wxColour","_class_wxColour",0},
|
|
{ "_class_wxDialog","_wxDialog",0},
|
|
{ "_wxBusyCursor","_class_wxBusyCursor",0},
|
|
{ "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
|
|
{ "_class_wxPrinter","_wxPrinter",0},
|
|
{ "_class_wxFileDataObject","_wxFileDataObject",0},
|
|
{ "_wxIdleEvent","_class_wxIdleEvent",0},
|
|
{ "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
|
|
{ "_wxToolBar","_class_wxToolBar",0},
|
|
{ "_class_wxDataObject","_wxDataObject",0},
|
|
{ "_wxCaret","_class_wxCaret",0},
|
|
{ "_wxStaticLine","_class_wxStaticLine",0},
|
|
{ "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0},
|
|
{ "_wxBrush","_class_wxBrush",0},
|
|
{ "_wxMiniFrame","_class_wxMiniFrame",0},
|
|
{ "_class_wxNotebookEvent","_wxNotebookEvent",0},
|
|
{ "_class_wxPyPrintout","_wxPyPrintout",0},
|
|
{ "_wxDataFormat","_class_wxDataFormat",0},
|
|
{ "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
|
|
{ "_class_wxSashWindow","_wxSashWindow",0},
|
|
{ "_wxShowEvent","_class_wxShowEvent",0},
|
|
{ "_uint","_wxCoord",0},
|
|
{ "_uint","_wxPrintQuality",0},
|
|
{ "_uint","_size_t",0},
|
|
{ "_uint","_unsigned_int",0},
|
|
{ "_uint","_int",0},
|
|
{ "_uint","_wxWindowID",0},
|
|
{ "_wxChar","_char",0},
|
|
{ "_wxPyValidator","_class_wxPyValidator",0},
|
|
{ "_class_wxEvent","_class_wxStyledTextEvent",SwigwxStyledTextEventTowxEvent},
|
|
{ "_class_wxEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxEvent},
|
|
{ "_class_wxEvent","_wxEvent",0},
|
|
{ "_wxCheckListBox","_class_wxCheckListBox",0},
|
|
{ "_wxSplitterEvent","_class_wxSplitterEvent",0},
|
|
{ "_wxRect","_class_wxRect",0},
|
|
{ "_wxCommandEvent","_class_wxStyledTextEvent",SwigwxStyledTextEventTowxCommandEvent},
|
|
{ "_wxCommandEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxCommandEvent},
|
|
{ "_wxCommandEvent","_class_wxCommandEvent",0},
|
|
{ "_wxSizeEvent","_class_wxSizeEvent",0},
|
|
{ "_class_wxLogWindow","_wxLogWindow",0},
|
|
{ "_class_wxImage","_wxImage",0},
|
|
{ "_wxPoint","_class_wxPoint",0},
|
|
{ "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0},
|
|
{ "_class_wxButton","_wxButton",0},
|
|
{ "_wxRadioBox","_class_wxRadioBox",0},
|
|
{ "_class_wxSpinCtrl","_wxSpinCtrl",0},
|
|
{ "_class_wxFontData","_wxFontData",0},
|
|
{ "_class_wxPNMHandler","_wxPNMHandler",0},
|
|
{ "_wxBoxSizer","_class_wxBoxSizer",0},
|
|
{ "_char","_wxChar",0},
|
|
{ "_wxBitmap","_class_wxBitmap",0},
|
|
{ "_wxPrintDialog","_class_wxPrintDialog",0},
|
|
{ "_wxWindowDC","_class_wxWindowDC",0},
|
|
{ "_wxTimerEvent","_class_wxTimerEvent",0},
|
|
{ "_wxPyTimer","_class_wxPyTimer",0},
|
|
{ "_wxScrollBar","_class_wxScrollBar",0},
|
|
{ "_wxSpinButton","_class_wxSpinButton",0},
|
|
{ "_wxColourDialog","_class_wxColourDialog",0},
|
|
{ "_wxPrintData","_class_wxPrintData",0},
|
|
{ "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
|
|
{ "_class_wxNotifyEvent","_wxNotifyEvent",0},
|
|
{ "_wxMessageDialog","_class_wxMessageDialog",0},
|
|
{ "_class_wxValidator","_wxValidator",0},
|
|
{ "_class_wxPyEvent","_wxPyEvent",0},
|
|
{ "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
|
|
{ "_class_wxIconizeEvent","_wxIconizeEvent",0},
|
|
{ "_class_wxStaticBitmap","_wxStaticBitmap",0},
|
|
{ "_class_wxBusyCursor","_wxBusyCursor",0},
|
|
{ "_wxToolBarSimple","_class_wxToolBarSimple",0},
|
|
{ "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
|
|
{ "_wxListItem","_class_wxListItem",0},
|
|
{ "_class_wxToolBar","_wxToolBar",0},
|
|
{ "_wxDropTarget","_class_wxDropTarget",0},
|
|
{ "_class_wxStaticLine","_wxStaticLine",0},
|
|
{ "_wxScrollEvent","_class_wxScrollEvent",0},
|
|
{ "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
|
|
{ "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
|
|
{ "_EBool","_wxCoord",0},
|
|
{ "_EBool","_wxPrintQuality",0},
|
|
{ "_EBool","_signed_int",0},
|
|
{ "_EBool","_int",0},
|
|
{ "_EBool","_wxWindowID",0},
|
|
{ "_class_wxRegion","_wxRegion",0},
|
|
{ "_class_wxDataFormat","_wxDataFormat",0},
|
|
{ "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
|
|
{ "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
|
|
{ "_class_wxPreviewFrame","_wxPreviewFrame",0},
|
|
{ "_wxStaticText","_class_wxStaticText",0},
|
|
{ "_wxFont","_class_wxFont",0},
|
|
{ "_class_wxPyDropTarget","_wxPyDropTarget",0},
|
|
{ "_wxCloseEvent","_class_wxCloseEvent",0},
|
|
{ "_class_wxSplitterEvent","_wxSplitterEvent",0},
|
|
{ "_wxNotebook","_class_wxNotebook",0},
|
|
{ "_unsigned_long","_long",0},
|
|
{ "_class_wxRect","_wxRect",0},
|
|
{ "_class_wxDC","_wxDC",0},
|
|
{ "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
|
|
{ "_wxGenericDragImage","_class_wxGenericDragImage",0},
|
|
{ "_class_wxProgressDialog","_wxProgressDialog",0},
|
|
{ "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
|
|
{ "_wxPyApp","_class_wxPyApp",0},
|
|
{ "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
|
|
{ "_wxLogTextCtrl","_class_wxLogTextCtrl",0},
|
|
{ "_wxMDIParentFrame","_class_wxMDIParentFrame",0},
|
|
{ "_class_wxTreeEvent","_wxTreeEvent",0},
|
|
{ "_class_wxDirDialog","_wxDirDialog",0},
|
|
{ "_wxFocusEvent","_class_wxFocusEvent",0},
|
|
{ "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
|
|
{ "_class_wxTimerEvent","_wxTimerEvent",0},
|
|
{ "_class_wxPyTimer","_wxPyTimer",0},
|
|
{ "_class_wxSpinButton","_wxSpinButton",0},
|
|
{ "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
|
|
{ "_class_wxPanel","_wxPanel",0},
|
|
{ "_class_wxCheckBox","_wxCheckBox",0},
|
|
{ "_wxComboBox","_class_wxComboBox",0},
|
|
{ "_wxRadioButton","_class_wxRadioButton",0},
|
|
{ "_class_wxMessageDialog","_wxMessageDialog",0},
|
|
{ "_signed_int","_wxCoord",0},
|
|
{ "_signed_int","_wxPrintQuality",0},
|
|
{ "_signed_int","_EBool",0},
|
|
{ "_signed_int","_wxWindowID",0},
|
|
{ "_signed_int","_int",0},
|
|
{ "_class_wxTextCtrl","_wxTextCtrl",0},
|
|
{ "_class_wxListItemAttr","_wxListItemAttr",0},
|
|
{ "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
|
|
{ "_class_wxTextDataObject","_wxTextDataObject",0},
|
|
{ "_wxMenu","_class_wxMenu",0},
|
|
{ "_class_wxMoveEvent","_wxMoveEvent",0},
|
|
{ "_wxListBox","_class_wxListBox",0},
|
|
{ "_wxScreenDC","_class_wxScreenDC",0},
|
|
{ "_class_wxToolBarSimple","_wxToolBarSimple",0},
|
|
{ "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
|
|
{ "_WXTYPE","_short",0},
|
|
{ "_WXTYPE","_signed_short",0},
|
|
{ "_WXTYPE","_unsigned_short",0},
|
|
{ "_wxFileDialog","_class_wxFileDialog",0},
|
|
{ "_class_wxDropTarget","_wxDropTarget",0},
|
|
{ "_class_wxCaret","_wxCaret",0},
|
|
{ "_class_wxMDIClientWindow","_wxMDIClientWindow",0},
|
|
{ "_class_wxBrush","_wxBrush",0},
|
|
{ "_wxTipProvider","_class_wxTipProvider",0},
|
|
{ "_unsigned_short","_WXTYPE",0},
|
|
{ "_unsigned_short","_short",0},
|
|
{ "_class_wxWindow","_class_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxWindow},
|
|
{ "_class_wxWindow","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxWindow},
|
|
{ "_class_wxWindow","_wxWindow",0},
|
|
{ "_class_wxLogStderr","_wxLogStderr",0},
|
|
{ "_wxSplitterWindow","_class_wxSplitterWindow",0},
|
|
{ "_class_wxStyledTextEvent","_wxStyledTextEvent",0},
|
|
{ "_class_wxStaticText","_wxStaticText",0},
|
|
{ "_wxPrintDialogData","_class_wxPrintDialogData",0},
|
|
{ "_class_wxFont","_wxFont",0},
|
|
{ "_wxClipboard","_class_wxClipboard",0},
|
|
{ "_class_wxPyValidator","_wxPyValidator",0},
|
|
{ "_class_wxCloseEvent","_wxCloseEvent",0},
|
|
{ "_wxSashEvent","_class_wxSashEvent",0},
|
|
{ "_wxBusyInfo","_class_wxBusyInfo",0},
|
|
{ "_class_wxMenuEvent","_wxMenuEvent",0},
|
|
{ "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
|
|
{ "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
|
|
{ "_wxClientDC","_class_wxClientDC",0},
|
|
{ "_wxMouseEvent","_class_wxMouseEvent",0},
|
|
{ "_class_wxGenericDragImage","_wxGenericDragImage",0},
|
|
{ "_wxListCtrl","_class_wxListCtrl",0},
|
|
{ "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
|
|
{ "_class_wxPoint","_wxPoint",0},
|
|
{ "_wxRealPoint","_class_wxRealPoint",0},
|
|
{ "_class_wxRadioBox","_wxRadioBox",0},
|
|
{ "_class_wxBoxSizer","_wxBoxSizer",0},
|
|
{ "_signed_short","_WXTYPE",0},
|
|
{ "_signed_short","_short",0},
|
|
{ "_wxMemoryDC","_class_wxMemoryDC",0},
|
|
{ "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
|
|
{ "_class_wxPrintDialog","_wxPrintDialog",0},
|
|
{ "_wxPaintDC","_class_wxPaintDC",0},
|
|
{ "_class_wxWindowDC","_wxWindowDC",0},
|
|
{ "_class_wxFocusEvent","_wxFocusEvent",0},
|
|
{ "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
|
|
{ "_wxStatusBar","_class_wxStatusBar",0},
|
|
{ "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
|
|
{ "_class_wxCursor","_wxCursor",0},
|
|
{ "_wxPostScriptDC","_class_wxPostScriptDC",0},
|
|
{ "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
|
|
{ "_class_wxImageHandler","_wxImageHandler",0},
|
|
{ "_wxScrolledWindow","_class_wxScrolledWindow",0},
|
|
{ "_class_wxLog","_wxLog",0},
|
|
{ "_wxTreeItemId","_class_wxTreeItemId",0},
|
|
{ "_unsigned_char","_byte",0},
|
|
{ "_class_wxMenu","_wxMenu",0},
|
|
{ "_wxControl","_class_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxControl},
|
|
{ "_wxControl","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxControl},
|
|
{ "_wxControl","_class_wxControl",0},
|
|
{ "_class_wxListBox","_wxListBox",0},
|
|
{ "_unsigned_int","_wxCoord",0},
|
|
{ "_unsigned_int","_wxPrintQuality",0},
|
|
{ "_unsigned_int","_size_t",0},
|
|
{ "_unsigned_int","_uint",0},
|
|
{ "_unsigned_int","_wxWindowID",0},
|
|
{ "_unsigned_int","_int",0},
|
|
{ "_wxIcon","_class_wxIcon",0},
|
|
{ "_wxDialog","_class_wxDialog",0},
|
|
{ "_class_wxListItem","_wxListItem",0},
|
|
{ "_class_wxPen","_wxPen",0},
|
|
{ "_class_wxFileDialog","_wxFileDialog",0},
|
|
{ "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0},
|
|
{ "_short","_WXTYPE",0},
|
|
{ "_short","_unsigned_short",0},
|
|
{ "_short","_signed_short",0},
|
|
{ "_class_wxStaticBox","_wxStaticBox",0},
|
|
{ "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0},
|
|
{ "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
|
|
{ "_class_wxPyDropSource","_wxPyDropSource",0},
|
|
{ "_class_wxScrollEvent","_wxScrollEvent",0},
|
|
{ "_wxJoystickEvent","_class_wxJoystickEvent",0},
|
|
{ "_class_wxChoice","_wxChoice",0},
|
|
{ "_class_wxSlider","_wxSlider",0},
|
|
{ "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0},
|
|
{ "_class_wxImageList","_wxImageList",0},
|
|
{ "_class_wxBitmapButton","_wxBitmapButton",0},
|
|
{ "_wxPyTipProvider","_class_wxPyTipProvider",0},
|
|
{ "_wxFrame","_class_wxFrame",0},
|
|
{ "_wxPCXHandler","_class_wxPCXHandler",0},
|
|
{ "_class_wxGridSizer","_wxGridSizer",0},
|
|
{ "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
|
|
{ "_class_wxNotebook","_wxNotebook",0},
|
|
{ "_wxJPEGHandler","_class_wxJPEGHandler",0},
|
|
{ "_wxWindowID","_wxCoord",0},
|
|
{ "_wxWindowID","_wxPrintQuality",0},
|
|
{ "_wxWindowID","_size_t",0},
|
|
{ "_wxWindowID","_EBool",0},
|
|
{ "_wxWindowID","_uint",0},
|
|
{ "_wxWindowID","_int",0},
|
|
{ "_wxWindowID","_signed_int",0},
|
|
{ "_wxWindowID","_unsigned_int",0},
|
|
{ "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
|
|
{ "_class_wxSizerItem","_wxSizerItem",0},
|
|
{ "_int","_wxCoord",0},
|
|
{ "_int","_wxPrintQuality",0},
|
|
{ "_int","_size_t",0},
|
|
{ "_int","_EBool",0},
|
|
{ "_int","_uint",0},
|
|
{ "_int","_wxWindowID",0},
|
|
{ "_int","_unsigned_int",0},
|
|
{ "_int","_signed_int",0},
|
|
{ "_class_wxMouseEvent","_wxMouseEvent",0},
|
|
{ "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
|
|
{ "_wxLogWindow","_class_wxLogWindow",0},
|
|
{ "_class_wxListEvent","_wxListEvent",0},
|
|
{ "_class_wxPrintPreview","_wxPrintPreview",0},
|
|
{ "_class_wxSpinEvent","_wxSpinEvent",0},
|
|
{ "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
|
|
{ "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
|
|
{ "_wxLogNull","_class_wxLogNull",0},
|
|
{ "_wxButton","_class_wxButton",0},
|
|
{ "_class_wxPyApp","_wxPyApp",0},
|
|
{ "_wxSize","_class_wxSize",0},
|
|
{ "_wxRegionIterator","_class_wxRegionIterator",0},
|
|
{ "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
|
|
{ "_class_wxLogTextCtrl","_wxLogTextCtrl",0},
|
|
{ "_class_wxLogGui","_wxLogGui",0},
|
|
{ "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
|
|
{ "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
|
|
{ "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0},
|
|
{ "_class_wxPaintDC","_wxPaintDC",0},
|
|
{ "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
|
|
{ "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
|
|
{ "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
|
|
{ "_class_wxComboBox","_wxComboBox",0},
|
|
{ "_class_wxRadioButton","_wxRadioButton",0},
|
|
{ "_wxValidator","_class_wxValidator",0},
|
|
{ "_wxToolBarBase","_class_wxToolBarBase",0},
|
|
{ "_class_wxTreeItemId","_wxTreeItemId",0},
|
|
{ "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
|
|
{ "_wxIconizeEvent","_class_wxIconizeEvent",0},
|
|
{ "_class_wxControl","_class_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxControl},
|
|
{ "_class_wxControl","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxControl},
|
|
{ "_class_wxControl","_wxControl",0},
|
|
{ "_wxStaticBitmap","_class_wxStaticBitmap",0},
|
|
{ "_wxStyledTextCtrl","_class_wxStyledTextCtrl",0},
|
|
{ "_class_wxIcon","_wxIcon",0},
|
|
{ "_class_wxColour","_wxColour",0},
|
|
{ "_class_wxScreenDC","_wxScreenDC",0},
|
|
{ "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
|
|
{ "_wxPalette","_class_wxPalette",0},
|
|
{ "_class_wxIdleEvent","_wxIdleEvent",0},
|
|
{ "_wxCoord","_int",0},
|
|
{ "_wxCoord","_signed_int",0},
|
|
{ "_wxCoord","_unsigned_int",0},
|
|
{ "_wxCoord","_wxWindowID",0},
|
|
{ "_wxCoord","_uint",0},
|
|
{ "_wxCoord","_EBool",0},
|
|
{ "_wxCoord","_size_t",0},
|
|
{ "_wxCoord","_wxPrintQuality",0},
|
|
{ "_wxEraseEvent","_class_wxEraseEvent",0},
|
|
{ "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
|
|
{ "_class_wxJoystickEvent","_wxJoystickEvent",0},
|
|
{ "_class_wxTipProvider","_wxTipProvider",0},
|
|
{ "_class_wxMiniFrame","_wxMiniFrame",0},
|
|
{ "_wxFontDialog","_class_wxFontDialog",0},
|
|
{ "_wxRegion","_class_wxRegion",0},
|
|
{ "_class_wxSplitterWindow","_wxSplitterWindow",0},
|
|
{ "_wxPreviewFrame","_class_wxPreviewFrame",0},
|
|
{ "_wxSizer","_class_wxSizer",0},
|
|
{ "_class_wxShowEvent","_wxShowEvent",0},
|
|
{ "_class_wxPyTipProvider","_wxPyTipProvider",0},
|
|
{ "_class_wxPCXHandler","_wxPCXHandler",0},
|
|
{ "_wxTIFFHandler","_class_wxTIFFHandler",0},
|
|
{ "_wxPyDropTarget","_class_wxPyDropTarget",0},
|
|
{ "_wxActivateEvent","_class_wxActivateEvent",0},
|
|
{ "_wxGauge","_class_wxGauge",0},
|
|
{ "_class_wxCheckListBox","_wxCheckListBox",0},
|
|
{ "_class_wxBusyInfo","_wxBusyInfo",0},
|
|
{ "_class_wxCommandEvent","_class_wxStyledTextEvent",SwigwxStyledTextEventTowxCommandEvent},
|
|
{ "_class_wxCommandEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxCommandEvent},
|
|
{ "_class_wxCommandEvent","_wxCommandEvent",0},
|
|
{ "_class_wxClientDC","_wxClientDC",0},
|
|
{ "_class_wxSizeEvent","_wxSizeEvent",0},
|
|
{ "_class_wxListCtrl","_wxListCtrl",0},
|
|
{ "_wxCustomDataObject","_class_wxCustomDataObject",0},
|
|
{ "_class_wxLogNull","_wxLogNull",0},
|
|
{ "_class_wxSize","_wxSize",0},
|
|
{ "_class_wxBitmap","_wxBitmap",0},
|
|
{ "_class_wxMemoryDC","_wxMemoryDC",0},
|
|
{ "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
|
|
{ "_wxMenuBar","_class_wxMenuBar",0},
|
|
{ "_wxTreeEvent","_class_wxTreeEvent",0},
|
|
{ "_wxDirDialog","_class_wxDirDialog",0},
|
|
{ "_wxEvtHandler","_class_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxEvtHandler},
|
|
{ "_wxEvtHandler","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxEvtHandler},
|
|
{ "_wxEvtHandler","_class_wxEvtHandler",0},
|
|
{ "_wxMenuItem","_class_wxMenuItem",0},
|
|
{ "_class_wxScrollBar","_wxScrollBar",0},
|
|
{ "_class_wxColourDialog","_wxColourDialog",0},
|
|
{ "_class_wxPrintData","_wxPrintData",0},
|
|
{ "_class_wxScrolledWindow","_wxScrolledWindow",0},
|
|
{ "_wxListItemAttr","_class_wxListItemAttr",0},
|
|
{ "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
|
|
{ "_wxKeyEvent","_class_wxKeyEvent",0},
|
|
{ "_wxMoveEvent","_class_wxMoveEvent",0},
|
|
{ "_wxColourData","_class_wxColourData",0},
|
|
{ "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
|
|
{ "_class_wxPalette","_wxPalette",0},
|
|
{ "_wxFileDataObject","_class_wxFileDataObject",0},
|
|
{ "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0},
|
|
{ "_wxNotebookSizer","_class_wxNotebookSizer",0},
|
|
{ "_class_wxEraseEvent","_wxEraseEvent",0},
|
|
{ "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0},
|
|
{ "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
|
|
{ "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
|
|
{ "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
|
|
{ "_class_wxFontDialog","_wxFontDialog",0},
|
|
{ "_wxWindow","_class_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxWindow},
|
|
{ "_wxWindow","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxWindow},
|
|
{ "_wxWindow","_class_wxWindow",0},
|
|
{ "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
|
|
{ "_wxLogStderr","_class_wxLogStderr",0},
|
|
{ "_wxStyledTextEvent","_class_wxStyledTextEvent",0},
|
|
{ "_class_wxFrame","_wxFrame",0},
|
|
{0,0,0}};
|
|
|
|
static PyObject *SWIG_globals;
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
#endif
|
|
SWIGEXPORT(void) initstc_c() {
|
|
PyObject *m, *d;
|
|
SWIG_globals = SWIG_newvarlink();
|
|
m = Py_InitModule("stc_c", stc_cMethods);
|
|
d = PyModule_GetDict(m);
|
|
PyDict_SetItemString(d,"wxSTC_UndoCollectNone", PyInt_FromLong((long) wxSTC_UndoCollectNone));
|
|
PyDict_SetItemString(d,"wxSTC_UndoCollectAutoStart", PyInt_FromLong((long) wxSTC_UndoCollectAutoStart));
|
|
PyDict_SetItemString(d,"wxSTC_EOL_CRLF", PyInt_FromLong((long) wxSTC_EOL_CRLF));
|
|
PyDict_SetItemString(d,"wxSTC_EOL_CR", PyInt_FromLong((long) wxSTC_EOL_CR));
|
|
PyDict_SetItemString(d,"wxSTC_EOL_LF", PyInt_FromLong((long) wxSTC_EOL_LF));
|
|
PyDict_SetItemString(d,"wxSTC_EDGE_NONE", PyInt_FromLong((long) wxSTC_EDGE_NONE));
|
|
PyDict_SetItemString(d,"wxSTC_EDGE_LINE", PyInt_FromLong((long) wxSTC_EDGE_LINE));
|
|
PyDict_SetItemString(d,"wxSTC_EDGE_BACKGROUND", PyInt_FromLong((long) wxSTC_EDGE_BACKGROUND));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_STYLE_MAX", PyInt_FromLong((long) 31));
|
|
PyDict_SetItemString(d,"wxSTC_STYLE_DEFAULT", PyInt_FromLong((long) 32));
|
|
PyDict_SetItemString(d,"wxSTC_STYLE_LINENUMBER", PyInt_FromLong((long) 33));
|
|
PyDict_SetItemString(d,"wxSTC_STYLE_BRACELIGHT", PyInt_FromLong((long) 34));
|
|
PyDict_SetItemString(d,"wxSTC_STYLE_BRACEBAD", PyInt_FromLong((long) 35));
|
|
PyDict_SetItemString(d,"wxSTC_STYLE_CONTROLCHAR", PyInt_FromLong((long) 36));
|
|
PyDict_SetItemString(d,"wxSTC_STYLE_MAX", PyInt_FromLong((long) 127));
|
|
PyDict_SetItemString(d,"wxSTC_STYLE_MASK", PyInt_FromLong((long) 31));
|
|
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));
|
|
PyDict_SetItemString(d,"wxSTC_MARK_ARROW", PyInt_FromLong((long) 2));
|
|
PyDict_SetItemString(d,"wxSTC_MARK_SMALLRECT", PyInt_FromLong((long) 3));
|
|
PyDict_SetItemString(d,"wxSTC_MARK_SHORTARROW", PyInt_FromLong((long) 4));
|
|
PyDict_SetItemString(d,"wxSTC_MARK_EMPTY", PyInt_FromLong((long) 5));
|
|
PyDict_SetItemString(d,"wxSTC_MARK_ARROWDOWN", PyInt_FromLong((long) 6));
|
|
PyDict_SetItemString(d,"wxSTC_MARK_MINUS", PyInt_FromLong((long) 7));
|
|
PyDict_SetItemString(d,"wxSTC_MARK_PLUS", PyInt_FromLong((long) 8));
|
|
PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDER", PyInt_FromLong((long) 30));
|
|
PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEROPEN", PyInt_FromLong((long) 31));
|
|
PyDict_SetItemString(d,"wxSTC_MASK_FOLDERS", PyInt_FromLong((long) ((1<<(30))|(1<<(31)))));
|
|
PyDict_SetItemString(d,"wxSTC_INDIC_MAX", PyInt_FromLong((long) 7));
|
|
PyDict_SetItemString(d,"wxSTC_INDIC_PLAIN", PyInt_FromLong((long) 0));
|
|
PyDict_SetItemString(d,"wxSTC_INDIC_SQUIGGLE", PyInt_FromLong((long) 1));
|
|
PyDict_SetItemString(d,"wxSTC_INDIC_TT", PyInt_FromLong((long) 2));
|
|
PyDict_SetItemString(d,"wxSTC_INDIC_DIAGONAL", PyInt_FromLong((long) 3));
|
|
PyDict_SetItemString(d,"wxSTC_INDIC_STRIKE", PyInt_FromLong((long) 4));
|
|
PyDict_SetItemString(d,"wxSTC_INDIC0_MASK", PyInt_FromLong((long) 32));
|
|
PyDict_SetItemString(d,"wxSTC_INDIC1_MASK", PyInt_FromLong((long) 64));
|
|
PyDict_SetItemString(d,"wxSTC_INDIC2_MASK", PyInt_FromLong((long) 128));
|
|
PyDict_SetItemString(d,"wxSTC_INDICS_MASK", PyInt_FromLong((long) ((32)|(64)|(128))));
|
|
PyDict_SetItemString(d,"wxSTC_FOLDLEVELBASE", PyInt_FromLong((long) 0x0400));
|
|
PyDict_SetItemString(d,"wxSTC_FOLDLEVELWHITEFLAG", PyInt_FromLong((long) 0x1000));
|
|
PyDict_SetItemString(d,"wxSTC_FOLDLEVELHEADERFLAG", PyInt_FromLong((long) 0x2000));
|
|
PyDict_SetItemString(d,"wxSTC_FOLDLEVELNUMBERMASK", PyInt_FromLong((long) 0x0FFF));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_LINEDOWN", PyInt_FromLong((long) wxSTC_CMD_LINEDOWN));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_LINEDOWNEXTEND", PyInt_FromLong((long) wxSTC_CMD_LINEDOWNEXTEND));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_LINEUP", PyInt_FromLong((long) wxSTC_CMD_LINEUP));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_LINEUPEXTEND", PyInt_FromLong((long) wxSTC_CMD_LINEUPEXTEND));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_CHARLEFT", PyInt_FromLong((long) wxSTC_CMD_CHARLEFT));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_CHARLEFTEXTEND", PyInt_FromLong((long) wxSTC_CMD_CHARLEFTEXTEND));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_CHARRIGHT", PyInt_FromLong((long) wxSTC_CMD_CHARRIGHT));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_CHARRIGHTEXTEND", PyInt_FromLong((long) wxSTC_CMD_CHARRIGHTEXTEND));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_WORDLEFT", PyInt_FromLong((long) wxSTC_CMD_WORDLEFT));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_WORDLEFTEXTEND", PyInt_FromLong((long) wxSTC_CMD_WORDLEFTEXTEND));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_WORDRIGHT", PyInt_FromLong((long) wxSTC_CMD_WORDRIGHT));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_WORDRIGHTEXTEND", PyInt_FromLong((long) wxSTC_CMD_WORDRIGHTEXTEND));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_HOME", PyInt_FromLong((long) wxSTC_CMD_HOME));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_HOMEEXTEND", PyInt_FromLong((long) wxSTC_CMD_HOMEEXTEND));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_LINEEND", PyInt_FromLong((long) wxSTC_CMD_LINEEND));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_LINEENDEXTEND", PyInt_FromLong((long) wxSTC_CMD_LINEENDEXTEND));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTSTART", PyInt_FromLong((long) wxSTC_CMD_DOCUMENTSTART));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTSTARTEXTEND", PyInt_FromLong((long) wxSTC_CMD_DOCUMENTSTARTEXTEND));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTEND", PyInt_FromLong((long) wxSTC_CMD_DOCUMENTEND));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTENDEXTEND", PyInt_FromLong((long) wxSTC_CMD_DOCUMENTENDEXTEND));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_PAGEUP", PyInt_FromLong((long) wxSTC_CMD_PAGEUP));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_PAGEUPEXTEND", PyInt_FromLong((long) wxSTC_CMD_PAGEUPEXTEND));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_PAGEDOWN", PyInt_FromLong((long) wxSTC_CMD_PAGEDOWN));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_PAGEDOWNEXTEND", PyInt_FromLong((long) wxSTC_CMD_PAGEDOWNEXTEND));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_EDITTOGGLEOVERTYPE", PyInt_FromLong((long) wxSTC_CMD_EDITTOGGLEOVERTYPE));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_CANCEL", PyInt_FromLong((long) wxSTC_CMD_CANCEL));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_DELETEBACK", PyInt_FromLong((long) wxSTC_CMD_DELETEBACK));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_TAB", PyInt_FromLong((long) wxSTC_CMD_TAB));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_BACKTAB", PyInt_FromLong((long) wxSTC_CMD_BACKTAB));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_NEWLINE", PyInt_FromLong((long) wxSTC_CMD_NEWLINE));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_FORMFEED", PyInt_FromLong((long) wxSTC_CMD_FORMFEED));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_VCHOME", PyInt_FromLong((long) wxSTC_CMD_VCHOME));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_VCHOMEEXTEND", PyInt_FromLong((long) wxSTC_CMD_VCHOMEEXTEND));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_ZOOMIN", PyInt_FromLong((long) wxSTC_CMD_ZOOMIN));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_ZOOMOUT", PyInt_FromLong((long) wxSTC_CMD_ZOOMOUT));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_DELWORDLEFT", PyInt_FromLong((long) wxSTC_CMD_DELWORDLEFT));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_DELWORDRIGHT", PyInt_FromLong((long) wxSTC_CMD_DELWORDRIGHT));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_LINECUT", PyInt_FromLong((long) wxSTC_CMD_LINECUT));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_LINEDELETE", PyInt_FromLong((long) wxSTC_CMD_LINEDELETE));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_LINETRANSPOSE", PyInt_FromLong((long) wxSTC_CMD_LINETRANSPOSE));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_LOWERCASE", PyInt_FromLong((long) wxSTC_CMD_LOWERCASE));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_UPPERCASE", PyInt_FromLong((long) wxSTC_CMD_UPPERCASE));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_LINESCROLLDOWN", PyInt_FromLong((long) wxSTC_CMD_LINESCROLLDOWN));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_LINESCROLLUP", PyInt_FromLong((long) wxSTC_CMD_LINESCROLLUP));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_CONTAINER", PyInt_FromLong((long) wxSTC_LEX_CONTAINER));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_NULL", PyInt_FromLong((long) wxSTC_LEX_NULL));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_PYTHON", PyInt_FromLong((long) wxSTC_LEX_PYTHON));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_CPP", PyInt_FromLong((long) wxSTC_LEX_CPP));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_HTML", PyInt_FromLong((long) wxSTC_LEX_HTML));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_XML", PyInt_FromLong((long) wxSTC_LEX_XML));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_PERL", PyInt_FromLong((long) wxSTC_LEX_PERL));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_SQL", PyInt_FromLong((long) wxSTC_LEX_SQL));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_VB", PyInt_FromLong((long) wxSTC_LEX_VB));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_PROPERTIES", PyInt_FromLong((long) wxSTC_LEX_PROPERTIES));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_ERRORLIST", PyInt_FromLong((long) wxSTC_LEX_ERRORLIST));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_MAKEFILE", PyInt_FromLong((long) wxSTC_LEX_MAKEFILE));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_BATCH", PyInt_FromLong((long) wxSTC_LEX_BATCH));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_XCODE", PyInt_FromLong((long) wxSTC_LEX_XCODE));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_LATEX", PyInt_FromLong((long) wxSTC_LEX_LATEX));
|
|
PyDict_SetItemString(d,"wxSTC_CARET_SLOP", PyInt_FromLong((long) 0x01));
|
|
PyDict_SetItemString(d,"WXSTC_CARET_CENTER", PyInt_FromLong((long) 0x02));
|
|
PyDict_SetItemString(d,"wxSTC_CARET_STRICT", PyInt_FromLong((long) 0x04));
|
|
PyDict_SetItemString(d,"wxSTC_MARGIN_SYMBOL", PyInt_FromLong((long) 0));
|
|
PyDict_SetItemString(d,"wxSTC_MARGIN_NUMBER", PyInt_FromLong((long) 1));
|
|
PyDict_SetItemString(d,"wxSTCNameStr", PyString_FromString("wxSTCNameStr"));
|
|
PyDict_SetItemString(d,"wxEVT_STC_CHANGE", PyInt_FromLong((long) wxEVT_STC_CHANGE));
|
|
PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", PyInt_FromLong((long) wxEVT_STC_STYLENEEDED));
|
|
PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", PyInt_FromLong((long) wxEVT_STC_CHARADDED));
|
|
PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", PyInt_FromLong((long) wxEVT_STC_UPDATEUI));
|
|
PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", PyInt_FromLong((long) wxEVT_STC_SAVEPOINTREACHED));
|
|
PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", PyInt_FromLong((long) wxEVT_STC_SAVEPOINTLEFT));
|
|
PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", PyInt_FromLong((long) wxEVT_STC_ROMODIFYATTEMPT));
|
|
PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", PyInt_FromLong((long) wxEVT_STC_DOUBLECLICK));
|
|
PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", PyInt_FromLong((long) wxEVT_STC_MODIFIED));
|
|
PyDict_SetItemString(d,"wxEVT_STC_KEY", PyInt_FromLong((long) wxEVT_STC_KEY));
|
|
PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", PyInt_FromLong((long) wxEVT_STC_MACRORECORD));
|
|
PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", PyInt_FromLong((long) wxEVT_STC_MARGINCLICK));
|
|
PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", PyInt_FromLong((long) wxEVT_STC_NEEDSHOWN));
|
|
PyDict_SetItemString(d,"wxSTC_MOD_INSERTTEXT", PyInt_FromLong((long) 0x1));
|
|
PyDict_SetItemString(d,"wxSTC_MOD_DELETETEXT", PyInt_FromLong((long) 0x2));
|
|
PyDict_SetItemString(d,"wxSTC_MOD_CHANGESTYLE", PyInt_FromLong((long) 0x4));
|
|
PyDict_SetItemString(d,"wxSTC_MOD_CHANGEFOLD", PyInt_FromLong((long) 0x8));
|
|
PyDict_SetItemString(d,"wxSTC_PERFORMED_USER", PyInt_FromLong((long) 0x10));
|
|
PyDict_SetItemString(d,"wxSTC_PERFORMED_UNDO", PyInt_FromLong((long) 0x20));
|
|
PyDict_SetItemString(d,"wxSTC_PERFORMED_REDO", PyInt_FromLong((long) 0x40));
|
|
PyDict_SetItemString(d,"wxSTC_LASTSTEPINUNDOREDO", PyInt_FromLong((long) 0x100));
|
|
PyDict_SetItemString(d,"wxSTC_MOD_CHANGEMARKER", PyInt_FromLong((long) 0x200));
|
|
PyDict_SetItemString(d,"wxSTC_MOD_BEFOREINSERT", PyInt_FromLong((long) 0x400));
|
|
PyDict_SetItemString(d,"wxSTC_MOD_BEFOREDELETE", PyInt_FromLong((long) 0x800));
|
|
PyDict_SetItemString(d,"SCLEX_CONTAINER", PyInt_FromLong((long) 0));
|
|
PyDict_SetItemString(d,"SCLEX_NULL", PyInt_FromLong((long) 1));
|
|
PyDict_SetItemString(d,"SCLEX_PYTHON", PyInt_FromLong((long) 2));
|
|
PyDict_SetItemString(d,"SCLEX_CPP", PyInt_FromLong((long) 3));
|
|
PyDict_SetItemString(d,"SCLEX_HTML", PyInt_FromLong((long) 4));
|
|
PyDict_SetItemString(d,"SCLEX_XML", PyInt_FromLong((long) 5));
|
|
PyDict_SetItemString(d,"SCLEX_PERL", PyInt_FromLong((long) 6));
|
|
PyDict_SetItemString(d,"SCLEX_SQL", PyInt_FromLong((long) 7));
|
|
PyDict_SetItemString(d,"SCLEX_VB", PyInt_FromLong((long) 8));
|
|
PyDict_SetItemString(d,"SCLEX_PROPERTIES", PyInt_FromLong((long) 9));
|
|
PyDict_SetItemString(d,"SCLEX_ERRORLIST", PyInt_FromLong((long) 10));
|
|
PyDict_SetItemString(d,"SCLEX_MAKEFILE", PyInt_FromLong((long) 11));
|
|
PyDict_SetItemString(d,"SCLEX_BATCH", PyInt_FromLong((long) 12));
|
|
PyDict_SetItemString(d,"SCLEX_XCODE", PyInt_FromLong((long) 13));
|
|
PyDict_SetItemString(d,"SCLEX_LATEX", PyInt_FromLong((long) 14));
|
|
PyDict_SetItemString(d,"SCE_P_DEFAULT", PyInt_FromLong((long) 0));
|
|
PyDict_SetItemString(d,"SCE_P_COMMENTLINE", PyInt_FromLong((long) 1));
|
|
PyDict_SetItemString(d,"SCE_P_NUMBER", PyInt_FromLong((long) 2));
|
|
PyDict_SetItemString(d,"SCE_P_STRING", PyInt_FromLong((long) 3));
|
|
PyDict_SetItemString(d,"SCE_P_CHARACTER", PyInt_FromLong((long) 4));
|
|
PyDict_SetItemString(d,"SCE_P_WORD", PyInt_FromLong((long) 5));
|
|
PyDict_SetItemString(d,"SCE_P_TRIPLE", PyInt_FromLong((long) 6));
|
|
PyDict_SetItemString(d,"SCE_P_TRIPLEDOUBLE", PyInt_FromLong((long) 7));
|
|
PyDict_SetItemString(d,"SCE_P_CLASSNAME", PyInt_FromLong((long) 8));
|
|
PyDict_SetItemString(d,"SCE_P_DEFNAME", PyInt_FromLong((long) 9));
|
|
PyDict_SetItemString(d,"SCE_P_OPERATOR", PyInt_FromLong((long) 10));
|
|
PyDict_SetItemString(d,"SCE_P_IDENTIFIER", PyInt_FromLong((long) 11));
|
|
PyDict_SetItemString(d,"SCE_P_COMMENTBLOCK", PyInt_FromLong((long) 12));
|
|
PyDict_SetItemString(d,"SCE_P_STRINGEOL", PyInt_FromLong((long) 13));
|
|
PyDict_SetItemString(d,"SCE_C_DEFAULT", PyInt_FromLong((long) 0));
|
|
PyDict_SetItemString(d,"SCE_C_COMMENT", PyInt_FromLong((long) 1));
|
|
PyDict_SetItemString(d,"SCE_C_COMMENTLINE", PyInt_FromLong((long) 2));
|
|
PyDict_SetItemString(d,"SCE_C_COMMENTDOC", PyInt_FromLong((long) 3));
|
|
PyDict_SetItemString(d,"SCE_C_NUMBER", PyInt_FromLong((long) 4));
|
|
PyDict_SetItemString(d,"SCE_C_WORD", PyInt_FromLong((long) 5));
|
|
PyDict_SetItemString(d,"SCE_C_STRING", PyInt_FromLong((long) 6));
|
|
PyDict_SetItemString(d,"SCE_C_CHARACTER", PyInt_FromLong((long) 7));
|
|
PyDict_SetItemString(d,"SCE_C_UUID", PyInt_FromLong((long) 8));
|
|
PyDict_SetItemString(d,"SCE_C_PREPROCESSOR", PyInt_FromLong((long) 9));
|
|
PyDict_SetItemString(d,"SCE_C_OPERATOR", PyInt_FromLong((long) 10));
|
|
PyDict_SetItemString(d,"SCE_C_IDENTIFIER", PyInt_FromLong((long) 11));
|
|
PyDict_SetItemString(d,"SCE_C_STRINGEOL", PyInt_FromLong((long) 12));
|
|
PyDict_SetItemString(d,"SCE_H_DEFAULT", PyInt_FromLong((long) 0));
|
|
PyDict_SetItemString(d,"SCE_H_TAG", PyInt_FromLong((long) 1));
|
|
PyDict_SetItemString(d,"SCE_H_TAGUNKNOWN", PyInt_FromLong((long) 2));
|
|
PyDict_SetItemString(d,"SCE_H_ATTRIBUTE", PyInt_FromLong((long) 3));
|
|
PyDict_SetItemString(d,"SCE_H_ATTRIBUTEUNKNOWN", PyInt_FromLong((long) 4));
|
|
PyDict_SetItemString(d,"SCE_H_NUMBER", PyInt_FromLong((long) 5));
|
|
PyDict_SetItemString(d,"SCE_H_DOUBLESTRING", PyInt_FromLong((long) 6));
|
|
PyDict_SetItemString(d,"SCE_H_SINGLESTRING", PyInt_FromLong((long) 7));
|
|
PyDict_SetItemString(d,"SCE_H_OTHER", PyInt_FromLong((long) 8));
|
|
PyDict_SetItemString(d,"SCE_H_COMMENT", PyInt_FromLong((long) 9));
|
|
PyDict_SetItemString(d,"SCE_H_ENTITY", PyInt_FromLong((long) 10));
|
|
PyDict_SetItemString(d,"SCE_H_TAGEND", PyInt_FromLong((long) 11));
|
|
PyDict_SetItemString(d,"SCE_H_XMLSTART", PyInt_FromLong((long) 12));
|
|
PyDict_SetItemString(d,"SCE_H_XMLEND", PyInt_FromLong((long) 13));
|
|
PyDict_SetItemString(d,"SCE_H_SCRIPT", PyInt_FromLong((long) 14));
|
|
PyDict_SetItemString(d,"SCE_H_ASP", PyInt_FromLong((long) 15));
|
|
PyDict_SetItemString(d,"SCE_H_ASPAT", PyInt_FromLong((long) 16));
|
|
PyDict_SetItemString(d,"SCE_HJ_START", PyInt_FromLong((long) 40));
|
|
PyDict_SetItemString(d,"SCE_HJ_DEFAULT", PyInt_FromLong((long) 41));
|
|
PyDict_SetItemString(d,"SCE_HJ_COMMENT", PyInt_FromLong((long) 42));
|
|
PyDict_SetItemString(d,"SCE_HJ_COMMENTLINE", PyInt_FromLong((long) 43));
|
|
PyDict_SetItemString(d,"SCE_HJ_COMMENTDOC", PyInt_FromLong((long) 44));
|
|
PyDict_SetItemString(d,"SCE_HJ_NUMBER", PyInt_FromLong((long) 45));
|
|
PyDict_SetItemString(d,"SCE_HJ_WORD", PyInt_FromLong((long) 46));
|
|
PyDict_SetItemString(d,"SCE_HJ_KEYWORD", PyInt_FromLong((long) 47));
|
|
PyDict_SetItemString(d,"SCE_HJ_DOUBLESTRING", PyInt_FromLong((long) 48));
|
|
PyDict_SetItemString(d,"SCE_HJ_SINGLESTRING", PyInt_FromLong((long) 49));
|
|
PyDict_SetItemString(d,"SCE_HJ_SYMBOLS", PyInt_FromLong((long) 50));
|
|
PyDict_SetItemString(d,"SCE_HJ_STRINGEOL", PyInt_FromLong((long) 51));
|
|
PyDict_SetItemString(d,"SCE_HJA_START", PyInt_FromLong((long) 55));
|
|
PyDict_SetItemString(d,"SCE_HJA_DEFAULT", PyInt_FromLong((long) 56));
|
|
PyDict_SetItemString(d,"SCE_HJA_COMMENT", PyInt_FromLong((long) 57));
|
|
PyDict_SetItemString(d,"SCE_HJA_COMMENTLINE", PyInt_FromLong((long) 58));
|
|
PyDict_SetItemString(d,"SCE_HJA_COMMENTDOC", PyInt_FromLong((long) 59));
|
|
PyDict_SetItemString(d,"SCE_HJA_NUMBER", PyInt_FromLong((long) 60));
|
|
PyDict_SetItemString(d,"SCE_HJA_WORD", PyInt_FromLong((long) 61));
|
|
PyDict_SetItemString(d,"SCE_HJA_KEYWORD", PyInt_FromLong((long) 62));
|
|
PyDict_SetItemString(d,"SCE_HJA_DOUBLESTRING", PyInt_FromLong((long) 63));
|
|
PyDict_SetItemString(d,"SCE_HJA_SINGLESTRING", PyInt_FromLong((long) 64));
|
|
PyDict_SetItemString(d,"SCE_HJA_SYMBOLS", PyInt_FromLong((long) 65));
|
|
PyDict_SetItemString(d,"SCE_HJA_STRINGEOL", PyInt_FromLong((long) 66));
|
|
PyDict_SetItemString(d,"SCE_HB_START", PyInt_FromLong((long) 70));
|
|
PyDict_SetItemString(d,"SCE_HB_DEFAULT", PyInt_FromLong((long) 71));
|
|
PyDict_SetItemString(d,"SCE_HB_COMMENTLINE", PyInt_FromLong((long) 72));
|
|
PyDict_SetItemString(d,"SCE_HB_NUMBER", PyInt_FromLong((long) 73));
|
|
PyDict_SetItemString(d,"SCE_HB_WORD", PyInt_FromLong((long) 74));
|
|
PyDict_SetItemString(d,"SCE_HB_STRING", PyInt_FromLong((long) 75));
|
|
PyDict_SetItemString(d,"SCE_HB_IDENTIFIER", PyInt_FromLong((long) 76));
|
|
PyDict_SetItemString(d,"SCE_HB_STRINGEOL", PyInt_FromLong((long) 77));
|
|
PyDict_SetItemString(d,"SCE_HBA_START", PyInt_FromLong((long) 80));
|
|
PyDict_SetItemString(d,"SCE_HBA_DEFAULT", PyInt_FromLong((long) 81));
|
|
PyDict_SetItemString(d,"SCE_HBA_COMMENTLINE", PyInt_FromLong((long) 82));
|
|
PyDict_SetItemString(d,"SCE_HBA_NUMBER", PyInt_FromLong((long) 83));
|
|
PyDict_SetItemString(d,"SCE_HBA_WORD", PyInt_FromLong((long) 84));
|
|
PyDict_SetItemString(d,"SCE_HBA_STRING", PyInt_FromLong((long) 85));
|
|
PyDict_SetItemString(d,"SCE_HBA_IDENTIFIER", PyInt_FromLong((long) 86));
|
|
PyDict_SetItemString(d,"SCE_HBA_STRINGEOL", PyInt_FromLong((long) 87));
|
|
PyDict_SetItemString(d,"SCE_HP_START", PyInt_FromLong((long) 90));
|
|
PyDict_SetItemString(d,"SCE_HP_DEFAULT", PyInt_FromLong((long) 91));
|
|
PyDict_SetItemString(d,"SCE_HP_COMMENTLINE", PyInt_FromLong((long) 92));
|
|
PyDict_SetItemString(d,"SCE_HP_NUMBER", PyInt_FromLong((long) 93));
|
|
PyDict_SetItemString(d,"SCE_HP_STRING", PyInt_FromLong((long) 94));
|
|
PyDict_SetItemString(d,"SCE_HP_CHARACTER", PyInt_FromLong((long) 95));
|
|
PyDict_SetItemString(d,"SCE_HP_WORD", PyInt_FromLong((long) 96));
|
|
PyDict_SetItemString(d,"SCE_HP_TRIPLE", PyInt_FromLong((long) 97));
|
|
PyDict_SetItemString(d,"SCE_HP_TRIPLEDOUBLE", PyInt_FromLong((long) 98));
|
|
PyDict_SetItemString(d,"SCE_HP_CLASSNAME", PyInt_FromLong((long) 99));
|
|
PyDict_SetItemString(d,"SCE_HP_DEFNAME", PyInt_FromLong((long) 100));
|
|
PyDict_SetItemString(d,"SCE_HP_OPERATOR", PyInt_FromLong((long) 101));
|
|
PyDict_SetItemString(d,"SCE_HP_IDENTIFIER", PyInt_FromLong((long) 102));
|
|
PyDict_SetItemString(d,"SCE_HPA_START", PyInt_FromLong((long) 105));
|
|
PyDict_SetItemString(d,"SCE_HPA_DEFAULT", PyInt_FromLong((long) 106));
|
|
PyDict_SetItemString(d,"SCE_HPA_COMMENTLINE", PyInt_FromLong((long) 107));
|
|
PyDict_SetItemString(d,"SCE_HPA_NUMBER", PyInt_FromLong((long) 108));
|
|
PyDict_SetItemString(d,"SCE_HPA_STRING", PyInt_FromLong((long) 109));
|
|
PyDict_SetItemString(d,"SCE_HPA_CHARACTER", PyInt_FromLong((long) 110));
|
|
PyDict_SetItemString(d,"SCE_HPA_WORD", PyInt_FromLong((long) 111));
|
|
PyDict_SetItemString(d,"SCE_HPA_TRIPLE", PyInt_FromLong((long) 112));
|
|
PyDict_SetItemString(d,"SCE_HPA_TRIPLEDOUBLE", PyInt_FromLong((long) 113));
|
|
PyDict_SetItemString(d,"SCE_HPA_CLASSNAME", PyInt_FromLong((long) 114));
|
|
PyDict_SetItemString(d,"SCE_HPA_DEFNAME", PyInt_FromLong((long) 115));
|
|
PyDict_SetItemString(d,"SCE_HPA_OPERATOR", PyInt_FromLong((long) 116));
|
|
PyDict_SetItemString(d,"SCE_HPA_IDENTIFIER", PyInt_FromLong((long) 117));
|
|
PyDict_SetItemString(d,"SCE_PL_DEFAULT", PyInt_FromLong((long) 0));
|
|
PyDict_SetItemString(d,"SCE_PL_HERE", PyInt_FromLong((long) 1));
|
|
PyDict_SetItemString(d,"SCE_PL_COMMENTLINE", PyInt_FromLong((long) 2));
|
|
PyDict_SetItemString(d,"SCE_PL_POD", PyInt_FromLong((long) 3));
|
|
PyDict_SetItemString(d,"SCE_PL_NUMBER", PyInt_FromLong((long) 4));
|
|
PyDict_SetItemString(d,"SCE_PL_WORD", PyInt_FromLong((long) 5));
|
|
PyDict_SetItemString(d,"SCE_PL_STRING", PyInt_FromLong((long) 6));
|
|
PyDict_SetItemString(d,"SCE_PL_CHARACTER", PyInt_FromLong((long) 7));
|
|
PyDict_SetItemString(d,"SCE_PL_PUNCTUATION", PyInt_FromLong((long) 8));
|
|
PyDict_SetItemString(d,"SCE_PL_PREPROCESSOR", PyInt_FromLong((long) 9));
|
|
PyDict_SetItemString(d,"SCE_PL_OPERATOR", PyInt_FromLong((long) 10));
|
|
PyDict_SetItemString(d,"SCE_PL_IDENTIFIER", PyInt_FromLong((long) 11));
|
|
PyDict_SetItemString(d,"SCE_PL_SCALAR", PyInt_FromLong((long) 12));
|
|
PyDict_SetItemString(d,"SCE_PL_ARRAY", PyInt_FromLong((long) 13));
|
|
PyDict_SetItemString(d,"SCE_PL_HASH", PyInt_FromLong((long) 14));
|
|
PyDict_SetItemString(d,"SCE_PL_SYMBOLTABLE", PyInt_FromLong((long) 15));
|
|
PyDict_SetItemString(d,"SCE_PL_REF", PyInt_FromLong((long) 16));
|
|
PyDict_SetItemString(d,"SCE_PL_REGEX", PyInt_FromLong((long) 17));
|
|
PyDict_SetItemString(d,"SCE_PL_REGSUBST", PyInt_FromLong((long) 18));
|
|
PyDict_SetItemString(d,"SCE_PL_LONGQUOTE", PyInt_FromLong((long) 19));
|
|
PyDict_SetItemString(d,"SCE_PL_BACKTICKS", PyInt_FromLong((long) 20));
|
|
PyDict_SetItemString(d,"SCE_PL_DATASECTION", PyInt_FromLong((long) 21));
|
|
PyDict_SetItemString(d,"SCE_L_DEFAULT", PyInt_FromLong((long) 0));
|
|
PyDict_SetItemString(d,"SCE_L_COMMAND", PyInt_FromLong((long) 1));
|
|
PyDict_SetItemString(d,"SCE_L_TAG", PyInt_FromLong((long) 2));
|
|
PyDict_SetItemString(d,"SCE_L_MATH", PyInt_FromLong((long) 3));
|
|
PyDict_SetItemString(d,"SCE_L_COMMENT", PyInt_FromLong((long) 4));
|
|
|
|
|
|
wxClassInfo::CleanUpClasses();
|
|
wxClassInfo::InitializeClasses();
|
|
|
|
{
|
|
int i;
|
|
for (i = 0; _swig_mapping[i].n1; i++)
|
|
SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
|
|
}
|
|
}
|