mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 12:32:05 +00:00
23a9980c72
A long press is a special form of click action; the default implementation uses a single signal with multiple states: query, action and cancel. On click we use the "query" state to check whether the ClutterClickAction supports long presses; if the callback returns TRUE then we install a timeout and we either emit the "activate" state when the timeout expires or we emit the "cancel" state if the pointer leaves the actor, or if the pointer moves outside a certain threshold. If the long press reached the "activate" state then we skip the clicked signal emission.
27 lines
455 B
Plaintext
27 lines
455 B
Plaintext
BOOLEAN:BOXED
|
|
BOOLEAN:OBJECT,ENUM
|
|
BOOLEAN:STRING,UINT,FLAGS
|
|
BOXED:UINT,UINT
|
|
DOUBLE:VOID
|
|
UINT:VOID
|
|
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,FLOAT,FLOAT
|
|
VOID:OBJECT,FLOAT,FLOAT,FLAGS
|
|
VOID:OBJECT,INT
|
|
VOID:OBJECT,PARAM
|
|
VOID:OBJECT,POINTER
|
|
VOID:OBJECT,UINT
|
|
VOID:POINTER
|
|
VOID:STRING,BOOLEAN,BOOLEAN
|
|
VOID:STRING,INT
|
|
VOID:UINT
|
|
VOID:VOID
|
|
VOID:STRING,INT,POINTER
|