\hypertarget{group__Elm__List__Group}{}\doxysection{List}
\label{group__Elm__List__Group}\index{List@{List}}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{group__Elm__List__Group_ga167b13474094e21963e60ea01664f7e7}{elm\+\_\+list\+\_\+horizontal\+\_\+set}} (Elm\+\_\+\+List $\ast$obj, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} horizontal)
\begin{DoxyCompactList}\small\item\em Control horizontal mode on the list object. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elm__List__Group_ga77f2cb0124888f8946326fa308d938bf}{elm\+\_\+list\+\_\+horizontal\+\_\+get}} (const Elm\+\_\+\+List $\ast$obj)
\begin{DoxyCompactList}\small\item\em Control horizontal mode on the list object. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__List__Group_gaa5dff03378e2c410f8a04953aefa6961}{elm\+\_\+list\+\_\+select\+\_\+mode\+\_\+set}} (Elm\+\_\+\+List $\ast$obj, \mbox{\hyperlink{group__Elm__General_ga8e4aa5aa238e472f33813babfff0d56f}{Elm\+\_\+\+Object\+\_\+\+Select\+\_\+\+Mode}} mode)
\begin{DoxyCompactList}\small\item\em Control the list select mode. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elm__General_ga8e4aa5aa238e472f33813babfff0d56f}{Elm\+\_\+\+Object\+\_\+\+Select\+\_\+\+Mode}} \mbox{\hyperlink{group__Elm__List__Group_ga02cc7c2ff842988de2447a31ba4384e5}{elm\+\_\+list\+\_\+select\+\_\+mode\+\_\+get}} (const Elm\+\_\+\+List $\ast$obj)
\begin{DoxyCompactList}\small\item\em Control the list select mode. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__List__Group_ga56229a70fbd632cf3b53b916ea23e330}{elm\+\_\+list\+\_\+focus\+\_\+on\+\_\+selection\+\_\+set}} (Elm\+\_\+\+List $\ast$obj, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} enabled)
\begin{DoxyCompactList}\small\item\em Control focus upon items selection mode. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elm__List__Group_gac20db0b3a9b1e2e860fbbf91710d4a88}{elm\+\_\+list\+\_\+focus\+\_\+on\+\_\+selection\+\_\+get}} (const Elm\+\_\+\+List $\ast$obj)
\begin{DoxyCompactList}\small\item\em Control focus upon items selection mode. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__List__Group_gabc84c1234bd9cf0b306e31f5d10829e6}{elm\+\_\+list\+\_\+multi\+\_\+select\+\_\+set}} (Elm\+\_\+\+List $\ast$obj, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} multi)
\begin{DoxyCompactList}\small\item\em Control multiple items selection on the list object. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elm__List__Group_gad1a1b159f31a20479daf1e18033419c2}{elm\+\_\+list\+\_\+multi\+\_\+select\+\_\+get}} (const Elm\+\_\+\+List $\ast$obj)
\begin{DoxyCompactList}\small\item\em Control multiple items selection on the list object. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__List__Group_ga325cb3ec937405fa51d5991a2ae882c9}{elm\+\_\+list\+\_\+multi\+\_\+select\+\_\+mode\+\_\+set}} (Elm\+\_\+\+List $\ast$obj, \mbox{\hyperlink{group__Elm__General_ga3b3c003b0471181f7aff71d50c0d1a5d}{Elm\+\_\+\+Object\+\_\+\+Multi\+\_\+\+Select\+\_\+\+Mode}} mode)
\begin{DoxyCompactList}\small\item\em Control the list multi select mode. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elm__General_ga3b3c003b0471181f7aff71d50c0d1a5d}{Elm\+\_\+\+Object\+\_\+\+Multi\+\_\+\+Select\+\_\+\+Mode}} \mbox{\hyperlink{group__Elm__List__Group_gab1f7aa7b2d7f37f51d28cdf522cbdfd5}{elm\+\_\+list\+\_\+multi\+\_\+select\+\_\+mode\+\_\+get}} (const Elm\+\_\+\+List $\ast$obj)
\begin{DoxyCompactList}\small\item\em Control the list multi select mode. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__List__Group_ga8de4384bc5c40089644ecab6a7e005c8}{elm\+\_\+list\+\_\+mode\+\_\+set}} (Elm\+\_\+\+List $\ast$obj, \mbox{\hyperlink{group__Elm__General_gad05499f0b0c907a953ef8650823ae428}{Elm\+\_\+\+List\+\_\+\+Mode}} mode)
\begin{DoxyCompactList}\small\item\em Control which mode to use for the list object. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elm__General_gad05499f0b0c907a953ef8650823ae428}{Elm\+\_\+\+List\+\_\+\+Mode}} \mbox{\hyperlink{group__Elm__List__Group_gae27f6dde507d2915b7bca4a5de7ad8be}{elm\+\_\+list\+\_\+mode\+\_\+get}} (const Elm\+\_\+\+List $\ast$obj)
\begin{DoxyCompactList}\small\item\em Control which mode to use for the list object. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elm__General_ga9a9ae618832fd9732d59650931a9db08}{Elm\+\_\+\+Widget\+\_\+\+Item}} $\ast$ \mbox{\hyperlink{group__Elm__List__Group_ga30a9c03f1ae67140cb8350ba7fd2851e}{elm\+\_\+list\+\_\+selected\+\_\+item\+\_\+get}} (const Elm\+\_\+\+List $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the selected item. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$ \mbox{\hyperlink{group__Elm__List__Group_ga6da431471216dd2e77ffd9734e23a8c5}{elm\+\_\+list\+\_\+items\+\_\+get}} (const Elm\+\_\+\+List $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get a list of all the list items. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elm__General_ga9a9ae618832fd9732d59650931a9db08}{Elm\+\_\+\+Widget\+\_\+\+Item}} $\ast$ \mbox{\hyperlink{group__Elm__List__Group_ga637a06cfd4b673f607d8581425315769}{elm\+\_\+list\+\_\+first\+\_\+item\+\_\+get}} (const Elm\+\_\+\+List $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the first item in the list. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$ \mbox{\hyperlink{group__Elm__List__Group_gad47fcb0cc550dbe2c6c6e52476cb3959}{elm\+\_\+list\+\_\+selected\+\_\+items\+\_\+get}} (const Elm\+\_\+\+List $\ast$obj)
\begin{DoxyCompactList}\small\item\em Return a list of the currently selected list items. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elm__General_ga9a9ae618832fd9732d59650931a9db08}{Elm\+\_\+\+Widget\+\_\+\+Item}} $\ast$ \mbox{\hyperlink{group__Elm__List__Group_gae68970cd83139df5e7dd28f9939e3fc0}{elm\+\_\+list\+\_\+last\+\_\+item\+\_\+get}} (const Elm\+\_\+\+List $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the last item in the list. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elm__General_ga9a9ae618832fd9732d59650931a9db08}{Elm\+\_\+\+Widget\+\_\+\+Item}} $\ast$ \mbox{\hyperlink{group__Elm__List__Group_ga7f6d007721027b8fd0402bd49829038c}{elm\+\_\+list\+\_\+item\+\_\+insert\+\_\+before}} (Elm\+\_\+\+List $\ast$obj, \mbox{\hyperlink{group__Elm__General_ga9a9ae618832fd9732d59650931a9db08}{Elm\+\_\+\+Widget\+\_\+\+Item}} $\ast$before, const char $\ast$label, \mbox{\hyperlink{group__Evas__Object__Group_gaa5c3ea447e776040a102c696cd715574}{Efl\+\_\+\+Canvas\+\_\+\+Object}} $\ast$icon, \mbox{\hyperlink{group__Evas__Object__Group_gaa5c3ea447e776040a102c696cd715574}{Efl\+\_\+\+Canvas\+\_\+\+Object}} $\ast$end, \mbox{\hyperlink{Evas__Common_8h_afbde245aa36db11d8280b266235c25b2}{Evas\+\_\+\+Smart\+\_\+\+Cb}} func, const void $\ast$data)
\begin{DoxyCompactList}\small\item\em Insert a new item into the list object before item {\ttfamily before}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__List__Group_ga016361621126444b003a71dc8ff75627}{elm\+\_\+list\+\_\+go}} (Elm\+\_\+\+List $\ast$obj)
\begin{DoxyCompactList}\small\item\em Starts the list. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elm__General_ga9a9ae618832fd9732d59650931a9db08}{Elm\+\_\+\+Widget\+\_\+\+Item}} $\ast$ \mbox{\hyperlink{group__Elm__List__Group_ga8880eb99d6b50a9a6e1098b91a6b4d9e}{elm\+\_\+list\+\_\+item\+\_\+insert\+\_\+after}} (Elm\+\_\+\+List $\ast$obj, \mbox{\hyperlink{group__Elm__General_ga9a9ae618832fd9732d59650931a9db08}{Elm\+\_\+\+Widget\+\_\+\+Item}} $\ast$after, const char $\ast$label, \mbox{\hyperlink{group__Evas__Object__Group_gaa5c3ea447e776040a102c696cd715574}{Efl\+\_\+\+Canvas\+\_\+\+Object}} $\ast$icon, \mbox{\hyperlink{group__Evas__Object__Group_gaa5c3ea447e776040a102c696cd715574}{Efl\+\_\+\+Canvas\+\_\+\+Object}} $\ast$end, \mbox{\hyperlink{Evas__Common_8h_afbde245aa36db11d8280b266235c25b2}{Evas\+\_\+\+Smart\+\_\+\+Cb}} func, const void $\ast$data)
\begin{DoxyCompactList}\small\item\em Insert a new item into the list object after item {\ttfamily after}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elm__General_ga9a9ae618832fd9732d59650931a9db08}{Elm\+\_\+\+Widget\+\_\+\+Item}} $\ast$ \mbox{\hyperlink{group__Elm__List__Group_ga57ccc895eb91fba8130700f36f1f665d}{elm\+\_\+list\+\_\+at\+\_\+xy\+\_\+item\+\_\+get}} (const Elm\+\_\+\+List $\ast$obj, int x, int y, int $\ast$posret)
\begin{DoxyCompactList}\small\item\em Get the item that is at the x, y canvas coords. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elm__General_ga9a9ae618832fd9732d59650931a9db08}{Elm\+\_\+\+Widget\+\_\+\+Item}} $\ast$ \mbox{\hyperlink{group__Elm__List__Group_ga5f2fecdca079df9522ac4f8e64b2d98e}{elm\+\_\+list\+\_\+item\+\_\+append}} (Elm\+\_\+\+List $\ast$obj, const char $\ast$label, \mbox{\hyperlink{group__Evas__Object__Group_gaa5c3ea447e776040a102c696cd715574}{Efl\+\_\+\+Canvas\+\_\+\+Object}} $\ast$icon, \mbox{\hyperlink{group__Evas__Object__Group_gaa5c3ea447e776040a102c696cd715574}{Efl\+\_\+\+Canvas\+\_\+\+Object}} $\ast$end, \mbox{\hyperlink{Evas__Common_8h_afbde245aa36db11d8280b266235c25b2}{Evas\+\_\+\+Smart\+\_\+\+Cb}} func, const void $\ast$data)
\begin{DoxyCompactList}\small\item\em Append a new item to the list object. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elm__General_ga9a9ae618832fd9732d59650931a9db08}{Elm\+\_\+\+Widget\+\_\+\+Item}} $\ast$ \mbox{\hyperlink{group__Elm__List__Group_gaf79a07ace606b48e315aad393cfe546b}{elm\+\_\+list\+\_\+item\+\_\+prepend}} (Elm\+\_\+\+List $\ast$obj, const char $\ast$label, \mbox{\hyperlink{group__Evas__Object__Group_gaa5c3ea447e776040a102c696cd715574}{Efl\+\_\+\+Canvas\+\_\+\+Object}} $\ast$icon, \mbox{\hyperlink{group__Evas__Object__Group_gaa5c3ea447e776040a102c696cd715574}{Efl\+\_\+\+Canvas\+\_\+\+Object}} $\ast$end, \mbox{\hyperlink{Evas__Common_8h_afbde245aa36db11d8280b266235c25b2}{Evas\+\_\+\+Smart\+\_\+\+Cb}} func, const void $\ast$data)
\begin{DoxyCompactList}\small\item\em Prepend a new item to the list object. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Elm__List__Group_gabe4b2c3e5419575144f880042b337eca}\label{group__Elm__List__Group_gabe4b2c3e5419575144f880042b337eca}} 
void {\bfseries elm\+\_\+list\+\_\+clear} (Elm\+\_\+\+List $\ast$obj)
\begin{DoxyCompactList}\small\item\em Remove all list\textquotesingle{}s items. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elm__General_ga9a9ae618832fd9732d59650931a9db08}{Elm\+\_\+\+Widget\+\_\+\+Item}} $\ast$ \mbox{\hyperlink{group__Elm__List__Group_ga3f12b3ec863e6b25787a2ef694bfaff2}{elm\+\_\+list\+\_\+item\+\_\+sorted\+\_\+insert}} (Elm\+\_\+\+List $\ast$obj, const char $\ast$label, \mbox{\hyperlink{group__Evas__Object__Group_gaa5c3ea447e776040a102c696cd715574}{Efl\+\_\+\+Canvas\+\_\+\+Object}} $\ast$icon, \mbox{\hyperlink{group__Evas__Object__Group_gaa5c3ea447e776040a102c696cd715574}{Efl\+\_\+\+Canvas\+\_\+\+Object}} $\ast$end, \mbox{\hyperlink{Evas__Common_8h_afbde245aa36db11d8280b266235c25b2}{Evas\+\_\+\+Smart\+\_\+\+Cb}} func, const void $\ast$data, \mbox{\hyperlink{group__Eina__Types__Group_ga1b31ffcc0d46eed63a2381c5a011b486}{Eina\+\_\+\+Compare\+\_\+\+Cb}} cmp\+\_\+func)
\begin{DoxyCompactList}\small\item\em Insert a new item into the sorted list object. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$ \mbox{\hyperlink{group__Elm__List__Group_gaf6389bff5604ff879bc572ab12494dd2}{elm\+\_\+list\+\_\+add}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$parent)
\begin{DoxyCompactList}\small\item\em Add a new list widget to the given parent Elementary (container) object. \end{DoxyCompactList}\end{DoxyCompactItemize}


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


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


 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics[width=\textwidth]{list}}
