\section{Calendar}
\label{group__Calendar}\index{Calendar@{Calendar}}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef \\*
\+\_\+\+Elm\+\_\+\+Calendar\+\_\+\+Mark\+\_\+\+Repeat\+\_\+\+Type \hyperlink{group__Calendar_gadc7c2293761fcbc2421a6a77d5037ba9}{Elm\+\_\+\+Calendar\+\_\+\+Mark\+\_\+\+Repeat\+\_\+\+Type}
\begin{DoxyCompactList}\small\item\em Event periodicity, used to define if a mark should be repeated {\bfseries beyond} event's day. \end{DoxyCompactList}\item 
typedef \+\_\+\+Elm\+\_\+\+Calendar\+\_\+\+Weekday \hyperlink{group__Calendar_ga2545c7df1eef71ffd3225f03248afe4d}{Elm\+\_\+\+Calendar\+\_\+\+Weekday}
\begin{DoxyCompactList}\small\item\em a weekday \end{DoxyCompactList}\item 
typedef \+\_\+\+Elm\+\_\+\+Calendar\+\_\+\+Select\+\_\+\+Mode \hyperlink{group__Calendar_ga706d3467b3b87c2245f9a71bd610a91d}{Elm\+\_\+\+Calendar\+\_\+\+Select\+\_\+\+Mode}
\begin{DoxyCompactList}\small\item\em the mode, who determine how user could select a day \end{DoxyCompactList}\item 
typedef \+\_\+\+Elm\+\_\+\+Calendar\+\_\+\+Selectable \hyperlink{group__Calendar_gaa6e5c68bfd86ec46430b2a3688a279a7}{Elm\+\_\+\+Calendar\+\_\+\+Selectable}
\begin{DoxyCompactList}\small\item\em A bitmask used to define which fields of a {\bfseries tm} struct will be taken into account, when \hyperlink{group__Calendar_gac85eac6db81a3fed52cf5482692d90a5}{elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+set()} is invoked. \end{DoxyCompactList}\item 
typedef char $\ast$($\ast$ \hyperlink{group__Calendar_ga88669254c435ec96075517f2529035b5}{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*{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'. \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'. \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_gac85eac6db81a3fed52cf5482692d90a5}{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' 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' 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_ga88669254c435ec96075517f2529035b5}{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 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'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_ga2b794ce3fa11e1e4c356d1675bd3c326}{elm\+\_\+calendar\+::selected\+\_\+time\+\_\+set} (struct tm $\ast$selected\+\_\+time\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Set selected date to be highlighted on calendar. \end{DoxyCompactList}\item 
bool \hyperlink{group__Calendar_gae1352d51a83028fa52a9ed9a921f20c0}{elm\+\_\+calendar\+::selected\+\_\+time\+\_\+get} (struct tm $\ast$selected\+\_\+time\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Get selected date. \end{DoxyCompactList}\item 
Elm\+\_\+\+Calendar\+\_\+\+Mark $\ast$ \hyperlink{group__Calendar_ga83bf5a207599473f8988a52e917bd3f7}{elm\+\_\+calendar\+::mark\+\_\+add} (std\+::string mark\+\_\+type\+\_\+, struct tm $\ast$mark\+\_\+time\+\_\+, \hyperlink{group__Calendar_gadc7c2293761fcbc2421a6a77d5037ba9}{Elm\+\_\+\+Calendar\+\_\+\+Mark\+\_\+\+Repeat\+\_\+\+Type} repeat\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Add a new mark to the calendar. \end{DoxyCompactList}\item 
void \hyperlink{group__Calendar_ga432fa4599155424020209f006f89fd0d}{elm\+\_\+calendar\+::marks\+\_\+clear} () const 
\begin{DoxyCompactList}\small\item\em Remove all calendar's marks. \end{DoxyCompactList}\item 
void \hyperlink{group__Calendar_gaeb32d4228ea6024289534760703819ec}{elm\+\_\+calendar\+::marks\+\_\+draw} () const 
\begin{DoxyCompactList}\small\item\em Draw calendar marks. \end{DoxyCompactList}\item 
bool \hyperlink{group__Calendar_gac2c5ebfe9270537ddd491a1cadc61925}{elm\+\_\+calendar\+::displayed\+\_\+time\+\_\+get} (struct tm $\ast$displayed\+\_\+time\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Get the current time displayed in the widget. \end{DoxyCompactList}\item 
void \hyperlink{group__Calendar_gaef7d33c0bdd9cd91ebc8d6eb052a3fb9}{elm\+\_\+calendar\+\_\+first\+\_\+day\+\_\+of\+\_\+week\+\_\+set} (Eo $\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'. \end{DoxyCompactList}\item 
\hyperlink{group__Calendar_ga2545c7df1eef71ffd3225f03248afe4d}{Elm\+\_\+\+Calendar\+\_\+\+Weekday} \hyperlink{group__Calendar_ga4f56184abccff6340b0d0eddd61823eb}{elm\+\_\+calendar\+\_\+first\+\_\+day\+\_\+of\+\_\+week\+\_\+get} (const Eo $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the first day of week, who are used on calendar widgets'. \end{DoxyCompactList}\item 
void \hyperlink{group__Calendar_gaefe62e3406ace7ae0a5806be94b1bf4a}{elm\+\_\+calendar\+\_\+selectable\+\_\+set} (Eo $\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_gac85eac6db81a3fed52cf5482692d90a5}{elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+set()} is invoked. \end{DoxyCompactList}\item 
\hyperlink{group__Calendar_gaa6e5c68bfd86ec46430b2a3688a279a7}{Elm\+\_\+\+Calendar\+\_\+\+Selectable} \hyperlink{group__Calendar_gafa4b61bfdd1f8d9d9db8701ad3f644d5}{elm\+\_\+calendar\+\_\+selectable\+\_\+get} (const Eo $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get how elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+set manage a date. \end{DoxyCompactList}\item 
void \hyperlink{group__Calendar_gaa5b8033d79ab410c67799d3631af1cad}{elm\+\_\+calendar\+\_\+interval\+\_\+set} (Eo $\ast$obj, double interval)
\begin{DoxyCompactList}\small\item\em Set the interval on time updates for an user mouse button hold on calendar widgets' month/year selection. \end{DoxyCompactList}\item 
double \hyperlink{group__Calendar_gaf23ed13276c63fcbf279cf5cd8812204}{elm\+\_\+calendar\+\_\+interval\+\_\+get} (const Eo $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the interval on time updates for an user mouse button hold on calendar widgets' month/year selection. \end{DoxyCompactList}\item 
void \hyperlink{group__Calendar_ga5b979b2ce0dabed9493718c0848b363b}{elm\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+set} (Eo $\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_gaa14817444778d9165576659638408555}{elm\+\_\+calendar\+\_\+weekdays\+\_\+names\+\_\+get} (const Eo $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get weekdays names displayed by the calendar. \end{DoxyCompactList}\item 
void \hyperlink{group__Calendar_ga7f52be9099a6c2e63881abbd21308957}{elm\+\_\+calendar\+\_\+select\+\_\+mode\+\_\+set} (Eo $\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_ga158c74680fe6e9682e39570cc5cc919a}{elm\+\_\+calendar\+\_\+select\+\_\+mode\+\_\+get} (const Eo $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the select day mode used. \end{DoxyCompactList}\item 
void \hyperlink{group__Calendar_gad576cda1a35512bdef32afd6e2ab0089}{elm\+\_\+calendar\+\_\+min\+\_\+max\+\_\+year\+\_\+set} (Eo $\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_gafe847357fdd728c8fd2f96b00ed79a1c}{elm\+\_\+calendar\+\_\+min\+\_\+max\+\_\+year\+\_\+get} (const Eo $\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_gaa9bb1fd2fb375edfc8c64539943d6012}{elm\+\_\+calendar\+\_\+format\+\_\+function\+\_\+set} (Eo $\ast$obj, \hyperlink{group__Calendar_ga88669254c435ec96075517f2529035b5}{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_ga6c2a06333968c1ed72dc3a766df65e02}{elm\+\_\+calendar\+\_\+marks\+\_\+get} (const Eo $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get a list of all the calendar marks. \end{DoxyCompactList}\item 
void \hyperlink{group__Calendar_gac85eac6db81a3fed52cf5482692d90a5}{elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+set} (Eo $\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_ga715ffdbd91ae5c6bb0ec9b6298a1a57a}{elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+get} (const Eo $\ast$obj, struct tm $\ast$selected\+\_\+time)
\begin{DoxyCompactList}\small\item\em Get selected date. \end{DoxyCompactList}\item 
Elm\+\_\+\+Calendar\+\_\+\+Mark $\ast$ \hyperlink{group__Calendar_gaf3c62c4d42638cbb7d8b33b89b7efb65}{elm\+\_\+calendar\+\_\+mark\+\_\+add} (Eo $\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_ga9eac8c1baa916a14f56b400c4d90a6a0}{elm\+\_\+calendar\+\_\+marks\+\_\+clear} (Eo $\ast$obj)
\begin{DoxyCompactList}\small\item\em Remove all calendar's marks. \end{DoxyCompactList}\item 
void \hyperlink{group__Calendar_ga457f558ecb5917db489288eba8736d5f}{elm\+\_\+calendar\+\_\+marks\+\_\+draw} (Eo $\ast$obj)
\begin{DoxyCompactList}\small\item\em Draw calendar marks. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__Calendar_gaab765f6eec05917ba5368bf274ee7ba5}{elm\+\_\+calendar\+\_\+displayed\+\_\+time\+\_\+get} (const Eo $\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} (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{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'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}Elm\+\_\+\+Calendar\+\_\+\+Format\+\_\+\+Cb}\label{group__Calendar_ga88669254c435ec96075517f2529035b5}


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's text.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_gaa9bb1fd2fb375edfc8c64539943d6012}{elm\+\_\+calendar\+\_\+format\+\_\+function\+\_\+set()} 
\end{DoxySeeAlso}
\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}Elm\+\_\+\+Calendar\+\_\+\+Mark\+\_\+\+Repeat\+\_\+\+Type}\label{group__Calendar_gadc7c2293761fcbc2421a6a77d5037ba9}


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

It'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't work as bitmask, only one can be chosen.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_gaf3c62c4d42638cbb7d8b33b89b7efb65}{elm\+\_\+calendar\+\_\+mark\+\_\+add()} 
\end{DoxySeeAlso}
\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}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_ga7f52be9099a6c2e63881abbd21308957}{elm\+\_\+calendar\+\_\+select\+\_\+mode\+\_\+set()} 
\end{DoxySeeAlso}
\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}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_gac85eac6db81a3fed52cf5482692d90a5}{elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+set()} is invoked. 

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

\hyperlink{group__Calendar_gac85eac6db81a3fed52cf5482692d90a5}{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}Elm\+\_\+\+Calendar\+\_\+\+Weekday}\label{group__Calendar_ga2545c7df1eef71ffd3225f03248afe4d}


a weekday 

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


\subsection{Function Documentation}
\index{Calendar@{Calendar}!displayed\+\_\+time\+\_\+get@{displayed\+\_\+time\+\_\+get}}
\index{displayed\+\_\+time\+\_\+get@{displayed\+\_\+time\+\_\+get}!Calendar@{Calendar}}
\subsubsection[{displayed\+\_\+time\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}bool elm\+\_\+calendar\+::displayed\+\_\+time\+\_\+get (
\begin{DoxyParamCaption}
\item[{struct tm $\ast$}]{displayed\+\_\+time\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\label{group__Calendar_gac2c5ebfe9270537ddd491a1cadc61925}


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'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\+\_\+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 Eo $\ast$}]{obj, }
\item[{struct tm $\ast$}]{displayed\+\_\+time}
\end{DoxyParamCaption}
)}\label{group__Calendar_gaab765f6eec05917ba5368bf274ee7ba5}


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'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 Eo $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Calendar_ga4f56184abccff6340b0d0eddd61823eb}


Get the first day of week, who are used on calendar widgets'. 

\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_gaef7d33c0bdd9cd91ebc8d6eb052a3fb9}{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[{Eo $\ast$}]{obj, }
\item[{{\bf Elm\+\_\+\+Calendar\+\_\+\+Weekday}}]{day}
\end{DoxyParamCaption}
)}\label{group__Calendar_gaef7d33c0bdd9cd91ebc8d6eb052a3fb9}


Set the first day of week to use on calendar widgets'. 


\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[{Eo $\ast$}]{obj, }
\item[{{\bf Elm\+\_\+\+Calendar\+\_\+\+Format\+\_\+\+Cb}}]{format\+\_\+function}
\end{DoxyParamCaption}
)}\label{group__Calendar_gaa9bb1fd2fb375edfc8c64539943d6012}


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}
\textcolor{keyword}{static} \textcolor{keywordtype}{char}
\_format\_month\_year(\textcolor{keyword}{struct} tm *selected\_time)
\{
\textcolor{keywordtype}{char} buf[32];
\textcolor{keywordflow}{if} (!strftime(buf, \textcolor{keyword}{sizeof}(buf), \textcolor{stringliteral}{"%B %Y"}, selected\_time)) \textcolor{keywordflow}{return} NULL;
\textcolor{keywordflow}{return} strdup(buf);
\}

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 Eo $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Calendar_gaf23ed13276c63fcbf279cf5cd8812204}


Get the interval on time updates for an user mouse button hold on calendar widgets' month/year selection. 

\begin{DoxyReturn}{Returns}
The (first) interval value, in seconds, set on it
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_gaa5b8033d79ab410c67799d3631af1cad}{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[{Eo $\ast$}]{obj, }
\item[{double}]{interval}
\end{DoxyParamCaption}
)}\label{group__Calendar_gaa5b8033d79ab410c67799d3631af1cad}


