enum Gdk::KeyMatch

Overview

Describes how well an event matches a given keyval and modifiers.

Gdk::KeyMatch values are returned by Gdk::KeyEvent#matches.

Defined in:

lib/gi-crystal/src/auto/gdk-4.0/gdk.cr

Enum Members

None = 0_u32

The key event does not match

Partial = 1_u32

The key event matches if keyboard state (specifically, the currently active group) is ignored

Exact = 2_u32

The key event matches

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

[View source]
def none? #

[View source]
def partial? #

[View source]