\section{Spinner}
\label{group__Elm__Spinner}\index{Spinner@{Spinner}}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
E\+O\+A\+PI void \hyperlink{group__Elm__Spinner_ga0c8f2df1f5dca6bbbe1da19330d45e54}{elm\+\_\+obj\+\_\+spinner\+\_\+min\+\_\+max\+\_\+set} (double min, double max)
\begin{DoxyCompactList}\small\item\em Control the minimum and maximum values for the spinner. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \hyperlink{group__Elm__Spinner_ga8b132676173a39b12ec43527015f7a11}{elm\+\_\+obj\+\_\+spinner\+\_\+min\+\_\+max\+\_\+get} (double $\ast$min, double $\ast$max)
\begin{DoxyCompactList}\small\item\em Control the minimum and maximum values for the spinner. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \hyperlink{group__Elm__Spinner_gad5d20bf80e11cd6e6dbefadbb74f41fa}{elm\+\_\+obj\+\_\+spinner\+\_\+step\+\_\+set} (double step)
\begin{DoxyCompactList}\small\item\em Control the step used to increment or decrement the spinner value. \end{DoxyCompactList}\item 
E\+O\+A\+PI double \hyperlink{group__Elm__Spinner_ga8715f1de36240428216cb6d63b221834}{elm\+\_\+obj\+\_\+spinner\+\_\+step\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Control the step used to increment or decrement the spinner value. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \hyperlink{group__Elm__Spinner_gac36a01ee73171789b43f0fd600e74e47}{elm\+\_\+obj\+\_\+spinner\+\_\+wrap\+\_\+set} (Eina\+\_\+\+Bool wrap)
\begin{DoxyCompactList}\small\item\em Control whether the spinner should wrap when it reaches its minimum or maximum value. \end{DoxyCompactList}\item 
E\+O\+A\+PI Eina\+\_\+\+Bool \hyperlink{group__Elm__Spinner_ga3832676015823f8f89e979075092da5f}{elm\+\_\+obj\+\_\+spinner\+\_\+wrap\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Control whether the spinner should wrap when it reaches its minimum or maximum value. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \hyperlink{group__Elm__Spinner_gab24dd02575fd97bc77510395a6f0e322}{elm\+\_\+obj\+\_\+spinner\+\_\+interval\+\_\+set} (double interval)
\begin{DoxyCompactList}\small\item\em Control the interval on time updates for an user mouse button hold on spinner widgets\textquotesingle{} arrows. \end{DoxyCompactList}\item 
E\+O\+A\+PI double \hyperlink{group__Elm__Spinner_gaadbc4726199b8740585826b4d00f5cd1}{elm\+\_\+obj\+\_\+spinner\+\_\+interval\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Control the interval on time updates for an user mouse button hold on spinner widgets\textquotesingle{} arrows. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \hyperlink{group__Elm__Spinner_ga0c57ce0941932623942ab6dfae2a2395}{elm\+\_\+obj\+\_\+spinner\+\_\+round\+\_\+set} (int rnd)
\begin{DoxyCompactList}\small\item\em Control the round value for rounding. \end{DoxyCompactList}\item 
E\+O\+A\+PI int \hyperlink{group__Elm__Spinner_ga5719a5e12d0766ea14e15f42b7adf61e}{elm\+\_\+obj\+\_\+spinner\+\_\+round\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Control the round value for rounding. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \hyperlink{group__Elm__Spinner_ga7a8ec9f08ce30cfde824fdf6a5eb3c60}{elm\+\_\+obj\+\_\+spinner\+\_\+editable\+\_\+set} (Eina\+\_\+\+Bool editable)
\begin{DoxyCompactList}\small\item\em Control whether the spinner can be directly edited by the user or not. \end{DoxyCompactList}\item 
E\+O\+A\+PI Eina\+\_\+\+Bool \hyperlink{group__Elm__Spinner_ga602a18079e2a5486ce7eae3388f3f8e7}{elm\+\_\+obj\+\_\+spinner\+\_\+editable\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Control whether the spinner can be directly edited by the user or not. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \hyperlink{group__Elm__Spinner_ga8908fc89794332c514e8a41a64454b51}{elm\+\_\+obj\+\_\+spinner\+\_\+base\+\_\+set} (double base)
\begin{DoxyCompactList}\small\item\em Control the base for rounding. \end{DoxyCompactList}\item 
E\+O\+A\+PI double \hyperlink{group__Elm__Spinner_gae7677e9d9fcb3fa1b5e2d96f76c03b8f}{elm\+\_\+obj\+\_\+spinner\+\_\+base\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Control the base for rounding. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \hyperlink{group__Elm__Spinner_ga4b4900f561fcf838db896c9b8d0d45ad}{elm\+\_\+obj\+\_\+spinner\+\_\+value\+\_\+set} (double val)
\begin{DoxyCompactList}\small\item\em Control the value the spinner displays. \end{DoxyCompactList}\item 
E\+O\+A\+PI double \hyperlink{group__Elm__Spinner_ga57646036dfa22c9d298d817bd03057dc}{elm\+\_\+obj\+\_\+spinner\+\_\+value\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Control the value the spinner displays. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \hyperlink{group__Elm__Spinner_ga13b7ae2441f4768e122d866663032793}{elm\+\_\+obj\+\_\+spinner\+\_\+label\+\_\+format\+\_\+set} (const char $\ast$fmt)
\begin{DoxyCompactList}\small\item\em Control the format string of the displayed label. \end{DoxyCompactList}\item 
E\+O\+A\+PI const char $\ast$ \hyperlink{group__Elm__Spinner_gabf5f9df9e3ead743dfc2562f2c691af4}{elm\+\_\+obj\+\_\+spinner\+\_\+label\+\_\+format\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Control the format string of the displayed label. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \hyperlink{group__Elm__Spinner_ga392a44d9eb084ae6276a7dd141ed94e2}{elm\+\_\+obj\+\_\+spinner\+\_\+special\+\_\+value\+\_\+add} (double value, const char $\ast$label)
\begin{DoxyCompactList}\small\item\em Control special string to display in the place of the numerical value. \end{DoxyCompactList}\item 
void \hyperlink{group__Elm__Spinner_ga9f5049e1e041da55adb65ddbf89a1a45}{elm\+\_\+spinner\+\_\+min\+\_\+max\+\_\+set} (Elm\+\_\+\+Spinner $\ast$obj, double min, double max)
\begin{DoxyCompactList}\small\item\em Control the minimum and maximum values for the spinner. \end{DoxyCompactList}\item 
void \hyperlink{group__Elm__Spinner_gaccea2614db66f270b509123f9e5e737c}{elm\+\_\+spinner\+\_\+min\+\_\+max\+\_\+get} (const Elm\+\_\+\+Spinner $\ast$obj, double $\ast$min, double $\ast$max)
\begin{DoxyCompactList}\small\item\em Control the minimum and maximum values for the spinner. \end{DoxyCompactList}\item 
void \hyperlink{group__Elm__Spinner_ga9c403c1f29a59a13f75d6c74efd88713}{elm\+\_\+spinner\+\_\+step\+\_\+set} (Elm\+\_\+\+Spinner $\ast$obj, double step)
\begin{DoxyCompactList}\small\item\em Control the step used to increment or decrement the spinner value. \end{DoxyCompactList}\item 
double \hyperlink{group__Elm__Spinner_gaa2fba3172074f65a3b7a82934b3d356f}{elm\+\_\+spinner\+\_\+step\+\_\+get} (const Elm\+\_\+\+Spinner $\ast$obj)
\begin{DoxyCompactList}\small\item\em Control the step used to increment or decrement the spinner value. \end{DoxyCompactList}\item 
void \hyperlink{group__Elm__Spinner_gac24e7133ec989eb5ba20e087a0921d16}{elm\+\_\+spinner\+\_\+wrap\+\_\+set} (Elm\+\_\+\+Spinner $\ast$obj, Eina\+\_\+\+Bool wrap)
\begin{DoxyCompactList}\small\item\em Control whether the spinner should wrap when it reaches its minimum or maximum value. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__Elm__Spinner_gac289f5e7c59a3db1856369ca0b213f92}{elm\+\_\+spinner\+\_\+wrap\+\_\+get} (const Elm\+\_\+\+Spinner $\ast$obj)
\begin{DoxyCompactList}\small\item\em Control whether the spinner should wrap when it reaches its minimum or maximum value. \end{DoxyCompactList}\item 
void \hyperlink{group__Elm__Spinner_ga61529b6a5bc0204a471b8f9f96248bd2}{elm\+\_\+spinner\+\_\+interval\+\_\+set} (Elm\+\_\+\+Spinner $\ast$obj, double interval)
\begin{DoxyCompactList}\small\item\em Control the interval on time updates for an user mouse button hold on spinner widgets\textquotesingle{} arrows. \end{DoxyCompactList}\item 
double \hyperlink{group__Elm__Spinner_gaef9615492a58110ca00fde860479d723}{elm\+\_\+spinner\+\_\+interval\+\_\+get} (const Elm\+\_\+\+Spinner $\ast$obj)
\begin{DoxyCompactList}\small\item\em Control the interval on time updates for an user mouse button hold on spinner widgets\textquotesingle{} arrows. \end{DoxyCompactList}\item 
void \hyperlink{group__Elm__Spinner_ga4eef0fcf8ac9944012a6c2cf3541a63f}{elm\+\_\+spinner\+\_\+round\+\_\+set} (Elm\+\_\+\+Spinner $\ast$obj, int rnd)
\begin{DoxyCompactList}\small\item\em Control the round value for rounding. \end{DoxyCompactList}\item 
int \hyperlink{group__Elm__Spinner_gaaef0dcd12c7f6e6f04b52718e1cd1fc4}{elm\+\_\+spinner\+\_\+round\+\_\+get} (const Elm\+\_\+\+Spinner $\ast$obj)
\begin{DoxyCompactList}\small\item\em Control the round value for rounding. \end{DoxyCompactList}\item 
void \hyperlink{group__Elm__Spinner_ga871836a2a99838adf161ea3397f8de5b}{elm\+\_\+spinner\+\_\+editable\+\_\+set} (Elm\+\_\+\+Spinner $\ast$obj, Eina\+\_\+\+Bool editable)
\begin{DoxyCompactList}\small\item\em Control whether the spinner can be directly edited by the user or not. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__Elm__Spinner_ga3033af66d2473a8f200e7d8324a8c9de}{elm\+\_\+spinner\+\_\+editable\+\_\+get} (const Elm\+\_\+\+Spinner $\ast$obj)
\begin{DoxyCompactList}\small\item\em Control whether the spinner can be directly edited by the user or not. \end{DoxyCompactList}\item 
void \hyperlink{group__Elm__Spinner_ga069307c3cd14616ac4ab4e215efb1320}{elm\+\_\+spinner\+\_\+base\+\_\+set} (Elm\+\_\+\+Spinner $\ast$obj, double base)
\begin{DoxyCompactList}\small\item\em Control the base for rounding. \end{DoxyCompactList}\item 
double \hyperlink{group__Elm__Spinner_ga2f7a548c9f976221017292950ef9c32b}{elm\+\_\+spinner\+\_\+base\+\_\+get} (const Elm\+\_\+\+Spinner $\ast$obj)
\begin{DoxyCompactList}\small\item\em Control the base for rounding. \end{DoxyCompactList}\item 
void \hyperlink{group__Elm__Spinner_ga8f90df6f1d6944c20adb6443ad4f0938}{elm\+\_\+spinner\+\_\+value\+\_\+set} (Elm\+\_\+\+Spinner $\ast$obj, double val)
\begin{DoxyCompactList}\small\item\em Control the value the spinner displays. \end{DoxyCompactList}\item 
double \hyperlink{group__Elm__Spinner_gac2a9d4a2e05073be0495e3323f52b7ab}{elm\+\_\+spinner\+\_\+value\+\_\+get} (const Elm\+\_\+\+Spinner $\ast$obj)
\begin{DoxyCompactList}\small\item\em Control the value the spinner displays. \end{DoxyCompactList}\item 
void \hyperlink{group__Elm__Spinner_ga7a0e836516e3517c26ee3f2d44a77cb2}{elm\+\_\+spinner\+\_\+label\+\_\+format\+\_\+set} (Elm\+\_\+\+Spinner $\ast$obj, const char $\ast$fmt)
\begin{DoxyCompactList}\small\item\em Control the format string of the displayed label. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__Elm__Spinner_ga4ecba31f3874799d43825bb9d37ffbf0}{elm\+\_\+spinner\+\_\+label\+\_\+format\+\_\+get} (const Elm\+\_\+\+Spinner $\ast$obj)
\begin{DoxyCompactList}\small\item\em Control the format string of the displayed label. \end{DoxyCompactList}\item 
void \hyperlink{group__Elm__Spinner_ga1ff25983507022abbfd089ce3a4ffde1}{elm\+\_\+spinner\+\_\+special\+\_\+value\+\_\+add} (Elm\+\_\+\+Spinner $\ast$obj, double value, const char $\ast$label)
\begin{DoxyCompactList}\small\item\em Control special string to display in the place of the numerical value. \end{DoxyCompactList}\item 
Evas\+\_\+\+Object $\ast$ \hyperlink{group__Elm__Spinner_gac259ed8ba5d597ceb982cc0170c37a63}{elm\+\_\+spinner\+\_\+add} (Evas\+\_\+\+Object $\ast$parent)
\begin{DoxyCompactList}\small\item\em Add a new spinner widget to the given parent Elementary (container) object. \end{DoxyCompactList}\item 
void \hyperlink{group__Elm__Spinner_ga5faa31fa6b9b5ccd0b3657ac013e641c}{elm\+\_\+spinner\+\_\+special\+\_\+value\+\_\+del} (Evas\+\_\+\+Object $\ast$obj, double value)
\begin{DoxyCompactList}\small\item\em Delete the special string display in the place of the numerical value. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__Elm__Spinner_ga88fdf2be4a61e6312dac6d0ece11b088}{elm\+\_\+spinner\+\_\+special\+\_\+value\+\_\+get} (Evas\+\_\+\+Object $\ast$obj, double value)
\begin{DoxyCompactList}\small\item\em Get the special string display in the place of the numerical value. \end{DoxyCompactList}\end{DoxyCompactItemize}


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


 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics[width=\textwidth,height=\textheight/2,keepaspectratio=true]{img/widget/spinner/preview-00}}
\end{DoxyImageNoCaption}


A spinner is a widget which allows the user to increase or decrease numeric values using arrow buttons, or edit values directly, clicking over it and typing the new value.

By default the spinner will not wrap and has a label of \char`\"{}\%.\+0f\char`\"{} (just showing the integer value of the double).

A spinner has a label that is formatted with floating point values and thus accepts a printf-\/style format string, like “\%1.\+2f units”.

It also allows specific values to be replaced by pre-\/defined labels.

This widget inherits from the Layout one, so that all the functions acting on it also work for spinner objects.

This widget emits the following signals, besides the ones sent from Layout\+:
\begin{DoxyItemize}
\item {\ttfamily \char`\"{}changed\char`\"{}} -\/ Whenever the spinner value is changed.
\item {\ttfamily \char`\"{}delay,changed\char`\"{}} -\/ A short time after the value is changed by the user. This will be called only when the user stops dragging for a very short period or when they release their finger/mouse, so it avoids possibly expensive reactions to the value change.
\item {\ttfamily \char`\"{}language,changed\char`\"{}} -\/ the program\textquotesingle{}s language changed
\item {\ttfamily \char`\"{}focused\char`\"{}} -\/ When the spinner has received focus. (since 1.\+8)
\item {\ttfamily \char`\"{}unfocused\char`\"{}} -\/ When the spinner has lost focus. (since 1.\+8)
\item {\ttfamily \char`\"{}spinner,drag,start\char`\"{}} -\/ When dragging has started. (since 1.\+8)
\item {\ttfamily \char`\"{}spinner,drag,stop\char`\"{}} -\/ When dragging has stopped. (since 1.\+8)
\end{DoxyItemize}

Available styles for it\+:
\begin{DoxyItemize}
\item {\ttfamily \char`\"{}default\char`\"{}};
\item {\ttfamily \char`\"{}vertical\char`\"{}}\+: up/down buttons at the right side and text left aligned.
\end{DoxyItemize}

Supported elm\+\_\+object common A\+P\+Is. \begin{DoxyItemize}
\item \hyperlink{group__Elm__General_ga1beada7edf5d714c0dba5459bcc993fc}{elm\+\_\+object\+\_\+signal\+\_\+emit} \item \hyperlink{group__Elm__General_ga6f9574b798efcd454afdac6f2904f633}{elm\+\_\+object\+\_\+signal\+\_\+callback\+\_\+add} \item \hyperlink{group__Elm__General_ga3c76b5447be522d647e352cb7ff7c9e6}{elm\+\_\+object\+\_\+signal\+\_\+callback\+\_\+del} \item \hyperlink{group__Elm__General_ga6849a57df3316eabad5bec443bf87597}{elm\+\_\+object\+\_\+disabled\+\_\+set} \item \hyperlink{group__Elm__General_ga3ecb0d6b4e76ff39006f218942c7950d}{elm\+\_\+object\+\_\+disabled\+\_\+get}\end{DoxyItemize}
Here is an example on its usage\+: \hyperlink{spinner_example}{Spinner widget example} 

\subsection{Function Documentation}
\index{Spinner@{Spinner}!elm\+\_\+obj\+\_\+spinner\+\_\+base\+\_\+get@{elm\+\_\+obj\+\_\+spinner\+\_\+base\+\_\+get}}
\index{elm\+\_\+obj\+\_\+spinner\+\_\+base\+\_\+get@{elm\+\_\+obj\+\_\+spinner\+\_\+base\+\_\+get}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+obj\+\_\+spinner\+\_\+base\+\_\+get(void)}{elm_obj_spinner_base_get(void)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI double elm\+\_\+obj\+\_\+spinner\+\_\+base\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_gae7677e9d9fcb3fa1b5e2d96f76c03b8f}


Control the base for rounding. 

Rounding works as follows\+:

rounded\+\_\+val = base + (double)(((value -\/ base) / round) $\ast$ round)

Where rounded\+\_\+val, value and base are doubles, and round is an integer.

This means that things will be rounded to increments (or decrements) of \char`\"{}round\char`\"{} starting from value {\ttfamily base}. The default base for rounding is 0.

Example\+: round = 3, base = 2 Values\+: ..., -\/2, 0, 2, 5, 8, 11, 14, ...

Example\+: round = 2, base = 5.\+5 Values\+: ..., -\/0.\+5, 1.\+5, 3.\+5, 5.\+5, 7.\+5, 9.\+5, 11.\+5, ...

\begin{DoxyReturn}{Returns}
The base value 
\end{DoxyReturn}


Referenced by elm\+\_\+spinner\+\_\+base\+\_\+get().

\index{Spinner@{Spinner}!elm\+\_\+obj\+\_\+spinner\+\_\+base\+\_\+set@{elm\+\_\+obj\+\_\+spinner\+\_\+base\+\_\+set}}
\index{elm\+\_\+obj\+\_\+spinner\+\_\+base\+\_\+set@{elm\+\_\+obj\+\_\+spinner\+\_\+base\+\_\+set}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+obj\+\_\+spinner\+\_\+base\+\_\+set(double base)}{elm_obj_spinner_base_set(double base)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI void elm\+\_\+obj\+\_\+spinner\+\_\+base\+\_\+set (
\begin{DoxyParamCaption}
\item[{double}]{base}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_ga8908fc89794332c514e8a41a64454b51}


Control the base for rounding. 

Rounding works as follows\+:

rounded\+\_\+val = base + (double)(((value -\/ base) / round) $\ast$ round)

Where rounded\+\_\+val, value and base are doubles, and round is an integer.

This means that things will be rounded to increments (or decrements) of \char`\"{}round\char`\"{} starting from value {\ttfamily base}. The default base for rounding is 0.

Example\+: round = 3, base = 2 Values\+: ..., -\/2, 0, 2, 5, 8, 11, 14, ...

Example\+: round = 2, base = 5.\+5 Values\+: ..., -\/0.\+5, 1.\+5, 3.\+5, 5.\+5, 7.\+5, 9.\+5, 11.\+5, ...


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em base} & The base value \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+spinner\+\_\+base\+\_\+set().

\index{Spinner@{Spinner}!elm\+\_\+obj\+\_\+spinner\+\_\+editable\+\_\+get@{elm\+\_\+obj\+\_\+spinner\+\_\+editable\+\_\+get}}
\index{elm\+\_\+obj\+\_\+spinner\+\_\+editable\+\_\+get@{elm\+\_\+obj\+\_\+spinner\+\_\+editable\+\_\+get}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+obj\+\_\+spinner\+\_\+editable\+\_\+get(void)}{elm_obj_spinner_editable_get(void)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI Eina\+\_\+\+Bool elm\+\_\+obj\+\_\+spinner\+\_\+editable\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_ga602a18079e2a5486ce7eae3388f3f8e7}


Control whether the spinner can be directly edited by the user or not. 

Spinner objects can have edition disabled, in which state they will be changed only by arrows. Useful for contexts where you don\textquotesingle{}t want your users to interact with it writing the value. Specially when using special values, the user can see real value instead of special label on edition.

It\textquotesingle{}s enabled by default.

\begin{DoxyReturn}{Returns}
{\ttfamily true} to allow users to edit it or {\ttfamily false} to don\textquotesingle{}t allow users to edit it directly. 
\end{DoxyReturn}


Referenced by elm\+\_\+spinner\+\_\+editable\+\_\+get().

\index{Spinner@{Spinner}!elm\+\_\+obj\+\_\+spinner\+\_\+editable\+\_\+set@{elm\+\_\+obj\+\_\+spinner\+\_\+editable\+\_\+set}}
\index{elm\+\_\+obj\+\_\+spinner\+\_\+editable\+\_\+set@{elm\+\_\+obj\+\_\+spinner\+\_\+editable\+\_\+set}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+obj\+\_\+spinner\+\_\+editable\+\_\+set(\+Eina\+\_\+\+Bool editable)}{elm_obj_spinner_editable_set(Eina_Bool editable)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI void elm\+\_\+obj\+\_\+spinner\+\_\+editable\+\_\+set (
\begin{DoxyParamCaption}
\item[{Eina\+\_\+\+Bool}]{editable}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_ga7a8ec9f08ce30cfde824fdf6a5eb3c60}


Control whether the spinner can be directly edited by the user or not. 

Spinner objects can have edition disabled, in which state they will be changed only by arrows. Useful for contexts where you don\textquotesingle{}t want your users to interact with it writing the value. Specially when using special values, the user can see real value instead of special label on edition.

It\textquotesingle{}s enabled by default.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em editable} & {\ttfamily true} to allow users to edit it or {\ttfamily false} to don\textquotesingle{}t allow users to edit it directly. \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+spinner\+\_\+editable\+\_\+set().

\index{Spinner@{Spinner}!elm\+\_\+obj\+\_\+spinner\+\_\+interval\+\_\+get@{elm\+\_\+obj\+\_\+spinner\+\_\+interval\+\_\+get}}
\index{elm\+\_\+obj\+\_\+spinner\+\_\+interval\+\_\+get@{elm\+\_\+obj\+\_\+spinner\+\_\+interval\+\_\+get}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+obj\+\_\+spinner\+\_\+interval\+\_\+get(void)}{elm_obj_spinner_interval_get(void)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI double elm\+\_\+obj\+\_\+spinner\+\_\+interval\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_gaadbc4726199b8740585826b4d00f5cd1}


Control the interval on time updates for an user mouse button hold on spinner widgets\textquotesingle{} arrows. 

This interval value is decreased while the user holds the mouse pointer either incrementing or decrementing spinner\textquotesingle{}s value.

This helps the user to get to a given value 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 \$0.\+85 seconds.

\begin{DoxyReturn}{Returns}
The (first) interval value in seconds. 
\end{DoxyReturn}


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

\index{Spinner@{Spinner}!elm\+\_\+obj\+\_\+spinner\+\_\+interval\+\_\+set@{elm\+\_\+obj\+\_\+spinner\+\_\+interval\+\_\+set}}
\index{elm\+\_\+obj\+\_\+spinner\+\_\+interval\+\_\+set@{elm\+\_\+obj\+\_\+spinner\+\_\+interval\+\_\+set}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+obj\+\_\+spinner\+\_\+interval\+\_\+set(double interval)}{elm_obj_spinner_interval_set(double interval)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI void elm\+\_\+obj\+\_\+spinner\+\_\+interval\+\_\+set (
\begin{DoxyParamCaption}
\item[{double}]{interval}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_gab24dd02575fd97bc77510395a6f0e322}


Control the interval on time updates for an user mouse button hold on spinner widgets\textquotesingle{} arrows. 

This interval value is decreased while the user holds the mouse pointer either incrementing or decrementing spinner\textquotesingle{}s value.

This helps the user to get to a given value 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 \$0.\+85 seconds.


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


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

\index{Spinner@{Spinner}!elm\+\_\+obj\+\_\+spinner\+\_\+label\+\_\+format\+\_\+get@{elm\+\_\+obj\+\_\+spinner\+\_\+label\+\_\+format\+\_\+get}}
\index{elm\+\_\+obj\+\_\+spinner\+\_\+label\+\_\+format\+\_\+get@{elm\+\_\+obj\+\_\+spinner\+\_\+label\+\_\+format\+\_\+get}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+obj\+\_\+spinner\+\_\+label\+\_\+format\+\_\+get(void)}{elm_obj_spinner_label_format_get(void)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI const char$\ast$ elm\+\_\+obj\+\_\+spinner\+\_\+label\+\_\+format\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_gabf5f9df9e3ead743dfc2562f2c691af4}


Control the format string of the displayed label. 

If {\ttfamily N\+U\+LL}, this sets the format to \char`\"{}\%.\+0f\char`\"{}. If not it sets the format string for the label text. The label text is provided a floating point value, so the label text can display up to 1 floating point value. Note that this is optional.

Use a format string such as \char`\"{}\%1.\+2f meters\char`\"{} for example, and it will display values like\+: \char`\"{}3.\+14 meters\char`\"{} for a value equal to 3.\+14159.

Default is \char`\"{}\%0.\+f\char`\"{}.

\begin{DoxyReturn}{Returns}
The format string for the label display. 
\end{DoxyReturn}


Referenced by elm\+\_\+spinner\+\_\+label\+\_\+format\+\_\+get().

\index{Spinner@{Spinner}!elm\+\_\+obj\+\_\+spinner\+\_\+label\+\_\+format\+\_\+set@{elm\+\_\+obj\+\_\+spinner\+\_\+label\+\_\+format\+\_\+set}}
\index{elm\+\_\+obj\+\_\+spinner\+\_\+label\+\_\+format\+\_\+set@{elm\+\_\+obj\+\_\+spinner\+\_\+label\+\_\+format\+\_\+set}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+obj\+\_\+spinner\+\_\+label\+\_\+format\+\_\+set(const char $\ast$fmt)}{elm_obj_spinner_label_format_set(const char *fmt)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI void elm\+\_\+obj\+\_\+spinner\+\_\+label\+\_\+format\+\_\+set (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{fmt}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_ga13b7ae2441f4768e122d866663032793}


Control the format string of the displayed label. 

If {\ttfamily N\+U\+LL}, this sets the format to \char`\"{}\%.\+0f\char`\"{}. If not it sets the format string for the label text. The label text is provided a floating point value, so the label text can display up to 1 floating point value. Note that this is optional.

Use a format string such as \char`\"{}\%1.\+2f meters\char`\"{} for example, and it will display values like\+: \char`\"{}3.\+14 meters\char`\"{} for a value equal to 3.\+14159.

Default is \char`\"{}\%0.\+f\char`\"{}.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em fmt} & The format string for the label display. \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+spinner\+\_\+label\+\_\+format\+\_\+set().

\index{Spinner@{Spinner}!elm\+\_\+obj\+\_\+spinner\+\_\+min\+\_\+max\+\_\+get@{elm\+\_\+obj\+\_\+spinner\+\_\+min\+\_\+max\+\_\+get}}
\index{elm\+\_\+obj\+\_\+spinner\+\_\+min\+\_\+max\+\_\+get@{elm\+\_\+obj\+\_\+spinner\+\_\+min\+\_\+max\+\_\+get}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+obj\+\_\+spinner\+\_\+min\+\_\+max\+\_\+get(double $\ast$min, double $\ast$max)}{elm_obj_spinner_min_max_get(double *min, double *max)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI void elm\+\_\+obj\+\_\+spinner\+\_\+min\+\_\+max\+\_\+get (
\begin{DoxyParamCaption}
\item[{double $\ast$}]{min, }
\item[{double $\ast$}]{max}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_ga8b132676173a39b12ec43527015f7a11}


Control the minimum and maximum values for the spinner. 

Define the allowed range of values to be selected by the user.

If actual value is less than {\ttfamily min}, it will be updated to {\ttfamily min}. If it is bigger then {\ttfamily max}, will be updated to {\ttfamily max}. Actual value can be get with \hyperlink{group__Elm__Spinner_ga57646036dfa22c9d298d817bd03057dc}{elm\+\_\+obj\+\_\+spinner\+\_\+value\+\_\+get}.

By default, min is equal to 0, and max is equal to 100.

\begin{DoxyWarning}{Warning}
Maximum must be greater than minimum.
\end{DoxyWarning}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em min} & The minimum value. \\
\hline
\mbox{\tt out}  & {\em max} & The maximum value. \\
\hline
\end{DoxyParams}


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

\index{Spinner@{Spinner}!elm\+\_\+obj\+\_\+spinner\+\_\+min\+\_\+max\+\_\+set@{elm\+\_\+obj\+\_\+spinner\+\_\+min\+\_\+max\+\_\+set}}
\index{elm\+\_\+obj\+\_\+spinner\+\_\+min\+\_\+max\+\_\+set@{elm\+\_\+obj\+\_\+spinner\+\_\+min\+\_\+max\+\_\+set}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+obj\+\_\+spinner\+\_\+min\+\_\+max\+\_\+set(double min, double max)}{elm_obj_spinner_min_max_set(double min, double max)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI void elm\+\_\+obj\+\_\+spinner\+\_\+min\+\_\+max\+\_\+set (
\begin{DoxyParamCaption}
\item[{double}]{min, }
\item[{double}]{max}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_ga0c8f2df1f5dca6bbbe1da19330d45e54}


Control the minimum and maximum values for the spinner. 

Define the allowed range of values to be selected by the user.

If actual value is less than {\ttfamily min}, it will be updated to {\ttfamily min}. If it is bigger then {\ttfamily max}, will be updated to {\ttfamily max}. Actual value can be get with \hyperlink{group__Elm__Spinner_ga57646036dfa22c9d298d817bd03057dc}{elm\+\_\+obj\+\_\+spinner\+\_\+value\+\_\+get}.

By default, min is equal to 0, and max is equal to 100.

\begin{DoxyWarning}{Warning}
Maximum must be greater than minimum.
\end{DoxyWarning}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em min} & The minimum value. \\
\hline
\mbox{\tt in}  & {\em max} & The maximum value. \\
\hline
\end{DoxyParams}


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

\index{Spinner@{Spinner}!elm\+\_\+obj\+\_\+spinner\+\_\+round\+\_\+get@{elm\+\_\+obj\+\_\+spinner\+\_\+round\+\_\+get}}
\index{elm\+\_\+obj\+\_\+spinner\+\_\+round\+\_\+get@{elm\+\_\+obj\+\_\+spinner\+\_\+round\+\_\+get}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+obj\+\_\+spinner\+\_\+round\+\_\+get(void)}{elm_obj_spinner_round_get(void)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI int elm\+\_\+obj\+\_\+spinner\+\_\+round\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_ga5719a5e12d0766ea14e15f42b7adf61e}


Control the round value for rounding. 

Sets the rounding value used for value rounding in the spinner.

\begin{DoxyReturn}{Returns}
The rounding value 
\end{DoxyReturn}


Referenced by elm\+\_\+spinner\+\_\+round\+\_\+get().

\index{Spinner@{Spinner}!elm\+\_\+obj\+\_\+spinner\+\_\+round\+\_\+set@{elm\+\_\+obj\+\_\+spinner\+\_\+round\+\_\+set}}
\index{elm\+\_\+obj\+\_\+spinner\+\_\+round\+\_\+set@{elm\+\_\+obj\+\_\+spinner\+\_\+round\+\_\+set}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+obj\+\_\+spinner\+\_\+round\+\_\+set(int rnd)}{elm_obj_spinner_round_set(int rnd)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI void elm\+\_\+obj\+\_\+spinner\+\_\+round\+\_\+set (
\begin{DoxyParamCaption}
\item[{int}]{rnd}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_ga0c57ce0941932623942ab6dfae2a2395}


Control the round value for rounding. 

Sets the rounding value used for value rounding in the spinner.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em rnd} & The rounding value \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+spinner\+\_\+round\+\_\+set().

\index{Spinner@{Spinner}!elm\+\_\+obj\+\_\+spinner\+\_\+special\+\_\+value\+\_\+add@{elm\+\_\+obj\+\_\+spinner\+\_\+special\+\_\+value\+\_\+add}}
\index{elm\+\_\+obj\+\_\+spinner\+\_\+special\+\_\+value\+\_\+add@{elm\+\_\+obj\+\_\+spinner\+\_\+special\+\_\+value\+\_\+add}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+obj\+\_\+spinner\+\_\+special\+\_\+value\+\_\+add(double value, const char $\ast$label)}{elm_obj_spinner_special_value_add(double value, const char *label)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI void elm\+\_\+obj\+\_\+spinner\+\_\+special\+\_\+value\+\_\+add (
\begin{DoxyParamCaption}
\item[{double}]{value, }
\item[{const char $\ast$}]{label}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_ga392a44d9eb084ae6276a7dd141ed94e2}


Control special string to display in the place of the numerical value. 

It\textquotesingle{}s useful for cases when a user should select an item that is better indicated by a label than a value. For example, weekdays or months.

\begin{DoxyNote}{Note}
If another label was previously set to {\ttfamily value}, it will be replaced by the new label.
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em label} & The label to be used. \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+spinner\+\_\+special\+\_\+value\+\_\+add().

\index{Spinner@{Spinner}!elm\+\_\+obj\+\_\+spinner\+\_\+step\+\_\+get@{elm\+\_\+obj\+\_\+spinner\+\_\+step\+\_\+get}}
\index{elm\+\_\+obj\+\_\+spinner\+\_\+step\+\_\+get@{elm\+\_\+obj\+\_\+spinner\+\_\+step\+\_\+get}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+obj\+\_\+spinner\+\_\+step\+\_\+get(void)}{elm_obj_spinner_step_get(void)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI double elm\+\_\+obj\+\_\+spinner\+\_\+step\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_ga8715f1de36240428216cb6d63b221834}


Control the step used to increment or decrement the spinner value. 

This value will be incremented or decremented to the displayed value. It will be incremented while the user keep right or top arrow pressed, and will be decremented while the user keep left or bottom arrow pressed.

The interval to increment / decrement can be set with \hyperlink{group__Elm__Spinner_gab24dd02575fd97bc77510395a6f0e322}{elm\+\_\+obj\+\_\+spinner\+\_\+interval\+\_\+set}.

By default step value is equal to 1.

\begin{DoxyReturn}{Returns}
The step value. 
\end{DoxyReturn}


Referenced by elm\+\_\+spinner\+\_\+step\+\_\+get().

\index{Spinner@{Spinner}!elm\+\_\+obj\+\_\+spinner\+\_\+step\+\_\+set@{elm\+\_\+obj\+\_\+spinner\+\_\+step\+\_\+set}}
\index{elm\+\_\+obj\+\_\+spinner\+\_\+step\+\_\+set@{elm\+\_\+obj\+\_\+spinner\+\_\+step\+\_\+set}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+obj\+\_\+spinner\+\_\+step\+\_\+set(double step)}{elm_obj_spinner_step_set(double step)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI void elm\+\_\+obj\+\_\+spinner\+\_\+step\+\_\+set (
\begin{DoxyParamCaption}
\item[{double}]{step}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_gad5d20bf80e11cd6e6dbefadbb74f41fa}


Control the step used to increment or decrement the spinner value. 

This value will be incremented or decremented to the displayed value. It will be incremented while the user keep right or top arrow pressed, and will be decremented while the user keep left or bottom arrow pressed.

The interval to increment / decrement can be set with \hyperlink{group__Elm__Spinner_gab24dd02575fd97bc77510395a6f0e322}{elm\+\_\+obj\+\_\+spinner\+\_\+interval\+\_\+set}.

By default step value is equal to 1.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em step} & The step value. \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+spinner\+\_\+step\+\_\+set().

\index{Spinner@{Spinner}!elm\+\_\+obj\+\_\+spinner\+\_\+value\+\_\+get@{elm\+\_\+obj\+\_\+spinner\+\_\+value\+\_\+get}}
\index{elm\+\_\+obj\+\_\+spinner\+\_\+value\+\_\+get@{elm\+\_\+obj\+\_\+spinner\+\_\+value\+\_\+get}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+obj\+\_\+spinner\+\_\+value\+\_\+get(void)}{elm_obj_spinner_value_get(void)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI double elm\+\_\+obj\+\_\+spinner\+\_\+value\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_ga57646036dfa22c9d298d817bd03057dc}


Control the value the spinner displays. 

Value will be presented on the label following format specified with elm\+\_\+spinner\+\_\+format\+\_\+set().

Warning The value must to be between min and max values. This values are set by \hyperlink{group__Elm__Spinner_ga9f5049e1e041da55adb65ddbf89a1a45}{elm\+\_\+spinner\+\_\+min\+\_\+max\+\_\+set()}.

\begin{DoxyReturn}{Returns}
The value to be displayed. 
\end{DoxyReturn}


Referenced by elm\+\_\+spinner\+\_\+value\+\_\+get().

\index{Spinner@{Spinner}!elm\+\_\+obj\+\_\+spinner\+\_\+value\+\_\+set@{elm\+\_\+obj\+\_\+spinner\+\_\+value\+\_\+set}}
\index{elm\+\_\+obj\+\_\+spinner\+\_\+value\+\_\+set@{elm\+\_\+obj\+\_\+spinner\+\_\+value\+\_\+set}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+obj\+\_\+spinner\+\_\+value\+\_\+set(double val)}{elm_obj_spinner_value_set(double val)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI void elm\+\_\+obj\+\_\+spinner\+\_\+value\+\_\+set (
\begin{DoxyParamCaption}
\item[{double}]{val}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_ga4b4900f561fcf838db896c9b8d0d45ad}


Control the value the spinner displays. 

Value will be presented on the label following format specified with elm\+\_\+spinner\+\_\+format\+\_\+set().

Warning The value must to be between min and max values. This values are set by \hyperlink{group__Elm__Spinner_ga9f5049e1e041da55adb65ddbf89a1a45}{elm\+\_\+spinner\+\_\+min\+\_\+max\+\_\+set()}.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em val} & The value to be displayed. \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+spinner\+\_\+value\+\_\+set().

\index{Spinner@{Spinner}!elm\+\_\+obj\+\_\+spinner\+\_\+wrap\+\_\+get@{elm\+\_\+obj\+\_\+spinner\+\_\+wrap\+\_\+get}}
\index{elm\+\_\+obj\+\_\+spinner\+\_\+wrap\+\_\+get@{elm\+\_\+obj\+\_\+spinner\+\_\+wrap\+\_\+get}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+obj\+\_\+spinner\+\_\+wrap\+\_\+get(void)}{elm_obj_spinner_wrap_get(void)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI Eina\+\_\+\+Bool elm\+\_\+obj\+\_\+spinner\+\_\+wrap\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_ga3832676015823f8f89e979075092da5f}


Control whether the spinner should wrap when it reaches its minimum or maximum value. 

Disabled by default. If disabled, when the user tries to increment the value, but displayed value plus step value is bigger than maximum value, the new value will be the maximum value. The same happens when the user tries to decrement it, but the value less step is less than minimum value. In this case, the new displayed value will be the minimum value.

When wrap is enabled, when the user tries to increment the value, but displayed value plus step value is bigger than maximum value, the new value will be the minimum value. When the the user tries to decrement it, but the value less step is less than minimum value, the new displayed value will be the maximum value.

E.\+g.\+: {\ttfamily min} = 10 {\ttfamily max} = 50 {\ttfamily step} = 20 {\ttfamily displayed} = 20

When the user decrement value (using left or bottom arrow), it will displays \$50.

\begin{DoxyReturn}{Returns}
{\ttfamily true} to enable wrap or {\ttfamily false} to disable it. 
\end{DoxyReturn}


Referenced by elm\+\_\+spinner\+\_\+wrap\+\_\+get().

\index{Spinner@{Spinner}!elm\+\_\+obj\+\_\+spinner\+\_\+wrap\+\_\+set@{elm\+\_\+obj\+\_\+spinner\+\_\+wrap\+\_\+set}}
\index{elm\+\_\+obj\+\_\+spinner\+\_\+wrap\+\_\+set@{elm\+\_\+obj\+\_\+spinner\+\_\+wrap\+\_\+set}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+obj\+\_\+spinner\+\_\+wrap\+\_\+set(\+Eina\+\_\+\+Bool wrap)}{elm_obj_spinner_wrap_set(Eina_Bool wrap)}}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+PI void elm\+\_\+obj\+\_\+spinner\+\_\+wrap\+\_\+set (
\begin{DoxyParamCaption}
\item[{Eina\+\_\+\+Bool}]{wrap}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_gac36a01ee73171789b43f0fd600e74e47}


Control whether the spinner should wrap when it reaches its minimum or maximum value. 

Disabled by default. If disabled, when the user tries to increment the value, but displayed value plus step value is bigger than maximum value, the new value will be the maximum value. The same happens when the user tries to decrement it, but the value less step is less than minimum value. In this case, the new displayed value will be the minimum value.

When wrap is enabled, when the user tries to increment the value, but displayed value plus step value is bigger than maximum value, the new value will be the minimum value. When the the user tries to decrement it, but the value less step is less than minimum value, the new displayed value will be the maximum value.

E.\+g.\+: {\ttfamily min} = 10 {\ttfamily max} = 50 {\ttfamily step} = 20 {\ttfamily displayed} = 20

When the user decrement value (using left or bottom arrow), it will displays \$50.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em wrap} & {\ttfamily true} to enable wrap or {\ttfamily false} to disable it. \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+spinner\+\_\+wrap\+\_\+set().

\index{Spinner@{Spinner}!elm\+\_\+spinner\+\_\+add@{elm\+\_\+spinner\+\_\+add}}
\index{elm\+\_\+spinner\+\_\+add@{elm\+\_\+spinner\+\_\+add}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+spinner\+\_\+add(\+Evas\+\_\+\+Object $\ast$parent)}{elm_spinner_add(Evas_Object *parent)}}]{\setlength{\rightskip}{0pt plus 5cm}Evas\+\_\+\+Object$\ast$ elm\+\_\+spinner\+\_\+add (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{parent}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_gac259ed8ba5d597ceb982cc0170c37a63}


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


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

References elm\+\_\+layout\+\_\+sizing\+\_\+eval().

\index{Spinner@{Spinner}!elm\+\_\+spinner\+\_\+base\+\_\+get@{elm\+\_\+spinner\+\_\+base\+\_\+get}}
\index{elm\+\_\+spinner\+\_\+base\+\_\+get@{elm\+\_\+spinner\+\_\+base\+\_\+get}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+spinner\+\_\+base\+\_\+get(const Elm\+\_\+\+Spinner $\ast$obj)}{elm_spinner_base_get(const Elm_Spinner *obj)}}]{\setlength{\rightskip}{0pt plus 5cm}double elm\+\_\+spinner\+\_\+base\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Spinner $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_ga2f7a548c9f976221017292950ef9c32b}


Control the base for rounding. 

Rounding works as follows\+:

rounded\+\_\+val = base + (double)(((value -\/ base) / round) $\ast$ round)

Where rounded\+\_\+val, value and base are doubles, and round is an integer.

This means that things will be rounded to increments (or decrements) of \char`\"{}round\char`\"{} starting from value {\ttfamily base}. The default base for rounding is 0.

Example\+: round = 3, base = 2 Values\+: ..., -\/2, 0, 2, 5, 8, 11, 14, ...

Example\+: round = 2, base = 5.\+5 Values\+: ..., -\/0.\+5, 1.\+5, 3.\+5, 5.\+5, 7.\+5, 9.\+5, 11.\+5, ...

\begin{DoxyReturn}{Returns}
The base value 
\end{DoxyReturn}


References elm\+\_\+obj\+\_\+spinner\+\_\+base\+\_\+get().

\index{Spinner@{Spinner}!elm\+\_\+spinner\+\_\+base\+\_\+set@{elm\+\_\+spinner\+\_\+base\+\_\+set}}
\index{elm\+\_\+spinner\+\_\+base\+\_\+set@{elm\+\_\+spinner\+\_\+base\+\_\+set}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+spinner\+\_\+base\+\_\+set(\+Elm\+\_\+\+Spinner $\ast$obj, double base)}{elm_spinner_base_set(Elm_Spinner *obj, double base)}}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+spinner\+\_\+base\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Spinner $\ast$}]{obj, }
\item[{double}]{base}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_ga069307c3cd14616ac4ab4e215efb1320}


Control the base for rounding. 

Rounding works as follows\+:

rounded\+\_\+val = base + (double)(((value -\/ base) / round) $\ast$ round)

Where rounded\+\_\+val, value and base are doubles, and round is an integer.

This means that things will be rounded to increments (or decrements) of \char`\"{}round\char`\"{} starting from value {\ttfamily base}. The default base for rounding is 0.

Example\+: round = 3, base = 2 Values\+: ..., -\/2, 0, 2, 5, 8, 11, 14, ...

Example\+: round = 2, base = 5.\+5 Values\+: ..., -\/0.\+5, 1.\+5, 3.\+5, 5.\+5, 7.\+5, 9.\+5, 11.\+5, ...


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em base} & The base value \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+spinner\+\_\+base\+\_\+set().

\index{Spinner@{Spinner}!elm\+\_\+spinner\+\_\+editable\+\_\+get@{elm\+\_\+spinner\+\_\+editable\+\_\+get}}
\index{elm\+\_\+spinner\+\_\+editable\+\_\+get@{elm\+\_\+spinner\+\_\+editable\+\_\+get}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+spinner\+\_\+editable\+\_\+get(const Elm\+\_\+\+Spinner $\ast$obj)}{elm_spinner_editable_get(const Elm_Spinner *obj)}}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+spinner\+\_\+editable\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Spinner $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_ga3033af66d2473a8f200e7d8324a8c9de}


Control whether the spinner can be directly edited by the user or not. 

Spinner objects can have edition disabled, in which state they will be changed only by arrows. Useful for contexts where you don\textquotesingle{}t want your users to interact with it writing the value. Specially when using special values, the user can see real value instead of special label on edition.

It\textquotesingle{}s enabled by default.

\begin{DoxyReturn}{Returns}
{\ttfamily true} to allow users to edit it or {\ttfamily false} to don\textquotesingle{}t allow users to edit it directly. 
\end{DoxyReturn}


References elm\+\_\+obj\+\_\+spinner\+\_\+editable\+\_\+get().

\index{Spinner@{Spinner}!elm\+\_\+spinner\+\_\+editable\+\_\+set@{elm\+\_\+spinner\+\_\+editable\+\_\+set}}
\index{elm\+\_\+spinner\+\_\+editable\+\_\+set@{elm\+\_\+spinner\+\_\+editable\+\_\+set}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+spinner\+\_\+editable\+\_\+set(\+Elm\+\_\+\+Spinner $\ast$obj, Eina\+\_\+\+Bool editable)}{elm_spinner_editable_set(Elm_Spinner *obj, Eina_Bool editable)}}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+spinner\+\_\+editable\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Spinner $\ast$}]{obj, }
\item[{Eina\+\_\+\+Bool}]{editable}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_ga871836a2a99838adf161ea3397f8de5b}


