Module Expr Str Assign NameStore TupleLoad Str ImportFrom alias ImportFrom alias alias ClassDef bases NameLoad body Expr Str Assign NameStore Call NameLoad ListLoad Num Num Num Num Expr Str Assign NameStore Call NameLoad Str keyword TupleLoad Str Str Str Expr Str Assign NameStore Call NameLoad Str keyword TupleLoad Str Str Str Expr Str FunctionDef arguments args NameParam defaults kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad Str NameLoad Expr Call NameLoad Str NameLoad Expr Call NameLoad Str NameLoad Expr Call NameLoad Str NameLoad Expr Call NameLoad Str NameLoad Expr Call NameLoad Str NameLoad Expr Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore TupleLoad NameLoad NameLoad Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr If CompareIsNot SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad body Assign NameStore BinOpSub BinOpMult SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad BinOpAdd SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num If CompareIsNot SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad body Assign NameStore BinOpSub BinOpMult SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad BinOpAdd SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num If CompareEq NameLoad Str body Assign NameStore BinOpAdd NameLoad SubscriptLoad NameLoad Index Num If CompareEq NameLoad Str body Assign NameStore BinOpSub BinOpAdd NameLoad NameLoad BinOpAdd NameLoad SubscriptLoad NameLoad Index Num If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore BinOpSub BinOpAdd NameLoad BinOpDiv NameLoad Num BinOpDiv NameLoad Num If CompareEq NameLoad Str body Assign NameStore BinOpAdd NameLoad SubscriptLoad NameLoad Index Num If CompareEq NameLoad Str body Assign NameStore BinOpSub BinOpAdd NameLoad NameLoad BinOpAdd NameLoad SubscriptLoad NameLoad Index Num If CompareEq NameLoad Str body Assign NameStore BinOpSub BinOpAdd NameLoad BinOpDiv NameLoad Num BinOpDiv NameLoad Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list
N/A N/A 
Anchor Layout
=============

.. only:: html

    .. image:: images/anchorlayout.gif
        :align: right

.. only:: latex

    .. image:: images/anchorlayout.png
        :align: right

The :class:`AnchorLayout` aligns its children to a border (top, bottom,
left, right) or center.


To draw a button in the lower-right corner::

    layout = AnchorLayout(
        anchor_x='right', anchor_y='bottom')
    btn = Button(text='Hello World')
    layout.add_widget(btn)

 N/A __all__ N/A AnchorLayout kivy.uix.layout Layout kivy.properties OptionProperty VariableListProperty AnchorLayout N/A Layout N/A N/A Anchor layout class. See the module documentation for more information.
     N/A padding N/A VariableListProperty N/A 0 0 0 0 N/A Padding between the widget box and its children, in pixels:
    [padding_left, padding_top, padding_right, padding_bottom].

    padding also accepts a two argument form [padding_horizontal,
    padding_vertical] and a one argument form [padding].

    :attr:`padding` is a :class:`~kivy.properties.VariableListProperty` and
    defaults to [0, 0, 0, 0].
     N/A anchor_x N/A OptionProperty center options N/A left center right N/A Horizontal anchor.

    :attr:`anchor_x` is an :class:`~kivy.properties.OptionProperty` and
    defaults to 'center'. It accepts values of 'left', 'center' or
    'right'.
     N/A anchor_y N/A OptionProperty center options N/A top center bottom N/A Vertical anchor.

    :attr:`anchor_y` is an :class:`~kivy.properties.OptionProperty` and
    defaults to 'center'. It accepts values of 'top', 'center' or
    'bottom'.
     __init__ N/A N/A self N/A kwargs N/A N/A N/A N/A N/A super AnchorLayout self __init__ kwargs N/A fbind N/A self fbind N/A update N/A self _trigger_layout N/A N/A fbind children update N/A N/A fbind parent update N/A N/A fbind padding update N/A N/A fbind anchor_x update N/A N/A fbind anchor_y update N/A N/A fbind size update N/A N/A fbind pos update N/A do_layout N/A N/A self N/A largs N/A N/A N/A _x _y N/A self pos N/A width N/A self width N/A height N/A self height N/A anchor_x N/A self anchor_x N/A anchor_y N/A self anchor_y N/A padding N/A self padding N/A c N/A self children N/A N/A N/A x y N/A _x _y N/A N/A w h N/A c size N/A N/A N/A N/A c size_hint N/A 0 None N/A N/A w N/A N/A N/A N/A c size_hint N/A 0 width N/A N/A padding N/A 0 N/A padding N/A 2 N/A N/A N/A N/A c size_hint N/A 1 None N/A N/A h N/A N/A N/A N/A c size_hint N/A 1 height N/A N/A padding N/A 1 N/A padding N/A 3 N/A N/A anchor_x left N/A N/A x N/A x N/A padding N/A 0 N/A N/A anchor_x right N/A N/A x N/A N/A x width N/A w N/A padding N/A 2 N/A N/A N/A self anchor_x center N/A N/A x N/A N/A x N/A width 2 N/A w 2 N/A N/A anchor_y bottom N/A N/A y N/A y N/A padding N/A 1 N/A N/A anchor_y top N/A N/A y N/A N/A y height N/A h N/A padding N/A 3 N/A N/A anchor_y center N/A N/A y N/A N/A y N/A height 2 N/A h 2 N/A N/A c x x N/A N/A c y y N/A N/A c width w N/A N/A c height h N/A N/A