Set the interval on time updates for an user mouse button hold on calendar widgets' 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_gaf23ed13276c63fcbf279cf5cd8812204}{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}Elm\+\_\+\+Calendar\+\_\+\+Mark$\ast$ elm\+\_\+calendar\+\_\+mark\+\_\+add (
\begin{DoxyParamCaption}
\item[{Eo $\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_gaf3c62c4d42638cbb7d8b33b89b7efb65}


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't immediately update the calendar, drawing the marks. For this, call \hyperlink{group__Calendar_ga457f558ecb5917db489288eba8736d5f}{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}
\textcolor{keyword}{struct }tm selected\_time;
time\_t current\_time;

current\_time = time(NULL) + 5 * (24 * 60 * 60);
localtime\_r(&current\_time, &selected\_time);
elm_calendar_mark_add(cal, \textcolor{stringliteral}{"holiday"}, selected\_time,
ELM\_CALENDAR\_ANNUALLY);

current\_time = time(NULL) + 1 * (24 * 60 * 60);
localtime\_r(&current\_time, &selected\_time);
elm_calendar_mark_add(cal, \textcolor{stringliteral}{"checked"}, selected\_time, ELM\_CALENDAR\_UNIQUE);

elm_calendar_marks_draw(cal);
\end{DoxyCode}


\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_ga457f558ecb5917db489288eba8736d5f}{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'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[{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_ga9eac8c1baa916a14f56b400c4d90a6a0}{elm\+\_\+calendar\+\_\+marks\+\_\+clear()} should be used instead of getting marks list and deleting each one.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_gaf3c62c4d42638cbb7d8b33b89b7efb65}{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[{Eo $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Calendar_ga9eac8c1baa916a14f56b400c4d90a6a0}


Remove all calendar's marks. 

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_gaf3c62c4d42638cbb7d8b33b89b7efb65}{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[{Eo $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Calendar_ga457f558ecb5917db489288eba8736d5f}


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_gaf3c62c4d42638cbb7d8b33b89b7efb65}{elm\+\_\+calendar\+\_\+mark\+\_\+add()} 

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

\hyperlink{group__Calendar_ga9eac8c1baa916a14f56b400c4d90a6a0}{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 Eo $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Calendar_ga6c2a06333968c1ed72dc3a766df65e02}


Get a list of all the calendar marks. 

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

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

\hyperlink{group__Calendar_ga9eac8c1baa916a14f56b400c4d90a6a0}{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 Eo $\ast$}]{obj, }
\item[{int $\ast$}]{min, }
\item[{int $\ast$}]{max}
\end{DoxyParamCaption}
)}\label{group__Calendar_gafe847357fdd728c8fd2f96b00ed79a1c}


