GtkConstraintAttribute

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

Values

ValueMeaning
NONE0

No attribute, used for constant relations

LEFT1

The left edge of a widget, regardless of text direction

TOP3

The top edge of a widget

BOTTOM4

The bottom edge of a widget

START5

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

END6

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

WIDTH7

The width of a widget

HEIGHT8

The height of a widget

CENTER_X9

The center of a widget, on the horizontal axis

CENTER_Y10

The center of a widget, on the vertical axis

BASELINE11

The baseline of a widget

Meta