2006-11-11 17:04:05 -05:00
|
|
|
%
|
|
|
|
% automatically generated by HelpGen $Revision$ from
|
|
|
|
% auibook.h at 11/Nov/06 22:56:01
|
|
|
|
%
|
|
|
|
|
|
|
|
\section{\class{wxAuiNotebook}}\label{wxauinotebook}
|
|
|
|
|
2006-11-12 07:09:52 -05:00
|
|
|
wxAuiNotebook is a notebook control which implements many features common in applications with dockable panes.
|
|
|
|
Specifically, wxAuiNotebook implements functionality which allows the user to rearrange tab order via drag-and-drop,
|
|
|
|
split the tab window into many different splitter configurations, and toggle through different themes to customize
|
|
|
|
the control's look and feel.
|
2006-11-11 17:14:05 -05:00
|
|
|
|
|
|
|
An effort has been made to try to maintain an API as similar to that of wxNotebook.
|
|
|
|
|
2006-11-12 07:09:52 -05:00
|
|
|
The default theme that is used is wxAuiDefaultTabArt, which provides a modern, glossy look and feel.
|
|
|
|
The theme can be changed by calling \helpref{wxAuiNotebook::SetArtProvider}{wxauinotebooksetartprovider}.
|
2006-11-11 17:14:05 -05:00
|
|
|
|
2006-11-11 17:04:05 -05:00
|
|
|
\wxheading{Derived from}
|
|
|
|
|
|
|
|
\helpref{wxControl}{wxcontrol}
|
|
|
|
|
|
|
|
\wxheading{Include files}
|
|
|
|
|
2006-11-12 07:09:52 -05:00
|
|
|
<wx/aui/auibook.h>
|
2006-11-11 17:04:05 -05:00
|
|
|
|
|
|
|
\wxheading{Data structures}
|
|
|
|
|
|
|
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
|
|
|
|
|
|
\membersection{wxAuiNotebook::wxAuiNotebook}\label{wxauinotebookwxauinotebook}
|
|
|
|
|
|
|
|
\func{}{wxAuiNotebook}{\void}
|
|
|
|
|
|
|
|
\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}}
|
|
|
|
|
2006-11-12 07:09:52 -05:00
|
|
|
Constructor. Creates a wxAuiNotebok control.
|
2006-11-11 17:04:05 -05:00
|
|
|
|
|
|
|
\membersection{wxAuiNotebook::AddPage}\label{wxauinotebookaddpage}
|
|
|
|
|
|
|
|
\func{bool}{AddPage}{\param{wxWindow* }{page}, \param{const wxString\& }{caption}, \param{bool }{select = false}, \param{const wxBitmap\& }{bitmap = wxNullBitmap}}
|
|
|
|
|
2006-11-12 07:09:52 -05:00
|
|
|
Adds a page.
|
2006-11-11 17:04:05 -05:00
|
|
|
|
|
|
|
\membersection{wxAuiNotebook::Create}\label{wxauinotebookcreate}
|
|
|
|
|
|
|
|
\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}}
|
|
|
|
|
2006-11-12 07:09:52 -05:00
|
|
|
Creates the notebook window.
|
2006-11-11 17:04:05 -05:00
|
|
|
|
|
|
|
\membersection{wxAuiNotebook::DeletePage}\label{wxauinotebookdeletepage}
|
|
|
|
|
|
|
|
\func{bool}{DeletePage}{\param{size\_t }{page}}
|
|
|
|
|
2006-11-12 07:09:52 -05:00
|
|
|
Deletes a page at the given index.
|
2006-11-11 17:04:05 -05:00
|
|
|
|
|
|
|
\membersection{wxAuiNotebook::FindTab}\label{wxauinotebookfindtab}
|
|
|
|
|
|
|
|
\func{bool}{FindTab}{\param{wxWindow* }{page}, \param{wxAuiTabCtrl** }{ctrl}, \param{int* }{idx}}
|
|
|
|
|
2006-11-12 07:09:52 -05:00
|
|
|
Finds a tab.
|
2006-11-11 17:04:05 -05:00
|
|
|
|
|
|
|
\membersection{wxAuiNotebook::GetActiveTabCtrl}\label{wxauinotebookgetactivetabctrl}
|
|
|
|
|
|
|
|
\func{wxAuiTabCtrl*}{GetActiveTabCtrl}{\void}
|
|
|
|
|
2006-11-12 07:09:52 -05:00
|
|
|
Returns the active tab.
|
2006-11-11 17:04:05 -05:00
|
|
|
|
|
|
|
\membersection{wxAuiNotebook::GetArtProvider}\label{wxauinotebookgetartprovider}
|
|
|
|
|
|
|
|
\constfunc{wxAuiTabArt*}{GetArtProvider}{\void}
|
|
|
|
|
2006-11-12 07:09:52 -05:00
|
|
|
Returns the associated art provider.
|
2006-11-11 17:04:05 -05:00
|
|
|
|
|
|
|
\membersection{wxAuiNotebook::GetPage}\label{wxauinotebookgetpage}
|
|
|
|
|
|
|
|
\constfunc{wxWindow*}{GetPage}{\param{size\_t }{page\_idx}}
|
|
|
|
|
2006-11-12 07:09:52 -05:00
|
|
|
Returns the page specified by the given index.
|
2006-11-11 17:04:05 -05:00
|
|
|
|
|
|
|
\membersection{wxAuiNotebook::GetPageCount}\label{wxauinotebookgetpagecount}
|
|
|
|
|
|
|
|
\constfunc{size\_t}{GetPageCount}{\void}
|
|
|
|
|
2006-11-12 07:09:52 -05:00
|
|
|
Returns the number of pages.
|
2006-11-11 17:04:05 -05:00
|
|
|
|
|
|
|
\membersection{wxAuiNotebook::GetPageIndex}\label{wxauinotebookgetpageindex}
|
|
|
|
|
|
|
|
\constfunc{int}{GetPageIndex}{\param{wxWindow* }{page\_wnd}}
|
|
|
|
|
2006-11-12 07:09:52 -05:00
|
|
|
Reurns the page index for the given window.
|
2006-11-11 17:04:05 -05:00
|
|
|
|
|
|
|
\membersection{wxAuiNotebook::GetSelection}\label{wxauinotebookgetselection}
|
|
|
|
|
|
|
|
\constfunc{int}{GetSelection}{\void}
|
|
|
|
|
2006-11-12 07:09:52 -05:00
|
|
|
Returns the currently selected page.
|
2006-11-11 17:04:05 -05:00
|
|
|
|
|
|
|
\membersection{wxAuiNotebook::InsertPage}\label{wxauinotebookinsertpage}
|
|
|
|
|
|
|
|
\func{bool}{InsertPage}{\param{size\_t }{page\_idx}, \param{wxWindow* }{page}, \param{const wxString\& }{caption}, \param{bool }{select = false}, \param{const wxBitmap\& }{bitmap = wxNullBitmap}}
|
|
|
|
|
2006-11-12 07:09:52 -05:00
|
|
|
Inserts a page.
|
2006-11-11 17:04:05 -05:00
|
|
|
|
|
|
|
\membersection{wxAuiNotebook::RemovePage}\label{wxauinotebookremovepage}
|
|
|
|
|
|
|
|
\func{bool}{RemovePage}{\param{size\_t }{page}}
|
|
|
|
|
2006-11-12 07:09:52 -05:00
|
|
|
Removes a page.
|
2006-11-11 17:04:05 -05:00
|
|
|
|
|
|
|
\membersection{wxAuiNotebook::SetArtProvider}\label{wxauinotebooksetartprovider}
|
|
|
|
|
|
|
|
\func{void}{SetArtProvider}{\param{wxAuiTabArt* }{art}}
|
|
|
|
|
2006-11-12 07:09:52 -05:00
|
|
|
Sets the art provider to be used by the notebook.
|
2006-11-11 17:04:05 -05:00
|
|
|
|
|
|
|
\membersection{wxAuiNotebook::SetPageBitmap}\label{wxauinotebooksetpagebitmap}
|
|
|
|
|
|
|
|
\func{bool}{SetPageBitmap}{\param{size\_t }{page}, \param{const wxBitmap\& }{bitmap}}
|
|
|
|
|
2006-11-12 07:09:52 -05:00
|
|
|
Sets the bitmap for the page.
|
2006-11-11 17:04:05 -05:00
|
|
|
|
|
|
|
\membersection{wxAuiNotebook::SetPageText}\label{wxauinotebooksetpagetext}
|
|
|
|
|
|
|
|
\func{bool}{SetPageText}{\param{size\_t }{page}, \param{const wxString\& }{text}}
|
|
|
|
|
2006-11-12 07:09:52 -05:00
|
|
|
Sets the ab label for the page.
|
2006-11-11 17:04:05 -05:00
|
|
|
|
|
|
|
\membersection{wxAuiNotebook::SetSelection}\label{wxauinotebooksetselection}
|
|
|
|
|
|
|
|
\func{size\_t}{SetSelection}{\param{size\_t }{new\_page}}
|
|
|
|
|
2006-11-12 07:09:52 -05:00
|
|
|
Sets the page selection.
|
2006-11-11 17:04:05 -05:00
|
|
|
|
|
|
|
\membersection{wxAuiNotebook::SetTabCtrlHeight}\label{wxauinotebooksettabctrlheight}
|
|
|
|
|
|
|
|
\func{void}{SetTabCtrlHeight}{\param{int }{height}}
|
|
|
|
|
2006-11-12 07:09:52 -05:00
|
|
|
Sets the tab height.
|
2006-11-11 17:04:05 -05:00
|
|
|
|