jpeg pushed a commit to branch master.

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

commit fb941c457c9cf62700a2843e9f5839f707de0b49
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Thu Aug 3 11:28:29 2017 +0900

    layout: Improve doc for theme_set
    
    Ref T5315
---
 src/lib/elementary/elm_layout.eo | 21 +++++++++++++++------
 1 file changed, 15 insertions(+), 6 deletions(-)

diff --git a/src/lib/elementary/elm_layout.eo b/src/lib/elementary/elm_layout.eo
index 4e6695ff3d..d5049814ab 100644
--- a/src/lib/elementary/elm_layout.eo
+++ b/src/lib/elementary/elm_layout.eo
@@ -11,19 +11,28 @@ class Elm.Layout (Elm.Widget, Efl.Part, Efl.Container, 
Efl.File,
    data: Elm_Layout_Smart_Data;
    methods {
       @property theme {
+         [[The theme of this widget, defines which edje group will be used.
+
+           Based on the type of widget ($klass), a given $group and a
+           $style (usually "default"), the edje group name will be formed
+           for this object.
+         ]]
          set {
-            [[Set the edje group from the elementary theme that will be used
+            [[Sets the edje group from the elementary theme that will be used
               as layout.
 
-              Note that $style will be the new style of $obj too, as in an
-              \@ref elm_object_style_set call.
+              Note that $style will be the new style of this object, as in an
+              @Elm.Widget.style.
+
+              If this returns $false the widget is very likely to become
+              non-functioning.
             ]]
             return: bool; [[$true on success, $false otherwise]]
          }
          values {
-            klass: string; [[The class of the group.]]
-            group: string; [[The group.]]
-            style: string; [[The style to used.]]
+            klass: string; [[The class of the group, eg. "button".]]
+            group: string("base"); [[The group, eg. "base".]]
+            style: string("default"); [[The style to used, eg "default".]]
          }
       }
       sizing_eval {

-- 


Reply via email to