jypark pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=7ebeec3decfd3372e964098b8281ecf478c8dd4a

commit 7ebeec3decfd3372e964098b8281ecf478c8dd4a
Author: Ji-Youn Park <jy0703.p...@samsung.com>
Date:   Fri Mar 18 17:34:59 2016 +0830

    Evas.Draggable_Interface: add drag_target property
    
    object can set this property true if object can be target of dragging 
content.
---
 src/lib/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 5f1a8d0..3da51ec 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;

-- 


Reply via email to