Re: [Kicad-developers] wxAUI woes

2017-10-15 Thread Greg Smith
And, I have only been able to create the window undocked and I can manually dock it. I also have not figured out how to programmatically undock it either.. I figured out the code sequence largely by trial and error. Greg S. > On Oct 15, 2017, at 9:19 PM, Greg Smith wrote: > > The following co

Re: [Kicad-developers] wxAUI woes

2017-10-15 Thread Greg Smith
The following code in python creates a docked window: https://github.com/HiGregSmith/LayerViewSet/blob/master/layerviewset.py See the class "gui" and the function "Run". You have to find the AUIManager and add an AuiPaneInfo as well as set the parent. It's a little tricky. I hope this helps. cl

Re: [Kicad-developers] wxAUI woes

2017-10-15 Thread Oliver Walters
The image is 1920x1020, there should be no issue reading the text... Anyway, the issue is that I have tried to add a new panel to the module selector window, by copying the code used to add the panels that are currently there. Compiles ok but when I run KiCad and open the selector, the new panel i

Re: [Kicad-developers] wxAUI woes

2017-10-15 Thread Greg Smith
I can't read the text, there's not enough resolution. What is the issue? I've had windows that seem to be tucked under the horizontal toolbar. Greg S. > On Oct 15, 2017, at 7:46 PM, Oliver Walters > wrote: > > I'm trying to add a new panel to the module viewer window. "screenshot" below. > >

[Kicad-developers] wxAUI woes

2017-10-15 Thread Oliver Walters
I'm trying to add a new panel to the module viewer window. "screenshot" below. However I can't get wxAUI to play along at all. I cannot even get a new panel to be displayed in this window. Are there any particular tricks that may be non-obvious? https://i.imgur.com/dXj51u1.png Cheers, Oliver __