\section{Diskselector}
\label{group__Diskselector}\index{Diskselector@{Diskselector}}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{group__Diskselector_gad9ec881dae305d7d56ec6ec1e9271be7}{elm\-\_\-obj\-\_\-diskselector\-\_\-round\-\_\-enabled\-\_\-set}(enabled)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-R\-O\-U\-N\-D\-\_\-\-E\-N\-A\-B\-L\-E\-D\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool, enabled)
\item 
\#define \hyperlink{group__Diskselector_gaf84ad4bcca05f29d5bc21c07c767aec3}{elm\-\_\-obj\-\_\-diskselector\-\_\-side\-\_\-text\-\_\-max\-\_\-length\-\_\-get}(ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-D\-E\-\_\-\-T\-E\-X\-T\-\_\-\-M\-A\-X\-\_\-\-L\-E\-N\-G\-T\-H\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int $\ast$, ret)
\item 
\#define \hyperlink{group__Diskselector_ga9046bb7edf61dae4106492bab5cb7e20}{elm\-\_\-obj\-\_\-diskselector\-\_\-side\-\_\-text\-\_\-max\-\_\-length\-\_\-set}(len)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-D\-E\-\_\-\-T\-E\-X\-T\-\_\-\-M\-A\-X\-\_\-\-L\-E\-N\-G\-T\-H\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int, len)
\item 
\#define \hyperlink{group__Diskselector_gadce1d5fedc74b78fe50bffc6a7b77af1}{elm\-\_\-obj\-\_\-diskselector\-\_\-clear}()~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-C\-L\-E\-A\-R)
\item 
\#define \hyperlink{group__Diskselector_gadee1d35fae599c12fd45384a77dae1e3}{elm\-\_\-obj\-\_\-diskselector\-\_\-items\-\_\-get}(ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-I\-T\-E\-M\-S\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(const Eina\-\_\-\-List $\ast$$\ast$, ret)
\item 
\#define \hyperlink{group__Diskselector_ga1751196f04d8edb190bbf64a67d1bb4f}{elm\-\_\-obj\-\_\-diskselector\-\_\-item\-\_\-append}(label, icon, func, data, ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-I\-T\-E\-M\-\_\-\-A\-P\-P\-E\-N\-D), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(const char $\ast$, label), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Object $\ast$, icon), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Smart\-\_\-\-Cb, func), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(const void $\ast$, data), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\-\_\-\-Object\-\_\-\-Item} $\ast$$\ast$, ret)
\item 
\#define \hyperlink{group__Diskselector_gab7fb242ee39c9d3f329cba192477254a}{elm\-\_\-obj\-\_\-diskselector\-\_\-selected\-\_\-item\-\_\-get}(ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-E\-L\-E\-C\-T\-E\-D\-\_\-\-I\-T\-E\-M\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\-\_\-\-Object\-\_\-\-Item} $\ast$$\ast$, ret)
\item 
\#define \hyperlink{group__Diskselector_ga30b03e77ce2a0d7aa31ac225532a1019}{elm\-\_\-obj\-\_\-diskselector\-\_\-first\-\_\-item\-\_\-get}(ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-F\-I\-R\-S\-T\-\_\-\-I\-T\-E\-M\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\-\_\-\-Object\-\_\-\-Item} $\ast$$\ast$, ret)
\item 
\#define \hyperlink{group__Diskselector_gadc85c1c9212e032838a6f7ef09cad907}{elm\-\_\-obj\-\_\-diskselector\-\_\-last\-\_\-item\-\_\-get}(ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-L\-A\-S\-T\-\_\-\-I\-T\-E\-M\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\-\_\-\-Object\-\_\-\-Item} $\ast$$\ast$, ret)
\item 
\#define \hyperlink{group__Diskselector_ga9a9a52d0015db86b81c470b34386fadd}{elm\-\_\-obj\-\_\-diskselector\-\_\-display\-\_\-item\-\_\-num\-\_\-set}(num)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-D\-I\-S\-P\-L\-A\-Y\-\_\-\-I\-T\-E\-M\-\_\-\-N\-U\-M\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int, num)
\item 
\#define \hyperlink{group__Diskselector_ga3e413c242a6884d429ad879632f21d57}{elm\-\_\-obj\-\_\-diskselector\-\_\-display\-\_\-item\-\_\-num\-\_\-get}(ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-D\-I\-S\-P\-L\-A\-Y\-\_\-\-I\-T\-E\-M\-\_\-\-N\-U\-M\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int $\ast$, ret)
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
E\-I\-N\-A\-\_\-\-D\-E\-P\-R\-E\-C\-A\-T\-E\-D void \hyperlink{group__Diskselector_gae2f5a41fc4a2224b1edee8f538b29907}{elm\-\_\-diskselector\-\_\-bounce\-\_\-set} (Evas\-\_\-\-Object $\ast$obj, Eina\-\_\-\-Bool h\-\_\-bounce, Eina\-\_\-\-Bool v\-\_\-bounce)
\begin{DoxyCompactList}\small\item\em Set bouncing behaviour when the scrolled content reaches an edge. \end{DoxyCompactList}\item 
E\-I\-N\-A\-\_\-\-D\-E\-P\-R\-E\-C\-A\-T\-E\-D void \hyperlink{group__Diskselector_ga8e1b71c8ee10cf2acf8e525fc02640af}{elm\-\_\-diskselector\-\_\-bounce\-\_\-get} (const Evas\-\_\-\-Object $\ast$obj, Eina\-\_\-\-Bool $\ast$h\-\_\-bounce, Eina\-\_\-\-Bool $\ast$v\-\_\-bounce)
\begin{DoxyCompactList}\small\item\em Get the bouncing behaviour of the internal scroller. \end{DoxyCompactList}\item 
E\-I\-N\-A\-\_\-\-D\-E\-P\-R\-E\-C\-A\-T\-E\-D void \hyperlink{group__Diskselector_gabd15a6d10c06489d83d213452a1c0736}{elm\-\_\-diskselector\-\_\-scroller\-\_\-policy\-\_\-get} (const Evas\-\_\-\-Object $\ast$obj, Elm\-\_\-\-Scroller\-\_\-\-Policy $\ast$policy\-\_\-h, Elm\-\_\-\-Scroller\-\_\-\-Policy $\ast$policy\-\_\-v)
\begin{DoxyCompactList}\small\item\em Get the scrollbar policy. \end{DoxyCompactList}\item 
E\-I\-N\-A\-\_\-\-D\-E\-P\-R\-E\-C\-A\-T\-E\-D void \hyperlink{group__Diskselector_ga1c09e88720b0d3b39897a977cd5519cd}{elm\-\_\-diskselector\-\_\-scroller\-\_\-policy\-\_\-set} (Evas\-\_\-\-Object $\ast$obj, Elm\-\_\-\-Scroller\-\_\-\-Policy policy\-\_\-h, Elm\-\_\-\-Scroller\-\_\-\-Policy policy\-\_\-v)
\begin{DoxyCompactList}\small\item\em Set the scrollbar policy. \end{DoxyCompactList}\item 
void \hyperlink{group__Diskselector_ga561704ff709972d4ebb9da9beb15b0a2}{elm\-\_\-diskselector\-\_\-item\-\_\-selected\-\_\-set} (\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\-\_\-\-Object\-\_\-\-Item} $\ast$it, Eina\-\_\-\-Bool selected)
\begin{DoxyCompactList}\small\item\em Set the selected state of an item. \end{DoxyCompactList}\item 
\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\-\_\-\-Object\-\_\-\-Item} $\ast$ \hyperlink{group__Diskselector_ga8f61b3b374f208bfbf017730f9307464}{elm\-\_\-diskselector\-\_\-item\-\_\-prev\-\_\-get} (const \hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\-\_\-\-Object\-\_\-\-Item} $\ast$it)
\begin{DoxyCompactList}\small\item\em Get the item before {\ttfamily item} in diskselector. \end{DoxyCompactList}\item 
\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\-\_\-\-Object\-\_\-\-Item} $\ast$ \hyperlink{group__Diskselector_ga274bfb3c6e0e139af4b94a83f2f514ad}{elm\-\_\-diskselector\-\_\-item\-\_\-next\-\_\-get} (const \hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\-\_\-\-Object\-\_\-\-Item} $\ast$it)
\begin{DoxyCompactList}\small\item\em Get the item after {\ttfamily item} in diskselector. \end{DoxyCompactList}\item 
Evas\-\_\-\-Object $\ast$ \hyperlink{group__Diskselector_gaaac1076ac837e57633d7f3c068c3205b}{elm\-\_\-diskselector\-\_\-add} (Evas\-\_\-\-Object $\ast$parent)
\begin{DoxyCompactList}\small\item\em Add a new diskselector widget to the given parent Elementary (container) object. \end{DoxyCompactList}\item 
Eina\-\_\-\-Bool \hyperlink{group__Diskselector_ga8e887941f9ba5792d4e61a658d0b94a7}{elm\-\_\-diskselector\-\_\-round\-\_\-enabled\-\_\-get} (const Evas\-\_\-\-Object $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get a value whether round mode is enabled or not. \end{DoxyCompactList}\item 
void \hyperlink{group__Diskselector_ga3590faddce462ba62930582e9cd982b1}{elm\-\_\-diskselector\-\_\-round\-\_\-enabled\-\_\-set} (Evas\-\_\-\-Object $\ast$obj, Eina\-\_\-\-Bool enabled)
\begin{DoxyCompactList}\small\item\em Enable or disable round mode. \end{DoxyCompactList}\item 
int \hyperlink{group__Diskselector_gaf36785d296993750b5a5b633a0518f16}{elm\-\_\-diskselector\-\_\-side\-\_\-text\-\_\-max\-\_\-length\-\_\-get} (const Evas\-\_\-\-Object $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the side labels max length. \end{DoxyCompactList}\item 
void \hyperlink{group__Diskselector_gaaeaf62d0d21b6494c077c3cfb49b2abb}{elm\-\_\-diskselector\-\_\-side\-\_\-text\-\_\-max\-\_\-length\-\_\-set} (Evas\-\_\-\-Object $\ast$obj, int len)
\begin{DoxyCompactList}\small\item\em Set the side labels max length. \end{DoxyCompactList}\item 
void \hyperlink{group__Diskselector_gaac9c8b52bad632469e36eb0cb4b86eeb}{elm\-\_\-diskselector\-\_\-clear} (Evas\-\_\-\-Object $\ast$obj)
\begin{DoxyCompactList}\small\item\em Remove all diskselector's items. \end{DoxyCompactList}\item 
const Eina\-\_\-\-List $\ast$ \hyperlink{group__Diskselector_gad7c360eac02ed9aa91876863a4cc881f}{elm\-\_\-diskselector\-\_\-items\-\_\-get} (const Evas\-\_\-\-Object $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get a list of all the diskselector items. \end{DoxyCompactList}\item 
\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\-\_\-\-Object\-\_\-\-Item} $\ast$ \hyperlink{group__Diskselector_gabbba9ffdb5d25c8f3de075e010bfc1b8}{elm\-\_\-diskselector\-\_\-item\-\_\-append} (Evas\-\_\-\-Object $\ast$obj, const char $\ast$label, Evas\-\_\-\-Object $\ast$icon, Evas\-\_\-\-Smart\-\_\-\-Cb func, const void $\ast$data)
\begin{DoxyCompactList}\small\item\em Appends a new item to the diskselector object. \end{DoxyCompactList}\item 
\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\-\_\-\-Object\-\_\-\-Item} $\ast$ \hyperlink{group__Diskselector_ga38d38e52f7b242f0b1346e73d11d6525}{elm\-\_\-diskselector\-\_\-selected\-\_\-item\-\_\-get} (const Evas\-\_\-\-Object $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the selected item. \end{DoxyCompactList}\item 
\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\-\_\-\-Object\-\_\-\-Item} $\ast$ \hyperlink{group__Diskselector_ga60060ed93698779d7a87fc4f0ed9f504}{elm\-\_\-diskselector\-\_\-first\-\_\-item\-\_\-get} (const Evas\-\_\-\-Object $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the first item of the diskselector. \end{DoxyCompactList}\item 
\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\-\_\-\-Object\-\_\-\-Item} $\ast$ \hyperlink{group__Diskselector_gadba8526796433832319772d003723cf6}{elm\-\_\-diskselector\-\_\-last\-\_\-item\-\_\-get} (const Evas\-\_\-\-Object $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the last item of the diskselector. \end{DoxyCompactList}\item 
void \hyperlink{group__Diskselector_gaee12cb9c62c4ae9166d71c1a6170c3df}{elm\-\_\-diskselector\-\_\-display\-\_\-item\-\_\-num\-\_\-set} (Evas\-\_\-\-Object $\ast$obj, int num)
\begin{DoxyCompactList}\small\item\em Set the number of items to be displayed. \end{DoxyCompactList}\item 
int \hyperlink{group__Diskselector_gac8a2b4e2ddb90dbd171bc04e700cd67f}{elm\-\_\-diskselector\-\_\-display\-\_\-item\-\_\-num\-\_\-get} (const Evas\-\_\-\-Object $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the number of items in the diskselector object. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics{diskselector_inheritance_tree}}
\end{DoxyImageNoCaption}


 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics{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 \hyperlink{group__Scroller}{Scroller} widget also work for diskselectors.

Some calls on the diskselector's A\-P\-I 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)\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`\"{} -\/ Label of the diskselector item\end{DoxyItemize}
Supported elm\-\_\-object\-\_\-item common A\-P\-Is. \begin{DoxyItemize}
\item \hyperlink{group__General_ga6aac9c72588cd81c517b235c4b833c76}{elm\-\_\-object\-\_\-item\-\_\-del} \item \hyperlink{group__General_gae2dbcea53fe2b5edf1351e03665a893c}{elm\-\_\-object\-\_\-item\-\_\-part\-\_\-text\-\_\-set} \item \hyperlink{group__General_gaf2df95739e3049aac04db3c4839f656d}{elm\-\_\-object\-\_\-item\-\_\-part\-\_\-text\-\_\-get} \item \hyperlink{group__General_ga7e11c3a8599f5cf6d822f69f4a70068f}{elm\-\_\-object\-\_\-item\-\_\-part\-\_\-content\-\_\-set} \item \hyperlink{group__General_ga5dd779e2dae21a2f5d63c1581e126ce2}{elm\-\_\-object\-\_\-item\-\_\-part\-\_\-content\-\_\-get}\end{DoxyItemize}
List of examples\-: \begin{DoxyItemize}
\item \hyperlink{diskselector_example_01}{Diskselector widget example} \item \hyperlink{diskselector_example_02}{Diskselector -\/ Items management} \end{DoxyItemize}


\subsection{Macro Definition Documentation}
\index{Diskselector@{Diskselector}!elm\-\_\-obj\-\_\-diskselector\-\_\-clear@{elm\-\_\-obj\-\_\-diskselector\-\_\-clear}}
\index{elm\-\_\-obj\-\_\-diskselector\-\_\-clear@{elm\-\_\-obj\-\_\-diskselector\-\_\-clear}!Diskselector@{Diskselector}}
\subsubsection[{elm\-\_\-obj\-\_\-diskselector\-\_\-clear}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-diskselector\-\_\-clear(
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-C\-L\-E\-A\-R)}\label{group__Diskselector_gadce1d5fedc74b78fe50bffc6a7b77af1}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Remove all diskselector's items.

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Diskselector_gaac9c8b52bad632469e36eb0cb4b86eeb}{elm\-\_\-diskselector\-\_\-clear} 
\end{DoxySeeAlso}


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

\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[{elm\-\_\-obj\-\_\-diskselector\-\_\-display\-\_\-item\-\_\-num\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-diskselector\-\_\-display\-\_\-item\-\_\-num\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-D\-I\-S\-P\-L\-A\-Y\-\_\-\-I\-T\-E\-M\-\_\-\-N\-U\-M\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int $\ast$, ret)}\label{group__Diskselector_ga3e413c242a6884d429ad879632f21d57}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Get the number of items in the diskselector object.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em ret} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Diskselector_gac8a2b4e2ddb90dbd171bc04e700cd67f}{elm\-\_\-diskselector\-\_\-display\-\_\-item\-\_\-num\-\_\-get} 
\end{DoxySeeAlso}


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

