]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/boxsizer.tex
Added AdvanceSelection, ShowWindowMenu and keyboard handling
[wxWidgets.git] / docs / latex / wx / boxsizer.tex
1 \section{\class{wxBoxSizer}}\label{wxboxsizer}
2
3 The basic idea behind a box sizer is that windows will most often be laid out in rather
4 simple basic geometry, typically in a row or a column or several hierarchies of either.
5
6 For more information, please see \helpref{Programming with wxBoxSizer}{boxsizerprogramming}.
7
8 \wxheading{Derived from}
9
10 \helpref{wxSizer}{wxsizer}\\
11 \helpref{wxObject}{wxobject}
12
13 \wxheading{Include files}
14
15 <wx/sizer.h>
16
17 \wxheading{Library}
18
19 \helpref{wxCore}{librarieslist}
20
21 \wxheading{See also}
22
23 \helpref{wxSizer}{wxsizer}, \helpref{Sizer overview}{sizeroverview}
24
25 \membersection{wxBoxSizer::wxBoxSizer}\label{wxboxsizerwxboxsizer}
26
27 \func{}{wxBoxSizer}{\param{int }{orient}}
28
29 Constructor for a wxBoxSizer. {\it orient} may be either of wxVERTICAL
30 or wxHORIZONTAL for creating either a column sizer or a row sizer.
31
32 \membersection{wxBoxSizer::RecalcSizes}\label{wxboxsizerrecalcsizes}
33
34 \func{void}{RecalcSizes}{\void}
35
36 Implements the calculation of a box sizer's dimensions and then sets
37 the size of its children (calling \helpref{wxWindow::SetSize}{wxwindowsetsize}
38 if the child is a window). It is used internally only and must not be called
39 by the user (call Layout() if you want to resize). Documented for information.
40
41 \membersection{wxBoxSizer::CalcMin}\label{wxboxsizercalcmin}
42
43 \func{wxSize}{CalcMin}{\void}
44
45 Implements the calculation of a box sizer's minimal. It is used internally
46 only and must not be called by the user. Documented for information.
47
48 \membersection{wxBoxSizer::GetOrientation}\label{wxboxsizergetorientation}
49
50 \func{int}{GetOrientation}{\void}
51
52 Returns the orientation of the box sizer, either wxVERTICAL
53 or wxHORIZONTAL.
54