Get the minimum and maximum values for the year. 

Default values are 1902 and -\/1.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_gad576cda1a35512bdef32afd6e2ab0089}{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[{Eo $\ast$}]{obj, }
\item[{int}]{min, }
\item[{int}]{max}
\end{DoxyParamCaption}
)}\label{group__Calendar_gad576cda1a35512bdef32afd6e2ab0089}


Set the minimum and maximum values for the year. 

Maximum must be greater than minimum, except if you don'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_gafe847357fdd728c8fd2f96b00ed79a1c}{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 Eo $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Calendar_ga158c74680fe6e9682e39570cc5cc919a}


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_ga7f52be9099a6c2e63881abbd21308957}{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[{Eo $\ast$}]{obj, }
\item[{{\bf Elm\+\_\+\+Calendar\+\_\+\+Select\+\_\+\+Mode}}]{mode}
\end{DoxyParamCaption}
)}\label{group__Calendar_ga7f52be9099a6c2e63881abbd21308957}


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 Eo $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Calendar_gafa4b61bfdd1f8d9d9db8701ad3f644d5}


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_gaefe62e3406ace7ae0a5806be94b1bf4a}{elm\+\_\+calendar\+\_\+selectable\+\_\+set} 

\hyperlink{group__Calendar_gac85eac6db81a3fed52cf5482692d90a5}{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[{Eo $\ast$}]{obj, }
\item[{{\bf Elm\+\_\+\+Calendar\+\_\+\+Selectable}}]{selectable}
\end{DoxyParamCaption}
)}\label{group__Calendar_gaefe62e3406ace7ae0a5806be94b1bf4a}


