kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #13717
Re: Python Scripting Window event handling
I had test this patch but unfortunately is not working for me:
Ubuntu 12.04 (amd64)
wx2.8.12 (default ubuntu version)
I still have issue with x and o letter.
Regards
Le 13/06/2014 20:28, jp charras a écrit :
> Le 13/06/2014 15:39, Dick Hollenbeck a écrit :
>> The problem is made more difficult by the wxWindow hierarchy chosen. I don't know if it
>> would be possible and easier if everything except the console wxWindow had a common
>> wxPanel parent. That wxPanel injection might make the problem easier to solve, but it
>> might not be possible with some children insisting on a wxFrame parent.
>>
> For your proposal (everything on a common wxPanel) I am thinking this is
> possible: I have a branch where I put all widgets (draw panel, msg
> panel, toolbar ... ) on a wxPanel to build a clone of ViewLib.
> This clone can be shown in a Dialog or a Frame with very few specific
> code (no more than 20 lines).
>
>
> However I attached a patch which seems (for me) fix the keys issue.
>
> The change is only using a wxPanel instead of a too generic wxWindow to
> manage the PyConsole.
>
> Note, the PyConsole is actually a wxPanel, so I am thinking using a
> wxWindow as base type was a bug, or, at least, a bad idea.
>
> I tested the patch on Linux Ubuntu 10, but not on Windows.
> (Due to my working environment, It is more difficult for me to test
> Kicad on Windows, when it is built with option KICAD_SCRIPTING_WXPYTHON=ON).
>
> Can someone test this patch (On Windows and on Linux) ?
> (I did not made a lot of tests)
>
>
>
> _______________________________________________
> 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
-
Python Scripting Window event handling
From: Dick Hollenbeck, 2014-06-12
-
Re: Python Scripting Window event handling
From: Nick Østergaard, 2014-06-12
-
Re: Python Scripting Window event handling
From: Dick Hollenbeck, 2014-06-12
-
Re: Python Scripting Window event handling
From: Nick Østergaard, 2014-06-12
-
Re: Python Scripting Window event handling
From: Dick Hollenbeck, 2014-06-12
-
Re: Python Scripting Window event handling
From: Brian Sidebotham, 2014-06-13
-
Re: Python Scripting Window event handling
From: jp charras, 2014-06-13
-
Re: Python Scripting Window event handling
From: Dick Hollenbeck, 2014-06-13
-
Re: Python Scripting Window event handling
From: Dick Hollenbeck, 2014-06-13
-
Re: Python Scripting Window event handling
From: jp charras, 2014-06-13