1999-08-13 20:33:19 +00:00
|
|
|
\section{\class{wxBoxSizer}}\label{wxboxsizer}
|
|
|
|
|
1999-11-09 23:02:41 +00:00
|
|
|
The basic idea behind a box sizer is that windows will most often be laid out in rather
|
2001-05-17 07:53:10 +00:00
|
|
|
simple basic geometry, typically in a row or a column or several hierarchies of either.
|
1999-08-15 18:35:03 +00:00
|
|
|
|
2002-01-27 19:58:13 +00:00
|
|
|
For more information, please see \helpref{Programming with wxBoxSizer}{boxsizerprogramming}.
|
1999-08-13 20:33:19 +00:00
|
|
|
|
|
|
|
\wxheading{Derived from}
|
|
|
|
|
1999-11-01 20:36:43 +00:00
|
|
|
\helpref{wxSizer}{wxsizer}\\
|
1999-08-21 13:54:32 +00:00
|
|
|
\helpref{wxObject}{wxobject}
|
1999-08-13 20:33:19 +00:00
|
|
|
|
2002-01-27 19:58:13 +00:00
|
|
|
\wxheading{See also}
|
|
|
|
|
|
|
|
\helpref{wxSizer}{wxsizer}, \helpref{Sizer overview}{sizeroverview}
|
|
|
|
|
1999-08-13 20:33:19 +00:00
|
|
|
\membersection{wxBoxSizer::wxBoxSizer}\label{wxboxsizerwxboxsizer}
|
|
|
|
|
|
|
|
\func{}{wxBoxSizer}{\param{int }{orient}}
|
|
|
|
|
1999-08-15 18:35:03 +00:00
|
|
|
Constructor for a wxBoxSizer. {\it orient} may be either of wxVERTICAL
|
|
|
|
or wxHORIZONTAL for creating either a column sizer or a row sizer.
|
1999-08-13 20:33:19 +00:00
|
|
|
|
|
|
|
\membersection{wxBoxSizer::RecalcSizes}\label{wxboxsizerrecalcsizes}
|
|
|
|
|
|
|
|
\func{void}{RecalcSizes}{\void}
|
|
|
|
|
1999-08-19 18:41:41 +00:00
|
|
|
Implements the calculation of a box sizer's dimensions and then sets
|
2000-03-15 00:21:49 +00:00
|
|
|
the size of its its children (calling \helpref{wxWindow::SetSize}{wxwindowsetsize}
|
1999-11-09 23:02:41 +00:00
|
|
|
if the child is a window). It is used internally only and must not be called
|
2000-03-15 00:21:49 +00:00
|
|
|
by the user. Documented for information.
|
1999-08-13 20:33:19 +00:00
|
|
|
|
|
|
|
\membersection{wxBoxSizer::CalcMin}\label{wxboxsizercalcmin}
|
|
|
|
|
|
|
|
\func{wxSize}{CalcMin}{\void}
|
|
|
|
|
1999-08-19 18:41:41 +00:00
|
|
|
Implements the calculation of a box sizer's minimal. It is used internally
|
2000-03-15 00:21:49 +00:00
|
|
|
only and must not be called by the user. Documented for information.
|
1999-08-13 20:33:19 +00:00
|
|
|
|
|
|
|
\membersection{wxBoxSizer::GetOrientation}\label{wxboxsizergetorientation}
|
|
|
|
|
|
|
|
\func{int}{GetOrientation}{\void}
|
|
|
|
|
2000-03-15 00:21:49 +00:00
|
|
|
Returns the orientation of the box sizer, either wxVERTICAL
|
1999-08-19 18:41:41 +00:00
|
|
|
or wxHORIZONTAL.
|
|
|
|
|