\section{Calendar}
\label{group__Calendar}\index{Calendar@{Calendar}}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \+\_\+\+Elm\+\_\+\+Calendar\+\_\+\+Mark \hyperlink{group__Calendar_ga68bc9b2ac669f3f7964e1ca5faff78e4}{Elm\+\_\+\+Calendar\+\_\+\+Mark}
\begin{DoxyCompactList}\small\item\em Item handle for a calendar mark. \end{DoxyCompactList}\item 
typedef char $\ast$($\ast$ \hyperlink{group__Calendar_ga8153ac8c3f98affb0e51123296543aa8}{Elm\+\_\+\+Calendar\+\_\+\+Format\+\_\+\+Cb}) (struct tm $\ast$stime)
\begin{DoxyCompactList}\small\item\em This callback type is used to format the string that will be used to display month and year. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{group__Calendar_gadc7c2293761fcbc2421a6a77d5037ba9}{Elm\+\_\+\+Calendar\+\_\+\+Mark\+\_\+\+Repeat\+\_\+\+Type} \{ \\*
\hyperlink{group__Calendar_ggadc7c2293761fcbc2421a6a77d5037ba9a4178b5484b2a6bd00e2ce14b1b0c6dcc}{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+U\+N\+I\+Q\+U\+E}, 
\\*
\hyperlink{group__Calendar_ggadc7c2293761fcbc2421a6a77d5037ba9a5f474de4bd23a62ec1cf2d8973371b66}{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+D\+A\+I\+L\+Y}, 
\\*
\hyperlink{group__Calendar_ggadc7c2293761fcbc2421a6a77d5037ba9a78532786993897a8da0c1df665ba66d3}{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+W\+E\+E\+K\+L\+Y}, 
\\*
\hyperlink{group__Calendar_ggadc7c2293761fcbc2421a6a77d5037ba9a66e2fbda69f3d06d978ab38635dc3bd1}{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+M\+O\+N\+T\+H\+L\+Y}, 
\\*
\hyperlink{group__Calendar_ggadc7c2293761fcbc2421a6a77d5037ba9a95d0243bdd43e601b9608c80eb7aed6c}{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+A\+N\+N\+U\+A\+L\+L\+Y}, 
\\*
\hyperlink{group__Calendar_ggadc7c2293761fcbc2421a6a77d5037ba9aa09ea55ced82edac6eb110083aef0700}{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+L\+A\+S\+T\+\_\+\+D\+A\+Y\+\_\+\+O\+F\+\_\+\+M\+O\+N\+T\+H}
 \}
\begin{DoxyCompactList}\small\item\em Event periodicity, used to define if a mark should be repeated {\bfseries beyond} event\textquotesingle{}s day. \end{DoxyCompactList}\item 
enum \hyperlink{group__Calendar_ga2545c7df1eef71ffd3225f03248afe4d}{Elm\+\_\+\+Calendar\+\_\+\+Weekday} 
\begin{DoxyCompactList}\small\item\em A weekday. \end{DoxyCompactList}\item 
enum \hyperlink{group__Calendar_ga706d3467b3b87c2245f9a71bd610a91d}{Elm\+\_\+\+Calendar\+\_\+\+Select\+\_\+\+Mode} \{ \\*
\hyperlink{group__Calendar_gga706d3467b3b87c2245f9a71bd610a91dacc18fb5d5981fe6cfe21a6c0d73e8207}{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+S\+E\+L\+E\+C\+T\+\_\+\+M\+O\+D\+E\+\_\+\+D\+E\+F\+A\+U\+L\+T} = 0, 
\\*
\hyperlink{group__Calendar_gga706d3467b3b87c2245f9a71bd610a91dadc8fd2f09409b5a2d32ae87b20c60887}{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+S\+E\+L\+E\+C\+T\+\_\+\+M\+O\+D\+E\+\_\+\+A\+L\+W\+A\+Y\+S}, 
\\*
\hyperlink{group__Calendar_gga706d3467b3b87c2245f9a71bd610a91da1c514631dcbe537574b68c55a6224d0c}{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+S\+E\+L\+E\+C\+T\+\_\+\+M\+O\+D\+E\+\_\+\+N\+O\+N\+E}, 
\\*
\hyperlink{group__Calendar_gga706d3467b3b87c2245f9a71bd610a91dabadb605b9c940e1fabf1a0ac8865b207}{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+S\+E\+L\+E\+C\+T\+\_\+\+M\+O\+D\+E\+\_\+\+O\+N\+D\+E\+M\+A\+N\+D}
 \}
