Gjsify LogoGjsify Logo

Button event.

The event coordinates are relative to the stage that received the event, and can be transformed into actor-relative coordinates by using clutter_actor_transform_stage_point().

record

Hierarchy

  • ButtonEvent

Index

Constructors

Properties

axes: number

reserved for future use

field
button: number

event button

field
click_count: number

number of button presses within the default time and radius

field
device: InputDevice

the device that originated the event. If you want the physical device the event originated from, use clutter_event_get_source_device()

field
flags: EventFlags

event flags

field
modifier_state: Clutter.ModifierType

button modifiers

field
source: Clutter.Actor

event source actor

field
stage: Clutter.Stage

event source stage

field
time: number

event time

field

event type

field
x: number

event X coordinate, relative to the stage

field
y: number

event Y coordinate, relative to the stage

field
name: string

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method