\end{DoxyImageNoCaption}


A list widget is a container whose children are displayed vertically or horizontally, in order, and can be selected. The list can accept only one or multiple item selections. Also has many modes of items displaying.

A list is a very simple type of list widget. For more robust lists, Genlist should probably be used.

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

This widget emits the following signals, besides the ones sent from \mbox{\hyperlink{group__Elm__Layout}{Layout}} \+:
\begin{DoxyItemize}
\item {\ttfamily \char`\"{}activated\char`\"{}} -\/ The user has double-\/clicked or pressed (enter$\vert$return$\vert$spacebar) on an item. The {\ttfamily event\+\_\+info} parameter is the item that was activated.
\item {\ttfamily \char`\"{}clicked,double\char`\"{}} -\/ The user has double-\/clicked an item. The {\ttfamily event\+\_\+info} parameter is the item that was double-\/clicked.
\item {\ttfamily \char`\"{}clicked,right\char`\"{}} -\/ The user has right-\/clicked an item. The {\ttfamily event\+\_\+info} parameter is the item that was right-\/clicked. (since 1.\+13)
\item {\ttfamily \char`\"{}selected\char`\"{}} -\/ when the user selected an item
\item {\ttfamily \char`\"{}unselected\char`\"{}} -\/ when the user unselected an item
\item {\ttfamily \char`\"{}longpressed\char`\"{}} -\/ an item in the list is long-\/pressed
\item {\ttfamily \char`\"{}edge,top\char`\"{}} -\/ the list is scrolled until the top edge
\item {\ttfamily \char`\"{}edge,bottom\char`\"{}} -\/ the list is scrolled until the bottom edge
\item {\ttfamily \char`\"{}edge,left\char`\"{}} -\/ the list is scrolled until the left edge
\item {\ttfamily \char`\"{}edge,right\char`\"{}} -\/ the list is scrolled until the right edge
\item {\ttfamily \char`\"{}highlighted\char`\"{}} -\/ an item in the list is highlighted. This is called when the user presses an item or keyboard selection is done so the item is physically highlighted. The {\ttfamily event\+\_\+info} parameter is the item that was highlighted.
\item {\ttfamily \char`\"{}unhighlighted\char`\"{}} -\/ an item in the list is unhighlighted. This is called when the user releases an item or keyboard selection is moved so the item is physically unhighlighted. The {\ttfamily event\+\_\+info} parameter is the item that was unhighlighted.
\item {\ttfamily \char`\"{}language,changed\char`\"{}} -\/ the program\textquotesingle{}s language changed
\item {\ttfamily \char`\"{}focused\char`\"{}} -\/ When the list has received focus. (since 1.\+8)
\item {\ttfamily \char`\"{}unfocused\char`\"{}} -\/ When the list has lost focus. (since 1.\+8)
\item {\ttfamily \char`\"{}item,focused\char`\"{}} -\/ When the list item has received focus. (since 1.\+10)
\item {\ttfamily \char`\"{}item,unfocused\char`\"{}} -\/ When the list item has lost focus. (since 1.\+10)
\end{DoxyItemize}

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

Default content parts of the list items that you can use are\+: \begin{DoxyItemize}
\item {\ttfamily \char`\"{}start\char`\"{}} -\/ A start position object in the list item \item {\ttfamily \char`\"{}end\char`\"{}} -\/ An end position object in the list item Another parts for customized styles are not accepted.\end{DoxyItemize}
Default text parts of the list items that you can use are\+: \begin{DoxyItemize}
\item {\ttfamily \char`\"{}default\char`\"{}} -\/ A label in the list item Another parts for customized styles are not accepted.\end{DoxyItemize}
Supported {\ttfamily elm\+\_\+object\+\_\+item} common APIs. \begin{DoxyItemize}
\item \mbox{\hyperlink{group__Elm__General_ga1d4c8d3c83ed9408eaa35d605adbd7d2}{elm\+\_\+object\+\_\+item\+\_\+disabled\+\_\+set}} \item \mbox{\hyperlink{group__Elm__General_ga6c8e825bd196185a7851db289e2b061c}{elm\+\_\+object\+\_\+item\+\_\+disabled\+\_\+get}} \item \mbox{\hyperlink{group__Elm__General_ga990f25208c4ef0e5c9c404cfb482d813}{elm\+\_\+object\+\_\+item\+\_\+part\+\_\+text\+\_\+set}} \item \mbox{\hyperlink{group__Elm__General_ga453ec97f657bae0588fd4cd4e78ec918}{elm\+\_\+object\+\_\+item\+\_\+part\+\_\+text\+\_\+get}} \item \mbox{\hyperlink{group__Elm__General_ga79ff1bf2d04a5a730fdca21ccc2067c1}{elm\+\_\+object\+\_\+item\+\_\+part\+\_\+content\+\_\+set}} \item \mbox{\hyperlink{group__Elm__General_gab9484cb6aaa388c5e98e63d12f39b8ef}{elm\+\_\+object\+\_\+item\+\_\+part\+\_\+content\+\_\+get}} \item \mbox{\hyperlink{group__Elm__General_ga09b294bd263b9aedfe111412b61b019c}{elm\+\_\+object\+\_\+item\+\_\+part\+\_\+content\+\_\+unset}} \item \mbox{\hyperlink{group__Elm__General_gad1b5a0d41fa322b28000a290154ec3a4}{elm\+\_\+object\+\_\+item\+\_\+del}} \item \mbox{\hyperlink{group__Elm__General_gabdb3e5328a1e3c367c3fc3536e4a2e5c}{elm\+\_\+object\+\_\+item\+\_\+signal\+\_\+emit}}\end{DoxyItemize}
This widget implements the \mbox{\hyperlink{group__Widget_elm-scrollable-interface}{The Elementary Scrollable Interface}} interface, so that all (non-\/deprecated) functions for the base Scroller widget also work for lists.

Some calls on the list\textquotesingle{}s API 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).

List of examples\+: \begin{DoxyItemize}
\item \mbox{\hyperlink{list_example_01}{List widget example}} \item \mbox{\hyperlink{list_example_02}{List widget example}} \item \mbox{\hyperlink{list_example_03}{List -\/ Items management}} \end{DoxyItemize}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__Elm__List__Group_ga167b13474094e21963e60ea01664f7e7}\label{group__Elm__List__Group_ga167b13474094e21963e60ea01664f7e7}} 
\index{List@{List}!elm\_list\_horizontal\_set@{elm\_list\_horizontal\_set}}
\index{elm\_list\_horizontal\_set@{elm\_list\_horizontal\_set}!List@{List}}
\doxysubsubsection{\texorpdfstring{elm\_list\_horizontal\_set()}{elm\_list\_horizontal\_set()}}
{\footnotesize\ttfamily void elm\+\_\+list\+\_\+horizontal\+\_\+set (\begin{DoxyParamCaption}\item[{Elm\+\_\+\+List $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}}]{horizontal }\end{DoxyParamCaption})}



Control horizontal mode on the list object. 

\begin{DoxyNote}{Note}
Vertical mode is set by default.
\end{DoxyNote}
On horizontal mode items are displayed on list from left to right, instead of from top to bottom. Also, the list will scroll horizontally. Each item will presents left icon on top and right icon, or end, at the bottom.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\mbox{\texttt{ in}}  & {\em horizontal} & {\ttfamily true} to enable horizontal or {\ttfamily false} to disable it, i.\+e., to enable vertical mode. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Elm__List__Group_ga77f2cb0124888f8946326fa308d938bf}\label{group__Elm__List__Group_ga77f2cb0124888f8946326fa308d938bf}} 
\index{List@{List}!elm\_list\_horizontal\_get@{elm\_list\_horizontal\_get}}
\index{elm\_list\_horizontal\_get@{elm\_list\_horizontal\_get}!List@{List}}
\doxysubsubsection{\texorpdfstring{elm\_list\_horizontal\_get()}{elm\_list\_horizontal\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+list\+\_\+horizontal\+\_\+get (\begin{DoxyParamCaption}\item[{const Elm\+\_\+\+List $\ast$}]{obj }\end{DoxyParamCaption})}



Control horizontal mode on the list object. 

\begin{DoxyNote}{Note}
Vertical mode is set by default.
\end{DoxyNote}
On horizontal mode items are displayed on list from left to right, instead of from top to bottom. Also, the list will scroll horizontally. Each item will presents left icon on top and right icon, or end, at the bottom.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true} to enable horizontal or {\ttfamily false} to disable it, i.\+e., to enable vertical mode. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Elm__List__Group_gaa5dff03378e2c410f8a04953aefa6961}\label{group__Elm__List__Group_gaa5dff03378e2c410f8a04953aefa6961}} 
\index{List@{List}!elm\_list\_select\_mode\_set@{elm\_list\_select\_mode\_set}}
\index{elm\_list\_select\_mode\_set@{elm\_list\_select\_mode\_set}!List@{List}}
\doxysubsubsection{\texorpdfstring{elm\_list\_select\_mode\_set()}{elm\_list\_select\_mode\_set()}}
{\footnotesize\ttfamily void elm\+\_\+list\+\_\+select\+\_\+mode\+\_\+set (\begin{DoxyParamCaption}\item[{Elm\+\_\+\+List $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__Elm__General_ga8e4aa5aa238e472f33813babfff0d56f}{Elm\+\_\+\+Object\+\_\+\+Select\+\_\+\+Mode}}}]{mode }\end{DoxyParamCaption})}



Control the list select mode. 

\mbox{\hyperlink{group__Elm__List__Group_gaa5dff03378e2c410f8a04953aefa6961}{elm\+\_\+list\+\_\+select\+\_\+mode\+\_\+set()}} changes item select mode in the list widget. -\/ \mbox{\hyperlink{group__Elm__General_gga8e4aa5aa238e472f33813babfff0d56fa69bb485be5448b469c86485fd884d649}{ELM\+\_\+\+OBJECT\+\_\+\+SELECT\+\_\+\+MODE\+\_\+\+DEFAULT}} \+: Items will only call their selection func and callback when first becoming selected. Any further clicks will do nothing, unless you set always select mode. -\/ \mbox{\hyperlink{group__Elm__General_gga8e4aa5aa238e472f33813babfff0d56fab3cfbf566fdbea2079f3081969f0c59c}{ELM\+\_\+\+OBJECT\+\_\+\+SELECT\+\_\+\+MODE\+\_\+\+ALWAYS}} \+: This means that, even if selected, every click will make the selected callbacks be called. -\/ \mbox{\hyperlink{group__Elm__General_gga8e4aa5aa238e472f33813babfff0d56fa0f0e25088d651a379b4eb8b915d2e13f}{ELM\+\_\+\+OBJECT\+\_\+\+SELECT\+\_\+\+MODE\+\_\+\+NONE}} \+: This will turn off the ability to select items entirely and they will neither appear selected nor call selected callback functions.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\mbox{\texttt{ in}}  & {\em mode} & The select mode \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Elm__List__Group_ga02cc7c2ff842988de2447a31ba4384e5}\label{group__Elm__List__Group_ga02cc7c2ff842988de2447a31ba4384e5}} 
\index{List@{List}!elm\_list\_select\_mode\_get@{elm\_list\_select\_mode\_get}}
\index{elm\_list\_select\_mode\_get@{elm\_list\_select\_mode\_get}!List@{List}}
\doxysubsubsection{\texorpdfstring{elm\_list\_select\_mode\_get()}{elm\_list\_select\_mode\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elm__General_ga8e4aa5aa238e472f33813babfff0d56f}{Elm\+\_\+\+Object\+\_\+\+Select\+\_\+\+Mode}} elm\+\_\+list\+\_\+select\+\_\+mode\+\_\+get (\begin{DoxyParamCaption}\item[{const Elm\+\_\+\+List $\ast$}]{obj }\end{DoxyParamCaption})}



Control the list select mode. 

\mbox{\hyperlink{group__Elm__List__Group_gaa5dff03378e2c410f8a04953aefa6961}{elm\+\_\+list\+\_\+select\+\_\+mode\+\_\+set()}} changes item select mode in the list widget. -\/ \mbox{\hyperlink{group__Elm__General_gga8e4aa5aa238e472f33813babfff0d56fa69bb485be5448b469c86485fd884d649}{ELM\+\_\+\+OBJECT\+\_\+\+SELECT\+\_\+\+MODE\+\_\+\+DEFAULT}} \+: Items will only call their selection func and callback when first becoming selected. Any further clicks will do nothing, unless you set always select mode. -\/ \mbox{\hyperlink{group__Elm__General_gga8e4aa5aa238e472f33813babfff0d56fab3cfbf566fdbea2079f3081969f0c59c}{ELM\+\_\+\+OBJECT\+\_\+\+SELECT\+\_\+\+MODE\+\_\+\+ALWAYS}} \+: This means that, even if selected, every click will make the selected callbacks be called. -\/ \mbox{\hyperlink{group__Elm__General_gga8e4aa5aa238e472f33813babfff0d56fa0f0e25088d651a379b4eb8b915d2e13f}{ELM\+\_\+\+OBJECT\+\_\+\+SELECT\+\_\+\+MODE\+\_\+\+NONE}} \+: This will turn off the ability to select items entirely and they will neither appear selected nor call selected callback functions.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The select mode 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Elm__List__Group_ga56229a70fbd632cf3b53b916ea23e330}\label{group__Elm__List__Group_ga56229a70fbd632cf3b53b916ea23e330}} 
\index{List@{List}!elm\_list\_focus\_on\_selection\_set@{elm\_list\_focus\_on\_selection\_set}}
\index{elm\_list\_focus\_on\_selection\_set@{elm\_list\_focus\_on\_selection\_set}!List@{List}}
\doxysubsubsection{\texorpdfstring{elm\_list\_focus\_on\_selection\_set()}{elm\_list\_focus\_on\_selection\_set()}}
{\footnotesize\ttfamily void elm\+\_\+list\+\_\+focus\+\_\+on\+\_\+selection\+\_\+set (\begin{DoxyParamCaption}\item[{Elm\+\_\+\+List $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}}]{enabled }\end{DoxyParamCaption})}



Control focus upon items selection mode. 

When enabled, every selection of an item inside the genlist will automatically set focus to its first focusable widget from the left. This is true of course if the selection was made by clicking an unfocusable area in an item or selecting it with a key movement. Clicking on a focusable widget inside an item will cause this particular item to get focus as usual.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\mbox{\texttt{ in}}  & {\em enabled} & The tree effect status (\$true = enabled, {\ttfamily false} = disabled) \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Elm__List__Group_gac20db0b3a9b1e2e860fbbf91710d4a88}\label{group__Elm__List__Group_gac20db0b3a9b1e2e860fbbf91710d4a88}} 
\index{List@{List}!elm\_list\_focus\_on\_selection\_get@{elm\_list\_focus\_on\_selection\_get}}
\index{elm\_list\_focus\_on\_selection\_get@{elm\_list\_focus\_on\_selection\_get}!List@{List}}
\doxysubsubsection{\texorpdfstring{elm\_list\_focus\_on\_selection\_get()}{elm\_list\_focus\_on\_selection\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+list\+\_\+focus\+\_\+on\+\_\+selection\+\_\+get (\begin{DoxyParamCaption}\item[{const Elm\+\_\+\+List $\ast$}]{obj }\end{DoxyParamCaption})}



Control focus upon items selection mode. 

When enabled, every selection of an item inside the genlist will automatically set focus to its first focusable widget from the left. This is true of course if the selection was made by clicking an unfocusable area in an item or selecting it with a key movement. Clicking on a focusable widget inside an item will cause this particular item to get focus as usual.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The tree effect status (\$true = enabled, {\ttfamily false} = disabled) 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Elm__List__Group_gabc84c1234bd9cf0b306e31f5d10829e6}\label{group__Elm__List__Group_gabc84c1234bd9cf0b306e31f5d10829e6}} 
\index{List@{List}!elm\_list\_multi\_select\_set@{elm\_list\_multi\_select\_set}}
\index{elm\_list\_multi\_select\_set@{elm\_list\_multi\_select\_set}!List@{List}}
\doxysubsubsection{\texorpdfstring{elm\_list\_multi\_select\_set()}{elm\_list\_multi\_select\_set()}}
{\footnotesize\ttfamily void elm\+\_\+list\+\_\+multi\+\_\+select\+\_\+set (\begin{DoxyParamCaption}\item[{Elm\+\_\+\+List $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}}]{multi }\end{DoxyParamCaption})}



