\hypertarget{group__Elm__Slider}{}\section{Slider}
\label{group__Elm__Slider}\index{Slider@{Slider}}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__Elm__Slider_gab248281c6a7d47d3e995e533404b6a78}\label{group__Elm__Slider_gab248281c6a7d47d3e995e533404b6a78}} 
typedef char $\ast$($\ast$ {\bfseries slider\+\_\+func\+\_\+type}) (double)
\item 
\mbox{\Hypertarget{group__Elm__Slider_ga2899bc7a40e0eab45b5905db28bf78eb}\label{group__Elm__Slider_ga2899bc7a40e0eab45b5905db28bf78eb}} 
typedef void($\ast$ {\bfseries slider\+\_\+freefunc\+\_\+type}) (char $\ast$)
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{group__Elm__Slider_gac83f2a799d832f1070010a303d5cac36}{elm\+\_\+config\+\_\+slider\+\_\+indicator\+\_\+visible\+\_\+mode\+\_\+set}} (Elm\+\_\+\+Slider\+\_\+\+Indicator\+\_\+\+Visible\+\_\+\+Mode mode)
\begin{DoxyCompactList}\small\item\em Sets the slider\textquotesingle{}s indicator visible mode. \end{DoxyCompactList}\item 
Elm\+\_\+\+Slider\+\_\+\+Indicator\+\_\+\+Visible\+\_\+\+Mode \mbox{\hyperlink{group__Elm__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 
\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$ \mbox{\hyperlink{group__Elm__Slider_ga15ade2fc52942975429bb3c864a8a258}{elm\+\_\+slider\+\_\+add}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$parent)
\begin{DoxyCompactList}\small\item\em Add a new slider widget to the given parent Elementary (container) object. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__Slider_gab59b52f2d676ebd59f301ce9e34eaa17}{elm\+\_\+slider\+\_\+horizontal\+\_\+set}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} horizontal)
\begin{DoxyCompactList}\small\item\em Set the orientation of a given slider widget. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Elm__Slider_ga31e7fdc8022f404ad149cdf0d1558c68}\label{group__Elm__Slider_ga31e7fdc8022f404ad149cdf0d1558c68}} 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elm__Slider_ga31e7fdc8022f404ad149cdf0d1558c68}{elm\+\_\+slider\+\_\+horizontal\+\_\+get}} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the orientation of a given slider widget. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__Slider_ga74e14a46f516a1505242bddc434f938d}{elm\+\_\+slider\+\_\+value\+\_\+set}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, double val)
\begin{DoxyCompactList}\small\item\em Set the value the slider displays. \end{DoxyCompactList}\item 
double \mbox{\hyperlink{group__Elm__Slider_ga2dd3f70cdbcb4a81b5d7a08a18afaa1d}{elm\+\_\+slider\+\_\+value\+\_\+get}} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the value displayed by the slider. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__Slider_gafb58be6aec6660c443263e6381e49a2b}{elm\+\_\+slider\+\_\+inverted\+\_\+set}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} inverted)
\begin{DoxyCompactList}\small\item\em Invert a given slider widget\textquotesingle{}s displaying values order. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elm__Slider_gaf779ad8604635d4828d64ae267ab26dd}{elm\+\_\+slider\+\_\+inverted\+\_\+get}} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get whether a given slider widget\textquotesingle{}s displaying values are inverted or not. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__Slider_ga96b5e8176a6bdb4e932e32329e6fa742}{elm\+\_\+slider\+\_\+span\+\_\+size\+\_\+set}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}} size)
\begin{DoxyCompactList}\small\item\em Set the (exact) length of the bar region of a given slider widget. \end{DoxyCompactList}\item 
\mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}} \mbox{\hyperlink{group__Elm__Slider_gad0a9a60dcec079e6910a97299bbf6922}{elm\+\_\+slider\+\_\+span\+\_\+size\+\_\+get}} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the length set for the bar region of a given slider widget. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__Slider_gaa58c280b3916b35f52db525d3d921004}{elm\+\_\+slider\+\_\+unit\+\_\+format\+\_\+set}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, const char $\ast$units)
\begin{DoxyCompactList}\small\item\em Set the format string for the unit label. \end{DoxyCompactList}\item 
const char $\ast$ \mbox{\hyperlink{group__Elm__Slider_gae8a9d06d761f891b753098dd36fb9616}{elm\+\_\+slider\+\_\+unit\+\_\+format\+\_\+get}} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the unit label format of the slider. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__Slider_gac585e368ccd913851e480433e3029dcc}{elm\+\_\+slider\+\_\+units\+\_\+format\+\_\+function\+\_\+set}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, slider\+\_\+func\+\_\+type func, slider\+\_\+freefunc\+\_\+type free\+\_\+func)
\begin{DoxyCompactList}\small\item\em Set the format function pointer for the units label. \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 \mbox{\hyperlink{group__Elm__Slider_ga74e14a46f516a1505242bddc434f938d}{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 \mbox{\hyperlink{group__Elm__Slider_ga2dd3f70cdbcb4a81b5d7a08a18afaa1d}{elm\+\_\+slider\+\_\+value\+\_\+get()}}.

This widget inherits from the 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 \mbox{\hyperlink{group__Elm__General_ga6849a57df3316eabad5bec443bf87597}{elm\+\_\+object\+\_\+disabled\+\_\+set}} \item \mbox{\hyperlink{group__Elm__General_ga3ecb0d6b4e76ff39006f218942c7950d}{elm\+\_\+object\+\_\+disabled\+\_\+get}} \item \mbox{\hyperlink{group__Elm__General_ga9c088563c442670796564d2e5158f154}{elm\+\_\+object\+\_\+part\+\_\+text\+\_\+set}} \item \mbox{\hyperlink{group__Elm__General_ga965e34858eb4b80b7a4b5feda732bf27}{elm\+\_\+object\+\_\+part\+\_\+text\+\_\+get}} \item \mbox{\hyperlink{group__Elm__General_ga0531ec8867c72def7c780601764ca642}{elm\+\_\+object\+\_\+part\+\_\+content\+\_\+set}} \item \mbox{\hyperlink{group__Elm__General_ga32413f4d59d8232cd362a922a281abf1}{elm\+\_\+object\+\_\+part\+\_\+content\+\_\+get}} \item \mbox{\hyperlink{group__Elm__General_gadc5a1df25fe17e31739841133b53b5fc}{elm\+\_\+object\+\_\+part\+\_\+content\+\_\+unset}}\end{DoxyItemize}
Here is an example on its usage\+: \begin{DoxyItemize}
\item slider\+\_\+example \end{DoxyItemize}


\subsection{Function Documentation}
\mbox{\Hypertarget{group__Elm__Slider_gac83f2a799d832f1070010a303d5cac36}\label{group__Elm__Slider_gac83f2a799d832f1070010a303d5cac36}} 
\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{\texorpdfstring{elm\+\_\+config\+\_\+slider\+\_\+indicator\+\_\+visible\+\_\+mode\+\_\+set()}{elm\_config\_slider\_indicator\_visible\_mode\_set()}}
{\footnotesize\ttfamily void elm\+\_\+config\+\_\+slider\+\_\+indicator\+\_\+visible\+\_\+mode\+\_\+set (\begin{DoxyParamCaption}\item[{Elm\+\_\+\+Slider\+\_\+\+Indicator\+\_\+\+Visible\+\_\+\+Mode}]{mode }\end{DoxyParamCaption})}



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}


References \+\_\+\+Elm\+\_\+\+Config\+::slider\+\_\+indicator\+\_\+visible\+\_\+mode.

\mbox{\Hypertarget{group__Elm__Slider_ga1d78d9bfd9427cf46c573294b29229cc}\label{group__Elm__Slider_ga1d78d9bfd9427cf46c573294b29229cc}} 
\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{\texorpdfstring{elm\+\_\+config\+\_\+slider\+\_\+indicator\+\_\+visible\+\_\+mode\+\_\+get()}{elm\_config\_slider\_indicator\_visible\_mode\_get()}}
{\footnotesize\ttfamily Elm\+\_\+\+Slider\+\_\+\+Indicator\+\_\+\+Visible\+\_\+\+Mode elm\+\_\+config\+\_\+slider\+\_\+indicator\+\_\+visible\+\_\+mode\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



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\+LT} 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\+YS}, 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\+US, 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\+NE if any of the above is set by user.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+13 
\end{DoxySince}


