PadEvent

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

An event related to a pad-based device.

Skipped during bindings generation

  • parameter index: index: Out parameter is not supported

  • parameter group: group: Out parameter is not supported

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 gdkPadEventPointer: <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 getButton(): <Error class: unknown class>

Extracts information about the pressed button from a pad 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

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.