Control multiple items selection on the list object. 

Disabled by default. If disabled, the user can select a single item of the list each time. Selected items are highlighted on list. If enabled, many items can be selected.

If a selected item is selected again, it will be unselected.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\mbox{\texttt{ in}}  & {\em multi} & {\ttfamily true} to enable multi selection or {\ttfamily false} to disable it. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Elm__List__Group_gad1a1b159f31a20479daf1e18033419c2}\label{group__Elm__List__Group_gad1a1b159f31a20479daf1e18033419c2}} 
\index{List@{List}!elm\_list\_multi\_select\_get@{elm\_list\_multi\_select\_get}}
\index{elm\_list\_multi\_select\_get@{elm\_list\_multi\_select\_get}!List@{List}}
\doxysubsubsection{\texorpdfstring{elm\_list\_multi\_select\_get()}{elm\_list\_multi\_select\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+list\+\_\+multi\+\_\+select\+\_\+get (\begin{DoxyParamCaption}\item[{const Elm\+\_\+\+List $\ast$}]{obj }\end{DoxyParamCaption})}



Control multiple items selection on the list object. 

Disabled by default. If disabled, the user can select a single item of the list each time. Selected items are highlighted on list. If enabled, many items can be selected.

If a selected item is selected again, it will be unselected.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily true} to enable multi selection or {\ttfamily false} to disable it. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Elm__List__Group_ga325cb3ec937405fa51d5991a2ae882c9}\label{group__Elm__List__Group_ga325cb3ec937405fa51d5991a2ae882c9}} 
\index{List@{List}!elm\_list\_multi\_select\_mode\_set@{elm\_list\_multi\_select\_mode\_set}}
\index{elm\_list\_multi\_select\_mode\_set@{elm\_list\_multi\_select\_mode\_set}!List@{List}}
\doxysubsubsection{\texorpdfstring{elm\_list\_multi\_select\_mode\_set()}{elm\_list\_multi\_select\_mode\_set()}}
{\footnotesize\ttfamily void elm\+\_\+list\+\_\+multi\+\_\+select\+\_\+mode\+\_\+set (\begin{DoxyParamCaption}\item[{Elm\+\_\+\+List $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__Elm__General_ga3b3c003b0471181f7aff71d50c0d1a5d}{Elm\+\_\+\+Object\+\_\+\+Multi\+\_\+\+Select\+\_\+\+Mode}}}]{mode }\end{DoxyParamCaption})}



