\hypertarget{group__Elm__Diskselector}{}\section{Diskselector}
\label{group__Elm__Diskselector}\index{Diskselector@{Diskselector}}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__Elm__Diskselector_ga36c1816ba37671e5ff167fc2c1eb7ea9}\label{group__Elm__Diskselector_ga36c1816ba37671e5ff167fc2c1eb7ea9}} 
\#define \mbox{\hyperlink{group__Elm__Diskselector_ga36c1816ba37671e5ff167fc2c1eb7ea9}{E\+L\+M\+\_\+\+D\+I\+S\+K\+S\+E\+L\+E\+C\+T\+O\+R\+\_\+\+C\+L\+A\+SS}}~elm\+\_\+diskselector\+\_\+class\+\_\+get()
\begin{DoxyCompactList}\small\item\em Elementary diskselector class. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Eina__Types__Group_gad5b2116495471db12a34bab9a34edfaa}{E\+I\+N\+A\+\_\+\+D\+E\+P\+R\+E\+C\+A\+T\+ED}} void \mbox{\hyperlink{group__Elm__Diskselector_gae2f5a41fc4a2224b1edee8f538b29907}{elm\+\_\+diskselector\+\_\+bounce\+\_\+set}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} h\+\_\+bounce, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} v\+\_\+bounce)
\begin{DoxyCompactList}\small\item\em Set bouncing behaviour when the scrolled content reaches an edge. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_gad5b2116495471db12a34bab9a34edfaa}{E\+I\+N\+A\+\_\+\+D\+E\+P\+R\+E\+C\+A\+T\+ED}} void \mbox{\hyperlink{group__Elm__Diskselector_ga8e1b71c8ee10cf2acf8e525fc02640af}{elm\+\_\+diskselector\+\_\+bounce\+\_\+get}} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} $\ast$h\+\_\+bounce, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} $\ast$v\+\_\+bounce)
\begin{DoxyCompactList}\small\item\em Get the bouncing behaviour of the internal scroller. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_gad5b2116495471db12a34bab9a34edfaa}{E\+I\+N\+A\+\_\+\+D\+E\+P\+R\+E\+C\+A\+T\+ED}} void \mbox{\hyperlink{group__Elm__Diskselector_gabd15a6d10c06489d83d213452a1c0736}{elm\+\_\+diskselector\+\_\+scroller\+\_\+policy\+\_\+get}} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{group__Elm__Scroller_gae4532876fde43d8d37fc9440a1e36a84}{Elm\+\_\+\+Scroller\+\_\+\+Policy}} $\ast$policy\+\_\+h, \mbox{\hyperlink{group__Elm__Scroller_gae4532876fde43d8d37fc9440a1e36a84}{Elm\+\_\+\+Scroller\+\_\+\+Policy}} $\ast$policy\+\_\+v)
\begin{DoxyCompactList}\small\item\em Get the scrollbar policy. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_gad5b2116495471db12a34bab9a34edfaa}{E\+I\+N\+A\+\_\+\+D\+E\+P\+R\+E\+C\+A\+T\+ED}} void \mbox{\hyperlink{group__Elm__Diskselector_ga1c09e88720b0d3b39897a977cd5519cd}{elm\+\_\+diskselector\+\_\+scroller\+\_\+policy\+\_\+set}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{group__Elm__Scroller_gae4532876fde43d8d37fc9440a1e36a84}{Elm\+\_\+\+Scroller\+\_\+\+Policy}} policy\+\_\+h, \mbox{\hyperlink{group__Elm__Scroller_gae4532876fde43d8d37fc9440a1e36a84}{Elm\+\_\+\+Scroller\+\_\+\+Policy}} policy\+\_\+v)
\begin{DoxyCompactList}\small\item\em Set the scrollbar policy. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \mbox{\hyperlink{group__Elm__Diskselector_ga8f876abb21e0aa833c560d10f25dc0d4}{elm\+\_\+obj\+\_\+diskselector\+\_\+side\+\_\+text\+\_\+max\+\_\+length\+\_\+set}} (\mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$obj, int len)
\begin{DoxyCompactList}\small\item\em Set the side labels max length. \end{DoxyCompactList}\item 
E\+O\+A\+PI int \mbox{\hyperlink{group__Elm__Diskselector_ga92ca4a5770a5d480cefc94d9309e70bb}{elm\+\_\+obj\+\_\+diskselector\+\_\+side\+\_\+text\+\_\+max\+\_\+length\+\_\+get}} (const \mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the side labels max length. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \mbox{\hyperlink{group__Elm__Diskselector_gae12fb9142d0d05cada6902d257e21a99}{elm\+\_\+obj\+\_\+diskselector\+\_\+round\+\_\+enabled\+\_\+set}} (\mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$obj, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} enabled)
\begin{DoxyCompactList}\small\item\em Enable or disable round mode. \end{DoxyCompactList}\item 
E\+O\+A\+PI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elm__Diskselector_gaa97327df439327e38e9e1469b921db47}{elm\+\_\+obj\+\_\+diskselector\+\_\+round\+\_\+enabled\+\_\+get}} (const \mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get a value whether round mode is enabled or not. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \mbox{\hyperlink{group__Elm__Diskselector_ga3c42018f9db616e80348f2a709718eec}{elm\+\_\+obj\+\_\+diskselector\+\_\+display\+\_\+item\+\_\+num\+\_\+set}} (\mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$obj, int num)
\begin{DoxyCompactList}\small\item\em Set the number of items to be displayed. \end{DoxyCompactList}\item 
E\+O\+A\+PI int \mbox{\hyperlink{group__Elm__Diskselector_ga696476cb298d2fa0fe2c9aad2173135a}{elm\+\_\+obj\+\_\+diskselector\+\_\+display\+\_\+item\+\_\+num\+\_\+get}} (const \mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the number of items in the diskselector object. \end{DoxyCompactList}\item 
E\+O\+A\+PI Elm\+\_\+\+Widget\+\_\+\+Item $\ast$ \mbox{\hyperlink{group__Elm__Diskselector_gac343bddd4353e3d22f47bf7736ec4dfc}{elm\+\_\+obj\+\_\+diskselector\+\_\+first\+\_\+item\+\_\+get}} (const \mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the first item of the diskselector. \end{DoxyCompactList}\item 
E\+O\+A\+PI const \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$ \mbox{\hyperlink{group__Elm__Diskselector_ga7e96aaa65b1e8a9e64e422769011185c}{elm\+\_\+obj\+\_\+diskselector\+\_\+items\+\_\+get}} (const \mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get a list of all the diskselector items. \end{DoxyCompactList}\item 
E\+O\+A\+PI Elm\+\_\+\+Widget\+\_\+\+Item $\ast$ \mbox{\hyperlink{group__Elm__Diskselector_ga4098e51b8084c124375800eb3f0e062c}{elm\+\_\+obj\+\_\+diskselector\+\_\+last\+\_\+item\+\_\+get}} (const \mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the last item of the diskselector. \end{DoxyCompactList}\item 
E\+O\+A\+PI Elm\+\_\+\+Widget\+\_\+\+Item $\ast$ \mbox{\hyperlink{group__Elm__Diskselector_ga801a11fbb544dba62c358e885ccf2c14}{elm\+\_\+obj\+\_\+diskselector\+\_\+selected\+\_\+item\+\_\+get}} (const \mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the selected item. \end{DoxyCompactList}\item 
E\+O\+A\+PI Elm\+\_\+\+Widget\+\_\+\+Item $\ast$ \mbox{\hyperlink{group__Elm__Diskselector_ga061f03293b0ab29ee1d5ec373d40e32c}{elm\+\_\+obj\+\_\+diskselector\+\_\+item\+\_\+append}} (\mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$obj, const char $\ast$label, Efl\+\_\+\+Canvas\+\_\+\+Object $\ast$icon, \mbox{\hyperlink{Evas__Common_8h_afbde245aa36db11d8280b266235c25b2}{Evas\+\_\+\+Smart\+\_\+\+Cb}} func, const void $\ast$data)
\begin{DoxyCompactList}\small\item\em Appends a new item to the diskselector object. \end{DoxyCompactList}\item 
E\+O\+A\+PI void \mbox{\hyperlink{group__Elm__Diskselector_ga8f81c813a90428c9712b8fc804f0be48}{elm\+\_\+obj\+\_\+diskselector\+\_\+clear}} (\mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Remove all diskselector\textquotesingle{}s items. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__Diskselector_gaa9f2aea2aa5dc9b9783cd97d5585131e}{elm\+\_\+diskselector\+\_\+side\+\_\+text\+\_\+max\+\_\+length\+\_\+set}} (Elm\+\_\+\+Diskselector $\ast$obj, int len)
\begin{DoxyCompactList}\small\item\em Set the side labels max length. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{group__Elm__Diskselector_ga355b79f778a9845ad30d80d417792336}{elm\+\_\+diskselector\+\_\+side\+\_\+text\+\_\+max\+\_\+length\+\_\+get}} (const Elm\+\_\+\+Diskselector $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the side labels max length. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__Diskselector_ga30caf1f47ef6bafd61dcc17a47b21a78}{elm\+\_\+diskselector\+\_\+round\+\_\+enabled\+\_\+set}} (Elm\+\_\+\+Diskselector $\ast$obj, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} enabled)
\begin{DoxyCompactList}\small\item\em Enable or disable round mode. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elm__Diskselector_ga7f907786bfaf15c8d961ecd824f3109c}{elm\+\_\+diskselector\+\_\+round\+\_\+enabled\+\_\+get}} (const Elm\+\_\+\+Diskselector $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get a value whether round mode is enabled or not. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__Diskselector_ga422a509910213cb9fa6121349d5d077c}{elm\+\_\+diskselector\+\_\+display\+\_\+item\+\_\+num\+\_\+set}} (Elm\+\_\+\+Diskselector $\ast$obj, int num)
\begin{DoxyCompactList}\small\item\em Set the number of items to be displayed. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{group__Elm__Diskselector_ga3e477ad7782102908f776e2171a17ea7}{elm\+\_\+diskselector\+\_\+display\+\_\+item\+\_\+num\+\_\+get}} (const Elm\+\_\+\+Diskselector $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the number of items in the diskselector object. \end{DoxyCompactList}\item 
Elm\+\_\+\+Widget\+\_\+\+Item $\ast$ \mbox{\hyperlink{group__Elm__Diskselector_gacff65f40504665814c52c2f15c5f390e}{elm\+\_\+diskselector\+\_\+first\+\_\+item\+\_\+get}} (const Elm\+\_\+\+Diskselector $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the first item of the diskselector. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$ \mbox{\hyperlink{group__Elm__Diskselector_ga7ffb27506e91dc8d91cd7becf9485b6c}{elm\+\_\+diskselector\+\_\+items\+\_\+get}} (const Elm\+\_\+\+Diskselector $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get a list of all the diskselector items. \end{DoxyCompactList}\item 
Elm\+\_\+\+Widget\+\_\+\+Item $\ast$ \mbox{\hyperlink{group__Elm__Diskselector_ga9202a988f86d85d16d43d6a6c836cd11}{elm\+\_\+diskselector\+\_\+last\+\_\+item\+\_\+get}} (const Elm\+\_\+\+Diskselector $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the last item of the diskselector. \end{DoxyCompactList}\item 
Elm\+\_\+\+Widget\+\_\+\+Item $\ast$ \mbox{\hyperlink{group__Elm__Diskselector_ga5c05c1dbc801d3dc7e7889c565efdfc3}{elm\+\_\+diskselector\+\_\+selected\+\_\+item\+\_\+get}} (const Elm\+\_\+\+Diskselector $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the selected item. \end{DoxyCompactList}\item 
Elm\+\_\+\+Widget\+\_\+\+Item $\ast$ \mbox{\hyperlink{group__Elm__Diskselector_ga843f302f642b88c5148e55744cbc9072}{elm\+\_\+diskselector\+\_\+item\+\_\+append}} (Elm\+\_\+\+Diskselector $\ast$obj, const char $\ast$label, Efl\+\_\+\+Canvas\+\_\+\+Object $\ast$icon, \mbox{\hyperlink{Evas__Common_8h_afbde245aa36db11d8280b266235c25b2}{Evas\+\_\+\+Smart\+\_\+\+Cb}} func, const void $\ast$data)
\begin{DoxyCompactList}\small\item\em Appends a new item to the diskselector object. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__Diskselector_ga0667afe4c63f62fa6ef22d78b04dd8a3}{elm\+\_\+diskselector\+\_\+clear}} (Elm\+\_\+\+Diskselector $\ast$obj)
\begin{DoxyCompactList}\small\item\em Remove all diskselector\textquotesingle{}s items. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$ \mbox{\hyperlink{group__Elm__Diskselector_gaaac1076ac837e57633d7f3c068c3205b}{elm\+\_\+diskselector\+\_\+add}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$parent)
\begin{DoxyCompactList}\small\item\em Add a new diskselector 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]{diskselector_inheritance_tree}}
\end{DoxyImageNoCaption}


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


A diskselector is a kind of list widget. It scrolls horizontally, and can contain label and icon objects. Three items are displayed with the selected one in the middle.

It can act like a circular list with round mode and labels can be reduced for a defined length for side items.

This widget implements the {\bfseries }  elm-\/scrollable-\/interface interface, so that all (non-\/deprecated) functions for the base Scroller widget also work for diskselectors.

Some calls on the diskselector\textquotesingle{}s A\+PI are marked as {\bfseries deprecated}, as they just wrap the scrollable widgets counterpart functions. Use the ones we point you to, for each case of deprecation here, instead -- eventually the deprecated ones will be discarded (next major release).

This widget emits the following signals, besides the ones sent from Layout\+: \begin{DoxyItemize}
\item {\ttfamily \char`\"{}selected\char`\"{}} -\/ when item is selected, i.\+e. scroller stops. \item {\ttfamily \char`\"{}clicked\char`\"{}} -\/ This is called when a user clicks an item (since 1.\+8) \item {\ttfamily \char`\"{}scroll,anim,start\char`\"{}} -\/ scrolling animation has started \item {\ttfamily \char`\"{}scroll,anim,stop\char`\"{}} -\/ scrolling animation has stopped \item {\ttfamily \char`\"{}scroll,drag,start\char`\"{}} -\/ dragging the diskselector has started \item {\ttfamily \char`\"{}scroll,drag,stop\char`\"{}} -\/ dragging the diskselector has stopped \item {\ttfamily \char`\"{}focused\char`\"{}} -\/ When the diskselector has received focus. (since 1.\+8) \item {\ttfamily \char`\"{}unfocused\char`\"{}} -\/ When the diskselector has lost focus. (since 1.\+8) \item {\ttfamily \char`\"{}language,changed\char`\"{}} -\/ the program\textquotesingle{}s language changed (since 1.\+9)\end{DoxyItemize}
\begin{DoxyNote}{Note}
The \char`\"{}scroll,anim,$\ast$\char`\"{} and \char`\"{}scroll,drag,$\ast$\char`\"{} signals are only emitted by user intervention.
\end{DoxyNote}
Available styles for it\+:
\begin{DoxyItemize}
\item {\ttfamily \char`\"{}default\char`\"{}} 
\end{DoxyItemize}

Default content parts of the diskselector items that you can use for are\+: \begin{DoxyItemize}
\item \char`\"{}icon\char`\"{} -\/ An icon in the diskselector item\end{DoxyItemize}
Default text parts of the diskselector items that you can use for are\+: \begin{DoxyItemize}
\item \char`\"{}default\char`\"{} -\/ A label of the diskselector item\end{DoxyItemize}
Supported elm\+\_\+object\+\_\+item common A\+P\+Is. \begin{DoxyItemize}
\item elm\+\_\+object\+\_\+item\+\_\+del \item elm\+\_\+object\+\_\+item\+\_\+part\+\_\+text\+\_\+set \item elm\+\_\+object\+\_\+item\+\_\+part\+\_\+text\+\_\+get \item elm\+\_\+object\+\_\+item\+\_\+part\+\_\+content\+\_\+set \item elm\+\_\+object\+\_\+item\+\_\+part\+\_\+content\+\_\+get\end{DoxyItemize}
List of examples\+: \begin{DoxyItemize}
\item diskselector\+\_\+example\+\_\+01 \item diskselector\+\_\+example\+\_\+02 \end{DoxyItemize}


\subsection{Function Documentation}
\mbox{\Hypertarget{group__Elm__Diskselector_gae2f5a41fc4a2224b1edee8f538b29907}\label{group__Elm__Diskselector_gae2f5a41fc4a2224b1edee8f538b29907}} 
\index{Diskselector@{Diskselector}!elm\+\_\+diskselector\+\_\+bounce\+\_\+set@{elm\+\_\+diskselector\+\_\+bounce\+\_\+set}}
\index{elm\+\_\+diskselector\+\_\+bounce\+\_\+set@{elm\+\_\+diskselector\+\_\+bounce\+\_\+set}!Diskselector@{Diskselector}}
\subsubsection{\texorpdfstring{elm\+\_\+diskselector\+\_\+bounce\+\_\+set()}{elm\_diskselector\_bounce\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_gad5b2116495471db12a34bab9a34edfaa}{E\+I\+N\+A\+\_\+\+D\+E\+P\+R\+E\+C\+A\+T\+ED}} void elm\+\_\+diskselector\+\_\+bounce\+\_\+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}}}]{h\+\_\+bounce,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}}]{v\+\_\+bounce }\end{DoxyParamCaption})}



