| 
    KiCad PCB EDA Suite
    
   | 
 
Python wrapping helpers for wx structures/objects. More...
#include <Python.h>#include <string_utils.h>#include <wx/intl.h>#include <wx/string.h>#include <wx/arrstr.h>Go to the source code of this file.
Macros | |
| #define | WX_DEFAULTENCODING_SIZE 64 | 
Functions | |
| PyObject * | wxArrayString2PyList (const wxArrayString &lst) | 
| wxString | Py2wxString (PyObject *src) | 
| PyObject * | wx2PyString (const wxString &src) | 
| void | wxSetDefaultPyEncoding (const char *encoding) | 
| const char * | wxGetDefaultPyEncoding () | 
Variables | |
| static char | wxPythonEncoding [WX_DEFAULTENCODING_SIZE] = "ascii" | 
Python wrapping helpers for wx structures/objects.
Definition in file wx_python_helpers.cpp.
| #define WX_DEFAULTENCODING_SIZE 64 | 
Definition at line 37 of file wx_python_helpers.cpp.
Referenced by wxSetDefaultPyEncoding().
| wxString Py2wxString | ( | PyObject * | src | ) | 
Definition at line 57 of file wx_python_helpers.cpp.
References From_UTF8(), result, and wxPythonEncoding.
| PyObject * wx2PyString | ( | const wxString & | src | ) | 
Definition at line 107 of file wx_python_helpers.cpp.
| PyObject * wxArrayString2PyList | ( | const wxArrayString & | lst | ) | 
Definition at line 42 of file wx_python_helpers.cpp.
| const char * wxGetDefaultPyEncoding | ( | ) | 
Definition at line 120 of file wx_python_helpers.cpp.
References wxPythonEncoding.
| void wxSetDefaultPyEncoding | ( | const char * | encoding | ) | 
Definition at line 113 of file wx_python_helpers.cpp.
References WX_DEFAULTENCODING_SIZE, and wxPythonEncoding.
      
  | 
  static | 
Definition at line 39 of file wx_python_helpers.cpp.
Referenced by Py2wxString(), wxGetDefaultPyEncoding(), and wxSetDefaultPyEncoding().