Control the list multi select mode. 


\begin{DoxyItemize}
\item \mbox{\hyperlink{group__Elm__General_gga3b3c003b0471181f7aff71d50c0d1a5daf346ccf7970275abb55cc914859444b2}{ELM\+\_\+\+OBJECT\+\_\+\+MULTI\+\_\+\+SELECT\+\_\+\+MODE\+\_\+\+DEFAULT}} \+: select/unselect items whenever each item is clicked. -\/ \mbox{\hyperlink{group__Elm__General_gga3b3c003b0471181f7aff71d50c0d1a5da7d9bb9ff2912434a7003e68850877db0}{ELM\+\_\+\+OBJECT\+\_\+\+MULTI\+\_\+\+SELECT\+\_\+\+MODE\+\_\+\+WITH\+\_\+\+CONTROL}} \+: Only one item will be selected although multi-\/selection is enabled, if clicked without pressing control key. This mode is only available with multi-\/selection.
\end{DoxyItemize}

See\+: \mbox{\hyperlink{group__Elm__List__Group_gad1a1b159f31a20479daf1e18033419c2}{elm\+\_\+list\+\_\+multi\+\_\+select\+\_\+get}}


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\mbox{\texttt{ in}}  & {\em mode} & The multi select mode\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__Elm__List__Group_gab1f7aa7b2d7f37f51d28cdf522cbdfd5}\label{group__Elm__List__Group_gab1f7aa7b2d7f37f51d28cdf522cbdfd5}} 
\index{List@{List}!elm\_list\_multi\_select\_mode\_get@{elm\_list\_multi\_select\_mode\_get}}
\index{elm\_list\_multi\_select\_mode\_get@{elm\_list\_multi\_select\_mode\_get}!List@{List}}
\doxysubsubsection{\texorpdfstring{elm\_list\_multi\_select\_mode\_get()}{elm\_list\_multi\_select\_mode\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elm__General_ga3b3c003b0471181f7aff71d50c0d1a5d}{Elm\+\_\+\+Object\+\_\+\+Multi\+\_\+\+Select\+\_\+\+Mode}} elm\+\_\+list\+\_\+multi\+\_\+select\+\_\+mode\+\_\+get (\begin{DoxyParamCaption}\item[{const Elm\+\_\+\+List $\ast$}]{obj }\end{DoxyParamCaption})}



