9ca06d2895
PanAction is a GestureAction-subclass that implements the panning concept for scrollable actors, with the ability to emit interpolated signals to emulate the kinetic inertia of the panning. PanAction provides: • pan signal, notifying users of the panning gesture status; • pan-stopped signal, emitted at the end of the interpolated phase of the panning gesture, if enabled; • pan-axis property, to allow constraining the dragging to a specific axis; • interpolated property, to enable or disable the inertial behaviour; • deceleration property, to customize the rate at which the momentum of the panning will be slowed down; • acceleration-factor property, applied to the inertial momentum when starting the interpolated sequence. An interactive test is also provided. https://bugzilla.gnome.org/show_bug.cgi?id=681648
37 lines
664 B
Plaintext
37 lines
664 B
Plaintext
BOOLEAN:BOXED
|
|
BOOLEAN:BOXED,INT,INT
|
|
BOOLEAN:OBJECT,BOOLEAN
|
|
BOOLEAN:OBJECT,BOXED,DOUBLE
|
|
BOOLEAN:OBJECT,DOUBLE
|
|
BOOLEAN:OBJECT,ENUM
|
|
BOOLEAN:STRING,UINT,FLAGS
|
|
BOOLEAN:OBJECT
|
|
BOOLEAN:OBJECT,FLOAT,FLOAT
|
|
BOXED:UINT,UINT
|
|
DOUBLE:VOID
|
|
UINT:VOID
|
|
VOID:BOOLEAN
|
|
VOID:BOXED
|
|
VOID:BOXED,FLAGS
|
|
VOID:INT
|
|
VOID:INT64,INT64,FLOAT,BOOLEAN
|
|
VOID:INT,INT
|
|
VOID:FLOAT,FLOAT
|
|
VOID:INT,INT,INT,INT
|
|
VOID:OBJECT
|
|
VOID:OBJECT,FLAGS
|
|
VOID:OBJECT,FLOAT,FLOAT
|
|
VOID:OBJECT,FLOAT,FLOAT,FLAGS
|
|
VOID:OBJECT,PARAM
|
|
VOID:OBJECT,POINTER
|
|
VOID:OBJECT,UINT
|
|
VOID:POINTER
|
|
VOID:STRING,BOOLEAN
|
|
VOID:STRING,BOOLEAN,BOOLEAN
|
|
VOID:STRING,INT
|
|
VOID:UINT
|
|
VOID:UINT,STRING,UINT
|
|
VOID:UINT,UINT
|
|
VOID:VOID
|
|
VOID:STRING,INT,POINTER
|