\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[{elm\-\_\-obj\-\_\-diskselector\-\_\-display\-\_\-item\-\_\-num\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-diskselector\-\_\-display\-\_\-item\-\_\-num\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{num}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-D\-I\-S\-P\-L\-A\-Y\-\_\-\-I\-T\-E\-M\-\_\-\-N\-U\-M\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int, num)}\label{group__Diskselector_ga9a9a52d0015db86b81c470b34386fadd}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Set the number of items to be displayed.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em num} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Diskselector_gaee12cb9c62c4ae9166d71c1a6170c3df}{elm\-\_\-diskselector\-\_\-display\-\_\-item\-\_\-num\-\_\-set} 
\end{DoxySeeAlso}


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

\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[{elm\-\_\-obj\-\_\-diskselector\-\_\-first\-\_\-item\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-diskselector\-\_\-first\-\_\-item\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-F\-I\-R\-S\-T\-\_\-\-I\-T\-E\-M\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K({\bf Elm\-\_\-\-Object\-\_\-\-Item} $\ast$$\ast$, ret)}\label{group__Diskselector_ga30b03e77ce2a0d7aa31ac225532a1019}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Get the first item of the diskselector.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em ret} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Diskselector_ga60060ed93698779d7a87fc4f0ed9f504}{elm\-\_\-diskselector\-\_\-first\-\_\-item\-\_\-get} 
\end{DoxySeeAlso}


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

