Gtk.ConstraintAttribute
Description: Reference for Gtk.ConstraintAttribute

### Enumeration

# GtkConstraintAttribute

#### Declaration

    enum Gtk.ConstraintAttribute

#### Description [src]

The widget attributes that can be used when creating a `GtkConstraint`.

#### Members

`GTK_CONSTRAINT_ATTRIBUTE_NONE`

  No attribute, used for constant relations.

  - Value: `0`
  - Available since: 4.0
`GTK_CONSTRAINT_ATTRIBUTE_LEFT`

  The left edge of a widget, regardless of text direction.

  - Value: `1`
  - Available since: 4.0
`GTK_CONSTRAINT_ATTRIBUTE_RIGHT`

  The right edge of a widget, regardless of text direction.

  - Value: `2`
  - Available since: 4.0
`GTK_CONSTRAINT_ATTRIBUTE_TOP`

  The top edge of a widget.

  - Value: `3`
  - Available since: 4.0
`GTK_CONSTRAINT_ATTRIBUTE_BOTTOM`

  The bottom edge of a widget.

  - Value: `4`
  - Available since: 4.0
`GTK_CONSTRAINT_ATTRIBUTE_START`

  The leading edge of a widget, depending on text direction; equivalent to `GTK_CONSTRAINT_ATTRIBUTE_LEFT` for LTR languages, and `GTK_CONSTRAINT_ATTRIBUTE_RIGHT` for RTL ones.

  - Value: `5`
  - Available since: 4.0
`GTK_CONSTRAINT_ATTRIBUTE_END`

  The trailing edge of a widget, depending on text direction; equivalent to `GTK_CONSTRAINT_ATTRIBUTE_RIGHT` for LTR languages, and `GTK_CONSTRAINT_ATTRIBUTE_LEFT` for RTL ones.

  - Value: `6`
  - Available since: 4.0
`GTK_CONSTRAINT_ATTRIBUTE_WIDTH`

  The width of a widget.

  - Value: `7`
  - Available since: 4.0
`GTK_CONSTRAINT_ATTRIBUTE_HEIGHT`

  The height of a widget.

  - Value: `8`
  - Available since: 4.0
`GTK_CONSTRAINT_ATTRIBUTE_CENTER_X`

  The center of a widget, on the horizontal axis.

  - Value: `9`
  - Available since: 4.0
`GTK_CONSTRAINT_ATTRIBUTE_CENTER_Y`

  The center of a widget, on the vertical axis.

  - Value: `10`
  - Available since: 4.0
`GTK_CONSTRAINT_ATTRIBUTE_BASELINE`

  The baseline of a widget.

  - Value: `11`
  - Available since: 4.0