class Gdk::CrossingEvent


An event caused by a pointing device moving between surfaces.

Defined in:



Class Method Summary

Instance Method Summary

Instance methods inherited from class Gdk::Event

_get_angle(event2 : Gdk::Event, angle : Float64) : Bool _get_angle, _get_center(event2 : Gdk::Event, x : Float64, y : Float64) : Bool _get_center, _get_distance(event2 : Gdk::Event, distance : Float64) : Bool _get_distance, axes(axes : Enumerable(Float64)) : Bool
axes(*axes : Float64)
, axis(axis_use : Gdk::AxisUse, value : Float64) : Bool axis, device : Gdk::Device? device, device_tool : Gdk::DeviceTool? device_tool, display : Gdk::Display? display, event_sequence : Gdk::EventSequence event_sequence, event_type : Gdk::EventType event_type, finalize finalize, history : Enumerable(Gdk::TimeCoord)? history, modifier_state : Gdk::ModifierType modifier_state, pointer_emulated : Bool pointer_emulated, position(x : Float64, y : Float64) : Bool position, ref : Gdk::Event ref, ref_count ref_count, seat : Gdk::Seat? seat, surface : Gdk::Surface? surface, time : UInt32 time, to_unsafe : Pointer(Void) to_unsafe, triggers_context_menu : Bool triggers_context_menu, unref : Nil unref

Constructor methods inherited from class Gdk::Event

cast(obj : GObject::Object) : self cast, cast?(obj : GObject::Object) : self? cast?, new new

Class methods inherited from class Gdk::Event

g_type : UInt64 g_type

Constructor Detail

def #

Initialize a new CrossingEvent.

Class Method Detail

def self.g_type : UInt64 #

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

Instance Method Detail

def detail : Gdk::NotifyType #

Extracts the notify detail from a crossing event.

def focus : Bool #

Checks if the @event surface is the focus surface.

def mode : Gdk::CrossingMode #

Extracts the crossing mode from a crossing event.