From fcc7bbcf97c78866586a64007e70c2027196f898 Mon Sep 17 00:00:00 2001 From: Jee-Yong Um Date: Thu, 11 Aug 2016 11:18:35 +0900 Subject: [PATCH] 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 { -- 2.7.4