Define which fields of a {\bfseries tm} struct will be taken into account, when \hyperlink{group__Calendar_gac85eac6db81a3fed52cf5482692d90a5}{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_gac85eac6db81a3fed52cf5482692d90a5}{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 Eo $\ast$}]{obj, }
\item[{struct tm $\ast$}]{selected\+\_\+time}
\end{DoxyParamCaption}
)}\label{group__Calendar_ga715ffdbd91ae5c6bb0ec9b6298a1a57a}


Get selected date. 

\begin{DoxyReturn}{Returns}
E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E means an error occurred and returned time shouldn't be considered.
\end{DoxyReturn}
Get date selected by the user or set by function \hyperlink{group__Calendar_gac85eac6db81a3fed52cf5482692d90a5}{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_ga715ffdbd91ae5c6bb0ec9b6298a1a57a}{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[{Eo $\ast$}]{obj, }
\item[{struct tm $\ast$}]{selected\+\_\+time}
\end{DoxyParamCaption}
)}\label{group__Calendar_gac85eac6db81a3fed52cf5482692d90a5}


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_ga715ffdbd91ae5c6bb0ec9b6298a1a57a}{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 Eo $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Calendar_gaa14817444778d9165576659638408555}


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[{Eo $\ast$}]{obj, }
\item[{const char $\ast$$\ast$}]{weekdays}
\end{DoxyParamCaption}
)}\label{group__Calendar_ga5b979b2ce0dabed9493718c0848b363b}


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}
\textcolor{keyword}{const} \textcolor{keywordtype}{char} *weekdays[] =
\{
\textcolor{stringliteral}{"Sunday"}, \textcolor{stringliteral}{"Monday"}, \textcolor{stringliteral}{"Tuesday"}, \textcolor{stringliteral}{"Wednesday"},
\textcolor{stringliteral}{"Thursday"}, \textcolor{stringliteral}{"Friday"}, \textcolor{stringliteral}{"Saturday"}
\};
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 ('\textbackslash{}0'). 
\end{DoxyWarning}


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

