:right-sidebar: True ConstraintAttribute =================================================================== .. currentmodule:: gi.repository.Gtk .. class:: ConstraintAttribute :no-contents-entry: The widget attributes that can be used when creating a :obj:`~gi.repository.Gtk.Constraint`. Fields ------ .. rst-class:: interim-class .. class:: ConstraintAttribute :no-index: .. attribute:: BASELINE The baseline of a widget .. attribute:: BOTTOM The bottom edge of a widget .. attribute:: CENTER_X The center of a widget, on the horizontal axis .. attribute:: CENTER_Y The center of a widget, on the vertical axis .. attribute:: END The trailing edge of a widget, depending on text direction; equivalent to :const:`~gi.repository.Gtk.ConstraintAttribute.RIGHT` for LTR languages, and :const:`~gi.repository.Gtk.ConstraintAttribute.LEFT` for RTL ones .. attribute:: HEIGHT The height of a widget .. attribute:: LEFT The left edge of a widget, regardless of text direction .. attribute:: NONE No attribute, used for constant relations .. attribute:: RIGHT The right edge of a widget, regardless of text direction .. attribute:: START The leading edge of a widget, depending on text direction; equivalent to :const:`~gi.repository.Gtk.ConstraintAttribute.LEFT` for LTR languages, and :const:`~gi.repository.Gtk.ConstraintAttribute.RIGHT` for RTL ones .. attribute:: TOP The top edge of a widget .. attribute:: WIDTH The width of a widget