References \+\_\+\+Elm\+\_\+\+Config\+::slider\+\_\+indicator\+\_\+visible\+\_\+mode.

\mbox{\Hypertarget{group__Elm__Slider_ga15ade2fc52942975429bb3c864a8a258}\label{group__Elm__Slider_ga15ade2fc52942975429bb3c864a8a258}} 
\index{Slider@{Slider}!elm\+\_\+slider\+\_\+add@{elm\+\_\+slider\+\_\+add}}
\index{elm\+\_\+slider\+\_\+add@{elm\+\_\+slider\+\_\+add}!Slider@{Slider}}
\subsubsection{\texorpdfstring{elm\+\_\+slider\+\_\+add()}{elm\_slider\_add()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}}$\ast$ elm\+\_\+slider\+\_\+add (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{parent }\end{DoxyParamCaption})}



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\+LL}, on errors.
\end{DoxyReturn}
This function inserts a new slider widget on the canvas. \mbox{\Hypertarget{group__Elm__Slider_gab59b52f2d676ebd59f301ce9e34eaa17}\label{group__Elm__Slider_gab59b52f2d676ebd59f301ce9e34eaa17}} 
\index{Slider@{Slider}!elm\+\_\+slider\+\_\+horizontal\+\_\+set@{elm\+\_\+slider\+\_\+horizontal\+\_\+set}}
\index{elm\+\_\+slider\+\_\+horizontal\+\_\+set@{elm\+\_\+slider\+\_\+horizontal\+\_\+set}!Slider@{Slider}}
\subsubsection{\texorpdfstring{elm\+\_\+slider\+\_\+horizontal\+\_\+set()}{elm\_slider\_horizontal\_set()}}
{\footnotesize\ttfamily void elm\+\_\+slider\+\_\+horizontal\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}}]{horizontal }\end{DoxyParamCaption})}



