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.cr

Enum 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

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


Instance Method Detail

def airbrush? #

def brush? #

def eraser? #

def lens? #

def mouse? #

def pen? #

def pencil? #

def unknown? #