\begin{DoxyCompactList}\small\item\em The mode, who determine how user could select a day. \end{DoxyCompactList}\item 
enum \hyperlink{group__Calendar_gaa6e5c68bfd86ec46430b2a3688a279a7}{Elm\+\_\+\+Calendar\+\_\+\+Selectable} 
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
E\+O\+A\+P\+I void \hyperlink{group__Calendar_ga4b4b90a3cf93c14db0094c3307636195}{elm\+\_\+obj\+\_\+calendar\+\_\+first\+\_\+day\+\_\+of\+\_\+week\+\_\+set} (\hyperlink{group__Calendar_ga2545c7df1eef71ffd3225f03248afe4d}{Elm\+\_\+\+Calendar\+\_\+\+Weekday} day)
\begin{DoxyCompactList}\small\item\em Set the first day of week to use on calendar widgets\textquotesingle{}. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I \hyperlink{group__Calendar_ga2545c7df1eef71ffd3225f03248afe4d}{Elm\+\_\+\+Calendar\+\_\+\+Weekday} \hyperlink{group__Calendar_gadf327e24d3569ebd09047b10bcb013ff}{elm\+\_\+obj\+\_\+calendar\+\_\+first\+\_\+day\+\_\+of\+\_\+week\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get the first day of week, who are used on calendar widgets\textquotesingle{}. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Calendar_ga1ee22f3a111fd0d16e27cbb73da03c2b}{elm\+\_\+obj\+\_\+calendar\+\_\+selectable\+\_\+set} (\hyperlink{group__Calendar_gaa6e5c68bfd86ec46430b2a3688a279a7}{Elm\+\_\+\+Calendar\+\_\+\+Selectable} selectable)
\begin{DoxyCompactList}\small\item\em Define which fields of a {\bfseries tm} struct will be taken into account, when \hyperlink{group__Calendar_ga539293fb8292dd49a272dce320bc7a13}{elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+set()} is invoked. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I \hyperlink{group__Calendar_gaa6e5c68bfd86ec46430b2a3688a279a7}{Elm\+\_\+\+Calendar\+\_\+\+Selectable} \hyperlink{group__Calendar_ga50d84a9a0855e35588c2c629a329f92d}{elm\+\_\+obj\+\_\+calendar\+\_\+selectable\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get how elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+set manage a date. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Calendar_ga3a5ab167be63ea07fb88d79682662457}{elm\+\_\+obj\+\_\+calendar\+\_\+interval\+\_\+set} (double interval)
\begin{DoxyCompactList}\small\item\em Set the interval on time updates for an user mouse button hold on calendar widgets\textquotesingle{} month/year selection. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I double \hyperlink{group__Calendar_gae7638686eb00fc3ba13a1ec227e6ff46}{elm\+\_\+obj\+\_\+calendar\+\_\+interval\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get the interval on time updates for an user mouse button hold on calendar widgets\textquotesingle{} month/year selection. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Calendar_ga532a4ca1f428f8d16a733e459e39ebbf}{elm\+\_\+obj\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+set} (const char $\ast$$\ast$weekdays)
\begin{DoxyCompactList}\small\item\em Set weekdays names to be displayed by the calendar. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I const char $\ast$$\ast$ \hyperlink{group__Calendar_gae11c78da4c9ec66af202909bff060e03}{elm\+\_\+obj\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get weekdays names displayed by the calendar. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Calendar_ga8c1a285075033784dd0212e767a7f843}{elm\+\_\+obj\+\_\+calendar\+\_\+select\+\_\+mode\+\_\+set} (\hyperlink{group__Calendar_ga706d3467b3b87c2245f9a71bd610a91d}{Elm\+\_\+\+Calendar\+\_\+\+Select\+\_\+\+Mode} mode)
\begin{DoxyCompactList}\small\item\em Set select day mode to use. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I \hyperlink{group__Calendar_ga706d3467b3b87c2245f9a71bd610a91d}{Elm\+\_\+\+Calendar\+\_\+\+Select\+\_\+\+Mode} \hyperlink{group__Calendar_gae34c346bd8961c531a0ec8c719055d21}{elm\+\_\+obj\+\_\+calendar\+\_\+select\+\_\+mode\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get the select day mode used. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Calendar_ga1f8ed500defab7e3d55f48888f7276ea}{elm\+\_\+obj\+\_\+calendar\+\_\+min\+\_\+max\+\_\+year\+\_\+set} (int min, int max)
\begin{DoxyCompactList}\small\item\em Set the minimum and maximum values for the year. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Calendar_gae6ca610fe3a14838c589d4e7db4365fd}{elm\+\_\+obj\+\_\+calendar\+\_\+min\+\_\+max\+\_\+year\+\_\+get} (int $\ast$min, int $\ast$max)
\begin{DoxyCompactList}\small\item\em Get the minimum and maximum values for the year. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Calendar_gaec314fc2ee401ca10c914e2c2da639ec}{elm\+\_\+obj\+\_\+calendar\+\_\+format\+\_\+function\+\_\+set} (\hyperlink{group__Calendar_ga8153ac8c3f98affb0e51123296543aa8}{Elm\+\_\+\+Calendar\+\_\+\+Format\+\_\+\+Cb} format\+\_\+function)
\begin{DoxyCompactList}\small\item\em Set a function to format the string that will be used to display month and year;. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I const Eina\+\_\+\+List $\ast$ \hyperlink{group__Calendar_ga77e857bda7ebb25bf084059510f98e74}{elm\+\_\+obj\+\_\+calendar\+\_\+marks\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get a list of all the calendar marks. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Calendar_ga25fbf58b1e85c873b1c88e8639aff2c8}{elm\+\_\+obj\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+set} (struct tm $\ast$selected\+\_\+time)
\begin{DoxyCompactList}\small\item\em Set selected date to be highlighted on calendar. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I Eina\+\_\+\+Bool \hyperlink{group__Calendar_gaa17b521f499ecad54ebeee4b16ad3b93}{elm\+\_\+obj\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+get} (struct tm $\ast$selected\+\_\+time)
\begin{DoxyCompactList}\small\item\em Get selected date. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I \hyperlink{group__Calendar_ga68bc9b2ac669f3f7964e1ca5faff78e4}{Elm\+\_\+\+Calendar\+\_\+\+Mark} $\ast$ \hyperlink{group__Calendar_ga51db62d1db1641a4f5303801928a42fe}{elm\+\_\+obj\+\_\+calendar\+\_\+mark\+\_\+add} (const char $\ast$mark\+\_\+type, struct tm $\ast$mark\+\_\+time, \hyperlink{group__Calendar_gadc7c2293761fcbc2421a6a77d5037ba9}{Elm\+\_\+\+Calendar\+\_\+\+Mark\+\_\+\+Repeat\+\_\+\+Type} repeat)
\begin{DoxyCompactList}\small\item\em Add a new mark to the calendar. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Calendar_ga52bf580890bac14277f65107165f81d3}{elm\+\_\+obj\+\_\+calendar\+\_\+marks\+\_\+clear} (void)
\begin{DoxyCompactList}\small\item\em Remove all calendar\textquotesingle{}s marks. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Calendar_ga1f0b4698d70511c7bc4468c455227ea2}{elm\+\_\+obj\+\_\+calendar\+\_\+marks\+\_\+draw} (void)
\begin{DoxyCompactList}\small\item\em Draw calendar marks. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I Eina\+\_\+\+Bool \hyperlink{group__Calendar_ga00df7f82d36f30b88b88d538df126465}{elm\+\_\+obj\+\_\+calendar\+\_\+displayed\+\_\+time\+\_\+get} (struct tm $\ast$displayed\+\_\+time)
\begin{DoxyCompactList}\small\item\em Get the current time displayed in the widget. \end{DoxyCompactList}\item 
void \hyperlink{group__Calendar_ga022d01af1a1e46ac58f43314cc83b747}{elm\+\_\+calendar\+\_\+first\+\_\+day\+\_\+of\+\_\+week\+\_\+set} (Elm\+\_\+\+Calendar $\ast$obj, \hyperlink{group__Calendar_ga2545c7df1eef71ffd3225f03248afe4d}{Elm\+\_\+\+Calendar\+\_\+\+Weekday} day)
\begin{DoxyCompactList}\small\item\em Set the first day of week to use on calendar widgets\textquotesingle{}. \end{DoxyCompactList}\item 
\hyperlink{group__Calendar_ga2545c7df1eef71ffd3225f03248afe4d}{Elm\+\_\+\+Calendar\+\_\+\+Weekday} \hyperlink{group__Calendar_ga0ae3b47775fd8c27695dfd0b86f629f5}{elm\+\_\+calendar\+\_\+first\+\_\+day\+\_\+of\+\_\+week\+\_\+get} (const Elm\+\_\+\+Calendar $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the first day of week, who are used on calendar widgets\textquotesingle{}. \end{DoxyCompactList}\item 
void \hyperlink{group__Calendar_ga9a2739823b8732a307fd95e7104d80f0}{elm\+\_\+calendar\+\_\+selectable\+\_\+set} (Elm\+\_\+\+Calendar $\ast$obj, \hyperlink{group__Calendar_gaa6e5c68bfd86ec46430b2a3688a279a7}{Elm\+\_\+\+Calendar\+\_\+\+Selectable} selectable)
\begin{DoxyCompactList}\small\item\em Define which fields of a {\bfseries tm} struct will be taken into account, when \hyperlink{group__Calendar_ga539293fb8292dd49a272dce320bc7a13}{elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+set()} is invoked. \end{DoxyCompactList}\item 
\hyperlink{group__Calendar_gaa6e5c68bfd86ec46430b2a3688a279a7}{Elm\+\_\+\+Calendar\+\_\+\+Selectable} \hyperlink{group__Calendar_gaf047571e714791b5e8e33aa1a9069f16}{elm\+\_\+calendar\+\_\+selectable\+\_\+get} (const Elm\+\_\+\+Calendar $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get how elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+set manage a date. \end{DoxyCompactList}\item 
void \hyperlink{group__Calendar_gac0ab2840d6fb8210c95138011a8af316}{elm\+\_\+calendar\+\_\+interval\+\_\+set} (Elm\+\_\+\+Calendar $\ast$obj, double interval)
\begin{DoxyCompactList}\small\item\em Set the interval on time updates for an user mouse button hold on calendar widgets\textquotesingle{} month/year selection. \end{DoxyCompactList}\item 
double \hyperlink{group__Calendar_ga6deb506b41f20743d3bced3e0463e80f}{elm\+\_\+calendar\+\_\+interval\+\_\+get} (const Elm\+\_\+\+Calendar $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the interval on time updates for an user mouse button hold on calendar widgets\textquotesingle{} month/year selection. \end{DoxyCompactList}\item 
void \hyperlink{group__Calendar_ga96fb93bdf0ca00c67eda563bd9489192}{elm\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+set} (Elm\+\_\+\+Calendar $\ast$obj, const char $\ast$$\ast$weekdays)
\begin{DoxyCompactList}\small\item\em Set weekdays names to be displayed by the calendar. \end{DoxyCompactList}\item 
const char $\ast$$\ast$ \hyperlink{group__Calendar_ga319701dddd905946dd00801ddc4c7bf9}{elm\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+get} (const Elm\+\_\+\+Calendar $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get weekdays names displayed by the calendar. \end{DoxyCompactList}\item 
void \hyperlink{group__Calendar_gaf21f212c9fbc2c090c3ee5ed19ec8964}{elm\+\_\+calendar\+\_\+select\+\_\+mode\+\_\+set} (Elm\+\_\+\+Calendar $\ast$obj, \hyperlink{group__Calendar_ga706d3467b3b87c2245f9a71bd610a91d}{Elm\+\_\+\+Calendar\+\_\+\+Select\+\_\+\+Mode} mode)
\begin{DoxyCompactList}\small\item\em Set select day mode to use. \end{DoxyCompactList}\item 
\hyperlink{group__Calendar_ga706d3467b3b87c2245f9a71bd610a91d}{Elm\+\_\+\+Calendar\+\_\+\+Select\+\_\+\+Mode} \hyperlink{group__Calendar_ga1ec056753815c8899304d6a85fcec0a9}{elm\+\_\+calendar\+\_\+select\+\_\+mode\+\_\+get} (const Elm\+\_\+\+Calendar $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the select day mode used. \end{DoxyCompactList}\item 
void \hyperlink{group__Calendar_gaed08ee8d0c149d1501d8731a6e2fbc8c}{elm\+\_\+calendar\+\_\+min\+\_\+max\+\_\+year\+\_\+set} (Elm\+\_\+\+Calendar $\ast$obj, int min, int max)
\begin{DoxyCompactList}\small\item\em Set the minimum and maximum values for the year. \end{DoxyCompactList}\item 
void \hyperlink{group__Calendar_ga358f96ddac8577369c106fe048992129}{elm\+\_\+calendar\+\_\+min\+\_\+max\+\_\+year\+\_\+get} (const Elm\+\_\+\+Calendar $\ast$obj, int $\ast$min, int $\ast$max)
\begin{DoxyCompactList}\small\item\em Get the minimum and maximum values for the year. \end{DoxyCompactList}\item 
void \hyperlink{group__Calendar_gadfb5151b8c8c41facf49ff4126985b3a}{elm\+\_\+calendar\+\_\+format\+\_\+function\+\_\+set} (Elm\+\_\+\+Calendar $\ast$obj, \hyperlink{group__Calendar_ga8153ac8c3f98affb0e51123296543aa8}{Elm\+\_\+\+Calendar\+\_\+\+Format\+\_\+\+Cb} format\+\_\+function)
\begin{DoxyCompactList}\small\item\em Set a function to format the string that will be used to display month and year;. \end{DoxyCompactList}\item 
const Eina\+\_\+\+List $\ast$ \hyperlink{group__Calendar_ga6dd786b6eeaa1e85788b8684189064b2}{elm\+\_\+calendar\+\_\+marks\+\_\+get} (const Elm\+\_\+\+Calendar $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get a list of all the calendar marks. \end{DoxyCompactList}\item 
void \hyperlink{group__Calendar_ga539293fb8292dd49a272dce320bc7a13}{elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+set} (Elm\+\_\+\+Calendar $\ast$obj, struct tm $\ast$selected\+\_\+time)
\begin{DoxyCompactList}\small\item\em Set selected date to be highlighted on calendar. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__Calendar_gaefdde7355d91fb1b76076c453e6b52e9}{elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+get} (const Elm\+\_\+\+Calendar $\ast$obj, struct tm $\ast$selected\+\_\+time)
\begin{DoxyCompactList}\small\item\em Get selected date. \end{DoxyCompactList}\item 
\hyperlink{group__Calendar_ga68bc9b2ac669f3f7964e1ca5faff78e4}{Elm\+\_\+\+Calendar\+\_\+\+Mark} $\ast$ \hyperlink{group__Calendar_gace5ff17c082dca770fc29af4719dbab6}{elm\+\_\+calendar\+\_\+mark\+\_\+add} (Elm\+\_\+\+Calendar $\ast$obj, const char $\ast$mark\+\_\+type, struct tm $\ast$mark\+\_\+time, \hyperlink{group__Calendar_gadc7c2293761fcbc2421a6a77d5037ba9}{Elm\+\_\+\+Calendar\+\_\+\+Mark\+\_\+\+Repeat\+\_\+\+Type} repeat)
\begin{DoxyCompactList}\small\item\em Add a new mark to the calendar. \end{DoxyCompactList}\item 
void \hyperlink{group__Calendar_ga9bde6ccf81aa3d9c4e3cd80f769f09cf}{elm\+\_\+calendar\+\_\+marks\+\_\+clear} (Elm\+\_\+\+Calendar $\ast$obj)
\begin{DoxyCompactList}\small\item\em Remove all calendar\textquotesingle{}s marks. \end{DoxyCompactList}\item 
void \hyperlink{group__Calendar_gaac0a5d49f8515c1995a13c321bf84e1a}{elm\+\_\+calendar\+\_\+marks\+\_\+draw} (Elm\+\_\+\+Calendar $\ast$obj)
\begin{DoxyCompactList}\small\item\em Draw calendar marks. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__Calendar_ga84ea17f75a58d34eca87c61f6ff13984}{elm\+\_\+calendar\+\_\+displayed\+\_\+time\+\_\+get} (const Elm\+\_\+\+Calendar $\ast$obj, struct tm $\ast$displayed\+\_\+time)
\begin{DoxyCompactList}\small\item\em Get the current time displayed in the widget. \end{DoxyCompactList}\item 
void \hyperlink{group__Calendar_gad35671e1b76077a83603bb2a706f4709}{elm\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+set} (Evas\+\_\+\+Object $\ast$obj, const char $\ast$weekdays\mbox{[}$\,$\mbox{]})
\begin{DoxyCompactList}\small\item\em Set weekdays names to be displayed by the calendar. \end{DoxyCompactList}\item 
void \hyperlink{group__Calendar_gaacf325f949268d816c3b2a601969ecda}{elm\+\_\+calendar\+\_\+mark\+\_\+del} (\hyperlink{group__Calendar_ga68bc9b2ac669f3f7964e1ca5faff78e4}{Elm\+\_\+\+Calendar\+\_\+\+Mark} $\ast$mark)
\begin{DoxyCompactList}\small\item\em Delete mark from the calendar. \end{DoxyCompactList}\item 
Evas\+\_\+\+Object $\ast$ \hyperlink{group__Calendar_gae893c6a3465db10d322ff937be4b0854}{elm\+\_\+calendar\+\_\+add} (Evas\+\_\+\+Object $\ast$parent)
\begin{DoxyCompactList}\small\item\em Add a new calendar widget to the given parent Elementary (container) object. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics[width=\textwidth,height=\textheight/2,keepaspectratio=true]{calendar_inheritance_tree}}
\end{DoxyImageNoCaption}


This is a calendar widget. It helps applications to flexibly display a calender with day of the week, date, year and month. Applications are able to set specific dates to be reported back, when selected, in the smart callbacks of the calendar widget. The A\+P\+I of this widget lets the applications perform other functions, like\+:


\begin{DoxyItemize}
\item placing marks on specific dates
\item setting the bounds for the calendar (minimum and maximum years)
\item setting the day names of the week (e.\+g. \char`\"{}\+Thu\char`\"{} or \char`\"{}\+Thursday\char`\"{})
\item setting the year and month format.
\end{DoxyItemize}

This widget inherits from the \hyperlink{group__Layout}{Layout} one, so that all the functions acting on it also work for calendar objects.

This widget emits the following signals, besides the ones sent from Layout\+:
\begin{DoxyItemize}
\item {\ttfamily \char`\"{}changed\char`\"{}} -\/ emitted when the date in the calendar is changed.
\item {\ttfamily \char`\"{}display,changed\char`\"{}} -\/ emitted when the current month displayed in the calendar is changed.
\item {\ttfamily \char`\"{}focused\char`\"{}} -\/ When the calendar has received focus. (since 1.\+8)
\item {\ttfamily \char`\"{}unfocused\char`\"{}} -\/ When the calendar has lost focus. (since 1.\+8)
\item {\ttfamily \char`\"{}language,changed\char`\"{}} -\/ the program\textquotesingle{}s language changed (since 1.\+9)
\end{DoxyItemize}

Supported elm\+\_\+object common A\+P\+Is. \begin{DoxyItemize}
\item \hyperlink{group__General_ga1beada7edf5d714c0dba5459bcc993fc}{elm\+\_\+object\+\_\+signal\+\_\+emit} \item \hyperlink{group__General_ga6f9574b798efcd454afdac6f2904f633}{elm\+\_\+object\+\_\+signal\+\_\+callback\+\_\+add} \item \hyperlink{group__General_ga3c76b5447be522d647e352cb7ff7c9e6}{elm\+\_\+object\+\_\+signal\+\_\+callback\+\_\+del}\end{DoxyItemize}
Here is some sample code using it\+: \begin{DoxyItemize}
\item \hyperlink{calendar_example_01}{Calendar -\/ Simple creation.} \item \hyperlink{calendar_example_02}{Calendar -\/ Layout strings formatting.} \item \hyperlink{calendar_example_03}{Calendar -\/ Years restrictions.} \item \hyperlink{calendar_example_04}{Calendar -\/ Days selection.} \item \hyperlink{calendar_example_05}{Calendar -\/ Signal callback and getters.} \item \hyperlink{calendar_example_06}{Calendar -\/ Calendar marks.} \end{DoxyItemize}


\subsection{Typedef Documentation}
\index{Calendar@{Calendar}!Elm\+\_\+\+Calendar\+\_\+\+Format\+\_\+\+Cb@{Elm\+\_\+\+Calendar\+\_\+\+Format\+\_\+\+Cb}}
\index{Elm\+\_\+\+Calendar\+\_\+\+Format\+\_\+\+Cb@{Elm\+\_\+\+Calendar\+\_\+\+Format\+\_\+\+Cb}!Calendar@{Calendar}}
\subsubsection[{Elm\+\_\+\+Calendar\+\_\+\+Format\+\_\+\+Cb}]{\setlength{\rightskip}{0pt plus 5cm}typedef char$\ast$($\ast$ Elm\+\_\+\+Calendar\+\_\+\+Format\+\_\+\+Cb) (struct tm $\ast$stime)}\label{group__Calendar_ga8153ac8c3f98affb0e51123296543aa8}


This callback type is used to format the string that will be used to display month and year. 


\begin{DoxyParams}{Parameters}
{\em stime} & Struct representing time. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
String representing time that will be set to calendar\textquotesingle{}s text.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_gadfb5151b8c8c41facf49ff4126985b3a}{elm\+\_\+calendar\+\_\+format\+\_\+function\+\_\+set()} 
\end{DoxySeeAlso}
\index{Calendar@{Calendar}!Elm\+\_\+\+Calendar\+\_\+\+Mark@{Elm\+\_\+\+Calendar\+\_\+\+Mark}}
\index{Elm\+\_\+\+Calendar\+\_\+\+Mark@{Elm\+\_\+\+Calendar\+\_\+\+Mark}!Calendar@{Calendar}}
\subsubsection[{Elm\+\_\+\+Calendar\+\_\+\+Mark}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct \+\_\+\+Elm\+\_\+\+Calendar\+\_\+\+Mark {\bf Elm\+\_\+\+Calendar\+\_\+\+Mark}}\label{group__Calendar_ga68bc9b2ac669f3f7964e1ca5faff78e4}


Item handle for a calendar mark. 

Created with \hyperlink{group__Calendar_gace5ff17c082dca770fc29af4719dbab6}{elm\+\_\+calendar\+\_\+mark\+\_\+add()} and deleted with \hyperlink{group__Calendar_gaacf325f949268d816c3b2a601969ecda}{elm\+\_\+calendar\+\_\+mark\+\_\+del()}. 

\subsection{Enumeration Type Documentation}
\index{Calendar@{Calendar}!Elm\+\_\+\+Calendar\+\_\+\+Mark\+\_\+\+Repeat\+\_\+\+Type@{Elm\+\_\+\+Calendar\+\_\+\+Mark\+\_\+\+Repeat\+\_\+\+Type}}
\index{Elm\+\_\+\+Calendar\+\_\+\+Mark\+\_\+\+Repeat\+\_\+\+Type@{Elm\+\_\+\+Calendar\+\_\+\+Mark\+\_\+\+Repeat\+\_\+\+Type}!Calendar@{Calendar}}
\subsubsection[{Elm\+\_\+\+Calendar\+\_\+\+Mark\+\_\+\+Repeat\+\_\+\+Type}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Elm\+\_\+\+Calendar\+\_\+\+Mark\+\_\+\+Repeat\+\_\+\+Type}}\label{group__Calendar_gadc7c2293761fcbc2421a6a77d5037ba9}


Event periodicity, used to define if a mark should be repeated {\bfseries beyond} event\textquotesingle{}s day. 

It\textquotesingle{}s set when a mark is added.

So, for a mark added to 13th May with periodicity set to W\+E\+E\+K\+L\+Y, there will be marks every week after this date. Marks will be displayed at 13th, 20th, 27th, 3rd June ...

Values don\textquotesingle{}t work as bitmask, only one can be chosen.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_gace5ff17c082dca770fc29af4719dbab6}{elm\+\_\+calendar\+\_\+mark\+\_\+add()} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Enumerator]\par
\begin{description}
\index{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+U\+N\+I\+Q\+U\+E@{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+U\+N\+I\+Q\+U\+E}!Calendar@{Calendar}}\index{Calendar@{Calendar}!E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+U\+N\+I\+Q\+U\+E@{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+U\+N\+I\+Q\+U\+E}}\item[{\em 
E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+U\+N\+I\+Q\+U\+E\label{group__Calendar_ggadc7c2293761fcbc2421a6a77d5037ba9a4178b5484b2a6bd00e2ce14b1b0c6dcc}
}]Default value. Marks will be displayed only on event day. \index{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+D\+A\+I\+L\+Y@{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+D\+A\+I\+L\+Y}!Calendar@{Calendar}}\index{Calendar@{Calendar}!E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+D\+A\+I\+L\+Y@{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+D\+A\+I\+L\+Y}}\item[{\em 
E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+D\+A\+I\+L\+Y\label{group__Calendar_ggadc7c2293761fcbc2421a6a77d5037ba9a5f474de4bd23a62ec1cf2d8973371b66}
}]Marks will be displayed every day after event day (inclusive). \index{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+W\+E\+E\+K\+L\+Y@{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+W\+E\+E\+K\+L\+Y}!Calendar@{Calendar}}\index{Calendar@{Calendar}!E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+W\+E\+E\+K\+L\+Y@{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+W\+E\+E\+K\+L\+Y}}\item[{\em 
E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+W\+E\+E\+K\+L\+Y\label{group__Calendar_ggadc7c2293761fcbc2421a6a77d5037ba9a78532786993897a8da0c1df665ba66d3}
}]Marks will be displayed every week after event day (inclusive) -\/ i.\+e. each seven days. \index{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+M\+O\+N\+T\+H\+L\+Y@{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+M\+O\+N\+T\+H\+L\+Y}!Calendar@{Calendar}}\index{Calendar@{Calendar}!E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+M\+O\+N\+T\+H\+L\+Y@{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+M\+O\+N\+T\+H\+L\+Y}}\item[{\em 
E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+M\+O\+N\+T\+H\+L\+Y\label{group__Calendar_ggadc7c2293761fcbc2421a6a77d5037ba9a66e2fbda69f3d06d978ab38635dc3bd1}
}]Marks will be displayed every month day that coincides to event day. E.\+g.\+: if an event is set to 30th Jan, no marks will be displayed on Feb, but will be displayed on 30th Mar \index{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+A\+N\+N\+U\+A\+L\+L\+Y@{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+A\+N\+N\+U\+A\+L\+L\+Y}!Calendar@{Calendar}}\index{Calendar@{Calendar}!E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+A\+N\+N\+U\+A\+L\+L\+Y@{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+A\+N\+N\+U\+A\+L\+L\+Y}}\item[{\em 
E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+A\+N\+N\+U\+A\+L\+L\+Y\label{group__Calendar_ggadc7c2293761fcbc2421a6a77d5037ba9a95d0243bdd43e601b9608c80eb7aed6c}
}]Marks will be displayed every year that coincides to event day (and month). E.\+g. an event added to 30th Jan 2012 will be repeated on 30th Jan 2013. \index{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+L\+A\+S\+T\+\_\+\+D\+A\+Y\+\_\+\+O\+F\+\_\+\+M\+O\+N\+T\+H@{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+L\+A\+S\+T\+\_\+\+D\+A\+Y\+\_\+\+O\+F\+\_\+\+M\+O\+N\+T\+H}!Calendar@{Calendar}}\index{Calendar@{Calendar}!E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+L\+A\+S\+T\+\_\+\+D\+A\+Y\+\_\+\+O\+F\+\_\+\+M\+O\+N\+T\+H@{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+L\+A\+S\+T\+\_\+\+D\+A\+Y\+\_\+\+O\+F\+\_\+\+M\+O\+N\+T\+H}}\item[{\em 
E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+L\+A\+S\+T\+\_\+\+D\+A\+Y\+\_\+\+O\+F\+\_\+\+M\+O\+N\+T\+H\label{group__Calendar_ggadc7c2293761fcbc2421a6a77d5037ba9aa09ea55ced82edac6eb110083aef0700}
}]Marks will be displayed every last day of month after event day (inclusive). \begin{DoxySince}{Since}
1.\+7 
\end{DoxySince}
\end{description}
\end{Desc}
\index{Calendar@{Calendar}!Elm\+\_\+\+Calendar\+\_\+\+Select\+\_\+\+Mode@{Elm\+\_\+\+Calendar\+\_\+\+Select\+\_\+\+Mode}}
\index{Elm\+\_\+\+Calendar\+\_\+\+Select\+\_\+\+Mode@{Elm\+\_\+\+Calendar\+\_\+\+Select\+\_\+\+Mode}!Calendar@{Calendar}}
\subsubsection[{Elm\+\_\+\+Calendar\+\_\+\+Select\+\_\+\+Mode}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Elm\+\_\+\+Calendar\+\_\+\+Select\+\_\+\+Mode}}\label{group__Calendar_ga706d3467b3b87c2245f9a71bd610a91d}


The mode, who determine how user could select a day. 

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_gaf21f212c9fbc2c090c3ee5ed19ec8964}{elm\+\_\+calendar\+\_\+select\+\_\+mode\+\_\+set()} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Enumerator]\par
\begin{description}
\index{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+S\+E\+L\+E\+C\+T\+\_\+\+M\+O\+D\+E\+\_\+\+D\+E\+F\+A\+U\+L\+T@{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+S\+E\+L\+E\+C\+T\+\_\+\+M\+O\+D\+E\+\_\+\+D\+E\+F\+A\+U\+L\+T}!Calendar@{Calendar}}\index{Calendar@{Calendar}!E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+S\+E\+L\+E\+C\+T\+\_\+\+M\+O\+D\+E\+\_\+\+D\+E\+F\+A\+U\+L\+T@{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+S\+E\+L\+E\+C\+T\+\_\+\+M\+O\+D\+E\+\_\+\+D\+E\+F\+A\+U\+L\+T}}\item[{\em 
E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+S\+E\+L\+E\+C\+T\+\_\+\+M\+O\+D\+E\+\_\+\+D\+E\+F\+A\+U\+L\+T\label{group__Calendar_gga706d3467b3b87c2245f9a71bd610a91dacc18fb5d5981fe6cfe21a6c0d73e8207}
}]Default value. a day is always selected. \index{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+S\+E\+L\+E\+C\+T\+\_\+\+M\+O\+D\+E\+\_\+\+A\+L\+W\+A\+Y\+S@{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+S\+E\+L\+E\+C\+T\+\_\+\+M\+O\+D\+E\+\_\+\+A\+L\+W\+A\+Y\+S}!Calendar@{Calendar}}\index{Calendar@{Calendar}!E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+S\+E\+L\+E\+C\+T\+\_\+\+M\+O\+D\+E\+\_\+\+A\+L\+W\+A\+Y\+S@{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+S\+E\+L\+E\+C\+T\+\_\+\+M\+O\+D\+E\+\_\+\+A\+L\+W\+A\+Y\+S}}\item[{\em 
E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+S\+E\+L\+E\+C\+T\+\_\+\+M\+O\+D\+E\+\_\+\+A\+L\+W\+A\+Y\+S\label{group__Calendar_gga706d3467b3b87c2245f9a71bd610a91dadc8fd2f09409b5a2d32ae87b20c60887}
}]a day is always selected. \index{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+S\+E\+L\+E\+C\+T\+\_\+\+M\+O\+D\+E\+\_\+\+N\+O\+N\+E@{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+S\+E\+L\+E\+C\+T\+\_\+\+M\+O\+D\+E\+\_\+\+N\+O\+N\+E}!Calendar@{Calendar}}\index{Calendar@{Calendar}!E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+S\+E\+L\+E\+C\+T\+\_\+\+M\+O\+D\+E\+\_\+\+N\+O\+N\+E@{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+S\+E\+L\+E\+C\+T\+\_\+\+M\+O\+D\+E\+\_\+\+N\+O\+N\+E}}\item[{\em 
E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+S\+E\+L\+E\+C\+T\+\_\+\+M\+O\+D\+E\+\_\+\+N\+O\+N\+E\label{group__Calendar_gga706d3467b3b87c2245f9a71bd610a91da1c514631dcbe537574b68c55a6224d0c}
}]None of the days can be selected. \index{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+S\+E\+L\+E\+C\+T\+\_\+\+M\+O\+D\+E\+\_\+\+O\+N\+D\+E\+M\+A\+N\+D@{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+S\+E\+L\+E\+C\+T\+\_\+\+M\+O\+D\+E\+\_\+\+O\+N\+D\+E\+M\+A\+N\+D}!Calendar@{Calendar}}\index{Calendar@{Calendar}!E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+S\+E\+L\+E\+C\+T\+\_\+\+M\+O\+D\+E\+\_\+\+O\+N\+D\+E\+M\+A\+N\+D@{E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+S\+E\+L\+E\+C\+T\+\_\+\+M\+O\+D\+E\+\_\+\+O\+N\+D\+E\+M\+A\+N\+D}}\item[{\em 
E\+L\+M\+\_\+\+C\+A\+L\+E\+N\+D\+A\+R\+\_\+\+S\+E\+L\+E\+C\+T\+\_\+\+M\+O\+D\+E\+\_\+\+O\+N\+D\+E\+M\+A\+N\+D\label{group__Calendar_gga706d3467b3b87c2245f9a71bd610a91dabadb605b9c940e1fabf1a0ac8865b207}
}]User may have selected a day or not. \end{description}
\end{Desc}
\index{Calendar@{Calendar}!Elm\+\_\+\+Calendar\+\_\+\+Selectable@{Elm\+\_\+\+Calendar\+\_\+\+Selectable}}
\index{Elm\+\_\+\+Calendar\+\_\+\+Selectable@{Elm\+\_\+\+Calendar\+\_\+\+Selectable}!Calendar@{Calendar}}
\subsubsection[{Elm\+\_\+\+Calendar\+\_\+\+Selectable}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Elm\+\_\+\+Calendar\+\_\+\+Selectable}}\label{group__Calendar_gaa6e5c68bfd86ec46430b2a3688a279a7}




A bitmask used to define which fields of a {\bfseries tm} struct will be taken into account, when \hyperlink{group__Calendar_ga539293fb8292dd49a272dce320bc7a13}{elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+set()} is invoked.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_ga9a2739823b8732a307fd95e7104d80f0}{elm\+\_\+calendar\+\_\+selectable\+\_\+set()} 