Set bouncing behaviour when the scrolled content reaches an edge. 

Tell the internal scroller object whether it should bounce or not when it reaches the respective edges for each axis.


\begin{DoxyParams}{Parameters}
{\em obj} & The diskselector object. \\
\hline
{\em h\+\_\+bounce} & Whether to bounce or not in the horizontal axis. \\
\hline
{\em v\+\_\+bounce} & Whether to bounce or not in the vertical axis.\\
\hline
\end{DoxyParams}
\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000074}{Deprecated}}]Use \mbox{\hyperlink{group__Elm__Scroller_gae69101dbdb089598ca790c73bd9d7a42}{elm\+\_\+scroller\+\_\+bounce\+\_\+set()}} instead.\end{DoxyRefDesc}


\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Elm__Scroller_gae69101dbdb089598ca790c73bd9d7a42}{elm\+\_\+scroller\+\_\+bounce\+\_\+set()}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Elm__Diskselector_ga8e1b71c8ee10cf2acf8e525fc02640af}\label{group__Elm__Diskselector_ga8e1b71c8ee10cf2acf8e525fc02640af}} 
\index{Diskselector@{Diskselector}!elm\+\_\+diskselector\+\_\+bounce\+\_\+get@{elm\+\_\+diskselector\+\_\+bounce\+\_\+get}}
\index{elm\+\_\+diskselector\+\_\+bounce\+\_\+get@{elm\+\_\+diskselector\+\_\+bounce\+\_\+get}!Diskselector@{Diskselector}}
\subsubsection{\texorpdfstring{elm\+\_\+diskselector\+\_\+bounce\+\_\+get()}{elm\_diskselector\_bounce\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_gad5b2116495471db12a34bab9a34edfaa}{E\+I\+N\+A\+\_\+\+D\+E\+P\+R\+E\+C\+A\+T\+ED}} void elm\+\_\+diskselector\+\_\+bounce\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} $\ast$}]{h\+\_\+bounce,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} $\ast$}]{v\+\_\+bounce }\end{DoxyParamCaption})}



