summaryrefslogtreecommitdiff
path: root/src/examples/elementary
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/elementary')
-rw-r--r--src/examples/elementary/efl_canvas_layout_text.c3
-rw-r--r--src/examples/elementary/efl_ui_grid_example_1.c3
-rw-r--r--src/examples/elementary/efl_ui_list_example_1.c3
-rw-r--r--src/examples/elementary/efl_ui_radio_example_01.c3
-rw-r--r--src/examples/elementary/efl_ui_relative_layout_example_01.c3
-rw-r--r--src/examples/elementary/efl_ui_relative_layout_example_02.c3
-rw-r--r--src/examples/elementary/efl_ui_theme_example_01.c3
-rw-r--r--src/examples/elementary/efl_ui_theme_example_02.c3
8 files changed, 8 insertions, 16 deletions
diff --git a/src/examples/elementary/efl_canvas_layout_text.c b/src/examples/elementary/efl_canvas_layout_text.c
index bb4fa7b97c..593dbe8872 100644
--- a/src/examples/elementary/efl_canvas_layout_text.c
+++ b/src/examples/elementary/efl_canvas_layout_text.c
@@ -121,8 +121,7 @@ efl_main(void *data EINA_UNUSED,
121 Eo *win; 121 Eo *win;
122 122
123 win = efl_add(EFL_UI_WIN_CLASS, NULL, 123 win = efl_add(EFL_UI_WIN_CLASS, NULL,
124 efl_ui_win_type_set(efl_added, EFL_UI_WIN_TYPE_BASIC), 124 efl_text_set(efl_added, "Efl Canvas_Layout"),
125 efl_text_set(efl_added, "Efl Canvas_Layout"),
126 efl_ui_win_autodel_set(efl_added, EINA_TRUE), 125 efl_ui_win_autodel_set(efl_added, EINA_TRUE),
127 efl_event_callback_add(efl_added, EFL_UI_WIN_EVENT_DELETE_REQUEST, _on_win_delete, NULL)); 126 efl_event_callback_add(efl_added, EFL_UI_WIN_EVENT_DELETE_REQUEST, _on_win_delete, NULL));
128 127
diff --git a/src/examples/elementary/efl_ui_grid_example_1.c b/src/examples/elementary/efl_ui_grid_example_1.c
index fb854fc0e2..032e5d8fdf 100644
--- a/src/examples/elementary/efl_ui_grid_example_1.c
+++ b/src/examples/elementary/efl_ui_grid_example_1.c
@@ -23,8 +23,7 @@ elm_main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
23 Efl_Ui_Item *gitem; 23 Efl_Ui_Item *gitem;
24 24
25 win = efl_add(EFL_UI_WIN_CLASS, efl_main_loop_get(), 25 win = efl_add(EFL_UI_WIN_CLASS, efl_main_loop_get(),
26 efl_ui_win_type_set(efl_added, EFL_UI_WIN_TYPE_BASIC), 26 efl_text_set(efl_added, "Efl.Ui.Grid"),
27 efl_text_set(efl_added, "Efl.Ui.Grid"),
28 efl_ui_win_autodel_set(efl_added, EINA_TRUE)); 27 efl_ui_win_autodel_set(efl_added, EINA_TRUE));
29 28
30 box = efl_add(EFL_UI_BOX_CLASS, win); 29 box = efl_add(EFL_UI_BOX_CLASS, win);
diff --git a/src/examples/elementary/efl_ui_list_example_1.c b/src/examples/elementary/efl_ui_list_example_1.c
index 16664142a6..cbd05d23d1 100644
--- a/src/examples/elementary/efl_ui_list_example_1.c
+++ b/src/examples/elementary/efl_ui_list_example_1.c
@@ -110,8 +110,7 @@ elm_main(int argc EINA_UNUSED, char **argv)
110 110
111 111
112 win = efl_add(EFL_UI_WIN_CLASS, efl_main_loop_get(), 112 win = efl_add(EFL_UI_WIN_CLASS, efl_main_loop_get(),
113 efl_ui_win_type_set(efl_added, EFL_UI_WIN_TYPE_BASIC), 113 efl_text_set(efl_added, "Efl.Ui.List"),
114 efl_text_set(efl_added, "Efl.Ui.List"),
115 efl_ui_win_autodel_set(efl_added, EINA_TRUE)); 114 efl_ui_win_autodel_set(efl_added, EINA_TRUE));
116 115
117 116
diff --git a/src/examples/elementary/efl_ui_radio_example_01.c b/src/examples/elementary/efl_ui_radio_example_01.c
index b6b72e2ae2..3ab57b87fb 100644
--- a/src/examples/elementary/efl_ui_radio_example_01.c
+++ b/src/examples/elementary/efl_ui_radio_example_01.c
@@ -25,8 +25,7 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
25 elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED); 25 elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
26 26
27 win = efl_add(EFL_UI_WIN_CLASS, efl_main_loop_get(), 27 win = efl_add(EFL_UI_WIN_CLASS, efl_main_loop_get(),
28 efl_ui_win_type_set(efl_added, EFL_UI_WIN_TYPE_BASIC), 28 efl_text_set(efl_added, "Efl.Ui.Radio example"),
29 efl_text_set(efl_added, "Efl.Ui.Radio example"),
30 efl_ui_win_autodel_set(efl_added, EINA_TRUE) 29 efl_ui_win_autodel_set(efl_added, EINA_TRUE)
31 ); 30 );
32 31
diff --git a/src/examples/elementary/efl_ui_relative_layout_example_01.c b/src/examples/elementary/efl_ui_relative_layout_example_01.c
index e2d2af7948..77453cf7ce 100644
--- a/src/examples/elementary/efl_ui_relative_layout_example_01.c
+++ b/src/examples/elementary/efl_ui_relative_layout_example_01.c
@@ -16,8 +16,7 @@ elm_main(int argc, char **argv)
16 Eo *win, *layout, *btn1, *btn2, *btn3; 16 Eo *win, *layout, *btn1, *btn2, *btn3;
17 17
18 win = efl_add(EFL_UI_WIN_CLASS, efl_main_loop_get(), 18 win = efl_add(EFL_UI_WIN_CLASS, efl_main_loop_get(),
19 efl_ui_win_type_set(efl_added, EFL_UI_WIN_TYPE_BASIC), 19 efl_text_set(efl_added, "Efl.Ui.Relative_Layout"),
20 efl_text_set(efl_added, "Efl.Ui.Relative_Layout"),
21 efl_ui_win_autodel_set(efl_added, EINA_TRUE)); 20 efl_ui_win_autodel_set(efl_added, EINA_TRUE));
22 21
23 layout = efl_add(EFL_UI_RELATIVE_LAYOUT_CLASS, win, 22 layout = efl_add(EFL_UI_RELATIVE_LAYOUT_CLASS, win,
diff --git a/src/examples/elementary/efl_ui_relative_layout_example_02.c b/src/examples/elementary/efl_ui_relative_layout_example_02.c
index fe254633bb..bc3740d601 100644
--- a/src/examples/elementary/efl_ui_relative_layout_example_02.c
+++ b/src/examples/elementary/efl_ui_relative_layout_example_02.c
@@ -16,8 +16,7 @@ elm_main(int argc, char **argv)
16 Eo *win, *layout, *btn1, *btn2; 16 Eo *win, *layout, *btn1, *btn2;
17 17
18 win = efl_add(EFL_UI_WIN_CLASS, efl_main_loop_get(), 18 win = efl_add(EFL_UI_WIN_CLASS, efl_main_loop_get(),
19 efl_ui_win_type_set(efl_added, EFL_UI_WIN_TYPE_BASIC), 19 efl_text_set(efl_added, "Efl.Ui.Relative_Layout"),
20 efl_text_set(efl_added, "Efl.Ui.Relative_Layout"),
21 efl_ui_win_autodel_set(efl_added, EINA_TRUE)); 20 efl_ui_win_autodel_set(efl_added, EINA_TRUE));
22 21
23 layout = efl_add(EFL_UI_RELATIVE_LAYOUT_CLASS, win, 22 layout = efl_add(EFL_UI_RELATIVE_LAYOUT_CLASS, win,
diff --git a/src/examples/elementary/efl_ui_theme_example_01.c b/src/examples/elementary/efl_ui_theme_example_01.c
index fe09a83556..27ad63f1c4 100644
--- a/src/examples/elementary/efl_ui_theme_example_01.c
+++ b/src/examples/elementary/efl_ui_theme_example_01.c
@@ -52,8 +52,7 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
52 efl_ui_theme_extension_add(default_theme, EXAMPLE_EDJ_FILE_PATH); 52 efl_ui_theme_extension_add(default_theme, EXAMPLE_EDJ_FILE_PATH);
53 53
54 win = efl_add(EFL_UI_WIN_CLASS, efl_main_loop_get(), 54 win = efl_add(EFL_UI_WIN_CLASS, efl_main_loop_get(),
55 efl_ui_win_type_set(efl_added, EFL_UI_WIN_TYPE_BASIC), 55 efl_text_set(efl_added, "Efl.Ui.Theme example"),
56 efl_text_set(efl_added, "Efl.Ui.Theme example"),
57 efl_ui_win_autodel_set(efl_added, EINA_TRUE) 56 efl_ui_win_autodel_set(efl_added, EINA_TRUE)
58 ); 57 );
59 58
diff --git a/src/examples/elementary/efl_ui_theme_example_02.c b/src/examples/elementary/efl_ui_theme_example_02.c
index 1b7e61c96a..52b1952f9d 100644
--- a/src/examples/elementary/efl_ui_theme_example_02.c
+++ b/src/examples/elementary/efl_ui_theme_example_02.c
@@ -52,8 +52,7 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
52 efl_ui_theme_overlay_add(default_theme, EXAMPLE_EDJ_FILE_PATH); 52 efl_ui_theme_overlay_add(default_theme, EXAMPLE_EDJ_FILE_PATH);
53 53
54 win = efl_add(EFL_UI_WIN_CLASS, efl_main_loop_get(), 54 win = efl_add(EFL_UI_WIN_CLASS, efl_main_loop_get(),
55 efl_ui_win_type_set(efl_added, EFL_UI_WIN_TYPE_BASIC), 55 efl_text_set(efl_added, "Efl.Ui.Theme example"),
56 efl_text_set(efl_added, "Efl.Ui.Theme example"),
57 efl_ui_win_autodel_set(efl_added, EINA_TRUE) 56 efl_ui_win_autodel_set(efl_added, EINA_TRUE)
58 ); 57 );
59 58