\hyperlink{group__Calendar_ga539293fb8292dd49a272dce320bc7a13}{elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+set()} 
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\index{Calendar@{Calendar}!Elm\+\_\+\+Calendar\+\_\+\+Weekday@{Elm\+\_\+\+Calendar\+\_\+\+Weekday}}
\index{Elm\+\_\+\+Calendar\+\_\+\+Weekday@{Elm\+\_\+\+Calendar\+\_\+\+Weekday}!Calendar@{Calendar}}
\subsubsection[{Elm\+\_\+\+Calendar\+\_\+\+Weekday}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Elm\+\_\+\+Calendar\+\_\+\+Weekday}}\label{group__Calendar_ga2545c7df1eef71ffd3225f03248afe4d}


A weekday. 

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_ga022d01af1a1e46ac58f43314cc83b747}{elm\+\_\+calendar\+\_\+first\+\_\+day\+\_\+of\+\_\+week\+\_\+set()} 
\end{DoxySeeAlso}


\subsection{Function Documentation}
\index{Calendar@{Calendar}!elm\+\_\+calendar\+\_\+add@{elm\+\_\+calendar\+\_\+add}}
\index{elm\+\_\+calendar\+\_\+add@{elm\+\_\+calendar\+\_\+add}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+calendar\+\_\+add}]{\setlength{\rightskip}{0pt plus 5cm}Evas\+\_\+\+Object$\ast$ elm\+\_\+calendar\+\_\+add (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{parent}
\end{DoxyParamCaption}
)}\label{group__Calendar_gae893c6a3465db10d322ff937be4b0854}