Control whether the spinner can be directly edited by the user or not. 

Spinner objects can have edition disabled, in which state they will be changed only by arrows. Useful for contexts where you don\textquotesingle{}t want your users to interact with it writing the value. Specially when using special values, the user can see real value instead of special label on edition.

It\textquotesingle{}s enabled by default.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em editable} & {\ttfamily true} to allow users to edit it or {\ttfamily false} to don\textquotesingle{}t allow users to edit it directly. \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+spinner\+\_\+editable\+\_\+set().

\index{Spinner@{Spinner}!elm\+\_\+spinner\+\_\+interval\+\_\+get@{elm\+\_\+spinner\+\_\+interval\+\_\+get}}
\index{elm\+\_\+spinner\+\_\+interval\+\_\+get@{elm\+\_\+spinner\+\_\+interval\+\_\+get}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+spinner\+\_\+interval\+\_\+get(const Elm\+\_\+\+Spinner $\ast$obj)}{elm_spinner_interval_get(const Elm_Spinner *obj)}}]{\setlength{\rightskip}{0pt plus 5cm}double elm\+\_\+spinner\+\_\+interval\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Spinner $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_gaef9615492a58110ca00fde860479d723}


Control the interval on time updates for an user mouse button hold on spinner widgets\textquotesingle{} arrows. 

