Kirix Support Forums

wxAuiNotebook tabs not remembered by Save/LoadPerspective

Please post all general questions, comments, bug reports, and any other wxAUI feedback here.

wxAuiNotebook tabs not remembered by Save/LoadPerspective

Postby jfrench on Mon Jan 01, 2007 1:34 pm

Hi Ben,

Save/LoadPerspective() does not take account of notebook pages. Is this intentional?

Happy New Year :)

Cheers,
James
jfrench
Registered User
 
Posts: 14
Joined: Mon Dec 18, 2006 6:58 am

Postby Ben on Mon Jan 01, 2007 2:07 pm

Hi James,

This is intentional. wxAuiNotebook is an tab control implementation similar to wxNotebook. Actual tab integration into wxAuiManager hasn't yet been coded. When it's done, you will be able to use Save/LoadPerspective() to automatically load tabs. For now, you'll have to serialize that information yourself.

All the best,
Ben
User avatar
Ben
Kirix Support Team
 
Posts: 525
Joined: Mon Dec 19, 2005 6:29 am

Postby jfrench on Tue Jan 02, 2007 4:54 am

Ok, will cope with it myself. Cheers Ben.
jfrench
Registered User
 
Posts: 14
Joined: Mon Dec 18, 2006 6:58 am

Postby luca on Fri Apr 20, 2007 4:41 am

Hello,

i wonder how to store and set that information about the pages' layout of a wxAuiNotebook.
For example, i would like to add the pages as they would be in a vertical wxBoxSizer (with a draggable splitter in their border line), but i do not see the API to do this. Any help?

Thanks,
Luca
luca
Registered User
 
Posts: 5
Joined: Fri Jun 30, 2006 4:43 am

Postby Ben on Fri Apr 20, 2007 3:01 pm

Hi Luca,

There isn't an API to do this yet. Right now only the user can drag around panes. We'll try to make this more complete in the future, as time permits us.

Thanks,
Ben
User avatar
Ben
Kirix Support Team
 
Posts: 525
Joined: Mon Dec 19, 2005 6:29 am

Return to wxAUI Questions, Thoughts & Feedback