Gjsify LogoGjsify Logo

Hierarchy

Index

Properties

dragArea?: Clutter.Rect

Constains the dragging action (or in particular, the resulting actor position) to the specified #ClutterRect, in parent's coordinates.

dragAxis?: Clutter.DragAxis

Constraints the dragging action to the specified axis

dragHandle?: Clutter.Actor

The #ClutterActor that is effectively being dragged

A #ClutterDragAction will, be default, use the #ClutterActor that has been attached to the action; it is possible to create a separate #ClutterActor and use it instead.

Setting this property has no effect on the #ClutterActor argument passed to the #ClutterDragAction signals

enabled?: boolean

Whether or not the #ClutterActorMeta is enabled

name?: string

The unique name to access the #ClutterActorMeta

xDragThreshold?: number

The horizontal threshold, in pixels, that the cursor must travel in order to begin a drag action.

When set to a positive value, #ClutterDragAction will only emit #ClutterDragAction::drag-begin if the pointer has moved horizontally at least of the given amount of pixels since the button press event.

When set to -1, #ClutterDragAction will use the default threshold stored in the #ClutterSettings:dnd-drag-threshold property of #ClutterSettings.

When read, this property will always return a valid drag threshold, either as set or the default one.

yDragThreshold?: number

The vertical threshold, in pixels, that the cursor must travel in order to begin a drag action.

When set to a positive value, #ClutterDragAction will only emit #ClutterDragAction::drag-begin if the pointer has moved vertically at least of the given amount of pixels since the button press event.

When set to -1, #ClutterDragAction will use the value stored in the #ClutterSettings:dnd-drag-threshold property of #ClutterSettings.

When read, this property will always return a valid drag threshold, either as set or the default one.

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