kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #13698
Re: Python Scripting Window event handling
Do you know is there is a cmake switch to use wx 2.8? I could not find
a variable in CMakeCache.txt, only the include strings.
2014-06-12 23:27 GMT+02:00 Dick Hollenbeck <dick@xxxxxxxxxxx>:
> This fails. A difference is wx 2.8.12.
>
> Application: pcbnew
> Version: (2014-06-12 BZR 4942)-product Debug build
> wxWidgets: Version 2.8.12 (release,Unicode,compiler with C++ ABI 1002,GCC 4.8.2,wx
> containers,compatible with 2.6)
> Platform: Linux 3.13.0-27-lowlatency x86_64, 64 bit, Little endian, wxGTK
> Boost version: 1.54.0
> USE_WX_GRAPHICS_CONTEXT=OFF
> USE_WX_OVERLAY=OFF
> KICAD_SCRIPTING=ON
> KICAD_SCRIPTING_MODULES=ON
> KICAD_SCRIPTING_WXPYTHON=ON
> USE_FP_LIB_TABLE=HARD_CODED_ON
> BUILD_GITHUB_PLUGIN=ON
>
>
> On 06/12/2014 03:16 PM, Nick Østergaard wrote:
>> I just compiled 4941 with all the scripting options enabled on my
>> Archlinux and I don't have that problem. I can type the whole
>> alphabet.
>>
>> Version: (2014-06-12 BZR 4941)-kicad Release build
>> wxWidgets: Version 3.0.0 (debug,wchar_t,compiler with C++ ABI 1002,GCC
>> 4.9.0,STL containers,compatible with 2.8)
>> Platform: Linux 3.14.6-1-ARCH x86_64, 64 bit, Little endian, wxGTK
>> Boost version: 1.55.0
>> USE_WX_GRAPHICS_CONTEXT=OFF
>> USE_WX_OVERLAY=OFF
>> KICAD_SCRIPTING=ON
>> KICAD_SCRIPTING_MODULES=ON
>> KICAD_SCRIPTING_WXPYTHON=ON
>> USE_FP_LIB_TABLE=HARD_CODED_ON
>> BUILD_GITHUB_PLUGIN=ON
>>
>> 2014-06-12 17:14 GMT+02:00 Dick Hollenbeck <dick@xxxxxxxxxxx>:
>>> The keys I press when the focus is on the Python Scripting window seem to be filtered by
>>> some higher up handler in the pcbnew editor.
>>>
>>> For example, the 'o' key, and the 'x' key do not make it to the python console. They
>>> cause a tool change in the pcbnew editor instead of allowing me add that character to the
>>> console command:
>>>
>>>
>>> Type help() for interactive help, or help(object) for help about object.
>>> abcdefghijklmnpqrstuvwyz
>>>
>>>
>>> Here I typed the entire alphabet, yet o and x did not come through.
>>>
>>> When did this change?
>>>
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~kicad-developers
>>> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~kicad-developers
>>> More help : https://help.launchpad.net/ListHelp
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
Follow ups
References