Get the bouncing behaviour of the internal scroller. 

Get whether the internal scroller should bounce when the edge of each axis is reached scrolling.


\begin{DoxyParams}{Parameters}
{\em obj} & The diskselector object. \\
\hline
{\em h\+\_\+bounce} & Pointer to store the bounce state of the horizontal axis. \\
\hline
{\em v\+\_\+bounce} & Pointer to store the bounce state of the vertical axis.\\
\hline
\end{DoxyParams}
\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000075}{Deprecated}}]Use \mbox{\hyperlink{group__Elm__Scroller_gae74537077c42537037834d4d4bdae634}{elm\+\_\+scroller\+\_\+bounce\+\_\+get()}} instead.\end{DoxyRefDesc}


\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Elm__Scroller_gae74537077c42537037834d4d4bdae634}{elm\+\_\+scroller\+\_\+bounce\+\_\+get()}} 

\mbox{\hyperlink{group__Elm__Diskselector_gae2f5a41fc4a2224b1edee8f538b29907}{elm\+\_\+diskselector\+\_\+bounce\+\_\+set()}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Elm__Diskselector_gabd15a6d10c06489d83d213452a1c0736}\label{group__Elm__Diskselector_gabd15a6d10c06489d83d213452a1c0736}} 
\index{Diskselector@{Diskselector}!elm\+\_\+diskselector\+\_\+scroller\+\_\+policy\+\_\+get@{elm\+\_\+diskselector\+\_\+scroller\+\_\+policy\+\_\+get}}
\index{elm\+\_\+diskselector\+\_\+scroller\+\_\+policy\+\_\+get@{elm\+\_\+diskselector\+\_\+scroller\+\_\+policy\+\_\+get}!Diskselector@{Diskselector}}
\subsubsection{\texorpdfstring{elm\+\_\+diskselector\+\_\+scroller\+\_\+policy\+\_\+get()}{elm\_diskselector\_scroller\_policy\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_gad5b2116495471db12a34bab9a34edfaa}{E\+I\+N\+A\+\_\+\+D\+E\+P\+R\+E\+C\+A\+T\+ED}} void elm\+\_\+diskselector\+\_\+scroller\+\_\+policy\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__Elm__Scroller_gae4532876fde43d8d37fc9440a1e36a84}{Elm\+\_\+\+Scroller\+\_\+\+Policy}} $\ast$}]{policy\+\_\+h,  }\item[{\mbox{\hyperlink{group__Elm__Scroller_gae4532876fde43d8d37fc9440a1e36a84}{Elm\+\_\+\+Scroller\+\_\+\+Policy}} $\ast$}]{policy\+\_\+v }\end{DoxyParamCaption})}



Get the scrollbar policy. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Elm__Diskselector_gabd15a6d10c06489d83d213452a1c0736}{elm\+\_\+diskselector\+\_\+scroller\+\_\+policy\+\_\+get()}} for details.
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em obj} & The diskselector object. \\
\hline
{\em policy\+\_\+h} & Pointer to store horizontal scrollbar policy. \\
\hline
{\em policy\+\_\+v} & Pointer to store vertical scrollbar policy.\\
\hline
\end{DoxyParams}
\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000076}{Deprecated}}]Use \mbox{\hyperlink{group__Elm__Scroller_gae5d37ebf0a5540326b2b56ae41f24c97}{elm\+\_\+scroller\+\_\+policy\+\_\+get()}} instead.\end{DoxyRefDesc}


\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Elm__Scroller_gae5d37ebf0a5540326b2b56ae41f24c97}{elm\+\_\+scroller\+\_\+policy\+\_\+get()}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Elm__Diskselector_ga1c09e88720b0d3b39897a977cd5519cd}\label{group__Elm__Diskselector_ga1c09e88720b0d3b39897a977cd5519cd}} 
\index{Diskselector@{Diskselector}!elm\+\_\+diskselector\+\_\+scroller\+\_\+policy\+\_\+set@{elm\+\_\+diskselector\+\_\+scroller\+\_\+policy\+\_\+set}}
\index{elm\+\_\+diskselector\+\_\+scroller\+\_\+policy\+\_\+set@{elm\+\_\+diskselector\+\_\+scroller\+\_\+policy\+\_\+set}!Diskselector@{Diskselector}}
\subsubsection{\texorpdfstring{elm\+\_\+diskselector\+\_\+scroller\+\_\+policy\+\_\+set()}{elm\_diskselector\_scroller\_policy\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_gad5b2116495471db12a34bab9a34edfaa}{E\+I\+N\+A\+\_\+\+D\+E\+P\+R\+E\+C\+A\+T\+ED}} void elm\+\_\+diskselector\+\_\+scroller\+\_\+policy\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__Elm__Scroller_gae4532876fde43d8d37fc9440a1e36a84}{Elm\+\_\+\+Scroller\+\_\+\+Policy}}}]{policy\+\_\+h,  }\item[{\mbox{\hyperlink{group__Elm__Scroller_gae4532876fde43d8d37fc9440a1e36a84}{Elm\+\_\+\+Scroller\+\_\+\+Policy}}}]{policy\+\_\+v }\end{DoxyParamCaption})}



Set the scrollbar policy. 


\begin{DoxyParams}{Parameters}
{\em obj} & The diskselector object. \\
\hline
{\em policy\+\_\+h} & Horizontal scrollbar policy. \\
\hline
{\em policy\+\_\+v} & Vertical scrollbar policy.\\
\hline
\end{DoxyParams}
This sets the scrollbar visibility policy for the given scroller. \mbox{\hyperlink{group__Elm__Scroller_ggae4532876fde43d8d37fc9440a1e36a84a9a3e639489c64f070d4caa6cafc22870}{E\+L\+M\+\_\+\+S\+C\+R\+O\+L\+L\+E\+R\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+A\+U\+TO}} means the scrollbar is made visible if it is needed, and otherwise kept hidden. \mbox{\hyperlink{group__Elm__Scroller_ggae4532876fde43d8d37fc9440a1e36a84a74e67e8e341f5069ec27244c2a41053f}{E\+L\+M\+\_\+\+S\+C\+R\+O\+L\+L\+E\+R\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+ON}} turns it on all the time, and \mbox{\hyperlink{group__Elm__Scroller_ggae4532876fde43d8d37fc9440a1e36a84a4453d6502d28a1157c19301deaa8f565}{E\+L\+M\+\_\+\+S\+C\+R\+O\+L\+L\+E\+R\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+O\+FF}} always keeps it off. This applies respectively for the horizontal and vertical scrollbars.

The both are disabled by default, i.\+e., are set to \mbox{\hyperlink{group__Elm__Scroller_ggae4532876fde43d8d37fc9440a1e36a84a4453d6502d28a1157c19301deaa8f565}{E\+L\+M\+\_\+\+S\+C\+R\+O\+L\+L\+E\+R\+\_\+\+P\+O\+L\+I\+C\+Y\+\_\+\+O\+FF}}.

\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000077}{Deprecated}}]Use \mbox{\hyperlink{group__Elm__Scroller_ga4105c0d6adca64ed3d38e7e4116b09e4}{elm\+\_\+scroller\+\_\+policy\+\_\+set()}} instead.\end{DoxyRefDesc}