\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[{elm\-\_\-obj\-\_\-diskselector\-\_\-item\-\_\-append}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-diskselector\-\_\-item\-\_\-append(
\begin{DoxyParamCaption}
\item[{}]{label, }
\item[{}]{icon, }
\item[{}]{func, }
\item[{}]{data, }
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-I\-T\-E\-M\-\_\-\-A\-P\-P\-E\-N\-D), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(const char $\ast$, label), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Object $\ast$, icon), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Smart\-\_\-\-Cb, func), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(const void $\ast$, data), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K({\bf Elm\-\_\-\-Object\-\_\-\-Item} $\ast$$\ast$, ret)}\label{group__Diskselector_ga1751196f04d8edb190bbf64a67d1bb4f}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Appends a new item to the diskselector object.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em label} & \\
\hline
\mbox{\tt in}  & {\em icon} & \\
\hline
\mbox{\tt in}  & {\em func} & \\
\hline
\mbox{\tt in}  & {\em data} & \\
\hline
\mbox{\tt out}  & {\em ret} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Diskselector_gabbba9ffdb5d25c8f3de075e010bfc1b8}{elm\-\_\-diskselector\-\_\-item\-\_\-append} 
\end{DoxySeeAlso}


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

\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[{elm\-\_\-obj\-\_\-diskselector\-\_\-items\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-diskselector\-\_\-items\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-I\-T\-E\-M\-S\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(const Eina\-\_\-\-List $\ast$$\ast$, ret)}\label{group__Diskselector_gadee1d35fae599c12fd45384a77dae1e3}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Get a list of all the diskselector items.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em ret} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Diskselector_gad7c360eac02ed9aa91876863a4cc881f}{elm\-\_\-diskselector\-\_\-items\-\_\-get} 
\end{DoxySeeAlso}


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

