summaryrefslogtreecommitdiff
path: root/src/lib/evas/gesture/efl_gesture_recognizer.eo
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/gesture/efl_gesture_recognizer.eo')
-rw-r--r--src/lib/evas/gesture/efl_gesture_recognizer.eo44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/lib/evas/gesture/efl_gesture_recognizer.eo b/src/lib/evas/gesture/efl_gesture_recognizer.eo
new file mode 100644
index 0000000..f1e340e
--- /dev/null
+++ b/src/lib/evas/gesture/efl_gesture_recognizer.eo
@@ -0,0 +1,44 @@
1import efl_gesture_types;
2
3abstract Efl.Gesture.Recognizer(Efl.Object)
4{
5 methods {
6 create @pure_virtual{
7 [[This function is called to create a new Efl.Gesture object for the given target]]
8
9 params {
10 @in target: Efl.Object; [[The target widget]]
11 }
12 return: Efl.Gesture; [[Returns the Efl.Gesture event object]]
13 }
14 recognize @pure_virtual{
15 [[Handles the given event for the watched object, updating the state of the gesture object as required, and returns a suitable result for the current recognition step.]]
16
17 params {
18 @in gesture: Efl.Gesture; [[The gesture object]]
19 @in watched: Efl.Object; [[The watched object]]
20 @in event: Efl.Gesture.Touch; [[The pointer event]]
21
22 }
23 return: Efl.Gesture.Recognizer.Result; [[Returns the Efl.Gesture event object]]
24 }
25 reset {
26 [[This function is called by the framework to reset a given gesture.]]
27
28 params {
29 @in gesture: Efl.Gesture; [[The gesture object]]
30 }
31 }
32 @property config{
33 [[This property holds the config value for the recognizer]]
34 get {
35 }
36 keys {
37 name: string; [[propery name]]
38 }
39 values {
40 value: ptr(any_value); [[value of the property]]
41 }
42 }
43 }
44} \ No newline at end of file