.\" This is a wxWidgets manpage page generated from the XML docs .TH wxIndividualLayoutConstraint 3wx 2005-02-15 "wxWidgets" "wxWidgets class documentation" .SH NAME wxIndividualLayoutConstraint \- .SH DESCRIPTION Objects of this class are stored in the wxLayoutConstraint class as one of eight possible constraints that a window can be involved in. Constraints are initially set to have the relationship wxUnconstrained, which means that their values should be calculated by looking at known constraints. .SH "PARENTS" wxObject .SH "INCLUDE FILES" wx/layout.h .SH MEMBERS .SS wxIndividualLayoutConstraint () Constructor. Not used by the end-user. .SS void Above (wxWindow *otherWinint margin = 0) Constrains this edge to be above the given window, with an optional margin. Implicitly, this is relative to the top edge of the other window. .SS void Absolute (int value) Constrains this edge or dimension to be the given absolute value. .SS void AsIs () Sets this edge or constraint to be whatever the window's value is at the moment. If either of the width and height constraints are as is , the window will not be resized, but moved instead. This is important when considering panel items which are intended to have a default size, such as a button, which may take its size from the size of the button label. .SS void Below (wxWindow *otherWinint margin = 0) Constrains this edge to be below the given window, with an optional margin. Implicitly, this is relative to the bottom edge of the other window. .SS void Unconstrained () Sets this edge or dimension to be unconstrained, that is, dependent on other edges and dimensions from which this value can be deduced. .SS void LeftOf (wxWindow *otherWinint margin = 0) Constrains this edge to be to the left of the given window, with an optional margin. Implicitly, this is relative to the left edge of the other window. .SS void PercentOf (wxWindow *otherWinwxEdge edgeint per) Constrains this edge or dimension to be to a percentage of the given window, with an optional margin. .SS void RightOf (wxWindow *otherWinint margin = 0) Constrains this edge to be to the right of the given window, with an optional margin. Implicitly, this is relative to the right edge of the other window. .SS void SameAs (wxWindow *otherWinwxEdge edgeint margin = 0) Constrains this edge or dimension to be to the same as the edge of the given window, with an optional margin. .SS void Set (wxRelationship relwxWindow *otherWinwxEdge otherEdgeint value = 0int margin = 0) Sets the properties of the constraint. Normally called by one of the convenience functions such as Above, RightOf, SameAs. .SH "SEE ALSO" wxObject Overview and examples , wxLayoutConstraints wxWindow::SetConstraints . .SH "AUTHORS" Documentation content by Julian Smart, Robert Roebling, Vadim Zeitlin, Robin Dunn, et al Conversion to manpage format by Arnout Engelen (http://bzzt.net), bugreports welcome.