0122b7e3fc
wxEvtHandler and derived classes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
10743 lines
420 KiB
C++
10743 lines
420 KiB
C++
/*
|
|
* FILE : contrib/stc/stc_.cpp
|
|
*
|
|
* This file was automatically generated by :
|
|
* Simplified Wrapper and Interface Generator (SWIG)
|
|
* Version 1.1 (Build 883)
|
|
*
|
|
* 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
|
|
|
|
#include "Python.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
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 "export.h"
|
|
#include "wx/stc/stc.h"
|
|
|
|
|
|
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;
|
|
}
|
|
|
|
#if PYTHON_API_VERSION >= 1009
|
|
static char* wxStringErrorMsg = "String or Unicode type required";
|
|
#else
|
|
static char* wxStringErrorMsg = "String type required";
|
|
#endif
|
|
#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;
|
|
}
|
|
|
|
static void *SwigwxStyledTextCtrlTowxObject(void *ptr) {
|
|
wxStyledTextCtrl *src;
|
|
wxObject *dest;
|
|
src = (wxStyledTextCtrl *) ptr;
|
|
dest = (wxObject *) 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_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 PYTHON_API_VERSION >= 1009
|
|
char* tmpPtr; int tmpSize;
|
|
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
|
|
return NULL;
|
|
_arg1 = new wxString(tmpPtr, tmpSize);
|
|
#else
|
|
if (!PyString_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
|
|
#endif
|
|
}
|
|
{
|
|
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 PYTHON_API_VERSION >= 1009
|
|
char* tmpPtr; int tmpSize;
|
|
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
|
|
return NULL;
|
|
_arg1 = new wxString(tmpPtr, tmpSize);
|
|
#else
|
|
if (!PyString_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
|
|
#endif
|
|
}
|
|
{
|
|
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 PYTHON_API_VERSION >= 1009
|
|
char* tmpPtr; int tmpSize;
|
|
if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
|
|
return NULL;
|
|
_arg2 = new wxString(tmpPtr, tmpSize);
|
|
#else
|
|
if (!PyString_Check(_obj2)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
|
|
#endif
|
|
}
|
|
{
|
|
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_ClearDocumentStyle(_swigobj) (_swigobj->ClearDocumentStyle())
|
|
static PyObject *_wrap_wxStyledTextCtrl_ClearDocumentStyle(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_ClearDocumentStyle",_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_ClearDocumentStyle. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_ClearDocumentStyle(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetLength(_swigobj) (_swigobj->GetLength())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetLength(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_GetLength",_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_GetLength. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetLength(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetCharAt(_swigobj,_swigarg0) (_swigobj->GetCharAt(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetCharAt(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_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 = (int )wxStyledTextCtrl_GetCharAt(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
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_GetStyleAt(_swigobj,_swigarg0) (_swigobj->GetStyleAt(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetStyleAt(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_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 = (int )wxStyledTextCtrl_GetStyleAt(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
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_SetUndoCollection(_swigobj,_swigarg0) (_swigobj->SetUndoCollection(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
bool _arg1;
|
|
PyObject * _argo0 = 0;
|
|
int tempbool1;
|
|
char *_kwnames[] = { "self","collectUndo", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUndoCollection",_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_SetUndoCollection. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetUndoCollection(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
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_SetSavePoint(_swigobj) (_swigobj->SetSavePoint())
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetSavePoint(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_SetSavePoint",_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_SetSavePoint. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetSavePoint(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetStyledText(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetStyledText(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetStyledText(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_GetStyledText",_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_GetStyledText. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = new wxString (wxStyledTextCtrl_GetStyledText(_arg0,_arg1,_arg2));
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
}{
|
|
_resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
|
|
}
|
|
{
|
|
delete _result;
|
|
}
|
|
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_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_GetUndoCollection(_swigobj) (_swigobj->GetUndoCollection())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetUndoCollection(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_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 = (bool )wxStyledTextCtrl_GetUndoCollection(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetViewWhiteSpace(_swigobj) (_swigobj->GetViewWhiteSpace())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetViewWhiteSpace(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_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 = (int )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;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","viewWS", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetViewWhiteSpace",_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_SetViewWhiteSpace. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetViewWhiteSpace(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
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_PositionFromPointClose(_swigobj,_swigarg0,_swigarg1) (_swigobj->PositionFromPointClose(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_PositionFromPointClose(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","x","y", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_PositionFromPointClose",_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_PositionFromPointClose. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_PositionFromPointClose(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
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_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_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","posAnchor", 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_GetCurLine(_swigobj,_swigarg0) (_swigobj->GetCurLine(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetCurLine(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_GetCurLine",_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_GetCurLine. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = new wxString (wxStyledTextCtrl_GetCurLine(_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_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_ConvertEOLs(_swigobj,_swigarg0) (_swigobj->ConvertEOLs(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_ConvertEOLs(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","eolMode", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ConvertEOLs",_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_ConvertEOLs. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_ConvertEOLs(_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;
|
|
int _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 = (int )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;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","eolMode", 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_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_SetStyling(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStyling(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetStyling(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_SetStyling",_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_SetStyling. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetStyling(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetBufferedDraw(_swigobj) (_swigobj->GetBufferedDraw())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetBufferedDraw(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_GetBufferedDraw",_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_GetBufferedDraw. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxStyledTextCtrl_GetBufferedDraw(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
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","buffered", 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","tabWidth", 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_GetTabWidth(_swigobj) (_swigobj->GetTabWidth())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetTabWidth(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_GetTabWidth",_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_GetTabWidth. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetTabWidth(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetCodePage(_swigobj,_swigarg0) (_swigobj->SetCodePage(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","codePage", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCodePage",_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_SetCodePage. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetCodePage(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
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 *) &wxNullColour;
|
|
wxColour * _arg4 = (wxColour *) &wxNullColour;
|
|
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,"Oii|OO: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;
|
|
}
|
|
}
|
|
if (_obj3)
|
|
{
|
|
_arg3 = &temp;
|
|
if (! wxColour_helper(_obj3, &_arg3))
|
|
return NULL;
|
|
}
|
|
if (_obj4)
|
|
{
|
|
_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_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","fore", 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","back", 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;
|
|
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;
|
|
wxStyledTextCtrl_MarkerAdd(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
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_MarkerNext(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerNext(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_MarkerNext(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_MarkerNext",_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_MarkerNext. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_MarkerNext(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_MarkerPrevious(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerPrevious(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_MarkerPrevious(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_MarkerPrevious",_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_MarkerPrevious. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_MarkerPrevious(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
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","marginType", 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_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_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","style","fore", 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","style","back", 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_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","style","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","style","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_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","style","sizePoints", 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_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","style","fontName", 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 PYTHON_API_VERSION >= 1009
|
|
char* tmpPtr; int tmpSize;
|
|
if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
|
|
return NULL;
|
|
_arg2 = new wxString(tmpPtr, tmpSize);
|
|
#else
|
|
if (!PyString_Check(_obj2)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
|
|
#endif
|
|
}
|
|
{
|
|
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_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","style","filled", 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_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_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","style","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_StyleSetCase(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetCase(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_StyleSetCase(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","style","caseForce", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetCase",_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_StyleSetCase. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_StyleSetCase(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetSelForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelForeground(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetSelForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
bool _arg1;
|
|
wxColour * _arg2;
|
|
PyObject * _argo0 = 0;
|
|
int tempbool1;
|
|
wxColour temp;
|
|
PyObject * _obj2 = 0;
|
|
char *_kwnames[] = { "self","useSetting","fore", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetSelForeground",_kwnames,&_argo0,&tempbool1,&_obj2))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelForeground. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
{
|
|
_arg2 = &temp;
|
|
if (! wxColour_helper(_obj2, &_arg2))
|
|
return NULL;
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetSelForeground(_arg0,_arg1,*_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetSelBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelBackground(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetSelBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
bool _arg1;
|
|
wxColour * _arg2;
|
|
PyObject * _argo0 = 0;
|
|
int tempbool1;
|
|
wxColour temp;
|
|
PyObject * _obj2 = 0;
|
|
char *_kwnames[] = { "self","useSetting","back", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetSelBackground",_kwnames,&_argo0,&tempbool1,&_obj2))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelBackground. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
{
|
|
_arg2 = &temp;
|
|
if (! wxColour_helper(_obj2, &_arg2))
|
|
return NULL;
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetSelBackground(_arg0,_arg1,*_arg2);
|
|
|
|
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","fore", 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_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_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_StyleSetVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetVisible(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_StyleSetVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
bool _arg2;
|
|
PyObject * _argo0 = 0;
|
|
int tempbool2;
|
|
char *_kwnames[] = { "self","style","visible", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetVisible",_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_StyleSetVisible. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg2 = (bool ) tempbool2;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_StyleSetVisible(_arg0,_arg1,_arg2);
|
|
|
|
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","periodMilliseconds", 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_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","characters", 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 PYTHON_API_VERSION >= 1009
|
|
char* tmpPtr; int tmpSize;
|
|
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
|
|
return NULL;
|
|
_arg1 = new wxString(tmpPtr, tmpSize);
|
|
#else
|
|
if (!PyString_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
|
|
#endif
|
|
}
|
|
{
|
|
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_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_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","indic","style", 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","indic", 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_IndicatorSetForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->IndicatorSetForeground(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_IndicatorSetForeground(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","indic","fore", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_IndicatorSetForeground",_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_IndicatorSetForeground. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
_arg2 = &temp;
|
|
if (! wxColour_helper(_obj2, &_arg2))
|
|
return NULL;
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_IndicatorSetForeground(_arg0,_arg1,*_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_IndicatorGetForeground(_swigobj,_swigarg0) (_swigobj->IndicatorGetForeground(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_IndicatorGetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxColour * _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","indic", NULL };
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_IndicatorGetForeground",_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_IndicatorGetForeground. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = new wxColour (wxStyledTextCtrl_IndicatorGetForeground(_arg0,_arg1));
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
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_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","state", 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_GetMaxLineState(_swigobj) (_swigobj->GetMaxLineState())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetMaxLineState(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_GetMaxLineState",_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_GetMaxLineState. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetMaxLineState(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetCaretLineVisible(_swigobj) (_swigobj->GetCaretLineVisible())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetCaretLineVisible(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_GetCaretLineVisible",_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_GetCaretLineVisible. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxStyledTextCtrl_GetCaretLineVisible(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetCaretLineVisible(_swigobj,_swigarg0) (_swigobj->SetCaretLineVisible(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
bool _arg1;
|
|
PyObject * _argo0 = 0;
|
|
int tempbool1;
|
|
char *_kwnames[] = { "self","show", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCaretLineVisible",_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_SetCaretLineVisible. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetCaretLineVisible(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetCaretLineBack(_swigobj) (_swigobj->GetCaretLineBack())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetCaretLineBack(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_GetCaretLineBack",_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_GetCaretLineBack. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = new wxColour (wxStyledTextCtrl_GetCaretLineBack(_arg0));
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetCaretLineBack(_swigobj,_swigarg0) (_swigobj->SetCaretLineBack(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
wxColour * _arg1;
|
|
PyObject * _argo0 = 0;
|
|
wxColour temp;
|
|
PyObject * _obj1 = 0;
|
|
char *_kwnames[] = { "self","back", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetCaretLineBack",_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_SetCaretLineBack. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
_arg1 = &temp;
|
|
if (! wxColour_helper(_obj1, &_arg1))
|
|
return NULL;
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetCaretLineBack(_arg0,*_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_AutoCompShow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoCompShow(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_AutoCompShow(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
wxString * _arg2;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _obj2 = 0;
|
|
char *_kwnames[] = { "self","lenEntered","itemList", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_AutoCompShow",_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_AutoCompShow. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
#if PYTHON_API_VERSION >= 1009
|
|
char* tmpPtr; int tmpSize;
|
|
if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
|
|
return NULL;
|
|
_arg2 = new wxString(tmpPtr, tmpSize);
|
|
#else
|
|
if (!PyString_Check(_obj2)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
|
|
#endif
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_AutoCompShow(_arg0,_arg1,*_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
if (_obj2)
|
|
delete _arg2;
|
|
}
|
|
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_AutoCompPosStart(_swigobj) (_swigobj->AutoCompPosStart())
|
|
static PyObject *_wrap_wxStyledTextCtrl_AutoCompPosStart(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_AutoCompPosStart",_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_AutoCompPosStart. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_AutoCompPosStart(_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_AutoCompStops(_swigobj,_swigarg0) (_swigobj->AutoCompStops(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_AutoCompStops(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
wxString * _arg1;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _obj1 = 0;
|
|
char *_kwnames[] = { "self","characterSet", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompStops",_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_AutoCompStops. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
#if PYTHON_API_VERSION >= 1009
|
|
char* tmpPtr; int tmpSize;
|
|
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
|
|
return NULL;
|
|
_arg1 = new wxString(tmpPtr, tmpSize);
|
|
#else
|
|
if (!PyString_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
|
|
#endif
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_AutoCompStops(_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;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","separatorCharacter", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi: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;
|
|
int _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 = (int )wxStyledTextCtrl_AutoCompGetSeparator(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_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","text", 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 PYTHON_API_VERSION >= 1009
|
|
char* tmpPtr; int tmpSize;
|
|
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
|
|
return NULL;
|
|
_arg1 = new wxString(tmpPtr, tmpSize);
|
|
#else
|
|
if (!PyString_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
|
|
#endif
|
|
}
|
|
{
|
|
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_AutoCompSetCancelAtStart(_swigobj,_swigarg0) (_swigobj->AutoCompSetCancelAtStart(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
bool _arg1;
|
|
PyObject * _argo0 = 0;
|
|
int tempbool1;
|
|
char *_kwnames[] = { "self","cancel", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetCancelAtStart",_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_AutoCompSetCancelAtStart. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_AutoCompSetCancelAtStart(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_AutoCompGetCancelAtStart(_swigobj) (_swigobj->AutoCompGetCancelAtStart())
|
|
static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetCancelAtStart(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_AutoCompGetCancelAtStart",_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_AutoCompGetCancelAtStart. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxStyledTextCtrl_AutoCompGetCancelAtStart(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_AutoCompSetFillUps(_swigobj,_swigarg0) (_swigobj->AutoCompSetFillUps(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetFillUps(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
wxString * _arg1;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _obj1 = 0;
|
|
char *_kwnames[] = { "self","characterSet", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompSetFillUps",_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_AutoCompSetFillUps. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
#if PYTHON_API_VERSION >= 1009
|
|
char* tmpPtr; int tmpSize;
|
|
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
|
|
return NULL;
|
|
_arg1 = new wxString(tmpPtr, tmpSize);
|
|
#else
|
|
if (!PyString_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
|
|
#endif
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_AutoCompSetFillUps(_arg0,*_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
if (_obj1)
|
|
delete _arg1;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_AutoCompSetChooseSingle(_swigobj,_swigarg0) (_swigobj->AutoCompSetChooseSingle(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
bool _arg1;
|
|
PyObject * _argo0 = 0;
|
|
int tempbool1;
|
|
char *_kwnames[] = { "self","chooseSingle", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetChooseSingle",_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_AutoCompSetChooseSingle. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_AutoCompSetChooseSingle(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_AutoCompGetChooseSingle(_swigobj) (_swigobj->AutoCompGetChooseSingle())
|
|
static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetChooseSingle(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_AutoCompGetChooseSingle",_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_AutoCompGetChooseSingle. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxStyledTextCtrl_AutoCompGetChooseSingle(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_AutoCompSetIgnoreCase(_swigobj,_swigarg0) (_swigobj->AutoCompSetIgnoreCase(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
bool _arg1;
|
|
PyObject * _argo0 = 0;
|
|
int tempbool1;
|
|
char *_kwnames[] = { "self","ignoreCase", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetIgnoreCase",_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_AutoCompSetIgnoreCase. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_AutoCompSetIgnoreCase(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_AutoCompGetIgnoreCase(_swigobj) (_swigobj->AutoCompGetIgnoreCase())
|
|
static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetIgnoreCase(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_AutoCompGetIgnoreCase",_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_AutoCompGetIgnoreCase. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxStyledTextCtrl_AutoCompGetIgnoreCase(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_UserListShow(_swigobj,_swigarg0,_swigarg1) (_swigobj->UserListShow(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_UserListShow(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
wxString * _arg2;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _obj2 = 0;
|
|
char *_kwnames[] = { "self","listType","itemList", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_UserListShow",_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_UserListShow. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
#if PYTHON_API_VERSION >= 1009
|
|
char* tmpPtr; int tmpSize;
|
|
if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
|
|
return NULL;
|
|
_arg2 = new wxString(tmpPtr, tmpSize);
|
|
#else
|
|
if (!PyString_Check(_obj2)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
|
|
#endif
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_UserListShow(_arg0,_arg1,*_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
if (_obj2)
|
|
delete _arg2;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_AutoCompSetAutoHide(_swigobj,_swigarg0) (_swigobj->AutoCompSetAutoHide(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
bool _arg1;
|
|
PyObject * _argo0 = 0;
|
|
int tempbool1;
|
|
char *_kwnames[] = { "self","autoHide", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetAutoHide",_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_AutoCompSetAutoHide. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_AutoCompSetAutoHide(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_AutoCompGetAutoHide(_swigobj) (_swigobj->AutoCompGetAutoHide())
|
|
static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetAutoHide(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_AutoCompGetAutoHide",_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_AutoCompGetAutoHide. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxStyledTextCtrl_AutoCompGetAutoHide(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
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","indentSize", 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_GetIndent(_swigobj) (_swigobj->GetIndent())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetIndent(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_GetIndent",_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_GetIndent. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetIndent(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
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_GetUseTabs(_swigobj) (_swigobj->GetUseTabs())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetUseTabs(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_GetUseTabs",_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_GetUseTabs. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxStyledTextCtrl_GetUseTabs(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
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","indentSize", 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_GetLineIndentPosition(_swigobj,_swigarg0) (_swigobj->GetLineIndentPosition(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetLineIndentPosition(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_GetLineIndentPosition",_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_GetLineIndentPosition. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetLineIndentPosition(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetColumn(_swigobj,_swigarg0) (_swigobj->GetColumn(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetColumn(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_GetColumn",_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_GetColumn. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetColumn(_arg0,_arg1);
|
|
|
|
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","show", 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_SetIndentationGuides(_swigobj,_swigarg0) (_swigobj->SetIndentationGuides(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
bool _arg1;
|
|
PyObject * _argo0 = 0;
|
|
int tempbool1;
|
|
char *_kwnames[] = { "self","show", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetIndentationGuides",_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_SetIndentationGuides. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetIndentationGuides(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetIndentationGuides(_swigobj) (_swigobj->GetIndentationGuides())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetIndentationGuides(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_GetIndentationGuides",_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_GetIndentationGuides. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxStyledTextCtrl_GetIndentationGuides(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetHighlightGuide(_swigobj,_swigarg0) (_swigobj->SetHighlightGuide(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetHighlightGuide(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_SetHighlightGuide",_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_SetHighlightGuide. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetHighlightGuide(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetHighlightGuide(_swigobj) (_swigobj->GetHighlightGuide())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetHighlightGuide(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_GetHighlightGuide",_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_GetHighlightGuide. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetHighlightGuide(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetLineEndPosition(_swigobj,_swigarg0) (_swigobj->GetLineEndPosition(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetLineEndPosition(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_GetLineEndPosition",_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_GetLineEndPosition. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetLineEndPosition(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetCodePage(_swigobj) (_swigobj->GetCodePage())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetCodePage(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_GetCodePage",_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_GetCodePage. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetCodePage(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetCaretForeground(_swigobj) (_swigobj->GetCaretForeground())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetCaretForeground(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_GetCaretForeground",_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_GetCaretForeground. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = new wxColour (wxStyledTextCtrl_GetCaretForeground(_arg0));
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
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_SetCurrentPos(_swigobj,_swigarg0) (_swigobj->SetCurrentPos(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetCurrentPos(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_SetCurrentPos",_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_SetCurrentPos. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetCurrentPos(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetSelectionStart(_swigobj,_swigarg0) (_swigobj->SetSelectionStart(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetSelectionStart(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_SetSelectionStart",_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_SetSelectionStart. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetSelectionStart(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetSelectionStart(_swigobj) (_swigobj->GetSelectionStart())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetSelectionStart(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_GetSelectionStart",_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_GetSelectionStart. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetSelectionStart(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetSelectionEnd(_swigobj,_swigarg0) (_swigobj->SetSelectionEnd(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetSelectionEnd(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_SetSelectionEnd",_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_SetSelectionEnd. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetSelectionEnd(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetSelectionEnd(_swigobj) (_swigobj->GetSelectionEnd())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetSelectionEnd(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_GetSelectionEnd",_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_GetSelectionEnd. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetSelectionEnd(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetPrintMagnification(_swigobj,_swigarg0) (_swigobj->SetPrintMagnification(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","magnification", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetPrintMagnification",_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_SetPrintMagnification. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetPrintMagnification(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetPrintMagnification(_swigobj) (_swigobj->GetPrintMagnification())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetPrintMagnification(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_GetPrintMagnification",_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_GetPrintMagnification. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetPrintMagnification(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetPrintColourMode(_swigobj,_swigarg0) (_swigobj->SetPrintColourMode(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","mode", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetPrintColourMode",_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_SetPrintColourMode. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetPrintColourMode(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetPrintColourMode(_swigobj) (_swigobj->GetPrintColourMode())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetPrintColourMode(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_GetPrintColourMode",_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_GetPrintColourMode. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetPrintColourMode(_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 PYTHON_API_VERSION >= 1009
|
|
char* tmpPtr; int tmpSize;
|
|
if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
|
|
return NULL;
|
|
_arg3 = new wxString(tmpPtr, tmpSize);
|
|
#else
|
|
if (!PyString_Check(_obj3)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
|
|
#endif
|
|
}
|
|
_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_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_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_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_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_SetMarginLeft(_swigobj,_swigarg0) (_swigobj->SetMarginLeft(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","pixelWidth", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMarginLeft",_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_SetMarginLeft. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetMarginLeft(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetMarginLeft(_swigobj) (_swigobj->GetMarginLeft())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetMarginLeft(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_GetMarginLeft",_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_GetMarginLeft. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetMarginLeft(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetMarginRight(_swigobj,_swigarg0) (_swigobj->SetMarginRight(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","pixelWidth", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMarginRight",_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_SetMarginRight. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetMarginRight(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetMarginRight(_swigobj) (_swigobj->GetMarginRight())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetMarginRight(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_GetMarginRight",_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_GetMarginRight. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetMarginRight(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetModify(_swigobj) (_swigobj->GetModify())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetModify(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_GetModify",_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_GetModify. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxStyledTextCtrl_GetModify(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
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","start","end", 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_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_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","normal", 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_LineFromPosition(_swigobj,_swigarg0) (_swigobj->LineFromPosition(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_LineFromPosition(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_LineFromPosition",_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_LineFromPosition. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_LineFromPosition(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_PositionFromLine(_swigobj,_swigarg0) (_swigobj->PositionFromLine(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_PositionFromLine(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_PositionFromLine",_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_PositionFromLine. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_PositionFromLine(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_LineScroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->LineScroll(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_LineScroll(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","columns","lines", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_LineScroll",_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_LineScroll. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_LineScroll(_arg0,_arg1,_arg2);
|
|
|
|
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_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 PYTHON_API_VERSION >= 1009
|
|
char* tmpPtr; int tmpSize;
|
|
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
|
|
return NULL;
|
|
_arg1 = new wxString(tmpPtr, tmpSize);
|
|
#else
|
|
if (!PyString_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
|
|
#endif
|
|
}
|
|
{
|
|
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_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_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_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_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_Clear(_swigobj) (_swigobj->Clear())
|
|
static PyObject *_wrap_wxStyledTextCtrl_Clear(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_Clear",_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_Clear. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_Clear(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetText(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_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 PYTHON_API_VERSION >= 1009
|
|
char* tmpPtr; int tmpSize;
|
|
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
|
|
return NULL;
|
|
_arg1 = new wxString(tmpPtr, tmpSize);
|
|
#else
|
|
if (!PyString_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
|
|
#endif
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetText(_arg0,*_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
if (_obj1)
|
|
delete _arg1;
|
|
}
|
|
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_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_SetOvertype(_swigobj,_swigarg0) (_swigobj->SetOvertype(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
bool _arg1;
|
|
PyObject * _argo0 = 0;
|
|
int tempbool1;
|
|
char *_kwnames[] = { "self","overtype", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetOvertype",_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_SetOvertype. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetOvertype(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetOvertype(_swigobj) (_swigobj->GetOvertype())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetOvertype(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_GetOvertype",_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_GetOvertype. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxStyledTextCtrl_GetOvertype(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetCaretWidth(_swigobj,_swigarg0) (_swigobj->SetCaretWidth(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","pixelWidth", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCaretWidth",_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_SetCaretWidth. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetCaretWidth(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetCaretWidth(_swigobj) (_swigobj->GetCaretWidth())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetCaretWidth(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_GetCaretWidth",_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_GetCaretWidth. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetCaretWidth(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetTargetStart(_swigobj,_swigarg0) (_swigobj->SetTargetStart(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetTargetStart(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_SetTargetStart",_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_SetTargetStart. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetTargetStart(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetTargetStart(_swigobj) (_swigobj->GetTargetStart())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetTargetStart(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_GetTargetStart",_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_GetTargetStart. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetTargetStart(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetTargetEnd(_swigobj,_swigarg0) (_swigobj->SetTargetEnd(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetTargetEnd(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_SetTargetEnd",_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_SetTargetEnd. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetTargetEnd(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetTargetEnd(_swigobj) (_swigobj->GetTargetEnd())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetTargetEnd(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_GetTargetEnd",_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_GetTargetEnd. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetTargetEnd(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_ReplaceTarget(_swigobj,_swigarg0) (_swigobj->ReplaceTarget(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_ReplaceTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _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_ReplaceTarget",_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_ReplaceTarget. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
#if PYTHON_API_VERSION >= 1009
|
|
char* tmpPtr; int tmpSize;
|
|
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
|
|
return NULL;
|
|
_arg1 = new wxString(tmpPtr, tmpSize);
|
|
#else
|
|
if (!PyString_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
|
|
#endif
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_ReplaceTarget(_arg0,*_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
{
|
|
if (_obj1)
|
|
delete _arg1;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_ReplaceTargetRE(_swigobj,_swigarg0) (_swigobj->ReplaceTargetRE(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_ReplaceTargetRE(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _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_ReplaceTargetRE",_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_ReplaceTargetRE. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
#if PYTHON_API_VERSION >= 1009
|
|
char* tmpPtr; int tmpSize;
|
|
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
|
|
return NULL;
|
|
_arg1 = new wxString(tmpPtr, tmpSize);
|
|
#else
|
|
if (!PyString_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
|
|
#endif
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_ReplaceTargetRE(_arg0,*_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
{
|
|
if (_obj1)
|
|
delete _arg1;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SearchInTarget(_swigobj,_swigarg0) (_swigobj->SearchInTarget(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SearchInTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _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_SearchInTarget",_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_SearchInTarget. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
#if PYTHON_API_VERSION >= 1009
|
|
char* tmpPtr; int tmpSize;
|
|
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
|
|
return NULL;
|
|
_arg1 = new wxString(tmpPtr, tmpSize);
|
|
#else
|
|
if (!PyString_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
|
|
#endif
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_SearchInTarget(_arg0,*_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
{
|
|
if (_obj1)
|
|
delete _arg1;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetSearchFlags(_swigobj,_swigarg0) (_swigobj->SetSearchFlags(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetSearchFlags(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_SetSearchFlags",_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_SetSearchFlags. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetSearchFlags(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetSearchFlags(_swigobj) (_swigobj->GetSearchFlags())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetSearchFlags(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_GetSearchFlags",_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_GetSearchFlags. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetSearchFlags(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
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","definition", 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 PYTHON_API_VERSION >= 1009
|
|
char* tmpPtr; int tmpSize;
|
|
if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
|
|
return NULL;
|
|
_arg2 = new wxString(tmpPtr, tmpSize);
|
|
#else
|
|
if (!PyString_Check(_obj2)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
|
|
#endif
|
|
}
|
|
{
|
|
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","back", 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_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","line", 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","lineDisplay", 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;
|
|
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;
|
|
wxStyledTextCtrl_SetFoldLevel(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
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_EnsureVisibleEnforcePolicy(_swigobj,_swigarg0) (_swigobj->EnsureVisibleEnforcePolicy(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_EnsureVisibleEnforcePolicy(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_EnsureVisibleEnforcePolicy",_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_EnsureVisibleEnforcePolicy. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_EnsureVisibleEnforcePolicy(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetTabIndents(_swigobj,_swigarg0) (_swigobj->SetTabIndents(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
bool _arg1;
|
|
PyObject * _argo0 = 0;
|
|
int tempbool1;
|
|
char *_kwnames[] = { "self","tabIndents", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTabIndents",_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_SetTabIndents. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetTabIndents(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetTabIndents(_swigobj) (_swigobj->GetTabIndents())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetTabIndents(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_GetTabIndents",_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_GetTabIndents. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxStyledTextCtrl_GetTabIndents(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetBackSpaceUnIndents(_swigobj,_swigarg0) (_swigobj->SetBackSpaceUnIndents(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
bool _arg1;
|
|
PyObject * _argo0 = 0;
|
|
int tempbool1;
|
|
char *_kwnames[] = { "self","bsUnIndents", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetBackSpaceUnIndents",_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_SetBackSpaceUnIndents. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetBackSpaceUnIndents(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetBackSpaceUnIndents(_swigobj) (_swigobj->GetBackSpaceUnIndents())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetBackSpaceUnIndents(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_GetBackSpaceUnIndents",_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_GetBackSpaceUnIndents. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxStyledTextCtrl_GetBackSpaceUnIndents(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetMouseDwellTime(_swigobj,_swigarg0) (_swigobj->SetMouseDwellTime(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","periodMilliseconds", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMouseDwellTime",_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_SetMouseDwellTime. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetMouseDwellTime(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetMouseDwellTime(_swigobj) (_swigobj->GetMouseDwellTime())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetMouseDwellTime(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_GetMouseDwellTime",_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_GetMouseDwellTime. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetMouseDwellTime(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_MoveCaretInsideView(_swigobj) (_swigobj->MoveCaretInsideView())
|
|
static PyObject *_wrap_wxStyledTextCtrl_MoveCaretInsideView(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_MoveCaretInsideView",_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_MoveCaretInsideView. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_MoveCaretInsideView(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_LineLength(_swigobj,_swigarg0) (_swigobj->LineLength(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_LineLength(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_LineLength",_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_LineLength. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_LineLength(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
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) (_swigobj->BraceMatch(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_BraceMatch(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_BraceMatch",_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_BraceMatch. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_BraceMatch(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
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_GetDocPointer(_swigobj) (_swigobj->GetDocPointer())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetDocPointer(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_GetDocPointer",_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_GetDocPointer. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (void *)wxStyledTextCtrl_GetDocPointer(_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_SetDocPointer(_swigobj,_swigarg0) (_swigobj->SetDocPointer(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
void * _arg1;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _argo1 = 0;
|
|
char *_kwnames[] = { "self","docPointer", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetDocPointer",_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_SetDocPointer. 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_SetDocPointer. Expected _void_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetDocPointer(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
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;
|
|
}
|
|
|
|
#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;
|
|
int _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 = (int )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;
|
|
int _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","edgeColour", 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_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) (_swigobj->SearchNext(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SearchNext(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
wxString * _arg2;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _obj2 = 0;
|
|
char *_kwnames[] = { "self","flags","text", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SearchNext",_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_SearchNext. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
#if PYTHON_API_VERSION >= 1009
|
|
char* tmpPtr; int tmpSize;
|
|
if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
|
|
return NULL;
|
|
_arg2 = new wxString(tmpPtr, tmpSize);
|
|
#else
|
|
if (!PyString_Check(_obj2)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
|
|
#endif
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_SearchNext(_arg0,_arg1,*_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
{
|
|
if (_obj2)
|
|
delete _arg2;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SearchPrev(_swigobj,_swigarg0,_swigarg1) (_swigobj->SearchPrev(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SearchPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
wxString * _arg2;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _obj2 = 0;
|
|
char *_kwnames[] = { "self","flags","text", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SearchPrev",_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_SearchPrev. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
#if PYTHON_API_VERSION >= 1009
|
|
char* tmpPtr; int tmpSize;
|
|
if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
|
|
return NULL;
|
|
_arg2 = new wxString(tmpPtr, tmpSize);
|
|
#else
|
|
if (!PyString_Check(_obj2)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
|
|
#endif
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_SearchPrev(_arg0,_arg1,*_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
{
|
|
if (_obj2)
|
|
delete _arg2;
|
|
}
|
|
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;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","caretPolicy","caretSlop", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii: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_LinesOnScreen(_swigobj) (_swigobj->LinesOnScreen())
|
|
static PyObject *_wrap_wxStyledTextCtrl_LinesOnScreen(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_LinesOnScreen",_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_LinesOnScreen. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_LinesOnScreen(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_UsePopUp(_swigobj,_swigarg0) (_swigobj->UsePopUp(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_UsePopUp(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
bool _arg1;
|
|
PyObject * _argo0 = 0;
|
|
int tempbool1;
|
|
char *_kwnames[] = { "self","allowPopUp", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_UsePopUp",_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_UsePopUp. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_UsePopUp(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SelectionIsRectangle(_swigobj) (_swigobj->SelectionIsRectangle())
|
|
static PyObject *_wrap_wxStyledTextCtrl_SelectionIsRectangle(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_SelectionIsRectangle",_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_SelectionIsRectangle. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxStyledTextCtrl_SelectionIsRectangle(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
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_CreateDocument(_swigobj) (_swigobj->CreateDocument())
|
|
static PyObject *_wrap_wxStyledTextCtrl_CreateDocument(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_CreateDocument",_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_CreateDocument. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (void *)wxStyledTextCtrl_CreateDocument(_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_AddRefDocument(_swigobj,_swigarg0) (_swigobj->AddRefDocument(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_AddRefDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
void * _arg1;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _argo1 = 0;
|
|
char *_kwnames[] = { "self","docPointer", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AddRefDocument",_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_AddRefDocument. 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_AddRefDocument. Expected _void_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_AddRefDocument(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_ReleaseDocument(_swigobj,_swigarg0) (_swigobj->ReleaseDocument(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_ReleaseDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
void * _arg1;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _argo1 = 0;
|
|
char *_kwnames[] = { "self","docPointer", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReleaseDocument",_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_ReleaseDocument. 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_ReleaseDocument. Expected _void_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_ReleaseDocument(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetModEventMask(_swigobj) (_swigobj->GetModEventMask())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetModEventMask(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_GetModEventMask",_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_GetModEventMask. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetModEventMask(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetSTCFocus(_swigobj,_swigarg0) (_swigobj->SetSTCFocus(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
bool _arg1;
|
|
PyObject * _argo0 = 0;
|
|
int tempbool1;
|
|
char *_kwnames[] = { "self","focus", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSTCFocus",_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_SetSTCFocus. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetSTCFocus(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetSTCFocus(_swigobj) (_swigobj->GetSTCFocus())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetSTCFocus(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_GetSTCFocus",_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_GetSTCFocus. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxStyledTextCtrl_GetSTCFocus(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetStatus(_swigobj,_swigarg0) (_swigobj->SetStatus(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","statusCode", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetStatus",_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_SetStatus. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetStatus(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetStatus(_swigobj) (_swigobj->GetStatus())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetStatus(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_GetStatus",_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_GetStatus. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetStatus(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetMouseDownCaptures(_swigobj,_swigarg0) (_swigobj->SetMouseDownCaptures(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
bool _arg1;
|
|
PyObject * _argo0 = 0;
|
|
int tempbool1;
|
|
char *_kwnames[] = { "self","captures", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMouseDownCaptures",_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_SetMouseDownCaptures. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
_arg1 = (bool ) tempbool1;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetMouseDownCaptures(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetMouseDownCaptures(_swigobj) (_swigobj->GetMouseDownCaptures())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetMouseDownCaptures(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_GetMouseDownCaptures",_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_GetMouseDownCaptures. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxStyledTextCtrl_GetMouseDownCaptures(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","cursorType", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCursor",_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_SetCursor. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetCursor(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_GetCursor(_swigobj) (_swigobj->GetCursor())
|
|
static PyObject *_wrap_wxStyledTextCtrl_GetCursor(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_GetCursor",_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_GetCursor. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextCtrl_GetCursor(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_WordPartLeft(_swigobj) (_swigobj->WordPartLeft())
|
|
static PyObject *_wrap_wxStyledTextCtrl_WordPartLeft(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_WordPartLeft",_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_WordPartLeft. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_WordPartLeft(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_WordPartLeftExtend(_swigobj) (_swigobj->WordPartLeftExtend())
|
|
static PyObject *_wrap_wxStyledTextCtrl_WordPartLeftExtend(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_WordPartLeftExtend",_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_WordPartLeftExtend. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_WordPartLeftExtend(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_WordPartRight(_swigobj) (_swigobj->WordPartRight())
|
|
static PyObject *_wrap_wxStyledTextCtrl_WordPartRight(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_WordPartRight",_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_WordPartRight. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_WordPartRight(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_WordPartRightExtend(_swigobj) (_swigobj->WordPartRightExtend())
|
|
static PyObject *_wrap_wxStyledTextCtrl_WordPartRightExtend(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_WordPartRightExtend",_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_WordPartRightExtend. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_WordPartRightExtend(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_SetVisiblePolicy(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetVisiblePolicy(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetVisiblePolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","visiblePolicy","visibleSlop", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetVisiblePolicy",_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_SetVisiblePolicy. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetVisiblePolicy(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_DelLineLeft(_swigobj) (_swigobj->DelLineLeft())
|
|
static PyObject *_wrap_wxStyledTextCtrl_DelLineLeft(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_DelLineLeft",_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_DelLineLeft. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_DelLineLeft(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_DelLineRight(_swigobj) (_swigobj->DelLineRight())
|
|
static PyObject *_wrap_wxStyledTextCtrl_DelLineRight(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_DelLineRight",_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_DelLineRight. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_DelLineRight(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_StartRecord(_swigobj) (_swigobj->StartRecord())
|
|
static PyObject *_wrap_wxStyledTextCtrl_StartRecord(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_StartRecord",_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_StartRecord. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_StartRecord(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextCtrl_StopRecord(_swigobj) (_swigobj->StopRecord())
|
|
static PyObject *_wrap_wxStyledTextCtrl_StopRecord(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_StopRecord",_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_StopRecord. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_StopRecord(_arg0);
|
|
|
|
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;
|
|
int _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;
|
|
int _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 = (int )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 PYTHON_API_VERSION >= 1009
|
|
char* tmpPtr; int tmpSize;
|
|
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
|
|
return NULL;
|
|
_arg1 = new wxString(tmpPtr, tmpSize);
|
|
#else
|
|
if (!PyString_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
|
|
#endif
|
|
}
|
|
{
|
|
#if PYTHON_API_VERSION >= 1009
|
|
char* tmpPtr; int tmpSize;
|
|
if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
|
|
return NULL;
|
|
_arg2 = new wxString(tmpPtr, tmpSize);
|
|
#else
|
|
if (!PyString_Check(_obj2)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
|
|
#endif
|
|
}
|
|
{
|
|
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","keyWords", 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 PYTHON_API_VERSION >= 1009
|
|
char* tmpPtr; int tmpSize;
|
|
if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
|
|
return NULL;
|
|
_arg2 = new wxString(tmpPtr, tmpSize);
|
|
#else
|
|
if (!PyString_Check(_obj2)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
|
|
#endif
|
|
}
|
|
{
|
|
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_SetLexerLanguage(_swigobj,_swigarg0) (_swigobj->SetLexerLanguage(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SetLexerLanguage(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStyledTextCtrl * _arg0;
|
|
wxString * _arg1;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _obj1 = 0;
|
|
char *_kwnames[] = { "self","language", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetLexerLanguage",_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_SetLexerLanguage. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
#if PYTHON_API_VERSION >= 1009
|
|
char* tmpPtr; int tmpSize;
|
|
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
|
|
return NULL;
|
|
_arg1 = new wxString(tmpPtr, tmpSize);
|
|
#else
|
|
if (!PyString_Check(_obj1)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
|
|
#endif
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextCtrl_SetLexerLanguage(_arg0,*_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
{
|
|
if (_obj1)
|
|
delete _arg1;
|
|
}
|
|
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_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 PYTHON_API_VERSION >= 1009
|
|
char* tmpPtr; int tmpSize;
|
|
if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
|
|
return NULL;
|
|
_arg2 = new wxString(tmpPtr, tmpSize);
|
|
#else
|
|
if (!PyString_Check(_obj2)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
|
|
#endif
|
|
}
|
|
{
|
|
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_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 _arg5;
|
|
bool _arg6;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _obj3 = 0;
|
|
int tempbool4;
|
|
int tempbool5;
|
|
int tempbool6;
|
|
char *_kwnames[] = { "self","styleNum","size","faceName","bold","italic","underline", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOiii: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 PYTHON_API_VERSION >= 1009
|
|
char* tmpPtr; int tmpSize;
|
|
if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
|
|
return NULL;
|
|
_arg3 = new wxString(tmpPtr, tmpSize);
|
|
#else
|
|
if (!PyString_Check(_obj3)) {
|
|
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
|
|
return NULL;
|
|
}
|
|
_arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
|
|
#endif
|
|
}
|
|
_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_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_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_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_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_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_SendMsg(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SendMsg(_swigarg0,_swigarg1,_swigarg2))
|
|
static PyObject *_wrap_wxStyledTextCtrl_SendMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
long _result;
|
|
wxStyledTextCtrl * _arg0;
|
|
int _arg1;
|
|
long _arg2 = (long ) 0;
|
|
long _arg3 = (long ) 0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","msg","wp","lp", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ll:wxStyledTextCtrl_SendMsg",_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_SendMsg. Expected _wxStyledTextCtrl_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (long )wxStyledTextCtrl_SendMsg(_arg0,_arg1,_arg2,_arg3);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("l",_result);
|
|
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;
|
|
}
|
|
|
|
static void *SwigwxStyledTextEventTowxObject(void *ptr) {
|
|
wxStyledTextEvent *src;
|
|
wxObject *dest;
|
|
src = (wxStyledTextEvent *) ptr;
|
|
dest = (wxObject *) 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_SetListType(_swigobj,_swigarg0) (_swigobj->SetListType(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextEvent_SetListType(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_SetListType",_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_SetListType. Expected _wxStyledTextEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextEvent_SetListType(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextEvent_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextEvent_SetX(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_SetX",_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_SetX. Expected _wxStyledTextEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextEvent_SetX(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextEvent_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
|
|
static PyObject *_wrap_wxStyledTextEvent_SetY(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_SetY",_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_SetY. Expected _wxStyledTextEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStyledTextEvent_SetY(_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_GetListType(_swigobj) (_swigobj->GetListType())
|
|
static PyObject *_wrap_wxStyledTextEvent_GetListType(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_GetListType",_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_GetListType. Expected _wxStyledTextEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextEvent_GetListType(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextEvent_GetX(_swigobj) (_swigobj->GetX())
|
|
static PyObject *_wrap_wxStyledTextEvent_GetX(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_GetX",_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_GetX. Expected _wxStyledTextEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextEvent_GetX(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStyledTextEvent_GetY(_swigobj) (_swigobj->GetY())
|
|
static PyObject *_wrap_wxStyledTextEvent_GetY(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_GetY",_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_GetY. Expected _wxStyledTextEvent_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxStyledTextEvent_GetY(_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_GetY", (PyCFunction) _wrap_wxStyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextEvent_GetX", (PyCFunction) _wrap_wxStyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextEvent_GetListType", (PyCFunction) _wrap_wxStyledTextEvent_GetListType, 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_SetY", (PyCFunction) _wrap_wxStyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextEvent_SetX", (PyCFunction) _wrap_wxStyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextEvent_SetListType", (PyCFunction) _wrap_wxStyledTextEvent_SetListType, 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_SendMsg", (PyCFunction) _wrap_wxStyledTextCtrl_SendMsg, 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_PointFromPosition", (PyCFunction) _wrap_wxStyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetSelection", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetMargins", (PyCFunction) _wrap_wxStyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyExecute, 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_StyleSetSpec", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_wxStyledTextCtrl_SetLexerLanguage, 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_StopRecord", (PyCFunction) _wrap_wxStyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_StartRecord", (PyCFunction) _wrap_wxStyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_DelLineRight", (PyCFunction) _wrap_wxStyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_wxStyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_wxStyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_WordPartRight", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetCursor", (PyCFunction) _wrap_wxStyledTextCtrl_GetCursor, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetCursor", (PyCFunction) _wrap_wxStyledTextCtrl_SetCursor, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_wxStyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_wxStyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetStatus", (PyCFunction) _wrap_wxStyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetStatus", (PyCFunction) _wrap_wxStyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_wxStyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_wxStyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_wxStyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_wxStyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_wxStyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_CreateDocument", (PyCFunction) _wrap_wxStyledTextCtrl_CreateDocument, 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_SelectionIsRectangle", (PyCFunction) _wrap_wxStyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_UsePopUp", (PyCFunction) _wrap_wxStyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_wxStyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetCaretPolicy", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretPolicy, 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_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_SetModEventMask", (PyCFunction) _wrap_wxStyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_wxStyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_wxStyledTextCtrl_GetDocPointer, 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_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_LineLength", (PyCFunction) _wrap_wxStyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_wxStyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_wxStyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_wxStyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_wxStyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_wxStyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_wxStyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_wxStyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureVisibleEnforcePolicy, 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_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_GetSearchFlags", (PyCFunction) _wrap_wxStyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_wxStyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_wxStyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_wxStyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_wxStyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_wxStyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_wxStyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_wxStyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_wxStyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetOvertype", (PyCFunction) _wrap_wxStyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetOvertype", (PyCFunction) _wrap_wxStyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetTextLength", (PyCFunction) _wrap_wxStyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetText", (PyCFunction) _wrap_wxStyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetText", (PyCFunction) _wrap_wxStyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_Clear", (PyCFunction) _wrap_wxStyledTextCtrl_Clear, 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_Undo", (PyCFunction) _wrap_wxStyledTextCtrl_Undo, 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_CanPaste", (PyCFunction) _wrap_wxStyledTextCtrl_CanPaste, 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_EnsureCaretVisible", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_LineScroll", (PyCFunction) _wrap_wxStyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_wxStyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_HideSelection", (PyCFunction) _wrap_wxStyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetTextRange", (PyCFunction) _wrap_wxStyledTextCtrl_GetTextRange, 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_GetModify", (PyCFunction) _wrap_wxStyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetLineCount", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_FormatRange", (PyCFunction) _wrap_wxStyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_FindText", (PyCFunction) _wrap_wxStyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_wxStyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_wxStyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_wxStyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_wxStyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetCodePage", (PyCFunction) _wrap_wxStyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_wxStyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_wxStyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_wxStyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_wxStyledTextCtrl_SetIndentationGuides, 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_GetColumn", (PyCFunction) _wrap_wxStyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineIndentPosition, 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_GetUseTabs", (PyCFunction) _wrap_wxStyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetIndent", (PyCFunction) _wrap_wxStyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetIndent", (PyCFunction) _wrap_wxStyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_UserListShow", (PyCFunction) _wrap_wxStyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetCancelAtStart, 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_AutoCompStops", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompPosStart, 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_SetCaretLineBack", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_wxStyledTextCtrl_GetMaxLineState, 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_GetStyleBits", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorSetForeground, 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_EndUndoAction", (PyCFunction) _wrap_wxStyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_wxStyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetWordChars", (PyCFunction) _wrap_wxStyledTextCtrl_SetWordChars, 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_StyleSetVisible", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyleBytes, 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_SetCaretForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_wxStyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetSize, 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_StyleSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_StyleClearAll, 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_MarkerPrevious", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_MarkerNext", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_MarkerGet", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS },
|
|
{ "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_MarkerDefine", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetCodePage", (PyCFunction) _wrap_wxStyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetTabWidth, 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_GetBufferedDraw", (PyCFunction) _wrap_wxStyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetStyling", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_StartStyling", (PyCFunction) _wrap_wxStyledTextCtrl_StartStyling, 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_ConvertEOLs", (PyCFunction) _wrap_wxStyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_wxStyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetCurLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GotoPos", (PyCFunction) _wrap_wxStyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GotoLine", (PyCFunction) _wrap_wxStyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromPoint, 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_GetUndoCollection", (PyCFunction) _wrap_wxStyledTextCtrl_GetUndoCollection, 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_CanRedo", (PyCFunction) _wrap_wxStyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetStyledText", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_wxStyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SelectAll", (PyCFunction) _wrap_wxStyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_wxStyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_Redo", (PyCFunction) _wrap_wxStyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyleAt, 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_GetCharAt", (PyCFunction) _wrap_wxStyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_GetLength", (PyCFunction) _wrap_wxStyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_wxStyledTextCtrl_ClearDocumentStyle, 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 },
|
|
{ "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[] = {
|
|
{ "_wxEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxEvent},
|
|
{ "_signed_long","_long",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},
|
|
{ "_wxPrintQuality","_time_t",0},
|
|
{ "_byte","_unsigned_char",0},
|
|
{ "_long","_unsigned_long",0},
|
|
{ "_long","_signed_long",0},
|
|
{ "_size_t","_wxCoord",0},
|
|
{ "_size_t","_wxPrintQuality",0},
|
|
{ "_size_t","_time_t",0},
|
|
{ "_size_t","_unsigned_int",0},
|
|
{ "_size_t","_int",0},
|
|
{ "_size_t","_wxWindowID",0},
|
|
{ "_size_t","_uint",0},
|
|
{ "_uint","_wxCoord",0},
|
|
{ "_uint","_wxPrintQuality",0},
|
|
{ "_uint","_time_t",0},
|
|
{ "_uint","_size_t",0},
|
|
{ "_uint","_unsigned_int",0},
|
|
{ "_uint","_int",0},
|
|
{ "_uint","_wxWindowID",0},
|
|
{ "_wxChar","_char",0},
|
|
{ "_wxCommandEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxCommandEvent},
|
|
{ "_char","_wxChar",0},
|
|
{ "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
|
|
{ "_EBool","_wxCoord",0},
|
|
{ "_EBool","_wxPrintQuality",0},
|
|
{ "_EBool","_signed_int",0},
|
|
{ "_EBool","_int",0},
|
|
{ "_EBool","_wxWindowID",0},
|
|
{ "_unsigned_long","_long",0},
|
|
{ "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
|
|
{ "_signed_int","_wxCoord",0},
|
|
{ "_signed_int","_wxPrintQuality",0},
|
|
{ "_signed_int","_EBool",0},
|
|
{ "_signed_int","_wxWindowID",0},
|
|
{ "_signed_int","_int",0},
|
|
{ "_WXTYPE","_wxDateTime_t",0},
|
|
{ "_WXTYPE","_short",0},
|
|
{ "_WXTYPE","_signed_short",0},
|
|
{ "_WXTYPE","_unsigned_short",0},
|
|
{ "_unsigned_short","_wxDateTime_t",0},
|
|
{ "_unsigned_short","_WXTYPE",0},
|
|
{ "_unsigned_short","_short",0},
|
|
{ "_wxObject","_wxStyledTextEvent",SwigwxStyledTextEventTowxObject},
|
|
{ "_wxObject","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxObject},
|
|
{ "_signed_short","_WXTYPE",0},
|
|
{ "_signed_short","_short",0},
|
|
{ "_unsigned_char","_byte",0},
|
|
{ "_wxControl","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxControl},
|
|
{ "_unsigned_int","_wxCoord",0},
|
|
{ "_unsigned_int","_wxPrintQuality",0},
|
|
{ "_unsigned_int","_time_t",0},
|
|
{ "_unsigned_int","_size_t",0},
|
|
{ "_unsigned_int","_uint",0},
|
|
{ "_unsigned_int","_wxWindowID",0},
|
|
{ "_unsigned_int","_int",0},
|
|
{ "_short","_wxDateTime_t",0},
|
|
{ "_short","_WXTYPE",0},
|
|
{ "_short","_unsigned_short",0},
|
|
{ "_short","_signed_short",0},
|
|
{ "_wxWindowID","_wxCoord",0},
|
|
{ "_wxWindowID","_wxPrintQuality",0},
|
|
{ "_wxWindowID","_time_t",0},
|
|
{ "_wxWindowID","_size_t",0},
|
|
{ "_wxWindowID","_EBool",0},
|
|
{ "_wxWindowID","_uint",0},
|
|
{ "_wxWindowID","_int",0},
|
|
{ "_wxWindowID","_signed_int",0},
|
|
{ "_wxWindowID","_unsigned_int",0},
|
|
{ "_int","_wxCoord",0},
|
|
{ "_int","_wxPrintQuality",0},
|
|
{ "_int","_time_t",0},
|
|
{ "_int","_size_t",0},
|
|
{ "_int","_EBool",0},
|
|
{ "_int","_uint",0},
|
|
{ "_int","_wxWindowID",0},
|
|
{ "_int","_unsigned_int",0},
|
|
{ "_int","_signed_int",0},
|
|
{ "_wxDateTime_t","_unsigned_short",0},
|
|
{ "_wxDateTime_t","_short",0},
|
|
{ "_wxDateTime_t","_WXTYPE",0},
|
|
{ "_time_t","_wxCoord",0},
|
|
{ "_time_t","_wxPrintQuality",0},
|
|
{ "_time_t","_unsigned_int",0},
|
|
{ "_time_t","_int",0},
|
|
{ "_time_t","_wxWindowID",0},
|
|
{ "_time_t","_uint",0},
|
|
{ "_time_t","_size_t",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","_time_t",0},
|
|
{ "_wxCoord","_wxPrintQuality",0},
|
|
{ "_wxEvtHandler","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxEvtHandler},
|
|
{ "_wxWindow","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxWindow},
|
|
{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_INVALID_POSITION", PyInt_FromLong((long) -1));
|
|
PyDict_SetItemString(d,"wxSTC_START", PyInt_FromLong((long) 2000));
|
|
PyDict_SetItemString(d,"wxSTC_OPTIONAL_START", PyInt_FromLong((long) 3000));
|
|
PyDict_SetItemString(d,"wxSTC_LEXER_START", PyInt_FromLong((long) 4000));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_REDO", PyInt_FromLong((long) 2011));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_SELECTALL", PyInt_FromLong((long) 2013));
|
|
PyDict_SetItemString(d,"wxSTC_WS_INVISIBLE", PyInt_FromLong((long) 0));
|
|
PyDict_SetItemString(d,"wxSTC_WS_VISIBLEALWAYS", PyInt_FromLong((long) 1));
|
|
PyDict_SetItemString(d,"wxSTC_WS_VISIBLEAFTERINDENT", PyInt_FromLong((long) 2));
|
|
PyDict_SetItemString(d,"wxSTC_EOL_CRLF", PyInt_FromLong((long) 0));
|
|
PyDict_SetItemString(d,"wxSTC_EOL_CR", PyInt_FromLong((long) 1));
|
|
PyDict_SetItemString(d,"wxSTC_EOL_LF", PyInt_FromLong((long) 2));
|
|
PyDict_SetItemString(d,"wxSTC_CP_UTF8", PyInt_FromLong((long) 65001));
|
|
PyDict_SetItemString(d,"wxSTC_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_MARK_VLINE", PyInt_FromLong((long) 9));
|
|
PyDict_SetItemString(d,"wxSTC_MARK_LCORNER", PyInt_FromLong((long) 10));
|
|
PyDict_SetItemString(d,"wxSTC_MARK_TCORNER", PyInt_FromLong((long) 11));
|
|
PyDict_SetItemString(d,"wxSTC_MARK_BOXPLUS", PyInt_FromLong((long) 12));
|
|
PyDict_SetItemString(d,"wxSTC_MARK_BOXPLUSCONNECTED", PyInt_FromLong((long) 13));
|
|
PyDict_SetItemString(d,"wxSTC_MARK_BOXMINUS", PyInt_FromLong((long) 14));
|
|
PyDict_SetItemString(d,"wxSTC_MARK_BOXMINUSCONNECTED", PyInt_FromLong((long) 15));
|
|
PyDict_SetItemString(d,"wxSTC_MARK_LCORNERCURVE", PyInt_FromLong((long) 16));
|
|
PyDict_SetItemString(d,"wxSTC_MARK_TCORNERCURVE", PyInt_FromLong((long) 17));
|
|
PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEPLUS", PyInt_FromLong((long) 18));
|
|
PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEPLUSCONNECTED", PyInt_FromLong((long) 19));
|
|
PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEMINUS", PyInt_FromLong((long) 20));
|
|
PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEMINUSCONNECTED", PyInt_FromLong((long) 21));
|
|
PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEREND", PyInt_FromLong((long) 25));
|
|
PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEROPENMID", PyInt_FromLong((long) 26));
|
|
PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDERMIDTAIL", PyInt_FromLong((long) 27));
|
|
PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDERTAIL", PyInt_FromLong((long) 28));
|
|
PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDERSUB", PyInt_FromLong((long) 29));
|
|
PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDER", PyInt_FromLong((long) 30));
|
|
PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEROPEN", PyInt_FromLong((long) 31));
|
|
PyDict_SetItemString(d,"wxSTC_MARGIN_SYMBOL", PyInt_FromLong((long) 0));
|
|
PyDict_SetItemString(d,"wxSTC_MARGIN_NUMBER", PyInt_FromLong((long) 1));
|
|
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_INDENTGUIDE", PyInt_FromLong((long) 37));
|
|
PyDict_SetItemString(d,"wxSTC_STYLE_MAX", PyInt_FromLong((long) 127));
|
|
PyDict_SetItemString(d,"wxSTC_CHARSET_ANSI", PyInt_FromLong((long) 0));
|
|
PyDict_SetItemString(d,"wxSTC_CHARSET_DEFAULT", PyInt_FromLong((long) 1));
|
|
PyDict_SetItemString(d,"wxSTC_CHARSET_BALTIC", PyInt_FromLong((long) 186));
|
|
PyDict_SetItemString(d,"wxSTC_CHARSET_CHINESEBIG5", PyInt_FromLong((long) 136));
|
|
PyDict_SetItemString(d,"wxSTC_CHARSET_EASTEUROPE", PyInt_FromLong((long) 238));
|
|
PyDict_SetItemString(d,"wxSTC_CHARSET_GB2312", PyInt_FromLong((long) 134));
|
|
PyDict_SetItemString(d,"wxSTC_CHARSET_GREEK", PyInt_FromLong((long) 161));
|
|
PyDict_SetItemString(d,"wxSTC_CHARSET_HANGUL", PyInt_FromLong((long) 129));
|
|
PyDict_SetItemString(d,"wxSTC_CHARSET_MAC", PyInt_FromLong((long) 77));
|
|
PyDict_SetItemString(d,"wxSTC_CHARSET_OEM", PyInt_FromLong((long) 255));
|
|
PyDict_SetItemString(d,"wxSTC_CHARSET_RUSSIAN", PyInt_FromLong((long) 204));
|
|
PyDict_SetItemString(d,"wxSTC_CHARSET_SHIFTJIS", PyInt_FromLong((long) 128));
|
|
PyDict_SetItemString(d,"wxSTC_CHARSET_SYMBOL", PyInt_FromLong((long) 2));
|
|
PyDict_SetItemString(d,"wxSTC_CHARSET_TURKISH", PyInt_FromLong((long) 162));
|
|
PyDict_SetItemString(d,"wxSTC_CHARSET_JOHAB", PyInt_FromLong((long) 130));
|
|
PyDict_SetItemString(d,"wxSTC_CHARSET_HEBREW", PyInt_FromLong((long) 177));
|
|
PyDict_SetItemString(d,"wxSTC_CHARSET_ARABIC", PyInt_FromLong((long) 178));
|
|
PyDict_SetItemString(d,"wxSTC_CHARSET_VIETNAMESE", PyInt_FromLong((long) 163));
|
|
PyDict_SetItemString(d,"wxSTC_CHARSET_THAI", PyInt_FromLong((long) 222));
|
|
PyDict_SetItemString(d,"wxSTC_CASE_MIXED", PyInt_FromLong((long) 0));
|
|
PyDict_SetItemString(d,"wxSTC_CASE_UPPER", PyInt_FromLong((long) 1));
|
|
PyDict_SetItemString(d,"wxSTC_CASE_LOWER", PyInt_FromLong((long) 2));
|
|
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) 224));
|
|
PyDict_SetItemString(d,"wxSTC_PRINT_NORMAL", PyInt_FromLong((long) 0));
|
|
PyDict_SetItemString(d,"wxSTC_PRINT_INVERTLIGHT", PyInt_FromLong((long) 1));
|
|
PyDict_SetItemString(d,"wxSTC_PRINT_BLACKONWHITE", PyInt_FromLong((long) 2));
|
|
PyDict_SetItemString(d,"wxSTC_PRINT_COLOURONWHITE", PyInt_FromLong((long) 3));
|
|
PyDict_SetItemString(d,"wxSTC_PRINT_COLOURONWHITEDEFAULTBG", PyInt_FromLong((long) 4));
|
|
PyDict_SetItemString(d,"wxSTC_FIND_WHOLEWORD", PyInt_FromLong((long) 2));
|
|
PyDict_SetItemString(d,"wxSTC_FIND_MATCHCASE", PyInt_FromLong((long) 4));
|
|
PyDict_SetItemString(d,"wxSTC_FIND_WORDSTART", PyInt_FromLong((long) 0x00100000));
|
|
PyDict_SetItemString(d,"wxSTC_FIND_REGEXP", PyInt_FromLong((long) 0x00200000));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_UNDO", PyInt_FromLong((long) 2176));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_CUT", PyInt_FromLong((long) 2177));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_COPY", PyInt_FromLong((long) 2178));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_PASTE", PyInt_FromLong((long) 2179));
|
|
PyDict_SetItemString(d,"wxSTC_FOLDLEVELBASE", PyInt_FromLong((long) 0x400));
|
|
PyDict_SetItemString(d,"wxSTC_FOLDLEVELWHITEFLAG", PyInt_FromLong((long) 0x1000));
|
|
PyDict_SetItemString(d,"wxSTC_FOLDLEVELHEADERFLAG", PyInt_FromLong((long) 0x2000));
|
|
PyDict_SetItemString(d,"wxSTC_FOLDLEVELNUMBERMASK", PyInt_FromLong((long) 0x0FFF));
|
|
PyDict_SetItemString(d,"wxSTC_TIME_FOREVER", PyInt_FromLong((long) 10000000));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_LINEDOWN", PyInt_FromLong((long) 2300));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_LINEDOWNEXTEND", PyInt_FromLong((long) 2301));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_LINEUP", PyInt_FromLong((long) 2302));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_LINEUPEXTEND", PyInt_FromLong((long) 2303));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_CHARLEFT", PyInt_FromLong((long) 2304));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_CHARLEFTEXTEND", PyInt_FromLong((long) 2305));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_CHARRIGHT", PyInt_FromLong((long) 2306));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_CHARRIGHTEXTEND", PyInt_FromLong((long) 2307));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_WORDLEFT", PyInt_FromLong((long) 2308));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_WORDLEFTEXTEND", PyInt_FromLong((long) 2309));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_WORDRIGHT", PyInt_FromLong((long) 2310));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_WORDRIGHTEXTEND", PyInt_FromLong((long) 2311));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_HOME", PyInt_FromLong((long) 2312));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_HOMEEXTEND", PyInt_FromLong((long) 2313));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_LINEEND", PyInt_FromLong((long) 2314));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_LINEENDEXTEND", PyInt_FromLong((long) 2315));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTSTART", PyInt_FromLong((long) 2316));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTSTARTEXTEND", PyInt_FromLong((long) 2317));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTEND", PyInt_FromLong((long) 2318));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTENDEXTEND", PyInt_FromLong((long) 2319));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_PAGEUP", PyInt_FromLong((long) 2320));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_PAGEUPEXTEND", PyInt_FromLong((long) 2321));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_PAGEDOWN", PyInt_FromLong((long) 2322));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_PAGEDOWNEXTEND", PyInt_FromLong((long) 2323));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_EDITTOGGLEOVERTYPE", PyInt_FromLong((long) 2324));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_CANCEL", PyInt_FromLong((long) 2325));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_DELETEBACK", PyInt_FromLong((long) 2326));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_TAB", PyInt_FromLong((long) 2327));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_BACKTAB", PyInt_FromLong((long) 2328));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_NEWLINE", PyInt_FromLong((long) 2329));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_FORMFEED", PyInt_FromLong((long) 2330));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_VCHOME", PyInt_FromLong((long) 2331));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_VCHOMEEXTEND", PyInt_FromLong((long) 2332));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_ZOOMIN", PyInt_FromLong((long) 2333));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_ZOOMOUT", PyInt_FromLong((long) 2334));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_DELWORDLEFT", PyInt_FromLong((long) 2335));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_DELWORDRIGHT", PyInt_FromLong((long) 2336));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_LINECUT", PyInt_FromLong((long) 2337));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_LINEDELETE", PyInt_FromLong((long) 2338));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_LINETRANSPOSE", PyInt_FromLong((long) 2339));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_LOWERCASE", PyInt_FromLong((long) 2340));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_UPPERCASE", PyInt_FromLong((long) 2341));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_LINESCROLLDOWN", PyInt_FromLong((long) 2342));
|
|
PyDict_SetItemString(d,"wxSTC_CMD_LINESCROLLUP", PyInt_FromLong((long) 2343));
|
|
PyDict_SetItemString(d,"wxSTC_EDGE_NONE", PyInt_FromLong((long) 0));
|
|
PyDict_SetItemString(d,"wxSTC_EDGE_LINE", PyInt_FromLong((long) 1));
|
|
PyDict_SetItemString(d,"wxSTC_EDGE_BACKGROUND", PyInt_FromLong((long) 2));
|
|
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_CARET_XEVEN", PyInt_FromLong((long) 0x08));
|
|
PyDict_SetItemString(d,"wxSTC_CARET_XJUMPS", PyInt_FromLong((long) 0x10));
|
|
PyDict_SetItemString(d,"wxSTC_CURSORNORMAL", PyInt_FromLong((long) -1));
|
|
PyDict_SetItemString(d,"wxSTC_CURSORWAIT", PyInt_FromLong((long) 3));
|
|
PyDict_SetItemString(d,"wxSTC_VISIBLE_SLOP", PyInt_FromLong((long) 0x01));
|
|
PyDict_SetItemString(d,"wxSTC_VISIBLE_STRICT", PyInt_FromLong((long) 0x04));
|
|
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,"wxSTC_MODEVENTMASKALL", PyInt_FromLong((long) 0xF77));
|
|
PyDict_SetItemString(d,"wxSTC_KEY_DOWN", PyInt_FromLong((long) 300));
|
|
PyDict_SetItemString(d,"wxSTC_KEY_UP", PyInt_FromLong((long) 301));
|
|
PyDict_SetItemString(d,"wxSTC_KEY_LEFT", PyInt_FromLong((long) 302));
|
|
PyDict_SetItemString(d,"wxSTC_KEY_RIGHT", PyInt_FromLong((long) 303));
|
|
PyDict_SetItemString(d,"wxSTC_KEY_HOME", PyInt_FromLong((long) 304));
|
|
PyDict_SetItemString(d,"wxSTC_KEY_END", PyInt_FromLong((long) 305));
|
|
PyDict_SetItemString(d,"wxSTC_KEY_PRIOR", PyInt_FromLong((long) 306));
|
|
PyDict_SetItemString(d,"wxSTC_KEY_NEXT", PyInt_FromLong((long) 307));
|
|
PyDict_SetItemString(d,"wxSTC_KEY_DELETE", PyInt_FromLong((long) 308));
|
|
PyDict_SetItemString(d,"wxSTC_KEY_INSERT", PyInt_FromLong((long) 309));
|
|
PyDict_SetItemString(d,"wxSTC_KEY_ESCAPE", PyInt_FromLong((long) 7));
|
|
PyDict_SetItemString(d,"wxSTC_KEY_BACK", PyInt_FromLong((long) 8));
|
|
PyDict_SetItemString(d,"wxSTC_KEY_TAB", PyInt_FromLong((long) 9));
|
|
PyDict_SetItemString(d,"wxSTC_KEY_RETURN", PyInt_FromLong((long) 13));
|
|
PyDict_SetItemString(d,"wxSTC_KEY_ADD", PyInt_FromLong((long) 310));
|
|
PyDict_SetItemString(d,"wxSTC_KEY_SUBTRACT", PyInt_FromLong((long) 311));
|
|
PyDict_SetItemString(d,"wxSTC_KEY_DIVIDE", PyInt_FromLong((long) 312));
|
|
PyDict_SetItemString(d,"wxSTC_SCMOD_SHIFT", PyInt_FromLong((long) 1));
|
|
PyDict_SetItemString(d,"wxSTC_SCMOD_CTRL", PyInt_FromLong((long) 2));
|
|
PyDict_SetItemString(d,"wxSTC_SCMOD_ALT", PyInt_FromLong((long) 4));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_CONTAINER", PyInt_FromLong((long) 0));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_NULL", PyInt_FromLong((long) 1));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_PYTHON", PyInt_FromLong((long) 2));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_CPP", PyInt_FromLong((long) 3));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_HTML", PyInt_FromLong((long) 4));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_XML", PyInt_FromLong((long) 5));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_PERL", PyInt_FromLong((long) 6));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_SQL", PyInt_FromLong((long) 7));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_VB", PyInt_FromLong((long) 8));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_PROPERTIES", PyInt_FromLong((long) 9));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_ERRORLIST", PyInt_FromLong((long) 10));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_MAKEFILE", PyInt_FromLong((long) 11));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_BATCH", PyInt_FromLong((long) 12));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_XCODE", PyInt_FromLong((long) 13));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_LATEX", PyInt_FromLong((long) 14));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_LUA", PyInt_FromLong((long) 15));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_DIFF", PyInt_FromLong((long) 16));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_CONF", PyInt_FromLong((long) 17));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_PASCAL", PyInt_FromLong((long) 18));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_AVE", PyInt_FromLong((long) 19));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_ADA", PyInt_FromLong((long) 20));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_LISP", PyInt_FromLong((long) 21));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_RUBY", PyInt_FromLong((long) 22));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_EIFFEL", PyInt_FromLong((long) 23));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_EIFFELKW", PyInt_FromLong((long) 24));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_TCL", PyInt_FromLong((long) 25));
|
|
PyDict_SetItemString(d,"wxSTC_LEX_AUTOMATIC", PyInt_FromLong((long) 1000));
|
|
PyDict_SetItemString(d,"wxSTC_P_DEFAULT", PyInt_FromLong((long) 0));
|
|
PyDict_SetItemString(d,"wxSTC_P_COMMENTLINE", PyInt_FromLong((long) 1));
|
|
PyDict_SetItemString(d,"wxSTC_P_NUMBER", PyInt_FromLong((long) 2));
|
|
PyDict_SetItemString(d,"wxSTC_P_STRING", PyInt_FromLong((long) 3));
|
|
PyDict_SetItemString(d,"wxSTC_P_CHARACTER", PyInt_FromLong((long) 4));
|
|
PyDict_SetItemString(d,"wxSTC_P_WORD", PyInt_FromLong((long) 5));
|
|
PyDict_SetItemString(d,"wxSTC_P_TRIPLE", PyInt_FromLong((long) 6));
|
|
PyDict_SetItemString(d,"wxSTC_P_TRIPLEDOUBLE", PyInt_FromLong((long) 7));
|
|
PyDict_SetItemString(d,"wxSTC_P_CLASSNAME", PyInt_FromLong((long) 8));
|
|
PyDict_SetItemString(d,"wxSTC_P_DEFNAME", PyInt_FromLong((long) 9));
|
|
PyDict_SetItemString(d,"wxSTC_P_OPERATOR", PyInt_FromLong((long) 10));
|
|
PyDict_SetItemString(d,"wxSTC_P_IDENTIFIER", PyInt_FromLong((long) 11));
|
|
PyDict_SetItemString(d,"wxSTC_P_COMMENTBLOCK", PyInt_FromLong((long) 12));
|
|
PyDict_SetItemString(d,"wxSTC_P_STRINGEOL", PyInt_FromLong((long) 13));
|
|
PyDict_SetItemString(d,"wxSTC_C_DEFAULT", PyInt_FromLong((long) 0));
|
|
PyDict_SetItemString(d,"wxSTC_C_COMMENT", PyInt_FromLong((long) 1));
|
|
PyDict_SetItemString(d,"wxSTC_C_COMMENTLINE", PyInt_FromLong((long) 2));
|
|
PyDict_SetItemString(d,"wxSTC_C_COMMENTDOC", PyInt_FromLong((long) 3));
|
|
PyDict_SetItemString(d,"wxSTC_C_NUMBER", PyInt_FromLong((long) 4));
|
|
PyDict_SetItemString(d,"wxSTC_C_WORD", PyInt_FromLong((long) 5));
|
|
PyDict_SetItemString(d,"wxSTC_C_STRING", PyInt_FromLong((long) 6));
|
|
PyDict_SetItemString(d,"wxSTC_C_CHARACTER", PyInt_FromLong((long) 7));
|
|
PyDict_SetItemString(d,"wxSTC_C_UUID", PyInt_FromLong((long) 8));
|
|
PyDict_SetItemString(d,"wxSTC_C_PREPROCESSOR", PyInt_FromLong((long) 9));
|
|
PyDict_SetItemString(d,"wxSTC_C_OPERATOR", PyInt_FromLong((long) 10));
|
|
PyDict_SetItemString(d,"wxSTC_C_IDENTIFIER", PyInt_FromLong((long) 11));
|
|
PyDict_SetItemString(d,"wxSTC_C_STRINGEOL", PyInt_FromLong((long) 12));
|
|
PyDict_SetItemString(d,"wxSTC_C_VERBATIM", PyInt_FromLong((long) 13));
|
|
PyDict_SetItemString(d,"wxSTC_C_REGEX", PyInt_FromLong((long) 14));
|
|
PyDict_SetItemString(d,"wxSTC_C_COMMENTLINEDOC", PyInt_FromLong((long) 15));
|
|
PyDict_SetItemString(d,"wxSTC_C_WORD2", PyInt_FromLong((long) 16));
|
|
PyDict_SetItemString(d,"wxSTC_H_DEFAULT", PyInt_FromLong((long) 0));
|
|
PyDict_SetItemString(d,"wxSTC_H_TAG", PyInt_FromLong((long) 1));
|
|
PyDict_SetItemString(d,"wxSTC_H_TAGUNKNOWN", PyInt_FromLong((long) 2));
|
|
PyDict_SetItemString(d,"wxSTC_H_ATTRIBUTE", PyInt_FromLong((long) 3));
|
|
PyDict_SetItemString(d,"wxSTC_H_ATTRIBUTEUNKNOWN", PyInt_FromLong((long) 4));
|
|
PyDict_SetItemString(d,"wxSTC_H_NUMBER", PyInt_FromLong((long) 5));
|
|
PyDict_SetItemString(d,"wxSTC_H_DOUBLESTRING", PyInt_FromLong((long) 6));
|
|
PyDict_SetItemString(d,"wxSTC_H_SINGLESTRING", PyInt_FromLong((long) 7));
|
|
PyDict_SetItemString(d,"wxSTC_H_OTHER", PyInt_FromLong((long) 8));
|
|
PyDict_SetItemString(d,"wxSTC_H_COMMENT", PyInt_FromLong((long) 9));
|
|
PyDict_SetItemString(d,"wxSTC_H_ENTITY", PyInt_FromLong((long) 10));
|
|
PyDict_SetItemString(d,"wxSTC_H_TAGEND", PyInt_FromLong((long) 11));
|
|
PyDict_SetItemString(d,"wxSTC_H_XMLSTART", PyInt_FromLong((long) 12));
|
|
PyDict_SetItemString(d,"wxSTC_H_XMLEND", PyInt_FromLong((long) 13));
|
|
PyDict_SetItemString(d,"wxSTC_H_SCRIPT", PyInt_FromLong((long) 14));
|
|
PyDict_SetItemString(d,"wxSTC_H_ASP", PyInt_FromLong((long) 15));
|
|
PyDict_SetItemString(d,"wxSTC_H_ASPAT", PyInt_FromLong((long) 16));
|
|
PyDict_SetItemString(d,"wxSTC_H_CDATA", PyInt_FromLong((long) 17));
|
|
PyDict_SetItemString(d,"wxSTC_H_QUESTION", PyInt_FromLong((long) 18));
|
|
PyDict_SetItemString(d,"wxSTC_H_VALUE", PyInt_FromLong((long) 19));
|
|
PyDict_SetItemString(d,"wxSTC_H_XCCOMMENT", PyInt_FromLong((long) 20));
|
|
PyDict_SetItemString(d,"wxSTC_H_SGML", PyInt_FromLong((long) 21));
|
|
PyDict_SetItemString(d,"wxSTC_HJ_START", PyInt_FromLong((long) 40));
|
|
PyDict_SetItemString(d,"wxSTC_HJ_DEFAULT", PyInt_FromLong((long) 41));
|
|
PyDict_SetItemString(d,"wxSTC_HJ_COMMENT", PyInt_FromLong((long) 42));
|
|
PyDict_SetItemString(d,"wxSTC_HJ_COMMENTLINE", PyInt_FromLong((long) 43));
|
|
PyDict_SetItemString(d,"wxSTC_HJ_COMMENTDOC", PyInt_FromLong((long) 44));
|
|
PyDict_SetItemString(d,"wxSTC_HJ_NUMBER", PyInt_FromLong((long) 45));
|
|
PyDict_SetItemString(d,"wxSTC_HJ_WORD", PyInt_FromLong((long) 46));
|
|
PyDict_SetItemString(d,"wxSTC_HJ_KEYWORD", PyInt_FromLong((long) 47));
|
|
PyDict_SetItemString(d,"wxSTC_HJ_DOUBLESTRING", PyInt_FromLong((long) 48));
|
|
PyDict_SetItemString(d,"wxSTC_HJ_SINGLESTRING", PyInt_FromLong((long) 49));
|
|
PyDict_SetItemString(d,"wxSTC_HJ_SYMBOLS", PyInt_FromLong((long) 50));
|
|
PyDict_SetItemString(d,"wxSTC_HJ_STRINGEOL", PyInt_FromLong((long) 51));
|
|
PyDict_SetItemString(d,"wxSTC_HJ_REGEX", PyInt_FromLong((long) 52));
|
|
PyDict_SetItemString(d,"wxSTC_HJA_START", PyInt_FromLong((long) 55));
|
|
PyDict_SetItemString(d,"wxSTC_HJA_DEFAULT", PyInt_FromLong((long) 56));
|
|
PyDict_SetItemString(d,"wxSTC_HJA_COMMENT", PyInt_FromLong((long) 57));
|
|
PyDict_SetItemString(d,"wxSTC_HJA_COMMENTLINE", PyInt_FromLong((long) 58));
|
|
PyDict_SetItemString(d,"wxSTC_HJA_COMMENTDOC", PyInt_FromLong((long) 59));
|
|
PyDict_SetItemString(d,"wxSTC_HJA_NUMBER", PyInt_FromLong((long) 60));
|
|
PyDict_SetItemString(d,"wxSTC_HJA_WORD", PyInt_FromLong((long) 61));
|
|
PyDict_SetItemString(d,"wxSTC_HJA_KEYWORD", PyInt_FromLong((long) 62));
|
|
PyDict_SetItemString(d,"wxSTC_HJA_DOUBLESTRING", PyInt_FromLong((long) 63));
|
|
PyDict_SetItemString(d,"wxSTC_HJA_SINGLESTRING", PyInt_FromLong((long) 64));
|
|
PyDict_SetItemString(d,"wxSTC_HJA_SYMBOLS", PyInt_FromLong((long) 65));
|
|
PyDict_SetItemString(d,"wxSTC_HJA_STRINGEOL", PyInt_FromLong((long) 66));
|
|
PyDict_SetItemString(d,"wxSTC_HJA_REGEX", PyInt_FromLong((long) 67));
|
|
PyDict_SetItemString(d,"wxSTC_HB_START", PyInt_FromLong((long) 70));
|
|
PyDict_SetItemString(d,"wxSTC_HB_DEFAULT", PyInt_FromLong((long) 71));
|
|
PyDict_SetItemString(d,"wxSTC_HB_COMMENTLINE", PyInt_FromLong((long) 72));
|
|
PyDict_SetItemString(d,"wxSTC_HB_NUMBER", PyInt_FromLong((long) 73));
|
|
PyDict_SetItemString(d,"wxSTC_HB_WORD", PyInt_FromLong((long) 74));
|
|
PyDict_SetItemString(d,"wxSTC_HB_STRING", PyInt_FromLong((long) 75));
|
|
PyDict_SetItemString(d,"wxSTC_HB_IDENTIFIER", PyInt_FromLong((long) 76));
|
|
PyDict_SetItemString(d,"wxSTC_HB_STRINGEOL", PyInt_FromLong((long) 77));
|
|
PyDict_SetItemString(d,"wxSTC_HBA_START", PyInt_FromLong((long) 80));
|
|
PyDict_SetItemString(d,"wxSTC_HBA_DEFAULT", PyInt_FromLong((long) 81));
|
|
PyDict_SetItemString(d,"wxSTC_HBA_COMMENTLINE", PyInt_FromLong((long) 82));
|
|
PyDict_SetItemString(d,"wxSTC_HBA_NUMBER", PyInt_FromLong((long) 83));
|
|
PyDict_SetItemString(d,"wxSTC_HBA_WORD", PyInt_FromLong((long) 84));
|
|
PyDict_SetItemString(d,"wxSTC_HBA_STRING", PyInt_FromLong((long) 85));
|
|
PyDict_SetItemString(d,"wxSTC_HBA_IDENTIFIER", PyInt_FromLong((long) 86));
|
|
PyDict_SetItemString(d,"wxSTC_HBA_STRINGEOL", PyInt_FromLong((long) 87));
|
|
PyDict_SetItemString(d,"wxSTC_HP_START", PyInt_FromLong((long) 90));
|
|
PyDict_SetItemString(d,"wxSTC_HP_DEFAULT", PyInt_FromLong((long) 91));
|
|
PyDict_SetItemString(d,"wxSTC_HP_COMMENTLINE", PyInt_FromLong((long) 92));
|
|
PyDict_SetItemString(d,"wxSTC_HP_NUMBER", PyInt_FromLong((long) 93));
|
|
PyDict_SetItemString(d,"wxSTC_HP_STRING", PyInt_FromLong((long) 94));
|
|
PyDict_SetItemString(d,"wxSTC_HP_CHARACTER", PyInt_FromLong((long) 95));
|
|
PyDict_SetItemString(d,"wxSTC_HP_WORD", PyInt_FromLong((long) 96));
|
|
PyDict_SetItemString(d,"wxSTC_HP_TRIPLE", PyInt_FromLong((long) 97));
|
|
PyDict_SetItemString(d,"wxSTC_HP_TRIPLEDOUBLE", PyInt_FromLong((long) 98));
|
|
PyDict_SetItemString(d,"wxSTC_HP_CLASSNAME", PyInt_FromLong((long) 99));
|
|
PyDict_SetItemString(d,"wxSTC_HP_DEFNAME", PyInt_FromLong((long) 100));
|
|
PyDict_SetItemString(d,"wxSTC_HP_OPERATOR", PyInt_FromLong((long) 101));
|
|
PyDict_SetItemString(d,"wxSTC_HP_IDENTIFIER", PyInt_FromLong((long) 102));
|
|
PyDict_SetItemString(d,"wxSTC_HPA_START", PyInt_FromLong((long) 105));
|
|
PyDict_SetItemString(d,"wxSTC_HPA_DEFAULT", PyInt_FromLong((long) 106));
|
|
PyDict_SetItemString(d,"wxSTC_HPA_COMMENTLINE", PyInt_FromLong((long) 107));
|
|
PyDict_SetItemString(d,"wxSTC_HPA_NUMBER", PyInt_FromLong((long) 108));
|
|
PyDict_SetItemString(d,"wxSTC_HPA_STRING", PyInt_FromLong((long) 109));
|
|
PyDict_SetItemString(d,"wxSTC_HPA_CHARACTER", PyInt_FromLong((long) 110));
|
|
PyDict_SetItemString(d,"wxSTC_HPA_WORD", PyInt_FromLong((long) 111));
|
|
PyDict_SetItemString(d,"wxSTC_HPA_TRIPLE", PyInt_FromLong((long) 112));
|
|
PyDict_SetItemString(d,"wxSTC_HPA_TRIPLEDOUBLE", PyInt_FromLong((long) 113));
|
|
PyDict_SetItemString(d,"wxSTC_HPA_CLASSNAME", PyInt_FromLong((long) 114));
|
|
PyDict_SetItemString(d,"wxSTC_HPA_DEFNAME", PyInt_FromLong((long) 115));
|
|
PyDict_SetItemString(d,"wxSTC_HPA_OPERATOR", PyInt_FromLong((long) 116));
|
|
PyDict_SetItemString(d,"wxSTC_HPA_IDENTIFIER", PyInt_FromLong((long) 117));
|
|
PyDict_SetItemString(d,"wxSTC_HPHP_DEFAULT", PyInt_FromLong((long) 118));
|
|
PyDict_SetItemString(d,"wxSTC_HPHP_HSTRING", PyInt_FromLong((long) 119));
|
|
PyDict_SetItemString(d,"wxSTC_HPHP_SIMPLESTRING", PyInt_FromLong((long) 120));
|
|
PyDict_SetItemString(d,"wxSTC_HPHP_WORD", PyInt_FromLong((long) 121));
|
|
PyDict_SetItemString(d,"wxSTC_HPHP_NUMBER", PyInt_FromLong((long) 122));
|
|
PyDict_SetItemString(d,"wxSTC_HPHP_VARIABLE", PyInt_FromLong((long) 123));
|
|
PyDict_SetItemString(d,"wxSTC_HPHP_COMMENT", PyInt_FromLong((long) 124));
|
|
PyDict_SetItemString(d,"wxSTC_HPHP_COMMENTLINE", PyInt_FromLong((long) 125));
|
|
PyDict_SetItemString(d,"wxSTC_HPHP_HSTRING_VARIABLE", PyInt_FromLong((long) 126));
|
|
PyDict_SetItemString(d,"wxSTC_HPHP_OPERATOR", PyInt_FromLong((long) 127));
|
|
PyDict_SetItemString(d,"wxSTC_PL_DEFAULT", PyInt_FromLong((long) 0));
|
|
PyDict_SetItemString(d,"wxSTC_PL_ERROR", PyInt_FromLong((long) 1));
|
|
PyDict_SetItemString(d,"wxSTC_PL_COMMENTLINE", PyInt_FromLong((long) 2));
|
|
PyDict_SetItemString(d,"wxSTC_PL_POD", PyInt_FromLong((long) 3));
|
|
PyDict_SetItemString(d,"wxSTC_PL_NUMBER", PyInt_FromLong((long) 4));
|
|
PyDict_SetItemString(d,"wxSTC_PL_WORD", PyInt_FromLong((long) 5));
|
|
PyDict_SetItemString(d,"wxSTC_PL_STRING", PyInt_FromLong((long) 6));
|
|
PyDict_SetItemString(d,"wxSTC_PL_CHARACTER", PyInt_FromLong((long) 7));
|
|
PyDict_SetItemString(d,"wxSTC_PL_PUNCTUATION", PyInt_FromLong((long) 8));
|
|
PyDict_SetItemString(d,"wxSTC_PL_PREPROCESSOR", PyInt_FromLong((long) 9));
|
|
PyDict_SetItemString(d,"wxSTC_PL_OPERATOR", PyInt_FromLong((long) 10));
|
|
PyDict_SetItemString(d,"wxSTC_PL_IDENTIFIER", PyInt_FromLong((long) 11));
|
|
PyDict_SetItemString(d,"wxSTC_PL_SCALAR", PyInt_FromLong((long) 12));
|
|
PyDict_SetItemString(d,"wxSTC_PL_ARRAY", PyInt_FromLong((long) 13));
|
|
PyDict_SetItemString(d,"wxSTC_PL_HASH", PyInt_FromLong((long) 14));
|
|
PyDict_SetItemString(d,"wxSTC_PL_SYMBOLTABLE", PyInt_FromLong((long) 15));
|
|
PyDict_SetItemString(d,"wxSTC_PL_REGEX", PyInt_FromLong((long) 17));
|
|
PyDict_SetItemString(d,"wxSTC_PL_REGSUBST", PyInt_FromLong((long) 18));
|
|
PyDict_SetItemString(d,"wxSTC_PL_LONGQUOTE", PyInt_FromLong((long) 19));
|
|
PyDict_SetItemString(d,"wxSTC_PL_BACKTICKS", PyInt_FromLong((long) 20));
|
|
PyDict_SetItemString(d,"wxSTC_PL_DATASECTION", PyInt_FromLong((long) 21));
|
|
PyDict_SetItemString(d,"wxSTC_PL_HERE_DELIM", PyInt_FromLong((long) 22));
|
|
PyDict_SetItemString(d,"wxSTC_PL_HERE_Q", PyInt_FromLong((long) 23));
|
|
PyDict_SetItemString(d,"wxSTC_PL_HERE_QQ", PyInt_FromLong((long) 24));
|
|
PyDict_SetItemString(d,"wxSTC_PL_HERE_QX", PyInt_FromLong((long) 25));
|
|
PyDict_SetItemString(d,"wxSTC_PL_STRING_Q", PyInt_FromLong((long) 26));
|
|
PyDict_SetItemString(d,"wxSTC_PL_STRING_QQ", PyInt_FromLong((long) 27));
|
|
PyDict_SetItemString(d,"wxSTC_PL_STRING_QX", PyInt_FromLong((long) 28));
|
|
PyDict_SetItemString(d,"wxSTC_PL_STRING_QR", PyInt_FromLong((long) 29));
|
|
PyDict_SetItemString(d,"wxSTC_PL_STRING_QW", PyInt_FromLong((long) 30));
|
|
PyDict_SetItemString(d,"wxSTC_L_DEFAULT", PyInt_FromLong((long) 0));
|
|
PyDict_SetItemString(d,"wxSTC_L_COMMAND", PyInt_FromLong((long) 1));
|
|
PyDict_SetItemString(d,"wxSTC_L_TAG", PyInt_FromLong((long) 2));
|
|
PyDict_SetItemString(d,"wxSTC_L_MATH", PyInt_FromLong((long) 3));
|
|
PyDict_SetItemString(d,"wxSTC_L_COMMENT", PyInt_FromLong((long) 4));
|
|
PyDict_SetItemString(d,"wxSTC_LUA_DEFAULT", PyInt_FromLong((long) 0));
|
|
PyDict_SetItemString(d,"wxSTC_LUA_COMMENT", PyInt_FromLong((long) 1));
|
|
PyDict_SetItemString(d,"wxSTC_LUA_COMMENTLINE", PyInt_FromLong((long) 2));
|
|
PyDict_SetItemString(d,"wxSTC_LUA_COMMENTDOC", PyInt_FromLong((long) 3));
|
|
PyDict_SetItemString(d,"wxSTC_LUA_NUMBER", PyInt_FromLong((long) 4));
|
|
PyDict_SetItemString(d,"wxSTC_LUA_WORD", PyInt_FromLong((long) 5));
|
|
PyDict_SetItemString(d,"wxSTC_LUA_STRING", PyInt_FromLong((long) 6));
|
|
PyDict_SetItemString(d,"wxSTC_LUA_CHARACTER", PyInt_FromLong((long) 7));
|
|
PyDict_SetItemString(d,"wxSTC_LUA_LITERALSTRING", PyInt_FromLong((long) 8));
|
|
PyDict_SetItemString(d,"wxSTC_LUA_PREPROCESSOR", PyInt_FromLong((long) 9));
|
|
PyDict_SetItemString(d,"wxSTC_LUA_OPERATOR", PyInt_FromLong((long) 10));
|
|
PyDict_SetItemString(d,"wxSTC_LUA_IDENTIFIER", PyInt_FromLong((long) 11));
|
|
PyDict_SetItemString(d,"wxSTC_LUA_STRINGEOL", PyInt_FromLong((long) 12));
|
|
PyDict_SetItemString(d,"wxSTC_ERR_DEFAULT", PyInt_FromLong((long) 0));
|
|
PyDict_SetItemString(d,"wxSTC_ERR_PYTHON", PyInt_FromLong((long) 1));
|
|
PyDict_SetItemString(d,"wxSTC_ERR_GCC", PyInt_FromLong((long) 2));
|
|
PyDict_SetItemString(d,"wxSTC_ERR_MS", PyInt_FromLong((long) 3));
|
|
PyDict_SetItemString(d,"wxSTC_ERR_CMD", PyInt_FromLong((long) 4));
|
|
PyDict_SetItemString(d,"wxSTC_ERR_BORLAND", PyInt_FromLong((long) 5));
|
|
PyDict_SetItemString(d,"wxSTC_ERR_PERL", PyInt_FromLong((long) 6));
|
|
PyDict_SetItemString(d,"wxSTC_ERR_NET", PyInt_FromLong((long) 7));
|
|
PyDict_SetItemString(d,"wxSTC_ERR_LUA", PyInt_FromLong((long) 8));
|
|
PyDict_SetItemString(d,"wxSTC_ERR_DIFF_CHANGED", PyInt_FromLong((long) 10));
|
|
PyDict_SetItemString(d,"wxSTC_ERR_DIFF_ADDITION", PyInt_FromLong((long) 11));
|
|
PyDict_SetItemString(d,"wxSTC_ERR_DIFF_DELETION", PyInt_FromLong((long) 12));
|
|
PyDict_SetItemString(d,"wxSTC_ERR_DIFF_MESSAGE", PyInt_FromLong((long) 13));
|
|
PyDict_SetItemString(d,"wxSTC_BAT_DEFAULT", PyInt_FromLong((long) 0));
|
|
PyDict_SetItemString(d,"wxSTC_BAT_COMMENT", PyInt_FromLong((long) 1));
|
|
PyDict_SetItemString(d,"wxSTC_BAT_WORD", PyInt_FromLong((long) 2));
|
|
PyDict_SetItemString(d,"wxSTC_BAT_LABEL", PyInt_FromLong((long) 3));
|
|
PyDict_SetItemString(d,"wxSTC_BAT_HIDE", PyInt_FromLong((long) 4));
|
|
PyDict_SetItemString(d,"wxSTC_BAT_COMMAND", PyInt_FromLong((long) 5));
|
|
PyDict_SetItemString(d,"wxSTC_BAT_IDENTIFIER", PyInt_FromLong((long) 6));
|
|
PyDict_SetItemString(d,"wxSTC_BAT_OPERATOR", PyInt_FromLong((long) 7));
|
|
PyDict_SetItemString(d,"wxSTC_MAKE_DEFAULT", PyInt_FromLong((long) 0));
|
|
PyDict_SetItemString(d,"wxSTC_MAKE_COMMENT", PyInt_FromLong((long) 1));
|
|
PyDict_SetItemString(d,"wxSTC_MAKE_PREPROCESSOR", PyInt_FromLong((long) 2));
|
|
PyDict_SetItemString(d,"wxSTC_MAKE_IDENTIFIER", PyInt_FromLong((long) 3));
|
|
PyDict_SetItemString(d,"wxSTC_MAKE_OPERATOR", PyInt_FromLong((long) 4));
|
|
PyDict_SetItemString(d,"wxSTC_MAKE_TARGET", PyInt_FromLong((long) 5));
|
|
PyDict_SetItemString(d,"wxSTC_MAKE_IDEOL", PyInt_FromLong((long) 9));
|
|
PyDict_SetItemString(d,"wxSTC_CONF_DEFAULT", PyInt_FromLong((long) 0));
|
|
PyDict_SetItemString(d,"wxSTC_CONF_COMMENT", PyInt_FromLong((long) 1));
|
|
PyDict_SetItemString(d,"wxSTC_CONF_NUMBER", PyInt_FromLong((long) 2));
|
|
PyDict_SetItemString(d,"wxSTC_CONF_IDENTIFIER", PyInt_FromLong((long) 3));
|
|
PyDict_SetItemString(d,"wxSTC_CONF_EXTENSION", PyInt_FromLong((long) 4));
|
|
PyDict_SetItemString(d,"wxSTC_CONF_PARAMETER", PyInt_FromLong((long) 5));
|
|
PyDict_SetItemString(d,"wxSTC_CONF_STRING", PyInt_FromLong((long) 6));
|
|
PyDict_SetItemString(d,"wxSTC_CONF_OPERATOR", PyInt_FromLong((long) 7));
|
|
PyDict_SetItemString(d,"wxSTC_CONF_IP", PyInt_FromLong((long) 8));
|
|
PyDict_SetItemString(d,"wxSTC_CONF_DIRECTIVE", PyInt_FromLong((long) 9));
|
|
PyDict_SetItemString(d,"wxSTC_AVE_DEFAULT", PyInt_FromLong((long) 0));
|
|
PyDict_SetItemString(d,"wxSTC_AVE_COMMENT", PyInt_FromLong((long) 1));
|
|
PyDict_SetItemString(d,"wxSTC_AVE_NUMBER", PyInt_FromLong((long) 2));
|
|
PyDict_SetItemString(d,"wxSTC_AVE_WORD", PyInt_FromLong((long) 3));
|
|
PyDict_SetItemString(d,"wxSTC_AVE_KEYWORD", PyInt_FromLong((long) 4));
|
|
PyDict_SetItemString(d,"wxSTC_AVE_STATEMENT", PyInt_FromLong((long) 5));
|
|
PyDict_SetItemString(d,"wxSTC_AVE_STRING", PyInt_FromLong((long) 6));
|
|
PyDict_SetItemString(d,"wxSTC_AVE_ENUM", PyInt_FromLong((long) 7));
|
|
PyDict_SetItemString(d,"wxSTC_AVE_STRINGEOL", PyInt_FromLong((long) 8));
|
|
PyDict_SetItemString(d,"wxSTC_AVE_IDENTIFIER", PyInt_FromLong((long) 9));
|
|
PyDict_SetItemString(d,"wxSTC_AVE_OPERATOR", PyInt_FromLong((long) 10));
|
|
PyDict_SetItemString(d,"wxSTC_ADA_DEFAULT", PyInt_FromLong((long) 0));
|
|
PyDict_SetItemString(d,"wxSTC_ADA_COMMENT", PyInt_FromLong((long) 1));
|
|
PyDict_SetItemString(d,"wxSTC_ADA_NUMBER", PyInt_FromLong((long) 2));
|
|
PyDict_SetItemString(d,"wxSTC_ADA_WORD", PyInt_FromLong((long) 3));
|
|
PyDict_SetItemString(d,"wxSTC_ADA_STRING", PyInt_FromLong((long) 4));
|
|
PyDict_SetItemString(d,"wxSTC_ADA_CHARACTER", PyInt_FromLong((long) 5));
|
|
PyDict_SetItemString(d,"wxSTC_ADA_OPERATOR", PyInt_FromLong((long) 6));
|
|
PyDict_SetItemString(d,"wxSTC_ADA_IDENTIFIER", PyInt_FromLong((long) 7));
|
|
PyDict_SetItemString(d,"wxSTC_ADA_STRINGEOL", PyInt_FromLong((long) 8));
|
|
PyDict_SetItemString(d,"wxSTC_LISP_DEFAULT", PyInt_FromLong((long) 0));
|
|
PyDict_SetItemString(d,"wxSTC_LISP_COMMENT", PyInt_FromLong((long) 1));
|
|
PyDict_SetItemString(d,"wxSTC_LISP_NUMBER", PyInt_FromLong((long) 2));
|
|
PyDict_SetItemString(d,"wxSTC_LISP_KEYWORD", PyInt_FromLong((long) 3));
|
|
PyDict_SetItemString(d,"wxSTC_LISP_STRING", PyInt_FromLong((long) 6));
|
|
PyDict_SetItemString(d,"wxSTC_LISP_STRINGEOL", PyInt_FromLong((long) 8));
|
|
PyDict_SetItemString(d,"wxSTC_LISP_IDENTIFIER", PyInt_FromLong((long) 9));
|
|
PyDict_SetItemString(d,"wxSTC_LISP_OPERATOR", PyInt_FromLong((long) 10));
|
|
PyDict_SetItemString(d,"wxSTC_EIFFEL_DEFAULT", PyInt_FromLong((long) 0));
|
|
PyDict_SetItemString(d,"wxSTC_EIFFEL_COMMENTLINE", PyInt_FromLong((long) 1));
|
|
PyDict_SetItemString(d,"wxSTC_EIFFEL_NUMBER", PyInt_FromLong((long) 2));
|
|
PyDict_SetItemString(d,"wxSTC_EIFFEL_WORD", PyInt_FromLong((long) 3));
|
|
PyDict_SetItemString(d,"wxSTC_EIFFEL_STRING", PyInt_FromLong((long) 4));
|
|
PyDict_SetItemString(d,"wxSTC_EIFFEL_CHARACTER", PyInt_FromLong((long) 5));
|
|
PyDict_SetItemString(d,"wxSTC_EIFFEL_OPERATOR", PyInt_FromLong((long) 6));
|
|
PyDict_SetItemString(d,"wxSTC_EIFFEL_IDENTIFIER", PyInt_FromLong((long) 7));
|
|
PyDict_SetItemString(d,"wxSTC_EIFFEL_STRINGEOL", PyInt_FromLong((long) 8));
|
|
PyDict_SetItemString(d,"wxSTC_MASK_FOLDERS", PyInt_FromLong((long) ((1<<(30))|(1<<(31)))));
|
|
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_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_KEY", PyInt_FromLong((long) wxEVT_STC_KEY));
|
|
PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", PyInt_FromLong((long) wxEVT_STC_DOUBLECLICK));
|
|
PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", PyInt_FromLong((long) wxEVT_STC_UPDATEUI));
|
|
PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", PyInt_FromLong((long) wxEVT_STC_MODIFIED));
|
|
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,"wxEVT_STC_POSCHANGED", PyInt_FromLong((long) wxEVT_STC_POSCHANGED));
|
|
PyDict_SetItemString(d,"wxEVT_STC_PAINTED", PyInt_FromLong((long) wxEVT_STC_PAINTED));
|
|
PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", PyInt_FromLong((long) wxEVT_STC_USERLISTSELECTION));
|
|
PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", PyInt_FromLong((long) wxEVT_STC_URIDROPPED));
|
|
PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", PyInt_FromLong((long) wxEVT_STC_DWELLSTART));
|
|
PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", PyInt_FromLong((long) wxEVT_STC_DWELLEND));
|
|
|
|
|
|
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);
|
|
}
|
|
}
|