Class (GI Struct)

Clutter-18ClutterEvent

Index

Constructors

Properties

Methods

  • Retrieves the array of axes values attached to the event.

    Returns [number, number]

    an array of axis values

  • Retrieves the coordinates of event and puts them into x and y.

    Returns [number, number]

  • Returns the gesture motion deltas relative to the current pointer position.4

    Returns [number, number]

  • Returns the angle delta reported by this specific event.

    Returns number

    The angle delta relative to the previous event.4

  • Retrieves the keycode of the key that caused event

    Returns number

    The keycode representing the key

  • Retrieves the unicode value for the key that caused keyev.

    Returns string

    The unicode value representing the key

  • Parameters

    • dx: number
    • dy: number
    • dx_unaccel: number
    • dy_unaccel: number
    • dx_constrained: number
    • dy_constrained: number

    Returns boolean

  • Returns the number of fingers that is triggering the touchpad gesture.

    Returns number

    the number of fingers in the gesture.4

  • Checks whether event has the Control modifier mask set.

    Returns boolean

    true if the event has the Control modifier mask set

  • Checks whether event has the Shift modifier mask set.

    Returns boolean

    true if the event has the Shift modifier mask set

  • Checks whether a pointer event has been generated by the windowing system. The returned value can be used to distinguish between events synthesized by the windowing system itself (as opposed by Clutter).

    Returns boolean

    true if the event is pointer emulated

  • Puts a copy of the event on the back of the event queue. The event will have the Clutter.EventFlags.FLAG_SYNTHETIC flag set. If the source is set event signals will be emitted for this source and capture/bubbling for its ancestors. If the source is not set it will be generated by picking or use the actor that currently has keyboard focus

    Returns void