summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-07-06 17:22:41 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-08-04 10:24:03 +0900
commit83a4c3e3e2c1503f32aff81b46cc9c486a35ebd2 (patch)
treeedf202cfad96ade122edd9913ffb3fb7c2d04de0
parentfd9cf1d3b628f70d66ec85a4f2433c675d9ad243 (diff)
elm_test: Remove calls to visible_set for EO objects
-rw-r--r--src/bin/elementary/test_bg.c16
-rw-r--r--src/bin/elementary/test_box.c10
-rw-r--r--src/bin/elementary/test_code.c5
-rw-r--r--src/bin/elementary/test_efl_gfx_map.c4
-rw-r--r--src/bin/elementary/test_efl_ui_text.c2
-rw-r--r--src/bin/elementary/test_evas_map.c4
-rw-r--r--src/bin/elementary/test_evas_mask.c16
-rw-r--r--src/bin/elementary/test_evas_snapshot.c25
-rw-r--r--src/bin/elementary/test_events.c2
-rw-r--r--src/bin/elementary/test_gfx_filters.c34
-rw-r--r--src/bin/elementary/test_glview.c1
-rw-r--r--src/bin/elementary/test_grid_static.c7
-rw-r--r--src/bin/elementary/test_nstate.c1
-rw-r--r--src/bin/elementary/test_photocam.c8
-rw-r--r--src/bin/elementary/test_ui_box.c9
-rw-r--r--src/bin/elementary/test_ui_clock.c5
-rw-r--r--src/bin/elementary/test_ui_grid.c9
-rw-r--r--src/bin/elementary/test_win_dialog.c5
-rw-r--r--src/bin/elementary/test_win_inline.c1
-rw-r--r--src/bin/elementary/test_win_stack.c1
20 files changed, 33 insertions, 132 deletions
diff --git a/src/bin/elementary/test_bg.c b/src/bin/elementary/test_bg.c
index 2ca9980..4fe764c 100644
--- a/src/bin/elementary/test_bg.c
+++ b/src/bin/elementary/test_bg.c
@@ -335,8 +335,7 @@ test_bg_window(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
335 335
336 box = efl_add(EFL_UI_BOX_CLASS, win, 336 box = efl_add(EFL_UI_BOX_CLASS, win,
337 efl_gfx_size_hint_weight_set(efl_added, 1, 1), 337 efl_gfx_size_hint_weight_set(efl_added, 1, 1),
338 efl_content_set(win, efl_added), 338 efl_content_set(win, efl_added));
339 efl_gfx_visible_set(efl_added, 1));
340 339
341 efl_add(ELM_COLORSELECTOR_CLASS, win, 340 efl_add(ELM_COLORSELECTOR_CLASS, win,
342 elm_colorselector_mode_set(efl_added, ELM_COLORSELECTOR_PALETTE), 341 elm_colorselector_mode_set(efl_added, ELM_COLORSELECTOR_PALETTE),
@@ -346,9 +345,7 @@ test_bg_window(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
346 elm_colorselector_palette_color_add(efl_added, 0, 0, 0, 0), 345 elm_colorselector_palette_color_add(efl_added, 0, 0, 0, 0),
347 efl_event_callback_add(efl_added, ELM_COLORSELECTOR_EVENT_COLOR_ITEM_SELECTED, _colorsel_cb, win), 346 efl_event_callback_add(efl_added, ELM_COLORSELECTOR_EVENT_COLOR_ITEM_SELECTED, _colorsel_cb, win),
348 efl_gfx_size_hint_weight_set(efl_added, 1.0, 1.0), 347 efl_gfx_size_hint_weight_set(efl_added, 1.0, 1.0),
349 efl_pack(box, efl_added), 348 efl_pack(box, efl_added));
350 efl_gfx_visible_set(efl_added, 1)
351 );
352 349
353 snprintf(buf, sizeof(buf), "%s/images/plant_01.jpg", elm_app_data_dir_get()); 350 snprintf(buf, sizeof(buf), "%s/images/plant_01.jpg", elm_app_data_dir_get());
354 efl_add(EFL_UI_IMAGE_CLASS, win, 351 efl_add(EFL_UI_IMAGE_CLASS, win,
@@ -356,9 +353,7 @@ test_bg_window(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
356 efl_gfx_size_hint_min_set(efl_added, 64, 64), 353 efl_gfx_size_hint_min_set(efl_added, 64, 64),
357 efl_gfx_size_hint_weight_set(efl_added, 1.0, 1.0), 354 efl_gfx_size_hint_weight_set(efl_added, 1.0, 1.0),
358 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, _file_cb, win), 355 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, _file_cb, win),
359 efl_pack(box, efl_added), 356 efl_pack(box, efl_added));
360 efl_gfx_visible_set(efl_added, 1)
361 );
362 357
363 snprintf(buf, sizeof(buf), "%s/images/sky_04.jpg", elm_app_data_dir_get()); 358 snprintf(buf, sizeof(buf), "%s/images/sky_04.jpg", elm_app_data_dir_get());
364 efl_add(EFL_UI_IMAGE_CLASS, win, 359 efl_add(EFL_UI_IMAGE_CLASS, win,
@@ -366,10 +361,7 @@ test_bg_window(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
366 efl_gfx_size_hint_min_set(efl_added, 64, 64), 361 efl_gfx_size_hint_min_set(efl_added, 64, 64),
367 efl_gfx_size_hint_weight_set(efl_added, 1.0, 1.0), 362 efl_gfx_size_hint_weight_set(efl_added, 1.0, 1.0),
368 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, _image_cb, win), 363 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, _image_cb, win),
369 efl_pack(box, efl_added), 364 efl_pack(box, efl_added));
370 efl_gfx_visible_set(efl_added, 1)
371 );
372 365
373 efl_gfx_size_set(win, 300, 200); 366 efl_gfx_size_set(win, 300, 200);
374 efl_gfx_visible_set(win, 1);
375} 367}
diff --git a/src/bin/elementary/test_box.c b/src/bin/elementary/test_box.c
index 395c824..d06b634 100644
--- a/src/bin/elementary/test_box.c
+++ b/src/bin/elementary/test_box.c
@@ -904,8 +904,7 @@ test_box_stack(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
904 o = efl_add(EFL_CANVAS_RECTANGLE_CLASS, win, 904 o = efl_add(EFL_CANVAS_RECTANGLE_CLASS, win,
905 efl_gfx_color_set(efl_added, 0, 64, 128, 255), 905 efl_gfx_color_set(efl_added, 0, 64, 128, 255),
906 efl_gfx_size_hint_align_set(efl_added, EFL_GFX_SIZE_HINT_FILL, EFL_GFX_SIZE_HINT_FILL), 906 efl_gfx_size_hint_align_set(efl_added, EFL_GFX_SIZE_HINT_FILL, EFL_GFX_SIZE_HINT_FILL),
907 efl_gfx_size_hint_weight_set(efl_added, EFL_GFX_SIZE_HINT_EXPAND, EFL_GFX_SIZE_HINT_EXPAND), 907 efl_gfx_size_hint_weight_set(efl_added, EFL_GFX_SIZE_HINT_EXPAND, EFL_GFX_SIZE_HINT_EXPAND));
908 efl_gfx_visible_set(efl_added, EINA_TRUE));
909 efl_pack(bx, o); 908 efl_pack(bx, o);
910 909
911 /* rectangle with a max size */ 910 /* rectangle with a max size */
@@ -913,8 +912,7 @@ test_box_stack(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
913 efl_gfx_color_set(efl_added, 64, 128, 64, 255), 912 efl_gfx_color_set(efl_added, 64, 128, 64, 255),
914 efl_gfx_size_hint_align_set(efl_added, EFL_GFX_SIZE_HINT_FILL, EFL_GFX_SIZE_HINT_FILL), 913 efl_gfx_size_hint_align_set(efl_added, EFL_GFX_SIZE_HINT_FILL, EFL_GFX_SIZE_HINT_FILL),
915 efl_gfx_size_hint_weight_set(efl_added, EFL_GFX_SIZE_HINT_EXPAND, EFL_GFX_SIZE_HINT_EXPAND), 914 efl_gfx_size_hint_weight_set(efl_added, EFL_GFX_SIZE_HINT_EXPAND, EFL_GFX_SIZE_HINT_EXPAND),
916 efl_gfx_size_hint_max_set(efl_added, 128, 20), 915 efl_gfx_size_hint_max_set(efl_added, 128, 20));
917 efl_gfx_visible_set(efl_added, EINA_TRUE));
918 efl_pack(bx, o); 916 efl_pack(bx, o);
919 917
920 /* image with a forced min size */ 918 /* image with a forced min size */
@@ -923,13 +921,11 @@ test_box_stack(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
923 efl_gfx_size_hint_align_set(efl_added, EFL_GFX_SIZE_HINT_FILL, EFL_GFX_SIZE_HINT_FILL), 921 efl_gfx_size_hint_align_set(efl_added, EFL_GFX_SIZE_HINT_FILL, EFL_GFX_SIZE_HINT_FILL),
924 efl_gfx_size_hint_weight_set(efl_added, EFL_GFX_SIZE_HINT_EXPAND, EFL_GFX_SIZE_HINT_EXPAND), 922 efl_gfx_size_hint_weight_set(efl_added, EFL_GFX_SIZE_HINT_EXPAND, EFL_GFX_SIZE_HINT_EXPAND),
925 efl_gfx_size_hint_min_set(efl_added, 64, 64), 923 efl_gfx_size_hint_min_set(efl_added, 64, 64),
926 efl_file_set(efl_added, buf, NULL), 924 efl_file_set(efl_added, buf, NULL));
927 efl_gfx_visible_set(efl_added, EINA_TRUE));
928 efl_pack(bx, o); 925 efl_pack(bx, o);
929 926
930 /* make window resizable: add a weight to its content */ 927 /* make window resizable: add a weight to its content */
931 efl_gfx_size_hint_weight_set(bx, EFL_GFX_SIZE_HINT_EXPAND, EFL_GFX_SIZE_HINT_EXPAND); 928 efl_gfx_size_hint_weight_set(bx, EFL_GFX_SIZE_HINT_EXPAND, EFL_GFX_SIZE_HINT_EXPAND);
932 929
933 efl_gfx_size_set(win, 300, 300); 930 efl_gfx_size_set(win, 300, 300);
934 efl_gfx_visible_set(win, EINA_TRUE);
935} 931}
diff --git a/src/bin/elementary/test_code.c b/src/bin/elementary/test_code.c
index 30290db..e46d137 100644
--- a/src/bin/elementary/test_code.c
+++ b/src/bin/elementary/test_code.c
@@ -75,7 +75,6 @@ _elm_code_test_welcome_setup(Evas_Object *parent)
75 75
76 evas_object_size_hint_weight_set(widget, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 76 evas_object_size_hint_weight_set(widget, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
77 evas_object_size_hint_align_set(widget, EVAS_HINT_FILL, EVAS_HINT_FILL); 77 evas_object_size_hint_align_set(widget, EVAS_HINT_FILL, EVAS_HINT_FILL);
78 evas_object_show(widget);
79 78
80 elm_code_widget_selection_start(widget, 1, 3); 79 elm_code_widget_selection_start(widget, 1, 3);
81 elm_code_widget_selection_end(widget, 1, 13); 80 elm_code_widget_selection_end(widget, 1, 13);
@@ -114,7 +113,6 @@ _elm_code_test_editor_setup(Evas_Object *parent, Eina_Bool log)
114 113
115 evas_object_size_hint_weight_set(widget, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 114 evas_object_size_hint_weight_set(widget, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
116 evas_object_size_hint_align_set(widget, EVAS_HINT_FILL, EVAS_HINT_FILL); 115 evas_object_size_hint_align_set(widget, EVAS_HINT_FILL, EVAS_HINT_FILL);
117 evas_object_show(widget);
118 116
119 return widget; 117 return widget;
120} 118}
@@ -146,7 +144,6 @@ _elm_code_test_syntax_setup(Evas_Object *parent)
146 144
147 evas_object_size_hint_weight_set(widget, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 145 evas_object_size_hint_weight_set(widget, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
148 evas_object_size_hint_align_set(widget, EVAS_HINT_FILL, EVAS_HINT_FILL); 146 evas_object_size_hint_align_set(widget, EVAS_HINT_FILL, EVAS_HINT_FILL);
149 evas_object_show(widget);
150 147
151 return widget; 148 return widget;
152} 149}
@@ -162,7 +159,6 @@ _elm_code_test_mirror_setup(Elm_Code *code, char *font_name, Evas_Object *parent
162 159
163 evas_object_size_hint_weight_set(widget, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 160 evas_object_size_hint_weight_set(widget, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
164 evas_object_size_hint_align_set(widget, EVAS_HINT_FILL, EVAS_HINT_FILL); 161 evas_object_size_hint_align_set(widget, EVAS_HINT_FILL, EVAS_HINT_FILL);
165 evas_object_show(widget);
166 162
167 return widget; 163 return widget;
168} 164}
@@ -178,7 +174,6 @@ _elm_code_test_diff_inline_setup(Evas_Object *parent)
178 174
179 evas_object_size_hint_weight_set(diff, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 175 evas_object_size_hint_weight_set(diff, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
180 evas_object_size_hint_align_set(diff, EVAS_HINT_FILL, EVAS_HINT_FILL); 176 evas_object_size_hint_align_set(diff, EVAS_HINT_FILL, EVAS_HINT_FILL);
181 evas_object_show(diff);
182 177
183 elm_code_parser_standard_add(code, ELM_CODE_PARSER_STANDARD_DIFF); 178 elm_code_parser_standard_add(code, ELM_CODE_PARSER_STANDARD_DIFF);
184 elm_code_file_open(code, PACKAGE_DATA_DIR "/testdiff.diff"); 179 elm_code_file_open(code, PACKAGE_DATA_DIR "/testdiff.diff");
diff --git a/src/bin/elementary/test_efl_gfx_map.c b/src/bin/elementary/test_efl_gfx_map.c
index dc70843..ce2eea0 100644
--- a/src/bin/elementary/test_efl_gfx_map.c
+++ b/src/bin/elementary/test_efl_gfx_map.c
@@ -55,8 +55,7 @@ test_efl_gfx_map(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
55 efl_gfx_size_hint_align_set(efl_added, EFL_GFX_SIZE_HINT_FILL, EFL_GFX_SIZE_HINT_FILL), 55 efl_gfx_size_hint_align_set(efl_added, EFL_GFX_SIZE_HINT_FILL, EFL_GFX_SIZE_HINT_FILL),
56 efl_gfx_size_hint_weight_set(efl_added, EFL_GFX_SIZE_HINT_EXPAND, EFL_GFX_SIZE_HINT_EXPAND), 56 efl_gfx_size_hint_weight_set(efl_added, EFL_GFX_SIZE_HINT_EXPAND, EFL_GFX_SIZE_HINT_EXPAND),
57 efl_gfx_size_hint_min_set(efl_added, 64, 64), 57 efl_gfx_size_hint_min_set(efl_added, 64, 64),
58 efl_file_set(efl_added, buf, NULL), 58 efl_file_set(efl_added, buf, NULL));
59 efl_gfx_visible_set(efl_added, EINA_TRUE));
60 efl_ui_image_scale_type_set(img, EFL_UI_IMAGE_SCALE_TYPE_FILL); 59 efl_ui_image_scale_type_set(img, EFL_UI_IMAGE_SCALE_TYPE_FILL);
61 evas_object_event_callback_add(img, EVAS_CALLBACK_RESIZE, 60 evas_object_event_callback_add(img, EVAS_CALLBACK_RESIZE,
62 _image_resize_cb, NULL); 61 _image_resize_cb, NULL);
@@ -65,5 +64,4 @@ test_efl_gfx_map(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
65 64
66 efl_content_set(win, img); 65 efl_content_set(win, img);
67 efl_gfx_size_set(win, W, H); 66 efl_gfx_size_set(win, W, H);
68 efl_gfx_visible_set(win, EINA_TRUE);
69} 67}
diff --git a/src/bin/elementary/test_efl_ui_text.c b/src/bin/elementary/test_efl_ui_text.c
index 27ff879..5882617 100644
--- a/src/bin/elementary/test_efl_ui_text.c
+++ b/src/bin/elementary/test_efl_ui_text.c
@@ -33,7 +33,6 @@ _create_label(Eo *win, Eo *bx)
33 33
34 evas_object_size_hint_weight_set(en, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 34 evas_object_size_hint_weight_set(en, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
35 evas_object_size_hint_align_set(en, EVAS_HINT_FILL, EVAS_HINT_FILL); 35 evas_object_size_hint_align_set(en, EVAS_HINT_FILL, EVAS_HINT_FILL);
36 evas_object_show(en);
37 elm_box_pack_end(bx, en); 36 elm_box_pack_end(bx, en);
38 return en; 37 return en;
39} 38}
@@ -205,7 +204,6 @@ test_efl_ui_text(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *eve
205 evas_object_size_hint_weight_set(en, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 204 evas_object_size_hint_weight_set(en, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
206 evas_object_size_hint_align_set(en, EVAS_HINT_FILL, EVAS_HINT_FILL); 205 evas_object_size_hint_align_set(en, EVAS_HINT_FILL, EVAS_HINT_FILL);
207 elm_box_pack_end(bx, en); 206 elm_box_pack_end(bx, en);
208 evas_object_show(en);
209 elm_object_focus_set(en, EINA_TRUE); 207 elm_object_focus_set(en, EINA_TRUE);
210 208
211 bx2 = elm_box_add(win); 209 bx2 = elm_box_add(win);
diff --git a/src/bin/elementary/test_evas_map.c b/src/bin/elementary/test_evas_map.c
index 48f29e2..36a048c 100644
--- a/src/bin/elementary/test_evas_map.c
+++ b/src/bin/elementary/test_evas_map.c
@@ -63,8 +63,7 @@ test_evas_map(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
63 efl_gfx_size_hint_align_set(efl_added, EFL_GFX_SIZE_HINT_FILL, EFL_GFX_SIZE_HINT_FILL), 63 efl_gfx_size_hint_align_set(efl_added, EFL_GFX_SIZE_HINT_FILL, EFL_GFX_SIZE_HINT_FILL),
64 efl_gfx_size_hint_weight_set(efl_added, EFL_GFX_SIZE_HINT_EXPAND, EFL_GFX_SIZE_HINT_EXPAND), 64 efl_gfx_size_hint_weight_set(efl_added, EFL_GFX_SIZE_HINT_EXPAND, EFL_GFX_SIZE_HINT_EXPAND),
65 efl_gfx_size_hint_min_set(efl_added, 64, 64), 65 efl_gfx_size_hint_min_set(efl_added, 64, 64),
66 efl_file_set(efl_added, buf, NULL), 66 efl_file_set(efl_added, buf, NULL));
67 efl_gfx_visible_set(efl_added, EINA_TRUE));
68 efl_ui_image_scale_type_set(img, EFL_UI_IMAGE_SCALE_TYPE_FILL); 67 efl_ui_image_scale_type_set(img, EFL_UI_IMAGE_SCALE_TYPE_FILL);
69 evas_object_event_callback_add(img, EVAS_CALLBACK_RESIZE, 68 evas_object_event_callback_add(img, EVAS_CALLBACK_RESIZE,
70 _image_resize_cb, NULL); 69 _image_resize_cb, NULL);
@@ -73,5 +72,4 @@ test_evas_map(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
73 72
74 efl_content_set(win, img); 73 efl_content_set(win, img);
75 efl_gfx_size_set(win, W, H); 74 efl_gfx_size_set(win, W, H);
76 efl_gfx_visible_set(win, EINA_TRUE);
77} 75}
diff --git a/src/bin/elementary/test_evas_mask.c b/src/bin/elementary/test_evas_mask.c
index 9938e9f..96524b2 100644
--- a/src/bin/elementary/test_evas_mask.c
+++ b/src/bin/elementary/test_evas_mask.c
@@ -126,8 +126,7 @@ test_evas_mask(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
126 ly = efl_add(ELM_LAYOUT_CLASS, win, 126 ly = efl_add(ELM_LAYOUT_CLASS, win,
127 efl_file_set(efl_added, buf, "masking"), 127 efl_file_set(efl_added, buf, "masking"),
128 efl_gfx_size_hint_weight_set(efl_added, 1.0, 1.0), 128 efl_gfx_size_hint_weight_set(efl_added, 1.0, 1.0),
129 efl_gfx_size_hint_align_set(efl_added, -1.0, -1.0), 129 efl_gfx_size_hint_align_set(efl_added, -1.0, -1.0));
130 efl_gfx_visible_set(efl_added, 1));
131 efl_pack(box, ly); 130 efl_pack(box, ly);
132 131
133 // FIXME: No genlist in EO API 132 // FIXME: No genlist in EO API
@@ -160,28 +159,23 @@ test_evas_mask(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
160 efl_orientation_set(efl_added, EFL_ORIENT_RIGHT), 159 efl_orientation_set(efl_added, EFL_ORIENT_RIGHT),
161 efl_gfx_size_hint_weight_set(efl_added, 1.0, 0.0), 160 efl_gfx_size_hint_weight_set(efl_added, 1.0, 0.0),
162 efl_gfx_size_hint_align_set(efl_added, -1.0, -1.0), 161 efl_gfx_size_hint_align_set(efl_added, -1.0, -1.0),
163 efl_pack(box, efl_added), 162 efl_pack(box, efl_added));
164 efl_gfx_visible_set(efl_added, 1));
165 163
166 // FIXME: button EO API 164 // FIXME: button EO API
167 efl_add(EFL_UI_BUTTON_CLASS, win, 165 efl_add(EFL_UI_BUTTON_CLASS, win,
168 efl_text_set(efl_added, "Toggle mask"), 166 efl_text_set(efl_added, "Toggle mask"),
169 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, _toggle_mask, ly), 167 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, _toggle_mask, ly),
170 efl_pack(box2, efl_added), 168 efl_pack(box2, efl_added));
171 efl_gfx_visible_set(efl_added, 1));
172 169
173 efl_add(EFL_UI_BUTTON_CLASS, win, 170 efl_add(EFL_UI_BUTTON_CLASS, win,
174 efl_text_set(efl_added, "Toggle map"), 171 efl_text_set(efl_added, "Toggle map"),
175 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, _toggle_map, ly), 172 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, _toggle_map, ly),
176 efl_pack(box2, efl_added), 173 efl_pack(box2, efl_added));
177 efl_gfx_visible_set(efl_added, 1));
178 174
179 efl_add(EFL_UI_BUTTON_CLASS, win, 175 efl_add(EFL_UI_BUTTON_CLASS, win,
180 efl_text_set(efl_added, "Rotate Window"), 176 efl_text_set(efl_added, "Rotate Window"),
181 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, _rotate_win, win), 177 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, _rotate_win, win),
182 efl_pack(box2, efl_added), 178 efl_pack(box2, efl_added));
183 efl_gfx_visible_set(efl_added, 1));
184 179
185 efl_gfx_size_set(win, 500, 600); 180 efl_gfx_size_set(win, 500, 600);
186 efl_gfx_visible_set(win, 1);
187} 181}
diff --git a/src/bin/elementary/test_evas_snapshot.c b/src/bin/elementary/test_evas_snapshot.c
index e1857ff..245d330 100644
--- a/src/bin/elementary/test_evas_snapshot.c
+++ b/src/bin/elementary/test_evas_snapshot.c
@@ -32,8 +32,7 @@ _image_create(Eo *win, const char *path)
32 efl_file_set(efl_added, path, NULL), 32 efl_file_set(efl_added, path, NULL),
33 efl_gfx_size_hint_align_set(efl_added, -1.0, -1.0), 33 efl_gfx_size_hint_align_set(efl_added, -1.0, -1.0),
34 efl_gfx_size_hint_weight_set(efl_added, 1.0, 1.0), 34 efl_gfx_size_hint_weight_set(efl_added, 1.0, 1.0),
35 efl_gfx_size_hint_min_set(efl_added, 20, 20), 35 efl_gfx_size_hint_min_set(efl_added, 20, 20));
36 efl_gfx_visible_set(efl_added, 1));
37} 36}
38 37
39static void 38static void
@@ -152,8 +151,7 @@ test_evas_snapshot(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *e
152 efl_gfx_filter_data_set(efl_added, "radius", "tonumber(5)", EINA_TRUE), 151 efl_gfx_filter_data_set(efl_added, "radius", "tonumber(5)", EINA_TRUE),
153 efl_gfx_size_hint_align_set(efl_added, -1.0, -1.0), 152 efl_gfx_size_hint_align_set(efl_added, -1.0, -1.0),
154 efl_gfx_size_hint_weight_set(efl_added, 1.0, 1.0), 153 efl_gfx_size_hint_weight_set(efl_added, 1.0, 1.0),
155 efl_pack_grid(grid, efl_added, 1, 1, GRID_SIZE - 2, GRID_SIZE - 2), 154 efl_pack_grid(grid, efl_added, 1, 1, GRID_SIZE - 2, GRID_SIZE - 2));
156 efl_gfx_visible_set(efl_added, 1));
157 155
158 // Objects above snapshot 156 // Objects above snapshot
159 // 1. Opaque rect, not changing 157 // 1. Opaque rect, not changing
@@ -182,48 +180,41 @@ test_evas_snapshot(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *e
182 efl_gfx_size_hint_align_set(efl_added, -1.0, -1.0), 180 efl_gfx_size_hint_align_set(efl_added, -1.0, -1.0),
183 efl_gfx_size_hint_weight_set(efl_added, 1.0, 0.0), 181 efl_gfx_size_hint_weight_set(efl_added, 1.0, 0.0),
184 efl_pack_grid(grid, efl_added, 0, GRID_SIZE, GRID_SIZE, 1), 182 efl_pack_grid(grid, efl_added, 0, GRID_SIZE, GRID_SIZE, 1),
185 efl_event_callback_add(efl_added, EFL_UI_SLIDER_EVENT_CHANGED, _radius_set, win), 183 efl_event_callback_add(efl_added, EFL_UI_SLIDER_EVENT_CHANGED, _radius_set, win));
186 efl_gfx_visible_set(efl_added, 1));
187 184
188 box = efl_add(EFL_UI_BOX_CLASS, win, 185 box = efl_add(EFL_UI_BOX_CLASS, win,
189 efl_gfx_size_hint_align_set(efl_added, -1.0, -1.0), 186 efl_gfx_size_hint_align_set(efl_added, -1.0, -1.0),
190 efl_pack_grid(grid, efl_added, 0, GRID_SIZE + 1, GRID_SIZE, 1), 187 efl_pack_grid(grid, efl_added, 0, GRID_SIZE + 1, GRID_SIZE, 1));
191 efl_gfx_visible_set(efl_added, 1));
192 188
193 efl_add(EFL_UI_BUTTON_CLASS, win, 189 efl_add(EFL_UI_BUTTON_CLASS, win,
194 efl_text_set(efl_added, "Toggle animation"), 190 efl_text_set(efl_added, "Toggle animation"),
195 efl_gfx_size_hint_align_set(efl_added, -1.0, -1.0), 191 efl_gfx_size_hint_align_set(efl_added, -1.0, -1.0),
196 efl_gfx_size_hint_weight_set(efl_added, 1.0, 0.0), 192 efl_gfx_size_hint_weight_set(efl_added, 1.0, 0.0),
197 efl_pack(box, efl_added), 193 efl_pack(box, efl_added),
198 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, _anim_toggle, win), 194 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, _anim_toggle, win));
199 efl_gfx_visible_set(efl_added, 1));
200 195
201 efl_add(EFL_UI_BUTTON_CLASS, win, 196 efl_add(EFL_UI_BUTTON_CLASS, win,
202 efl_text_set(efl_added, "Save to file"), 197 efl_text_set(efl_added, "Save to file"),
203 efl_gfx_size_hint_align_set(efl_added, -1.0, -1.0), 198 efl_gfx_size_hint_align_set(efl_added, -1.0, -1.0),
204 efl_gfx_size_hint_weight_set(efl_added, 1.0, 0.0), 199 efl_gfx_size_hint_weight_set(efl_added, 1.0, 0.0),
205 efl_pack(box, efl_added), 200 efl_pack(box, efl_added),
206 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, _save_image, win), 201 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, _save_image, win));
207 efl_gfx_visible_set(efl_added, 1));
208 202
209 efl_add(EFL_UI_BUTTON_CLASS, win, 203 efl_add(EFL_UI_BUTTON_CLASS, win,
210 efl_text_set(efl_added, "Map"), 204 efl_text_set(efl_added, "Map"),
211 efl_gfx_size_hint_align_set(efl_added, -1.0, -1.0), 205 efl_gfx_size_hint_align_set(efl_added, -1.0, -1.0),
212 efl_gfx_size_hint_weight_set(efl_added, 1.0, 0.0), 206 efl_gfx_size_hint_weight_set(efl_added, 1.0, 0.0),
213 efl_pack(box, efl_added), 207 efl_pack(box, efl_added),
214 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, _toggle_map, win), 208 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, _toggle_map, win));
215 efl_gfx_visible_set(efl_added, 1));
216 209
217 efl_add(EFL_UI_BUTTON_CLASS, win, 210 efl_add(EFL_UI_BUTTON_CLASS, win,
218 efl_text_set(efl_added, "Close"), 211 efl_text_set(efl_added, "Close"),
219 efl_gfx_size_hint_align_set(efl_added, -1.0, -1.0), 212 efl_gfx_size_hint_align_set(efl_added, -1.0, -1.0),
220 efl_gfx_size_hint_weight_set(efl_added, 1.0, 0.0), 213 efl_gfx_size_hint_weight_set(efl_added, 1.0, 0.0),
221 efl_pack(box, efl_added), 214 efl_pack(box, efl_added),
222 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, _close_do, win), 215 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, _close_do, win));
223 efl_gfx_visible_set(efl_added, 1));
224 216
225 efl_key_wref_set(win, "snap", snap); 217 efl_key_wref_set(win, "snap", snap);
226 efl_key_wref_set(win, "grid", grid); 218 efl_key_wref_set(win, "grid", grid);
227 efl_gfx_size_set(win, 400, 400); 219 efl_gfx_size_set(win, 400, 400);
228 efl_gfx_visible_set(win, 1);
229} 220}
diff --git a/src/bin/elementary/test_events.c b/src/bin/elementary/test_events.c
index f49414f..f027d72 100644
--- a/src/bin/elementary/test_events.c
+++ b/src/bin/elementary/test_events.c
@@ -170,7 +170,6 @@ test_events(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
170 evas_object_size_hint_weight_set(bx, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 170 evas_object_size_hint_weight_set(bx, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
171 evas_object_size_hint_align_set(bx, -1, -1); 171 evas_object_size_hint_align_set(bx, -1, -1);
172 efl_content_set(win, bx); 172 efl_content_set(win, bx);
173 evas_object_show(bx);
174 td->win = win; 173 td->win = win;
175 174
176 txt = elm_label_add(win); 175 txt = elm_label_add(win);
@@ -200,7 +199,6 @@ test_events(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
200 evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 199 evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
201 evas_object_size_hint_align_set(o, -1, -1); 200 evas_object_size_hint_align_set(o, -1, -1);
202 efl_pack(bx, o); 201 efl_pack(bx, o);
203 evas_object_show(o);
204 202
205 efl_event_callback_add(td->button, EFL_UI_EVENT_CLICKED, _clicked_button1, td); 203 efl_event_callback_add(td->button, EFL_UI_EVENT_CLICKED, _clicked_button1, td);
206 efl_event_callback_add(bt, EFL_UI_EVENT_CLICKED, _clicked_button2, td); 204 efl_event_callback_add(bt, EFL_UI_EVENT_CLICKED, _clicked_button2, td);
diff --git a/src/bin/elementary/test_gfx_filters.c b/src/bin/elementary/test_gfx_filters.c
index 6aa0729..1d12ae7 100644
--- a/src/bin/elementary/test_gfx_filters.c
+++ b/src/bin/elementary/test_gfx_filters.c
@@ -339,22 +339,19 @@ test_gfx_filters(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *eve
339 box2 = efl_add(EFL_UI_BOX_CLASS, win, 339 box2 = efl_add(EFL_UI_BOX_CLASS, win,
340 efl_orientation_set(efl_added, EFL_ORIENT_HORIZONTAL), 340 efl_orientation_set(efl_added, EFL_ORIENT_HORIZONTAL),
341 efl_gfx_size_hint_weight_set(efl_added, 1.0, 0.0), 341 efl_gfx_size_hint_weight_set(efl_added, 1.0, 0.0),
342 efl_gfx_size_hint_align_set(efl_added, -1.0, 0.0), 342 efl_gfx_size_hint_align_set(efl_added, -1.0, 0.0));
343 efl_gfx_visible_set(efl_added, 1));
344 efl_pack(box, box2); 343 efl_pack(box, box2);
345 344
346 /* FIXME: Efl.Ui.Text doesn't work as expected. */ 345 /* FIXME: Efl.Ui.Text doesn't work as expected. */
347 o = efl_add(EFL_UI_TEXT_CLASS, win, 346 o = efl_add(EFL_UI_TEXT_CLASS, win,
348 efl_gfx_size_hint_weight_set(efl_added, 0.0, 1.0), 347 efl_gfx_size_hint_weight_set(efl_added, 0.0, 1.0),
349 efl_gfx_size_hint_align_set(efl_added, 1.0, 0.5), 348 efl_gfx_size_hint_align_set(efl_added, 1.0, 0.5));
350 efl_gfx_visible_set(efl_added, 1));
351 efl_text_set(o, "Filter:"); 349 efl_text_set(o, "Filter:");
352 efl_pack(box2, o); 350 efl_pack(box2, o);
353 351
354 o = spinner = efl_add(ELM_SPINNER_CLASS, win, 352 o = spinner = efl_add(ELM_SPINNER_CLASS, win,
355 efl_gfx_size_hint_weight_set(efl_added, 1.0, 1.0), 353 efl_gfx_size_hint_weight_set(efl_added, 1.0, 1.0),
356 efl_gfx_size_hint_align_set(efl_added, -1.0, 0.5), 354 efl_gfx_size_hint_align_set(efl_added, -1.0, 0.5));
357 efl_gfx_visible_set(efl_added, 1));
358 _spinner_fill(o); 355 _spinner_fill(o);
359 efl_pack(box2, o); 356 efl_pack(box2, o);
360 spinner = o; 357 spinner = o;
@@ -364,16 +361,14 @@ test_gfx_filters(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *eve
364 efl_gfx_size_hint_align_set(efl_added, -1.0, 0.5), 361 efl_gfx_size_hint_align_set(efl_added, -1.0, 0.5),
365 elm_spinner_min_max_set(efl_added, 6, 120), 362 elm_spinner_min_max_set(efl_added, 6, 120),
366 elm_spinner_value_set(efl_added, default_font_size), 363 elm_spinner_value_set(efl_added, default_font_size),
367 efl_event_callback_add(efl_added, ELM_SPINNER_EVENT_DELAY_CHANGED, _font_size_change, win), 364 efl_event_callback_add(efl_added, ELM_SPINNER_EVENT_DELAY_CHANGED, _font_size_change, win));
368 efl_gfx_visible_set(efl_added, 1));
369 efl_pack(box2, o); 365 efl_pack(box2, o);
370 366
371 o = efl_add(EFL_UI_BUTTON_CLASS, win, 367 o = efl_add(EFL_UI_BUTTON_CLASS, win,
372 efl_text_set(efl_added, "Flip"), 368 efl_text_set(efl_added, "Flip"),
373 efl_gfx_size_hint_weight_set(efl_added, 0.0, 1.0), 369 efl_gfx_size_hint_weight_set(efl_added, 0.0, 1.0),
374 efl_gfx_size_hint_align_set(efl_added, -1.0, 0.5), 370 efl_gfx_size_hint_align_set(efl_added, -1.0, 0.5),
375 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, _flip_click, win), 371 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, _flip_click, win));
376 efl_gfx_visible_set(efl_added, 1));
377 efl_pack(box2, o); 372 efl_pack(box2, o);
378 } 373 }
379 374
@@ -400,8 +395,7 @@ test_gfx_filters(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *eve
400 efl_gfx_size_hint_min_set(efl_added, ELM_SCALE_SIZE(48), ELM_SCALE_SIZE(48)), 395 efl_gfx_size_hint_min_set(efl_added, ELM_SCALE_SIZE(48), ELM_SCALE_SIZE(48)),
401 efl_file_set(efl_added, buf, NULL), 396 efl_file_set(efl_added, buf, NULL),
402 efl_name_set(efl_added, images[k].src_name), 397 efl_name_set(efl_added, images[k].src_name),
403 elm_object_tooltip_text_set(efl_added, images[k].src_name), 398 elm_object_tooltip_text_set(efl_added, images[k].src_name));
404 efl_gfx_visible_set(efl_added, 1));
405 if (efl_player_playable_get(o)) 399 if (efl_player_playable_get(o))
406 efl_player_play_set(o, 1); 400 efl_player_play_set(o, 1);
407 efl_event_callback_add(o, EFL_UI_EVENT_CLICKED, _img_click, win); 401 efl_event_callback_add(o, EFL_UI_EVENT_CLICKED, _img_click, win);
@@ -430,36 +424,30 @@ test_gfx_filters(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *eve
430 efl_gfx_size_hint_max_set(efl_added, -1, ELM_SCALE_SIZE(48 * 2)), 424 efl_gfx_size_hint_max_set(efl_added, -1, ELM_SCALE_SIZE(48 * 2)),
431 efl_name_set(efl_added, "myColor"), 425 efl_name_set(efl_added, "myColor"),
432 elm_object_tooltip_text_set(efl_added, "Pick a color to use as variable 'myColor'"), 426 elm_object_tooltip_text_set(efl_added, "Pick a color to use as variable 'myColor'"),
433 efl_event_callback_add(efl_added, ELM_COLORSELECTOR_EVENT_CHANGED, _colsel_cb, win), 427 efl_event_callback_add(efl_added, ELM_COLORSELECTOR_EVENT_CHANGED, _colsel_cb, win));
434 efl_gfx_visible_set(efl_added, 1));
435 efl_pack(box2, o); 428 efl_pack(box2, o);
436 429
437 for (size_t k = 0; k < EINA_C_ARRAY_LENGTH(colors); k++) 430 for (size_t k = 0; k < EINA_C_ARRAY_LENGTH(colors); k++)
438 elm_colorselector_palette_color_add(o, colors[k].r, colors[k].g, colors[k].b, colors[k].a); 431 elm_colorselector_palette_color_add(o, colors[k].r, colors[k].g, colors[k].b, colors[k].a);
439
440 efl_gfx_visible_set(box2, 1);
441 } 432 }
442 433
443 /* FIXME: No panes in EO APIs. */ 434 /* FIXME: No panes in EO APIs. */
444 o = split = efl_add(ELM_PANES_CLASS, win, 435 o = split = efl_add(ELM_PANES_CLASS, win,
445 efl_gfx_size_hint_weight_set(efl_added, 1.0, 1.0), 436 efl_gfx_size_hint_weight_set(efl_added, 1.0, 1.0),
446 efl_gfx_size_hint_align_set(efl_added, -1.0, -1.0), 437 efl_gfx_size_hint_align_set(efl_added, -1.0, -1.0),
447 efl_orientation_set(efl_added, EFL_ORIENT_HORIZONTAL), 438 efl_orientation_set(efl_added, EFL_ORIENT_HORIZONTAL));
448 efl_gfx_visible_set(efl_added, 1));
449 efl_pack(box, split); 439 efl_pack(box, split);
450 440
451 { 441 {
452 flip = efl_add(EFL_UI_FLIP_CLASS, win, 442 flip = efl_add(EFL_UI_FLIP_CLASS, win,
453 efl_gfx_size_hint_weight_set(efl_added, 1.0, 0.0), 443 efl_gfx_size_hint_weight_set(efl_added, 1.0, 0.0),
454 efl_gfx_size_hint_align_set(efl_added, -1.0, -1.0), 444 efl_gfx_size_hint_align_set(efl_added, -1.0, -1.0));
455 efl_gfx_visible_set(efl_added, 1));
456 efl_content_set(efl_part(split, "top"), flip); 445 efl_content_set(efl_part(split, "top"), flip);
457 446
458 box2 = efl_add(EFL_UI_BOX_STACK_CLASS, win, 447 box2 = efl_add(EFL_UI_BOX_STACK_CLASS, win,
459 efl_gfx_size_hint_weight_set(efl_added, 1.0, 0.0), 448 efl_gfx_size_hint_weight_set(efl_added, 1.0, 0.0),
460 efl_gfx_size_hint_align_set(efl_added, -1.0, -1.0), 449 efl_gfx_size_hint_align_set(efl_added, -1.0, -1.0),
461 efl_pack_align_set(efl_added, 0.5, 0.5), 450 efl_pack_align_set(efl_added, 0.5, 0.5));
462 efl_gfx_visible_set(efl_added, 1));
463 efl_pack(flip, box2); 451 efl_pack(flip, box2);
464 452
465 // Note: No TEXT object with EO APIs 453 // Note: No TEXT object with EO APIs
@@ -507,7 +495,6 @@ test_gfx_filters(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *eve
507 efl_canvas_object_scale_set(o, elm_config_scale_get()); 495 efl_canvas_object_scale_set(o, elm_config_scale_get());
508 efl_pack(box2, o); 496 efl_pack(box2, o);
509 evas_object_resize(o, 1, 1); 497 evas_object_resize(o, 1, 1);
510 efl_gfx_visible_set(o, 1);
511 } 498 }
512 499
513 { 500 {
@@ -546,5 +533,4 @@ test_gfx_filters(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *eve
546 _spinner_cb(win, NULL); 533 _spinner_cb(win, NULL);
547 534
548 efl_gfx_size_set(win, 500, 600); 535 efl_gfx_size_set(win, 500, 600);
549 efl_gfx_visible_set(win, 1);
550} 536}
diff --git a/src/bin/elementary/test_glview.c b/src/bin/elementary/test_glview.c
index ce29bd4..afd3844 100644
--- a/src/bin/elementary/test_glview.c
+++ b/src/bin/elementary/test_glview.c
@@ -729,7 +729,6 @@ _test_glview_do(Evas_GL_Context_Version version)
729 evas_object_smart_callback_add(bt, "clicked", _on_done, win); 729 evas_object_smart_callback_add(bt, "clicked", _on_done, win);
730 730
731 evas_object_resize(win, 320, 480); 731 evas_object_resize(win, 320, 480);
732 evas_object_show(win);
733} 732}
734 733
735void 734void
diff --git a/src/bin/elementary/test_grid_static.c b/src/bin/elementary/test_grid_static.c
index c424956..175b5bb 100644
--- a/src/bin/elementary/test_grid_static.c
+++ b/src/bin/elementary/test_grid_static.c
@@ -114,7 +114,6 @@ test_grid_static(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *eve
114 efl_gfx_size_hint_weight_set(efl_added, 1, 1)); 114 efl_gfx_size_hint_weight_set(efl_added, 1, 1));
115 efl_content_set(win, gd); 115 efl_content_set(win, gd);
116 api->data.grid = gd; 116 api->data.grid = gd;
117 efl_gfx_visible_set(gd, 1);
118 117
119 /* FIXME: EO-ify entry & button & test_set! */ 118 /* FIXME: EO-ify entry & button & test_set! */
120 119
@@ -169,28 +168,22 @@ test_grid_static(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *eve
169 rc = efl_add(EFL_CANVAS_RECTANGLE_CLASS, win); 168 rc = efl_add(EFL_CANVAS_RECTANGLE_CLASS, win);
170 efl_gfx_color_set(rc, 128, 0, 0, 128); 169 efl_gfx_color_set(rc, 128, 0, 0, 128);
171 efl_pack_grid(gd, rc, 40, 70, 20, 10); 170 efl_pack_grid(gd, rc, 40, 70, 20, 10);
172 efl_gfx_visible_set(rc, 1);
173 171
174 rc = efl_add(EFL_CANVAS_RECTANGLE_CLASS, win); 172 rc = efl_add(EFL_CANVAS_RECTANGLE_CLASS, win);
175 efl_gfx_color_set(rc, 0, 128, 0, 128); 173 efl_gfx_color_set(rc, 0, 128, 0, 128);
176 efl_pack_grid(gd, rc, 60, 70, 10, 10); 174 efl_pack_grid(gd, rc, 60, 70, 10, 10);
177 efl_gfx_visible_set(rc, 1);
178 175
179 rc = efl_add(EFL_CANVAS_RECTANGLE_CLASS, win); 176 rc = efl_add(EFL_CANVAS_RECTANGLE_CLASS, win);
180 efl_gfx_color_set(rc, 0, 0, 128, 128); 177 efl_gfx_color_set(rc, 0, 0, 128, 128);
181 efl_pack_grid(gd, rc, 40, 80, 10, 10); 178 efl_pack_grid(gd, rc, 40, 80, 10, 10);
182 efl_gfx_visible_set(rc, 1);
183 179
184 rc = efl_add(EFL_CANVAS_RECTANGLE_CLASS, win); 180 rc = efl_add(EFL_CANVAS_RECTANGLE_CLASS, win);
185 efl_gfx_color_set(rc, 128, 0, 128, 128); 181 efl_gfx_color_set(rc, 128, 0, 128, 128);
186 efl_pack_grid(gd, rc, 50, 80, 10, 10); 182 efl_pack_grid(gd, rc, 50, 80, 10, 10);
187 efl_gfx_visible_set(rc, 1);
188 183
189 rc = efl_add(EFL_CANVAS_RECTANGLE_CLASS, win); 184 rc = efl_add(EFL_CANVAS_RECTANGLE_CLASS, win);
190 efl_gfx_color_set(rc, 128, 64, 0, 128); 185 efl_gfx_color_set(rc, 128, 64, 0, 128);
191 efl_pack_grid(gd, rc, 60, 80, 10, 10); 186 efl_pack_grid(gd, rc, 60, 80, 10, 10);
192 efl_gfx_visible_set(rc, 1);
193 187
194 efl_gfx_size_set(win, 480, 480); 188 efl_gfx_size_set(win, 480, 480);
195 efl_gfx_visible_set(win, 1);
196} 189}
diff --git a/src/bin/elementary/test_nstate.c b/src/bin/elementary/test_nstate.c
index cac6a69..98dcfd4 100644
--- a/src/bin/elementary/test_nstate.c
+++ b/src/bin/elementary/test_nstate.c
@@ -33,7 +33,6 @@ test_nstate(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
33 efl_ui_nstate_count_set(nstate, 5); 33 efl_ui_nstate_count_set(nstate, 5);
34 elm_object_text_set(nstate, "nstate = 0"); 34 elm_object_text_set(nstate, "nstate = 0");
35 elm_box_pack_end(bx, nstate); 35 elm_box_pack_end(bx, nstate);
36 evas_object_show(nstate);
37 evas_object_smart_callback_add(nstate, "state,changed", 36 evas_object_smart_callback_add(nstate, "state,changed",
38 _state_changed_cb, NULL); 37 _state_changed_cb, NULL);
39 38
diff --git a/src/bin/elementary/test_photocam.c b/src/bin/elementary/test_photocam.c
index e41eb0d..f7c0827 100644
--- a/src/bin/elementary/test_photocam.c
+++ b/src/bin/elementary/test_photocam.c
@@ -813,15 +813,12 @@ test_image_zoomable_animated(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSE
813 bx = efl_add(EFL_UI_BOX_CLASS, win, 813 bx = efl_add(EFL_UI_BOX_CLASS, win,
814 efl_orientation_set(efl_added, EFL_ORIENT_DOWN), 814 efl_orientation_set(efl_added, EFL_ORIENT_DOWN),
815 efl_gfx_size_hint_weight_set(efl_added, EFL_GFX_SIZE_HINT_EXPAND, EFL_GFX_SIZE_HINT_EXPAND), 815 efl_gfx_size_hint_weight_set(efl_added, EFL_GFX_SIZE_HINT_EXPAND, EFL_GFX_SIZE_HINT_EXPAND),
816 efl_content_set(win, efl_added), 816 efl_content_set(win, efl_added));
817 efl_gfx_visible_set(efl_added, EINA_TRUE)
818 );
819 817
820 efl_add(EFL_UI_TEXT_CLASS, bx, 818 efl_add(EFL_UI_TEXT_CLASS, bx,
821 efl_text_set(efl_added, "Clicking the image will play/pause animation."), 819 efl_text_set(efl_added, "Clicking the image will play/pause animation."),
822 efl_ui_text_interactive_editable_set(efl_added, EINA_FALSE), 820 efl_ui_text_interactive_editable_set(efl_added, EINA_FALSE),
823 efl_canvas_text_style_set(efl_added, NULL, "DEFAULT='align=center font=Sans font_size=10 color=#fff wrap=word'"), 821 efl_canvas_text_style_set(efl_added, NULL, "DEFAULT='align=center font=Sans font_size=10 color=#fff wrap=word'"),
824 efl_gfx_visible_set(efl_added, EINA_TRUE),
825 efl_pack(bx, efl_added) 822 efl_pack(bx, efl_added)
826 ); 823 );
827 824
@@ -830,7 +827,6 @@ test_image_zoomable_animated(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSE
830 efl_file_set(efl_added, buf, NULL), 827 efl_file_set(efl_added, buf, NULL),
831 efl_gfx_size_hint_weight_set(efl_added, EFL_GFX_SIZE_HINT_EXPAND, EFL_GFX_SIZE_HINT_EXPAND), 828 efl_gfx_size_hint_weight_set(efl_added, EFL_GFX_SIZE_HINT_EXPAND, EFL_GFX_SIZE_HINT_EXPAND),
832 efl_gfx_size_hint_align_set(efl_added, EFL_GFX_SIZE_HINT_FILL, EFL_GFX_SIZE_HINT_FILL), 829 efl_gfx_size_hint_align_set(efl_added, EFL_GFX_SIZE_HINT_FILL, EFL_GFX_SIZE_HINT_FILL),
833 efl_gfx_visible_set(efl_added, EINA_TRUE),
834 efl_pack(bx, efl_added), 830 efl_pack(bx, efl_added),
835 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, _zoomable_clicked_cb, NULL) 831 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, _zoomable_clicked_cb, NULL)
836 ); 832 );
@@ -843,7 +839,6 @@ test_image_zoomable_animated(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSE
843 839
844 rect = efl_add(EFL_CANVAS_RECTANGLE_CLASS, win, 840 rect = efl_add(EFL_CANVAS_RECTANGLE_CLASS, win,
845 efl_gfx_color_set(efl_added, 0, 0, 0, 0), 841 efl_gfx_color_set(efl_added, 0, 0, 0, 0),
846 efl_gfx_visible_set(efl_added, EINA_TRUE),
847 efl_gfx_stack_raise(efl_added), 842 efl_gfx_stack_raise(efl_added),
848 efl_canvas_object_repeat_events_set(efl_added, EINA_TRUE), 843 efl_canvas_object_repeat_events_set(efl_added, EINA_TRUE),
849 efl_event_callback_add(efl_added, EFL_EVENT_POINTER_WHEEL, _zoomable_mouse_wheel_cb, zoomable) 844 efl_event_callback_add(efl_added, EFL_EVENT_POINTER_WHEEL, _zoomable_mouse_wheel_cb, zoomable)
@@ -854,5 +849,4 @@ test_image_zoomable_animated(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSE
854 efl_event_callback_add(zoomable, EFL_GFX_EVENT_MOVE, _zoomable_move_resize_cb, rect); 849 efl_event_callback_add(zoomable, EFL_GFX_EVENT_MOVE, _zoomable_move_resize_cb, rect);
855 850
856 efl_gfx_size_set(win, 300, 320); 851 efl_gfx_size_set(win, 300, 320);
857 efl_gfx_visible_set(win, EINA_TRUE);
858} 852}
diff --git a/src/bin/elementary/test_ui_box.c b/src/bin/elementary/test_ui_box.c
index beeb731..b005dbc 100644
--- a/src/bin/elementary/test_ui_box.c
+++ b/src/bin/elementary/test_ui_box.c
@@ -227,7 +227,6 @@ test_ui_box(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
227 efl_gfx_size_hint_weight_set(vbox, 1, 1); 227 efl_gfx_size_hint_weight_set(vbox, 1, 1);
228 efl_gfx_size_hint_margin_set(vbox, 5, 5, 5, 5); 228 efl_gfx_size_hint_margin_set(vbox, 5, 5, 5, 5);
229 elm_win_resize_object_add(win, vbox); 229 elm_win_resize_object_add(win, vbox);
230 efl_gfx_visible_set(vbox, 1);
231 230
232 231
233 /* controls */ 232 /* controls */
@@ -241,7 +240,6 @@ test_ui_box(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
241 hbox = efl_add(EFL_UI_BOX_CLASS, win); 240 hbox = efl_add(EFL_UI_BOX_CLASS, win);
242 elm_object_content_set(f, hbox); 241 elm_object_content_set(f, hbox);
243 efl_pack_padding_set(hbox, 10, 0, EINA_TRUE); 242 efl_pack_padding_set(hbox, 10, 0, EINA_TRUE);
244 efl_gfx_visible_set(hbox, 1);
245 243
246 244
247 /* weights radio group */ 245 /* weights radio group */
@@ -249,7 +247,6 @@ test_ui_box(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
249 efl_orientation_set(efl_added, EFL_ORIENT_DOWN)); 247 efl_orientation_set(efl_added, EFL_ORIENT_DOWN));
250 efl_gfx_size_hint_align_set(bx, 0, -1); 248 efl_gfx_size_hint_align_set(bx, 0, -1);
251 efl_pack(hbox, bx); 249 efl_pack(hbox, bx);
252 efl_gfx_visible_set(bx, 1);
253 250
254 chk = o = elm_radio_add(win); 251 chk = o = elm_radio_add(win);
255 elm_object_text_set(o, "No weight"); 252 elm_object_text_set(o, "No weight");
@@ -304,7 +301,6 @@ test_ui_box(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
304 efl_gfx_size_hint_align_set(bx, 0, -1); 301 efl_gfx_size_hint_align_set(bx, 0, -1);
305 efl_gfx_size_hint_weight_set(bx, 0, 1); 302 efl_gfx_size_hint_weight_set(bx, 0, 1);
306 efl_pack(hbox, bx); 303 efl_pack(hbox, bx);
307 efl_gfx_visible_set(bx, 1);
308 304
309 o = elm_label_add(win); 305 o = elm_label_add(win);
310 elm_object_text_set(o, "Misc"); 306 elm_object_text_set(o, "Misc");
@@ -359,7 +355,6 @@ test_ui_box(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
359 efl_gfx_size_hint_align_set(bx, 0, -1); 355 efl_gfx_size_hint_align_set(bx, 0, -1);
360 efl_gfx_size_hint_weight_set(bx, 0, 1); 356 efl_gfx_size_hint_weight_set(bx, 0, 1);
361 efl_pack(hbox, bx); 357 efl_pack(hbox, bx);
362 efl_gfx_visible_set(bx, 1);
363 358
364 o = elm_label_add(win); 359 o = elm_label_add(win);
365 elm_object_text_set(o, "User min size"); 360 elm_object_text_set(o, "User min size");
@@ -386,7 +381,6 @@ test_ui_box(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
386 efl_gfx_size_hint_align_set(bx, 0, -1); 381 efl_gfx_size_hint_align_set(bx, 0, -1);
387 efl_gfx_size_hint_weight_set(bx, 0, 1); 382 efl_gfx_size_hint_weight_set(bx, 0, 1);
388 efl_pack(hbox, bx); 383 efl_pack(hbox, bx);
389 efl_gfx_visible_set(bx, 1);
390 384
391 o = elm_label_add(win); 385 o = elm_label_add(win);
392 elm_object_text_set(o, "Padding"); 386 elm_object_text_set(o, "Padding");
@@ -413,7 +407,6 @@ test_ui_box(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
413 efl_gfx_size_hint_align_set(bx, 0, -1); 407 efl_gfx_size_hint_align_set(bx, 0, -1);
414 efl_gfx_size_hint_weight_set(bx, 0, 1); 408 efl_gfx_size_hint_weight_set(bx, 0, 1);
415 efl_pack(hbox, bx); 409 efl_pack(hbox, bx);
416 efl_gfx_visible_set(bx, 1);
417 410
418 o = elm_label_add(win); 411 o = elm_label_add(win);
419 elm_object_text_set(o, "Margin"); 412 elm_object_text_set(o, "Margin");
@@ -440,7 +433,6 @@ test_ui_box(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
440 efl_gfx_size_hint_align_set(bx, 0, -1); 433 efl_gfx_size_hint_align_set(bx, 0, -1);
441 efl_gfx_size_hint_weight_set(bx, 1, 1); 434 efl_gfx_size_hint_weight_set(bx, 1, 1);
442 efl_pack(hbox, bx); 435 efl_pack(hbox, bx);
443 efl_gfx_visible_set(bx, 1);
444 436
445 o = elm_label_add(win); 437 o = elm_label_add(win);
446 elm_object_text_set(o, "Box align"); 438 elm_object_text_set(o, "Box align");
@@ -489,7 +481,6 @@ test_ui_box(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
489 efl_gfx_size_hint_align_set(bx, 0.5, 0.5); 481 efl_gfx_size_hint_align_set(bx, 0.5, 0.5);
490 efl_gfx_size_hint_weight_set(bx, 1, 1); 482 efl_gfx_size_hint_weight_set(bx, 1, 1);
491 elm_object_content_set(f, bx); 483 elm_object_content_set(f, bx);
492 efl_gfx_visible_set(bx, 1);
493 484
494 objects[i++] = o = elm_button_add(win); 485 objects[i++] = o = elm_button_add(win);
495 elm_object_text_set(o, "Btn1"); 486 elm_object_text_set(o, "Btn1");
diff --git a/src/bin/elementary/test_ui_clock.c b/src/bin/elementary/test_ui_clock.c
index 47f7f6c..616143c 100644
--- a/src/bin/elementary/test_ui_clock.c
+++ b/src/bin/elementary/test_ui_clock.c
@@ -68,7 +68,6 @@ test_ui_clock(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
68 efl_ui_clock_pause_set(dt1, EINA_TRUE); 68 efl_ui_clock_pause_set(dt1, EINA_TRUE);
69 elm_box_pack_end(bx, dt1); 69 elm_box_pack_end(bx, dt1);
70 evas_object_smart_callback_add(dt1, "changed", _changed_cb, NULL); 70 evas_object_smart_callback_add(dt1, "changed", _changed_cb, NULL);
71 evas_object_show(dt1);
72 71
73 dt2 = efl_add(EFL_UI_CLOCK_CLASS, bx); 72 dt2 = efl_add(EFL_UI_CLOCK_CLASS, bx);
74 evas_object_size_hint_weight_set(dt2, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 73 evas_object_size_hint_weight_set(dt2, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
@@ -80,13 +79,11 @@ test_ui_clock(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
80 elm_box_pack_end(bx, dt2); 79 elm_box_pack_end(bx, dt2);
81 efl_ui_clock_pause_set(dt2, EINA_TRUE); 80 efl_ui_clock_pause_set(dt2, EINA_TRUE);
82 elm_object_disabled_set(dt2, EINA_TRUE); 81 elm_object_disabled_set(dt2, EINA_TRUE);
83 evas_object_show(dt2);
84 82
85 dt3 = efl_add(EFL_UI_CLOCK_CLASS, bx); 83 dt3 = efl_add(EFL_UI_CLOCK_CLASS, bx);
86 evas_object_size_hint_weight_set(dt3, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 84 evas_object_size_hint_weight_set(dt3, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
87 evas_object_size_hint_align_set(dt3, EVAS_HINT_FILL, 0.5); 85 evas_object_size_hint_align_set(dt3, EVAS_HINT_FILL, 0.5);
88 elm_box_pack_end(bx, dt3); 86 elm_box_pack_end(bx, dt3);
89 evas_object_show(dt3);
90 87
91 //editable 88 //editable
92 lb = efl_add(ELM_LABEL_CLASS, bx); 89 lb = efl_add(ELM_LABEL_CLASS, bx);
@@ -97,7 +94,6 @@ test_ui_clock(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
97 evas_object_size_hint_align_set(lb, 0, EVAS_HINT_FILL); 94 evas_object_size_hint_align_set(lb, 0, EVAS_HINT_FILL);
98 evas_object_size_hint_min_set(lb, 100, 25); 95 evas_object_size_hint_min_set(lb, 100, 25);
99 elm_box_pack_end(bx, lb); 96 elm_box_pack_end(bx, lb);
100 evas_object_show(lb);
101 97
102 dt4 = efl_add(EFL_UI_CLOCK_CLASS, bx); 98 dt4 = efl_add(EFL_UI_CLOCK_CLASS, bx);
103 evas_object_size_hint_weight_set(dt4, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 99 evas_object_size_hint_weight_set(dt4, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
@@ -105,7 +101,6 @@ test_ui_clock(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
105 efl_ui_clock_edit_mode_set(dt4, EINA_TRUE); 101 efl_ui_clock_edit_mode_set(dt4, EINA_TRUE);
106 efl_ui_clock_pause_set(dt4, EINA_TRUE); 102 efl_ui_clock_pause_set(dt4, EINA_TRUE);
107 elm_box_pack_end(bx, dt4); 103 elm_box_pack_end(bx, dt4);
108 evas_object_show(dt4);
109 104
110 bt = elm_button_add(win); 105 bt = elm_button_add(win);
111 elm_object_text_set(bt, "Back to the future..."); 106 elm_object_text_set(bt, "Back to the future...");
diff --git a/src/bin/elementary/test_ui_grid.c b/src/bin/elementary/test_ui_grid.c
index baa17ae..c9d91a6 100644
--- a/src/bin/elementary/test_ui_grid.c
+++ b/src/bin/elementary/test_ui_grid.c
@@ -183,7 +183,6 @@ test_ui_grid(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_i
183 efl_gfx_size_hint_weight_set(vbox, 1, 1); 183 efl_gfx_size_hint_weight_set(vbox, 1, 1);
184 efl_gfx_size_hint_margin_set(vbox, 5, 5, 5, 5); 184 efl_gfx_size_hint_margin_set(vbox, 5, 5, 5, 5);
185 elm_win_resize_object_add(win, vbox); 185 elm_win_resize_object_add(win, vbox);
186 efl_gfx_visible_set(vbox, 1);
187 186
188 187
189 // create here to pass in cb 188 // create here to pass in cb
@@ -201,7 +200,6 @@ test_ui_grid(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_i
201 hbox = efl_add(EFL_UI_BOX_CLASS, win); 200 hbox = efl_add(EFL_UI_BOX_CLASS, win);
202 elm_object_content_set(f, hbox); 201 elm_object_content_set(f, hbox);
203 efl_pack_padding_set(hbox, 10, 0, EINA_TRUE); 202 efl_pack_padding_set(hbox, 10, 0, EINA_TRUE);
204 efl_gfx_visible_set(hbox, 1);
205 203
206 204
207 /* weights radio group */ 205 /* weights radio group */
@@ -209,7 +207,6 @@ test_ui_grid(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_i
209 efl_orientation_set(efl_added, EFL_ORIENT_DOWN)); 207 efl_orientation_set(efl_added, EFL_ORIENT_DOWN));
210 efl_gfx_size_hint_align_set(bx, 0, -1); 208 efl_gfx_size_hint_align_set(bx, 0, -1);
211 efl_pack(hbox, bx); 209 efl_pack(hbox, bx);
212 efl_gfx_visible_set(bx, 1);
213 210
214 chk = o = elm_radio_add(win); 211 chk = o = elm_radio_add(win);
215 elm_object_text_set(o, "No weight"); 212 elm_object_text_set(o, "No weight");
@@ -273,7 +270,6 @@ test_ui_grid(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_i
273 efl_gfx_size_hint_align_set(bx, 0.5, -1); 270 efl_gfx_size_hint_align_set(bx, 0.5, -1);
274 efl_gfx_size_hint_weight_set(bx, 0, 1); 271 efl_gfx_size_hint_weight_set(bx, 0, 1);
275 efl_pack(hbox, bx); 272 efl_pack(hbox, bx);
276 efl_gfx_visible_set(bx, 1);
277 273
278 o = elm_label_add(win); 274 o = elm_label_add(win);
279 elm_object_text_set(o, "User min size"); 275 elm_object_text_set(o, "User min size");
@@ -300,7 +296,6 @@ test_ui_grid(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_i
300 efl_gfx_size_hint_align_set(bx, 0, -1); 296 efl_gfx_size_hint_align_set(bx, 0, -1);
301 efl_gfx_size_hint_weight_set(bx, 0, 1); 297 efl_gfx_size_hint_weight_set(bx, 0, 1);
302 efl_pack(hbox, bx); 298 efl_pack(hbox, bx);
303 efl_gfx_visible_set(bx, 1);
304 299
305 o = elm_label_add(win); 300 o = elm_label_add(win);
306 elm_object_text_set(o, "Padding"); 301 elm_object_text_set(o, "Padding");
@@ -327,7 +322,6 @@ test_ui_grid(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_i
327 efl_gfx_size_hint_align_set(bx, 0, -1); 322 efl_gfx_size_hint_align_set(bx, 0, -1);
328 efl_gfx_size_hint_weight_set(bx, 0, 1); 323 efl_gfx_size_hint_weight_set(bx, 0, 1);
329 efl_pack(hbox, bx); 324 efl_pack(hbox, bx);
330 efl_gfx_visible_set(bx, 1);
331 325
332 o = elm_label_add(win); 326 o = elm_label_add(win);
333 elm_object_text_set(o, "Margin"); 327 elm_object_text_set(o, "Margin");
@@ -354,7 +348,6 @@ test_ui_grid(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_i
354 efl_gfx_size_hint_align_set(bx, 0, -1); 348 efl_gfx_size_hint_align_set(bx, 0, -1);
355 efl_gfx_size_hint_weight_set(bx, 1, 1); 349 efl_gfx_size_hint_weight_set(bx, 1, 1);
356 efl_pack(hbox, bx); 350 efl_pack(hbox, bx);
357 efl_gfx_visible_set(bx, 1);
358 351
359 o = elm_label_add(win); 352 o = elm_label_add(win);
360 elm_object_text_set(o, "Buttons margins"); 353 elm_object_text_set(o, "Buttons margins");
@@ -381,7 +374,6 @@ test_ui_grid(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_i
381 efl_gfx_size_hint_align_set(bx, 0, -1); 374 efl_gfx_size_hint_align_set(bx, 0, -1);
382 efl_gfx_size_hint_weight_set(bx, 1, 1); 375 efl_gfx_size_hint_weight_set(bx, 1, 1);
383 efl_pack(hbox, bx); 376 efl_pack(hbox, bx);
384 efl_gfx_visible_set(bx, 1);
385 377
386 o = elm_label_add(win); 378 o = elm_label_add(win);
387 elm_object_text_set(o, "<b>Properties</>"); 379 elm_object_text_set(o, "<b>Properties</>");
@@ -420,7 +412,6 @@ test_ui_grid(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_i
420 efl_gfx_size_hint_min_set(o, 10, 10); 412 efl_gfx_size_hint_min_set(o, 10, 10);
421 efl_gfx_color_set(o, 64, 96, 128, 255); 413 efl_gfx_color_set(o, 64, 96, 128, 255);
422 efl_pack_grid(grid, o, 0, 0, 3, 1); 414 efl_pack_grid(grid, o, 0, 0, 3, 1);
423 efl_gfx_visible_set(o, 1);
424 415
425 objects[i++] = o = elm_button_add(win); 416 objects[i++] = o = elm_button_add(win);
426 elm_object_text_set(o, "Button 1"); 417 elm_object_text_set(o, "Button 1");
diff --git a/src/bin/elementary/test_win_dialog.c b/src/bin/elementary/test_win_dialog.c
index c49dcf5..e20740e 100644
--- a/src/bin/elementary/test_win_dialog.c
+++ b/src/bin/elementary/test_win_dialog.c
@@ -46,8 +46,6 @@ _bt2_clicked_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_
46 46
47 // Swallow in the label as the default content, this will make it visible. 47 // Swallow in the label as the default content, this will make it visible.
48 efl_content_set(dia, lb); 48 efl_content_set(dia, lb);
49
50 efl_gfx_visible_set(dia, EINA_TRUE);
51} 49}
52 50
53static void 51static void
@@ -95,8 +93,6 @@ _bt3_clicked_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_
95 // Set min & max size (app-side) 93 // Set min & max size (app-side)
96 efl_gfx_size_hint_min_set(dia, ELM_SCALE_SIZE(0), ELM_SCALE_SIZE(100)); 94 efl_gfx_size_hint_min_set(dia, ELM_SCALE_SIZE(0), ELM_SCALE_SIZE(100));
97 efl_gfx_size_hint_max_set(dia, ELM_SCALE_SIZE(800), ELM_SCALE_SIZE(600)); 95 efl_gfx_size_hint_max_set(dia, ELM_SCALE_SIZE(800), ELM_SCALE_SIZE(600));
98
99 efl_gfx_visible_set(dia, EINA_TRUE);
100} 96}
101 97
102static void 98static void
@@ -126,7 +122,6 @@ _bt4_clicked_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *even
126 efl_gfx_size_hint_max_set(dia, ELM_SCALE_SIZE(800), ELM_SCALE_SIZE(600)); 122 efl_gfx_size_hint_max_set(dia, ELM_SCALE_SIZE(800), ELM_SCALE_SIZE(600));
127 123
128 efl_ui_win_center(dia, EINA_TRUE, EINA_TRUE); 124 efl_ui_win_center(dia, EINA_TRUE, EINA_TRUE);
129 efl_gfx_visible_set(dia, EINA_TRUE);
130} 125}
131 126
132void 127void
diff --git a/src/bin/elementary/test_win_inline.c b/src/bin/elementary/test_win_inline.c
index 10b80c1..058c4cb 100644
--- a/src/bin/elementary/test_win_inline.c
+++ b/src/bin/elementary/test_win_inline.c
@@ -228,7 +228,6 @@ test_win_inline(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *even
228 box = efl_add(EFL_UI_BOX_CLASS, win); 228 box = efl_add(EFL_UI_BOX_CLASS, win);
229 evas_object_size_hint_weight_set(box, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 229 evas_object_size_hint_weight_set(box, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
230 elm_win_resize_object_add(win, box); 230 elm_win_resize_object_add(win, box);
231 evas_object_show(box);
232 231
233 win2 = elm_win_add(win, "inlined", ELM_WIN_INLINED_IMAGE); 232 win2 = elm_win_add(win, "inlined", ELM_WIN_INLINED_IMAGE);
234 evas_object_event_callback_add(elm_win_inlined_image_object_get(win2), EVAS_CALLBACK_MOUSE_DOWN, cb_mouse_down, NULL); 233 evas_object_event_callback_add(elm_win_inlined_image_object_get(win2), EVAS_CALLBACK_MOUSE_DOWN, cb_mouse_down, NULL);
diff --git a/src/bin/elementary/test_win_stack.c b/src/bin/elementary/test_win_stack.c
index 23df1bf..904807b 100644
--- a/src/bin/elementary/test_win_stack.c
+++ b/src/bin/elementary/test_win_stack.c
@@ -88,7 +88,6 @@ _bt_pressed(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUS
88 snprintf(buf, sizeof(buf), "Level %i", level); 88 snprintf(buf, sizeof(buf), "Level %i", level);
89 win = _win_new(data, buf); 89 win = _win_new(data, buf);
90 efl_ui_win_stack_master_id_set(win, efl_ui_win_stack_id_get(data)); 90 efl_ui_win_stack_master_id_set(win, efl_ui_win_stack_id_get(data));
91 evas_object_show(win);
92} 91}
93 92
94void 93void