]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/nbsizer.tex
deprecated SetToTheWeek() and GetWeek(); added and documented new and well-defined...
[wxWidgets.git] / docs / latex / wx / nbsizer.tex
1 \section{\class{wxNotebookSizer}}\label{wxnotebooksizer}
2
3 {\bf This class is deprecated and should not be used in new code! It is not
4 longer needed, \helpref{wxNotebook}{wxnotebook} control can be inserted
5 into any sizer class and it's minimal size will be determined correctly.
6 See \helpref{wxSizer overview}{sizeroverview} for more information.}
7
8 wxNotebookSizer is a specialized sizer to make sizers work in connection
9 with using notebooks. This sizer is different from any other sizer as
10 you must not add any children to it - instead, it queries the notebook class itself.
11 The only thing this sizer does is to determine the size of the biggest
12 page of the notebook and report an adjusted minimal size to a more toplevel
13 sizer.
14
15 \wxheading{Derived from}
16
17 \helpref{wxSizer}{wxsizer}\\
18 \helpref{wxObject}{wxobject}
19
20 \wxheading{See also}
21
22 \helpref{wxSizer}{wxsizer}, \helpref{wxNotebook}{wxnotebook}, \helpref{Sizer overview}{sizeroverview}
23
24 \latexignore{\rtfignore{\wxheading{Members}}}
25
26 \membersection{wxNotebookSizer::wxNotebookSizer}\label{wxnotebooksizerwxnotebooksizer}
27
28 \func{}{wxNotebookSizer}{\param{wxNotebook* }{notebook}}
29
30 Constructor. It takes an associated notebook as its only parameter.
31
32 \membersection{wxNotebookSizer::GetNotebook}\label{wxnotebooksizergetnotebook}
33
34 \func{wxNotebook*}{GetNotebook}{\void}
35
36 Returns the notebook associated with the sizer.
37