Package ch.bailu.gtk.gdk
Class CrossingEvent
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gdk.Event
ch.bailu.gtk.gdk.CrossingEvent
- All Implemented Interfaces:
PointerInterface
An event caused by a pointing device moving between surfaces.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandler
int
Extracts the notify detail from a crossing event.boolean
getFocus()
Checks if the @event surface is the focus surface.static int
int
getMode()
Extracts the crossing mode from a crossing event.static long
static TypeSystem.TypeSize
static long
static TypeSystem.TypeSize
Methods inherited from class ch.bailu.gtk.gdk.Event
getDevice, getDeviceTool, getDisplay, getEventSequence, getEventType, getModifierState, getPointerEmulated, getSeat, getSurface, getTime, ref, triggersContextMenu, unref
Methods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Methods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Constructor Details
-
CrossingEvent
-
-
Method Details
-
getClassHandler
-
getDetail
public int getDetail()Extracts the notify detail from a crossing event.- Returns:
- the notify detail of @event
-
getFocus
public boolean getFocus()Checks if the @event surface is the focus surface.- Returns:
- %TRUE if the surface is the focus surface
-
getMode
public int getMode()Extracts the crossing mode from a crossing event.- Returns:
- the mode of @event
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-