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