enum
Gtk::Unit
Overview
See also gtk_print_settings_set_paper_width().
Defined in:
lib/gi-crystal/src/auto/gtk-4.0/gtk.crEnum Members
-
None =
0_u32 -
No units.
-
Points =
1_u32 -
Dimensions in points.
-
Inch =
2_u32 -
Dimensions in inches.
-
Mm =
3_u32 -
Dimensions in millimeters
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
-
#inch?
Returns
trueif this enum value equalsInch -
#mm?
Returns
trueif this enum value equalsMm -
#none?
Returns
trueif this enum value equalsNone -
#points?
Returns
trueif this enum value equalsPoints
Class methods inherited from struct Enum
g_type : UInt64
g_type
Class Method Detail
Returns the type id (GType) registered in GLib type system.