enum Gdk::NotifyType

Overview

Specifies the kind of crossing for enter and leave events.

See the X11 protocol specification of LeaveNotify for full details of crossing event generation.

Defined in:

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

Enum Members

Ancestor = 0_u32

the surface is entered from an ancestor or left towards an ancestor.

Virtual = 1_u32

the pointer moves between an ancestor and an inferior of the surface.

Inferior = 2_u32

the surface is entered from an inferior or left towards an inferior.

Nonlinear = 3_u32

the surface is entered from or left towards a surface which is neither an ancestor nor an inferior.

NonlinearVirtual = 4_u32

the pointer moves between two surfaces which are not ancestors of each other and the surface is part of the ancestor chain between one of these surfaces and their least common ancestor.

Unknown = 5_u32

an unknown type of enter/leave event occurred.

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

[View source]
def inferior? #

[View source]
def nonlinear? #

[View source]
def nonlinear_virtual? #

[View source]
def unknown? #

[View source]
def virtual? #

[View source]