2 //gcc -o bg_example_01 bg_example_01.c -g `pkg-config --cflags --libs elementary`
4 #include <Elementary.h>
7 elm_main(int argc, char **argv)
11 elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
12 win = elm_win_util_standard_add("bg-plain", "Bg Plain");
13 elm_win_autodel_set(win, EINA_TRUE);
15 /* and now just resize the window to a size you want. normally widgets
16 * will determine the initial size though */
17 evas_object_resize(win, 320, 320);
18 /* and show the window */
19 evas_object_show(win);
21 elm_run(); /* and run the program now, starting to handle all