Add a new calendar widget to the given parent Elementary (container) object. 


\begin{DoxyParams}{Parameters}
{\em parent} & The parent object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
a new calendar widget handle or {\ttfamily N\+U\+L\+L}, on errors.
\end{DoxyReturn}
This function inserts a new calendar widget on the canvas.

\hyperlink{calendar_example_01}{Calendar -\/ Simple creation.} \index{Calendar@{Calendar}!elm\+\_\+calendar\+\_\+displayed\+\_\+time\+\_\+get@{elm\+\_\+calendar\+\_\+displayed\+\_\+time\+\_\+get}}
\index{elm\+\_\+calendar\+\_\+displayed\+\_\+time\+\_\+get@{elm\+\_\+calendar\+\_\+displayed\+\_\+time\+\_\+get}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+calendar\+\_\+displayed\+\_\+time\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+calendar\+\_\+displayed\+\_\+time\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Calendar $\ast$}]{obj, }
\item[{struct tm $\ast$}]{displayed\+\_\+time}
\end{DoxyParamCaption}
)}\label{group__Calendar_ga84ea17f75a58d34eca87c61f6ff13984}


Get the current time displayed in the widget. 

\begin{DoxyReturn}{Returns}
E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E means an error occurred. If it\textquotesingle{}s an error the returned time is zero filled.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8
\end{DoxySince}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in,out}  & {\em displayed\+\_\+time} & A {\bfseries tm} struct to point to displayed date \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+calendar\+\_\+displayed\+\_\+time\+\_\+get().

\index{Calendar@{Calendar}!elm\+\_\+calendar\+\_\+first\+\_\+day\+\_\+of\+\_\+week\+\_\+get@{elm\+\_\+calendar\+\_\+first\+\_\+day\+\_\+of\+\_\+week\+\_\+get}}
\index{elm\+\_\+calendar\+\_\+first\+\_\+day\+\_\+of\+\_\+week\+\_\+get@{elm\+\_\+calendar\+\_\+first\+\_\+day\+\_\+of\+\_\+week\+\_\+get}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+calendar\+\_\+first\+\_\+day\+\_\+of\+\_\+week\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Elm\+\_\+\+Calendar\+\_\+\+Weekday} elm\+\_\+calendar\+\_\+first\+\_\+day\+\_\+of\+\_\+week\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Calendar $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Calendar_ga0ae3b47775fd8c27695dfd0b86f629f5}


Get the first day of week, who are used on calendar widgets\textquotesingle{}. 

\begin{DoxyReturn}{Returns}
An int which correspond to the first day of the week (Sunday = 0, Monday = 1, ..., Saturday = 6)
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_ga022d01af1a1e46ac58f43314cc83b747}{elm\+\_\+calendar\+\_\+first\+\_\+day\+\_\+of\+\_\+week\+\_\+set()} for more details 
\end{DoxySeeAlso}


References elm\+\_\+obj\+\_\+calendar\+\_\+first\+\_\+day\+\_\+of\+\_\+week\+\_\+get().

\index{Calendar@{Calendar}!elm\+\_\+calendar\+\_\+first\+\_\+day\+\_\+of\+\_\+week\+\_\+set@{elm\+\_\+calendar\+\_\+first\+\_\+day\+\_\+of\+\_\+week\+\_\+set}}
\index{elm\+\_\+calendar\+\_\+first\+\_\+day\+\_\+of\+\_\+week\+\_\+set@{elm\+\_\+calendar\+\_\+first\+\_\+day\+\_\+of\+\_\+week\+\_\+set}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+calendar\+\_\+first\+\_\+day\+\_\+of\+\_\+week\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+calendar\+\_\+first\+\_\+day\+\_\+of\+\_\+week\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Calendar $\ast$}]{obj, }
\item[{{\bf Elm\+\_\+\+Calendar\+\_\+\+Weekday}}]{day}
\end{DoxyParamCaption}
)}\label{group__Calendar_ga022d01af1a1e46ac58f43314cc83b747}


Set the first day of week to use on calendar widgets\textquotesingle{}. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em day} & An int which correspond to the first day of the week (Sunday = 0, Monday = 1, ..., Saturday = 6) \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+calendar\+\_\+first\+\_\+day\+\_\+of\+\_\+week\+\_\+set().

\index{Calendar@{Calendar}!elm\+\_\+calendar\+\_\+format\+\_\+function\+\_\+set@{elm\+\_\+calendar\+\_\+format\+\_\+function\+\_\+set}}
\index{elm\+\_\+calendar\+\_\+format\+\_\+function\+\_\+set@{elm\+\_\+calendar\+\_\+format\+\_\+function\+\_\+set}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+calendar\+\_\+format\+\_\+function\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+calendar\+\_\+format\+\_\+function\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Calendar $\ast$}]{obj, }
\item[{{\bf Elm\+\_\+\+Calendar\+\_\+\+Format\+\_\+\+Cb}}]{format\+\_\+function}
\end{DoxyParamCaption}
)}\label{group__Calendar_gadfb5151b8c8c41facf49ff4126985b3a}


Set a function to format the string that will be used to display month and year;. 

By default it uses strftime with \char`\"{}\%\+B \%\+Y\char`\"{} format string. It should allocate the memory that will be used by the string, that will be freed by the widget after usage. A pointer to the string and a pointer to the time struct will be provided.

Example\+: 
\begin{DoxyCode}
1 static char
2 \_format\_month\_year(struct tm *selected\_time)
3 \{
4 char buf[32];
5 if (!strftime(buf, sizeof(buf), "%B %Y", selected\_time)) return NULL;
6 return strdup(buf);
7 \}
8 
9 elm\_calendar\_format\_function\_set(calendar, \_format\_month\_year);
\end{DoxyCode}


\hyperlink{calendar_example_02}{Calendar -\/ Layout strings formatting.}


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em format\+\_\+function} & Function to set the month-\/year string given the selected date \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+calendar\+\_\+format\+\_\+function\+\_\+set().

\index{Calendar@{Calendar}!elm\+\_\+calendar\+\_\+interval\+\_\+get@{elm\+\_\+calendar\+\_\+interval\+\_\+get}}
\index{elm\+\_\+calendar\+\_\+interval\+\_\+get@{elm\+\_\+calendar\+\_\+interval\+\_\+get}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+calendar\+\_\+interval\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}double elm\+\_\+calendar\+\_\+interval\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Calendar $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Calendar_ga6deb506b41f20743d3bced3e0463e80f}


Get the interval on time updates for an user mouse button hold on calendar widgets\textquotesingle{} month/year selection. 

\begin{DoxyReturn}{Returns}
The (first) interval value, in seconds, set on it
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_gac0ab2840d6fb8210c95138011a8af316}{elm\+\_\+calendar\+\_\+interval\+\_\+set()} for more details 
\end{DoxySeeAlso}


References elm\+\_\+obj\+\_\+calendar\+\_\+interval\+\_\+get().

\index{Calendar@{Calendar}!elm\+\_\+calendar\+\_\+interval\+\_\+set@{elm\+\_\+calendar\+\_\+interval\+\_\+set}}
\index{elm\+\_\+calendar\+\_\+interval\+\_\+set@{elm\+\_\+calendar\+\_\+interval\+\_\+set}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+calendar\+\_\+interval\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+calendar\+\_\+interval\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Calendar $\ast$}]{obj, }
\item[{double}]{interval}
\end{DoxyParamCaption}
)}\label{group__Calendar_gac0ab2840d6fb8210c95138011a8af316}


Set the interval on time updates for an user mouse button hold on calendar widgets\textquotesingle{} month/year selection. 

This interval value is {\bfseries decreased} while the user holds the mouse pointer either selecting next or previous month/year.

This helps the user to get to a given month distant from the current one easier/faster, as it will start to change quicker and quicker on mouse button holds.

The calculation for the next change interval value, starting from the one set with this call, is the previous interval divided by 1.\+05, so it decreases a little bit.

The default starting interval value for automatic changes is {\bfseries 0.\+85} seconds.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_ga6deb506b41f20743d3bced3e0463e80f}{elm\+\_\+calendar\+\_\+interval\+\_\+get()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em interval} & The (first) interval value in seconds \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+calendar\+\_\+interval\+\_\+set().

\index{Calendar@{Calendar}!elm\+\_\+calendar\+\_\+mark\+\_\+add@{elm\+\_\+calendar\+\_\+mark\+\_\+add}}
\index{elm\+\_\+calendar\+\_\+mark\+\_\+add@{elm\+\_\+calendar\+\_\+mark\+\_\+add}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+calendar\+\_\+mark\+\_\+add}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Elm\+\_\+\+Calendar\+\_\+\+Mark}$\ast$ elm\+\_\+calendar\+\_\+mark\+\_\+add (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Calendar $\ast$}]{obj, }
\item[{const char $\ast$}]{mark\+\_\+type, }
\item[{struct tm $\ast$}]{mark\+\_\+time, }
\item[{{\bf Elm\+\_\+\+Calendar\+\_\+\+Mark\+\_\+\+Repeat\+\_\+\+Type}}]{repeat}
\end{DoxyParamCaption}
)}\label{group__Calendar_gace5ff17c082dca770fc29af4719dbab6}


Add a new mark to the calendar. 

\begin{DoxyReturn}{Returns}
The created mark or {\ttfamily N\+U\+L\+L} upon failure.
\end{DoxyReturn}
Add a mark that will be drawn in the calendar respecting the insertion time and periodicity. It will emit the type as signal to the widget theme. Default theme supports \char`\"{}holiday\char`\"{} and \char`\"{}checked\char`\"{}, but it can be extended.

