enum Gtk::ConstraintAttribute
Overview
The widget attributes that can be used when creating a #Constraint
.
Defined in:
lib/gi-crystal/src/auto/gtk-4.0/gtk.crEnum Members
-
None =
0_u32
-
No attribute, used for constant relations
-
Left =
1_u32
-
The left edge of a widget, regardless of text direction
-
Right =
2_u32
-
The right edge of a widget, regardless of text direction
-
Top =
3_u32
-
The top edge of a widget
-
Bottom =
4_u32
-
The bottom edge of a widget
-
Start =
5_u32
-
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
-
End =
6_u32
-
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
-
Width =
7_u32
-
The width of a widget
-
Height =
8_u32
-
The height of a widget
-
CenterX =
9_u32
-
The center of a widget, on the horizontal axis
-
CenterY =
10_u32
-
The center of a widget, on the vertical axis
-
Baseline =
11_u32
-
The baseline of a widget
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
- #baseline?
- #bottom?
- #center_x?
- #center_y?
- #end?
- #height?
- #left?
- #none?
- #right?
- #start?
- #top?
- #width?