]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/flexsizr.tex
added wxTextCtrl::GetSelection() returning a wxString - useful for multiline controls...
[wxWidgets.git] / docs / latex / wx / flexsizr.tex
CommitLineData
f6bcfd97
BP
1\section{\class{wxFlexGridSizer}}\label{wxflexgridsizer}
2
3A flex grid sizer is a sizer which lays out its children in a two-dimensional
f3cf3865
RD
4table with all table fields in one row having the same
5height and all fields in one column having the same width, but all
6rows or all columns are not necessarily the same height or width as in
7the \helpref{wxGridSizer}{wxgridsizer}.
f6bcfd97
BP
8
9\wxheading{Derived from}
10
f3cf3865 11\helpref{wxGridSizer}{wxgridsizer}\\
f6bcfd97
BP
12\helpref{wxSizer}{wxsizer}\\
13\helpref{wxObject}{wxobject}
14
15\membersection{wxFlexGridSizer::wxFlexGridSizer}\label{wxflexgridsizerwxflexgridsizer}
16
17\func{}{wxFlexGridSizer}{\param{int }{rows}, \param{int }{cols}, \param{int }{vgap}, \param{int }{hgap}}
18
19\func{}{wxFlexGridSizer}{\param{int }{cols}, \param{int }{vgap = 0}, \param{int }{hgap = 0}}
20
21Constructor for a wxGridSizer. {\it rows} and {\it cols} determine the number of
22columns and rows in the sizer - if either of the parameters is zero, it will be
23calculated to form the total number of children in the sizer, thus making the
24sizer grow dynamically. {\it vgap} and {\it hgap} define extra space between
25all children.
26
f3cf3865
RD
27
28\membersection{wxFlexGridSizer::AddGrowableCol}\label{wxflexgridsizeraddgrowablecol}
29
e7240349 30\func{void}{AddGrowableCol}{\param{size\_t }{idx}}
f3cf3865
RD
31
32Specifies that column idx (starting from zero) should be grown if
33there is extra space available to the sizer.
34
35\membersection{wxFlexGridSizer::AddGrowableRow}\label{wxflexgridsizeraddgrowablerow}
36
e7240349 37\func{void}{AddGrowableRow}{\param{size\_t }{idx}}
f3cf3865
RD
38
39Specifies that row idx (starting from zero) should be grown if there
40is extra space available to the sizer.
41
42\membersection{wxFlexGridSizer::RemoveGrowableCol}\label{wxflexgridsizerremovegrowablecol}
43
e7240349 44\func{void}{RemoveGrowableCol}{\param{size\_t }{idx}}
f3cf3865
RD
45
46Specifies that column idx is no longer growable.
47
48\membersection{wxFlexGridSizer::RemoveGrowableRow}\label{wxflexgridsizerremovegrowablerow}
49
e7240349 50\func{void}{RemoveGrowableRow}{\param{size\_t }{idx}}
f3cf3865
RD
51
52Specifies that row idx is no longer growable.
53