summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJi-Youn Park <jy0703.park@samsung.com>2016-03-18 17:34:59 +0830
committerJi-Youn Park <jy0703.park@samsung.com>2016-03-18 17:35:04 +0830
commit0e31b4a8eaa616c3e0081a181a8fccb5b42e06e3 (patch)
treec39dce7b0cb36fc7b051ace81630c15d7017fa6e
parent72363b4777e3a6e67b22e7dbffcb430ed1f04be7 (diff)
downloadefl-devs/jypark/work.tar.gz
Evas.Draggable_Interface: add drag_target propertydevs/jypark/work
object can set this property true if object can be target of dragging content.
-rw-r--r--src/lib/evas/canvas/evas_draggable_interface.eo20
1 files changed, 20 insertions, 0 deletions
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;