This interval value is decreased while the user holds the mouse pointer either incrementing or decrementing spinner\textquotesingle{}s value.

This helps the user to get to a given value 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 \$0.\+85 seconds.

\begin{DoxyReturn}{Returns}
The (first) interval value in seconds. 
\end{DoxyReturn}


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

\index{Spinner@{Spinner}!elm\+\_\+spinner\+\_\+interval\+\_\+set@{elm\+\_\+spinner\+\_\+interval\+\_\+set}}
\index{elm\+\_\+spinner\+\_\+interval\+\_\+set@{elm\+\_\+spinner\+\_\+interval\+\_\+set}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+spinner\+\_\+interval\+\_\+set(\+Elm\+\_\+\+Spinner $\ast$obj, double interval)}{elm_spinner_interval_set(Elm_Spinner *obj, double interval)}}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+spinner\+\_\+interval\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Spinner $\ast$}]{obj, }
\item[{double}]{interval}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_ga61529b6a5bc0204a471b8f9f96248bd2}


Control the interval on time updates for an user mouse button hold on spinner widgets\textquotesingle{} arrows. 

This interval value is decreased while the user holds the mouse pointer either incrementing or decrementing spinner\textquotesingle{}s value.

This helps the user to get to a given value 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 \$0.\+85 seconds.


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


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

