Clutter.SwipeAction¶
- Subclasses:
None
Methods¶
- Inherited:
Clutter.GestureAction (18), Clutter.ActorMeta (5), GObject.Object (37)
- Structs:
class |
|
Virtual Methods¶
|
|
|
Properties¶
- Inherited:
Signals¶
- Inherited:
Name |
Short Description |
---|---|
The |
|
The |
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Clutter.SwipeAction(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The
Clutter.SwipeAction
structure contains only private data and should be accessed using the provided APINew in version 1.8.
- classmethod new()¶
- Returns:
the newly created
Clutter.SwipeAction
- Return type:
Creates a new
Clutter.SwipeAction
instanceNew in version 1.8.
- do_swept(actor, direction) virtual¶
- Parameters:
actor (
Clutter.Actor
) –direction (
Clutter.SwipeDirection
) –
- do_swipe(actor, direction) virtual¶
- Parameters:
actor (
Clutter.Actor
) –direction (
Clutter.SwipeDirection
) –
- Return type:
Signal Details¶
- Clutter.SwipeAction.signals.swept(swipe_action, actor, direction)¶
- Signal Name:
swept
- Flags:
- Parameters:
swipe_action (
Clutter.SwipeAction
) – The object which received the signalactor (
Clutter.Actor
) – theClutter.Actor
attached to the actiondirection (
Clutter.SwipeDirection
) – the main direction of the swipe gesture
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:
- Parameters:
swipe_action (
Clutter.SwipeAction
) – The object which received the signalactor (
Clutter.Actor
) – theClutter.Actor
attached to the actiondirection (
Clutter.SwipeDirection
) – the main direction of the swipe gesture
- Returns:
True
if the swipe should continue, andFalse
if the swipe should be cancelled.- Return type:
The
::swipe
signal is emitted when a swipe gesture is recognized on the attached actor.New in version 1.14.