\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[{elm\-\_\-obj\-\_\-diskselector\-\_\-last\-\_\-item\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-diskselector\-\_\-last\-\_\-item\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-L\-A\-S\-T\-\_\-\-I\-T\-E\-M\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K({\bf Elm\-\_\-\-Object\-\_\-\-Item} $\ast$$\ast$, ret)}\label{group__Diskselector_gadc85c1c9212e032838a6f7ef09cad907}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Get the last item of the diskselector.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em ret} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Diskselector_gadba8526796433832319772d003723cf6}{elm\-\_\-diskselector\-\_\-last\-\_\-item\-\_\-get} 
\end{DoxySeeAlso}


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

\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[{elm\-\_\-obj\-\_\-diskselector\-\_\-round\-\_\-enabled\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-diskselector\-\_\-round\-\_\-enabled\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{enabled}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-R\-O\-U\-N\-D\-\_\-\-E\-N\-A\-B\-L\-E\-D\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool, enabled)}\label{group__Diskselector_gad9ec881dae305d7d56ec6ec1e9271be7}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Enable or disable round mode.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em enabled} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Diskselector_ga3590faddce462ba62930582e9cd982b1}{elm\-\_\-diskselector\-\_\-round\-\_\-enabled\-\_\-set} 
\end{DoxySeeAlso}


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

\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[{elm\-\_\-obj\-\_\-diskselector\-\_\-selected\-\_\-item\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-diskselector\-\_\-selected\-\_\-item\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-E\-L\-E\-C\-T\-E\-D\-\_\-\-I\-T\-E\-M\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K({\bf Elm\-\_\-\-Object\-\_\-\-Item} $\ast$$\ast$, ret)}\label{group__Diskselector_gab7fb242ee39c9d3f329cba192477254a}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Get the selected item.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em ret} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Diskselector_ga38d38e52f7b242f0b1346e73d11d6525}{elm\-\_\-diskselector\-\_\-selected\-\_\-item\-\_\-get} 
\end{DoxySeeAlso}


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

\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[{elm\-\_\-obj\-\_\-diskselector\-\_\-side\-\_\-text\-\_\-max\-\_\-length\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-diskselector\-\_\-side\-\_\-text\-\_\-max\-\_\-length\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-D\-E\-\_\-\-T\-E\-X\-T\-\_\-\-M\-A\-X\-\_\-\-L\-E\-N\-G\-T\-H\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int $\ast$, ret)}\label{group__Diskselector_gaf84ad4bcca05f29d5bc21c07c767aec3}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Get the side labels max length.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em ret} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Diskselector_gaf36785d296993750b5a5b633a0518f16}{elm\-\_\-diskselector\-\_\-side\-\_\-text\-\_\-max\-\_\-length\-\_\-get} 
\end{DoxySeeAlso}


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

\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[{elm\-\_\-obj\-\_\-diskselector\-\_\-side\-\_\-text\-\_\-max\-\_\-length\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-diskselector\-\_\-side\-\_\-text\-\_\-max\-\_\-length\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{len}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-D\-I\-S\-K\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-I\-D\-E\-\_\-\-T\-E\-X\-T\-\_\-\-M\-A\-X\-\_\-\-L\-E\-N\-G\-T\-H\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int, len)}\label{group__Diskselector_ga9046bb7edf61dae4106492bab5cb7e20}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Set the side labels max length.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em len} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Diskselector_gaaeaf62d0d21b6494c077c3cfb49b2abb}{elm\-\_\-diskselector\-\_\-side\-\_\-text\-\_\-max\-\_\-length\-\_\-set} 
\end{DoxySeeAlso}


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



\subsection{Function Documentation}
\index{Diskselector@{Diskselector}!elm\-\_\-diskselector\-\_\-add@{elm\-\_\-diskselector\-\_\-add}}
\index{elm\-\_\-diskselector\-\_\-add@{elm\-\_\-diskselector\-\_\-add}!Diskselector@{Diskselector}}
\subsubsection[{elm\-\_\-diskselector\-\_\-add}]{\setlength{\rightskip}{0pt plus 5cm}Evas\-\_\-\-Object$\ast$ elm\-\_\-diskselector\-\_\-add (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{parent}
\end{DoxyParamCaption}
)}\label{group__Diskselector_gaaac1076ac837e57633d7f3c068c3205b}


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\-L\-L}, on errors.
\end{DoxyReturn}
This function inserts a new diskselector widget on the canvas. \index{Diskselector@{Diskselector}!elm\-\_\-diskselector\-\_\-bounce\-\_\-get@{elm\-\_\-diskselector\-\_\-bounce\-\_\-get}}
\index{elm\-\_\-diskselector\-\_\-bounce\-\_\-get@{elm\-\_\-diskselector\-\_\-bounce\-\_\-get}!Diskselector@{Diskselector}}
\subsubsection[{elm\-\_\-diskselector\-\_\-bounce\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}E\-I\-N\-A\-\_\-\-D\-E\-P\-R\-E\-C\-A\-T\-E\-D void elm\-\_\-diskselector\-\_\-bounce\-\_\-get (
\begin{DoxyParamCaption}
\item[{const Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{Eina\-\_\-\-Bool $\ast$}]{h\-\_\-bounce, }
\item[{Eina\-\_\-\-Bool $\ast$}]{v\-\_\-bounce}
\end{DoxyParamCaption}
)}\label{group__Diskselector_ga8e1b71c8ee10cf2acf8e525fc02640af}


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[\hyperlink{deprecated__deprecated000039}{Deprecated}]Use \hyperlink{group__Scroller_gae74537077c42537037834d4d4bdae634}{elm\-\_\-scroller\-\_\-bounce\-\_\-get()} instead.\end{DoxyRefDesc}


\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Scroller_gae74537077c42537037834d4d4bdae634}{elm\-\_\-scroller\-\_\-bounce\-\_\-get()} 

\hyperlink{group__Diskselector_gae2f5a41fc4a2224b1edee8f538b29907}{elm\-\_\-diskselector\-\_\-bounce\-\_\-set()} 
\end{DoxySeeAlso}


References elm\-\_\-scrollable\-\_\-interface\-\_\-bounce\-\_\-allow\-\_\-get.