\index{Spinner@{Spinner}!elm\+\_\+spinner\+\_\+label\+\_\+format\+\_\+get@{elm\+\_\+spinner\+\_\+label\+\_\+format\+\_\+get}}
\index{elm\+\_\+spinner\+\_\+label\+\_\+format\+\_\+get@{elm\+\_\+spinner\+\_\+label\+\_\+format\+\_\+get}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+spinner\+\_\+label\+\_\+format\+\_\+get(const Elm\+\_\+\+Spinner $\ast$obj)}{elm_spinner_label_format_get(const Elm_Spinner *obj)}}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ elm\+\_\+spinner\+\_\+label\+\_\+format\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Spinner $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_ga4ecba31f3874799d43825bb9d37ffbf0}


Control the format string of the displayed label. 

If {\ttfamily N\+U\+LL}, this sets the format to \char`\"{}\%.\+0f\char`\"{}. If not it sets the format string for the label text. The label text is provided a floating point value, so the label text can display up to 1 floating point value. Note that this is optional.

Use a format string such as \char`\"{}\%1.\+2f meters\char`\"{} for example, and it will display values like\+: \char`\"{}3.\+14 meters\char`\"{} for a value equal to 3.\+14159.

Default is \char`\"{}\%0.\+f\char`\"{}.

