jpeg pushed a commit to branch master.

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

commit fcc7bbcf97c78866586a64007e70c2027196f898
Author: Jee-Yong Um <jc9...@samsung.com>
Date:   Thu Aug 11 11:18:35 2016 +0900

    edje: clean up part text select APIs
---
 src/lib/edje/edje_object.eo | 40 ++++++++++++++++++++++++----------------
 1 file changed, 24 insertions(+), 16 deletions(-)

diff --git a/src/lib/edje/edje_object.eo b/src/lib/edje/edje_object.eo
index 9eb5454..8882f43 100644
--- a/src/lib/edje/edje_object.eo
+++ b/src/lib/edje/edje_object.eo
@@ -1543,16 +1543,20 @@ class Edje.Object (Efl.Canvas.Group.Clipped, Efl.File, 
Efl.Container, Efl.Part)
             data: void_ptr; [[The data pointer to pass to the func callback]]
          }
       }
-      part_text_select_allow_set @const {
-         [[Enables selection if the entry is an EXPLICIT selection mode
-           type.
+      @property part_text_select_allow {
+         set {
+            [[Enables selection if the entry is an EXPLICIT selection mode
+              type.
 
-           The default is to  not allow selection. This function only affects 
user
-           selection, functions such as edje_object_part_text_select_all() and
-           edje_object_part_text_select_none() are not affected.]]
-         params {
-            @in part: string; [[The part name]]
-            @in allow: bool; [[true to enable, false otherwise]]
+              The default is to  not allow selection. This function only 
affects user
+              selection, functions such as edje_object_part_text_select_all() 
and
+              edje_object_part_text_select_none() are not affected.]]
+         }
+         keys {
+            part: string; [[The part name]]
+         }
+         values {
+            allow: bool; [[true to enable, false otherwise]]
          }
       }
       part_text_select_begin @const {
@@ -1589,15 +1593,19 @@ class Edje.Object (Efl.Canvas.Group.Clipped, Efl.File, 
Efl.Container, Efl.Part)
             @in part: string; [[The part name]]
          }
       }
-      part_text_selection_get @const {
-         [[Return the selection text of the object part.
+      @property part_text_selection {
+         get {
+            [[Return the selection text of the object part.
 
-           This function returns selection text of the object part.
+              This function returns selection text of the object part.
 
-           See also @.part_text_select_all() and @.part_text_select_none()]]
-         return: string; [[The text string]]
-         params {
-            @in part: string; [[The part name]]
+              See also @.part_text_select_all() and @.part_text_select_none()]]
+         }
+         keys {
+            part: string; [[The part name]]
+         }
+         values {
+            text: string; [[The text string]]
          }
       }
       part_text_imf_context_get @const {

-- 


Reply via email to