\index{Diskselector@{Diskselector}!elm\-\_\-diskselector\-\_\-bounce\-\_\-set@{elm\-\_\-diskselector\-\_\-bounce\-\_\-set}}
\index{elm\-\_\-diskselector\-\_\-bounce\-\_\-set@{elm\-\_\-diskselector\-\_\-bounce\-\_\-set}!Diskselector@{Diskselector}}
\subsubsection[{elm\-\_\-diskselector\-\_\-bounce\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}E\-I\-N\-A\-\_\-\-D\-E\-P\-R\-E\-C\-A\-T\-E\-D void elm\-\_\-diskselector\-\_\-bounce\-\_\-set (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{Eina\-\_\-\-Bool}]{h\-\_\-bounce, }
\item[{Eina\-\_\-\-Bool}]{v\-\_\-bounce}
\end{DoxyParamCaption}
)}\label{group__Diskselector_gae2f5a41fc4a2224b1edee8f538b29907}


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[\hyperlink{deprecated__deprecated000038}{Deprecated}]Use \hyperlink{group__Scroller_gae69101dbdb089598ca790c73bd9d7a42}{elm\-\_\-scroller\-\_\-bounce\-\_\-set()} instead.\end{DoxyRefDesc}


\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Scroller_gae69101dbdb089598ca790c73bd9d7a42}{elm\-\_\-scroller\-\_\-bounce\-\_\-set()} 
\end{DoxySeeAlso}


References elm\-\_\-scrollable\-\_\-interface\-\_\-bounce\-\_\-allow\-\_\-set.

\index{Diskselector@{Diskselector}!elm\-\_\-diskselector\-\_\-clear@{elm\-\_\-diskselector\-\_\-clear}}
\index{elm\-\_\-diskselector\-\_\-clear@{elm\-\_\-diskselector\-\_\-clear}!Diskselector@{Diskselector}}
\subsubsection[{elm\-\_\-diskselector\-\_\-clear}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-diskselector\-\_\-clear (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Diskselector_gaac9c8b52bad632469e36eb0cb4b86eeb}


Remove all diskselector's items. 


\begin{DoxyParams}{Parameters}
{\em obj} & The diskselector object.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__General_ga6aac9c72588cd81c517b235c4b833c76}{elm\-\_\-object\-\_\-item\-\_\-del()} 

\hyperlink{group__Diskselector_gabbba9ffdb5d25c8f3de075e010bfc1b8}{elm\-\_\-diskselector\-\_\-item\-\_\-append()} 
\end{DoxySeeAlso}


References elm\-\_\-obj\-\_\-diskselector\-\_\-clear.

