SugarGestures.SwipeController¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
Virtual Methods¶
- Inherited:
|
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
Allowed swipe directions |
Signals¶
- Inherited:
Name |
Short Description |
---|---|
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
||
priv |
r |
Class Details¶
- class SugarGestures.SwipeController(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(directions)¶
- Parameters:
directions (
SugarGestures.SwipeDirectionFlags
) –- Return type:
- do_swipe_ended(direction) virtual¶
- Parameters:
direction (
SugarGestures.SwipeDirection
) –
Signal Details¶
- SugarGestures.SwipeController.signals.swipe_ended(swipe_controller, object)¶
- Signal Name:
swipe-ended
- Flags:
- Parameters:
swipe_controller (
SugarGestures.SwipeController
) – The object which received the signalobject (
SugarGestures.SwipeDirection
) –
Property Details¶
- SugarGestures.SwipeController.props.directions¶
- Name:
directions
- Type:
- Default Value:
0
- Flags:
Allowed swipe directions