Enumeration (GI Enum)

Gtk-4.0GtkConstraintAttribute

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

Index
BASELINE: 11

The baseline of a widget

BOTTOM: 4

The bottom edge of a widget

CENTER_X: 9

The center of a widget, on the horizontal axis

CENTER_Y: 10

The center of a widget, on the vertical axis

END: 6

The trailing edge of a widget, depending on text direction; equivalent to Gtk.ConstraintAttribute.RIGHT for LTR languages, and Gtk.ConstraintAttribute.LEFT for RTL ones

HEIGHT: 8

The height of a widget

LEFT: 1

The left edge of a widget, regardless of text direction

NONE: 0

No attribute, used for constant relations

RIGHT: 2

The right edge of a widget, regardless of text direction

START: 5

The leading edge of a widget, depending on text direction; equivalent to Gtk.ConstraintAttribute.LEFT for LTR languages, and Gtk.ConstraintAttribute.RIGHT for RTL ones

TOP: 3

The top edge of a widget

WIDTH: 7

The width of a widget

Variables

$gtype