\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[{elm\-\_\-diskselector\-\_\-display\-\_\-item\-\_\-num\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}int elm\-\_\-diskselector\-\_\-display\-\_\-item\-\_\-num\-\_\-get (
\begin{DoxyParamCaption}
\item[{const Evas\-\_\-\-Object $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Diskselector_gac8a2b4e2ddb90dbd171bc04e700cd67f}


Get the number of items in the diskselector object. 


\begin{DoxyParams}{Parameters}
{\em obj} & The diskselector object. \\
\hline
\end{DoxyParams}


References elm\-\_\-obj\-\_\-diskselector\-\_\-display\-\_\-item\-\_\-num\-\_\-get.

\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[{elm\-\_\-diskselector\-\_\-display\-\_\-item\-\_\-num\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-diskselector\-\_\-display\-\_\-item\-\_\-num\-\_\-set (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{int}]{num}
\end{DoxyParamCaption}
)}\label{group__Diskselector_gaee12cb9c62c4ae9166d71c1a6170c3df}


Set the number of items to be displayed. 


\begin{DoxyParams}{Parameters}
{\em obj} & The diskselector object. \\
\hline
{\em num} & The number of items the diskselector will display.\\
\hline
\end{DoxyParams}
Default value is 3, and also it'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. E.\-g.\-:

group \{ name\-: \char`\"{}elm/diskselector/item/\-X\char`\"{}; data \{ item\-: \char`\"{}display\-\_\-item\-\_\-num\char`\"{} \char`\"{}5\char`\"{}; \} 

References elm\-\_\-obj\-\_\-diskselector\-\_\-display\-\_\-item\-\_\-num\-\_\-set.

\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[{elm\-\_\-diskselector\-\_\-first\-\_\-item\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Elm\-\_\-\-Object\-\_\-\-Item}$\ast$ elm\-\_\-diskselector\-\_\-first\-\_\-item\-\_\-get (
\begin{DoxyParamCaption}
\item[{const Evas\-\_\-\-Object $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Diskselector_ga60060ed93698779d7a87fc4f0ed9f504}


Get the first item of the diskselector. 


\begin{DoxyParams}{Parameters}
{\em obj} & The diskselector object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The first item, or {\ttfamily N\-U\-L\-L} if none.
\end{DoxyReturn}
The list of items follows append order. So it will return the first item appended to the widget that wasn't deleted.

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Diskselector_gabbba9ffdb5d25c8f3de075e010bfc1b8}{elm\-\_\-diskselector\-\_\-item\-\_\-append()} 

\hyperlink{group__Diskselector_gad7c360eac02ed9aa91876863a4cc881f}{elm\-\_\-diskselector\-\_\-items\-\_\-get()} 
\end{DoxySeeAlso}


References elm\-\_\-obj\-\_\-diskselector\-\_\-first\-\_\-item\-\_\-get.

\index{Diskselector@{Diskselector}!elm\-\_\-diskselector\-\_\-item\-\_\-append@{elm\-\_\-diskselector\-\_\-item\-\_\-append}}
\index{elm\-\_\-diskselector\-\_\-item\-\_\-append@{elm\-\_\-diskselector\-\_\-item\-\_\-append}!Diskselector@{Diskselector}}
\subsubsection[{elm\-\_\-diskselector\-\_\-item\-\_\-append}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Elm\-\_\-\-Object\-\_\-\-Item}$\ast$ elm\-\_\-diskselector\-\_\-item\-\_\-append (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{const char $\ast$}]{label, }
\item[{Evas\-\_\-\-Object $\ast$}]{icon, }
\item[{Evas\-\_\-\-Smart\-\_\-\-Cb}]{func, }
\item[{const void $\ast$}]{data}
\end{DoxyParamCaption}
)}\label{group__Diskselector_gabbba9ffdb5d25c8f3de075e010bfc1b8}


Appends a new item to the diskselector object. 


\begin{DoxyParams}{Parameters}
{\em obj} & The diskselector object. \\
\hline
{\em label} & The label of the diskselector item. \\
\hline
{\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 \hyperlink{group__Icon_ga5739728c1209f90422cf65a778a16502}{elm\-\_\-icon\-\_\-add()}. \\
\hline
{\em func} & The function to call when the item is selected. \\
\hline
{\em data} & The data to associate with the item for related callbacks.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The created item or {\ttfamily N\-U\-L\-L} upon failure.
\end{DoxyReturn}
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 \hyperlink{group__General_ga6aac9c72588cd81c517b235c4b833c76}{elm\-\_\-object\-\_\-item\-\_\-del()}.

Associated {\ttfamily data} can be properly freed when item is deleted if a callback function is set with \hyperlink{group__General_gadf971e78aa95cfd83fd3c3ce38ff8cd7}{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't needed, just passing {\ttfamily N\-U\-L\-L} as {\ttfamily func} is enough. The same should be done for {\ttfamily data}.

Simple example (with no function callback or data associated)\-: 
\begin{DoxyCode}
disk = elm_diskselector_add(win);
ic = elm_icon_add(win);
elm_image_file_set(ic, \textcolor{stringliteral}{"path/to/image"}, NULL);
elm_icon_resizable_set(ic, EINA\_TRUE, EINA\_TRUE);
elm_diskselector_item_append(disk, \textcolor{stringliteral}{"label"}, ic, NULL, NULL);
\end{DoxyCode}


\begin{DoxySeeAlso}{See Also}
\hyperlink{group__General_ga6aac9c72588cd81c517b235c4b833c76}{elm\-\_\-object\-\_\-item\-\_\-del()} 

\hyperlink{group__Diskselector_gaac9c8b52bad632469e36eb0cb4b86eeb}{elm\-\_\-diskselector\-\_\-clear()} 

\hyperlink{group__Icon_ga5739728c1209f90422cf65a778a16502}{elm\-\_\-icon\-\_\-add()} 
\end{DoxySeeAlso}


References elm\-\_\-obj\-\_\-diskselector\-\_\-item\-\_\-append.

\index{Diskselector@{Diskselector}!elm\-\_\-diskselector\-\_\-item\-\_\-next\-\_\-get@{elm\-\_\-diskselector\-\_\-item\-\_\-next\-\_\-get}}
\index{elm\-\_\-diskselector\-\_\-item\-\_\-next\-\_\-get@{elm\-\_\-diskselector\-\_\-item\-\_\-next\-\_\-get}!Diskselector@{Diskselector}}
\subsubsection[{elm\-\_\-diskselector\-\_\-item\-\_\-next\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Elm\-\_\-\-Object\-\_\-\-Item}$\ast$ elm\-\_\-diskselector\-\_\-item\-\_\-next\-\_\-get (
\begin{DoxyParamCaption}
\item[{const {\bf Elm\-\_\-\-Object\-\_\-\-Item} $\ast$}]{it}
\end{DoxyParamCaption}
)}\label{group__Diskselector_ga274bfb3c6e0e139af4b94a83f2f514ad}


Get the item after {\ttfamily item} in diskselector. 


\begin{DoxyParams}{Parameters}
{\em it} & The diskselector item. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The item after {\ttfamily item}, or {\ttfamily N\-U\-L\-L} if none or on failure.
\end{DoxyReturn}
The list of items follows append order. So it will return item appended just after {\ttfamily item} and that wasn't deleted.

If it is the last item, {\ttfamily N\-U\-L\-L} will be returned. Last item can be get by \hyperlink{group__Diskselector_gadba8526796433832319772d003723cf6}{elm\-\_\-diskselector\-\_\-last\-\_\-item\-\_\-get()}.

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Diskselector_gabbba9ffdb5d25c8f3de075e010bfc1b8}{elm\-\_\-diskselector\-\_\-item\-\_\-append()} 

\hyperlink{group__Diskselector_gad7c360eac02ed9aa91876863a4cc881f}{elm\-\_\-diskselector\-\_\-items\-\_\-get()} 
\end{DoxySeeAlso}
\index{Diskselector@{Diskselector}!elm\-\_\-diskselector\-\_\-item\-\_\-prev\-\_\-get@{elm\-\_\-diskselector\-\_\-item\-\_\-prev\-\_\-get}}
\index{elm\-\_\-diskselector\-\_\-item\-\_\-prev\-\_\-get@{elm\-\_\-diskselector\-\_\-item\-\_\-prev\-\_\-get}!Diskselector@{Diskselector}}
\subsubsection[{elm\-\_\-diskselector\-\_\-item\-\_\-prev\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Elm\-\_\-\-Object\-\_\-\-Item}$\ast$ elm\-\_\-diskselector\-\_\-item\-\_\-prev\-\_\-get (
\begin{DoxyParamCaption}
\item[{const {\bf Elm\-\_\-\-Object\-\_\-\-Item} $\ast$}]{it}
\end{DoxyParamCaption}
)}\label{group__Diskselector_ga8f61b3b374f208bfbf017730f9307464}


Get the item before {\ttfamily item} in diskselector. 


\begin{DoxyParams}{Parameters}
{\em it} & The diskselector item. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The item before {\ttfamily item}, or {\ttfamily N\-U\-L\-L} if none or on failure.
\end{DoxyReturn}
The list of items follows append order. So it will return item appended just before {\ttfamily item} and that wasn't deleted.

If it is the first item, {\ttfamily N\-U\-L\-L} will be returned. First item can be get by \hyperlink{group__Diskselector_ga60060ed93698779d7a87fc4f0ed9f504}{elm\-\_\-diskselector\-\_\-first\-\_\-item\-\_\-get()}.

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Diskselector_gabbba9ffdb5d25c8f3de075e010bfc1b8}{elm\-\_\-diskselector\-\_\-item\-\_\-append()} 

\hyperlink{group__Diskselector_gad7c360eac02ed9aa91876863a4cc881f}{elm\-\_\-diskselector\-\_\-items\-\_\-get()} 
\end{DoxySeeAlso}
\index{Diskselector@{Diskselector}!elm\-\_\-diskselector\-\_\-item\-\_\-selected\-\_\-set@{elm\-\_\-diskselector\-\_\-item\-\_\-selected\-\_\-set}}
\index{elm\-\_\-diskselector\-\_\-item\-\_\-selected\-\_\-set@{elm\-\_\-diskselector\-\_\-item\-\_\-selected\-\_\-set}!Diskselector@{Diskselector}}
\subsubsection[{elm\-\_\-diskselector\-\_\-item\-\_\-selected\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-diskselector\-\_\-item\-\_\-selected\-\_\-set (
\begin{DoxyParamCaption}
\item[{{\bf Elm\-\_\-\-Object\-\_\-\-Item} $\ast$}]{it, }
\item[{Eina\-\_\-\-Bool}]{selected}
\end{DoxyParamCaption}
)}\label{group__Diskselector_ga561704ff709972d4ebb9da9beb15b0a2}


Set the selected state of an item. 


\begin{DoxyParams}{Parameters}
{\em it} & The diskselector item \\
\hline
{\em selected} & The selected state\\
\hline
\end{DoxyParams}
This sets the selected state of the given item {\ttfamily it}. {\ttfamily E\-I\-N\-A\-\_\-\-T\-R\-U\-E} for selected, {\ttfamily E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} for not selected.

If a new item is selected the previously selected will be unselected. Previously selected item can be get with function \hyperlink{group__Diskselector_ga38d38e52f7b242f0b1346e73d11d6525}{elm\-\_\-diskselector\-\_\-selected\-\_\-item\-\_\-get()}.

If the item {\ttfamily it} is unselected, the first item of diskselector will be selected.

Selected items will be visible on center position of diskselector. So if it was on another position before selected, or was invisible, diskselector will animate items until the selected item reaches center position.

\begin{DoxySeeAlso}{See Also}
elm\-\_\-diskselector\-\_\-item\-\_\-selected\-\_\-get() 

\hyperlink{group__Diskselector_ga38d38e52f7b242f0b1346e73d11d6525}{elm\-\_\-diskselector\-\_\-selected\-\_\-item\-\_\-get()} 
\end{DoxySeeAlso}
\index{Diskselector@{Diskselector}!elm\-\_\-diskselector\-\_\-items\-\_\-get@{elm\-\_\-diskselector\-\_\-items\-\_\-get}}
\index{elm\-\_\-diskselector\-\_\-items\-\_\-get@{elm\-\_\-diskselector\-\_\-items\-\_\-get}!Diskselector@{Diskselector}}
\subsubsection[{elm\-\_\-diskselector\-\_\-items\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}const Eina\-\_\-\-List$\ast$ elm\-\_\-diskselector\-\_\-items\-\_\-get (
\begin{DoxyParamCaption}
\item[{const Evas\-\_\-\-Object $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Diskselector_gad7c360eac02ed9aa91876863a4cc881f}


Get a list of all the diskselector items. 


\begin{DoxyParams}{Parameters}
{\em obj} & The diskselector object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
An {\ttfamily Eina\-\_\-\-List} of diskselector items, \hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\-\_\-\-Object\-\_\-\-Item}, or {\ttfamily N\-U\-L\-L} on failure.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Diskselector_gabbba9ffdb5d25c8f3de075e010bfc1b8}{elm\-\_\-diskselector\-\_\-item\-\_\-append()} 

\hyperlink{group__General_ga6aac9c72588cd81c517b235c4b833c76}{elm\-\_\-object\-\_\-item\-\_\-del()} 

\hyperlink{group__Diskselector_gaac9c8b52bad632469e36eb0cb4b86eeb}{elm\-\_\-diskselector\-\_\-clear()} 
\end{DoxySeeAlso}


References elm\-\_\-obj\-\_\-diskselector\-\_\-items\-\_\-get.

\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[{elm\-\_\-diskselector\-\_\-last\-\_\-item\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Elm\-\_\-\-Object\-\_\-\-Item}$\ast$ elm\-\_\-diskselector\-\_\-last\-\_\-item\-\_\-get (
\begin{DoxyParamCaption}
\item[{const Evas\-\_\-\-Object $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Diskselector_gadba8526796433832319772d003723cf6}


Get the last item of the diskselector. 


\begin{DoxyParams}{Parameters}
{\em obj} & The diskselector object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The last item, or {\ttfamily N\-U\-L\-L} if none.
\end{DoxyReturn}
The list of items follows append order. So it will return last first item appended to the widget that wasn't deleted.

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Diskselector_gabbba9ffdb5d25c8f3de075e010bfc1b8}{elm\-\_\-diskselector\-\_\-item\-\_\-append()} 

\hyperlink{group__Diskselector_gad7c360eac02ed9aa91876863a4cc881f}{elm\-\_\-diskselector\-\_\-items\-\_\-get()} 
\end{DoxySeeAlso}


References elm\-\_\-obj\-\_\-diskselector\-\_\-last\-\_\-item\-\_\-get.

\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[{elm\-\_\-diskselector\-\_\-round\-\_\-enabled\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}Eina\-\_\-\-Bool elm\-\_\-diskselector\-\_\-round\-\_\-enabled\-\_\-get (
\begin{DoxyParamCaption}
\item[{const Evas\-\_\-\-Object $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Diskselector_ga8e887941f9ba5792d4e61a658d0b94a7}


Get a value whether round mode is enabled or not. 

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Diskselector_ga3590faddce462ba62930582e9cd982b1}{elm\-\_\-diskselector\-\_\-round\-\_\-enabled\-\_\-set()} for details.
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em obj} & The diskselector object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\-I\-N\-A\-\_\-\-T\-R\-U\-E} means round mode is enabled. {\ttfamily E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} indicates it's disabled. If {\ttfamily obj} is {\ttfamily N\-U\-L\-L}, {\ttfamily E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} is returned. 
\end{DoxyReturn}
\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[{elm\-\_\-diskselector\-\_\-round\-\_\-enabled\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-diskselector\-\_\-round\-\_\-enabled\-\_\-set (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{Eina\-\_\-\-Bool}]{enabled}
\end{DoxyParamCaption}
)}\label{group__Diskselector_ga3590faddce462ba62930582e9cd982b1}


Enable or disable round mode. 


\begin{DoxyParams}{Parameters}
{\em obj} & The diskselector object. \\
\hline
{\em enabled} & {\ttfamily E\-I\-N\-A\-\_\-\-T\-R\-U\-E} to enable round mode or {\ttfamily E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} to disable it.\\
\hline
\end{DoxyParams}
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.

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Diskselector_ga8e887941f9ba5792d4e61a658d0b94a7}{elm\-\_\-diskselector\-\_\-round\-\_\-enabled\-\_\-get()} 
\end{DoxySeeAlso}


References elm\-\_\-obj\-\_\-diskselector\-\_\-round\-\_\-enabled\-\_\-set.

\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[{elm\-\_\-diskselector\-\_\-scroller\-\_\-policy\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}E\-I\-N\-A\-\_\-\-D\-E\-P\-R\-E\-C\-A\-T\-E\-D void elm\-\_\-diskselector\-\_\-scroller\-\_\-policy\-\_\-get (
\begin{DoxyParamCaption}
\item[{const Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{Elm\-\_\-\-Scroller\-\_\-\-Policy $\ast$}]{policy\-\_\-h, }
\item[{Elm\-\_\-\-Scroller\-\_\-\-Policy $\ast$}]{policy\-\_\-v}
\end{DoxyParamCaption}
)}\label{group__Diskselector_gabd15a6d10c06489d83d213452a1c0736}


Get the scrollbar policy. 

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__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[\hyperlink{deprecated__deprecated000040}{Deprecated}]Use \hyperlink{group__Scroller_gae5d37ebf0a5540326b2b56ae41f24c97}{elm\-\_\-scroller\-\_\-policy\-\_\-get()} instead.\end{DoxyRefDesc}


\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Scroller_gae5d37ebf0a5540326b2b56ae41f24c97}{elm\-\_\-scroller\-\_\-policy\-\_\-get()} 
\end{DoxySeeAlso}


References elm\-\_\-scrollable\-\_\-interface\-\_\-policy\-\_\-get.

\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[{elm\-\_\-diskselector\-\_\-scroller\-\_\-policy\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}E\-I\-N\-A\-\_\-\-D\-E\-P\-R\-E\-C\-A\-T\-E\-D void elm\-\_\-diskselector\-\_\-scroller\-\_\-policy\-\_\-set (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{Elm\-\_\-\-Scroller\-\_\-\-Policy}]{policy\-\_\-h, }
\item[{Elm\-\_\-\-Scroller\-\_\-\-Policy}]{policy\-\_\-v}
\end{DoxyParamCaption}
)}\label{group__Diskselector_ga1c09e88720b0d3b39897a977cd5519cd}


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. \#\-E\-L\-M\-\_\-\-S\-C\-R\-O\-L\-L\-E\-R\-\_\-\-P\-O\-L\-I\-C\-Y\-\_\-\-A\-U\-T\-O means the scrollbar is made visible if it is needed, and otherwise kept hidden. \#\-E\-L\-M\-\_\-\-S\-C\-R\-O\-L\-L\-E\-R\-\_\-\-P\-O\-L\-I\-C\-Y\-\_\-\-O\-N turns it on all the time, and \#\-E\-L\-M\-\_\-\-S\-C\-R\-O\-L\-L\-E\-R\-\_\-\-P\-O\-L\-I\-C\-Y\-\_\-\-O\-F\-F always keeps it off. This applies respectively for the horizontal and vertical scrollbars.

The both are disabled by default, i.\-e., are set to \#\-E\-L\-M\-\_\-\-S\-C\-R\-O\-L\-L\-E\-R\-\_\-\-P\-O\-L\-I\-C\-Y\-\_\-\-O\-F\-F.

\begin{DoxyRefDesc}{Deprecated}
\item[\hyperlink{deprecated__deprecated000041}{Deprecated}]Use \hyperlink{group__Scroller_ga4105c0d6adca64ed3d38e7e4116b09e4}{elm\-\_\-scroller\-\_\-policy\-\_\-set()} instead.\end{DoxyRefDesc}


\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Scroller_ga4105c0d6adca64ed3d38e7e4116b09e4}{elm\-\_\-scroller\-\_\-policy\-\_\-set()} 
\end{DoxySeeAlso}


References elm\-\_\-scrollable\-\_\-interface\-\_\-policy\-\_\-set.

\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[{elm\-\_\-diskselector\-\_\-selected\-\_\-item\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Elm\-\_\-\-Object\-\_\-\-Item}$\ast$ elm\-\_\-diskselector\-\_\-selected\-\_\-item\-\_\-get (
\begin{DoxyParamCaption}
\item[{const Evas\-\_\-\-Object $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Diskselector_ga38d38e52f7b242f0b1346e73d11d6525}


Get the selected item. 


\begin{DoxyParams}{Parameters}
{\em obj} & The diskselector object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The selected diskselector item.
\end{DoxyReturn}
The selected item can be unselected with function \hyperlink{group__Diskselector_ga561704ff709972d4ebb9da9beb15b0a2}{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't apply on the selected item. More details on \hyperlink{group__Diskselector_gaaeaf62d0d21b6494c077c3cfb49b2abb}{elm\-\_\-diskselector\-\_\-side\-\_\-text\-\_\-max\-\_\-length\-\_\-set()}. 

References elm\-\_\-obj\-\_\-diskselector\-\_\-selected\-\_\-item\-\_\-get.

\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[{elm\-\_\-diskselector\-\_\-side\-\_\-text\-\_\-max\-\_\-length\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}int elm\-\_\-diskselector\-\_\-side\-\_\-text\-\_\-max\-\_\-length\-\_\-get (
\begin{DoxyParamCaption}
\item[{const Evas\-\_\-\-Object $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Diskselector_gaf36785d296993750b5a5b633a0518f16}


Get the side labels max length. 

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Diskselector_gaaeaf62d0d21b6494c077c3cfb49b2abb}{elm\-\_\-diskselector\-\_\-side\-\_\-text\-\_\-max\-\_\-length\-\_\-set()} for details.
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em obj} & The diskselector object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The max length defined for side labels, or 0 if not a valid diskselector. 
\end{DoxyReturn}


References elm\-\_\-obj\-\_\-diskselector\-\_\-side\-\_\-text\-\_\-max\-\_\-length\-\_\-get.

\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[{elm\-\_\-diskselector\-\_\-side\-\_\-text\-\_\-max\-\_\-length\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-diskselector\-\_\-side\-\_\-text\-\_\-max\-\_\-length\-\_\-set (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{int}]{len}
\end{DoxyParamCaption}
)}\label{group__Diskselector_gaaeaf62d0d21b6494c077c3cfb49b2abb}


Set the side labels max length. 


\begin{DoxyParams}{Parameters}
{\em obj} & The diskselector object. \\
\hline
{\em len} & The max length defined for side labels.\\
\hline
\end{DoxyParams}
Length is the number of characters of items' label that will be visible when it'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'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. 

References elm\-\_\-obj\-\_\-diskselector\-\_\-side\-\_\-text\-\_\-max\-\_\-length\-\_\-set.