It won\textquotesingle{}t immediately update the calendar, drawing the marks. For this, call \hyperlink{group__Calendar_gaac0a5d49f8515c1995a13c321bf84e1a}{elm\+\_\+calendar\+\_\+marks\+\_\+draw()}. However, when user selects next or previous month calendar forces marks drawn.

Marks created with this method can be deleted with \hyperlink{group__Calendar_gaacf325f949268d816c3b2a601969ecda}{elm\+\_\+calendar\+\_\+mark\+\_\+del()}.

Example 
\begin{DoxyCode}
1 struct tm selected\_time;
2 time\_t current\_time;
3 
4 current\_time = time(NULL) + 5 * (24 * 60 * 60);
5 localtime\_r(&current\_time, &selected\_time);
6 elm\_calendar\_mark\_add(cal, "holiday", selected\_time,
7 ELM\_CALENDAR\_ANNUALLY);
8 
9 current\_time = time(NULL) + 1 * (24 * 60 * 60);
10 localtime\_r(&current\_time, &selected\_time);
11 elm\_calendar\_mark\_add(cal, "checked", selected\_time, ELM\_CALENDAR\_UNIQUE);
12 
13 elm\_calendar\_marks\_draw(cal);
\end{DoxyCode}


\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_gaac0a5d49f8515c1995a13c321bf84e1a}{elm\+\_\+calendar\+\_\+marks\+\_\+draw()} 

\hyperlink{group__Calendar_gaacf325f949268d816c3b2a601969ecda}{elm\+\_\+calendar\+\_\+mark\+\_\+del()}
\end{DoxySeeAlso}
\hyperlink{calendar_example_06}{Calendar -\/ Calendar marks.}


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em mark\+\_\+type} & A string used to define the type of mark. It will be emitted to the theme, that should display a related modification on these days representation. \\
\hline
\mbox{\tt in}  & {\em mark\+\_\+time} & A time struct to represent the date of inclusion of the mark. For marks that repeats it will just be displayed after the inclusion date in the calendar. \\
\hline
\mbox{\tt in}  & {\em repeat} & Repeat the event following this periodicity. Can be a unique mark (that don\textquotesingle{}t repeat), daily, weekly, monthly or annually. \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+calendar\+\_\+mark\+\_\+add().

\index{Calendar@{Calendar}!elm\+\_\+calendar\+\_\+mark\+\_\+del@{elm\+\_\+calendar\+\_\+mark\+\_\+del}}
\index{elm\+\_\+calendar\+\_\+mark\+\_\+del@{elm\+\_\+calendar\+\_\+mark\+\_\+del}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+calendar\+\_\+mark\+\_\+del}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+calendar\+\_\+mark\+\_\+del (
\begin{DoxyParamCaption}
\item[{{\bf Elm\+\_\+\+Calendar\+\_\+\+Mark} $\ast$}]{mark}
\end{DoxyParamCaption}
)}\label{group__Calendar_gaacf325f949268d816c3b2a601969ecda}


Delete mark from the calendar. 


\begin{DoxyParams}{Parameters}
{\em mark} & The mark to be deleted.\\
\hline
\end{DoxyParams}
If deleting all calendar marks is required, \hyperlink{group__Calendar_ga9bde6ccf81aa3d9c4e3cd80f769f09cf}{elm\+\_\+calendar\+\_\+marks\+\_\+clear()} should be used instead of getting marks list and deleting each one.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_gace5ff17c082dca770fc29af4719dbab6}{elm\+\_\+calendar\+\_\+mark\+\_\+add()}
\end{DoxySeeAlso}
\hyperlink{calendar_example_06}{Calendar -\/ Calendar marks.} \index{Calendar@{Calendar}!elm\+\_\+calendar\+\_\+marks\+\_\+clear@{elm\+\_\+calendar\+\_\+marks\+\_\+clear}}
\index{elm\+\_\+calendar\+\_\+marks\+\_\+clear@{elm\+\_\+calendar\+\_\+marks\+\_\+clear}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+calendar\+\_\+marks\+\_\+clear}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+calendar\+\_\+marks\+\_\+clear (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Calendar $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Calendar_ga9bde6ccf81aa3d9c4e3cd80f769f09cf}


Remove all calendar\textquotesingle{}s marks. 

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_gace5ff17c082dca770fc29af4719dbab6}{elm\+\_\+calendar\+\_\+mark\+\_\+add()} 

\hyperlink{group__Calendar_gaacf325f949268d816c3b2a601969ecda}{elm\+\_\+calendar\+\_\+mark\+\_\+del()} 
\end{DoxySeeAlso}


References elm\+\_\+obj\+\_\+calendar\+\_\+marks\+\_\+clear().

\index{Calendar@{Calendar}!elm\+\_\+calendar\+\_\+marks\+\_\+draw@{elm\+\_\+calendar\+\_\+marks\+\_\+draw}}
\index{elm\+\_\+calendar\+\_\+marks\+\_\+draw@{elm\+\_\+calendar\+\_\+marks\+\_\+draw}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+calendar\+\_\+marks\+\_\+draw}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+calendar\+\_\+marks\+\_\+draw (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Calendar $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Calendar_gaac0a5d49f8515c1995a13c321bf84e1a}


Draw calendar marks. 

Should be used after adding, removing or clearing marks. It will go through the entire marks list updating the calendar. If lots of marks will be added, add all the marks and then call this function.

When the month is changed, i.\+e. user selects next or previous month, marks will be drawn.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_gace5ff17c082dca770fc29af4719dbab6}{elm\+\_\+calendar\+\_\+mark\+\_\+add()} 

\hyperlink{group__Calendar_gaacf325f949268d816c3b2a601969ecda}{elm\+\_\+calendar\+\_\+mark\+\_\+del()} 

\hyperlink{group__Calendar_ga9bde6ccf81aa3d9c4e3cd80f769f09cf}{elm\+\_\+calendar\+\_\+marks\+\_\+clear()}
\end{DoxySeeAlso}
\hyperlink{calendar_example_06}{Calendar -\/ Calendar marks.} 

References elm\+\_\+obj\+\_\+calendar\+\_\+marks\+\_\+draw().

\index{Calendar@{Calendar}!elm\+\_\+calendar\+\_\+marks\+\_\+get@{elm\+\_\+calendar\+\_\+marks\+\_\+get}}
\index{elm\+\_\+calendar\+\_\+marks\+\_\+get@{elm\+\_\+calendar\+\_\+marks\+\_\+get}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+calendar\+\_\+marks\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}const Eina\+\_\+\+List$\ast$ elm\+\_\+calendar\+\_\+marks\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Calendar $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Calendar_ga6dd786b6eeaa1e85788b8684189064b2}


Get a list of all the calendar marks. 

\begin{DoxyReturn}{Returns}
A {\ttfamily list} of calendar marks objects, or {\ttfamily N\+U\+L\+L} on failure.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_gace5ff17c082dca770fc29af4719dbab6}{elm\+\_\+calendar\+\_\+mark\+\_\+add()} 

\hyperlink{group__Calendar_gaacf325f949268d816c3b2a601969ecda}{elm\+\_\+calendar\+\_\+mark\+\_\+del()} 

\hyperlink{group__Calendar_ga9bde6ccf81aa3d9c4e3cd80f769f09cf}{elm\+\_\+calendar\+\_\+marks\+\_\+clear()} 
\end{DoxySeeAlso}


References elm\+\_\+obj\+\_\+calendar\+\_\+marks\+\_\+get().

\index{Calendar@{Calendar}!elm\+\_\+calendar\+\_\+min\+\_\+max\+\_\+year\+\_\+get@{elm\+\_\+calendar\+\_\+min\+\_\+max\+\_\+year\+\_\+get}}
\index{elm\+\_\+calendar\+\_\+min\+\_\+max\+\_\+year\+\_\+get@{elm\+\_\+calendar\+\_\+min\+\_\+max\+\_\+year\+\_\+get}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+calendar\+\_\+min\+\_\+max\+\_\+year\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+calendar\+\_\+min\+\_\+max\+\_\+year\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Calendar $\ast$}]{obj, }
\item[{int $\ast$}]{min, }
\item[{int $\ast$}]{max}
\end{DoxyParamCaption}
)}\label{group__Calendar_ga358f96ddac8577369c106fe048992129}


Get the minimum and maximum values for the year. 

Default values are 1902 and -\/1.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_gaed08ee8d0c149d1501d8731a6e2fbc8c}{elm\+\_\+calendar\+\_\+min\+\_\+max\+\_\+year\+\_\+set()} for more details.
\end{DoxySeeAlso}
\hyperlink{calendar_example_05}{Calendar -\/ Signal callback and getters.}


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em min} & The minimum year, greater than 1901; \\
\hline
\mbox{\tt out}  & {\em max} & The maximum year; \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+calendar\+\_\+min\+\_\+max\+\_\+year\+\_\+get().

\index{Calendar@{Calendar}!elm\+\_\+calendar\+\_\+min\+\_\+max\+\_\+year\+\_\+set@{elm\+\_\+calendar\+\_\+min\+\_\+max\+\_\+year\+\_\+set}}
\index{elm\+\_\+calendar\+\_\+min\+\_\+max\+\_\+year\+\_\+set@{elm\+\_\+calendar\+\_\+min\+\_\+max\+\_\+year\+\_\+set}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+calendar\+\_\+min\+\_\+max\+\_\+year\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+calendar\+\_\+min\+\_\+max\+\_\+year\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Calendar $\ast$}]{obj, }
\item[{int}]{min, }
\item[{int}]{max}
\end{DoxyParamCaption}
)}\label{group__Calendar_gaed08ee8d0c149d1501d8731a6e2fbc8c}


Set the minimum and maximum values for the year. 

Maximum must be greater than minimum, except if you don\textquotesingle{}t want to set maximum year. Default values are 1902 and -\/1.

If the maximum year is a negative value, it will be limited depending on the platform architecture (year 2037 for 32 bits);

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_ga358f96ddac8577369c106fe048992129}{elm\+\_\+calendar\+\_\+min\+\_\+max\+\_\+year\+\_\+get()}
\end{DoxySeeAlso}
\hyperlink{calendar_example_03}{Calendar -\/ Years restrictions.}


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em min} & The minimum year, greater than 1901; \\
\hline
\mbox{\tt in}  & {\em max} & The maximum year; \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+calendar\+\_\+min\+\_\+max\+\_\+year\+\_\+set().

\index{Calendar@{Calendar}!elm\+\_\+calendar\+\_\+select\+\_\+mode\+\_\+get@{elm\+\_\+calendar\+\_\+select\+\_\+mode\+\_\+get}}
\index{elm\+\_\+calendar\+\_\+select\+\_\+mode\+\_\+get@{elm\+\_\+calendar\+\_\+select\+\_\+mode\+\_\+get}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+calendar\+\_\+select\+\_\+mode\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Elm\+\_\+\+Calendar\+\_\+\+Select\+\_\+\+Mode} elm\+\_\+calendar\+\_\+select\+\_\+mode\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Calendar $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Calendar_ga1ec056753815c8899304d6a85fcec0a9}


Get the select day mode used. 

\begin{DoxyReturn}{Returns}
the selected mode
\end{DoxyReturn}
Get the day selection mode used.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_gaf21f212c9fbc2c090c3ee5ed19ec8964}{elm\+\_\+calendar\+\_\+select\+\_\+mode\+\_\+set()} for more details 
\end{DoxySeeAlso}


References elm\+\_\+obj\+\_\+calendar\+\_\+select\+\_\+mode\+\_\+get().

\index{Calendar@{Calendar}!elm\+\_\+calendar\+\_\+select\+\_\+mode\+\_\+set@{elm\+\_\+calendar\+\_\+select\+\_\+mode\+\_\+set}}
\index{elm\+\_\+calendar\+\_\+select\+\_\+mode\+\_\+set@{elm\+\_\+calendar\+\_\+select\+\_\+mode\+\_\+set}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+calendar\+\_\+select\+\_\+mode\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+calendar\+\_\+select\+\_\+mode\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Calendar $\ast$}]{obj, }
\item[{{\bf Elm\+\_\+\+Calendar\+\_\+\+Select\+\_\+\+Mode}}]{mode}
\end{DoxyParamCaption}
)}\label{group__Calendar_gaf21f212c9fbc2c090c3ee5ed19ec8964}


Set select day mode to use. 

Set the day selection mode used.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em mode} & The select mode to use. \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+calendar\+\_\+select\+\_\+mode\+\_\+set().

