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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandlerintExtracts the notify detail from a crossing event.booleangetFocus()Checks if the @event surface is the focus surface.static intintgetMode()Extracts the crossing mode from a crossing event.static longstatic TypeSystem.TypeSizestatic longstatic TypeSystem.TypeSizeMethods inherited from class ch.bailu.gtk.gdk.Event
getDevice, getDeviceTool, getDisplay, getEventSequence, getEventType, getModifierState, getPointerEmulated, getSeat, getSurface, getTime, ref, triggersContextMenu, unrefMethods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacksMethods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNullMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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()
-