kicad/pcbnew/swig
Seth Hillbrand 8b060799eb python: Fix Phoenix app setting
Phoenix doesn't have the same initialization as wxpython3 and so the
namespace doesn't get the wxApp() initialized to the existing instance.
In python, this is worked around by starting a new wxApp.
Unfortunately, this appears to overwrite the existing global instance
variable.  The issue _appears_ to be in Phoenix but for now we work
around it by saving and resetting the instance pointer in the main app.
The downside is that Python likely won't be able to respond to events
from C++

Fixes: lp:1809913
* https://bugs.launchpad.net/kicad/+bug/1809913
2019-01-24 19:41:07 -08:00
..
tests Fix incompatibilites between Python 2 and Python 3 2018-10-19 09:59:05 +02:00
TODO.txt SWIG Improvements 2016-09-20 11:59:43 -04:00
board.i Ensure compatibility with "old" pythons scripts after renaming SetUseGerberAttributes() to SetUseGerberX2format() 2018-12-09 08:38:23 +01:00
board_connected_item.i rename files 2018-02-02 21:57:12 +01:00
board_design_settings.i rename files 2018-02-02 21:57:12 +01:00
board_item.i Add SWIG support for NETCLASSPTR. Reduce SWIG visibility from C++ headers. 2016-09-21 19:52:04 -04:00
board_item_container.i Fix for crash due to pcbnew_action_plugin object tracking 2018-03-13 10:19:39 +01:00
connectivity.i pcbnew: Separating connectivity to subdir 2018-10-12 16:31:09 -07:00
dimension.i More SWIG improvements. 2016-09-20 21:48:44 -04:00
drawsegment.i More SWIG improvements. 2016-09-20 21:48:44 -04:00
edge_mod.i More SWIG improvements. 2016-09-20 21:48:44 -04:00
footprint.i pcbnew: add 3d models properties to swig 2018-09-08 10:28:55 -04:00
marker_pcb.i More SWIG improvements. 2016-09-20 21:48:44 -04:00
netclass.i fix code after renaming files 2018-01-30 15:34:09 +01:00
netinfo.i netinfo.i: fix incorrect position of a declaration, that was not taken in account. 2018-05-24 09:43:04 +02:00
pad.i define SetPadName() and GetPadName() (old name of D_PAD::SetName() and GetName()) for compatibility with existing python scripts 2017-10-09 09:58:15 +02:00
pcb_plot_params.i Ensure compatibility with "old" pythons scripts after renaming SetUseGerberAttributes() to SetUseGerberX2format() 2018-12-09 08:38:23 +01:00
pcb_target.i refactoring: wrapped boost::optional in OPT<> class for the purpose of easier transition to C++17 in the future 2017-11-03 23:59:02 +01:00
pcb_text.i More SWIG improvements. 2016-09-20 21:48:44 -04:00
pcbnew.i Make gerber job file writer accessible by Python scripts 2018-08-01 16:32:37 +02:00
pcbnew_action_plugins.cpp Introduce PyStringToWx helper to remove code duplication 2018-10-19 09:59:06 +02:00
pcbnew_action_plugins.h Fix warning: 'HAVE_CLOCK_GETTIME' macro redefined 2018-10-19 09:59:06 +02:00
pcbnew_footprint_wizards.cpp Fix coding style issue (space after if) 2018-10-19 09:59:06 +02:00
pcbnew_footprint_wizards.h Fix warning: 'HAVE_CLOCK_GETTIME' macro redefined 2018-10-19 09:59:06 +02:00
pcbnew_scripting_helpers.cpp pcbnew: Synchonize net info when loading via python 2018-12-03 17:05:18 -08:00
pcbnew_scripting_helpers.h Python binding: fix pcbnew.Refresh() to make a better re-initialization. 2018-06-07 10:04:29 +02:00
plugins.i Fix code after renaming files. Minor other fix. 2018-01-30 20:23:35 +01:00
python_scripting.cpp python: Fix Phoenix app setting 2019-01-24 19:41:07 -08:00
python_scripting.h Add initial support for Phoenix (new wxPython binding) 2018-10-26 13:21:11 +02:00
text_mod.i More SWIG improvements. 2016-09-20 21:48:44 -04:00
track.i More SWIG improvements. 2016-09-20 21:48:44 -04:00
typeinfo.i Changes to python interface enabling net->pads access. 2017-11-23 17:35:39 +01:00
units.i A few enhancements from a larger patch, not yet committed, for footprint wizards 2016-12-28 10:26:01 +01:00
zone.i PCBNEW: Re-add missing SWIG zone filler 2018-08-08 12:25:58 -07:00
zone_settings.i fix code after renaming files 2018-01-30 15:34:09 +01:00