\index{Calendar@{Calendar}!elm\+\_\+calendar\+\_\+selectable\+\_\+get@{elm\+\_\+calendar\+\_\+selectable\+\_\+get}}
\index{elm\+\_\+calendar\+\_\+selectable\+\_\+get@{elm\+\_\+calendar\+\_\+selectable\+\_\+get}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+calendar\+\_\+selectable\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Elm\+\_\+\+Calendar\+\_\+\+Selectable} elm\+\_\+calendar\+\_\+selectable\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Calendar $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Calendar_gaf047571e714791b5e8e33aa1a9069f16}


Get how elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+set manage a date. 

\begin{DoxyReturn}{Returns}
The flag used to manage a date with a elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+set
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_ga9a2739823b8732a307fd95e7104d80f0}{elm\+\_\+calendar\+\_\+selectable\+\_\+set} 

\hyperlink{group__Calendar_ga539293fb8292dd49a272dce320bc7a13}{elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+set} 
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References elm\+\_\+obj\+\_\+calendar\+\_\+selectable\+\_\+get().

\index{Calendar@{Calendar}!elm\+\_\+calendar\+\_\+selectable\+\_\+set@{elm\+\_\+calendar\+\_\+selectable\+\_\+set}}
\index{elm\+\_\+calendar\+\_\+selectable\+\_\+set@{elm\+\_\+calendar\+\_\+selectable\+\_\+set}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+calendar\+\_\+selectable\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+calendar\+\_\+selectable\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Calendar $\ast$}]{obj, }
\item[{{\bf Elm\+\_\+\+Calendar\+\_\+\+Selectable}}]{selectable}
\end{DoxyParamCaption}
)}\label{group__Calendar_ga9a2739823b8732a307fd95e7104d80f0}


Define which fields of a {\bfseries tm} struct will be taken into account, when \hyperlink{group__Calendar_ga539293fb8292dd49a272dce320bc7a13}{elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+set()} is invoked. 

By Default the bitmask is set to use all fields of a {\bfseries tm} struct (year, month and day of the month).

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_ga539293fb8292dd49a272dce320bc7a13}{elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+set} 
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8
\end{DoxySince}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em selectable} & A bitmask of Elm\+\_\+\+Calendar\+\_\+\+Selectable \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+calendar\+\_\+selectable\+\_\+set().

\index{Calendar@{Calendar}!elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+get@{elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+get}}
\index{elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+get@{elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+get}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Calendar $\ast$}]{obj, }
\item[{struct tm $\ast$}]{selected\+\_\+time}
\end{DoxyParamCaption}
)}\label{group__Calendar_gaefdde7355d91fb1b76076c453e6b52e9}


Get selected date. 

\begin{DoxyReturn}{Returns}
E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E means an error occurred and returned time shouldn\textquotesingle{}t be considered.
\end{DoxyReturn}
Get date selected by the user or set by function \hyperlink{group__Calendar_ga539293fb8292dd49a272dce320bc7a13}{elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+set()}. Selected date changes when the user goes to next/previous month or select a day pressing over it on calendar.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_gaefdde7355d91fb1b76076c453e6b52e9}{elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+get()}
\end{DoxySeeAlso}
\hyperlink{calendar_example_05}{Calendar -\/ Signal callback and getters.}


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in,out}  & {\em selected\+\_\+time} & A {\bfseries tm} struct to point to selected date \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+get().

\index{Calendar@{Calendar}!elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+set@{elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+set}}
\index{elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+set@{elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+set}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Calendar $\ast$}]{obj, }
\item[{struct tm $\ast$}]{selected\+\_\+time}
\end{DoxyParamCaption}
)}\label{group__Calendar_ga539293fb8292dd49a272dce320bc7a13}


Set selected date to be highlighted on calendar. 

Set the selected date, changing the displayed month if needed. Selected date changes when the user goes to next/previous month or select a day pressing over it on calendar.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_gaefdde7355d91fb1b76076c453e6b52e9}{elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+get()}
\end{DoxySeeAlso}
\hyperlink{calendar_example_04}{Calendar -\/ Days selection.}


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em selected\+\_\+time} & A {\bfseries tm} struct to represent the selected date. \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+set().

\index{Calendar@{Calendar}!elm\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+get@{elm\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+get}}
\index{elm\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+get@{elm\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+get}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$$\ast$ elm\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Calendar $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Calendar_ga319701dddd905946dd00801ddc4c7bf9}


Get weekdays names displayed by the calendar. 

\begin{DoxyReturn}{Returns}
Array of seven strings to be used as weekday names.
\end{DoxyReturn}
By default, weekdays abbreviations get from system are displayed\+: E.\+g. for an en\+\_\+\+U\+S locale\+: \char`\"{}\+Sun, Mon, Tue, Wed, Thu, Fri, Sat\char`\"{} The first string is related to Sunday, the second to Monday...

\begin{DoxySeeAlso}{See also}
elm\+\_\+calendar\+\_\+weekdays\+\_\+name\+\_\+set()
\end{DoxySeeAlso}
\hyperlink{calendar_example_05}{Calendar -\/ Signal callback and getters.} 

References elm\+\_\+obj\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+get().

\index{Calendar@{Calendar}!elm\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+set@{elm\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+set}}
\index{elm\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+set@{elm\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+set}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+set (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{const char $\ast$}]{weekdays\mbox{[}$\,$\mbox{]}}
\end{DoxyParamCaption}
)}\label{group__Calendar_gad35671e1b76077a83603bb2a706f4709}


Set weekdays names to be displayed by the calendar. 


\begin{DoxyParams}{Parameters}
{\em obj} & The calendar object. \\
\hline
{\em weekdays} & Array of seven strings to be used as weekday names. \\
\hline
\end{DoxyParams}
\begin{DoxyWarning}{Warning}
It must have 7 elements, or it will access invalid memory. 

The strings must be N\+U\+L\+L terminated (\textquotesingle{}\textbackslash{}0\textquotesingle{}).
\end{DoxyWarning}
By default, weekdays abbreviations get from system are displayed\+: E.\+g. for an en\+\_\+\+U\+S locale\+: \char`\"{}\+Sun, Mon, Tue, Wed, Thu, Fri, Sat\char`\"{}

The first string should be related to Sunday, the second to Monday...

The usage should be like this\+: 
\begin{DoxyCode}
1 const char *weekdays[] =
2 \{
3    "Sunday", "Monday", "Tuesday", "Wednesday",
4    "Thursday", "Friday", "Saturday"
5 \};
6 elm\_calendar\_weekdays\_names\_set(calendar, weekdays);
\end{DoxyCode}


\begin{DoxySeeAlso}{See also}
elm\+\_\+calendar\+\_\+weekdays\+\_\+name\+\_\+get()
\end{DoxySeeAlso}
\hyperlink{calendar_example_02}{Calendar -\/ Layout strings formatting.} \index{Calendar@{Calendar}!elm\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+set@{elm\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+set}}
\index{elm\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+set@{elm\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+set}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Calendar $\ast$}]{obj, }
\item[{const char $\ast$$\ast$}]{weekdays}
\end{DoxyParamCaption}
)}\label{group__Calendar_ga96fb93bdf0ca00c67eda563bd9489192}


Set weekdays names to be displayed by the calendar. 

By default, weekdays abbreviations get from system are displayed\+: E.\+g. for an en\+\_\+\+U\+S locale\+: \char`\"{}\+Sun, Mon, Tue, Wed, Thu, Fri, Sat\char`\"{}

The first string should be related to Sunday, the second to Monday...

The usage should be like this\+: 
\begin{DoxyCode}
1 const char *weekdays[] =
2 \{
3 "Sunday", "Monday", "Tuesday", "Wednesday",
4 "Thursday", "Friday", "Saturday"
5 \};
6 elm\_calendar\_weekdays\_names\_set(calendar, weekdays);
\end{DoxyCode}


\begin{DoxySeeAlso}{See also}
elm\+\_\+calendar\+\_\+weekdays\+\_\+name\+\_\+get()
\end{DoxySeeAlso}
\hyperlink{calendar_example_02}{Calendar -\/ Layout strings formatting.}


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em weekdays} & Array of seven strings to be used as weekday names. \\
\hline
\end{DoxyParams}
\begin{DoxyWarning}{Warning}
It must have 7 elements, or it will access invalid memory. 

The strings must be N\+U\+L\+L terminated (\textquotesingle{}\textbackslash{}0\textquotesingle{}). 
\end{DoxyWarning}


References elm\+\_\+obj\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+set().

\index{Calendar@{Calendar}!elm\+\_\+obj\+\_\+calendar\+\_\+displayed\+\_\+time\+\_\+get@{elm\+\_\+obj\+\_\+calendar\+\_\+displayed\+\_\+time\+\_\+get}}
\index{elm\+\_\+obj\+\_\+calendar\+\_\+displayed\+\_\+time\+\_\+get@{elm\+\_\+obj\+\_\+calendar\+\_\+displayed\+\_\+time\+\_\+get}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+obj\+\_\+calendar\+\_\+displayed\+\_\+time\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I Eina\+\_\+\+Bool elm\+\_\+obj\+\_\+calendar\+\_\+displayed\+\_\+time\+\_\+get (
\begin{DoxyParamCaption}
\item[{struct tm $\ast$}]{displayed\+\_\+time}
\end{DoxyParamCaption}
)}\label{group__Calendar_ga00df7f82d36f30b88b88d538df126465}


Get the current time displayed in the widget. 

\begin{DoxyReturn}{Returns}
E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E means an error occurred. If it\textquotesingle{}s an error the returned time is zero filled.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8
\end{DoxySince}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in,out}  & {\em displayed\+\_\+time} & A {\bfseries tm} struct to point to displayed date \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+calendar\+\_\+displayed\+\_\+time\+\_\+get().

\index{Calendar@{Calendar}!elm\+\_\+obj\+\_\+calendar\+\_\+first\+\_\+day\+\_\+of\+\_\+week\+\_\+get@{elm\+\_\+obj\+\_\+calendar\+\_\+first\+\_\+day\+\_\+of\+\_\+week\+\_\+get}}
\index{elm\+\_\+obj\+\_\+calendar\+\_\+first\+\_\+day\+\_\+of\+\_\+week\+\_\+get@{elm\+\_\+obj\+\_\+calendar\+\_\+first\+\_\+day\+\_\+of\+\_\+week\+\_\+get}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+obj\+\_\+calendar\+\_\+first\+\_\+day\+\_\+of\+\_\+week\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I {\bf Elm\+\_\+\+Calendar\+\_\+\+Weekday} elm\+\_\+obj\+\_\+calendar\+\_\+first\+\_\+day\+\_\+of\+\_\+week\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Calendar_gadf327e24d3569ebd09047b10bcb013ff}


Get the first day of week, who are used on calendar widgets\textquotesingle{}. 

\begin{DoxyReturn}{Returns}
An int which correspond to the first day of the week (Sunday = 0, Monday = 1, ..., Saturday = 6)
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_ga022d01af1a1e46ac58f43314cc83b747}{elm\+\_\+calendar\+\_\+first\+\_\+day\+\_\+of\+\_\+week\+\_\+set()} for more details 
\end{DoxySeeAlso}


Referenced by elm\+\_\+calendar\+\_\+first\+\_\+day\+\_\+of\+\_\+week\+\_\+get().

\index{Calendar@{Calendar}!elm\+\_\+obj\+\_\+calendar\+\_\+first\+\_\+day\+\_\+of\+\_\+week\+\_\+set@{elm\+\_\+obj\+\_\+calendar\+\_\+first\+\_\+day\+\_\+of\+\_\+week\+\_\+set}}
\index{elm\+\_\+obj\+\_\+calendar\+\_\+first\+\_\+day\+\_\+of\+\_\+week\+\_\+set@{elm\+\_\+obj\+\_\+calendar\+\_\+first\+\_\+day\+\_\+of\+\_\+week\+\_\+set}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+obj\+\_\+calendar\+\_\+first\+\_\+day\+\_\+of\+\_\+week\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void elm\+\_\+obj\+\_\+calendar\+\_\+first\+\_\+day\+\_\+of\+\_\+week\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Elm\+\_\+\+Calendar\+\_\+\+Weekday}}]{day}
\end{DoxyParamCaption}
)}\label{group__Calendar_ga4b4b90a3cf93c14db0094c3307636195}


Set the first day of week to use on calendar widgets\textquotesingle{}. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em day} & An int which correspond to the first day of the week (Sunday = 0, Monday = 1, ..., Saturday = 6) \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+calendar\+\_\+first\+\_\+day\+\_\+of\+\_\+week\+\_\+set().

