If I use an AUI notebook, I can drag tabs around to create really
interesting layouts. However, i don't see any way to save and restore
a particular layout.
If I use a AuiManager, I can add panels to create interesting layouts,
and I can save and restore perspectives, but then I lose the ability
to have my panels appear and behave as notebook tabs.
For example, I'd like a layout where I have a left rail that has two
notebook tabs. I want a right rail with one notebook tab. I want to be
able to drag one of the tabs from the left and move it to the right.
And I want to be able to save that new configuration.
Is this possible, or is saving and restoring perspectives limited to
panels, with no way to save the tab configuration?
Are you using wx.aui or wx.lib.agw.aui? I believe that agw.aui (newest version from SVN) can save notebook perspectives, but I haven't done it myself yet so I'm not sure how.
···
On 4/30/10 9:58 AM, Bryan Oakley wrote:
If I use an AUI notebook, I can drag tabs around to create really
interesting layouts. However, i don't see any way to save and restore
a particular layout.
If I use a AuiManager, I can add panels to create interesting layouts,
and I can save and restore perspectives, but then I lose the ability
to have my panels appear and behave as notebook tabs.
For example, I'd like a layout where I have a left rail that has two
notebook tabs. I want a right rail with one notebook tab. I want to be
able to drag one of the tabs from the left and move it to the right.
And I want to be able to save that new configuration.
Is this possible, or is saving and restoring perspectives limited to
panels, with no way to save the tab configuration?