enum
Gdk::DeviceToolType
Overview
Indicates the specific type of tool being used being a tablet. Such as an airbrush, pencil, etc.
Defined in:
lib/gi-crystal/src/auto/gdk-4.0/gdk.crEnum Members
-
Unknown =
0_u32
-
Tool is of an unknown type.
-
Pen =
1_u32
-
Tool is a standard tablet stylus.
-
Eraser =
2_u32
-
Tool is standard tablet eraser.
-
Brush =
3_u32
-
Tool is a brush stylus.
-
Pencil =
4_u32
-
Tool is a pencil stylus.
-
Airbrush =
5_u32
-
Tool is an airbrush stylus.
-
Mouse =
6_u32
-
Tool is a mouse.
-
Lens =
7_u32
-
Tool is a lens cursor.
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
-
#airbrush?
Returns
true
if this enum value equalsAirbrush
-
#brush?
Returns
true
if this enum value equalsBrush
-
#eraser?
Returns
true
if this enum value equalsEraser
-
#lens?
Returns
true
if this enum value equalsLens
-
#mouse?
Returns
true
if this enum value equalsMouse
-
#pen?
Returns
true
if this enum value equalsPen
-
#pencil?
Returns
true
if this enum value equalsPencil
-
#unknown?
Returns
true
if this enum value equalsUnknown
Class methods inherited from struct Enum
g_type : UInt64
g_type
Class Method Detail
Returns the type id (GType) registered in GLib type system.