[wxPython-users] $50 question : wx.AuiNotebook problem
Frank Niessink
frank at niessink.com
Thu Mar 8 11:50:03 PST 2007
Hi Robin,
2007/3/8, Robin Dunn <robin at alldunn.com>:
> Frank Niessink wrote:
>
> > I think Robin needs to expose more (all?) of the AUI methods in python
> > to be able to do that...
>
> Everything that is public in the C++ classes is available in the Python
> classes currently. I think that explicit perspective saving and loading
> that is aware of the specific structure of the AuiNotebook needs to be
> added. I've asked Ben about it...
I got stuck because the the AuiNotebook doesn't allow the programmer
to get to the tab containers. The alternative route, via the
AuiManager, doesn't work either: it is possible to get at the panes
via AuiManager.GetAllPanes() but the window property of the returned
PaneInfo objects is always of type wx.Window instead of AuiTabCtrl
(making it impossible to get to the individual tabs via the Panes). I
think that in C++ you can cast the wx.Window instance to a AuiTabCtrl
but in Python that doesn't work afaik.
Cheers, Frank
More information about the wxpython-users
mailing list