Defines | Functions | Variables
helpers.cpp File Reference
#include <Python.h>
#include "wx/wxPython/wxPython_int.h"
#include "wx/wxPython/pyistream.h"
#include "wx/wxPython/swigver.h"
#include "wx/wxPython/twoitem.h"
#include <wx/clipbrd.h>
#include <wx/mimetype.h>
#include <wx/image.h>
Include dependency graph for helpers.cpp:

Go to the source code of this file.

Defines

#define _AddInfoString(st)
#define DEFAULTENCODING_SIZE   64
#define wxPy_POSTCALLCLEANUP   "_postCallCleanup"
#define wxPy_PRECALLINIT   "_preCallInit"

Functions

void __wxPyCleanup ()
void __wxPyPreStart (PyObject *moduleDict)
PyObject * __wxPySetDictionary (PyObject *, PyObject *args)
byte * byte_LIST_helper (PyObject *source)
const char * dropwx (const char *name)
 IMPLEMENT_ABSTRACT_CLASS (wxPyApp, wxApp)
 IMPLEMENT_ABSTRACT_CLASS (wxPyCallback, wxObject)
 IMPLEMENT_ABSTRACT_CLASS (wxPyEvent, wxEvent)
 IMPLEMENT_ABSTRACT_CLASS (wxPyCommandEvent, wxCommandEvent)
int * int_LIST_helper (PyObject *source)
long * long_LIST_helper (PyObject *source)
wxString Py2wxString (PyObject *source)
static PyObject * PyMethod_GetDefiningClass (PyObject *method, PyObject *nameo)
char ** string_LIST_helper (PyObject *source)
PyObject * wx2PyString (const wxString &src)
wxAcceleratorEntry * wxAcceleratorEntry_LIST_helper (PyObject *source)
PyObject * wxArrayDouble2PyList_helper (const wxArrayDouble &arr)
PyObject * wxArrayInt2PyList_helper (const wxArrayInt &arr)
PyObject * wxArrayString2PyList_helper (const wxArrayString &arr)
wxBitmap ** wxBitmap_LIST_helper (PyObject *source)
bool wxColour_helper (PyObject *source, wxColour **obj)
bool wxColour_typecheck (PyObject *source)
const char * wxGetDefaultPyEncoding ()
wxPen ** wxPen_LIST_helper (PyObject *source)
bool wxPoint2D_helper (PyObject *source, wxPoint2D **obj)
wxPoint2D * wxPoint2D_LIST_helper (PyObject *source, size_t *count)
bool wxPoint2DFromObjects (PyObject *o1, PyObject *o2, wxPoint2D *point)
bool wxPoint_helper (PyObject *source, wxPoint **obj)
wxPoint * wxPoint_LIST_helper (PyObject *source, int *count)
bool wxPointFromObjects (PyObject *o1, PyObject *o2, wxPoint *point)
bool wxPy2int_seq_helper (PyObject *source, int *i1, int *i2)
bool wxPy4int_seq_helper (PyObject *source, int *i1, int *i2, int *i3, int *i4)
PyObject * wxPy_ConvertList (wxListBase *listbase)
PyThreadState * wxPyBeginAllowThreads ()
wxPyBlock_t wxPyBeginBlockThreads ()
int wxPyCBH_callCallback (const wxPyCallbackHelper &cbh, PyObject *argTuple)
PyObject * wxPyCBH_callCallbackObj (const wxPyCallbackHelper &cbh, PyObject *argTuple)
void wxPyCBH_delete (wxPyCallbackHelper *cbh)
bool wxPyCBH_findCallback (const wxPyCallbackHelper &cbh, const char *name, bool setGuard)
void wxPyCBH_setCallbackInfo (wxPyCallbackHelper &cbh, PyObject *self, PyObject *klass, int incref)
wxPyCBInputStream * wxPyCBInputStream_copy (wxPyCBInputStream *other)
wxPyCBInputStream * wxPyCBInputStream_create (PyObject *py, bool block)
bool wxPyCheckForApp ()
void wxPyClientData_dtor (wxPyClientData *self)
void wxPyEndAllowThreads (PyThreadState *saved)
void wxPyEndBlockThreads (wxPyBlock_t blocked)
long wxPyGetWinHandle (wxWindow *win)
PyObject * wxPyMake_wxObject (wxObject *source, bool setThisOwn, bool checkEvtHandler)
PyObject * wxPyMake_wxSizer (wxSizer *source, bool setThisOwn)
void wxPyOORClientData_dtor (wxPyOORClientData *self)
void wxPyPtrTypeMap_Add (const char *commonName, const char *ptrName)
bool wxPySimple_typecheck (PyObject *source, const wxChar *classname, int seqLen)
bool wxPyTestDisplayAvailable ()
void wxPyUserData_dtor (wxPyUserData *self)
bool wxRealPoint_helper (PyObject *source, wxRealPoint **obj)
bool wxRect2D_helper (PyObject *source, wxRect2D **obj)
bool wxRect_helper (PyObject *source, wxRect **obj)
void wxSetDefaultPyEncoding (const char *encoding)
bool wxSize_helper (PyObject *source, wxSize **obj)
wxString * wxString_in_helper (PyObject *source)
wxString * wxString_LIST_helper (PyObject *source)

