summaryrefslogtreecommitdiff
path: root/src/lib/evas/gesture/efl_gesture_events.eo
blob: 5c907b9f3ccb3c7ee9fc25ae3c29dc464fcd615d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
interface @beta Efl.Gesture.Events
{
   [[Interface for objects capable of emitting gesture events, like @Efl.Canvas.Object.
   ]]
   event_c_prefix: efl;
   events {
      gesture,tap: Efl.Canvas.Gesture_Tap; [[Emitted when a Tap gesture has been detected.
        A Tap gesture consists of a touch of the screen (or click of the mouse) quickly followed by
        a release. If the release happens too late a @[Efl.Gesture.Events.gesture,long_tap] event will be
        emitted instead.
      ]]

      gesture,double_tap: Efl.Canvas.Gesture_Double_Tap; [[Emitted when a Double-tap gesture has been detected.
        A Double-tap gesture consists of two taps on the screen (or clicks of the mouse) in quick
        succession. If the second one is delayed for too long they will be detected as two independent
        @[Efl.Gesture.Events.gesture,tap] events.
      ]]

      gesture,triple_tap: Efl.Canvas.Gesture_Triple_Tap; [[Emitted when a Triple-tap gesture has been detected.
        A Triple-tap gesture consists of three taps on the screen (or clicks of the mouse) in quick
        succession. If any of them is delayed for too long they will be detected as independent
        @[Efl.Gesture.Events.gesture,tap] or @[Efl.Gesture.Events.gesture,double_tap] events.
      ]]

      gesture,long_tap: Efl.Canvas.Gesture_Long_Tap; [[Emitted when a Long-tap gesture has been detected.
        A Long-tap gesture consists of a touch of the screen (or click of the mouse) followed by a release
        after some time. If the release happens too quickly a @[Efl.Gesture.Events.gesture,tap] event will be
        emitted instead.
      ]]

      gesture,momentum: Efl.Canvas.Gesture_Momentum; [[Emitted when a Momentum gesture has been detected.
        A Momentum gesture consists of a quick displacement of the finger while touching the screen (or while
        holding down a mouse button).
      ]]

      gesture,flick: Efl.Canvas.Gesture_Flick; [[Emitted when a Flick gesture has been detected.
        A Flick gesture consists of a quick displacement of the finger while touching the screen (or while
        holding down a mouse button) followed by a release before slowing down.
      ]]

      gesture,zoom: Efl.Canvas.Gesture_Zoom; [[Emitted when a Zoom gesture has been detected.
        A Zoom gesture consists of two fingers touching the screen and separating ("zoom in") or
        getting closer ("zoom out" or "pinch").
        This gesture cannot be performed with a mouse as it requires more than one pointer.
      ]]
   }
}