Enumeration (GI Enum)

Gtk-4.0GtkConstraintAttribute

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

Index

Enumeration Members

BASELINE: number

The baseline of a widget

BOTTOM: number

The bottom edge of a widget

CENTER_X: number

The center of a widget, on the horizontal axis

CENTER_Y: number

The center of a widget, on the vertical axis

END: number

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: number

The height of a widget

LEFT: number

The left edge of a widget, regardless of text direction

NONE: number

No attribute, used for constant relations

RIGHT: number

The right edge of a widget, regardless of text direction

START: number

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: number

The top edge of a widget

WIDTH: number

The width of a widget