Control the list multi select mode. 


\begin{DoxyItemize}
\item \mbox{\hyperlink{group__Elm__General_gga3b3c003b0471181f7aff71d50c0d1a5daf346ccf7970275abb55cc914859444b2}{ELM\+\_\+\+OBJECT\+\_\+\+MULTI\+\_\+\+SELECT\+\_\+\+MODE\+\_\+\+DEFAULT}} \+: select/unselect items whenever each item is clicked. -\/ \mbox{\hyperlink{group__Elm__General_gga3b3c003b0471181f7aff71d50c0d1a5da7d9bb9ff2912434a7003e68850877db0}{ELM\+\_\+\+OBJECT\+\_\+\+MULTI\+\_\+\+SELECT\+\_\+\+MODE\+\_\+\+WITH\+\_\+\+CONTROL}} \+: Only one item will be selected although multi-\/selection is enabled, if clicked without pressing control key. This mode is only available with multi-\/selection.
\end{DoxyItemize}

See\+: \mbox{\hyperlink{group__Elm__List__Group_gad1a1b159f31a20479daf1e18033419c2}{elm\+\_\+list\+\_\+multi\+\_\+select\+\_\+get}}


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The multi select mode
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__Elm__List__Group_ga8de4384bc5c40089644ecab6a7e005c8}\label{group__Elm__List__Group_ga8de4384bc5c40089644ecab6a7e005c8}} 
\index{List@{List}!elm\_list\_mode\_set@{elm\_list\_mode\_set}}
\index{elm\_list\_mode\_set@{elm\_list\_mode\_set}!List@{List}}
\doxysubsubsection{\texorpdfstring{elm\_list\_mode\_set()}{elm\_list\_mode\_set()}}
{\footnotesize\ttfamily void elm\+\_\+list\+\_\+mode\+\_\+set (\begin{DoxyParamCaption}\item[{Elm\+\_\+\+List $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__Elm__General_gad05499f0b0c907a953ef8650823ae428}{Elm\+\_\+\+List\+\_\+\+Mode}}}]{mode }\end{DoxyParamCaption})}



Control which mode to use for the list object. 

Set list\textquotesingle{}s resize behavior, transverse axis scroll and items cropping. See each mode\textquotesingle{}s description for more details.

\begin{DoxyNote}{Note}
Default value is \mbox{\hyperlink{group__Elm__General_ggad05499f0b0c907a953ef8650823ae428a66e50ab227b49eaecd5512fbf6cd4b5f}{ELM\+\_\+\+LIST\+\_\+\+SCROLL}}.
\end{DoxyNote}
Only one mode at a time can be set. If a previous one was set, it will be changed by the new mode after this call. Bitmasks won\textquotesingle{}t work here as well.

\begin{DoxyWarning}{Warning}
This function\textquotesingle{}s behavior will clash with those of \mbox{\hyperlink{group__Elm__Scroller__Group_gac929a4fcacd00a7106a958a1048b6e7e}{elm\+\_\+scroller\+\_\+content\+\_\+min\+\_\+limit()}}, so use either one of them, but not both.
\end{DoxyWarning}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\mbox{\texttt{ in}}  & {\em mode} & One of \mbox{\hyperlink{group__Elm__General_gad05499f0b0c907a953ef8650823ae428}{Elm\+\_\+\+List\+\_\+\+Mode}}\+: \mbox{\hyperlink{group__Elm__General_ggad05499f0b0c907a953ef8650823ae428ae56e6756bfcf33e3a53fb14acf8d3497}{ELM\+\_\+\+LIST\+\_\+\+COMPRESS}}, \mbox{\hyperlink{group__Elm__General_ggad05499f0b0c907a953ef8650823ae428a66e50ab227b49eaecd5512fbf6cd4b5f}{ELM\+\_\+\+LIST\+\_\+\+SCROLL}}, \mbox{\hyperlink{group__Elm__General_ggad05499f0b0c907a953ef8650823ae428a9d8b034ab975f9a14d542069271408a1}{ELM\+\_\+\+LIST\+\_\+\+LIMIT}} or \mbox{\hyperlink{group__Elm__General_ggad05499f0b0c907a953ef8650823ae428a6a72b4bafeb272051715a97fa7c186de}{ELM\+\_\+\+LIST\+\_\+\+EXPAND}}. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Elm__List__Group_gae27f6dde507d2915b7bca4a5de7ad8be}\label{group__Elm__List__Group_gae27f6dde507d2915b7bca4a5de7ad8be}} 
\index{List@{List}!elm\_list\_mode\_get@{elm\_list\_mode\_get}}
\index{elm\_list\_mode\_get@{elm\_list\_mode\_get}!List@{List}}
\doxysubsubsection{\texorpdfstring{elm\_list\_mode\_get()}{elm\_list\_mode\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elm__General_gad05499f0b0c907a953ef8650823ae428}{Elm\+\_\+\+List\+\_\+\+Mode}} elm\+\_\+list\+\_\+mode\+\_\+get (\begin{DoxyParamCaption}\item[{const Elm\+\_\+\+List $\ast$}]{obj }\end{DoxyParamCaption})}



Control which mode to use for the list object. 

Set list\textquotesingle{}s resize behavior, transverse axis scroll and items cropping. See each mode\textquotesingle{}s description for more details.

\begin{DoxyNote}{Note}
Default value is \mbox{\hyperlink{group__Elm__General_ggad05499f0b0c907a953ef8650823ae428a66e50ab227b49eaecd5512fbf6cd4b5f}{ELM\+\_\+\+LIST\+\_\+\+SCROLL}}.
\end{DoxyNote}
Only one mode at a time can be set. If a previous one was set, it will be changed by the new mode after this call. Bitmasks won\textquotesingle{}t work here as well.

\begin{DoxyWarning}{Warning}
This function\textquotesingle{}s behavior will clash with those of \mbox{\hyperlink{group__Elm__Scroller__Group_gac929a4fcacd00a7106a958a1048b6e7e}{elm\+\_\+scroller\+\_\+content\+\_\+min\+\_\+limit()}}, so use either one of them, but not both.
\end{DoxyWarning}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
One of \mbox{\hyperlink{group__Elm__General_gad05499f0b0c907a953ef8650823ae428}{Elm\+\_\+\+List\+\_\+\+Mode}}\+: \mbox{\hyperlink{group__Elm__General_ggad05499f0b0c907a953ef8650823ae428ae56e6756bfcf33e3a53fb14acf8d3497}{ELM\+\_\+\+LIST\+\_\+\+COMPRESS}}, \mbox{\hyperlink{group__Elm__General_ggad05499f0b0c907a953ef8650823ae428a66e50ab227b49eaecd5512fbf6cd4b5f}{ELM\+\_\+\+LIST\+\_\+\+SCROLL}}, \mbox{\hyperlink{group__Elm__General_ggad05499f0b0c907a953ef8650823ae428a9d8b034ab975f9a14d542069271408a1}{ELM\+\_\+\+LIST\+\_\+\+LIMIT}} or \mbox{\hyperlink{group__Elm__General_ggad05499f0b0c907a953ef8650823ae428a6a72b4bafeb272051715a97fa7c186de}{ELM\+\_\+\+LIST\+\_\+\+EXPAND}}. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Elm__List__Group_ga30a9c03f1ae67140cb8350ba7fd2851e}\label{group__Elm__List__Group_ga30a9c03f1ae67140cb8350ba7fd2851e}} 
\index{List@{List}!elm\_list\_selected\_item\_get@{elm\_list\_selected\_item\_get}}
\index{elm\_list\_selected\_item\_get@{elm\_list\_selected\_item\_get}!List@{List}}
\doxysubsubsection{\texorpdfstring{elm\_list\_selected\_item\_get()}{elm\_list\_selected\_item\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elm__General_ga9a9ae618832fd9732d59650931a9db08}{Elm\+\_\+\+Widget\+\_\+\+Item}} $\ast$ elm\+\_\+list\+\_\+selected\+\_\+item\+\_\+get (\begin{DoxyParamCaption}\item[{const Elm\+\_\+\+List $\ast$}]{obj }\end{DoxyParamCaption})}



