Save all panels of aui.notebook

Hi,

I am creating am agw aui frame(s) w/ a notebook etc, pretty much like in
the AGW Aui Docking Library demo

Now I want to save all opened notebook panels w/ their respective
contents etc to be able to easily restore that state and entered values.
What would be the smartest way to do it?

I can always "collect" all panel contents and recreate these panels
later and post the collected data back etc, but I thought maybe there is
a better way to do it.

ThanX

There’s a way to save the perspective, which I think is what you’re talking about. This old thread might help: http://wxpython-users.1045709.n5.nabble.com/agw-aui-perspectives-td2372970.html

There’s also the PersistentControls thing: https://groups.google.com/forum/#!topic/wxpython-users/4yRpm-ogHzE

I haven’t played with either of those, but they sure sound neat.

···

Mike Driscoll
www.mousevspython.com

There's a way to save the perspective, which I think is what you're
talking about. This old thread might help:
http://wxpython-users.1045709.n5.nabble.com/agw-aui-perspectives-td2372970.html

ThanX- I figured from the demo how to save the perspectives, but this is
"only" for the frames, not the notebook, i.e. tabs.

There's also the PersistentControls thing:
Redirecting to Google Groups

This thread adresses exactly my problem.
Werner, have you gotten around to solve this problem. Is saving the
notebook implemented working yet?

···

Am 31.01.12 22:38, schrieb Mike Driscoll:

I haven't played with either of those, but they sure sound neat.

-------------------
Mike Driscoll
www.mousevspython.com
--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en

Hi Tobias,

There's a way to save the perspective, which I think is what you're
talking about. This old thread might help:
http://wxpython-users.1045709.n5.nabble.com/agw-aui-perspectives-td2372970.html

ThanX- I figured from the demo how to save the perspectives, but this is
"only" for the frames, not the notebook, i.e. tabs.

In the 2.9.3.1 demo? Just tried and it works for me using the "Example 2".

There's also the PersistentControls thing:
Redirecting to Google Groups

This thread adresses exactly my problem.
Werner, have you gotten around to solve this problem. Is saving the
notebook implemented working yet?

I am not sure what you think I solved in that thread as I didn't participate in it;-) .

But I am using persistence in my new stuff which is wxPython 2.9.x based, there where some issues with I worked out with Andrea. I think/guess that the persistance stuff in SVN is also compatible with 2.8.x, but I am not sure.

One thing to watch out is that you have to use SetName on controls you want to persist and the name has to be unique, I think per persistence manager.

Werner

···

On 01/02/2012 00:48, Tobias Weber wrote:

Am 31.01.12 22:38, schrieb Mike Driscoll: