enum Gdk::ModifierType

Defined in:

lib/gi-crystal/src/auto/gdk-4.0/gdk.cr
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.


[View source]

Instance Method Detail

def alt_mask? #

[View source]
def button1_mask? #

[View source]
def button2_mask? #

[View source]
def button3_mask? #

[View source]
def button4_mask? #

[View source]
def button5_mask? #

[View source]
def control_mask? #

[View source]
def hyper_mask? #

[View source]
def lock_mask? #

[View source]
def meta_mask? #

[View source]
def none? #

[View source]
def shift_mask? #

[View source]
def super_mask? #

[View source]