\begin{DoxyReturn}{Returns}
The format string for the label display. 
\end{DoxyReturn}


References elm\+\_\+obj\+\_\+spinner\+\_\+label\+\_\+format\+\_\+get().

\index{Spinner@{Spinner}!elm\+\_\+spinner\+\_\+label\+\_\+format\+\_\+set@{elm\+\_\+spinner\+\_\+label\+\_\+format\+\_\+set}}
\index{elm\+\_\+spinner\+\_\+label\+\_\+format\+\_\+set@{elm\+\_\+spinner\+\_\+label\+\_\+format\+\_\+set}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+spinner\+\_\+label\+\_\+format\+\_\+set(\+Elm\+\_\+\+Spinner $\ast$obj, const char $\ast$fmt)}{elm_spinner_label_format_set(Elm_Spinner *obj, const char *fmt)}}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+spinner\+\_\+label\+\_\+format\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Spinner $\ast$}]{obj, }
\item[{const char $\ast$}]{fmt}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_ga7a0e836516e3517c26ee3f2d44a77cb2}


Control the format string of the displayed label. 

If {\ttfamily N\+U\+LL}, this sets the format to \char`\"{}\%.\+0f\char`\"{}. If not it sets the format string for the label text. The label text is provided a floating point value, so the label text can display up to 1 floating point value. Note that this is optional.

