projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added debugrpt sample
[wxWidgets.git]
/
docs
/
latex
/
wx
/
flexsizr.tex
diff --git
a/docs/latex/wx/flexsizr.tex
b/docs/latex/wx/flexsizr.tex
index 6b85373992d07bcd02d4d08a37180d91f23e30eb..c161b8fafa256614c4703e6da1f02e24f9b52062 100644
(file)
--- a/
docs/latex/wx/flexsizr.tex
+++ b/
docs/latex/wx/flexsizr.tex
@@
-6,7
+6,7
@@
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}.
rows or all columns are not necessarily the same height or width as in
the \helpref{wxGridSizer}{wxgridsizer}.
-Since wxWi
ndow
s 2.5.0, wxFlexGridSizer can also size items equally in one
+Since wxWi
dget
s 2.5.0, wxFlexGridSizer can also size items equally in one
direction but unequally ("flexibly") in the other. If the sizer is only
flexible in one direction (this can be changed using
\helpref{SetFlexibleDrection}{wxflexgridsizersetflexibledirection}),
direction but unequally ("flexibly") in the other. If the sizer is only
flexible in one direction (this can be changed using
\helpref{SetFlexibleDrection}{wxflexgridsizersetflexibledirection}),
@@
-21,10
+21,15
@@
serves this purpose.
\helpref{wxSizer}{wxsizer}\\
\helpref{wxObject}{wxobject}
\helpref{wxSizer}{wxsizer}\\
\helpref{wxObject}{wxobject}
+\wxheading{Include files}
+
+<wx/sizer.h>
+
\wxheading{See also}
\helpref{wxSizer}{wxsizer}, \helpref{Sizer overview}{sizeroverview}
\wxheading{See also}
\helpref{wxSizer}{wxsizer}, \helpref{Sizer overview}{sizeroverview}
+\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxFlexGridSizer::wxFlexGridSizer}\label{wxflexgridsizerwxflexgridsizer}
\membersection{wxFlexGridSizer::wxFlexGridSizer}\label{wxflexgridsizerwxflexgridsizer}
@@
-41,18
+46,25
@@
all children.
\membersection{wxFlexGridSizer::AddGrowableCol}\label{wxflexgridsizeraddgrowablecol}
\membersection{wxFlexGridSizer::AddGrowableCol}\label{wxflexgridsizeraddgrowablecol}
-\func{void}{AddGrowableCol}{\param{size\_t }{idx}}
+\func{void}{AddGrowableCol}{\param{size\_t }{idx}
, \param{int }{proportion = $0$}
}
-Specifies that column
idx
(starting from zero) should be grown if
+Specifies that column
{\it idx}
(starting from zero) should be grown if
there is extra space available to the sizer.
there is extra space available to the sizer.
+The {\it proportion} parameter has the same meaning as the stretch factor for
+the \helpref{sizers}{sizeroverview} except that if all proportions are $0$,
+then all columns are resized equally (instead of not being resized at all).
+
\membersection{wxFlexGridSizer::AddGrowableRow}\label{wxflexgridsizeraddgrowablerow}
\membersection{wxFlexGridSizer::AddGrowableRow}\label{wxflexgridsizeraddgrowablerow}
-\func{void}{AddGrowableRow}{\param{size\_t }{idx}}
+\func{void}{AddGrowableRow}{\param{size\_t }{idx}
, \param{int }{proportion = $0$}
}
Specifies that row idx (starting from zero) should be grown if there
is extra space available to the sizer.
Specifies that row idx (starting from zero) should be grown if there
is extra space available to the sizer.
+See \helpref{AddGrowableCol}{wxflexgridsizeraddgrowablecol} for the description
+of {\it proportion} parameter.
+
\membersection{wxFlexGridSizer::GetFlexibleDirection}\label{wxflexgridsizergetflexibledrection}
\constfunc{int}{GetFlexibleDirections}{\void}
\membersection{wxFlexGridSizer::GetFlexibleDirection}\label{wxflexgridsizergetflexibledrection}
\constfunc{int}{GetFlexibleDirections}{\void}
@@
-94,7
+106,7
@@
One of the following values:
In this case equal sizing applies to minimum sizes of columns or
rows (this is the default value).}
\twocolitem{wxFLEX\_GROWMODE\_ALL}{Sizer equally stretches all columns or rows
In this case equal sizing applies to minimum sizes of columns or
rows (this is the default value).}
\twocolitem{wxFLEX\_GROWMODE\_ALL}{Sizer equally stretches all columns or rows
-in the non flexible direction, whether they are growable or not in the flex
bi
le
+in the non flexible direction, whether they are growable or not in the flex
ib
le
direction.}
\end{twocollist}
direction.}
\end{twocollist}
@@
-133,7
+145,7
@@
Note that this method does not trigger relayout.
\membersection{wxFlexGridSizer::SetNonFlexibleGrowMode}\label{wxflexgridsizersetnonflexiblegrowmode}
\membersection{wxFlexGridSizer::SetNonFlexibleGrowMode}\label{wxflexgridsizersetnonflexiblegrowmode}
-\func{void}{SetNonFlexibleGrowMode}{\param{
int
}{mode}}
+\func{void}{SetNonFlexibleGrowMode}{\param{
wxFlexSizerGrowMode
}{mode}}
Specifies how the sizer should grow in the non flexible direction if
there is one (so
Specifies how the sizer should grow in the non flexible direction if
there is one (so