\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Elm__Scroller_ga4105c0d6adca64ed3d38e7e4116b09e4}{elm\+\_\+scroller\+\_\+policy\+\_\+set()}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Elm__Diskselector_ga8f876abb21e0aa833c560d10f25dc0d4}\label{group__Elm__Diskselector_ga8f876abb21e0aa833c560d10f25dc0d4}} 
\index{Diskselector@{Diskselector}!elm\+\_\+obj\+\_\+diskselector\+\_\+side\+\_\+text\+\_\+max\+\_\+length\+\_\+set@{elm\+\_\+obj\+\_\+diskselector\+\_\+side\+\_\+text\+\_\+max\+\_\+length\+\_\+set}}
\index{elm\+\_\+obj\+\_\+diskselector\+\_\+side\+\_\+text\+\_\+max\+\_\+length\+\_\+set@{elm\+\_\+obj\+\_\+diskselector\+\_\+side\+\_\+text\+\_\+max\+\_\+length\+\_\+set}!Diskselector@{Diskselector}}
\subsubsection{\texorpdfstring{elm\+\_\+obj\+\_\+diskselector\+\_\+side\+\_\+text\+\_\+max\+\_\+length\+\_\+set()}{elm\_obj\_diskselector\_side\_text\_max\_length\_set()}}
{\footnotesize\ttfamily E\+O\+A\+PI void elm\+\_\+obj\+\_\+diskselector\+\_\+side\+\_\+text\+\_\+max\+\_\+length\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$}]{obj,  }\item[{int}]{len }\end{DoxyParamCaption})}



Set the side labels max length. 

Length is the number of characters of items\textquotesingle{} label that will be visible when it\textquotesingle{}s set on side positions. It will just crop the string after defined size. E.\+g.\+:

An item with label \char`\"{}\+January\char`\"{} would be displayed on side position as \char`\"{}\+Jan\char`\"{} if max length is set to 3, or \char`\"{}\+Janu\char`\"{}, if this property is set to 4.

When it\textquotesingle{}s selected, the entire label will be displayed, except for width restrictions. In this case label will be cropped and \char`\"{}...\char`\"{} will be concatenated.

Default side label max length is 3.

This property will be applied over all items, included before or later this function call.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em len} & The max length defined for side labels. \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+diskselector\+\_\+side\+\_\+text\+\_\+max\+\_\+length\+\_\+set().

\mbox{\Hypertarget{group__Elm__Diskselector_ga92ca4a5770a5d480cefc94d9309e70bb}\label{group__Elm__Diskselector_ga92ca4a5770a5d480cefc94d9309e70bb}} 
\index{Diskselector@{Diskselector}!elm\+\_\+obj\+\_\+diskselector\+\_\+side\+\_\+text\+\_\+max\+\_\+length\+\_\+get@{elm\+\_\+obj\+\_\+diskselector\+\_\+side\+\_\+text\+\_\+max\+\_\+length\+\_\+get}}
\index{elm\+\_\+obj\+\_\+diskselector\+\_\+side\+\_\+text\+\_\+max\+\_\+length\+\_\+get@{elm\+\_\+obj\+\_\+diskselector\+\_\+side\+\_\+text\+\_\+max\+\_\+length\+\_\+get}!Diskselector@{Diskselector}}
\subsubsection{\texorpdfstring{elm\+\_\+obj\+\_\+diskselector\+\_\+side\+\_\+text\+\_\+max\+\_\+length\+\_\+get()}{elm\_obj\_diskselector\_side\_text\_max\_length\_get()}}
{\footnotesize\ttfamily E\+O\+A\+PI int elm\+\_\+obj\+\_\+diskselector\+\_\+side\+\_\+text\+\_\+max\+\_\+length\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$}]{obj }\end{DoxyParamCaption})}



Get the side labels max length. 

See also \mbox{\hyperlink{group__Elm__Diskselector_ga8f876abb21e0aa833c560d10f25dc0d4}{elm\+\_\+obj\+\_\+diskselector\+\_\+side\+\_\+text\+\_\+max\+\_\+length\+\_\+set}} for details.

\begin{DoxyReturn}{Returns}
The max length defined for side labels. 
\end{DoxyReturn}


Referenced by elm\+\_\+diskselector\+\_\+side\+\_\+text\+\_\+max\+\_\+length\+\_\+get().

\mbox{\Hypertarget{group__Elm__Diskselector_gae12fb9142d0d05cada6902d257e21a99}\label{group__Elm__Diskselector_gae12fb9142d0d05cada6902d257e21a99}} 
\index{Diskselector@{Diskselector}!elm\+\_\+obj\+\_\+diskselector\+\_\+round\+\_\+enabled\+\_\+set@{elm\+\_\+obj\+\_\+diskselector\+\_\+round\+\_\+enabled\+\_\+set}}
\index{elm\+\_\+obj\+\_\+diskselector\+\_\+round\+\_\+enabled\+\_\+set@{elm\+\_\+obj\+\_\+diskselector\+\_\+round\+\_\+enabled\+\_\+set}!Diskselector@{Diskselector}}
\subsubsection{\texorpdfstring{elm\+\_\+obj\+\_\+diskselector\+\_\+round\+\_\+enabled\+\_\+set()}{elm\_obj\_diskselector\_round\_enabled\_set()}}
{\footnotesize\ttfamily E\+O\+A\+PI void elm\+\_\+obj\+\_\+diskselector\+\_\+round\+\_\+enabled\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}}]{enabled }\end{DoxyParamCaption})}



Enable or disable round mode. 

Disabled by default. If round mode is enabled the items list will work like a circular list, so when the user reaches the last item, the first one will popup.

See also \mbox{\hyperlink{group__Elm__Diskselector_gaa97327df439327e38e9e1469b921db47}{elm\+\_\+obj\+\_\+diskselector\+\_\+round\+\_\+enabled\+\_\+get}}.


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


Referenced by elm\+\_\+diskselector\+\_\+round\+\_\+enabled\+\_\+set().

\mbox{\Hypertarget{group__Elm__Diskselector_gaa97327df439327e38e9e1469b921db47}\label{group__Elm__Diskselector_gaa97327df439327e38e9e1469b921db47}} 
\index{Diskselector@{Diskselector}!elm\+\_\+obj\+\_\+diskselector\+\_\+round\+\_\+enabled\+\_\+get@{elm\+\_\+obj\+\_\+diskselector\+\_\+round\+\_\+enabled\+\_\+get}}
\index{elm\+\_\+obj\+\_\+diskselector\+\_\+round\+\_\+enabled\+\_\+get@{elm\+\_\+obj\+\_\+diskselector\+\_\+round\+\_\+enabled\+\_\+get}!Diskselector@{Diskselector}}
\subsubsection{\texorpdfstring{elm\+\_\+obj\+\_\+diskselector\+\_\+round\+\_\+enabled\+\_\+get()}{elm\_obj\_diskselector\_round\_enabled\_get()}}
{\footnotesize\ttfamily E\+O\+A\+PI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+obj\+\_\+diskselector\+\_\+round\+\_\+enabled\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$}]{obj }\end{DoxyParamCaption})}



Get a value whether round mode is enabled or not. 

See also \mbox{\hyperlink{group__Elm__Diskselector_gae12fb9142d0d05cada6902d257e21a99}{elm\+\_\+obj\+\_\+diskselector\+\_\+round\+\_\+enabled\+\_\+set}} for details.

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


Referenced by elm\+\_\+diskselector\+\_\+round\+\_\+enabled\+\_\+get().

\mbox{\Hypertarget{group__Elm__Diskselector_ga3c42018f9db616e80348f2a709718eec}\label{group__Elm__Diskselector_ga3c42018f9db616e80348f2a709718eec}} 
\index{Diskselector@{Diskselector}!elm\+\_\+obj\+\_\+diskselector\+\_\+display\+\_\+item\+\_\+num\+\_\+set@{elm\+\_\+obj\+\_\+diskselector\+\_\+display\+\_\+item\+\_\+num\+\_\+set}}
\index{elm\+\_\+obj\+\_\+diskselector\+\_\+display\+\_\+item\+\_\+num\+\_\+set@{elm\+\_\+obj\+\_\+diskselector\+\_\+display\+\_\+item\+\_\+num\+\_\+set}!Diskselector@{Diskselector}}
\subsubsection{\texorpdfstring{elm\+\_\+obj\+\_\+diskselector\+\_\+display\+\_\+item\+\_\+num\+\_\+set()}{elm\_obj\_diskselector\_display\_item\_num\_set()}}
{\footnotesize\ttfamily E\+O\+A\+PI void elm\+\_\+obj\+\_\+diskselector\+\_\+display\+\_\+item\+\_\+num\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$}]{obj,  }\item[{int}]{num }\end{DoxyParamCaption})}



Set the number of items to be displayed. 

Default value is 3, and also it\textquotesingle{}s the minimum. If {\ttfamily num} is less than 3, it will be set to 3.

Also, it can be set on theme, using data item {\ttfamily display\+\_\+item\+\_\+num} on group \char`\"{}elm/diskselector/item/\+X\char`\"{}, where X is style set.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em num} & The number of items the diskselector will display. \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+diskselector\+\_\+display\+\_\+item\+\_\+num\+\_\+set().