Get the selected item. 

The selected item can be unselected with function elm\+\_\+list\+\_\+item\+\_\+selected\+\_\+set().

The selected item always will be highlighted on list.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The selected list item. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Elm__List__Group_ga6da431471216dd2e77ffd9734e23a8c5}\label{group__Elm__List__Group_ga6da431471216dd2e77ffd9734e23a8c5}} 
\index{List@{List}!elm\_list\_items\_get@{elm\_list\_items\_get}}
\index{elm\_list\_items\_get@{elm\_list\_items\_get}!List@{List}}
\doxysubsubsection{\texorpdfstring{elm\_list\_items\_get()}{elm\_list\_items\_get()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$ elm\+\_\+list\+\_\+items\+\_\+get (\begin{DoxyParamCaption}\item[{const Elm\+\_\+\+List $\ast$}]{obj }\end{DoxyParamCaption})}



Get a list of all the list items. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A {\ttfamily list} of list items, \mbox{\hyperlink{group__Elm__General_ga9a9ae618832fd9732d59650931a9db08}{Elm\+\_\+\+Widget\+\_\+\+Item}}, or {\ttfamily NULL} on failure. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Elm__List__Group_ga637a06cfd4b673f607d8581425315769}\label{group__Elm__List__Group_ga637a06cfd4b673f607d8581425315769}} 
\index{List@{List}!elm\_list\_first\_item\_get@{elm\_list\_first\_item\_get}}
\index{elm\_list\_first\_item\_get@{elm\_list\_first\_item\_get}!List@{List}}
\doxysubsubsection{\texorpdfstring{elm\_list\_first\_item\_get()}{elm\_list\_first\_item\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elm__General_ga9a9ae618832fd9732d59650931a9db08}{Elm\+\_\+\+Widget\+\_\+\+Item}} $\ast$ elm\+\_\+list\+\_\+first\+\_\+item\+\_\+get (\begin{DoxyParamCaption}\item[{const Elm\+\_\+\+List $\ast$}]{obj }\end{DoxyParamCaption})}



Get the first item in the list. 

This returns the first item in the list.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The first item, or NULL if none 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Elm__List__Group_gad47fcb0cc550dbe2c6c6e52476cb3959}\label{group__Elm__List__Group_gad47fcb0cc550dbe2c6c6e52476cb3959}} 
\index{List@{List}!elm\_list\_selected\_items\_get@{elm\_list\_selected\_items\_get}}
\index{elm\_list\_selected\_items\_get@{elm\_list\_selected\_items\_get}!List@{List}}
\doxysubsubsection{\texorpdfstring{elm\_list\_selected\_items\_get()}{elm\_list\_selected\_items\_get()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$ elm\+\_\+list\+\_\+selected\+\_\+items\+\_\+get (\begin{DoxyParamCaption}\item[{const Elm\+\_\+\+List $\ast$}]{obj }\end{DoxyParamCaption})}



Return a list of the currently selected list items. 

Multiple items can be selected if multi select is enabled. It can be done with \mbox{\hyperlink{group__Elm__List__Group_gabc84c1234bd9cf0b306e31f5d10829e6}{elm\+\_\+list\+\_\+multi\+\_\+select\+\_\+set()}}.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
An {\ttfamily list} of list items, \mbox{\hyperlink{group__Elm__General_ga9a9ae618832fd9732d59650931a9db08}{Elm\+\_\+\+Widget\+\_\+\+Item}}, or {\ttfamily NULL} on failure. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Elm__List__Group_gae68970cd83139df5e7dd28f9939e3fc0}\label{group__Elm__List__Group_gae68970cd83139df5e7dd28f9939e3fc0}} 
\index{List@{List}!elm\_list\_last\_item\_get@{elm\_list\_last\_item\_get}}
\index{elm\_list\_last\_item\_get@{elm\_list\_last\_item\_get}!List@{List}}
\doxysubsubsection{\texorpdfstring{elm\_list\_last\_item\_get()}{elm\_list\_last\_item\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elm__General_ga9a9ae618832fd9732d59650931a9db08}{Elm\+\_\+\+Widget\+\_\+\+Item}} $\ast$ elm\+\_\+list\+\_\+last\+\_\+item\+\_\+get (\begin{DoxyParamCaption}\item[{const Elm\+\_\+\+List $\ast$}]{obj }\end{DoxyParamCaption})}



Get the last item in the list. 

This returns the last item in the list.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The last item, or NULL if none 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Elm__List__Group_ga7f6d007721027b8fd0402bd49829038c}\label{group__Elm__List__Group_ga7f6d007721027b8fd0402bd49829038c}} 
\index{List@{List}!elm\_list\_item\_insert\_before@{elm\_list\_item\_insert\_before}}
\index{elm\_list\_item\_insert\_before@{elm\_list\_item\_insert\_before}!List@{List}}
\doxysubsubsection{\texorpdfstring{elm\_list\_item\_insert\_before()}{elm\_list\_item\_insert\_before()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elm__General_ga9a9ae618832fd9732d59650931a9db08}{Elm\+\_\+\+Widget\+\_\+\+Item}} $\ast$ elm\+\_\+list\+\_\+item\+\_\+insert\+\_\+before (\begin{DoxyParamCaption}\item[{Elm\+\_\+\+List $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__Elm__General_ga9a9ae618832fd9732d59650931a9db08}{Elm\+\_\+\+Widget\+\_\+\+Item}} $\ast$}]{before,  }\item[{const char $\ast$}]{label,  }\item[{\mbox{\hyperlink{group__Evas__Object__Group_gaa5c3ea447e776040a102c696cd715574}{Efl\+\_\+\+Canvas\+\_\+\+Object}} $\ast$}]{icon,  }\item[{\mbox{\hyperlink{group__Evas__Object__Group_gaa5c3ea447e776040a102c696cd715574}{Efl\+\_\+\+Canvas\+\_\+\+Object}} $\ast$}]{end,  }\item[{\mbox{\hyperlink{Evas__Common_8h_afbde245aa36db11d8280b266235c25b2}{Evas\+\_\+\+Smart\+\_\+\+Cb}}}]{func,  }\item[{const void $\ast$}]{data }\end{DoxyParamCaption})}



Insert a new item into the list object before item {\ttfamily before}. 

A new item will be created and added to the list. Its position in this list will be just before item {\ttfamily before}.

Items created with this method can be deleted with \mbox{\hyperlink{group__Elm__General_gad1b5a0d41fa322b28000a290154ec3a4}{elm\+\_\+object\+\_\+item\+\_\+del()}}.

Associated {\ttfamily data} can be properly freed when item is deleted if a callback function is set with \mbox{\hyperlink{group__Elm__General_ga2e17c3f1030712f3175f5b7812ada9a0}{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 clicks over an unselected item. If always select is enabled it will call this function every time user clicks over an item (already selected or not). If such function isn\textquotesingle{}t needed, just passing {\ttfamily NULL} as {\ttfamily func} is enough. The same should be done for {\ttfamily data}.

\begin{DoxyNote}{Note}
Remember that the label parameter is copied inside the list. So if an application dynamically allocated the label, the application should free the label after this call.
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\mbox{\texttt{ in}}  & {\em before} & The list item to insert before. \\
\hline
\mbox{\texttt{ in}}  & {\em label} & The label of the list item. \\
\hline
\mbox{\texttt{ in}}  & {\em icon} & The icon object to use for the 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_gac369f2d67be417e5cff81e8f001ff326}{elm\+\_\+icon\+\_\+add()}}. \\
\hline
\mbox{\texttt{ in}}  & {\em end} & The icon object to use for the right side of the item. An icon can be any Evas object. \\
\hline
\mbox{\texttt{ in}}  & {\em func} & The function to call when the item is clicked. \\
\hline
\mbox{\texttt{ in}}  & {\em data} & The data to associate with the item for related callbacks.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The created item or {\ttfamily NULL} upon failure. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Elm__List__Group_ga016361621126444b003a71dc8ff75627}\label{group__Elm__List__Group_ga016361621126444b003a71dc8ff75627}} 
\index{List@{List}!elm\_list\_go@{elm\_list\_go}}
\index{elm\_list\_go@{elm\_list\_go}!List@{List}}
\doxysubsubsection{\texorpdfstring{elm\_list\_go()}{elm\_list\_go()}}
{\footnotesize\ttfamily void elm\+\_\+list\+\_\+go (\begin{DoxyParamCaption}\item[{Elm\+\_\+\+List $\ast$}]{obj }\end{DoxyParamCaption})}



