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 <ecomput...@yahoo.com> wrote: > > 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. > class gui (layerviewset_gui.layerviewset_panel): > """Inherits from the layerviewset_gui form wxFormBuilder. Supplies > functions that tie the gui to the layerviewset class below.""" > _lvset_instance = None > interior_panel = None > def __init__(self, lvset_instance, parent_frame, pane=None, *args, **kw): > > self._lvset_instance = lvset_instance > if pane is not None: > manager.AddPane( self, pane) > super(gui,self).__init__(parent_frame)#, *args, **kw) > > > Greg S. > >> On Oct 15, 2017, at 9:00 PM, Oliver Walters <oliver.henry.walt...@gmail.com> >> wrote: >> >> 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 is not visible anywhere. I realize this isn't much of a problem >> description, but I was wondering if there was some trick that is >> undocumented (or documented somewhere that I haven't found it) that I need >> to know to display wxAUI panels. >> >> >> >>> On Mon, Oct 16, 2017 at 12:29 PM, Greg Smith <ecomput...@yahoo.com> wrote: >>> 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 >>>> <oliver.henry.walt...@gmail..com> wrote: >>>> >>>> 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 >>>> _______________________________________________ >>>> Mailing list: https://launchpad.net/~kicad-developers >>>> Post to : kicad-developers@lists.launchpad.net >>>> Unsubscribe : https://launchpad.net/~kicad-developers >>>> More help : https://help.launchpad.net/ListHelp >>>> >>
_______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp