summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_draggable_interface.eo
blob: 3da51ec328276876afc791403bfa93309523017c (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
interface Evas.Draggable_Interface (Evas.Signal_Interface)
{
   legacy_prefix: null;
   methods {
        @property drag_target {
             [[Contrtol whether the object's content is changed by drag and drop.

               If $drag_target is true, the object can be target of dragging object and 
               the content of this object can be changed into dragging content.
               For example, If object deals with image and $drag_target is true, user can drag
               new image and drop it into this object. 
               And then this object's image can be changed into new image.]]
             set {
             }
             get {
             }
             values {
                  set: bool; [[Turn on or off drop_target. Default is $false.]]
             }
        }
   }
   
   events {
      drag;
      drag,start;
      drag,stop;
      drag,end;
      drag,start,up;
      drag,start,down;
      drag,start,right;
      drag,start,left;
   }
}