Set the orientation of a given slider widget. 

Use this function to change how your slider is to be disposed\+: vertically or horizontally.

By default it\textquotesingle{}s displayed horizontally.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em horizontal} & \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Elm__Slider_ga74e14a46f516a1505242bddc434f938d}\label{group__Elm__Slider_ga74e14a46f516a1505242bddc434f938d}} 
\index{Slider@{Slider}!elm\+\_\+slider\+\_\+value\+\_\+set@{elm\+\_\+slider\+\_\+value\+\_\+set}}
\index{elm\+\_\+slider\+\_\+value\+\_\+set@{elm\+\_\+slider\+\_\+value\+\_\+set}!Slider@{Slider}}
\subsubsection{\texorpdfstring{elm\+\_\+slider\+\_\+value\+\_\+set()}{elm\_slider\_value\_set()}}
{\footnotesize\ttfamily void elm\+\_\+slider\+\_\+value\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{double}]{val }\end{DoxyParamCaption})}



Set the value the slider displays. 

Value will be presented on the unit label following format specified with \mbox{\hyperlink{group__Elm__Slider_gaa58c280b3916b35f52db525d3d921004}{elm\+\_\+slider\+\_\+unit\+\_\+format\+\_\+set}} and on indicator with elm\+\_\+slider\+\_\+indicator\+\_\+format\+\_\+set.

\begin{DoxyNote}{Note}
The value must to be between min and max values. This values are set by elm\+\_\+slider\+\_\+min\+\_\+max\+\_\+set.
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em val} & The value to be displayed. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Elm__Slider_ga2dd3f70cdbcb4a81b5d7a08a18afaa1d}\label{group__Elm__Slider_ga2dd3f70cdbcb4a81b5d7a08a18afaa1d}} 
\index{Slider@{Slider}!elm\+\_\+slider\+\_\+value\+\_\+get@{elm\+\_\+slider\+\_\+value\+\_\+get}}
\index{elm\+\_\+slider\+\_\+value\+\_\+get@{elm\+\_\+slider\+\_\+value\+\_\+get}!Slider@{Slider}}
\subsubsection{\texorpdfstring{elm\+\_\+slider\+\_\+value\+\_\+get()}{elm\_slider\_value\_get()}}
{\footnotesize\ttfamily double elm\+\_\+slider\+\_\+value\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj }\end{DoxyParamCaption})}



Get the value displayed by the slider. 

