]>
Commit | Line | Data |
---|---|---|
8fe05782 VZ |
1 | \section{\class{wxBoxSizer}}\label{wxboxsizer} |
2 | ||
be2577e4 | 3 | The basic idea behind a box sizer is that windows will most often be laid out in rather |
1912918c | 4 | simple basic geometry, typically in a row or a column or several hierarchies of either. |
515da557 | 5 | |
1c0c339c | 6 | For more information, please see \helpref{Programming with wxBoxSizer}{boxsizerprogramming}. |
8fe05782 | 7 | |
8fe05782 VZ |
8 | \wxheading{Derived from} |
9 | ||
36edded9 | 10 | \helpref{wxSizer}{wxsizer}\\ |
4130b487 | 11 | \helpref{wxObject}{wxobject} |
8fe05782 | 12 | |
0bf97466 RN |
13 | \wxheading{Include files} |
14 | ||
15 | <wx/sizer.h> | |
16 | ||
1c0c339c JS |
17 | \wxheading{See also} |
18 | ||
19 | \helpref{wxSizer}{wxsizer}, \helpref{Sizer overview}{sizeroverview} | |
20 | ||
8fe05782 VZ |
21 | \membersection{wxBoxSizer::wxBoxSizer}\label{wxboxsizerwxboxsizer} |
22 | ||
23 | \func{}{wxBoxSizer}{\param{int }{orient}} | |
24 | ||
515da557 RR |
25 | Constructor for a wxBoxSizer. {\it orient} may be either of wxVERTICAL |
26 | or wxHORIZONTAL for creating either a column sizer or a row sizer. | |
8fe05782 VZ |
27 | |
28 | \membersection{wxBoxSizer::RecalcSizes}\label{wxboxsizerrecalcsizes} | |
29 | ||
30 | \func{void}{RecalcSizes}{\void} | |
31 | ||
9c884972 | 32 | Implements the calculation of a box sizer's dimensions and then sets |
43e8916f | 33 | the size of its children (calling \helpref{wxWindow::SetSize}{wxwindowsetsize} |
be2577e4 | 34 | if the child is a window). It is used internally only and must not be called |
fab86f26 | 35 | by the user (call Layout() if you want to resize). Documented for information. |
8fe05782 VZ |
36 | |
37 | \membersection{wxBoxSizer::CalcMin}\label{wxboxsizercalcmin} | |
38 | ||
39 | \func{wxSize}{CalcMin}{\void} | |
40 | ||
9c884972 | 41 | Implements the calculation of a box sizer's minimal. It is used internally |
fa482912 | 42 | only and must not be called by the user. Documented for information. |
8fe05782 VZ |
43 | |
44 | \membersection{wxBoxSizer::GetOrientation}\label{wxboxsizergetorientation} | |
45 | ||
46 | \func{int}{GetOrientation}{\void} | |
47 | ||
fa482912 | 48 | Returns the orientation of the box sizer, either wxVERTICAL |
9c884972 RR |
49 | or wxHORIZONTAL. |
50 |