SugarGestures.LongPressController

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

Subclasses:None

Properties

Inherited:SugarGestures.EventController (2)
Name Type Flags Short Description
threshold int r/w Threshold in pixels where the long press operation remains valid
trigger-delay int r/w delay in milliseconds before the gesture is triggered

Signals

Inherited:SugarGestures.EventController (3), GObject.Object (1)
Name Short Description
pressed  

Fields

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

Class Details

class SugarGestures.LongPressController(**kwargs)
Bases:SugarGestures.EventController
Abstract:No
Structure:SugarGestures.LongPressControllerClass
classmethod new()
Return type:SugarGestures.EventController
do_pressed(x, y) virtual
Parameters:

Signal Details

SugarGestures.LongPressController.signals.pressed(long_press_controller, object, p0)
Signal Name:

pressed

Flags:

RUN_LAST

Parameters:

Property Details

SugarGestures.LongPressController.props.threshold
Name:threshold
Type:int
Default Value:32
Flags:READABLE, WRITABLE

Threshold in pixels where the long press operation remains valid

SugarGestures.LongPressController.props.trigger_delay
Name:trigger-delay
Type:int
Default Value:600
Flags:READABLE, WRITABLE

delay in milliseconds before the gesture is triggered