2000-07-15 15:51:35 -04:00
|
|
|
\section{\class{wxFlexGridSizer}}\label{wxflexgridsizer}
|
|
|
|
|
|
|
|
A flex grid sizer is a sizer which lays out its children in a two-dimensional
|
2001-05-01 19:14:40 -04:00
|
|
|
table with all table fields in one row having the same
|
|
|
|
height and all fields in one column having the same width, but all
|
|
|
|
rows or all columns are not necessarily the same height or width as in
|
|
|
|
the \helpref{wxGridSizer}{wxgridsizer}.
|
2000-07-15 15:51:35 -04:00
|
|
|
|
|
|
|
\wxheading{Derived from}
|
|
|
|
|
2001-05-01 19:14:40 -04:00
|
|
|
\helpref{wxGridSizer}{wxgridsizer}\\
|
2000-07-15 15:51:35 -04:00
|
|
|
\helpref{wxSizer}{wxsizer}\\
|
|
|
|
\helpref{wxObject}{wxobject}
|
|
|
|
|
2002-01-27 14:58:13 -05:00
|
|
|
\wxheading{See also}
|
|
|
|
|
|
|
|
\helpref{wxSizer}{wxsizer}, \helpref{Sizer overview}{sizeroverview}
|
|
|
|
|
2000-07-15 15:51:35 -04:00
|
|
|
\membersection{wxFlexGridSizer::wxFlexGridSizer}\label{wxflexgridsizerwxflexgridsizer}
|
|
|
|
|
|
|
|
\func{}{wxFlexGridSizer}{\param{int }{rows}, \param{int }{cols}, \param{int }{vgap}, \param{int }{hgap}}
|
|
|
|
|
|
|
|
\func{}{wxFlexGridSizer}{\param{int }{cols}, \param{int }{vgap = 0}, \param{int }{hgap = 0}}
|
|
|
|
|
|
|
|
Constructor for a wxGridSizer. {\it rows} and {\it cols} determine the number of
|
|
|
|
columns and rows in the sizer - if either of the parameters is zero, it will be
|
|
|
|
calculated to form the total number of children in the sizer, thus making the
|
|
|
|
sizer grow dynamically. {\it vgap} and {\it hgap} define extra space between
|
|
|
|
all children.
|
|
|
|
|
2001-05-01 19:14:40 -04:00
|
|
|
|
|
|
|
\membersection{wxFlexGridSizer::AddGrowableCol}\label{wxflexgridsizeraddgrowablecol}
|
|
|
|
|
2001-05-24 06:39:33 -04:00
|
|
|
\func{void}{AddGrowableCol}{\param{size\_t }{idx}}
|
2001-05-01 19:14:40 -04:00
|
|
|
|
|
|
|
Specifies that column idx (starting from zero) should be grown if
|
|
|
|
there is extra space available to the sizer.
|
|
|
|
|
|
|
|
\membersection{wxFlexGridSizer::AddGrowableRow}\label{wxflexgridsizeraddgrowablerow}
|
|
|
|
|
2001-05-24 06:39:33 -04:00
|
|
|
\func{void}{AddGrowableRow}{\param{size\_t }{idx}}
|
2001-05-01 19:14:40 -04:00
|
|
|
|
|
|
|
Specifies that row idx (starting from zero) should be grown if there
|
|
|
|
is extra space available to the sizer.
|
|
|
|
|
|
|
|
\membersection{wxFlexGridSizer::RemoveGrowableCol}\label{wxflexgridsizerremovegrowablecol}
|
|
|
|
|
2001-05-24 06:39:33 -04:00
|
|
|
\func{void}{RemoveGrowableCol}{\param{size\_t }{idx}}
|
2001-05-01 19:14:40 -04:00
|
|
|
|
|
|
|
Specifies that column idx is no longer growable.
|
|
|
|
|
|
|
|
\membersection{wxFlexGridSizer::RemoveGrowableRow}\label{wxflexgridsizerremovegrowablerow}
|
|
|
|
|
2001-05-24 06:39:33 -04:00
|
|
|
\func{void}{RemoveGrowableRow}{\param{size\_t }{idx}}
|
2001-05-01 19:14:40 -04:00
|
|
|
|
|
|
|
Specifies that row idx is no longer growable.
|
|
|
|
|