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?
Returns
true
if this enum value equalsBaseline
-
#bottom?
Returns
true
if this enum value equalsBottom
-
#center_x?
Returns
true
if this enum value equalsCenterX
-
#center_y?
Returns
true
if this enum value equalsCenterY
-
#end?
Returns
true
if this enum value equalsEnd
-
#height?
Returns
true
if this enum value equalsHeight
-
#left?
Returns
true
if this enum value equalsLeft
-
#none?
Returns
true
if this enum value equalsNone
-
#right?
Returns
true
if this enum value equalsRight
-
#start?
Returns
true
if this enum value equalsStart
-
#top?
Returns
true
if this enum value equalsTop
-
#width?
Returns
true
if this enum value equalsWidth
Class methods inherited from struct Enum
g_type : UInt64
g_type
Class Method Detail
Returns the type id (GType) registered in GLib type system.