- win = elm_win_add(NULL, "scaling", ELM_WIN_BASIC);
- elm_win_title_set(win, "Scaling");
- elm_win_autodel_set(win, 1);
-
- bg = elm_bg_add(win);
- elm_win_resize_object_add(win, bg);
- evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
- evas_object_show(bg);
+ win = elm_win_util_standard_add("scaling", "Scaling");
+ elm_win_autodel_set(win, EINA_TRUE);