[wxPython-users] $50 question : wx.AuiNotebook problem
Frank Niessink
frank at niessink.com
Thu Mar 8 13:50:51 PST 2007
Hi Stani,
2007/3/8, SPE Stani's Python Editor <spe.stani.be at gmail.com>:
> I also tried to figure out which pages are in which panes by looping
> over the pages of the notebook and applying
> self.manager.GetPane(page). To my biggest surprise it returns other
> panes as with self.manager.GetAllPanes(). Why is that? It seems like a
> bug if the auimanager return panes which are not in the "get all
> panes".
That's because the pages of the notebook are not a child window of the
panes. Did you check whether the result of GetPane(page) was actually
valid? (with pane.IsOk()). It is probably not valid.
As far as I can tell there is no way to find out which page is located
in which pane, so loading and saving of the perspective won't work
with the current implementation of AUI.
Too bad, Frank
More information about the wxpython-users
mailing list