\begin{DoxyReturn}{Returns}
The value to be displayed. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Elm__Slider_gafb58be6aec6660c443263e6381e49a2b}\label{group__Elm__Slider_gafb58be6aec6660c443263e6381e49a2b}} 
\index{Slider@{Slider}!elm\+\_\+slider\+\_\+inverted\+\_\+set@{elm\+\_\+slider\+\_\+inverted\+\_\+set}}
\index{elm\+\_\+slider\+\_\+inverted\+\_\+set@{elm\+\_\+slider\+\_\+inverted\+\_\+set}!Slider@{Slider}}
\subsubsection{\texorpdfstring{elm\+\_\+slider\+\_\+inverted\+\_\+set()}{elm\_slider\_inverted\_set()}}
{\footnotesize\ttfamily void elm\+\_\+slider\+\_\+inverted\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}}]{inverted }\end{DoxyParamCaption})}



Invert a given slider widget\textquotesingle{}s displaying values order. 

A slider may be inverted, in which state it gets its values inverted, with high vales being on the left or top and low values on the right or bottom, as opposed to normally have the low values on the former and high values on the latter, respectively, for horizontal and vertical modes.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em inverted} & Use {\ttfamily true} to make {\ttfamily obj} inverted, {\ttfamily false} to bring it back to default, non-\/inverted values. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Elm__Slider_gaf779ad8604635d4828d64ae267ab26dd}\label{group__Elm__Slider_gaf779ad8604635d4828d64ae267ab26dd}} 
\index{Slider@{Slider}!elm\+\_\+slider\+\_\+inverted\+\_\+get@{elm\+\_\+slider\+\_\+inverted\+\_\+get}}
\index{elm\+\_\+slider\+\_\+inverted\+\_\+get@{elm\+\_\+slider\+\_\+inverted\+\_\+get}!Slider@{Slider}}
\subsubsection{\texorpdfstring{elm\+\_\+slider\+\_\+inverted\+\_\+get()}{elm\_slider\_inverted\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+slider\+\_\+inverted\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj }\end{DoxyParamCaption})}



Get whether a given slider widget\textquotesingle{}s displaying values are inverted or not. 

\begin{DoxyReturn}{Returns}
Use {\ttfamily true} to make {\ttfamily obj} inverted, {\ttfamily false} to bring it back to default, non-\/inverted values. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Elm__Slider_ga96b5e8176a6bdb4e932e32329e6fa742}\label{group__Elm__Slider_ga96b5e8176a6bdb4e932e32329e6fa742}} 
\index{Slider@{Slider}!elm\+\_\+slider\+\_\+span\+\_\+size\+\_\+set@{elm\+\_\+slider\+\_\+span\+\_\+size\+\_\+set}}
\index{elm\+\_\+slider\+\_\+span\+\_\+size\+\_\+set@{elm\+\_\+slider\+\_\+span\+\_\+size\+\_\+set}!Slider@{Slider}}
\subsubsection{\texorpdfstring{elm\+\_\+slider\+\_\+span\+\_\+size\+\_\+set()}{elm\_slider\_span\_size\_set()}}
{\footnotesize\ttfamily void elm\+\_\+slider\+\_\+span\+\_\+size\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{\mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}}}]{size }\end{DoxyParamCaption})}



Set the (exact) length of the bar region of a given slider widget. 

This sets the minimum width (when in horizontal mode) or height (when in vertical mode) of the actual bar area of the slider {\ttfamily obj}. This in turn affects the object\textquotesingle{}s minimum size. Use this when you\textquotesingle{}re not setting other size hints expanding on the given direction (like weight and alignment hints) and you would like it to have a specific size.

\begin{DoxyNote}{Note}
Icon, end, label, indicator and unit text around {\ttfamily obj} will require their own space, which will make {\ttfamily obj} to require more the {\ttfamily size}, actually.
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em size} & The length of the slider\textquotesingle{}s bar region. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Elm__Slider_gad0a9a60dcec079e6910a97299bbf6922}\label{group__Elm__Slider_gad0a9a60dcec079e6910a97299bbf6922}} 
\index{Slider@{Slider}!elm\+\_\+slider\+\_\+span\+\_\+size\+\_\+get@{elm\+\_\+slider\+\_\+span\+\_\+size\+\_\+get}}
\index{elm\+\_\+slider\+\_\+span\+\_\+size\+\_\+get@{elm\+\_\+slider\+\_\+span\+\_\+size\+\_\+get}!Slider@{Slider}}
\subsubsection{\texorpdfstring{elm\+\_\+slider\+\_\+span\+\_\+size\+\_\+get()}{elm\_slider\_span\_size\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{Evas__Common_8h_a2453e92182bad3b0e0d84e5aff433b07}{Evas\+\_\+\+Coord}} elm\+\_\+slider\+\_\+span\+\_\+size\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj }\end{DoxyParamCaption})}



