CrossingEvent

open class CrossingEvent(pointer: <Error class: unknown class><<Error class: unknown class>>) : Event

An event caused by a pointing device moving between surfaces.

Constructors

Link copied to clipboard
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val gdkCrossingEventPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
val gPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
open fun getDetail(): NotifyType

Extracts the notify detail from a crossing event.

Link copied to clipboard
open fun getDevice(): Device?

Returns the device of an event.

Link copied to clipboard

Returns a GdkDeviceTool representing the tool that caused the event.

Link copied to clipboard
open fun getDisplay(): Display?

Retrieves the display associated to the @event.

Link copied to clipboard

Returns the event sequence to which the event belongs.

Link copied to clipboard

Retrieves the type of the event.

Link copied to clipboard
open fun getFocus(): Boolean

Checks if the @event surface is the focus surface.

Link copied to clipboard
open fun getMode(): CrossingMode

Extracts the crossing mode from a crossing event.

Link copied to clipboard

Returns the modifier state field of an event.

Link copied to clipboard

Returns whether this event is an 'emulated' pointer event.

Link copied to clipboard
open fun getSeat(): Seat?

Returns the seat that originated the event.

Link copied to clipboard
open fun getSurface(): Surface?

Extracts the surface associated with an event.

Link copied to clipboard
open fun getTime(): <Error class: unknown class>

Returns the timestamp of @event.

Link copied to clipboard
open fun ref(): Event

Increase the ref count of @event.

Link copied to clipboard

Returns whether a GdkEvent should trigger a context menu, according to platform conventions.

Link copied to clipboard
open fun unref()

Decrease the ref count of @event.