summaryrefslogtreecommitdiff
path: root/doc/widgets
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2011-11-17 21:02:31 +0000
committerBoris Faure <billiob@gmail.com>2011-11-17 21:02:31 +0000
commit424c04f7231f9cd45cfa86f6c841b4579fb7f7c4 (patch)
tree037915ef37e95b56d9fdaa0660f1568161bf4693 /doc/widgets
parentfde4f2f98f66c677e9fee44d1915dbc58526c508 (diff)
elm: change elm_object_content_part_set/get/unset to elm_object_part_content_set/get/unset
SVN revision: 65349
Diffstat (limited to 'doc/widgets')
-rw-r--r--doc/widgets/widget_preview_bubble2.c2
-rw-r--r--doc/widgets/widget_preview_bubble3.c2
-rw-r--r--doc/widgets/widget_preview_button2.c2
-rw-r--r--doc/widgets/widget_preview_button3.c2
-rw-r--r--doc/widgets/widget_preview_check2.c2
-rw-r--r--doc/widgets/widget_preview_check3.c2
-rw-r--r--doc/widgets/widget_preview_layout.c2
-rw-r--r--doc/widgets/widget_preview_panes.c4
-rw-r--r--doc/widgets/widget_preview_progressbar.c2
9 files changed, 10 insertions, 10 deletions
diff --git a/doc/widgets/widget_preview_bubble2.c b/doc/widgets/widget_preview_bubble2.c
index d032a7139..c2272ea70 100644
--- a/doc/widgets/widget_preview_bubble2.c
+++ b/doc/widgets/widget_preview_bubble2.c
@@ -9,7 +9,7 @@ elm_object_text_set(o, "Bubble");
9 9
10Evas_Object *o2 = elm_icon_add(win); 10Evas_Object *o2 = elm_icon_add(win);
11elm_icon_standard_set(o2, "home"); 11elm_icon_standard_set(o2, "home");
12elm_object_content_part_set(o, "icon", o2); 12elm_object_part_content_set(o, "icon", o2);
13evas_object_show(o2); 13evas_object_show(o2);
14 14
15#include "widget_preview_tmpl_foot.c" 15#include "widget_preview_tmpl_foot.c"
diff --git a/doc/widgets/widget_preview_bubble3.c b/doc/widgets/widget_preview_bubble3.c
index ddf99b7c2..ff474f104 100644
--- a/doc/widgets/widget_preview_bubble3.c
+++ b/doc/widgets/widget_preview_bubble3.c
@@ -7,7 +7,7 @@ evas_object_show(o);
7 7
8Evas_Object *o2 = elm_icon_add(win); 8Evas_Object *o2 = elm_icon_add(win);
9elm_icon_standard_set(o2, "home"); 9elm_icon_standard_set(o2, "home");
10elm_object_content_part_set(o, "icon", o2); 10elm_object_part_content_set(o, "icon", o2);
11evas_object_show(o2); 11evas_object_show(o2);
12 12
13#include "widget_preview_tmpl_foot.c" 13#include "widget_preview_tmpl_foot.c"
diff --git a/doc/widgets/widget_preview_button2.c b/doc/widgets/widget_preview_button2.c
index 87b40b06f..f5b9d111c 100644
--- a/doc/widgets/widget_preview_button2.c
+++ b/doc/widgets/widget_preview_button2.c
@@ -9,7 +9,7 @@ elm_object_text_set(o, "Button");
9 9
10Evas_Object *o2 = elm_icon_add(win); 10Evas_Object *o2 = elm_icon_add(win);
11elm_icon_standard_set(o2, "home"); 11elm_icon_standard_set(o2, "home");
12elm_object_content_part_set(o, "icon", o2); 12elm_object_part_content_set(o, "icon", o2);
13evas_object_show(o2); 13evas_object_show(o2);
14 14
15#include "widget_preview_tmpl_foot.c" 15#include "widget_preview_tmpl_foot.c"
diff --git a/doc/widgets/widget_preview_button3.c b/doc/widgets/widget_preview_button3.c
index 764bdca1b..6739b5897 100644
--- a/doc/widgets/widget_preview_button3.c
+++ b/doc/widgets/widget_preview_button3.c
@@ -7,7 +7,7 @@ evas_object_show(o);
7 7
8Evas_Object *o2 = elm_icon_add(win); 8Evas_Object *o2 = elm_icon_add(win);
9elm_icon_standard_set(o2, "home"); 9elm_icon_standard_set(o2, "home");
10elm_object_content_part_set(o, "icon", o2); 10elm_object_part_content_set(o, "icon", o2);
11evas_object_show(o2); 11evas_object_show(o2);
12 12
13#include "widget_preview_tmpl_foot.c" 13#include "widget_preview_tmpl_foot.c"
diff --git a/doc/widgets/widget_preview_check2.c b/doc/widgets/widget_preview_check2.c
index ff9143d29..f71080cc8 100644
--- a/doc/widgets/widget_preview_check2.c
+++ b/doc/widgets/widget_preview_check2.c
@@ -9,7 +9,7 @@ elm_object_text_set(o, "Check");
9 9
10Evas_Object *o2 = elm_icon_add(win); 10Evas_Object *o2 = elm_icon_add(win);
11elm_icon_standard_set(o2, "home"); 11elm_icon_standard_set(o2, "home");
12elm_object_content_part_set(o, "icon", o2); 12elm_object_part_content_set(o, "icon", o2);
13evas_object_show(o2); 13evas_object_show(o2);
14 14
15#include "widget_preview_tmpl_foot.c" 15#include "widget_preview_tmpl_foot.c"
diff --git a/doc/widgets/widget_preview_check3.c b/doc/widgets/widget_preview_check3.c
index 05b4298a2..5e69dbce3 100644
--- a/doc/widgets/widget_preview_check3.c
+++ b/doc/widgets/widget_preview_check3.c
@@ -7,7 +7,7 @@ evas_object_show(o);
7 7
8Evas_Object *o2 = elm_icon_add(win); 8Evas_Object *o2 = elm_icon_add(win);
9elm_icon_standard_set(o2, "home"); 9elm_icon_standard_set(o2, "home");
10elm_object_content_part_set(o, "icon", o2); 10elm_object_part_content_set(o, "icon", o2);
11evas_object_show(o2); 11evas_object_show(o2);
12 12
13#include "widget_preview_tmpl_foot.c" 13#include "widget_preview_tmpl_foot.c"
diff --git a/doc/widgets/widget_preview_layout.c b/doc/widgets/widget_preview_layout.c
index 570c6550e..6ad287319 100644
--- a/doc/widgets/widget_preview_layout.c
+++ b/doc/widgets/widget_preview_layout.c
@@ -13,7 +13,7 @@ evas_object_size_hint_align_set(icon, EVAS_HINT_FILL, EVAS_HINT_FILL);
13evas_object_size_hint_min_set(icon, 200, 140); 13evas_object_size_hint_min_set(icon, 200, 140);
14evas_object_show(icon); 14evas_object_show(icon);
15 15
16elm_object_content_part_set(layout, "elm.swallow.content", icon); 16elm_object_part_content_set(layout, "elm.swallow.content", icon);
17elm_object_part_text_set(layout, "elm.text.title", "Layout"); 17elm_object_part_text_set(layout, "elm.text.title", "Layout");
18 18
19#include "widget_preview_tmpl_foot.c" 19#include "widget_preview_tmpl_foot.c"
diff --git a/doc/widgets/widget_preview_panes.c b/doc/widgets/widget_preview_panes.c
index 1759c87da..114725c0f 100644
--- a/doc/widgets/widget_preview_panes.c
+++ b/doc/widgets/widget_preview_panes.c
@@ -10,13 +10,13 @@ elm_object_text_set(bt, "Left");
10evas_object_size_hint_weight_set(bt, 1.0, 1.0); 10evas_object_size_hint_weight_set(bt, 1.0, 1.0);
11evas_object_size_hint_align_set(bt, -1.0, -1.0); 11evas_object_size_hint_align_set(bt, -1.0, -1.0);
12evas_object_show(bt); 12evas_object_show(bt);
13elm_object_content_part_set(panes, "left", bt); 13elm_object_part_content_set(panes, "left", bt);
14 14
15bt = elm_button_add(win); 15bt = elm_button_add(win);
16elm_object_text_set(bt, "Right"); 16elm_object_text_set(bt, "Right");
17evas_object_size_hint_weight_set(bt, 1.0, 1.0); 17evas_object_size_hint_weight_set(bt, 1.0, 1.0);
18evas_object_size_hint_align_set(bt, -1.0, -1.0); 18evas_object_size_hint_align_set(bt, -1.0, -1.0);
19evas_object_show(bt); 19evas_object_show(bt);
20elm_object_content_part_set(panes, "right", bt); 20elm_object_part_content_set(panes, "right", bt);
21 21
22#include "widget_preview_tmpl_foot.c" 22#include "widget_preview_tmpl_foot.c"
diff --git a/doc/widgets/widget_preview_progressbar.c b/doc/widgets/widget_preview_progressbar.c
index b50842354..46c2444e9 100644
--- a/doc/widgets/widget_preview_progressbar.c
+++ b/doc/widgets/widget_preview_progressbar.c
@@ -15,7 +15,7 @@ evas_object_show(ic);
15pb = elm_progressbar_add(win); 15pb = elm_progressbar_add(win);
16elm_object_text_set(pb, "Label"); 16elm_object_text_set(pb, "Label");
17elm_progressbar_span_size_set(pb, 100); 17elm_progressbar_span_size_set(pb, 100);
18elm_object_content_part_set(pb, "icon", ic); 18elm_object_part_content_set(pb, "icon", ic);
19elm_progressbar_unit_format_set(pb, "%1.1f units"); 19elm_progressbar_unit_format_set(pb, "%1.1f units");
20evas_object_size_hint_align_set(pb, EVAS_HINT_FILL, EVAS_HINT_FILL); 20evas_object_size_hint_align_set(pb, EVAS_HINT_FILL, EVAS_HINT_FILL);
21evas_object_size_hint_weight_set(pb, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 21evas_object_size_hint_weight_set(pb, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);