Variables

static PyObject * wxPyAssertionError = NULL
static char wxPyDefaultEncoding [DEFAULTENCODING_SIZE] = "ascii"
bool wxPyDoCleanup = false
bool wxPyDoingCleanup = false
static PyObject * wxPyNoAppError = NULL
PyObject * wxPyPtrTypeMap = NULL
static PyObject * wxPython_dict = NULL
wxPyApp * wxPythonApp = NULL

Define Documentation

#define _AddInfoString (   st)
Value:
obj = PyString_FromString(st); \
    PyList_Append(PlatInfo, obj); \
    Py_DECREF(obj)
#define DEFAULTENCODING_SIZE   64

Definition at line 91 of file helpers.cpp.

#define wxPy_POSTCALLCLEANUP   "_postCallCleanup"

Definition at line 1419 of file helpers.cpp.

#define wxPy_PRECALLINIT   "_preCallInit"

Definition at line 1418 of file helpers.cpp.


Function Documentation

void __wxPyCleanup ( )

Definition at line 606 of file helpers.cpp.

void __wxPyPreStart ( PyObject *  moduleDict)

Definition at line 574 of file helpers.cpp.

PyObject* __wxPySetDictionary ( PyObject *  ,
PyObject *  args 
)

Definition at line 626 of file helpers.cpp.

byte* byte_LIST_helper ( PyObject *  source)

Definition at line 1975 of file helpers.cpp.

const char* dropwx ( const char *  name) [inline]

Definition at line 562 of file helpers.cpp.

IMPLEMENT_ABSTRACT_CLASS ( wxPyApp  ,
wxApp   
)
IMPLEMENT_ABSTRACT_CLASS ( wxPyCallback  ,
wxObject   
)
IMPLEMENT_ABSTRACT_CLASS ( wxPyEvent  ,
wxEvent   
)
IMPLEMENT_ABSTRACT_CLASS ( wxPyCommandEvent  ,
wxCommandEvent   
)
int* int_LIST_helper ( PyObject *  source)

Definition at line 1998 of file helpers.cpp.

long* long_LIST_helper ( PyObject *  source)

Definition at line 2021 of file helpers.cpp.

wxString Py2wxString ( PyObject *  source)

Definition at line 1906 of file helpers.cpp.

static PyObject* PyMethod_GetDefiningClass ( PyObject *  method,
PyObject *  nameo 
) [static]

Definition at line 1595 of file helpers.cpp.

char** string_LIST_helper ( PyObject *  source)

Definition at line 2044 of file helpers.cpp.

PyObject* wx2PyString ( const wxString &  src)

Definition at line 1949 of file helpers.cpp.

wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper ( PyObject *  source)

Definition at line 2361 of file helpers.cpp.

PyObject* wxArrayDouble2PyList_helper ( const wxArrayDouble &  arr)

Definition at line 2812 of file helpers.cpp.

PyObject* wxArrayInt2PyList_helper ( const wxArrayInt &  arr)

Definition at line 2800 of file helpers.cpp.

PyObject* wxArrayString2PyList_helper ( const wxArrayString &  arr)

Definition at line 2784 of file helpers.cpp.

wxBitmap** wxBitmap_LIST_helper ( PyObject *  source)

Definition at line 2297 of file helpers.cpp.

bool wxColour_helper ( PyObject *  source,
wxColour **  obj 
)

Definition at line 2611 of file helpers.cpp.

bool wxColour_typecheck ( PyObject *  source)

Definition at line 2688 of file helpers.cpp.

const char* wxGetDefaultPyEncoding ( )

Definition at line 1967 of file helpers.cpp.

wxPen** wxPen_LIST_helper ( PyObject *  source)

Definition at line 2397 of file helpers.cpp.

bool wxPoint2D_helper ( PyObject *  source,
wxPoint2D **  obj 
)

Definition at line 2701 of file helpers.cpp.

wxPoint2D* wxPoint2D_LIST_helper ( PyObject *  source,
size_t *  count 
)

Definition at line 2213 of file helpers.cpp.

bool wxPoint2DFromObjects ( PyObject *  o1,
PyObject *  o2,
wxPoint2D *  point 
) [inline]

Definition at line 2103 of file helpers.cpp.

bool wxPoint_helper ( PyObject *  source,
wxPoint **  obj 
)

Definition at line 2518 of file helpers.cpp.

wxPoint* wxPoint_LIST_helper ( PyObject *  source,
int *  count 
)

Definition at line 2130 of file helpers.cpp.

bool wxPointFromObjects ( PyObject *  o1,
PyObject *  o2,
wxPoint *  point 
) [inline]

Definition at line 2070 of file helpers.cpp.

bool wxPy2int_seq_helper ( PyObject *  source,
int *  i1,
int *  i2 
)

Definition at line 2429 of file helpers.cpp.