\mbox{\Hypertarget{group__Elm__Diskselector_ga696476cb298d2fa0fe2c9aad2173135a}\label{group__Elm__Diskselector_ga696476cb298d2fa0fe2c9aad2173135a}} 
\index{Diskselector@{Diskselector}!elm\+\_\+obj\+\_\+diskselector\+\_\+display\+\_\+item\+\_\+num\+\_\+get@{elm\+\_\+obj\+\_\+diskselector\+\_\+display\+\_\+item\+\_\+num\+\_\+get}}
\index{elm\+\_\+obj\+\_\+diskselector\+\_\+display\+\_\+item\+\_\+num\+\_\+get@{elm\+\_\+obj\+\_\+diskselector\+\_\+display\+\_\+item\+\_\+num\+\_\+get}!Diskselector@{Diskselector}}
\subsubsection{\texorpdfstring{elm\+\_\+obj\+\_\+diskselector\+\_\+display\+\_\+item\+\_\+num\+\_\+get()}{elm\_obj\_diskselector\_display\_item\_num\_get()}}
{\footnotesize\ttfamily E\+O\+A\+PI int elm\+\_\+obj\+\_\+diskselector\+\_\+display\+\_\+item\+\_\+num\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$}]{obj }\end{DoxyParamCaption})}



Get the number of items in the diskselector object. 

\begin{DoxyReturn}{Returns}
The number of items the diskselector will display. 
\end{DoxyReturn}


Referenced by elm\+\_\+diskselector\+\_\+display\+\_\+item\+\_\+num\+\_\+get().

\mbox{\Hypertarget{group__Elm__Diskselector_gac343bddd4353e3d22f47bf7736ec4dfc}\label{group__Elm__Diskselector_gac343bddd4353e3d22f47bf7736ec4dfc}} 
\index{Diskselector@{Diskselector}!elm\+\_\+obj\+\_\+diskselector\+\_\+first\+\_\+item\+\_\+get@{elm\+\_\+obj\+\_\+diskselector\+\_\+first\+\_\+item\+\_\+get}}
\index{elm\+\_\+obj\+\_\+diskselector\+\_\+first\+\_\+item\+\_\+get@{elm\+\_\+obj\+\_\+diskselector\+\_\+first\+\_\+item\+\_\+get}!Diskselector@{Diskselector}}
\subsubsection{\texorpdfstring{elm\+\_\+obj\+\_\+diskselector\+\_\+first\+\_\+item\+\_\+get()}{elm\_obj\_diskselector\_first\_item\_get()}}
{\footnotesize\ttfamily E\+O\+A\+PI Elm\+\_\+\+Widget\+\_\+\+Item$\ast$ elm\+\_\+obj\+\_\+diskselector\+\_\+first\+\_\+item\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$}]{obj }\end{DoxyParamCaption})}



Get the first item of the diskselector. 

The list of items follows append order. So it will return the first item appended to the widget that wasn\textquotesingle{}t deleted.

See also \mbox{\hyperlink{group__Elm__Diskselector_ga061f03293b0ab29ee1d5ec373d40e32c}{elm\+\_\+obj\+\_\+diskselector\+\_\+item\+\_\+append}}, \mbox{\hyperlink{group__Elm__Diskselector_ga7e96aaa65b1e8a9e64e422769011185c}{elm\+\_\+obj\+\_\+diskselector\+\_\+items\+\_\+get}}.

\begin{DoxyReturn}{Returns}
The first item, or {\ttfamily null} if none. 
\end{DoxyReturn}


Referenced by elm\+\_\+diskselector\+\_\+first\+\_\+item\+\_\+get().

\mbox{\Hypertarget{group__Elm__Diskselector_ga7e96aaa65b1e8a9e64e422769011185c}\label{group__Elm__Diskselector_ga7e96aaa65b1e8a9e64e422769011185c}} 
\index{Diskselector@{Diskselector}!elm\+\_\+obj\+\_\+diskselector\+\_\+items\+\_\+get@{elm\+\_\+obj\+\_\+diskselector\+\_\+items\+\_\+get}}
\index{elm\+\_\+obj\+\_\+diskselector\+\_\+items\+\_\+get@{elm\+\_\+obj\+\_\+diskselector\+\_\+items\+\_\+get}!Diskselector@{Diskselector}}
\subsubsection{\texorpdfstring{elm\+\_\+obj\+\_\+diskselector\+\_\+items\+\_\+get()}{elm\_obj\_diskselector\_items\_get()}}
{\footnotesize\ttfamily E\+O\+A\+PI const \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}}$\ast$ elm\+\_\+obj\+\_\+diskselector\+\_\+items\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$}]{obj }\end{DoxyParamCaption})}



Get a list of all the diskselector items. 

See also \mbox{\hyperlink{group__Elm__Diskselector_ga061f03293b0ab29ee1d5ec373d40e32c}{elm\+\_\+obj\+\_\+diskselector\+\_\+item\+\_\+append}}, elm\+\_\+object\+\_\+item\+\_\+del, \mbox{\hyperlink{group__Elm__Diskselector_ga8f81c813a90428c9712b8fc804f0be48}{elm\+\_\+obj\+\_\+diskselector\+\_\+clear}}.

\begin{DoxyReturn}{Returns}
A {\ttfamily list} of diskselector items, or {\ttfamily ull} on failure. 
\end{DoxyReturn}


Referenced by elm\+\_\+diskselector\+\_\+items\+\_\+get().

\mbox{\Hypertarget{group__Elm__Diskselector_ga4098e51b8084c124375800eb3f0e062c}\label{group__Elm__Diskselector_ga4098e51b8084c124375800eb3f0e062c}} 
\index{Diskselector@{Diskselector}!elm\+\_\+obj\+\_\+diskselector\+\_\+last\+\_\+item\+\_\+get@{elm\+\_\+obj\+\_\+diskselector\+\_\+last\+\_\+item\+\_\+get}}
\index{elm\+\_\+obj\+\_\+diskselector\+\_\+last\+\_\+item\+\_\+get@{elm\+\_\+obj\+\_\+diskselector\+\_\+last\+\_\+item\+\_\+get}!Diskselector@{Diskselector}}
\subsubsection{\texorpdfstring{elm\+\_\+obj\+\_\+diskselector\+\_\+last\+\_\+item\+\_\+get()}{elm\_obj\_diskselector\_last\_item\_get()}}
{\footnotesize\ttfamily E\+O\+A\+PI Elm\+\_\+\+Widget\+\_\+\+Item$\ast$ elm\+\_\+obj\+\_\+diskselector\+\_\+last\+\_\+item\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$}]{obj }\end{DoxyParamCaption})}



Get the last item of the diskselector. 

The list of items follows append order. So it will return last first item appended to the widget that wasn\textquotesingle{}t deleted.

See also \mbox{\hyperlink{group__Elm__Diskselector_ga061f03293b0ab29ee1d5ec373d40e32c}{elm\+\_\+obj\+\_\+diskselector\+\_\+item\+\_\+append}}, \mbox{\hyperlink{group__Elm__Diskselector_ga7e96aaa65b1e8a9e64e422769011185c}{elm\+\_\+obj\+\_\+diskselector\+\_\+items\+\_\+get}}.

\begin{DoxyReturn}{Returns}
The last item, or {\ttfamily null} if none. 
\end{DoxyReturn}


Referenced by elm\+\_\+diskselector\+\_\+last\+\_\+item\+\_\+get().

\mbox{\Hypertarget{group__Elm__Diskselector_ga801a11fbb544dba62c358e885ccf2c14}\label{group__Elm__Diskselector_ga801a11fbb544dba62c358e885ccf2c14}} 
\index{Diskselector@{Diskselector}!elm\+\_\+obj\+\_\+diskselector\+\_\+selected\+\_\+item\+\_\+get@{elm\+\_\+obj\+\_\+diskselector\+\_\+selected\+\_\+item\+\_\+get}}
\index{elm\+\_\+obj\+\_\+diskselector\+\_\+selected\+\_\+item\+\_\+get@{elm\+\_\+obj\+\_\+diskselector\+\_\+selected\+\_\+item\+\_\+get}!Diskselector@{Diskselector}}
\subsubsection{\texorpdfstring{elm\+\_\+obj\+\_\+diskselector\+\_\+selected\+\_\+item\+\_\+get()}{elm\_obj\_diskselector\_selected\_item\_get()}}
{\footnotesize\ttfamily E\+O\+A\+PI Elm\+\_\+\+Widget\+\_\+\+Item$\ast$ elm\+\_\+obj\+\_\+diskselector\+\_\+selected\+\_\+item\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$}]{obj }\end{DoxyParamCaption})}



Get the selected item. 

The selected item can be unselected with elm\+\_\+obj\+\_\+diskselector\+\_\+item\+\_\+selected\+\_\+set, and the first item of diskselector will be selected.

The selected item always will be centered on diskselector, with full label displayed, i.\+e., max length set to side labels won\textquotesingle{}t apply on the selected item. More details on \mbox{\hyperlink{group__Elm__Diskselector_ga8f876abb21e0aa833c560d10f25dc0d4}{elm\+\_\+obj\+\_\+diskselector\+\_\+side\+\_\+text\+\_\+max\+\_\+length\+\_\+set}}.

\begin{DoxyReturn}{Returns}
The selected diskselector item. 
\end{DoxyReturn}


Referenced by elm\+\_\+diskselector\+\_\+selected\+\_\+item\+\_\+get().

