From f3cf3865098058be40cd26fafa3607a8d11fb5f9 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 1 May 2001 23:14:40 +0000 Subject: [PATCH] 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 --- docs/latex/wx/flexsizr.tex | 35 ++++++++++++++++++++-- docs/latex/wx/gridsizr.tex | 59 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 91 insertions(+), 3 deletions(-) diff --git a/docs/latex/wx/flexsizr.tex b/docs/latex/wx/flexsizr.tex index 7004c0e1fa..c29f5fabe7 100644 --- a/docs/latex/wx/flexsizr.tex +++ b/docs/latex/wx/flexsizr.tex @@ -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. + diff --git a/docs/latex/wx/gridsizr.tex b/docs/latex/wx/gridsizr.tex index 9662608084..82a70ec5b6 100644 --- a/docs/latex/wx/gridsizr.tex +++ b/docs/latex/wx/gridsizr.tex @@ -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. + + + + -- 2.45.2