Kirix Support Forums

How to create a auinotebook like this

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

How to create a auinotebook like this

Postby wenning on Sun Sep 27, 2009 11:16 am

view.JPG
view.JPG (7.49 KiB) Viewed 1818 times

the common one:
wxAuiNotebook* itemAuiNotebook46 = new wxAuiNotebook( itemFrame1, ID_AUINOTEBOOK3, wxDefaultPosition, wxDefaultSize, wxAUI_NB_DEFAULT_STYLE|wxAUI_NB_TOP );
m_test = new wxPanel( itemAuiNotebook46, ID_PANEL9, wxDefaultPosition, wxDefaultSize, wxSUNKEN_BORDER|wxTAB_TRAVERSAL );
itemAuiNotebook46->AddPage(m_test, _("Tab"), false);
................................

I try to:
itemAuiNotebook46->GetAuiManager().AddPane(m_test , wxAuiPaneInfo().row(1)............)
but AuiNoteBook's GetAuiManager is const member function;
wenning
Registered User
 
Posts: 1
Joined: Sun Sep 27, 2009 11:00 am

Re: How to create a auinotebook like this

Postby Ben on Mon Sep 28, 2009 4:31 pm

I'm afraid that, at this moment, the configuration can't be set programmatically. The pane splittage can only be performed by the user himself.

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

Return to wxAUI Questions, Thoughts & Feedback