1 \section{\class{wxFlexGridSizer
}}\label{wxflexgridsizer
}
3 A flex grid sizer is a sizer which lays out its children in a two-dimensional
4 table with all table fields in one row having the same
5 height and all fields in one column having the same width, but all
6 rows or all columns are not necessarily the same height or width as in
7 the
\helpref{wxGridSizer
}{wxgridsizer
}.
9 \wxheading{Derived from
}
11 \helpref{wxGridSizer
}{wxgridsizer
}\\
12 \helpref{wxSizer
}{wxsizer
}\\
13 \helpref{wxObject
}{wxobject
}
17 \helpref{wxSizer
}{wxsizer
},
\helpref{Sizer overview
}{sizeroverview
}
19 \membersection{wxFlexGridSizer::wxFlexGridSizer
}\label{wxflexgridsizerwxflexgridsizer
}
21 \func{}{wxFlexGridSizer
}{\param{int
}{rows
},
\param{int
}{cols
},
\param{int
}{vgap
},
\param{int
}{hgap
}}
23 \func{}{wxFlexGridSizer
}{\param{int
}{cols
},
\param{int
}{vgap =
0},
\param{int
}{hgap =
0}}
25 Constructor for a wxGridSizer.
{\it rows
} and
{\it cols
} determine the number of
26 columns and rows in the sizer - if either of the parameters is zero, it will be
27 calculated to form the total number of children in the sizer, thus making the
28 sizer grow dynamically.
{\it vgap
} and
{\it hgap
} define extra space between
32 \membersection{wxFlexGridSizer::AddGrowableCol
}\label{wxflexgridsizeraddgrowablecol
}
34 \func{void
}{AddGrowableCol
}{\param{size
\_t }{idx
}}
36 Specifies that column idx (starting from zero) should be grown if
37 there is extra space available to the sizer.
39 \membersection{wxFlexGridSizer::AddGrowableRow
}\label{wxflexgridsizeraddgrowablerow
}
41 \func{void
}{AddGrowableRow
}{\param{size
\_t }{idx
}}
43 Specifies that row idx (starting from zero) should be grown if there
44 is extra space available to the sizer.
46 \membersection{wxFlexGridSizer::RemoveGrowableCol
}\label{wxflexgridsizerremovegrowablecol
}
48 \func{void
}{RemoveGrowableCol
}{\param{size
\_t }{idx
}}
50 Specifies that column idx is no longer growable.
52 \membersection{wxFlexGridSizer::RemoveGrowableRow
}\label{wxflexgridsizerremovegrowablerow
}
54 \func{void
}{RemoveGrowableRow
}{\param{size
\_t }{idx
}}
56 Specifies that row idx is no longer growable.