\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 ('\textbackslash{}0').
\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}
\textcolor{keyword}{const} \textcolor{keywordtype}{char} *weekdays[] =
\{
   \textcolor{stringliteral}{"Sunday"}, \textcolor{stringliteral}{"Monday"}, \textcolor{stringliteral}{"Tuesday"}, \textcolor{stringliteral}{"Wednesday"},
   \textcolor{stringliteral}{"Thursday"}, \textcolor{stringliteral}{"Friday"}, \textcolor{stringliteral}{"Saturday"}
\};
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\+\_\+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'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(), and 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'. 

\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_gaef7d33c0bdd9cd91ebc8d6eb052a3fb9}{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'. 


\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}
\textcolor{keyword}{static} \textcolor{keywordtype}{char}
\_format\_month\_year(\textcolor{keyword}{struct} tm *selected\_time)
\{
\textcolor{keywordtype}{char} buf[32];
\textcolor{keywordflow}{if} (!strftime(buf, \textcolor{keyword}{sizeof}(buf), \textcolor{stringliteral}{"%B %Y"}, selected\_time)) \textcolor{keywordflow}{return} NULL;
\textcolor{keywordflow}{return} strdup(buf);
\}

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' month/year selection. 

\begin{DoxyReturn}{Returns}
The (first) interval value, in seconds, set on it
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_gaa5b8033d79ab410c67799d3631af1cad}{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' 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_gaf23ed13276c63fcbf279cf5cd8812204}{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 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't immediately update the calendar, drawing the marks. For this, call \hyperlink{group__Calendar_ga457f558ecb5917db489288eba8736d5f}{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}
\textcolor{keyword}{struct }tm selected\_time;
time\_t current\_time;

current\_time = time(NULL) + 5 * (24 * 60 * 60);
localtime\_r(&current\_time, &selected\_time);
elm_calendar_mark_add(cal, \textcolor{stringliteral}{"holiday"}, selected\_time,
ELM\_CALENDAR\_ANNUALLY);

current\_time = time(NULL) + 1 * (24 * 60 * 60);
localtime\_r(&current\_time, &selected\_time);
elm_calendar_mark_add(cal, \textcolor{stringliteral}{"checked"}, selected\_time, ELM\_CALENDAR\_UNIQUE);

elm_calendar_marks_draw(cal);
\end{DoxyCode}


\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_ga457f558ecb5917db489288eba8736d5f}{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't repeat), daily, weekly, monthly or annually. \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+calendar\+\_\+mark\+\_\+add(), and 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's marks. 

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

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


Referenced by elm\+\_\+calendar\+\_\+marks\+\_\+clear(), and 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_gaf3c62c4d42638cbb7d8b33b89b7efb65}{elm\+\_\+calendar\+\_\+mark\+\_\+add()} 

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

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

