summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_layout.eo
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-08-03 11:28:29 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-08-04 11:52:16 +0900
commitfb941c457c9cf62700a2843e9f5839f707de0b49 (patch)
tree9d036f9f82babcc7a39b3f134aa5249b21980fc6 /src/lib/elementary/elm_layout.eo
parent82e610032229b7d2cf71e7b8940fb5c10f67b8df (diff)
layout: Improve doc for theme_set
Ref T5315
Diffstat (limited to 'src/lib/elementary/elm_layout.eo')
-rw-r--r--src/lib/elementary/elm_layout.eo21
1 files 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,
11 data: Elm_Layout_Smart_Data; 11 data: Elm_Layout_Smart_Data;
12 methods { 12 methods {
13 @property theme { 13 @property theme {
14 [[The theme of this widget, defines which edje group will be used.
15
16 Based on the type of widget ($klass), a given $group and a
17 $style (usually "default"), the edje group name will be formed
18 for this object.
19 ]]
14 set { 20 set {
15 [[Set the edje group from the elementary theme that will be used 21 [[Sets the edje group from the elementary theme that will be used
16 as layout. 22 as layout.
17 23
18 Note that $style will be the new style of $obj too, as in an 24 Note that $style will be the new style of this object, as in an
19 \@ref elm_object_style_set call. 25 @Elm.Widget.style.
26
27 If this returns $false the widget is very likely to become
28 non-functioning.
20 ]] 29 ]]
21 return: bool; [[$true on success, $false otherwise]] 30 return: bool; [[$true on success, $false otherwise]]
22 } 31 }
23 values { 32 values {
24 klass: string; [[The class of the group.]] 33 klass: string; [[The class of the group, eg. "button".]]
25 group: string; [[The group.]] 34 group: string("base"); [[The group, eg. "base".]]
26 style: string; [[The style to used.]] 35 style: string("default"); [[The style to used, eg "default".]]
27 } 36 }
28 } 37 }
29 sizing_eval { 38 sizing_eval {