\mbox{\Hypertarget{group__Elm__Diskselector_ga061f03293b0ab29ee1d5ec373d40e32c}\label{group__Elm__Diskselector_ga061f03293b0ab29ee1d5ec373d40e32c}} 
\index{Diskselector@{Diskselector}!elm\+\_\+obj\+\_\+diskselector\+\_\+item\+\_\+append@{elm\+\_\+obj\+\_\+diskselector\+\_\+item\+\_\+append}}
\index{elm\+\_\+obj\+\_\+diskselector\+\_\+item\+\_\+append@{elm\+\_\+obj\+\_\+diskselector\+\_\+item\+\_\+append}!Diskselector@{Diskselector}}
\subsubsection{\texorpdfstring{elm\+\_\+obj\+\_\+diskselector\+\_\+item\+\_\+append()}{elm\_obj\_diskselector\_item\_append()}}
{\footnotesize\ttfamily E\+O\+A\+PI Elm\+\_\+\+Widget\+\_\+\+Item$\ast$ elm\+\_\+obj\+\_\+diskselector\+\_\+item\+\_\+append (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$}]{obj,  }\item[{const char $\ast$}]{label,  }\item[{Efl\+\_\+\+Canvas\+\_\+\+Object $\ast$}]{icon,  }\item[{\mbox{\hyperlink{Evas__Common_8h_afbde245aa36db11d8280b266235c25b2}{Evas\+\_\+\+Smart\+\_\+\+Cb}}}]{func,  }\item[{const void $\ast$}]{data }\end{DoxyParamCaption})}



Appends a new item to the diskselector object. 

A new item will be created and appended to the diskselector, i.\+e., will be set as last item. Also, if there is no selected item, it will be selected. This will always happens for the first appended item.

If no icon is set, label will be centered on item position, otherwise the icon will be placed at left of the label, that will be shifted to the right.

Items created with this method can be deleted with elm\+\_\+object\+\_\+item\+\_\+del.

Associated {\ttfamily data} can be properly freed when item is deleted if a callback function is set with elm\+\_\+object\+\_\+item\+\_\+del\+\_\+cb\+\_\+set.

If a function is passed as argument, it will be called every time this item is selected, i.\+e., the user stops the diskselector with this item on center position. If such function isn\textquotesingle{}t needed, just passing {\ttfamily null} as {\ttfamily func} is enough. The same should be done for {\ttfamily data}.

See also elm\+\_\+object\+\_\+item\+\_\+del, \mbox{\hyperlink{group__Elm__Diskselector_ga8f81c813a90428c9712b8fc804f0be48}{elm\+\_\+obj\+\_\+diskselector\+\_\+clear}}, \mbox{\hyperlink{group__Elm__Icon_ga5739728c1209f90422cf65a778a16502}{elm\+\_\+icon\+\_\+add}}.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em label} & The label of the diskselector item. \\
\hline
\mbox{\tt in}  & {\em icon} & The icon object to use at left side of the item. An icon can be any Evas object, but usually it is an icon created with \mbox{\hyperlink{group__Elm__Icon_ga5739728c1209f90422cf65a778a16502}{elm\+\_\+icon\+\_\+add()}}. \\
\hline
\mbox{\tt in}  & {\em func} & The function to call when the item is selected. \\
\hline
\mbox{\tt in}  & {\em data} & The data to associate with the item for related callbacks.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
New item 
\end{DoxyReturn}


Referenced by elm\+\_\+diskselector\+\_\+item\+\_\+append().

\mbox{\Hypertarget{group__Elm__Diskselector_ga8f81c813a90428c9712b8fc804f0be48}\label{group__Elm__Diskselector_ga8f81c813a90428c9712b8fc804f0be48}} 
\index{Diskselector@{Diskselector}!elm\+\_\+obj\+\_\+diskselector\+\_\+clear@{elm\+\_\+obj\+\_\+diskselector\+\_\+clear}}
\index{elm\+\_\+obj\+\_\+diskselector\+\_\+clear@{elm\+\_\+obj\+\_\+diskselector\+\_\+clear}!Diskselector@{Diskselector}}
\subsubsection{\texorpdfstring{elm\+\_\+obj\+\_\+diskselector\+\_\+clear()}{elm\_obj\_diskselector\_clear()}}
{\footnotesize\ttfamily E\+O\+A\+PI void elm\+\_\+obj\+\_\+diskselector\+\_\+clear (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo}} $\ast$}]{obj }\end{DoxyParamCaption})}



Remove all diskselector\textquotesingle{}s items. 

See also elm\+\_\+object\+\_\+item\+\_\+del, \mbox{\hyperlink{group__Elm__Diskselector_ga061f03293b0ab29ee1d5ec373d40e32c}{elm\+\_\+obj\+\_\+diskselector\+\_\+item\+\_\+append}}. 

Referenced by elm\+\_\+diskselector\+\_\+clear().

\mbox{\Hypertarget{group__Elm__Diskselector_gaa9f2aea2aa5dc9b9783cd97d5585131e}\label{group__Elm__Diskselector_gaa9f2aea2aa5dc9b9783cd97d5585131e}} 
\index{Diskselector@{Diskselector}!elm\+\_\+diskselector\+\_\+side\+\_\+text\+\_\+max\+\_\+length\+\_\+set@{elm\+\_\+diskselector\+\_\+side\+\_\+text\+\_\+max\+\_\+length\+\_\+set}}
\index{elm\+\_\+diskselector\+\_\+side\+\_\+text\+\_\+max\+\_\+length\+\_\+set@{elm\+\_\+diskselector\+\_\+side\+\_\+text\+\_\+max\+\_\+length\+\_\+set}!Diskselector@{Diskselector}}
\subsubsection{\texorpdfstring{elm\+\_\+diskselector\+\_\+side\+\_\+text\+\_\+max\+\_\+length\+\_\+set()}{elm\_diskselector\_side\_text\_max\_length\_set()}}
{\footnotesize\ttfamily void elm\+\_\+diskselector\+\_\+side\+\_\+text\+\_\+max\+\_\+length\+\_\+set (\begin{DoxyParamCaption}\item[{Elm\+\_\+\+Diskselector $\ast$}]{obj,  }\item[{int}]{len }\end{DoxyParamCaption})}



Set the side labels max length. 

Length is the number of characters of items\textquotesingle{} label that will be visible when it\textquotesingle{}s set on side positions. It will just crop the string after defined size. E.\+g.\+:

An item with label \char`\"{}\+January\char`\"{} would be displayed on side position as \char`\"{}\+Jan\char`\"{} if max length is set to 3, or \char`\"{}\+Janu\char`\"{}, if this property is set to 4.

When it\textquotesingle{}s selected, the entire label will be displayed, except for width restrictions. In this case label will be cropped and \char`\"{}...\char`\"{} will be concatenated.

Default side label max length is 3.

This property will be applied over all items, included before or later this function call.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em len} & The max length defined for side labels. \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+diskselector\+\_\+side\+\_\+text\+\_\+max\+\_\+length\+\_\+set().

\mbox{\Hypertarget{group__Elm__Diskselector_ga355b79f778a9845ad30d80d417792336}\label{group__Elm__Diskselector_ga355b79f778a9845ad30d80d417792336}} 
\index{Diskselector@{Diskselector}!elm\+\_\+diskselector\+\_\+side\+\_\+text\+\_\+max\+\_\+length\+\_\+get@{elm\+\_\+diskselector\+\_\+side\+\_\+text\+\_\+max\+\_\+length\+\_\+get}}
\index{elm\+\_\+diskselector\+\_\+side\+\_\+text\+\_\+max\+\_\+length\+\_\+get@{elm\+\_\+diskselector\+\_\+side\+\_\+text\+\_\+max\+\_\+length\+\_\+get}!Diskselector@{Diskselector}}
\subsubsection{\texorpdfstring{elm\+\_\+diskselector\+\_\+side\+\_\+text\+\_\+max\+\_\+length\+\_\+get()}{elm\_diskselector\_side\_text\_max\_length\_get()}}
{\footnotesize\ttfamily int elm\+\_\+diskselector\+\_\+side\+\_\+text\+\_\+max\+\_\+length\+\_\+get (\begin{DoxyParamCaption}\item[{const Elm\+\_\+\+Diskselector $\ast$}]{obj }\end{DoxyParamCaption})}



Get the side labels max length. 

See also \mbox{\hyperlink{group__Elm__Diskselector_gaa9f2aea2aa5dc9b9783cd97d5585131e}{elm\+\_\+diskselector\+\_\+side\+\_\+text\+\_\+max\+\_\+length\+\_\+set}} for details.

\begin{DoxyReturn}{Returns}
The max length defined for side labels. 
\end{DoxyReturn}


References elm\+\_\+obj\+\_\+diskselector\+\_\+side\+\_\+text\+\_\+max\+\_\+length\+\_\+get().

