
\begin{DoxyCodeInclude}
\textcolor{comment}{//Compile with:}
\textcolor{comment}{//gcc -o bg\_example\_01 bg\_example\_01.c -g `pkg-config --cflags --libs elementary`}

\textcolor{preprocessor}{#include <Elementary.h>}

EAPI\_MAIN \textcolor{keywordtype}{int}
elm\_main(\textcolor{keywordtype}{int} argc, \textcolor{keywordtype}{char} **argv)
\{
   Evas\_Object *win;

   elm_policy_set(ELM\_POLICY\_QUIT, ELM\_POLICY\_QUIT\_LAST\_WINDOW\_CLOSED);
   win = elm_win_util_standard_add(\textcolor{stringliteral}{"bg-plain"}, \textcolor{stringliteral}{"Bg Plain"});
   elm\_win\_autodel\_set(win, EINA\_TRUE);

   \textcolor{comment}{/* and now just resize the window to a size you want. normally widgets}
\textcolor{comment}{    * will determine the initial size though */}
   evas\_object\_resize(win, 320, 320);
   \textcolor{comment}{/* and show the window */}
   evas\_object\_show(win);

   elm_run(); \textcolor{comment}{/* and run the program now, starting to handle all}
\textcolor{comment}{               * events, etc. */}

   \textcolor{comment}{/* exit code */}
   \textcolor{keywordflow}{return} 0;
\}
ELM_MAIN()
\end{DoxyCodeInclude}
 