.. wxPython Phoenix documentation
This file was generated by Phoenix's sphinx generator and associated
tools, do not edit by hand.
Copyright: (c) 2011-2020 by Total Control Software
License: wxWindows License
.. include:: headings.inc
.. _wx.IndividualLayoutConstraint:
==========================================================================================================================================
|phoenix_title| **wx.IndividualLayoutConstraint**
==========================================================================================================================================
|
|class_hierarchy| Class Hierarchy
=================================
.. raw:: html

Inheritance diagram for class
IndividualLayoutConstraint:
|
|method_summary| Methods Summary
================================
================================================================================ ================================================================================
:meth:`~wx.IndividualLayoutConstraint.__init__`
:meth:`~wx.IndividualLayoutConstraint.Above`
:meth:`~wx.IndividualLayoutConstraint.Absolute`
:meth:`~wx.IndividualLayoutConstraint.AsIs`
:meth:`~wx.IndividualLayoutConstraint.Below`
:meth:`~wx.IndividualLayoutConstraint.GetDone`
:meth:`~wx.IndividualLayoutConstraint.GetEdge`
:meth:`~wx.IndividualLayoutConstraint.GetMargin`
:meth:`~wx.IndividualLayoutConstraint.GetMyEdge`
:meth:`~wx.IndividualLayoutConstraint.GetOtherEdge`
:meth:`~wx.IndividualLayoutConstraint.GetOtherWindow`
:meth:`~wx.IndividualLayoutConstraint.GetPercent`
:meth:`~wx.IndividualLayoutConstraint.GetRelationship`
:meth:`~wx.IndividualLayoutConstraint.GetValue`
:meth:`~wx.IndividualLayoutConstraint.LeftOf`
:meth:`~wx.IndividualLayoutConstraint.PercentOf`
:meth:`~wx.IndividualLayoutConstraint.ResetIfWin`
:meth:`~wx.IndividualLayoutConstraint.RightOf`
:meth:`~wx.IndividualLayoutConstraint.SameAs`
:meth:`~wx.IndividualLayoutConstraint.SatisfyConstraint`
:meth:`~wx.IndividualLayoutConstraint.Set`
:meth:`~wx.IndividualLayoutConstraint.SetDone`
:meth:`~wx.IndividualLayoutConstraint.SetEdge`
:meth:`~wx.IndividualLayoutConstraint.SetMargin`
:meth:`~wx.IndividualLayoutConstraint.SetRelationship`
:meth:`~wx.IndividualLayoutConstraint.SetValue`
:meth:`~wx.IndividualLayoutConstraint.Unconstrained`
================================================================================ ================================================================================
|
|property_summary| Properties Summary
=====================================
================================================================================ ================================================================================
:attr:`~wx.IndividualLayoutConstraint.Done` See :meth:`~wx.IndividualLayoutConstraint.GetDone` and :meth:`~wx.IndividualLayoutConstraint.SetDone`
:attr:`~wx.IndividualLayoutConstraint.Margin` See :meth:`~wx.IndividualLayoutConstraint.GetMargin` and :meth:`~wx.IndividualLayoutConstraint.SetMargin`
:attr:`~wx.IndividualLayoutConstraint.MyEdge` See :meth:`~wx.IndividualLayoutConstraint.GetMyEdge`
:attr:`~wx.IndividualLayoutConstraint.OtherEdge` See :meth:`~wx.IndividualLayoutConstraint.GetOtherEdge`
:attr:`~wx.IndividualLayoutConstraint.OtherWindow` See :meth:`~wx.IndividualLayoutConstraint.GetOtherWindow`
:attr:`~wx.IndividualLayoutConstraint.Percent` See :meth:`~wx.IndividualLayoutConstraint.GetPercent`
:attr:`~wx.IndividualLayoutConstraint.Relationship` See :meth:`~wx.IndividualLayoutConstraint.GetRelationship` and :meth:`~wx.IndividualLayoutConstraint.SetRelationship`
:attr:`~wx.IndividualLayoutConstraint.Value` See :meth:`~wx.IndividualLayoutConstraint.GetValue` and :meth:`~wx.IndividualLayoutConstraint.SetValue`
================================================================================ ================================================================================
|
|api| Class API
===============
.. class:: wx.IndividualLayoutConstraint(Object)
**Possible constructors**::
IndividualLayoutConstraint() -> None
.. method:: __init__(self)
:rtype: `None`
.. method:: Above(self, sibling : Window, margin: int=LAYOUT_DEFAULT_MARGIN)
:param `sibling`:
:type `sibling`: wx.Window
:param `margin`:
:type `margin`: int
:rtype: `None`
.. method:: Absolute(self, val : int)
:param `val`:
:type `val`: int
:rtype: `None`
.. method:: AsIs(self)
:rtype: `None`
.. method:: Below(self, sibling : Window, margin: int=LAYOUT_DEFAULT_MARGIN)
:param `sibling`:
:type `sibling`: wx.Window
:param `margin`:
:type `margin`: int
:rtype: `None`
.. method:: GetDone(self)
:rtype: `bool`
.. method:: GetEdge(self, which : Edge, thisWin : Window, other : Window)
:param `which`:
:type `which`: wx.Edge
:param `thisWin`:
:type `thisWin`: wx.Window
:param `other`:
:type `other`: wx.Window
:rtype: `int`
.. method:: GetMargin(self)
:rtype: `int`
.. method:: GetMyEdge(self)
:rtype: :ref:`wx.Edge`
.. method:: GetOtherEdge(self)
:rtype: `int`
.. method:: GetOtherWindow(self)
:rtype: :ref:`wx.Window`
.. method:: GetPercent(self)
:rtype: `int`
.. method:: GetRelationship(self)
:rtype: :ref:`wx.Relationship`
.. method:: GetValue(self)
:rtype: `int`
.. method:: LeftOf(self, sibling : Window, margin: int=LAYOUT_DEFAULT_MARGIN)
:param `sibling`:
:type `sibling`: wx.Window
:param `margin`:
:type `margin`: int
:rtype: `None`
.. method:: PercentOf(self, otherW : Window, wh : Edge, per : int)
:param `otherW`:
:type `otherW`: wx.Window
:param `wh`:
:type `wh`: wx.Edge
:param `per`:
:type `per`: int
:rtype: `None`
.. method:: ResetIfWin(self, otherW : Window)
:param `otherW`:
:type `otherW`: wx.Window
:rtype: `bool`
.. method:: RightOf(self, sibling : Window, margin: int=LAYOUT_DEFAULT_MARGIN)
:param `sibling`:
:type `sibling`: wx.Window
:param `margin`:
:type `margin`: int
:rtype: `None`
.. method:: SameAs(self, otherW : Window, edge : Edge, margin: int=LAYOUT_DEFAULT_MARGIN)
:param `otherW`:
:type `otherW`: wx.Window
:param `edge`:
:type `edge`: wx.Edge
:param `margin`:
:type `margin`: int
:rtype: `None`
.. method:: SatisfyConstraint(self, raints : LayoutConstraints, win : Window)
:param `constraints`:
:type `constraints`: wx.LayoutConstraints
:param `win`:
:type `win`: wx.Window
:rtype: `bool`
.. method:: Set(self, rel : Relationship, otherW : Window, otherE : Edge, val: int=0, margin: int=LAYOUT_DEFAULT_MARGIN)
:param `rel`:
:type `rel`: wx.Relationship
:param `otherW`:
:type `otherW`: wx.Window
:param `otherE`:
:type `otherE`: wx.Edge
:param `val`:
:type `val`: int
:param `margin`:
:type `margin`: int
:rtype: `None`
.. method:: SetDone(self, d : bool)
:param `d`:
:type `d`: bool
:rtype: `None`
.. method:: SetEdge(self, which : Edge)
:param `which`:
:type `which`: wx.Edge
:rtype: `None`
.. method:: SetMargin(self, m : int)
:param `m`:
:type `m`: int
:rtype: `None`
.. method:: SetRelationship(self, r : Relationship)
:param `r`:
:type `r`: wx.Relationship
:rtype: `None`
.. method:: SetValue(self, v : int)
:param `v`:
:type `v`: int
:rtype: `None`
.. method:: Unconstrained(self)
:rtype: `None`
.. attribute:: Done
See :meth:`~wx.IndividualLayoutConstraint.GetDone` and :meth:`~wx.IndividualLayoutConstraint.SetDone`
.. attribute:: Margin
See :meth:`~wx.IndividualLayoutConstraint.GetMargin` and :meth:`~wx.IndividualLayoutConstraint.SetMargin`
.. attribute:: MyEdge
See :meth:`~wx.IndividualLayoutConstraint.GetMyEdge`
.. attribute:: OtherEdge
See :meth:`~wx.IndividualLayoutConstraint.GetOtherEdge`
.. attribute:: OtherWindow
See :meth:`~wx.IndividualLayoutConstraint.GetOtherWindow`
.. attribute:: Percent
See :meth:`~wx.IndividualLayoutConstraint.GetPercent`
.. attribute:: Relationship
See :meth:`~wx.IndividualLayoutConstraint.GetRelationship` and :meth:`~wx.IndividualLayoutConstraint.SetRelationship`
.. attribute:: Value
See :meth:`~wx.IndividualLayoutConstraint.GetValue` and :meth:`~wx.IndividualLayoutConstraint.SetValue`