\mbox{\Hypertarget{group__Elm__Diskselector_ga30caf1f47ef6bafd61dcc17a47b21a78}\label{group__Elm__Diskselector_ga30caf1f47ef6bafd61dcc17a47b21a78}} 
\index{Diskselector@{Diskselector}!elm\+\_\+diskselector\+\_\+round\+\_\+enabled\+\_\+set@{elm\+\_\+diskselector\+\_\+round\+\_\+enabled\+\_\+set}}
\index{elm\+\_\+diskselector\+\_\+round\+\_\+enabled\+\_\+set@{elm\+\_\+diskselector\+\_\+round\+\_\+enabled\+\_\+set}!Diskselector@{Diskselector}}
\subsubsection{\texorpdfstring{elm\+\_\+diskselector\+\_\+round\+\_\+enabled\+\_\+set()}{elm\_diskselector\_round\_enabled\_set()}}
{\footnotesize\ttfamily void elm\+\_\+diskselector\+\_\+round\+\_\+enabled\+\_\+set (\begin{DoxyParamCaption}\item[{Elm\+\_\+\+Diskselector $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}}]{enabled }\end{DoxyParamCaption})}



Enable or disable round mode. 

Disabled by default. If round mode is enabled the items list will work like a circular list, so when the user reaches the last item, the first one will popup.

See also \mbox{\hyperlink{group__Elm__Diskselector_ga7f907786bfaf15c8d961ecd824f3109c}{elm\+\_\+diskselector\+\_\+round\+\_\+enabled\+\_\+get}}.


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


References elm\+\_\+obj\+\_\+diskselector\+\_\+round\+\_\+enabled\+\_\+set().

\mbox{\Hypertarget{group__Elm__Diskselector_ga7f907786bfaf15c8d961ecd824f3109c}\label{group__Elm__Diskselector_ga7f907786bfaf15c8d961ecd824f3109c}} 
\index{Diskselector@{Diskselector}!elm\+\_\+diskselector\+\_\+round\+\_\+enabled\+\_\+get@{elm\+\_\+diskselector\+\_\+round\+\_\+enabled\+\_\+get}}
\index{elm\+\_\+diskselector\+\_\+round\+\_\+enabled\+\_\+get@{elm\+\_\+diskselector\+\_\+round\+\_\+enabled\+\_\+get}!Diskselector@{Diskselector}}
\subsubsection{\texorpdfstring{elm\+\_\+diskselector\+\_\+round\+\_\+enabled\+\_\+get()}{elm\_diskselector\_round\_enabled\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+diskselector\+\_\+round\+\_\+enabled\+\_\+get (\begin{DoxyParamCaption}\item[{const Elm\+\_\+\+Diskselector $\ast$}]{obj }\end{DoxyParamCaption})}



Get a value whether round mode is enabled or not. 

See also \mbox{\hyperlink{group__Elm__Diskselector_ga30caf1f47ef6bafd61dcc17a47b21a78}{elm\+\_\+diskselector\+\_\+round\+\_\+enabled\+\_\+set}} for details.

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


References elm\+\_\+obj\+\_\+diskselector\+\_\+round\+\_\+enabled\+\_\+get().

\mbox{\Hypertarget{group__Elm__Diskselector_ga422a509910213cb9fa6121349d5d077c}\label{group__Elm__Diskselector_ga422a509910213cb9fa6121349d5d077c}} 
\index{Diskselector@{Diskselector}!elm\+\_\+diskselector\+\_\+display\+\_\+item\+\_\+num\+\_\+set@{elm\+\_\+diskselector\+\_\+display\+\_\+item\+\_\+num\+\_\+set}}
\index{elm\+\_\+diskselector\+\_\+display\+\_\+item\+\_\+num\+\_\+set@{elm\+\_\+diskselector\+\_\+display\+\_\+item\+\_\+num\+\_\+set}!Diskselector@{Diskselector}}
\subsubsection{\texorpdfstring{elm\+\_\+diskselector\+\_\+display\+\_\+item\+\_\+num\+\_\+set()}{elm\_diskselector\_display\_item\_num\_set()}}
{\footnotesize\ttfamily void elm\+\_\+diskselector\+\_\+display\+\_\+item\+\_\+num\+\_\+set (\begin{DoxyParamCaption}\item[{Elm\+\_\+\+Diskselector $\ast$}]{obj,  }\item[{int}]{num }\end{DoxyParamCaption})}



Set the number of items to be displayed. 

Default value is 3, and also it\textquotesingle{}s the minimum. If {\ttfamily num} is less than 3, it will be set to 3.

Also, it can be set on theme, using data item {\ttfamily display\+\_\+item\+\_\+num} on group \char`\"{}elm/diskselector/item/\+X\char`\"{}, where X is style set.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em num} & The number of items the diskselector will display. \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+diskselector\+\_\+display\+\_\+item\+\_\+num\+\_\+set().

\mbox{\Hypertarget{group__Elm__Diskselector_ga3e477ad7782102908f776e2171a17ea7}\label{group__Elm__Diskselector_ga3e477ad7782102908f776e2171a17ea7}} 
\index{Diskselector@{Diskselector}!elm\+\_\+diskselector\+\_\+display\+\_\+item\+\_\+num\+\_\+get@{elm\+\_\+diskselector\+\_\+display\+\_\+item\+\_\+num\+\_\+get}}
\index{elm\+\_\+diskselector\+\_\+display\+\_\+item\+\_\+num\+\_\+get@{elm\+\_\+diskselector\+\_\+display\+\_\+item\+\_\+num\+\_\+get}!Diskselector@{Diskselector}}
\subsubsection{\texorpdfstring{elm\+\_\+diskselector\+\_\+display\+\_\+item\+\_\+num\+\_\+get()}{elm\_diskselector\_display\_item\_num\_get()}}
{\footnotesize\ttfamily int elm\+\_\+diskselector\+\_\+display\+\_\+item\+\_\+num\+\_\+get (\begin{DoxyParamCaption}\item[{const Elm\+\_\+\+Diskselector $\ast$}]{obj }\end{DoxyParamCaption})}



Get the number of items in the diskselector object. 

\begin{DoxyReturn}{Returns}
The number of items the diskselector will display. 
\end{DoxyReturn}


References elm\+\_\+obj\+\_\+diskselector\+\_\+display\+\_\+item\+\_\+num\+\_\+get().

\mbox{\Hypertarget{group__Elm__Diskselector_gacff65f40504665814c52c2f15c5f390e}\label{group__Elm__Diskselector_gacff65f40504665814c52c2f15c5f390e}} 
\index{Diskselector@{Diskselector}!elm\+\_\+diskselector\+\_\+first\+\_\+item\+\_\+get@{elm\+\_\+diskselector\+\_\+first\+\_\+item\+\_\+get}}
\index{elm\+\_\+diskselector\+\_\+first\+\_\+item\+\_\+get@{elm\+\_\+diskselector\+\_\+first\+\_\+item\+\_\+get}!Diskselector@{Diskselector}}
\subsubsection{\texorpdfstring{elm\+\_\+diskselector\+\_\+first\+\_\+item\+\_\+get()}{elm\_diskselector\_first\_item\_get()}}
{\footnotesize\ttfamily Elm\+\_\+\+Widget\+\_\+\+Item$\ast$ elm\+\_\+diskselector\+\_\+first\+\_\+item\+\_\+get (\begin{DoxyParamCaption}\item[{const Elm\+\_\+\+Diskselector $\ast$}]{obj }\end{DoxyParamCaption})}



Get the first item of the diskselector. 

The list of items follows append order. So it will return the first item appended to the widget that wasn\textquotesingle{}t deleted.

See also \mbox{\hyperlink{group__Elm__Diskselector_ga843f302f642b88c5148e55744cbc9072}{elm\+\_\+diskselector\+\_\+item\+\_\+append}}, \mbox{\hyperlink{group__Elm__Diskselector_ga7ffb27506e91dc8d91cd7becf9485b6c}{elm\+\_\+diskselector\+\_\+items\+\_\+get}}.

\begin{DoxyReturn}{Returns}
The first item, or {\ttfamily null} if none. 
\end{DoxyReturn}


References elm\+\_\+obj\+\_\+diskselector\+\_\+first\+\_\+item\+\_\+get().

\mbox{\Hypertarget{group__Elm__Diskselector_ga7ffb27506e91dc8d91cd7becf9485b6c}\label{group__Elm__Diskselector_ga7ffb27506e91dc8d91cd7becf9485b6c}} 
\index{Diskselector@{Diskselector}!elm\+\_\+diskselector\+\_\+items\+\_\+get@{elm\+\_\+diskselector\+\_\+items\+\_\+get}}
\index{elm\+\_\+diskselector\+\_\+items\+\_\+get@{elm\+\_\+diskselector\+\_\+items\+\_\+get}!Diskselector@{Diskselector}}
\subsubsection{\texorpdfstring{elm\+\_\+diskselector\+\_\+items\+\_\+get()}{elm\_diskselector\_items\_get()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}}$\ast$ elm\+\_\+diskselector\+\_\+items\+\_\+get (\begin{DoxyParamCaption}\item[{const Elm\+\_\+\+Diskselector $\ast$}]{obj }\end{DoxyParamCaption})}



Get a list of all the diskselector items. 

