From 7ebeec3decfd3372e964098b8281ecf478c8dd4a Mon Sep 17 00:00:00 2001 From: Ji-Youn Park Date: Fri, 18 Mar 2016 17:34:59 +0830 Subject: [PATCH] Evas.Draggable_Interface: add drag_target property object can set this property true if object can be target of dragging content. --- .../evas/canvas/evas_draggable_interface.eo | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/lib/evas/canvas/evas_draggable_interface.eo b/src/lib/evas/canvas/evas_draggable_interface.eo index 5f1a8d06b1..3da51ec328 100644 --- a/src/lib/evas/canvas/evas_draggable_interface.eo +++ b/src/lib/evas/canvas/evas_draggable_interface.eo @@ -1,5 +1,25 @@ 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;