\section{Slider}
\label{group__Slider}\index{Slider@{Slider}}
\subsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{group__Slider_gad033108965430057cfcd75f9edbebc6a}{Elm\+\_\+\+Slider\+\_\+\+Indicator\+\_\+\+Visible\+\_\+\+Mode} \{ \\*
\hyperlink{group__Slider_ggad033108965430057cfcd75f9edbebc6aa1df354e52f81a8df27909d778073b5c3}{E\+L\+M\+\_\+\+S\+L\+I\+D\+E\+R\+\_\+\+I\+N\+D\+I\+C\+A\+T\+O\+R\+\_\+\+V\+I\+S\+I\+B\+L\+E\+\_\+\+M\+O\+D\+E\+\_\+\+D\+E\+F\+A\+U\+L\+T}, 
\\*
\hyperlink{group__Slider_ggad033108965430057cfcd75f9edbebc6aa61646bdd3bbc4e801393cb1b92bfc8e6}{E\+L\+M\+\_\+\+S\+L\+I\+D\+E\+R\+\_\+\+I\+N\+D\+I\+C\+A\+T\+O\+R\+\_\+\+V\+I\+S\+I\+B\+L\+E\+\_\+\+M\+O\+D\+E\+\_\+\+A\+L\+W\+A\+Y\+S}, 
\\*
\hyperlink{group__Slider_ggad033108965430057cfcd75f9edbebc6aa199574b4ca392781f5edc1244d336750}{E\+L\+M\+\_\+\+S\+L\+I\+D\+E\+R\+\_\+\+I\+N\+D\+I\+C\+A\+T\+O\+R\+\_\+\+V\+I\+S\+I\+B\+L\+E\+\_\+\+M\+O\+D\+E\+\_\+\+O\+N\+\_\+\+F\+O\+C\+U\+S}, 
\\*
\hyperlink{group__Slider_ggad033108965430057cfcd75f9edbebc6aa18605b03fcf653cb719fd111175a30c2}{E\+L\+M\+\_\+\+S\+L\+I\+D\+E\+R\+\_\+\+I\+N\+D\+I\+C\+A\+T\+O\+R\+\_\+\+V\+I\+S\+I\+B\+L\+E\+\_\+\+M\+O\+D\+E\+\_\+\+N\+O\+N\+E}
 \}\begin{DoxyCompactList}\small\item\em Slider\textquotesingle{}s indicator visiblity mode. \end{DoxyCompactList}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{group__Slider_gac83f2a799d832f1070010a303d5cac36}{elm\+\_\+config\+\_\+slider\+\_\+indicator\+\_\+visible\+\_\+mode\+\_\+set} (\hyperlink{group__Slider_gad033108965430057cfcd75f9edbebc6a}{Elm\+\_\+\+Slider\+\_\+\+Indicator\+\_\+\+Visible\+\_\+\+Mode} mode)
\begin{DoxyCompactList}\small\item\em Sets the slider\textquotesingle{}s indicator visible mode. \end{DoxyCompactList}\item 
\hyperlink{group__Slider_gad033108965430057cfcd75f9edbebc6a}{Elm\+\_\+\+Slider\+\_\+\+Indicator\+\_\+\+Visible\+\_\+\+Mode} \hyperlink{group__Slider_ga1d78d9bfd9427cf46c573294b29229cc}{elm\+\_\+config\+\_\+slider\+\_\+indicator\+\_\+visible\+\_\+mode\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get the slider\textquotesingle{}s indicator visible mode. \end{DoxyCompactList}\item 
Evas\+\_\+\+Object $\ast$ \hyperlink{group__Slider_ga15ade2fc52942975429bb3c864a8a258}{elm\+\_\+slider\+\_\+add} (Evas\+\_\+\+Object $\ast$parent)
\begin{DoxyCompactList}\small\item\em Add a new slider widget to the given parent Elementary (container) object. \end{DoxyCompactList}\end{DoxyCompactItemize}


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


 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics[width=\textwidth]{img/widget/slider/preview-00}}
