]> git.saurik.com Git - wxWidgets.git/blame_incremental - docs/latex/wx/boxsizer.tex
Applied patch [ 619539 ] patch to get small icon via geticon
[wxWidgets.git] / docs / latex / wx / boxsizer.tex
... / ...
CommitLineData
1\section{\class{wxBoxSizer}}\label{wxboxsizer}
2
3The basic idea behind a box sizer is that windows will most often be laid out in rather
4simple basic geometry, typically in a row or a column or several hierarchies of either.
5
6For 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{See also}
14
15\helpref{wxSizer}{wxsizer}, \helpref{Sizer overview}{sizeroverview}
16
17\membersection{wxBoxSizer::wxBoxSizer}\label{wxboxsizerwxboxsizer}
18
19\func{}{wxBoxSizer}{\param{int }{orient}}
20
21Constructor for a wxBoxSizer. {\it orient} may be either of wxVERTICAL
22or wxHORIZONTAL for creating either a column sizer or a row sizer.
23
24\membersection{wxBoxSizer::RecalcSizes}\label{wxboxsizerrecalcsizes}
25
26\func{void}{RecalcSizes}{\void}
27
28Implements the calculation of a box sizer's dimensions and then sets
29the size of its its children (calling \helpref{wxWindow::SetSize}{wxwindowsetsize}
30if the child is a window). It is used internally only and must not be called
31by the user. Documented for information.
32
33\membersection{wxBoxSizer::CalcMin}\label{wxboxsizercalcmin}
34
35\func{wxSize}{CalcMin}{\void}
36
37Implements the calculation of a box sizer's minimal. It is used internally
38only and must not be called by the user. Documented for information.
39
40\membersection{wxBoxSizer::GetOrientation}\label{wxboxsizergetorientation}
41
42\func{int}{GetOrientation}{\void}
43
44Returns the orientation of the box sizer, either wxVERTICAL
45or wxHORIZONTAL.
46