projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added British spellings of the alignment flags (patch 1486478)
[wxWidgets.git]
/
docs
/
latex
/
wx
/
layout.tex
diff --git
a/docs/latex/wx/layout.tex
b/docs/latex/wx/layout.tex
index 31ec86c5874fb95c5174091317bcd855ac582b73..c492d944b5ce6f9ffe7f631de3be7c94cab6ec55 100644
(file)
--- a/
docs/latex/wx/layout.tex
+++ b/
docs/latex/wx/layout.tex
@@
-1,5
+1,7
@@
\section{\class{wxLayoutConstraints}}\label{wxlayoutconstraints}
\section{\class{wxLayoutConstraints}}\label{wxlayoutconstraints}
+{\bf Note:} constraints are now deprecated and you should use \helpref{sizers}{sizeroverview} instead.
+
Objects of this class can be associated with a window to define its
layout constraints, with respect to siblings or its parent.
Objects of this class can be associated with a window to define its
layout constraints, with respect to siblings or its parent.
@@
-26,6
+28,14
@@
width and height will be used, to be compatible with panel items which often
have take a default size. If the constraint is wxAsIs, the dimension will
not be changed.
have take a default size. If the constraint is wxAsIs, the dimension will
not be changed.
+\perlnote{In wxPerl the constraints are accessed as
+\begin{verbatim}
+ constraint = Wx::LayoutConstraints->new();
+ constraint->centreX->AsIs();
+ constraint->centreY->Unconstrained();
+\end{verbatim}
+}
+
\wxheading{Derived from}
\helpref{wxObject}{wxobject}
\wxheading{Derived from}
\helpref{wxObject}{wxobject}
@@
-41,55
+51,55
@@
not be changed.
\latexignore{\rtfignore{\wxheading{Members}}}
\latexignore{\rtfignore{\wxheading{Members}}}
-\membersection{wxLayoutConstraints::wxLayoutConstraints}
+\membersection{wxLayoutConstraints::wxLayoutConstraints}
\label{wxlayoutconstraintsctor}
\func{}{wxLayoutConstraints}{\void}
Constructor.
\func{}{wxLayoutConstraints}{\void}
Constructor.
-\membersection{wxLayoutConstraints::bottom}
+\membersection{wxLayoutConstraints::bottom}
\label{wxlayoutconstraintsbottom}
\member{wxIndividualLayoutConstraint}{bottom}
Constraint for the bottom edge.
\member{wxIndividualLayoutConstraint}{bottom}
Constraint for the bottom edge.
-\membersection{wxLayoutConstraints::centreX}
+\membersection{wxLayoutConstraints::centreX}
\label{wxlayoutconstraintscentrex}
\member{wxIndividualLayoutConstraint}{centreX}
Constraint for the horizontal centre point.
\member{wxIndividualLayoutConstraint}{centreX}
Constraint for the horizontal centre point.
-\membersection{wxLayoutConstraints::centreY}
+\membersection{wxLayoutConstraints::centreY}
\label{wxlayoutconstraintscentrey}
\member{wxIndividualLayoutConstraint}{centreY}
Constraint for the vertical centre point.
\member{wxIndividualLayoutConstraint}{centreY}
Constraint for the vertical centre point.
-\membersection{wxLayoutConstraints::height}
+\membersection{wxLayoutConstraints::height}
\label{wxlayoutconstraintsheight}
\member{wxIndividualLayoutConstraint}{height}
Constraint for the height.
\member{wxIndividualLayoutConstraint}{height}
Constraint for the height.
-\membersection{wxLayoutConstraints::left}
+\membersection{wxLayoutConstraints::left}
\label{wxlayoutconstraintsleft}
\member{wxIndividualLayoutConstraint}{left}
Constraint for the left-hand edge.
\member{wxIndividualLayoutConstraint}{left}
Constraint for the left-hand edge.
-\membersection{wxLayoutConstraints::right}
+\membersection{wxLayoutConstraints::right}
\label{wxlayoutconstraintsright}
\member{wxIndividualLayoutConstraint}{right}
Constraint for the right-hand edge.
\member{wxIndividualLayoutConstraint}{right}
Constraint for the right-hand edge.
-\membersection{wxLayoutConstraints::top}
+\membersection{wxLayoutConstraints::top}
\label{wxlayoutconstraintstop}
\member{wxIndividualLayoutConstraint}{top}
Constraint for the top edge.
\member{wxIndividualLayoutConstraint}{top}
Constraint for the top edge.
-\membersection{wxLayoutConstraints::width}
+\membersection{wxLayoutConstraints::width}
\label{wxlayoutconstraintswidth}
\member{wxIndividualLayoutConstraint}{width}
\member{wxIndividualLayoutConstraint}{width}