Starts the list. 

\begin{DoxyNote}{Note}
Call before running show() on the list object. Warning\+: If not called, it won\textquotesingle{}t display the list properly. 
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Elm__List__Group_ga8880eb99d6b50a9a6e1098b91a6b4d9e}\label{group__Elm__List__Group_ga8880eb99d6b50a9a6e1098b91a6b4d9e}} 
\index{List@{List}!elm\_list\_item\_insert\_after@{elm\_list\_item\_insert\_after}}
\index{elm\_list\_item\_insert\_after@{elm\_list\_item\_insert\_after}!List@{List}}
\doxysubsubsection{\texorpdfstring{elm\_list\_item\_insert\_after()}{elm\_list\_item\_insert\_after()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elm__General_ga9a9ae618832fd9732d59650931a9db08}{Elm\+\_\+\+Widget\+\_\+\+Item}} $\ast$ elm\+\_\+list\+\_\+item\+\_\+insert\+\_\+after (\begin{DoxyParamCaption}\item[{Elm\+\_\+\+List $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__Elm__General_ga9a9ae618832fd9732d59650931a9db08}{Elm\+\_\+\+Widget\+\_\+\+Item}} $\ast$}]{after,  }\item[{const char $\ast$}]{label,  }\item[{\mbox{\hyperlink{group__Evas__Object__Group_gaa5c3ea447e776040a102c696cd715574}{Efl\+\_\+\+Canvas\+\_\+\+Object}} $\ast$}]{icon,  }\item[{\mbox{\hyperlink{group__Evas__Object__Group_gaa5c3ea447e776040a102c696cd715574}{Efl\+\_\+\+Canvas\+\_\+\+Object}} $\ast$}]{end,  }\item[{\mbox{\hyperlink{Evas__Common_8h_afbde245aa36db11d8280b266235c25b2}{Evas\+\_\+\+Smart\+\_\+\+Cb}}}]{func,  }\item[{const void $\ast$}]{data }\end{DoxyParamCaption})}



Insert a new item into the list object after item {\ttfamily after}. 

A new item will be created and added to the list. Its position in this list will be just after item {\ttfamily after}.

Items created with this method can be deleted with \mbox{\hyperlink{group__Elm__General_gad1b5a0d41fa322b28000a290154ec3a4}{elm\+\_\+object\+\_\+item\+\_\+del()}}.

Associated {\ttfamily data} can be properly freed when item is deleted if a callback function is set with \mbox{\hyperlink{group__Elm__General_ga2e17c3f1030712f3175f5b7812ada9a0}{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 clicks over an unselected item. If always select is enabled it will call this function every time user clicks over an item (already selected or not). If such function isn\textquotesingle{}t needed, just passing {\ttfamily NULL} as {\ttfamily func} is enough. The same should be done for {\ttfamily data}.

\begin{DoxyNote}{Note}
Remember that the label parameter is copied inside the list. So if an application dynamically allocated the label, the application should free the label after this call.
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\mbox{\texttt{ in}}  & {\em after} & The list item to insert after. \\
\hline
\mbox{\texttt{ in}}  & {\em label} & The label of the list item. \\
\hline
\mbox{\texttt{ in}}  & {\em icon} & The icon object to use for the 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_gac369f2d67be417e5cff81e8f001ff326}{elm\+\_\+icon\+\_\+add()}}. \\
\hline
\mbox{\texttt{ in}}  & {\em end} & The icon object to use for the right side of the item. An icon can be any Evas object. \\
\hline
\mbox{\texttt{ in}}  & {\em func} & The function to call when the item is clicked. \\
\hline
\mbox{\texttt{ in}}  & {\em data} & The data to associate with the item for related callbacks.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The created item or {\ttfamily NULL} upon failure. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Elm__List__Group_ga57ccc895eb91fba8130700f36f1f665d}\label{group__Elm__List__Group_ga57ccc895eb91fba8130700f36f1f665d}} 
\index{List@{List}!elm\_list\_at\_xy\_item\_get@{elm\_list\_at\_xy\_item\_get}}
\index{elm\_list\_at\_xy\_item\_get@{elm\_list\_at\_xy\_item\_get}!List@{List}}
\doxysubsubsection{\texorpdfstring{elm\_list\_at\_xy\_item\_get()}{elm\_list\_at\_xy\_item\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elm__General_ga9a9ae618832fd9732d59650931a9db08}{Elm\+\_\+\+Widget\+\_\+\+Item}} $\ast$ elm\+\_\+list\+\_\+at\+\_\+xy\+\_\+item\+\_\+get (\begin{DoxyParamCaption}\item[{const Elm\+\_\+\+List $\ast$}]{obj,  }\item[{int}]{x,  }\item[{int}]{y,  }\item[{int $\ast$}]{posret }\end{DoxyParamCaption})}



Get the item that is at the x, y canvas coords. 

This returns the item at the given coordinates (which are canvas relative, not object-\/relative). If an item is at that coordinate, that item handle is returned, and if {\ttfamily posret} is not NULL, the integer pointed to is set to a value of -\/1, 0 or 1, depending if the coordinate is on the upper portion of that item (-\/1), on the middle section (0) or on the lower part (1). If NULL is returned as an item (no item found there), then posret may indicate -\/1 or 1 based if the coordinate is above or below all items respectively in the list.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\mbox{\texttt{ in}}  & {\em x} & The input x coordinate \\
\hline
\mbox{\texttt{ in}}  & {\em y} & The input y coordinate \\
\hline
\mbox{\texttt{ out}}  & {\em posret} & The position relative to the item returned here\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The item at the coordinates or NULL if none 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Elm__List__Group_ga5f2fecdca079df9522ac4f8e64b2d98e}\label{group__Elm__List__Group_ga5f2fecdca079df9522ac4f8e64b2d98e}} 
\index{List@{List}!elm\_list\_item\_append@{elm\_list\_item\_append}}
\index{elm\_list\_item\_append@{elm\_list\_item\_append}!List@{List}}
\doxysubsubsection{\texorpdfstring{elm\_list\_item\_append()}{elm\_list\_item\_append()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elm__General_ga9a9ae618832fd9732d59650931a9db08}{Elm\+\_\+\+Widget\+\_\+\+Item}} $\ast$ elm\+\_\+list\+\_\+item\+\_\+append (\begin{DoxyParamCaption}\item[{Elm\+\_\+\+List $\ast$}]{obj,  }\item[{const char $\ast$}]{label,  }\item[{\mbox{\hyperlink{group__Evas__Object__Group_gaa5c3ea447e776040a102c696cd715574}{Efl\+\_\+\+Canvas\+\_\+\+Object}} $\ast$}]{icon,  }\item[{\mbox{\hyperlink{group__Evas__Object__Group_gaa5c3ea447e776040a102c696cd715574}{Efl\+\_\+\+Canvas\+\_\+\+Object}} $\ast$}]{end,  }\item[{\mbox{\hyperlink{Evas__Common_8h_afbde245aa36db11d8280b266235c25b2}{Evas\+\_\+\+Smart\+\_\+\+Cb}}}]{func,  }\item[{const void $\ast$}]{data }\end{DoxyParamCaption})}



Append a new item to the list object. 

A new item will be created and appended to the list, i.\+e., will be set as last item.

Items created with this method can be deleted with \mbox{\hyperlink{group__Elm__General_gad1b5a0d41fa322b28000a290154ec3a4}{elm\+\_\+object\+\_\+item\+\_\+del()}}.