Use a format string such as \char`\"{}\%1.\+2f meters\char`\"{} for example, and it will display values like\+: \char`\"{}3.\+14 meters\char`\"{} for a value equal to 3.\+14159.

Default is \char`\"{}\%0.\+f\char`\"{}.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em fmt} & The format string for the label display. \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+spinner\+\_\+label\+\_\+format\+\_\+set().

\index{Spinner@{Spinner}!elm\+\_\+spinner\+\_\+min\+\_\+max\+\_\+get@{elm\+\_\+spinner\+\_\+min\+\_\+max\+\_\+get}}
\index{elm\+\_\+spinner\+\_\+min\+\_\+max\+\_\+get@{elm\+\_\+spinner\+\_\+min\+\_\+max\+\_\+get}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+spinner\+\_\+min\+\_\+max\+\_\+get(const Elm\+\_\+\+Spinner $\ast$obj, double $\ast$min, double $\ast$max)}{elm_spinner_min_max_get(const Elm_Spinner *obj, double *min, double *max)}}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+spinner\+\_\+min\+\_\+max\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Spinner $\ast$}]{obj, }
\item[{double $\ast$}]{min, }
\item[{double $\ast$}]{max}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_gaccea2614db66f270b509123f9e5e737c}


Control the minimum and maximum values for the spinner. 