Referenced by elm\+\_\+calendar\+\_\+marks\+\_\+draw(), and 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}
An {\ttfamily Eina\+\_\+\+List} of calendar marks objects, or {\ttfamily N\+U\+L\+L} on failure.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Calendar_gaf3c62c4d42638cbb7d8b33b89b7efb65}{elm\+\_\+calendar\+\_\+mark\+\_\+add()} 

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

\hyperlink{group__Calendar_ga9eac8c1baa916a14f56b400c4d90a6a0}{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_gad576cda1a35512bdef32afd6e2ab0089}{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'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_gafe847357fdd728c8fd2f96b00ed79a1c}{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_ga7f52be9099a6c2e63881abbd21308957}{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_gaefe62e3406ace7ae0a5806be94b1bf4a}{elm\+\_\+calendar\+\_\+selectable\+\_\+set} 

\hyperlink{group__Calendar_gac85eac6db81a3fed52cf5482692d90a5}{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_gac85eac6db81a3fed52cf5482692d90a5}{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_gac85eac6db81a3fed52cf5482692d90a5}{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't be considered.
\end{DoxyReturn}
Get date selected by the user or set by function \hyperlink{group__Calendar_gac85eac6db81a3fed52cf5482692d90a5}{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_ga715ffdbd91ae5c6bb0ec9b6298a1a57a}{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(), and 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_ga715ffdbd91ae5c6bb0ec9b6298a1a57a}{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(), and 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}
\textcolor{keyword}{const} \textcolor{keywordtype}{char} *weekdays[] =
\{
\textcolor{stringliteral}{"Sunday"}, \textcolor{stringliteral}{"Monday"}, \textcolor{stringliteral}{"Tuesday"}, \textcolor{stringliteral}{"Wednesday"},
\textcolor{stringliteral}{"Thursday"}, \textcolor{stringliteral}{"Friday"}, \textcolor{stringliteral}{"Saturday"}
\};
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 ('\textbackslash{}0'). 
\end{DoxyWarning}


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

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


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't immediately update the calendar, drawing the marks. For this, call \hyperlink{group__Calendar_ga457f558ecb5917db489288eba8736d5f}{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}
\textcolor{keyword}{struct }tm selected\_time;
time\_t current\_time;

current\_time = time(NULL) + 5 * (24 * 60 * 60);
localtime\_r(&current\_time, &selected\_time);
elm_calendar_mark_add(cal, \textcolor{stringliteral}{"holiday"}, selected\_time,
ELM\_CALENDAR\_ANNUALLY);

current\_time = time(NULL) + 1 * (24 * 60 * 60);
localtime\_r(&current\_time, &selected\_time);
elm_calendar_mark_add(cal, \textcolor{stringliteral}{"checked"}, selected\_time, ELM\_CALENDAR\_UNIQUE);

elm_calendar_marks_draw(cal);
\end{DoxyCode}


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

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


\begin{DoxyParams}{Parameters}
{\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
{\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
{\em repeat} & Repeat the event following this periodicity. Can be a unique mark (that don't repeat), daily, weekly, monthly or annually. \\
\hline
\end{DoxyParams}


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

\index{Calendar@{Calendar}!marks\+\_\+clear@{marks\+\_\+clear}}
\index{marks\+\_\+clear@{marks\+\_\+clear}!Calendar@{Calendar}}
\subsubsection[{marks\+\_\+clear}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+calendar\+::marks\+\_\+clear (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\label{group__Calendar_ga432fa4599155424020209f006f89fd0d}


Remove all calendar's marks. 

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

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


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

\index{Calendar@{Calendar}!marks\+\_\+draw@{marks\+\_\+draw}}
\index{marks\+\_\+draw@{marks\+\_\+draw}!Calendar@{Calendar}}
\subsubsection[{marks\+\_\+draw}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+calendar\+::marks\+\_\+draw (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\label{group__Calendar_gaeb32d4228ea6024289534760703819ec}


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_gaf3c62c4d42638cbb7d8b33b89b7efb65}{elm\+\_\+calendar\+\_\+mark\+\_\+add()} 

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

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

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

\index{Calendar@{Calendar}!selected\+\_\+time\+\_\+get@{selected\+\_\+time\+\_\+get}}
\index{selected\+\_\+time\+\_\+get@{selected\+\_\+time\+\_\+get}!Calendar@{Calendar}}
\subsubsection[{selected\+\_\+time\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}bool elm\+\_\+calendar\+::selected\+\_\+time\+\_\+get (
\begin{DoxyParamCaption}
\item[{struct tm $\ast$}]{selected\+\_\+time\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\label{group__Calendar_gae1352d51a83028fa52a9ed9a921f20c0}


Get selected date. 

\begin{DoxyReturn}{Returns}
E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E means an error occurred and returned time shouldn't be considered.
\end{DoxyReturn}
Get date selected by the user or set by function \hyperlink{group__Calendar_gac85eac6db81a3fed52cf5482692d90a5}{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_ga715ffdbd91ae5c6bb0ec9b6298a1a57a}{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}!selected\+\_\+time\+\_\+set@{selected\+\_\+time\+\_\+set}}
\index{selected\+\_\+time\+\_\+set@{selected\+\_\+time\+\_\+set}!Calendar@{Calendar}}
\subsubsection[{selected\+\_\+time\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+calendar\+::selected\+\_\+time\+\_\+set (
\begin{DoxyParamCaption}
\item[{struct tm $\ast$}]{selected\+\_\+time\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\label{group__Calendar_ga2b794ce3fa11e1e4c356d1675bd3c326}


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_ga715ffdbd91ae5c6bb0ec9b6298a1a57a}{elm\+\_\+calendar\+\_\+selected\+\_\+time\+\_\+get()}
\end{DoxySeeAlso}
\hyperlink{calendar_example_04}{Calendar -\/ Days selection.}


\begin{DoxyParams}{Parameters}
{\em selected\+\_\+time} & A {\bfseries tm} struct to represent the selected date. \\
\hline
\end{DoxyParams}


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

