How do I hide/show the AUI pane?

You can give the panel a name via .Name("..."), then reference it in GetPane and then call Update() to update the layout

        self.mgr = AUIManager(self)

        ...

        self.mgr.AddPane(self.mypanel,
                          aui.AuiPaneInfo()
                          .Name("mypanel")
                          .Right().Layer(2)
                          .BestSize(360, 500))

        pane = self.mgr.GetPane("mypanel")
        pane.Show() # Will show the pane
        pane.Hide() # Will hide the pane
        self.mgr.Update() # Make sure to call Update()
1 Like