Define the allowed range of values to be selected by the user.

If actual value is less than {\ttfamily min}, it will be updated to {\ttfamily min}. If it is bigger then {\ttfamily max}, will be updated to {\ttfamily max}. Actual value can be get with \hyperlink{group__Elm__Spinner_gac2a9d4a2e05073be0495e3323f52b7ab}{elm\+\_\+spinner\+\_\+value\+\_\+get}.

By default, min is equal to 0, and max is equal to 100.

\begin{DoxyWarning}{Warning}
Maximum must be greater than minimum.
\end{DoxyWarning}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em min} & The minimum value. \\
\hline
\mbox{\tt out}  & {\em max} & The maximum value. \\
\hline
\end{DoxyParams}


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

\index{Spinner@{Spinner}!elm\+\_\+spinner\+\_\+min\+\_\+max\+\_\+set@{elm\+\_\+spinner\+\_\+min\+\_\+max\+\_\+set}}
\index{elm\+\_\+spinner\+\_\+min\+\_\+max\+\_\+set@{elm\+\_\+spinner\+\_\+min\+\_\+max\+\_\+set}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+spinner\+\_\+min\+\_\+max\+\_\+set(\+Elm\+\_\+\+Spinner $\ast$obj, double min, double max)}{elm_spinner_min_max_set(Elm_Spinner *obj, double min, double max)}}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+spinner\+\_\+min\+\_\+max\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Spinner $\ast$}]{obj, }
\item[{double}]{min, }
\item[{double}]{max}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_ga9f5049e1e041da55adb65ddbf89a1a45}


Control the minimum and maximum values for the spinner. 

Define the allowed range of values to be selected by the user.

If actual value is less than {\ttfamily min}, it will be updated to {\ttfamily min}. If it is bigger then {\ttfamily max}, will be updated to {\ttfamily max}. Actual value can be get with \hyperlink{group__Elm__Spinner_gac2a9d4a2e05073be0495e3323f52b7ab}{elm\+\_\+spinner\+\_\+value\+\_\+get}.

By default, min is equal to 0, and max is equal to 100.

\begin{DoxyWarning}{Warning}
Maximum must be greater than minimum.
\end{DoxyWarning}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em min} & The minimum value. \\
\hline
\mbox{\tt in}  & {\em max} & The maximum value. \\
\hline
\end{DoxyParams}


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

\index{Spinner@{Spinner}!elm\+\_\+spinner\+\_\+round\+\_\+get@{elm\+\_\+spinner\+\_\+round\+\_\+get}}
\index{elm\+\_\+spinner\+\_\+round\+\_\+get@{elm\+\_\+spinner\+\_\+round\+\_\+get}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+spinner\+\_\+round\+\_\+get(const Elm\+\_\+\+Spinner $\ast$obj)}{elm_spinner_round_get(const Elm_Spinner *obj)}}]{\setlength{\rightskip}{0pt plus 5cm}int elm\+\_\+spinner\+\_\+round\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Spinner $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_gaaef0dcd12c7f6e6f04b52718e1cd1fc4}


Control the round value for rounding. 

Sets the rounding value used for value rounding in the spinner.

\begin{DoxyReturn}{Returns}
The rounding value 
\end{DoxyReturn}


References elm\+\_\+obj\+\_\+spinner\+\_\+round\+\_\+get().

\index{Spinner@{Spinner}!elm\+\_\+spinner\+\_\+round\+\_\+set@{elm\+\_\+spinner\+\_\+round\+\_\+set}}
\index{elm\+\_\+spinner\+\_\+round\+\_\+set@{elm\+\_\+spinner\+\_\+round\+\_\+set}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+spinner\+\_\+round\+\_\+set(\+Elm\+\_\+\+Spinner $\ast$obj, int rnd)}{elm_spinner_round_set(Elm_Spinner *obj, int rnd)}}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+spinner\+\_\+round\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Spinner $\ast$}]{obj, }
\item[{int}]{rnd}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_ga4eef0fcf8ac9944012a6c2cf3541a63f}


Control the round value for rounding. 

Sets the rounding value used for value rounding in the spinner.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em rnd} & The rounding value \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+spinner\+\_\+round\+\_\+set().

\index{Spinner@{Spinner}!elm\+\_\+spinner\+\_\+special\+\_\+value\+\_\+add@{elm\+\_\+spinner\+\_\+special\+\_\+value\+\_\+add}}
\index{elm\+\_\+spinner\+\_\+special\+\_\+value\+\_\+add@{elm\+\_\+spinner\+\_\+special\+\_\+value\+\_\+add}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+spinner\+\_\+special\+\_\+value\+\_\+add(\+Elm\+\_\+\+Spinner $\ast$obj, double value, const char $\ast$label)}{elm_spinner_special_value_add(Elm_Spinner *obj, double value, const char *label)}}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+spinner\+\_\+special\+\_\+value\+\_\+add (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Spinner $\ast$}]{obj, }
\item[{double}]{value, }
\item[{const char $\ast$}]{label}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_ga1ff25983507022abbfd089ce3a4ffde1}


Control special string to display in the place of the numerical value. 

It\textquotesingle{}s useful for cases when a user should select an item that is better indicated by a label than a value. For example, weekdays or months.

\begin{DoxyNote}{Note}
If another label was previously set to {\ttfamily value}, it will be replaced by the new label.
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em label} & The label to be used. \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+spinner\+\_\+special\+\_\+value\+\_\+add().

\index{Spinner@{Spinner}!elm\+\_\+spinner\+\_\+special\+\_\+value\+\_\+del@{elm\+\_\+spinner\+\_\+special\+\_\+value\+\_\+del}}
\index{elm\+\_\+spinner\+\_\+special\+\_\+value\+\_\+del@{elm\+\_\+spinner\+\_\+special\+\_\+value\+\_\+del}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+spinner\+\_\+special\+\_\+value\+\_\+del(\+Evas\+\_\+\+Object $\ast$obj, double value)}{elm_spinner_special_value_del(Evas_Object *obj, double value)}}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+spinner\+\_\+special\+\_\+value\+\_\+del (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{double}]{value}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_ga5faa31fa6b9b5ccd0b3657ac013e641c}


Delete the special string display in the place of the numerical value. 


\begin{DoxyParams}{Parameters}
{\em obj} & The spinner object. \\
\hline
{\em value} & The replaced value.\\
\hline
\end{DoxyParams}
It will remove a previously added special value. After this, the spinner will display the value itself instead of a label.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Elm__Spinner_ga1ff25983507022abbfd089ce3a4ffde1}{elm\+\_\+spinner\+\_\+special\+\_\+value\+\_\+add()} for more details.
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\index{Spinner@{Spinner}!elm\+\_\+spinner\+\_\+special\+\_\+value\+\_\+get@{elm\+\_\+spinner\+\_\+special\+\_\+value\+\_\+get}}
\index{elm\+\_\+spinner\+\_\+special\+\_\+value\+\_\+get@{elm\+\_\+spinner\+\_\+special\+\_\+value\+\_\+get}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+spinner\+\_\+special\+\_\+value\+\_\+get(\+Evas\+\_\+\+Object $\ast$obj, double value)}{elm_spinner_special_value_get(Evas_Object *obj, double value)}}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ elm\+\_\+spinner\+\_\+special\+\_\+value\+\_\+get (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{double}]{value}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_ga88fdf2be4a61e6312dac6d0ece11b088}