Associated {\ttfamily data} can be properly freed when item is deleted if a callback function is set with \mbox{\hyperlink{group__Elm__General_ga2e17c3f1030712f3175f5b7812ada9a0}{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 clicks over an unselected item. If always select is enabled it will call this function every time user clicks over an item (already selected or not). If such function isn\textquotesingle{}t needed, just passing {\ttfamily NULL} as {\ttfamily func} is enough. The same should be done for {\ttfamily data}.

\begin{DoxyNote}{Note}
Remember that the label parameter is copied inside the list. So if an application dynamically allocated the label, the application should free the label after this call.
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\mbox{\texttt{ in}}  & {\em label} & The label of the list item. \\
\hline
\mbox{\texttt{ in}}  & {\em icon} & The icon object to use for the 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_gac369f2d67be417e5cff81e8f001ff326}{elm\+\_\+icon\+\_\+add()}}. \\
\hline
\mbox{\texttt{ in}}  & {\em end} & The icon object to use for the right side of the item. An icon can be any Evas object. \\
\hline
\mbox{\texttt{ in}}  & {\em func} & The function to call when the item is clicked. \\
\hline
\mbox{\texttt{ in}}  & {\em data} & The data to associate with the item for related callbacks.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The created item or {\ttfamily NULL} upon failure. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Elm__List__Group_gaf79a07ace606b48e315aad393cfe546b}\label{group__Elm__List__Group_gaf79a07ace606b48e315aad393cfe546b}} 
\index{List@{List}!elm\_list\_item\_prepend@{elm\_list\_item\_prepend}}
\index{elm\_list\_item\_prepend@{elm\_list\_item\_prepend}!List@{List}}
\doxysubsubsection{\texorpdfstring{elm\_list\_item\_prepend()}{elm\_list\_item\_prepend()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elm__General_ga9a9ae618832fd9732d59650931a9db08}{Elm\+\_\+\+Widget\+\_\+\+Item}} $\ast$ elm\+\_\+list\+\_\+item\+\_\+prepend (\begin{DoxyParamCaption}\item[{Elm\+\_\+\+List $\ast$}]{obj,  }\item[{const char $\ast$}]{label,  }\item[{\mbox{\hyperlink{group__Evas__Object__Group_gaa5c3ea447e776040a102c696cd715574}{Efl\+\_\+\+Canvas\+\_\+\+Object}} $\ast$}]{icon,  }\item[{\mbox{\hyperlink{group__Evas__Object__Group_gaa5c3ea447e776040a102c696cd715574}{Efl\+\_\+\+Canvas\+\_\+\+Object}} $\ast$}]{end,  }\item[{\mbox{\hyperlink{Evas__Common_8h_afbde245aa36db11d8280b266235c25b2}{Evas\+\_\+\+Smart\+\_\+\+Cb}}}]{func,  }\item[{const void $\ast$}]{data }\end{DoxyParamCaption})}



Prepend a new item to the list object. 

A new item will be created and prepended to the list, i.\+e., will be set as first item.

Items created with this method can be deleted with \mbox{\hyperlink{group__Elm__General_gad1b5a0d41fa322b28000a290154ec3a4}{elm\+\_\+object\+\_\+item\+\_\+del()}}.

Associated {\ttfamily data} can be properly freed when item is deleted if a callback function is set with \mbox{\hyperlink{group__Elm__General_ga2e17c3f1030712f3175f5b7812ada9a0}{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 clicks over an unselected item. If always select is enabled it will call this function every time user clicks over an item (already selected or not). If such function isn\textquotesingle{}t needed, just passing {\ttfamily NULL} as {\ttfamily func} is enough. The same should be done for {\ttfamily data}.

\begin{DoxyNote}{Note}
Remember that the label parameter is copied inside the list. So if an application dynamically allocated the label, the application should free the label after this call.
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\mbox{\texttt{ in}}  & {\em label} & The label of the list item. \\
\hline
\mbox{\texttt{ in}}  & {\em icon} & The icon object to use for the 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_gac369f2d67be417e5cff81e8f001ff326}{elm\+\_\+icon\+\_\+add()}}. \\
\hline
\mbox{\texttt{ in}}  & {\em end} & The icon object to use for the right side of the item. An icon can be any Evas object. \\
\hline
\mbox{\texttt{ in}}  & {\em func} & The function to call when the item is clicked. \\
\hline
\mbox{\texttt{ in}}  & {\em data} & The data to associate with the item for related callbacks.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The created item or {\ttfamily NULL} upon failure. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Elm__List__Group_ga3f12b3ec863e6b25787a2ef694bfaff2}\label{group__Elm__List__Group_ga3f12b3ec863e6b25787a2ef694bfaff2}} 
\index{List@{List}!elm\_list\_item\_sorted\_insert@{elm\_list\_item\_sorted\_insert}}
\index{elm\_list\_item\_sorted\_insert@{elm\_list\_item\_sorted\_insert}!List@{List}}
\doxysubsubsection{\texorpdfstring{elm\_list\_item\_sorted\_insert()}{elm\_list\_item\_sorted\_insert()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elm__General_ga9a9ae618832fd9732d59650931a9db08}{Elm\+\_\+\+Widget\+\_\+\+Item}} $\ast$ elm\+\_\+list\+\_\+item\+\_\+sorted\+\_\+insert (\begin{DoxyParamCaption}\item[{Elm\+\_\+\+List $\ast$}]{obj,  }\item[{const char $\ast$}]{label,  }\item[{\mbox{\hyperlink{group__Evas__Object__Group_gaa5c3ea447e776040a102c696cd715574}{Efl\+\_\+\+Canvas\+\_\+\+Object}} $\ast$}]{icon,  }\item[{\mbox{\hyperlink{group__Evas__Object__Group_gaa5c3ea447e776040a102c696cd715574}{Efl\+\_\+\+Canvas\+\_\+\+Object}} $\ast$}]{end,  }\item[{\mbox{\hyperlink{Evas__Common_8h_afbde245aa36db11d8280b266235c25b2}{Evas\+\_\+\+Smart\+\_\+\+Cb}}}]{func,  }\item[{const void $\ast$}]{data,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga1b31ffcc0d46eed63a2381c5a011b486}{Eina\+\_\+\+Compare\+\_\+\+Cb}}}]{cmp\+\_\+func }\end{DoxyParamCaption})}



Insert a new item into the sorted list object. 

\begin{DoxyNote}{Note}
This function inserts values into a list object assuming it was sorted and the result will be sorted.
\end{DoxyNote}
A new item will be created and added to the list. Its position in this list will be found comparing the new item with previously inserted items using function {\ttfamily cmp\+\_\+func}.

Items created with this method can be deleted with \mbox{\hyperlink{group__Elm__General_gad1b5a0d41fa322b28000a290154ec3a4}{elm\+\_\+object\+\_\+item\+\_\+del()}}.

Associated {\ttfamily data} can be properly freed when item is deleted if a callback function is set with \mbox{\hyperlink{group__Elm__General_ga2e17c3f1030712f3175f5b7812ada9a0}{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 clicks over an unselected item. If always select is enabled it will call this function every time user clicks over an item (already selected or not). If such function isn\textquotesingle{}t needed, just passing {\ttfamily NULL} as {\ttfamily func} is enough. The same should be done for {\ttfamily data}.

\begin{DoxyNote}{Note}
Remember that the label parameter is copied inside the list. So if an application dynamically allocated the label, the application should free the label after this call.
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\mbox{\texttt{ in}}  & {\em label} & The label of the list item. \\
\hline
\mbox{\texttt{ in}}  & {\em icon} & The icon object to use for the 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_gac369f2d67be417e5cff81e8f001ff326}{elm\+\_\+icon\+\_\+add()}}. \\
\hline
\mbox{\texttt{ in}}  & {\em end} & The icon object to use for the right side of the item. An icon can be any Evas object. \\
\hline
\mbox{\texttt{ in}}  & {\em func} & The function to call when the item is clicked. \\
\hline
\mbox{\texttt{ in}}  & {\em data} & The data to associate with the item for related callbacks. \\
\hline
\mbox{\texttt{ in}}  & {\em cmp\+\_\+func} & The comparing function to be used to sort list items by \mbox{\hyperlink{group__Elm__General_ga9a9ae618832fd9732d59650931a9db08}{Elm\+\_\+\+Widget\+\_\+\+Item}} item handles. This function will receive two items and compare them, returning a non-\/negative integer if the second item should be place after the first, or negative value if should be placed before.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The created item or {\ttfamily NULL} upon failure. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Elm__List__Group_gaf6389bff5604ff879bc572ab12494dd2}\label{group__Elm__List__Group_gaf6389bff5604ff879bc572ab12494dd2}} 
\index{List@{List}!elm\_list\_add@{elm\_list\_add}}
\index{elm\_list\_add@{elm\_list\_add}!List@{List}}
\doxysubsubsection{\texorpdfstring{elm\_list\_add()}{elm\_list\_add()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$ elm\+\_\+list\+\_\+add (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{parent }\end{DoxyParamCaption})}



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


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

References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.

