enum Gdk::ModifierType

Defined in:

lib/gi-crystal/src/auto/gdk-4.0/gdk.cr
lib/gtk4/src/bindings/gdk/modifier_type.cr

Enum Members

ShiftMask = 1_u32
LockMask = 2_u32
ControlMask = 4_u32
AltMask = 8_u32
Button1Mask = 256_u32
Button2Mask = 512_u32
Button3Mask = 1024_u32
Button4Mask = 2048_u32
Button5Mask = 4096_u32
SuperMask = 67108864_u32
HyperMask = 134217728_u32
MetaMask = 268435456_u32

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 alt_mask? #

def button1_mask? #

def button2_mask? #

def button3_mask? #

def button4_mask? #

def button5_mask? #

def control_mask? #

def hyper_mask? #

def lock_mask? #

def meta_mask? #

def shift_mask? #

def super_mask? #