See also \mbox{\hyperlink{group__Elm__Diskselector_ga843f302f642b88c5148e55744cbc9072}{elm\+\_\+diskselector\+\_\+item\+\_\+append}}, elm\+\_\+object\+\_\+item\+\_\+del, \mbox{\hyperlink{group__Elm__Diskselector_ga0667afe4c63f62fa6ef22d78b04dd8a3}{elm\+\_\+diskselector\+\_\+clear}}.

\begin{DoxyReturn}{Returns}
A {\ttfamily list} of diskselector items, or {\ttfamily ull} on failure. 
\end{DoxyReturn}


References elm\+\_\+obj\+\_\+diskselector\+\_\+items\+\_\+get().

\mbox{\Hypertarget{group__Elm__Diskselector_ga9202a988f86d85d16d43d6a6c836cd11}\label{group__Elm__Diskselector_ga9202a988f86d85d16d43d6a6c836cd11}} 
\index{Diskselector@{Diskselector}!elm\+\_\+diskselector\+\_\+last\+\_\+item\+\_\+get@{elm\+\_\+diskselector\+\_\+last\+\_\+item\+\_\+get}}
\index{elm\+\_\+diskselector\+\_\+last\+\_\+item\+\_\+get@{elm\+\_\+diskselector\+\_\+last\+\_\+item\+\_\+get}!Diskselector@{Diskselector}}
\subsubsection{\texorpdfstring{elm\+\_\+diskselector\+\_\+last\+\_\+item\+\_\+get()}{elm\_diskselector\_last\_item\_get()}}
{\footnotesize\ttfamily Elm\+\_\+\+Widget\+\_\+\+Item$\ast$ elm\+\_\+diskselector\+\_\+last\+\_\+item\+\_\+get (\begin{DoxyParamCaption}\item[{const Elm\+\_\+\+Diskselector $\ast$}]{obj }\end{DoxyParamCaption})}



Get the last item of the diskselector. 

The list of items follows append order. So it will return last first item appended to the widget that wasn\textquotesingle{}t deleted.

See also \mbox{\hyperlink{group__Elm__Diskselector_ga843f302f642b88c5148e55744cbc9072}{elm\+\_\+diskselector\+\_\+item\+\_\+append}}, \mbox{\hyperlink{group__Elm__Diskselector_ga7ffb27506e91dc8d91cd7becf9485b6c}{elm\+\_\+diskselector\+\_\+items\+\_\+get}}.

\begin{DoxyReturn}{Returns}
The last item, or {\ttfamily null} if none. 
\end{DoxyReturn}


References elm\+\_\+obj\+\_\+diskselector\+\_\+last\+\_\+item\+\_\+get().

\mbox{\Hypertarget{group__Elm__Diskselector_ga5c05c1dbc801d3dc7e7889c565efdfc3}\label{group__Elm__Diskselector_ga5c05c1dbc801d3dc7e7889c565efdfc3}} 
\index{Diskselector@{Diskselector}!elm\+\_\+diskselector\+\_\+selected\+\_\+item\+\_\+get@{elm\+\_\+diskselector\+\_\+selected\+\_\+item\+\_\+get}}
\index{elm\+\_\+diskselector\+\_\+selected\+\_\+item\+\_\+get@{elm\+\_\+diskselector\+\_\+selected\+\_\+item\+\_\+get}!Diskselector@{Diskselector}}
\subsubsection{\texorpdfstring{elm\+\_\+diskselector\+\_\+selected\+\_\+item\+\_\+get()}{elm\_diskselector\_selected\_item\_get()}}
{\footnotesize\ttfamily Elm\+\_\+\+Widget\+\_\+\+Item$\ast$ elm\+\_\+diskselector\+\_\+selected\+\_\+item\+\_\+get (\begin{DoxyParamCaption}\item[{const Elm\+\_\+\+Diskselector $\ast$}]{obj }\end{DoxyParamCaption})}



Get the selected item. 

The selected item can be unselected with elm\+\_\+diskselector\+\_\+item\+\_\+selected\+\_\+set, and the first item of diskselector will be selected.

The selected item always will be centered on diskselector, with full label displayed, i.\+e., max length set to side labels won\textquotesingle{}t apply on the selected item. More details on \mbox{\hyperlink{group__Elm__Diskselector_gaa9f2aea2aa5dc9b9783cd97d5585131e}{elm\+\_\+diskselector\+\_\+side\+\_\+text\+\_\+max\+\_\+length\+\_\+set}}.

\begin{DoxyReturn}{Returns}
The selected diskselector item. 
\end{DoxyReturn}


References elm\+\_\+obj\+\_\+diskselector\+\_\+selected\+\_\+item\+\_\+get().

\mbox{\Hypertarget{group__Elm__Diskselector_ga843f302f642b88c5148e55744cbc9072}\label{group__Elm__Diskselector_ga843f302f642b88c5148e55744cbc9072}} 
\index{Diskselector@{Diskselector}!elm\+\_\+diskselector\+\_\+item\+\_\+append@{elm\+\_\+diskselector\+\_\+item\+\_\+append}}
\index{elm\+\_\+diskselector\+\_\+item\+\_\+append@{elm\+\_\+diskselector\+\_\+item\+\_\+append}!Diskselector@{Diskselector}}
\subsubsection{\texorpdfstring{elm\+\_\+diskselector\+\_\+item\+\_\+append()}{elm\_diskselector\_item\_append()}}
{\footnotesize\ttfamily Elm\+\_\+\+Widget\+\_\+\+Item$\ast$ elm\+\_\+diskselector\+\_\+item\+\_\+append (\begin{DoxyParamCaption}\item[{Elm\+\_\+\+Diskselector $\ast$}]{obj,  }\item[{const char $\ast$}]{label,  }\item[{Efl\+\_\+\+Canvas\+\_\+\+Object $\ast$}]{icon,  }\item[{\mbox{\hyperlink{Evas__Common_8h_afbde245aa36db11d8280b266235c25b2}{Evas\+\_\+\+Smart\+\_\+\+Cb}}}]{func,  }\item[{const void $\ast$}]{data }\end{DoxyParamCaption})}



Appends a new item to the diskselector object. 

A new item will be created and appended to the diskselector, i.\+e., will be set as last item. Also, if there is no selected item, it will be selected. This will always happens for the first appended item.

If no icon is set, label will be centered on item position, otherwise the icon will be placed at left of the label, that will be shifted to the right.

Items created with this method can be deleted with elm\+\_\+object\+\_\+item\+\_\+del.

Associated {\ttfamily data} can be properly freed when item is deleted if a callback function is set with elm\+\_\+object\+\_\+item\+\_\+del\+\_\+cb\+\_\+set.

If a function is passed as argument, it will be called every time this item is selected, i.\+e., the user stops the diskselector with this item on center position. If such function isn\textquotesingle{}t needed, just passing {\ttfamily null} as {\ttfamily func} is enough. The same should be done for {\ttfamily data}.

See also elm\+\_\+object\+\_\+item\+\_\+del, \mbox{\hyperlink{group__Elm__Diskselector_ga0667afe4c63f62fa6ef22d78b04dd8a3}{elm\+\_\+diskselector\+\_\+clear}}, \mbox{\hyperlink{group__Elm__Icon_ga5739728c1209f90422cf65a778a16502}{elm\+\_\+icon\+\_\+add}}.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em label} & The label of the diskselector item. \\
\hline
\mbox{\tt in}  & {\em icon} & The icon object to use at left side of the item. An icon can be any Evas object, but usually it is an icon created with \mbox{\hyperlink{group__Elm__Icon_ga5739728c1209f90422cf65a778a16502}{elm\+\_\+icon\+\_\+add()}}. \\
\hline
\mbox{\tt in}  & {\em func} & The function to call when the item is selected. \\
\hline
\mbox{\tt in}  & {\em data} & The data to associate with the item for related callbacks.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
New item 
\end{DoxyReturn}


References elm\+\_\+obj\+\_\+diskselector\+\_\+item\+\_\+append().

\mbox{\Hypertarget{group__Elm__Diskselector_ga0667afe4c63f62fa6ef22d78b04dd8a3}\label{group__Elm__Diskselector_ga0667afe4c63f62fa6ef22d78b04dd8a3}} 
\index{Diskselector@{Diskselector}!elm\+\_\+diskselector\+\_\+clear@{elm\+\_\+diskselector\+\_\+clear}}
\index{elm\+\_\+diskselector\+\_\+clear@{elm\+\_\+diskselector\+\_\+clear}!Diskselector@{Diskselector}}
\subsubsection{\texorpdfstring{elm\+\_\+diskselector\+\_\+clear()}{elm\_diskselector\_clear()}}
{\footnotesize\ttfamily void elm\+\_\+diskselector\+\_\+clear (\begin{DoxyParamCaption}\item[{Elm\+\_\+\+Diskselector $\ast$}]{obj }\end{DoxyParamCaption})}



Remove all diskselector\textquotesingle{}s items. 

See also elm\+\_\+object\+\_\+item\+\_\+del, \mbox{\hyperlink{group__Elm__Diskselector_ga843f302f642b88c5148e55744cbc9072}{elm\+\_\+diskselector\+\_\+item\+\_\+append}}. 

References elm\+\_\+obj\+\_\+diskselector\+\_\+clear().

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



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


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