summaryrefslogtreecommitdiff
path: root/src/lib/evas/gesture/efl_canvas_gesture.eo
blob: 2a097d5fad05db1222dacabff699c32d29e19bcc (plain)
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
48
49
50
51
52
53
import efl_canvas_gesture_types;

abstract @beta Efl.Canvas.Gesture extends Efl.Object
{
   [[EFL Gesture abstract class

     A gesture class defines a method that spcific gesture event and privides information
     about the gesture's type, state, and associated pointer information.

     For cetain gesture types, additional methods are defined to provide meaningful gesture
     information to the user.]]
   c_prefix: efl_gesture;
   methods {
      @property type {
         [[This property holds the type of the gesture.]]
         get {
         }
         values {
            @cref type: Efl.Event_Description; [[gesture type]]
         }
      }
      @property state {
         [[This property holds the current state of the gesture.]]
         get {
         }
         set {
         }
         values {
            state: Efl.Canvas.Gesture_State; [[gesture state]]
         }
      }
      @property hotspot {
         [[This property holds the hotspot of the current gesture.]]
         get {
         }
         set {
         }
         values {
            hotspot: Eina.Position2D;[[hotspot co-ordinate]]
         }
      }
      @property timestamp {
         [[This property holds the timestamp of the current gesture.]]
         get {
         }
         set {
         }
         values {
            timestamp: uint;[[The timestamp]]
         }
      }
   }
}