Added missing docs for methods in wxGridSizer and wxFlexGridSizer

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2001-05-01 23:14:40 +00:00
parent 947ea04d01
commit f3cf386509
2 changed files with 91 additions and 3 deletions

View File

@ -1,12 +1,14 @@
\section{\class{wxFlexGridSizer}}\label{wxflexgridsizer}
A flex grid sizer is a sizer which lays out its children in a two-dimensional
table with all table fields in one row having the same
height and all fields in one column having the same width.
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}.
\wxheading{Derived from}
\helpref{wxGridSizer}{wxsizer}\\
\helpref{wxGridSizer}{wxgridsizer}\\
\helpref{wxSizer}{wxsizer}\\
\helpref{wxObject}{wxobject}
@ -22,3 +24,30 @@ 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.
\membersection{wxFlexGridSizer::AddGrowableCol}\label{wxflexgridsizeraddgrowablecol}
\func{void}{AddGrowableCol}{\param{size_t }{idx}}
Specifies that column idx (starting from zero) should be grown if
there is extra space available to the sizer.
\membersection{wxFlexGridSizer::AddGrowableRow}\label{wxflexgridsizeraddgrowablerow}
\func{void}{AddGrowableRow}{\param{size_t }{idx}}
Specifies that row idx (starting from zero) should be grown if there
is extra space available to the sizer.
\membersection{wxFlexGridSizer::RemoveGrowableCol}\label{wxflexgridsizerremovegrowablecol}
\func{void}{RemoveGrowableCol}{\param{size_t }{idx}}
Specifies that column idx is no longer growable.
\membersection{wxFlexGridSizer::RemoveGrowableRow}\label{wxflexgridsizerremovegrowablerow}
\func{void}{RemoveGrowableRow}{\param{size_t }{idx}}
Specifies that row idx is no longer growable.

View File

@ -22,3 +22,62 @@ 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.
\membersection{wxGridSizer::GetCols}\label{wxgridsizergetcols}
\func{int}{GetCols}{}
Returns the number of columns in the sizer.
\membersection{wxGridSizer::GetHGap}\label{wxgridsizergethgap}
\func{int}{GetHGap}{}
Returns the horizontal gap (in pixels) between cells in the sizer.
\membersection{wxGridSizer::GetRows}\label{wxgridsizergetrows}
\func{int}{GetRows}{}
Returns the number of rows in the sizer.
\membersection{wxGridSizer::GetVGap}\label{wxgridsizergetvgap}
\func{int}{GetVGap}{}
Returns the vertical gap (in pixels) between the cells in the sizer.
\membersection{wxGridSizer::SetCols}\label{wxgridsizersetcols}
\func{void}{SetCols}{\param{int }{cols}}
Sets the number of columns in the sizer.
\membersection{wxGridSizer::SetHGap}\label{wxgridsizersethgap}
\func{void}{SetHGap}{\param{int }{gap}}
Sets the horizontal gap (in pixels) between cells in the sizer.
\membersection{wxGridSizer::SetRows}\label{wxgridsizersetrows}
\func{void}{SetRows}{\param{int }{rows}}
Sets the number of rows in the sizer.
\membersection{wxGridSizer::SetVGap}\label{wxgridsizersetvgap}
\func{void}{SetVGap}{\param{int }{gap}}
Sets the vertical gap (in pixels) between the cells in the sizer.