SugarGestures.SwipeController

g GObject.Object GObject.Object SugarGestures.EventController SugarGestures.EventController GObject.Object->SugarGestures.EventController SugarGestures.SwipeController SugarGestures.SwipeController SugarGestures.EventController->SugarGestures.SwipeController

Subclasses:None

Virtual Methods

Inherited:SugarGestures.EventController (6), GObject.Object (7)
  do_swipe_ended (direction)

Properties

Inherited:SugarGestures.EventController (2)
Name Type Flags Short Description
directions SugarGestures.SwipeDirectionFlags r/w/co Allowed swipe directions

Signals

Inherited:SugarGestures.EventController (3), GObject.Object (1)
Name Short Description
swipe-ended  

Fields

Inherited:SugarGestures.EventController (3), GObject.Object (1)
Name Type Access Description
parent_instance SugarGestures.EventController r  

Class Details

class SugarGestures.SwipeController(**kwargs)
Bases:SugarGestures.EventController
Abstract:No
Structure:SugarGestures.SwipeControllerClass
classmethod new(directions)
Parameters:directions (SugarGestures.SwipeDirectionFlags) –
Return type:SugarGestures.EventController
do_swipe_ended(direction) virtual
Parameters:direction (SugarGestures.SwipeDirection) –

Signal Details

SugarGestures.SwipeController.signals.swipe_ended(swipe_controller, object)
Signal Name:

swipe-ended

Flags:

RUN_FIRST

Parameters:

Property Details

SugarGestures.SwipeController.props.directions
Name:directions
Type:SugarGestures.SwipeDirectionFlags
Default Value:0
Flags:READABLE, WRITABLE, CONSTRUCT_ONLY

Allowed swipe directions