]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/nbsizer.tex
added optional parameter to SetSizer, to allow replacing a window's
[wxWidgets.git] / docs / latex / wx / nbsizer.tex
1 \section{\class{wxNotebookSizer}}\label{wxnotebooksizer}
2
3 wxNotebookSizer is a specialized sizer to make sizers work in connection
4 with using notebooks. This sizer is different from any other sizer as
5 you must not add any children to it - instead, it queries the notebook class itself.
6 The only thing this sizer does is to determine the size of the biggest
7 page of the notebook and report an adjusted minimal size to a more toplevel
8 sizer.
9
10 For more information, please see \helpref{Programming with wxNotebookSizer}{notebooksizerprogramming}.
11
12 \wxheading{Derived from}
13
14 \helpref{wxSizer}{wxsizer}\\
15 \helpref{wxObject}{wxobject}
16
17 \wxheading{See also}
18
19 \helpref{wxSizer}{wxsizer}, \helpref{wxNotebook}{wxnotebook}, \helpref{Sizer overview}{sizeroverview}
20
21 \latexignore{\rtfignore{\wxheading{Members}}}
22
23 \membersection{wxNotebookSizer::wxNotebookSizer}\label{wxnotebooksizerwxnotebooksizer}
24
25 \func{}{wxNotebookSizer}{\param{wxNotebook* }{notebook}}
26
27 Constructor. It takes an associated notebook as its only parameter.
28
29 \membersection{wxNotebookSizer::GetNotebook}\label{wxnotebooksizergetnotebook}
30
31 \func{wxNotebook*}{GetNotebook}{\void}
32
33 Returns the notebook associated with the sizer.
34