\end{DoxyImageNoCaption}


The slider adds a draggable “slider” widget for selecting the value of something within a range.

A slider can be horizontal or vertical. It can contain an Icon and has a primary label as well as a units label (that is formatted with floating point values and thus accepts a printf-\/style format string, like “\%1.\+2f units”. There is also an indicator string that may be somewhere else (like on the slider itself) that also accepts a format string like units. Label, Icon Unit and Indicator strings/objects are optional.

A slider may be inverted which means values invert, with high vales being on the left or top and low values on the right or bottom (as opposed to normally being low on the left or top and high on the bottom and right).

The slider should have its minimum and maximum values set by the application with elm\+\_\+slider\+\_\+min\+\_\+max\+\_\+set() and value should also be set by the application before use with elm\+\_\+slider\+\_\+value\+\_\+set(). The span of the slider is its length (horizontally or vertically). This will be scaled by the object or applications scaling factor. At any point code can query the slider for its value with elm\+\_\+slider\+\_\+value\+\_\+get().

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

This widget emits the following signals, besides the ones sent from Layout\+:
\begin{DoxyItemize}
\item {\ttfamily \char`\"{}changed\char`\"{}} -\/ Whenever the slider value is changed by the user.
\item {\ttfamily \char`\"{}slider,drag,start\char`\"{}} -\/ dragging the slider indicator around has started.
\item {\ttfamily \char`\"{}slider,drag,stop\char`\"{}} -\/ dragging the slider indicator around has stopped.
\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`\"{}focused\char`\"{}} -\/ When the slider has received focus. (since 1.\+8)
\item {\ttfamily \char`\"{}unfocused\char`\"{}} -\/ When the slider has lost focus. (since 1.\+8)
\item {\ttfamily \char`\"{}language,changed\char`\"{}} -\/ the program\textquotesingle{}s language changed (since 1.\+9)
\end{DoxyItemize}

Available styles for it\+:
\begin{DoxyItemize}
\item {\ttfamily \char`\"{}default\char`\"{}} 
\end{DoxyItemize}

Default content parts of the slider widget that you can use for are\+: \begin{DoxyItemize}
\item \char`\"{}icon\char`\"{} -\/ An icon of the slider \item \char`\"{}end\char`\"{} -\/ A end part content of the slider\end{DoxyItemize}
Default text parts of the slider widget that you can use for are\+: \begin{DoxyItemize}
\item \char`\"{}default\char`\"{} -\/ A label of the slider\end{DoxyItemize}
Supported elm\+\_\+object common A\+P\+Is. \begin{DoxyItemize}
\item \hyperlink{group__General_ga6849a57df3316eabad5bec443bf87597}{elm\+\_\+object\+\_\+disabled\+\_\+set} \item \hyperlink{group__General_ga3ecb0d6b4e76ff39006f218942c7950d}{elm\+\_\+object\+\_\+disabled\+\_\+get} \item \hyperlink{group__General_ga9c088563c442670796564d2e5158f154}{elm\+\_\+object\+\_\+part\+\_\+text\+\_\+set} \item \hyperlink{group__General_ga965e34858eb4b80b7a4b5feda732bf27}{elm\+\_\+object\+\_\+part\+\_\+text\+\_\+get} \item \hyperlink{group__General_ga0531ec8867c72def7c780601764ca642}{elm\+\_\+object\+\_\+part\+\_\+content\+\_\+set} \item \hyperlink{group__General_ga32413f4d59d8232cd362a922a281abf1}{elm\+\_\+object\+\_\+part\+\_\+content\+\_\+get} \item \hyperlink{group__General_gadc5a1df25fe17e31739841133b53b5fc}{elm\+\_\+object\+\_\+part\+\_\+content\+\_\+unset}\end{DoxyItemize}
Here is an example on its usage\+: \begin{DoxyItemize}
\item \hyperlink{slider_example}{Slider widget example} \end{DoxyItemize}


\subsection{Enumeration Type Documentation}
\index{Slider@{Slider}!Elm\+\_\+\+Slider\+\_\+\+Indicator\+\_\+\+Visible\+\_\+\+Mode@{Elm\+\_\+\+Slider\+\_\+\+Indicator\+\_\+\+Visible\+\_\+\+Mode}}
\index{Elm\+\_\+\+Slider\+\_\+\+Indicator\+\_\+\+Visible\+\_\+\+Mode@{Elm\+\_\+\+Slider\+\_\+\+Indicator\+\_\+\+Visible\+\_\+\+Mode}!Slider@{Slider}}
\subsubsection[{Elm\+\_\+\+Slider\+\_\+\+Indicator\+\_\+\+Visible\+\_\+\+Mode}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Elm\+\_\+\+Slider\+\_\+\+Indicator\+\_\+\+Visible\+\_\+\+Mode}}\label{group__Slider_gad033108965430057cfcd75f9edbebc6a}


Slider\textquotesingle{}s indicator visiblity mode. 

\begin{DoxySince}{Since}
1.\+13 
\end{DoxySince}
\begin{Desc}
\item[Enumerator]\par
\begin{description}
\index{E\+L\+M\+\_\+\+S\+L\+I\+D\+E\+R\+\_\+\+I\+N\+D\+I\+C\+A\+T\+O\+R\+\_\+\+V\+I\+S\+I\+B\+L\+E\+\_\+\+M\+O\+D\+E\+\_\+\+D\+E\+F\+A\+U\+L\+T@{E\+L\+M\+\_\+\+S\+L\+I\+D\+E\+R\+\_\+\+I\+N\+D\+I\+C\+A\+T\+O\+R\+\_\+\+V\+I\+S\+I\+B\+L\+E\+\_\+\+M\+O\+D\+E\+\_\+\+D\+E\+F\+A\+U\+L\+T}!Slider@{Slider}}\index{Slider@{Slider}!E\+L\+M\+\_\+\+S\+L\+I\+D\+E\+R\+\_\+\+I\+N\+D\+I\+C\+A\+T\+O\+R\+\_\+\+V\+I\+S\+I\+B\+L\+E\+\_\+\+M\+O\+D\+E\+\_\+\+D\+E\+F\+A\+U\+L\+T@{E\+L\+M\+\_\+\+S\+L\+I\+D\+E\+R\+\_\+\+I\+N\+D\+I\+C\+A\+T\+O\+R\+\_\+\+V\+I\+S\+I\+B\+L\+E\+\_\+\+M\+O\+D\+E\+\_\+\+D\+E\+F\+A\+U\+L\+T}}\item[{\em 
E\+L\+M\+\_\+\+S\+L\+I\+D\+E\+R\+\_\+\+I\+N\+D\+I\+C\+A\+T\+O\+R\+\_\+\+V\+I\+S\+I\+B\+L\+E\+\_\+\+M\+O\+D\+E\+\_\+\+D\+E\+F\+A\+U\+L\+T\label{group__Slider_ggad033108965430057cfcd75f9edbebc6aa1df354e52f81a8df27909d778073b5c3}
}]show indicator on mouse down or change in slider value \index{E\+L\+M\+\_\+\+S\+L\+I\+D\+E\+R\+\_\+\+I\+N\+D\+I\+C\+A\+T\+O\+R\+\_\+\+V\+I\+S\+I\+B\+L\+E\+\_\+\+M\+O\+D\+E\+\_\+\+A\+L\+W\+A\+Y\+S@{E\+L\+M\+\_\+\+S\+L\+I\+D\+E\+R\+\_\+\+I\+N\+D\+I\+C\+A\+T\+O\+R\+\_\+\+V\+I\+S\+I\+B\+L\+E\+\_\+\+M\+O\+D\+E\+\_\+\+A\+L\+W\+A\+Y\+S}!Slider@{Slider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\+V\+I\+S\+I\+B\+L\+E\+\_\+\+M\+O\+D\+E\+\_\+\+O\+N\+\_\+\+F\+O\+C\+U\+S}}\item[{\em 
E\+L\+M\+\_\+\+S\+L\+I\+D\+E\+R\+\_\+\+I\+N\+D\+I\+C\+A\+T\+O\+R\+\_\+\+V\+I\+S\+I\+B\+L\+E\+\_\+\+M\+O\+D\+E\+\_\+\+O\+N\+\_\+\+F\+O\+C\+U\+S\label{group__Slider_ggad033108965430057cfcd75f9edbebc6aa199574b4ca392781f5edc1244d336750}
}]Show the indicator on focus. \index{E\+L\+M\+\_\+\+S\+L\+I\+D\+E\+R\+\_\+\+I\+N\+D\+I\+C\+A\+T\+O\+R\+\_\+\+V\+I\+S\+I\+B\+L\+E\+\_\+\+M\+O\+D\+E\+\_\+\+N\+O\+N\+E@{E\+L\+M\+\_\+\+S\+L\+I\+D\+E\+R\+\_\+\+I\+N\+D\+I\+C\+A\+T\+O\+R\+\_\+\+V\+I\+S\+I\+B\+L\+E\+\_\+\+M\+O\+D\+E\+\_\+\+N\+O\+N\+E}!Slider@{Slider}}\index{Slider@{Slider}!E\+L\+M\+\_\+\+S\+L\+I\+D\+E\+R\+\_\+\+I\+N\+D\+I\+C\+A\+T\+O\+R\+\_\+\+V\+I\+S\+I\+B\+L\+E\+\_\+\+M\+O\+D\+E\+\_\+\+N\+O\+N\+E@{E\+L\+M\+\_\+\+S\+L\+I\+D\+E\+R\+\_\+\+I\+N\+D\+I\+C\+A\+T\+O\+R\+\_\+\+V\+I\+S\+I\+B\+L\+E\+\_\+\+M\+O\+D\+E\+\_\+\+N\+O\+N\+E}}\item[{\em 
E\+L\+M\+\_\+\+S\+L\+I\+D\+E\+R\+\_\+\+I\+N\+D\+I\+C\+A\+T\+O\+R\+\_\+\+V\+I\+S\+I\+B\+L\+E\+\_\+\+M\+O\+D\+E\+\_\+\+N\+O\+N\+E\label{group__Slider_ggad033108965430057cfcd75f9edbebc6aa18605b03fcf653cb719fd111175a30c2}
}]Never show the indicator. \end{description}
\end{Desc}


\subsection{Function Documentation}
\index{Slider@{Slider}!elm\+\_\+config\+\_\+slider\+\_\+indicator\+\_\+visible\+\_\+mode\+\_\+get@{elm\+\_\+config\+\_\+slider\+\_\+indicator\+\_\+visible\+\_\+mode\+\_\+get}}
\index{elm\+\_\+config\+\_\+slider\+\_\+indicator\+\_\+visible\+\_\+mode\+\_\+get@{elm\+\_\+config\+\_\+slider\+\_\+indicator\+\_\+visible\+\_\+mode\+\_\+get}!Slider@{Slider}}
\subsubsection[{elm\+\_\+config\+\_\+slider\+\_\+indicator\+\_\+visible\+\_\+mode\+\_\+get(void)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Elm\+\_\+\+Slider\+\_\+\+Indicator\+\_\+\+Visible\+\_\+\+Mode} elm\+\_\+config\+\_\+slider\+\_\+indicator\+\_\+visible\+\_\+mode\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Slider_ga1d78d9bfd9427cf46c573294b29229cc}


Get the slider\textquotesingle{}s indicator visible mode. 


\begin{DoxyParams}{Parameters}
{\em obj} & The slider object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+L\+M\+\_\+\+S\+L\+I\+D\+E\+R\+\_\+\+I\+N\+D\+I\+C\+A\+T\+O\+R\+\_\+\+V\+I\+S\+I\+B\+L\+E\+\_\+\+M\+O\+D\+E\+\_\+\+D\+E\+F\+A\+U\+L\+T} if not set anything by the user. {\ttfamily E\+L\+M\+\_\+\+S\+L\+I\+D\+E\+R\+\_\+\+I\+N\+D\+I\+C\+A\+T\+O\+R\+\_\+\+V\+I\+S\+I\+B\+L\+E\+\_\+\+M\+O\+D\+E\+\_\+\+A\+L\+W\+A\+Y\+S}, E\+L\+M\+\_\+\+S\+L\+I\+D\+E\+R\+\_\+\+I\+N\+D\+I\+C\+A\+T\+O\+R\+\_\+\+V\+I\+S\+I\+B\+L\+E\+\_\+\+M\+O\+D\+E\+\_\+\+O\+N\+\_\+\+F\+O\+C\+U\+S, E\+L\+M\+\_\+\+S\+L\+I\+D\+E\+R\+\_\+\+I\+N\+D\+I\+C\+A\+T\+O\+R\+\_\+\+V\+I\+S\+I\+B\+L\+E\+\_\+\+M\+O\+D\+E\+\_\+\+N\+O\+N\+E if any of the above is set by user.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+13 
\end{DoxySince}
\index{Slider@{Slider}!elm\+\_\+config\+\_\+slider\+\_\+indicator\+\_\+visible\+\_\+mode\+\_\+set@{elm\+\_\+config\+\_\+slider\+\_\+indicator\+\_\+visible\+\_\+mode\+\_\+set}}
\index{elm\+\_\+config\+\_\+slider\+\_\+indicator\+\_\+visible\+\_\+mode\+\_\+set@{elm\+\_\+config\+\_\+slider\+\_\+indicator\+\_\+visible\+\_\+mode\+\_\+set}!Slider@{Slider}}
\subsubsection[{elm\+\_\+config\+\_\+slider\+\_\+indicator\+\_\+visible\+\_\+mode\+\_\+set(\+Elm\+\_\+\+Slider\+\_\+\+Indicator\+\_\+\+Visible\+\_\+\+Mode mode)}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+config\+\_\+slider\+\_\+indicator\+\_\+visible\+\_\+mode\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Elm\+\_\+\+Slider\+\_\+\+Indicator\+\_\+\+Visible\+\_\+\+Mode}}]{mode}
\end{DoxyParamCaption}
)}\label{group__Slider_gac83f2a799d832f1070010a303d5cac36}


Sets the slider\textquotesingle{}s indicator visible mode. 


\begin{DoxyParams}{Parameters}
{\em obj} & The slider object. \\
\hline
{\em mode} & Elm\+\_\+\+Slider\+\_\+\+Indicator\+\_\+\+Visible\+\_\+\+Mode. viewport.\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+13 
\end{DoxySince}
\index{Slider@{Slider}!elm\+\_\+slider\+\_\+add@{elm\+\_\+slider\+\_\+add}}
\index{elm\+\_\+slider\+\_\+add@{elm\+\_\+slider\+\_\+add}!Slider@{Slider}}
\subsubsection[{elm\+\_\+slider\+\_\+add(\+Evas\+\_\+\+Object $\ast$parent)}]{\setlength{\rightskip}{0pt plus 5cm}Evas\+\_\+\+Object$\ast$ elm\+\_\+slider\+\_\+add (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{parent}
\end{DoxyParamCaption}
)}\label{group__Slider_ga15ade2fc52942975429bb3c864a8a258}


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


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