

As a first example, let\textquotesingle{}s just display a calendar in our window, explaining all steps required to do so.

First you should declare objects we intend to use\+: 
\begin{DoxyCodeInclude}{0}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\_Object}}\ *win,\ *cal;}

\end{DoxyCodeInclude}
 Then a window is created, a title is set and its set to be autodeleted. More details can be found on windows examples\+: 
\begin{DoxyCodeInclude}{0}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \ win\ =\ \mbox{\hyperlink{group__Elm__Win__Group_ga23d9d1ffa0a65a1a1dd482d570db1ba0}{elm\_win\_util\_standard\_add}}(\textcolor{stringliteral}{"{}calendar"{}},\ \textcolor{stringliteral}{"{}Calendar\ Creation\ Example"{}});}
\DoxyCodeLine{\ \ \ \mbox{\hyperlink{group__Elm__Win__Group_ga9a16a2f8c9fd5b6e9203ed9dcb53ea8b}{elm\_win\_autodel\_set}}(win,\ \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\_TRUE}});}

\end{DoxyCodeInclude}
 Next a simple background is placed on our windows. More details on \mbox{\hyperlink{bg_01_example_page}{elm\+\_\+bg -\/ Plain color background.}} \+: 
\begin{DoxyCodeInclude}{0}

\end{DoxyCodeInclude}
 Now, the exciting part, let\textquotesingle{}s add the calendar with \mbox{\hyperlink{group__Elm__Calendar_ga5ccbe1c8ec77615f6cfe50c47ef5c4e4}{elm\+\_\+calendar\+\_\+add()}}, passing our window object as parent. 
\begin{DoxyCodeInclude}{0}

\end{DoxyCodeInclude}
 To conclude our example, we should show the window and run elm mainloop\+: 
\begin{DoxyCodeInclude}{0}

\end{DoxyCodeInclude}
 Our example will look like this\+:

 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics[width=\textwidth]{screenshots/calendar_example_01}}
\end{DoxyImageNoCaption}


See the full source code \mbox{\hyperlink{calendar_example_01_8c-example}{calendar\+\_\+example\+\_\+01.\+c}} here. 