2 % automatically generated by HelpGen $Revision$ from
3 % auibook.h at 11/Nov/06 22:56:01
6 \section{\class{wxAuiNotebook
}}\label{wxauinotebook
}
8 wxAuiNotebook is a notebook control which implements many features common in applications with dockable panes.
9 Specifically, wxAuiNotebook implements functionality which allows the user to rearrange tab order via drag-and-drop,
10 split the tab window into many different splitter configurations, and toggle through different themes to customize
11 the control's look and feel.
13 An effort has been made to try to maintain an API as similar to that of wxNotebook.
15 The default theme that is used is wxAuiDefaultTabArt, which provides a modern, glossy look and feel.
16 The theme can be changed by calling
\helpref{wxAuiNotebook::SetArtProvider
}{wxauinotebooksetartprovider
}.
18 \wxheading{Derived from
}
20 \helpref{wxControl
}{wxcontrol
}
22 \wxheading{Include files
}
26 \wxheading{Data structures
}
28 \latexignore{\rtfignore{\wxheading{Members
}}}
30 \membersection{wxAuiNotebook::wxAuiNotebook
}\label{wxauinotebookwxauinotebook
}
32 \func{}{wxAuiNotebook
}{\void}
34 \func{}{wxAuiNotebook
}{\param{wxWindow*
}{parent
},
\param{wxWindowID
}{id = wxID
\_ANY},
\param{const wxPoint\&
}{pos = wxDefaultPosition
},
\param{const wxSize\&
}{size = wxDefaultSize
},
\param{long
}{style = wxAUI
\_NB\_DEFAULT\_STYLE}}
36 Constructor. Creates a wxAuiNotebok control.
38 \membersection{wxAuiNotebook::AddPage
}\label{wxauinotebookaddpage
}
40 \func{bool
}{AddPage
}{\param{wxWindow*
}{page
},
\param{const wxString\&
}{caption
},
\param{bool
}{select = false
},
\param{const wxBitmap\&
}{bitmap = wxNullBitmap
}}
44 \membersection{wxAuiNotebook::Create
}\label{wxauinotebookcreate
}
46 \func{bool
}{Create
}{\param{wxWindow*
}{parent
},
\param{wxWindowID
}{id = wxID
\_ANY},
\param{const wxPoint\&
}{pos = wxDefaultPosition
},
\param{const wxSize\&
}{size = wxDefaultSize
},
\param{long
}{style =
0}}
48 Creates the notebook window.
50 \membersection{wxAuiNotebook::DeletePage
}\label{wxauinotebookdeletepage
}
52 \func{bool
}{DeletePage
}{\param{size
\_t }{page
}}
54 Deletes a page at the given index.
56 \membersection{wxAuiNotebook::FindTab
}\label{wxauinotebookfindtab
}
58 \func{bool
}{FindTab
}{\param{wxWindow*
}{page
},
\param{wxAuiTabCtrl**
}{ctrl
},
\param{int*
}{idx
}}
62 \membersection{wxAuiNotebook::GetActiveTabCtrl
}\label{wxauinotebookgetactivetabctrl
}
64 \func{wxAuiTabCtrl*
}{GetActiveTabCtrl
}{\void}
66 Returns the active tab.
68 \membersection{wxAuiNotebook::GetArtProvider
}\label{wxauinotebookgetartprovider
}
70 \constfunc{wxAuiTabArt*
}{GetArtProvider
}{\void}
72 Returns the associated art provider.
74 \membersection{wxAuiNotebook::GetPage
}\label{wxauinotebookgetpage
}
76 \constfunc{wxWindow*
}{GetPage
}{\param{size
\_t }{page
\_idx}}
78 Returns the page specified by the given index.
80 \membersection{wxAuiNotebook::GetPageCount
}\label{wxauinotebookgetpagecount
}
82 \constfunc{size
\_t}{GetPageCount
}{\void}
84 Returns the number of pages.
86 \membersection{wxAuiNotebook::GetPageIndex
}\label{wxauinotebookgetpageindex
}
88 \constfunc{int
}{GetPageIndex
}{\param{wxWindow*
}{page
\_wnd}}
90 Reurns the page index for the given window.
92 \membersection{wxAuiNotebook::GetSelection
}\label{wxauinotebookgetselection
}
94 \constfunc{int
}{GetSelection
}{\void}
96 Returns the currently selected page.
98 \membersection{wxAuiNotebook::InsertPage
}\label{wxauinotebookinsertpage
}
100 \func{bool
}{InsertPage
}{\param{size
\_t }{page
\_idx},
\param{wxWindow*
}{page
},
\param{const wxString\&
}{caption
},
\param{bool
}{select = false
},
\param{const wxBitmap\&
}{bitmap = wxNullBitmap
}}
104 \membersection{wxAuiNotebook::RemovePage
}\label{wxauinotebookremovepage
}
106 \func{bool
}{RemovePage
}{\param{size
\_t }{page
}}
110 \membersection{wxAuiNotebook::SetArtProvider
}\label{wxauinotebooksetartprovider
}
112 \func{void
}{SetArtProvider
}{\param{wxAuiTabArt*
}{art
}}
114 Sets the art provider to be used by the notebook.
116 \membersection{wxAuiNotebook::SetPageBitmap
}\label{wxauinotebooksetpagebitmap
}
118 \func{bool
}{SetPageBitmap
}{\param{size
\_t }{page
},
\param{const wxBitmap\&
}{bitmap
}}
120 Sets the bitmap for the page.
122 \membersection{wxAuiNotebook::SetPageText
}\label{wxauinotebooksetpagetext
}
124 \func{bool
}{SetPageText
}{\param{size
\_t }{page
},
\param{const wxString\&
}{text
}}
126 Sets the ab label for the page.
128 \membersection{wxAuiNotebook::SetSelection
}\label{wxauinotebooksetselection
}
130 \func{size
\_t}{SetSelection
}{\param{size
\_t }{new
\_page}}
132 Sets the page selection.
134 \membersection{wxAuiNotebook::SetTabCtrlHeight
}\label{wxauinotebooksettabctrlheight
}
136 \func{void
}{SetTabCtrlHeight
}{\param{int
}{height
}}