]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/auinotebook.tex
Wine fix
[wxWidgets.git] / docs / latex / wx / auinotebook.tex
CommitLineData
c0d9896a
BW
1%
2% automatically generated by HelpGen $Revision$ from
3% auibook.h at 11/Nov/06 22:56:01
4%
5
c0d9896a
BW
6\section{\class{wxAuiNotebook}}\label{wxauinotebook}
7
8ffbb0f8
JS
8wxAuiNotebook is a notebook control which implements many features common in applications with dockable panes.
9Specifically, wxAuiNotebook implements functionality which allows the user to rearrange tab order via drag-and-drop,
10split the tab window into many different splitter configurations, and toggle through different themes to customize
11the control's look and feel.
574c6e1a
BW
12
13An effort has been made to try to maintain an API as similar to that of wxNotebook.
14
8ffbb0f8
JS
15The default theme that is used is wxAuiDefaultTabArt, which provides a modern, glossy look and feel.
16The theme can be changed by calling \helpref{wxAuiNotebook::SetArtProvider}{wxauinotebooksetartprovider}.
574c6e1a 17
c0d9896a
BW
18\wxheading{Derived from}
19
20\helpref{wxControl}{wxcontrol}
21
22\wxheading{Include files}
23
8ffbb0f8 24<wx/aui/auibook.h>
c0d9896a
BW
25
26\wxheading{Data structures}
27
28\latexignore{\rtfignore{\wxheading{Members}}}
29
c0d9896a
BW
30\membersection{wxAuiNotebook::wxAuiNotebook}\label{wxauinotebookwxauinotebook}
31
32\func{}{wxAuiNotebook}{\void}
33
c0d9896a
BW
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}}
35
8ffbb0f8 36Constructor. Creates a wxAuiNotebok control.
c0d9896a
BW
37
38\membersection{wxAuiNotebook::AddPage}\label{wxauinotebookaddpage}
39
40\func{bool}{AddPage}{\param{wxWindow* }{page}, \param{const wxString\& }{caption}, \param{bool }{select = false}, \param{const wxBitmap\& }{bitmap = wxNullBitmap}}
41
8ffbb0f8 42Adds a page.
c0d9896a 43
c0d9896a
BW
44\membersection{wxAuiNotebook::Create}\label{wxauinotebookcreate}
45
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}}
47
8ffbb0f8 48Creates the notebook window.
c0d9896a
BW
49
50\membersection{wxAuiNotebook::DeletePage}\label{wxauinotebookdeletepage}
51
52\func{bool}{DeletePage}{\param{size\_t }{page}}
53
8ffbb0f8 54Deletes a page at the given index.
c0d9896a
BW
55
56\membersection{wxAuiNotebook::FindTab}\label{wxauinotebookfindtab}
57
58\func{bool}{FindTab}{\param{wxWindow* }{page}, \param{wxAuiTabCtrl** }{ctrl}, \param{int* }{idx}}
59
8ffbb0f8 60Finds a tab.
c0d9896a
BW
61
62\membersection{wxAuiNotebook::GetActiveTabCtrl}\label{wxauinotebookgetactivetabctrl}
63
64\func{wxAuiTabCtrl*}{GetActiveTabCtrl}{\void}
65
8ffbb0f8 66Returns the active tab.
c0d9896a
BW
67
68\membersection{wxAuiNotebook::GetArtProvider}\label{wxauinotebookgetartprovider}
69
70\constfunc{wxAuiTabArt*}{GetArtProvider}{\void}
71
8ffbb0f8 72Returns the associated art provider.
c0d9896a
BW
73
74\membersection{wxAuiNotebook::GetPage}\label{wxauinotebookgetpage}
75
76\constfunc{wxWindow*}{GetPage}{\param{size\_t }{page\_idx}}
77
8ffbb0f8 78Returns the page specified by the given index.
c0d9896a
BW
79
80\membersection{wxAuiNotebook::GetPageCount}\label{wxauinotebookgetpagecount}
81
82\constfunc{size\_t}{GetPageCount}{\void}
83
8ffbb0f8 84Returns the number of pages.
c0d9896a
BW
85
86\membersection{wxAuiNotebook::GetPageIndex}\label{wxauinotebookgetpageindex}
87
88\constfunc{int}{GetPageIndex}{\param{wxWindow* }{page\_wnd}}
89
8ffbb0f8 90Reurns the page index for the given window.
c0d9896a
BW
91
92\membersection{wxAuiNotebook::GetSelection}\label{wxauinotebookgetselection}
93
94\constfunc{int}{GetSelection}{\void}
95
8ffbb0f8 96Returns the currently selected page.
c0d9896a
BW
97
98\membersection{wxAuiNotebook::InsertPage}\label{wxauinotebookinsertpage}
99
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}}
101
8ffbb0f8 102Inserts a page.
c0d9896a 103
c0d9896a
BW
104\membersection{wxAuiNotebook::RemovePage}\label{wxauinotebookremovepage}
105
106\func{bool}{RemovePage}{\param{size\_t }{page}}
107
8ffbb0f8 108Removes a page.
c0d9896a
BW
109
110\membersection{wxAuiNotebook::SetArtProvider}\label{wxauinotebooksetartprovider}
111
112\func{void}{SetArtProvider}{\param{wxAuiTabArt* }{art}}
113
8ffbb0f8 114Sets the art provider to be used by the notebook.
c0d9896a
BW
115
116\membersection{wxAuiNotebook::SetPageBitmap}\label{wxauinotebooksetpagebitmap}
117
118\func{bool}{SetPageBitmap}{\param{size\_t }{page}, \param{const wxBitmap\& }{bitmap}}
119
8ffbb0f8 120Sets the bitmap for the page.
c0d9896a
BW
121
122\membersection{wxAuiNotebook::SetPageText}\label{wxauinotebooksetpagetext}
123
124\func{bool}{SetPageText}{\param{size\_t }{page}, \param{const wxString\& }{text}}
125
8ffbb0f8 126Sets the ab label for the page.
c0d9896a
BW
127
128\membersection{wxAuiNotebook::SetSelection}\label{wxauinotebooksetselection}
129
130\func{size\_t}{SetSelection}{\param{size\_t }{new\_page}}
131
8ffbb0f8 132Sets the page selection.
c0d9896a
BW
133
134\membersection{wxAuiNotebook::SetTabCtrlHeight}\label{wxauinotebooksettabctrlheight}
135
136\func{void}{SetTabCtrlHeight}{\param{int }{height}}
137
8ffbb0f8 138Sets the tab height.
c0d9896a 139