summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_dnd_container.eo
blob: 8a8ec2f489c0e2fd86f0f4d977f49642c6e0f84b (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
import efl_ui_dnd_types;

mixin Efl.Ui.Dnd.Container {
   methods {
      @property drag_delay_time {
         [[The time since mouse down happens to drag starts.]]
         set {
            legacy: null;
         }
         get {
            legacy: null;
         }
         values {
            time: double; [[The drag delay time]]
         }
      }
      drag_item_add {
         [[This registers a drag for items in a container. Many items can be
           dragged at a time. During dragging, there are three events emitted:
           EFL_DND_EVENT_DRAG_POS, EFL_DND_EVENT_DRAG_ACCEPT, EFL_DND_EVENT_DRAG_DONE.]]
         params {
            @in data_func: Efl.Dnd.Drag_Data_Get; [[Data and its format]]
            @in item_func: Efl.Dnd.Item_Get; [[Item to determine drag start]]
            @in icon_func: Efl.Dnd.Drag_Icon_Create; [[Icon used during drag]]
            @in icon_list_func: Efl.Dnd.Drag_Icon_List_Create; [[Icons used for animations CHECKING ]]
            @in seat: uint; [[Specified seat for multiple seats case.]]
         }
      }
      drag_item_del {
         [[Remove drag function of items in the container object.]]
         params {
            @in seat: uint; [[Specified seat for multiple seats case.]]
         }
      }
      drop_item_add {
         params {
            @in format: Efl.Selection.Format; [[Accepted data formats]]
            @in item_func: Efl.Dnd.Item_Get; [[Get item at specific position]]
            @in seat: uint; [[Specified seat for multiple seats case.]]
         }
      }
      drop_item_del {
         params {
            @in seat: uint; [[Specified seat for multiple seats case.]]
         }
      }
   }
}