\index{Calendar@{Calendar}!elm\+\_\+obj\+\_\+calendar\+\_\+format\+\_\+function\+\_\+set@{elm\+\_\+obj\+\_\+calendar\+\_\+format\+\_\+function\+\_\+set}}
\index{elm\+\_\+obj\+\_\+calendar\+\_\+format\+\_\+function\+\_\+set@{elm\+\_\+obj\+\_\+calendar\+\_\+format\+\_\+function\+\_\+set}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+obj\+\_\+calendar\+\_\+format\+\_\+function\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void elm\+\_\+obj\+\_\+calendar\+\_\+format\+\_\+function\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Elm\+\_\+\+Calendar\+\_\+\+Format\+\_\+\+Cb}}]{format\+\_\+function}
\end{DoxyParamCaption}
)}\label{group__Calendar_gaec314fc2ee401ca10c914e2c2da639ec}


Set a function to format the string that will be used to display month and year;. 

By default it uses strftime with \char`\"{}\%\+B \%\+Y\char`\"{} format string. It should allocate the memory that will be used by the string, that will be freed by the widget after usage. A pointer to the string and a pointer to the time struct will be provided.

Example\+: 
\begin{DoxyCode}
1 static char
2 \_format\_month\_year(struct tm *selected\_time)
3 \{
4 char buf[32];
5 if (!strftime(buf, sizeof(buf), "%B %Y", selected\_time)) return NULL;
6 return strdup(buf);
7 \}
8 
9 elm\_calendar\_format\_function\_set(calendar, \_format\_month\_year);
\end{DoxyCode}


\hyperlink{calendar_example_02}{Calendar -\/ Layout strings formatting.}


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em format\+\_\+function} & Function to set the month-\/year string given the selected date \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+calendar\+\_\+format\+\_\+function\+\_\+set().

\index{Calendar@{Calendar}!elm\+\_\+obj\+\_\+calendar\+\_\+interval\+\_\+get@{elm\+\_\+obj\+\_\+calendar\+\_\+interval\+\_\+get}}
\index{elm\+\_\+obj\+\_\+calendar\+\_\+interval\+\_\+get@{elm\+\_\+obj\+\_\+calendar\+\_\+interval\+\_\+get}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+obj\+\_\+calendar\+\_\+interval\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I double elm\+\_\+obj\+\_\+calendar\+\_\+interval\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Calendar_gae7638686eb00fc3ba13a1ec227e6ff46}


Get the interval on time updates for an user mouse button hold on calendar widgets\textquotesingle{} month/year selection. 

\begin{DoxyReturn}{Returns}
The (first) interval value, in seconds, set on it
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_gac0ab2840d6fb8210c95138011a8af316}{elm\+\_\+calendar\+\_\+interval\+\_\+set()} for more details 
\end{DoxySeeAlso}


Referenced by elm\+\_\+calendar\+\_\+interval\+\_\+get().

\index{Calendar@{Calendar}!elm\+\_\+obj\+\_\+calendar\+\_\+interval\+\_\+set@{elm\+\_\+obj\+\_\+calendar\+\_\+interval\+\_\+set}}
\index{elm\+\_\+obj\+\_\+calendar\+\_\+interval\+\_\+set@{elm\+\_\+obj\+\_\+calendar\+\_\+interval\+\_\+set}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+obj\+\_\+calendar\+\_\+interval\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void elm\+\_\+obj\+\_\+calendar\+\_\+interval\+\_\+set (
\begin{DoxyParamCaption}
\item[{double}]{interval}
\end{DoxyParamCaption}
)}\label{group__Calendar_ga3a5ab167be63ea07fb88d79682662457}


Set the interval on time updates for an user mouse button hold on calendar widgets\textquotesingle{} month/year selection. 

This interval value is {\bfseries decreased} while the user holds the mouse pointer either selecting next or previous month/year.

This helps the user to get to a given month distant from the current one easier/faster, as it will start to change quicker and quicker on mouse button holds.

The calculation for the next change interval value, starting from the one set with this call, is the previous interval divided by 1.\+05, so it decreases a little bit.

The default starting interval value for automatic changes is {\bfseries 0.\+85} seconds.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_ga6deb506b41f20743d3bced3e0463e80f}{elm\+\_\+calendar\+\_\+interval\+\_\+get()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em interval} & The (first) interval value in seconds \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+calendar\+\_\+interval\+\_\+set().

\index{Calendar@{Calendar}!elm\+\_\+obj\+\_\+calendar\+\_\+mark\+\_\+add@{elm\+\_\+obj\+\_\+calendar\+\_\+mark\+\_\+add}}
\index{elm\+\_\+obj\+\_\+calendar\+\_\+mark\+\_\+add@{elm\+\_\+obj\+\_\+calendar\+\_\+mark\+\_\+add}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+obj\+\_\+calendar\+\_\+mark\+\_\+add}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I {\bf Elm\+\_\+\+Calendar\+\_\+\+Mark}$\ast$ elm\+\_\+obj\+\_\+calendar\+\_\+mark\+\_\+add (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{mark\+\_\+type, }
\item[{struct tm $\ast$}]{mark\+\_\+time, }
\item[{{\bf Elm\+\_\+\+Calendar\+\_\+\+Mark\+\_\+\+Repeat\+\_\+\+Type}}]{repeat}
\end{DoxyParamCaption}
)}\label{group__Calendar_ga51db62d1db1641a4f5303801928a42fe}


Add a new mark to the calendar. 

\begin{DoxyReturn}{Returns}
The created mark or {\ttfamily N\+U\+L\+L} upon failure.
\end{DoxyReturn}
Add a mark that will be drawn in the calendar respecting the insertion time and periodicity. It will emit the type as signal to the widget theme. Default theme supports \char`\"{}holiday\char`\"{} and \char`\"{}checked\char`\"{}, but it can be extended.

It won\textquotesingle{}t immediately update the calendar, drawing the marks. For this, call \hyperlink{group__Calendar_gaac0a5d49f8515c1995a13c321bf84e1a}{elm\+\_\+calendar\+\_\+marks\+\_\+draw()}. However, when user selects next or previous month calendar forces marks drawn.

Marks created with this method can be deleted with \hyperlink{group__Calendar_gaacf325f949268d816c3b2a601969ecda}{elm\+\_\+calendar\+\_\+mark\+\_\+del()}.

Example 
\begin{DoxyCode}
1 struct tm selected\_time;
2 time\_t current\_time;
3 
4 current\_time = time(NULL) + 5 * (24 * 60 * 60);
5 localtime\_r(&current\_time, &selected\_time);
6 elm\_calendar\_mark\_add(cal, "holiday", selected\_time,
7 ELM\_CALENDAR\_ANNUALLY);
8 
9 current\_time = time(NULL) + 1 * (24 * 60 * 60);
10 localtime\_r(&current\_time, &selected\_time);
11 elm\_calendar\_mark\_add(cal, "checked", selected\_time, ELM\_CALENDAR\_UNIQUE);
12 
13 elm\_calendar\_marks\_draw(cal);
\end{DoxyCode}


\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_gaac0a5d49f8515c1995a13c321bf84e1a}{elm\+\_\+calendar\+\_\+marks\+\_\+draw()} 

\hyperlink{group__Calendar_gaacf325f949268d816c3b2a601969ecda}{elm\+\_\+calendar\+\_\+mark\+\_\+del()}
\end{DoxySeeAlso}
\hyperlink{calendar_example_06}{Calendar -\/ Calendar marks.}


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em mark\+\_\+type} & A string used to define the type of mark. It will be emitted to the theme, that should display a related modification on these days representation. \\
\hline
\mbox{\tt in}  & {\em mark\+\_\+time} & A time struct to represent the date of inclusion of the mark. For marks that repeats it will just be displayed after the inclusion date in the calendar. \\
\hline
\mbox{\tt in}  & {\em repeat} & Repeat the event following this periodicity. Can be a unique mark (that don\textquotesingle{}t repeat), daily, weekly, monthly or annually. \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+calendar\+\_\+mark\+\_\+add().

\index{Calendar@{Calendar}!elm\+\_\+obj\+\_\+calendar\+\_\+marks\+\_\+clear@{elm\+\_\+obj\+\_\+calendar\+\_\+marks\+\_\+clear}}
\index{elm\+\_\+obj\+\_\+calendar\+\_\+marks\+\_\+clear@{elm\+\_\+obj\+\_\+calendar\+\_\+marks\+\_\+clear}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+obj\+\_\+calendar\+\_\+marks\+\_\+clear}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void elm\+\_\+obj\+\_\+calendar\+\_\+marks\+\_\+clear (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Calendar_ga52bf580890bac14277f65107165f81d3}


Remove all calendar\textquotesingle{}s marks. 

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_gace5ff17c082dca770fc29af4719dbab6}{elm\+\_\+calendar\+\_\+mark\+\_\+add()} 

\hyperlink{group__Calendar_gaacf325f949268d816c3b2a601969ecda}{elm\+\_\+calendar\+\_\+mark\+\_\+del()} 
\end{DoxySeeAlso}


Referenced by elm\+\_\+calendar\+\_\+marks\+\_\+clear().

\index{Calendar@{Calendar}!elm\+\_\+obj\+\_\+calendar\+\_\+marks\+\_\+draw@{elm\+\_\+obj\+\_\+calendar\+\_\+marks\+\_\+draw}}
\index{elm\+\_\+obj\+\_\+calendar\+\_\+marks\+\_\+draw@{elm\+\_\+obj\+\_\+calendar\+\_\+marks\+\_\+draw}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+obj\+\_\+calendar\+\_\+marks\+\_\+draw}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void elm\+\_\+obj\+\_\+calendar\+\_\+marks\+\_\+draw (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Calendar_ga1f0b4698d70511c7bc4468c455227ea2}


Draw calendar marks. 

Should be used after adding, removing or clearing marks. It will go through the entire marks list updating the calendar. If lots of marks will be added, add all the marks and then call this function.

When the month is changed, i.\+e. user selects next or previous month, marks will be drawn.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_gace5ff17c082dca770fc29af4719dbab6}{elm\+\_\+calendar\+\_\+mark\+\_\+add()} 

\hyperlink{group__Calendar_gaacf325f949268d816c3b2a601969ecda}{elm\+\_\+calendar\+\_\+mark\+\_\+del()} 

\hyperlink{group__Calendar_ga9bde6ccf81aa3d9c4e3cd80f769f09cf}{elm\+\_\+calendar\+\_\+marks\+\_\+clear()}
\end{DoxySeeAlso}
\hyperlink{calendar_example_06}{Calendar -\/ Calendar marks.} 

Referenced by elm\+\_\+calendar\+\_\+marks\+\_\+draw().

\index{Calendar@{Calendar}!elm\+\_\+obj\+\_\+calendar\+\_\+marks\+\_\+get@{elm\+\_\+obj\+\_\+calendar\+\_\+marks\+\_\+get}}
\index{elm\+\_\+obj\+\_\+calendar\+\_\+marks\+\_\+get@{elm\+\_\+obj\+\_\+calendar\+\_\+marks\+\_\+get}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+obj\+\_\+calendar\+\_\+marks\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I const Eina\+\_\+\+List$\ast$ elm\+\_\+obj\+\_\+calendar\+\_\+marks\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Calendar_ga77e857bda7ebb25bf084059510f98e74}


Get a list of all the calendar marks. 

\begin{DoxyReturn}{Returns}
A {\ttfamily list} of calendar marks objects, or {\ttfamily N\+U\+L\+L} on failure.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_gace5ff17c082dca770fc29af4719dbab6}{elm\+\_\+calendar\+\_\+mark\+\_\+add()} 

\hyperlink{group__Calendar_gaacf325f949268d816c3b2a601969ecda}{elm\+\_\+calendar\+\_\+mark\+\_\+del()} 

\hyperlink{group__Calendar_ga9bde6ccf81aa3d9c4e3cd80f769f09cf}{elm\+\_\+calendar\+\_\+marks\+\_\+clear()} 
\end{DoxySeeAlso}


Referenced by elm\+\_\+calendar\+\_\+marks\+\_\+get().

\index{Calendar@{Calendar}!elm\+\_\+obj\+\_\+calendar\+\_\+min\+\_\+max\+\_\+year\+\_\+get@{elm\+\_\+obj\+\_\+calendar\+\_\+min\+\_\+max\+\_\+year\+\_\+get}}
\index{elm\+\_\+obj\+\_\+calendar\+\_\+min\+\_\+max\+\_\+year\+\_\+get@{elm\+\_\+obj\+\_\+calendar\+\_\+min\+\_\+max\+\_\+year\+\_\+get}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+obj\+\_\+calendar\+\_\+min\+\_\+max\+\_\+year\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void elm\+\_\+obj\+\_\+calendar\+\_\+min\+\_\+max\+\_\+year\+\_\+get (
\begin{DoxyParamCaption}
\item[{int $\ast$}]{min, }
\item[{int $\ast$}]{max}
\end{DoxyParamCaption}
)}\label{group__Calendar_gae6ca610fe3a14838c589d4e7db4365fd}


