Clutter.SwipeAction

g Clutter.Action Clutter.Action Clutter.GestureAction Clutter.GestureAction Clutter.Action->Clutter.GestureAction Clutter.ActorMeta Clutter.ActorMeta Clutter.ActorMeta->Clutter.Action Clutter.SwipeAction Clutter.SwipeAction Clutter.GestureAction->Clutter.SwipeAction GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Clutter.ActorMeta GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned

Subclasses:

None

Methods

Inherited:

Clutter.GestureAction (18), Clutter.ActorMeta (5), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

Virtual Methods

Inherited:

Clutter.GestureAction (5), Clutter.ActorMeta (1), GObject.Object (7)

do_swept (actor, direction)

do_swipe (actor, direction)

Properties

Inherited:

Clutter.GestureAction (4), Clutter.ActorMeta (3)

Signals

Inherited:

Clutter.GestureAction (4), GObject.Object (1)

Name

Short Description

swept

The ::swept signal is emitted when a swipe gesture is recognized on the attached actor. deprecated

swipe

The ::swipe signal is emitted when a swipe gesture is recognized on the attached actor.

Fields

Inherited:

Clutter.GestureAction (4), GObject.Object (1)

Name

Type

Access

Description

parent_instance

Clutter.GestureAction

r

Class Details

class Clutter.SwipeAction(**kwargs)
Bases:

Clutter.GestureAction

Abstract:

No

Structure:

Clutter.SwipeActionClass

The Clutter.SwipeAction structure contains only private data and should be accessed using the provided API

New in version 1.8.

classmethod new()
Returns:

the newly created Clutter.SwipeAction

Return type:

Clutter.Action

Creates a new Clutter.SwipeAction instance

New in version 1.8.

do_swept(actor, direction) virtual
Parameters:
do_swipe(actor, direction) virtual
Parameters:
Return type:

bool

Signal Details

Clutter.SwipeAction.signals.swept(swipe_action, actor, direction)
Signal Name:

swept

Flags:

RUN_LAST, DEPRECATED

Parameters:

The ::swept signal is emitted when a swipe gesture is recognized on the attached actor.

New in version 1.8.

Deprecated since version 1.14: Use the ::swipe signal instead.

Clutter.SwipeAction.signals.swipe(swipe_action, actor, direction)
Signal Name:

swipe

Flags:

RUN_LAST

Parameters:
Returns:

True if the swipe should continue, and False if the swipe should be cancelled.

Return type:

bool

The ::swipe signal is emitted when a swipe gesture is recognized on the attached actor.

New in version 1.14.