Get the length set for the bar region of a given slider widget. 

If that size was not set previously, with \mbox{\hyperlink{group__Elm__Slider_ga96b5e8176a6bdb4e932e32329e6fa742}{elm\+\_\+slider\+\_\+span\+\_\+size\+\_\+set}}, this call will return \$0.

\begin{DoxyReturn}{Returns}
The length of the slider\textquotesingle{}s bar region. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Elm__Slider_gaa58c280b3916b35f52db525d3d921004}\label{group__Elm__Slider_gaa58c280b3916b35f52db525d3d921004}} 
\index{Slider@{Slider}!elm\+\_\+slider\+\_\+unit\+\_\+format\+\_\+set@{elm\+\_\+slider\+\_\+unit\+\_\+format\+\_\+set}}
\index{elm\+\_\+slider\+\_\+unit\+\_\+format\+\_\+set@{elm\+\_\+slider\+\_\+unit\+\_\+format\+\_\+set}!Slider@{Slider}}
\subsubsection{\texorpdfstring{elm\+\_\+slider\+\_\+unit\+\_\+format\+\_\+set()}{elm\_slider\_unit\_format\_set()}}
{\footnotesize\ttfamily void elm\+\_\+slider\+\_\+unit\+\_\+format\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{const char $\ast$}]{units }\end{DoxyParamCaption})}



Set the format string for the unit label. 

Unit label is displayed all the time, if set, after slider\textquotesingle{}s bar. In horizontal mode, at right and in vertical mode, at bottom.

If {\ttfamily null}, unit label won\textquotesingle{}t be visible. If not it sets the format string for the label text. To 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 unit label disabled.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em units} & The format string for the unit display. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Elm__Slider_gae8a9d06d761f891b753098dd36fb9616}\label{group__Elm__Slider_gae8a9d06d761f891b753098dd36fb9616}} 
\index{Slider@{Slider}!elm\+\_\+slider\+\_\+unit\+\_\+format\+\_\+get@{elm\+\_\+slider\+\_\+unit\+\_\+format\+\_\+get}}
\index{elm\+\_\+slider\+\_\+unit\+\_\+format\+\_\+get@{elm\+\_\+slider\+\_\+unit\+\_\+format\+\_\+get}!Slider@{Slider}}
\subsubsection{\texorpdfstring{elm\+\_\+slider\+\_\+unit\+\_\+format\+\_\+get()}{elm\_slider\_unit\_format\_get()}}
{\footnotesize\ttfamily const char$\ast$ elm\+\_\+slider\+\_\+unit\+\_\+format\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj }\end{DoxyParamCaption})}



Get the unit label format of the slider. 

Unit label is displayed all the time, if set, after slider\textquotesingle{}s bar. In horizontal mode, at right and in vertical mode, at bottom.

\begin{DoxyReturn}{Returns}
The format string for the unit display. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Elm__Slider_gac585e368ccd913851e480433e3029dcc}\label{group__Elm__Slider_gac585e368ccd913851e480433e3029dcc}} 
\index{Slider@{Slider}!elm\+\_\+slider\+\_\+units\+\_\+format\+\_\+function\+\_\+set@{elm\+\_\+slider\+\_\+units\+\_\+format\+\_\+function\+\_\+set}}
\index{elm\+\_\+slider\+\_\+units\+\_\+format\+\_\+function\+\_\+set@{elm\+\_\+slider\+\_\+units\+\_\+format\+\_\+function\+\_\+set}!Slider@{Slider}}
\subsubsection{\texorpdfstring{elm\+\_\+slider\+\_\+units\+\_\+format\+\_\+function\+\_\+set()}{elm\_slider\_units\_format\_function\_set()}}
{\footnotesize\ttfamily void elm\+\_\+slider\+\_\+units\+\_\+format\+\_\+function\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{slider\+\_\+func\+\_\+type}]{func,  }\item[{slider\+\_\+freefunc\+\_\+type}]{free\+\_\+func }\end{DoxyParamCaption})}



Set the format function pointer for the units label. 

Set the callback function to format the units string.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em func} & The units format function. \\
\hline
\mbox{\tt in}  & {\em free\+\_\+func} & The freeing function for the format string. \\
\hline
\end{DoxyParams}
