How to save the tab layout for an AUINoteBook?
Ron Arts
ron.arts at neonova.nl
Sat Jan 12 15:21:54 PST 2008
Subject says it all. I could not find a way to do it.
I tried saving it as follows:
mgr =3D self.notebook.GetAuiManager()
self.config.Write("/NoteBook/perspective", mgr.SavePerspective())
and restoring:
config =3D wx.Config.Get()
mgr =3D self.notebook.GetAuiManager()
perspective =3D config.Read("/Notebook/perspective")
mgr.LoadPerspective(perspective)
I think it doesn't work because I cannot access the
paneinfo for each tab, so I can't set a name on it.
Thanks
Ron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3295 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.wxwidgets.org/pipermail/wx-users/attachments/20080113/25=
e12c8a/smime.bin
More information about the wx-users
mailing list