Enumeration

Gtk.ConstraintAttribute

Declaration

enum Gtk.ConstraintAttribute

Description [src]

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

Members

Name Nickname Value Description
GTK_CONSTRAINT_ATTRIBUTE_NONE "none" 0

No attribute, used for constant relations

GTK_CONSTRAINT_ATTRIBUTE_LEFT "left" 1

The left edge of a widget, regardless of text direction

GTK_CONSTRAINT_ATTRIBUTE_RIGHT "right" 2

The right edge of a widget, regardless of text direction

GTK_CONSTRAINT_ATTRIBUTE_TOP "top" 3

The top edge of a widget

GTK_CONSTRAINT_ATTRIBUTE_BOTTOM "bottom" 4

The bottom edge of a widget

GTK_CONSTRAINT_ATTRIBUTE_START "start" 5

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

GTK_CONSTRAINT_ATTRIBUTE_END "end" 6

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

GTK_CONSTRAINT_ATTRIBUTE_WIDTH "width" 7

The width of a widget

GTK_CONSTRAINT_ATTRIBUTE_HEIGHT "height" 8

The height of a widget

GTK_CONSTRAINT_ATTRIBUTE_CENTER_X "center-x" 9

The center of a widget, on the horizontal axis

GTK_CONSTRAINT_ATTRIBUTE_CENTER_Y "center-y" 10

The center of a widget, on the vertical axis

GTK_CONSTRAINT_ATTRIBUTE_BASELINE "baseline" 11

The baseline of a widget