bool wxPy4int_seq_helper ( PyObject *  source,
int *  i1,
int *  i2,
int *  i3,
int *  i4 
)

Definition at line 2456 of file helpers.cpp.

PyObject* wxPy_ConvertList ( wxListBase *  listbase)

Definition at line 1816 of file helpers.cpp.

PyThreadState* wxPyBeginAllowThreads ( )

Definition at line 1007 of file helpers.cpp.

wxPyBlock_t wxPyBeginBlockThreads ( )

Definition at line 1030 of file helpers.cpp.

int wxPyCBH_callCallback ( const wxPyCallbackHelper &  cbh,
PyObject *  argTuple 
)

Definition at line 1717 of file helpers.cpp.

PyObject* wxPyCBH_callCallbackObj ( const wxPyCallbackHelper &  cbh,
PyObject *  argTuple 
)

Definition at line 1721 of file helpers.cpp.

void wxPyCBH_delete ( wxPyCallbackHelper *  cbh)

Definition at line 1726 of file helpers.cpp.

bool wxPyCBH_findCallback ( const wxPyCallbackHelper &  cbh,
const char *  name,
bool  setGuard 
)

Definition at line 1713 of file helpers.cpp.

void wxPyCBH_setCallbackInfo ( wxPyCallbackHelper &  cbh,
PyObject *  self,
PyObject *  klass,
int  incref 
)

Definition at line 1709 of file helpers.cpp.

wxPyCBInputStream* wxPyCBInputStream_copy ( wxPyCBInputStream *  other)

Definition at line 1298 of file helpers.cpp.

wxPyCBInputStream* wxPyCBInputStream_create ( PyObject *  py,
bool  block 
)

Definition at line 1294 of file helpers.cpp.

bool wxPyCheckForApp ( )

Definition at line 745 of file helpers.cpp.

void wxPyClientData_dtor ( wxPyClientData *  self)

Definition at line 766 of file helpers.cpp.

void wxPyEndAllowThreads ( PyThreadState *  saved)

Definition at line 1019 of file helpers.cpp.

void wxPyEndBlockThreads ( wxPyBlock_t  blocked)

Definition at line 1058 of file helpers.cpp.

long wxPyGetWinHandle ( wxWindow *  win)

Definition at line 1838 of file helpers.cpp.

PyObject* wxPyMake_wxObject ( wxObject *  source,
bool  setThisOwn,
bool  checkEvtHandler 
)

Definition at line 863 of file helpers.cpp.

PyObject* wxPyMake_wxSizer ( wxSizer *  source,
bool  setThisOwn 
)

Definition at line 928 of file helpers.cpp.

void wxPyOORClientData_dtor ( wxPyOORClientData *  self)

Definition at line 788 of file helpers.cpp.

void wxPyPtrTypeMap_Add ( const char *  commonName,
const char *  ptrName 
)

Definition at line 852 of file helpers.cpp.

bool wxPySimple_typecheck ( PyObject *  source,
const wxChar *  classname,
int  seqLen 
)

Definition at line 2493 of file helpers.cpp.

Definition at line 2969 of file helpers.cpp.

void wxPyUserData_dtor ( wxPyUserData *  self)

Definition at line 756 of file helpers.cpp.

bool wxRealPoint_helper ( PyObject *  source,
wxRealPoint **  obj 
)

Definition at line 2529 of file helpers.cpp.

bool wxRect2D_helper ( PyObject *  source,
wxRect2D **  obj 
)

Definition at line 2738 of file helpers.cpp.

bool wxRect_helper ( PyObject *  source,
wxRect **  obj 
)

Definition at line 2566 of file helpers.cpp.

void wxSetDefaultPyEncoding ( const char *  encoding)

Definition at line 1962 of file helpers.cpp.

bool wxSize_helper ( PyObject *  source,
wxSize **  obj 
)

Definition at line 2508 of file helpers.cpp.

wxString* wxString_in_helper ( PyObject *  source)

Definition at line 1860 of file helpers.cpp.

wxString* wxString_LIST_helper ( PyObject *  source)

Definition at line 2328 of file helpers.cpp.


Variable Documentation

PyObject* wxPyAssertionError = NULL [static]

Definition at line 95 of file helpers.cpp.

char wxPyDefaultEncoding[DEFAULTENCODING_SIZE] = "ascii" [static]

Definition at line 92 of file helpers.cpp.

bool wxPyDoCleanup = false

Definition at line 65 of file helpers.cpp.

bool wxPyDoingCleanup = false

Definition at line 66 of file helpers.cpp.

PyObject* wxPyNoAppError = NULL [static]

Definition at line 96 of file helpers.cpp.

PyObject* wxPyPtrTypeMap = NULL

Definition at line 98 of file helpers.cpp.

PyObject* wxPython_dict = NULL [static]

Definition at line 94 of file helpers.cpp.

wxPyApp* wxPythonApp = NULL

Definition at line 64 of file helpers.cpp.



wxPython_swig_interface
Author(s): Many
autogenerated on Mon Jan 6 2014 11:44:26