Get the special string display in the place of the numerical value. 


\begin{DoxyParams}{Parameters}
{\em obj} & The spinner object. \\
\hline
{\em value} & The replaced value. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The used label.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Elm__Spinner_ga1ff25983507022abbfd089ce3a4ffde1}{elm\+\_\+spinner\+\_\+special\+\_\+value\+\_\+add()} for more details.
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References elm\+\_\+layout\+\_\+text\+\_\+get().

\index{Spinner@{Spinner}!elm\+\_\+spinner\+\_\+step\+\_\+get@{elm\+\_\+spinner\+\_\+step\+\_\+get}}
\index{elm\+\_\+spinner\+\_\+step\+\_\+get@{elm\+\_\+spinner\+\_\+step\+\_\+get}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+spinner\+\_\+step\+\_\+get(const Elm\+\_\+\+Spinner $\ast$obj)}{elm_spinner_step_get(const Elm_Spinner *obj)}}]{\setlength{\rightskip}{0pt plus 5cm}double elm\+\_\+spinner\+\_\+step\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Spinner $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_gaa2fba3172074f65a3b7a82934b3d356f}


Control the step used to increment or decrement the spinner value. 

This value will be incremented or decremented to the displayed value. It will be incremented while the user keep right or top arrow pressed, and will be decremented while the user keep left or bottom arrow pressed.

The interval to increment / decrement can be set with \hyperlink{group__Elm__Spinner_ga61529b6a5bc0204a471b8f9f96248bd2}{elm\+\_\+spinner\+\_\+interval\+\_\+set}.

By default step value is equal to 1.

\begin{DoxyReturn}{Returns}
The step value. 
\end{DoxyReturn}


References elm\+\_\+obj\+\_\+spinner\+\_\+step\+\_\+get().

\index{Spinner@{Spinner}!elm\+\_\+spinner\+\_\+step\+\_\+set@{elm\+\_\+spinner\+\_\+step\+\_\+set}}
\index{elm\+\_\+spinner\+\_\+step\+\_\+set@{elm\+\_\+spinner\+\_\+step\+\_\+set}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+spinner\+\_\+step\+\_\+set(\+Elm\+\_\+\+Spinner $\ast$obj, double step)}{elm_spinner_step_set(Elm_Spinner *obj, double step)}}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+spinner\+\_\+step\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Spinner $\ast$}]{obj, }
\item[{double}]{step}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_ga9c403c1f29a59a13f75d6c74efd88713}


Control the step used to increment or decrement the spinner value. 

This value will be incremented or decremented to the displayed value. It will be incremented while the user keep right or top arrow pressed, and will be decremented while the user keep left or bottom arrow pressed.

The interval to increment / decrement can be set with \hyperlink{group__Elm__Spinner_ga61529b6a5bc0204a471b8f9f96248bd2}{elm\+\_\+spinner\+\_\+interval\+\_\+set}.

By default step value is equal to 1.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em step} & The step value. \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+spinner\+\_\+step\+\_\+set().

\index{Spinner@{Spinner}!elm\+\_\+spinner\+\_\+value\+\_\+get@{elm\+\_\+spinner\+\_\+value\+\_\+get}}
\index{elm\+\_\+spinner\+\_\+value\+\_\+get@{elm\+\_\+spinner\+\_\+value\+\_\+get}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+spinner\+\_\+value\+\_\+get(const Elm\+\_\+\+Spinner $\ast$obj)}{elm_spinner_value_get(const Elm_Spinner *obj)}}]{\setlength{\rightskip}{0pt plus 5cm}double elm\+\_\+spinner\+\_\+value\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Spinner $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_gac2a9d4a2e05073be0495e3323f52b7ab}


Control the value the spinner displays. 

Value will be presented on the label following format specified with elm\+\_\+spinner\+\_\+format\+\_\+set().

Warning The value must to be between min and max values. This values are set by \hyperlink{group__Elm__Spinner_ga9f5049e1e041da55adb65ddbf89a1a45}{elm\+\_\+spinner\+\_\+min\+\_\+max\+\_\+set()}.

\begin{DoxyReturn}{Returns}
The value to be displayed. 
\end{DoxyReturn}


References elm\+\_\+obj\+\_\+spinner\+\_\+value\+\_\+get().

\index{Spinner@{Spinner}!elm\+\_\+spinner\+\_\+value\+\_\+set@{elm\+\_\+spinner\+\_\+value\+\_\+set}}
\index{elm\+\_\+spinner\+\_\+value\+\_\+set@{elm\+\_\+spinner\+\_\+value\+\_\+set}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+spinner\+\_\+value\+\_\+set(\+Elm\+\_\+\+Spinner $\ast$obj, double val)}{elm_spinner_value_set(Elm_Spinner *obj, double val)}}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+spinner\+\_\+value\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Spinner $\ast$}]{obj, }
\item[{double}]{val}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_ga8f90df6f1d6944c20adb6443ad4f0938}


Control the value the spinner displays. 

Value will be presented on the label following format specified with elm\+\_\+spinner\+\_\+format\+\_\+set().

Warning The value must to be between min and max values. This values are set by \hyperlink{group__Elm__Spinner_ga9f5049e1e041da55adb65ddbf89a1a45}{elm\+\_\+spinner\+\_\+min\+\_\+max\+\_\+set()}.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em val} & The value to be displayed. \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+spinner\+\_\+value\+\_\+set().

\index{Spinner@{Spinner}!elm\+\_\+spinner\+\_\+wrap\+\_\+get@{elm\+\_\+spinner\+\_\+wrap\+\_\+get}}
\index{elm\+\_\+spinner\+\_\+wrap\+\_\+get@{elm\+\_\+spinner\+\_\+wrap\+\_\+get}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+spinner\+\_\+wrap\+\_\+get(const Elm\+\_\+\+Spinner $\ast$obj)}{elm_spinner_wrap_get(const Elm_Spinner *obj)}}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+spinner\+\_\+wrap\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Spinner $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_gac289f5e7c59a3db1856369ca0b213f92}


Control whether the spinner should wrap when it reaches its minimum or maximum value. 

Disabled by default. If disabled, when the user tries to increment the value, but displayed value plus step value is bigger than maximum value, the new value will be the maximum value. The same happens when the user tries to decrement it, but the value less step is less than minimum value. In this case, the new displayed value will be the minimum value.

When wrap is enabled, when the user tries to increment the value, but displayed value plus step value is bigger than maximum value, the new value will be the minimum value. When the the user tries to decrement it, but the value less step is less than minimum value, the new displayed value will be the maximum value.

E.\+g.\+: {\ttfamily min} = 10 {\ttfamily max} = 50 {\ttfamily step} = 20 {\ttfamily displayed} = 20

When the user decrement value (using left or bottom arrow), it will displays \$50.

\begin{DoxyReturn}{Returns}
{\ttfamily true} to enable wrap or {\ttfamily false} to disable it. 
\end{DoxyReturn}


References elm\+\_\+obj\+\_\+spinner\+\_\+wrap\+\_\+get().

\index{Spinner@{Spinner}!elm\+\_\+spinner\+\_\+wrap\+\_\+set@{elm\+\_\+spinner\+\_\+wrap\+\_\+set}}
\index{elm\+\_\+spinner\+\_\+wrap\+\_\+set@{elm\+\_\+spinner\+\_\+wrap\+\_\+set}!Spinner@{Spinner}}
\subsubsection[{\texorpdfstring{elm\+\_\+spinner\+\_\+wrap\+\_\+set(\+Elm\+\_\+\+Spinner $\ast$obj, Eina\+\_\+\+Bool wrap)}{elm_spinner_wrap_set(Elm_Spinner *obj, Eina_Bool wrap)}}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+spinner\+\_\+wrap\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Spinner $\ast$}]{obj, }
\item[{Eina\+\_\+\+Bool}]{wrap}
\end{DoxyParamCaption}
)}\label{group__Elm__Spinner_gac24e7133ec989eb5ba20e087a0921d16}


Control whether the spinner should wrap when it reaches its minimum or maximum value. 

Disabled by default. If disabled, when the user tries to increment the value, but displayed value plus step value is bigger than maximum value, the new value will be the maximum value. The same happens when the user tries to decrement it, but the value less step is less than minimum value. In this case, the new displayed value will be the minimum value.

When wrap is enabled, when the user tries to increment the value, but displayed value plus step value is bigger than maximum value, the new value will be the minimum value. When the the user tries to decrement it, but the value less step is less than minimum value, the new displayed value will be the maximum value.

E.\+g.\+: {\ttfamily min} = 10 {\ttfamily max} = 50 {\ttfamily step} = 20 {\ttfamily displayed} = 20

When the user decrement value (using left or bottom arrow), it will displays \$50.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em wrap} & {\ttfamily true} to enable wrap or {\ttfamily false} to disable it. \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+spinner\+\_\+wrap\+\_\+set().