Get the minimum and maximum values for the year. 

Default values are 1902 and -\/1.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_gaed08ee8d0c149d1501d8731a6e2fbc8c}{elm\+\_\+calendar\+\_\+min\+\_\+max\+\_\+year\+\_\+set()} for more details.
\end{DoxySeeAlso}
\hyperlink{calendar_example_05}{Calendar -\/ Signal callback and getters.}


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em min} & The minimum year, greater than 1901; \\
\hline
\mbox{\tt out}  & {\em max} & The maximum year; \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+calendar\+\_\+min\+\_\+max\+\_\+year\+\_\+get().

\index{Calendar@{Calendar}!elm\+\_\+obj\+\_\+calendar\+\_\+min\+\_\+max\+\_\+year\+\_\+set@{elm\+\_\+obj\+\_\+calendar\+\_\+min\+\_\+max\+\_\+year\+\_\+set}}
\index{elm\+\_\+obj\+\_\+calendar\+\_\+min\+\_\+max\+\_\+year\+\_\+set@{elm\+\_\+obj\+\_\+calendar\+\_\+min\+\_\+max\+\_\+year\+\_\+set}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+obj\+\_\+calendar\+\_\+min\+\_\+max\+\_\+year\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void elm\+\_\+obj\+\_\+calendar\+\_\+min\+\_\+max\+\_\+year\+\_\+set (
\begin{DoxyParamCaption}
\item[{int}]{min, }
\item[{int}]{max}
\end{DoxyParamCaption}
)}\label{group__Calendar_ga1f8ed500defab7e3d55f48888f7276ea}


Set the minimum and maximum values for the year. 

Maximum must be greater than minimum, except if you don\textquotesingle{}t want to set maximum year. Default values are 1902 and -\/1.

If the maximum year is a negative value, it will be limited depending on the platform architecture (year 2037 for 32 bits);

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_ga358f96ddac8577369c106fe048992129}{elm\+\_\+calendar\+\_\+min\+\_\+max\+\_\+year\+\_\+get()}
\end{DoxySeeAlso}
\hyperlink{calendar_example_03}{Calendar -\/ Years restrictions.}


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em min} & The minimum year, greater than 1901; \\
\hline
\mbox{\tt in}  & {\em max} & The maximum year; \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+calendar\+\_\+min\+\_\+max\+\_\+year\+\_\+set().

\index{Calendar@{Calendar}!elm\+\_\+obj\+\_\+calendar\+\_\+select\+\_\+mode\+\_\+get@{elm\+\_\+obj\+\_\+calendar\+\_\+select\+\_\+mode\+\_\+get}}
\index{elm\+\_\+obj\+\_\+calendar\+\_\+select\+\_\+mode\+\_\+get@{elm\+\_\+obj\+\_\+calendar\+\_\+select\+\_\+mode\+\_\+get}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+obj\+\_\+calendar\+\_\+select\+\_\+mode\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I {\bf Elm\+\_\+\+Calendar\+\_\+\+Select\+\_\+\+Mode} elm\+\_\+obj\+\_\+calendar\+\_\+select\+\_\+mode\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Calendar_gae34c346bd8961c531a0ec8c719055d21}


Get the select day mode used. 

\begin{DoxyReturn}{Returns}
the selected mode
\end{DoxyReturn}
Get the day selection mode used.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_gaf21f212c9fbc2c090c3ee5ed19ec8964}{elm\+\_\+calendar\+\_\+select\+\_\+mode\+\_\+set()} for more details 
\end{DoxySeeAlso}


Referenced by elm\+\_\+calendar\+\_\+select\+\_\+mode\+\_\+get().

\index{Calendar@{Calendar}!elm\+\_\+obj\+\_\+calendar\+\_\+select\+\_\+mode\+\_\+set@{elm\+\_\+obj\+\_\+calendar\+\_\+select\+\_\+mode\+\_\+set}}
\index{elm\+\_\+obj\+\_\+calendar\+\_\+select\+\_\+mode\+\_\+set@{elm\+\_\+obj\+\_\+calendar\+\_\+select\+\_\+mode\+\_\+set}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+obj\+\_\+calendar\+\_\+select\+\_\+mode\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void elm\+\_\+obj\+\_\+calendar\+\_\+select\+\_\+mode\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Elm\+\_\+\+Calendar\+\_\+\+Select\+\_\+\+Mode}}]{mode}
\end{DoxyParamCaption}
)}\label{group__Calendar_ga8c1a285075033784dd0212e767a7f843}


Set select day mode to use. 

Set the day selection mode used.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em mode} & The select mode to use. \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+calendar\+\_\+select\+\_\+mode\+\_\+set().

\index{Calendar@{Calendar}!elm\+\_\+obj\+\_\+calendar\+\_\+selectable\+\_\+get@{elm\+\_\+obj\+\_\+calendar\+\_\+selectable\+\_\+get}}
\index{elm\+\_\+obj\+\_\+calendar\+\_\+selectable\+\_\+get@{elm\+\_\+obj\+\_\+calendar\+\_\+selectable\+\_\+get}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+obj\+\_\+calendar\+\_\+selectable\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I {\bf Elm\+\_\+\+Calendar\+\_\+\+Selectable} elm\+\_\+obj\+\_\+calendar\+\_\+selectable\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Calendar_ga50d84a9a0855e35588c2c629a329f92d}


Get how elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+set manage a date. 

\begin{DoxyReturn}{Returns}
The flag used to manage a date with a elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+set
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_ga9a2739823b8732a307fd95e7104d80f0}{elm\+\_\+calendar\+\_\+selectable\+\_\+set} 

\hyperlink{group__Calendar_ga539293fb8292dd49a272dce320bc7a13}{elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+set} 
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


Referenced by elm\+\_\+calendar\+\_\+selectable\+\_\+get().

\index{Calendar@{Calendar}!elm\+\_\+obj\+\_\+calendar\+\_\+selectable\+\_\+set@{elm\+\_\+obj\+\_\+calendar\+\_\+selectable\+\_\+set}}
\index{elm\+\_\+obj\+\_\+calendar\+\_\+selectable\+\_\+set@{elm\+\_\+obj\+\_\+calendar\+\_\+selectable\+\_\+set}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+obj\+\_\+calendar\+\_\+selectable\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void elm\+\_\+obj\+\_\+calendar\+\_\+selectable\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Elm\+\_\+\+Calendar\+\_\+\+Selectable}}]{selectable}
\end{DoxyParamCaption}
)}\label{group__Calendar_ga1ee22f3a111fd0d16e27cbb73da03c2b}


Define which fields of a {\bfseries tm} struct will be taken into account, when \hyperlink{group__Calendar_ga539293fb8292dd49a272dce320bc7a13}{elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+set()} is invoked. 

By Default the bitmask is set to use all fields of a {\bfseries tm} struct (year, month and day of the month).

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_ga539293fb8292dd49a272dce320bc7a13}{elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+set} 
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8
\end{DoxySince}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em selectable} & A bitmask of Elm\+\_\+\+Calendar\+\_\+\+Selectable \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+calendar\+\_\+selectable\+\_\+set().

\index{Calendar@{Calendar}!elm\+\_\+obj\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+get@{elm\+\_\+obj\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+get}}
\index{elm\+\_\+obj\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+get@{elm\+\_\+obj\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+get}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+obj\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I Eina\+\_\+\+Bool elm\+\_\+obj\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+get (
\begin{DoxyParamCaption}
\item[{struct tm $\ast$}]{selected\+\_\+time}
\end{DoxyParamCaption}
)}\label{group__Calendar_gaa17b521f499ecad54ebeee4b16ad3b93}


Get selected date. 

\begin{DoxyReturn}{Returns}
E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E means an error occurred and returned time shouldn\textquotesingle{}t be considered.
\end{DoxyReturn}
Get date selected by the user or set by function \hyperlink{group__Calendar_ga539293fb8292dd49a272dce320bc7a13}{elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+set()}. Selected date changes when the user goes to next/previous month or select a day pressing over it on calendar.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_gaefdde7355d91fb1b76076c453e6b52e9}{elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+get()}
\end{DoxySeeAlso}
\hyperlink{calendar_example_05}{Calendar -\/ Signal callback and getters.}


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in,out}  & {\em selected\+\_\+time} & A {\bfseries tm} struct to point to selected date \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+get().

\index{Calendar@{Calendar}!elm\+\_\+obj\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+set@{elm\+\_\+obj\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+set}}
\index{elm\+\_\+obj\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+set@{elm\+\_\+obj\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+set}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+obj\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void elm\+\_\+obj\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+set (
\begin{DoxyParamCaption}
\item[{struct tm $\ast$}]{selected\+\_\+time}
\end{DoxyParamCaption}
)}\label{group__Calendar_ga25fbf58b1e85c873b1c88e8639aff2c8}


Set selected date to be highlighted on calendar. 

Set the selected date, changing the displayed month if needed. Selected date changes when the user goes to next/previous month or select a day pressing over it on calendar.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_gaefdde7355d91fb1b76076c453e6b52e9}{elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+get()}
\end{DoxySeeAlso}
\hyperlink{calendar_example_04}{Calendar -\/ Days selection.}


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em selected\+\_\+time} & A {\bfseries tm} struct to represent the selected date. \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+set().

\index{Calendar@{Calendar}!elm\+\_\+obj\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+get@{elm\+\_\+obj\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+get}}
\index{elm\+\_\+obj\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+get@{elm\+\_\+obj\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+get}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+obj\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I const char$\ast$$\ast$ elm\+\_\+obj\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Calendar_gae11c78da4c9ec66af202909bff060e03}


Get weekdays names displayed by the calendar. 

\begin{DoxyReturn}{Returns}
Array of seven strings to be used as weekday names.
\end{DoxyReturn}
By default, weekdays abbreviations get from system are displayed\+: E.\+g. for an en\+\_\+\+U\+S locale\+: \char`\"{}\+Sun, Mon, Tue, Wed, Thu, Fri, Sat\char`\"{} The first string is related to Sunday, the second to Monday...

\begin{DoxySeeAlso}{See also}
elm\+\_\+calendar\+\_\+weekdays\+\_\+name\+\_\+set()
\end{DoxySeeAlso}
\hyperlink{calendar_example_05}{Calendar -\/ Signal callback and getters.} 

Referenced by elm\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+get().

\index{Calendar@{Calendar}!elm\+\_\+obj\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+set@{elm\+\_\+obj\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+set}}
\index{elm\+\_\+obj\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+set@{elm\+\_\+obj\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+set}!Calendar@{Calendar}}
\subsubsection[{elm\+\_\+obj\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void elm\+\_\+obj\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+set (
\begin{DoxyParamCaption}
\item[{const char $\ast$$\ast$}]{weekdays}
\end{DoxyParamCaption}
)}\label{group__Calendar_ga532a4ca1f428f8d16a733e459e39ebbf}


Set weekdays names to be displayed by the calendar. 

By default, weekdays abbreviations get from system are displayed\+: E.\+g. for an en\+\_\+\+U\+S locale\+: \char`\"{}\+Sun, Mon, Tue, Wed, Thu, Fri, Sat\char`\"{}

The first string should be related to Sunday, the second to Monday...

The usage should be like this\+: 
\begin{DoxyCode}
1 const char *weekdays[] =
2 \{
3 "Sunday", "Monday", "Tuesday", "Wednesday",
4 "Thursday", "Friday", "Saturday"
5 \};
6 elm\_calendar\_weekdays\_names\_set(calendar, weekdays);
\end{DoxyCode}


\begin{DoxySeeAlso}{See also}
elm\+\_\+calendar\+\_\+weekdays\+\_\+name\+\_\+get()
\end{DoxySeeAlso}
\hyperlink{calendar_example_02}{Calendar -\/ Layout strings formatting.}


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em weekdays} & Array of seven strings to be used as weekday names. \\
\hline
\end{DoxyParams}
\begin{DoxyWarning}{Warning}
It must have 7 elements, or it will access invalid memory. 

The strings must be N\+U\+L\+L terminated (\textquotesingle{}\textbackslash{}0\textquotesingle{}). 
\end{DoxyWarning}


Referenced by elm\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+set().

