\section{Menu}
\label{group__Menu}\index{Menu@{Menu}}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
E\+O\+A\+P\+I \hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$ \hyperlink{group__Menu_ga8bb611ca9325dc358ea87051dc2a649a}{elm\+\_\+obj\+\_\+menu\+\_\+selected\+\_\+item\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get the selected item in the menu. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I const Eina\+\_\+\+List $\ast$ \hyperlink{group__Menu_ga3799b886e6dd9d1e57a60a767c85e970}{elm\+\_\+obj\+\_\+menu\+\_\+items\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Returns a list of {\ttfamily item\textquotesingle{}s} items. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I \hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$ \hyperlink{group__Menu_gae3b1fb578a9a9ee38fb98e91a6345e31}{elm\+\_\+obj\+\_\+menu\+\_\+first\+\_\+item\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get the first item in the menu. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I \hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$ \hyperlink{group__Menu_ga4cfee51b1f35b4afc664c3121185b347}{elm\+\_\+obj\+\_\+menu\+\_\+last\+\_\+item\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get the last item in the menu. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Menu_ga0ec740c5b9dfda52fc2ed1850bb28e44}{elm\+\_\+obj\+\_\+menu\+\_\+move} (Evas\+\_\+\+Coord x, Evas\+\_\+\+Coord y)
\begin{DoxyCompactList}\small\item\em Move the menu to a new position. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I \hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$ \hyperlink{group__Menu_gad8a1c0f9e0728a17348679189541c19c}{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+add} (\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$parent, const char $\ast$icon, const char $\ast$label, Evas\+\_\+\+Smart\+\_\+\+Cb func, const void $\ast$data)
\begin{DoxyCompactList}\small\item\em Add an item at the end of the given menu widget. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Menu_gabf40424979133623b6200ee23936e056}{elm\+\_\+obj\+\_\+menu\+\_\+close} (void)
\begin{DoxyCompactList}\small\item\em Close a opened menu. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I \hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$ \hyperlink{group__Menu_gae6fbe0711af2631ea29a900e01758f8d}{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+separator\+\_\+add} (\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$parent)
\begin{DoxyCompactList}\small\item\em Add a separator item to menu {\ttfamily obj} under {\ttfamily parent}. \end{DoxyCompactList}\item 
\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$ \hyperlink{group__Menu_ga380b0a616284e3d9044427f30510ef45}{elm\+\_\+menu\+\_\+selected\+\_\+item\+\_\+get} (const Elm\+\_\+\+Menu $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the selected item in the menu. \end{DoxyCompactList}\item 
const Eina\+\_\+\+List $\ast$ \hyperlink{group__Menu_gaf8d8c38266b25230ed4b17ef6ea82565}{elm\+\_\+menu\+\_\+items\+\_\+get} (const Elm\+\_\+\+Menu $\ast$obj)
\begin{DoxyCompactList}\small\item\em Returns a list of {\ttfamily item\textquotesingle{}s} items. \end{DoxyCompactList}\item 
\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$ \hyperlink{group__Menu_gaa65a12195a9d02b2d052f84b7701402f}{elm\+\_\+menu\+\_\+first\+\_\+item\+\_\+get} (const Elm\+\_\+\+Menu $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the first item in the menu. \end{DoxyCompactList}\item 
\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$ \hyperlink{group__Menu_gac713b1378b0435fac0fb7386656ce581}{elm\+\_\+menu\+\_\+last\+\_\+item\+\_\+get} (const Elm\+\_\+\+Menu $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the last item in the menu. \end{DoxyCompactList}\item 
void \hyperlink{group__Menu_gaea26a4f4d789794df4a0a12e48258d5a}{elm\+\_\+menu\+\_\+move} (Elm\+\_\+\+Menu $\ast$obj, Evas\+\_\+\+Coord x, Evas\+\_\+\+Coord y)
\begin{DoxyCompactList}\small\item\em Move the menu to a new position. \end{DoxyCompactList}\item 
\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$ \hyperlink{group__Menu_gae5f16b1861e887eba12c283f01b814fc}{elm\+\_\+menu\+\_\+item\+\_\+add} (Elm\+\_\+\+Menu $\ast$obj, \hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$parent, const char $\ast$icon, const char $\ast$label, Evas\+\_\+\+Smart\+\_\+\+Cb func, const void $\ast$data)
\begin{DoxyCompactList}\small\item\em Add an item at the end of the given menu widget. \end{DoxyCompactList}\item 
void \hyperlink{group__Menu_gaa8ad41ea06c52accd9c1d1129b1771d4}{elm\+\_\+menu\+\_\+close} (Elm\+\_\+\+Menu $\ast$obj)
\begin{DoxyCompactList}\small\item\em Close a opened menu. \end{DoxyCompactList}\item 
\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$ \hyperlink{group__Menu_ga95544c709c31193d1eebadcf611b6d32}{elm\+\_\+menu\+\_\+item\+\_\+separator\+\_\+add} (Elm\+\_\+\+Menu $\ast$obj, \hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$parent)
\begin{DoxyCompactList}\small\item\em Add a separator item to menu {\ttfamily obj} under {\ttfamily parent}. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Menu_ga89bea748a2ec65ffd814000a8df39224}{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+icon\+\_\+name\+\_\+set} (const char $\ast$icon)
\begin{DoxyCompactList}\small\item\em Set the icon of a menu item to the standard icon with name {\ttfamily icon}. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I const char $\ast$ \hyperlink{group__Menu_gaaacebdeead80678fdefd4886cf55eaa4}{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+icon\+\_\+name\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get the string representation from the icon of a menu item. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Menu_ga8745d89a1dcdc9844718dc34dd3ad8b8}{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+selected\+\_\+set} (Eina\+\_\+\+Bool selected)
\begin{DoxyCompactList}\small\item\em Set the selected state of {\ttfamily item}. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I Eina\+\_\+\+Bool \hyperlink{group__Menu_ga54eae6957611916aa396d94ce526f4b9}{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+selected\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get the selected state of {\ttfamily item}. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I \hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$ \hyperlink{group__Menu_ga6f7c46d34b0a553dc12c599ad68683b0}{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+prev\+\_\+get} (void)\label{group__Menu_ga6f7c46d34b0a553dc12c599ad68683b0}

\begin{DoxyCompactList}\small\item\em Get the previous item in the menu. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I \hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$ \hyperlink{group__Menu_ga09dfaeb29a58e1dc2edfb53b811f809c}{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+next\+\_\+get} (void)\label{group__Menu_ga09dfaeb29a58e1dc2edfb53b811f809c}

\begin{DoxyCompactList}\small\item\em Get the next item in the menu. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I unsigned int \hyperlink{group__Menu_ga7c0a8e4660da9f0daa66e616a0a0d3fe}{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+index\+\_\+get} (void)\label{group__Menu_ga7c0a8e4660da9f0daa66e616a0a0d3fe}

\begin{DoxyCompactList}\small\item\em Get the next item in the menu. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Menu_gabcc48e5b0302bd14e5c3de6104f2a0cb}{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+subitems\+\_\+clear} (void)
\begin{DoxyCompactList}\small\item\em Remove all sub-\/items (children) of the given item. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I const Eina\+\_\+\+List $\ast$ \hyperlink{group__Menu_ga61329719771a7428347ec4cfc3bf26f7}{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+subitems\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Returns a list of {\ttfamily item\textquotesingle{}s} subitems. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I Eina\+\_\+\+Bool \hyperlink{group__Menu_gae523432288d0b7455a76ae2d09fd1e2b}{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+is\+\_\+separator} (void)
\begin{DoxyCompactList}\small\item\em Returns whether {\ttfamily item} is a separator. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I Evas\+\_\+\+Object $\ast$ \hyperlink{group__Menu_gaf8b0de400349c2dc2b562595f43b2c2e}{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+object\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get the real Evas(\+Edje) object created to implement the view of a given menu {\ttfamily item}. \end{DoxyCompactList}\item 
void \hyperlink{group__Menu_gafd14715be7e69046336b0e59b4187fb3}{elm\+\_\+menu\+\_\+item\+\_\+icon\+\_\+name\+\_\+set} (Elm\+\_\+\+Menu\+\_\+\+Item $\ast$obj, const char $\ast$icon)
\begin{DoxyCompactList}\small\item\em Set the icon of a menu item to the standard icon with name {\ttfamily icon}. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__Menu_gaa567f17ae5861750c8b2014805fdaa11}{elm\+\_\+menu\+\_\+item\+\_\+icon\+\_\+name\+\_\+get} (const Elm\+\_\+\+Menu\+\_\+\+Item $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the string representation from the icon of a menu item. \end{DoxyCompactList}\item 
void \hyperlink{group__Menu_ga564f988fd4fa8e5f161ca25e7537d099}{elm\+\_\+menu\+\_\+item\+\_\+selected\+\_\+set} (Elm\+\_\+\+Menu\+\_\+\+Item $\ast$obj, Eina\+\_\+\+Bool selected)
\begin{DoxyCompactList}\small\item\em Set the selected state of {\ttfamily item}. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__Menu_ga9b49f8b2a93d9b047b3799a5328cd538}{elm\+\_\+menu\+\_\+item\+\_\+selected\+\_\+get} (const Elm\+\_\+\+Menu\+\_\+\+Item $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the selected state of {\ttfamily item}. \end{DoxyCompactList}\item 
\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$ \hyperlink{group__Menu_ga5ab5931b185fbe062f0bd515b2553859}{elm\+\_\+menu\+\_\+item\+\_\+prev\+\_\+get} (const Elm\+\_\+\+Menu\+\_\+\+Item $\ast$obj)\label{group__Menu_ga5ab5931b185fbe062f0bd515b2553859}

\begin{DoxyCompactList}\small\item\em Get the previous item in the menu. \end{DoxyCompactList}\item 
\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$ \hyperlink{group__Menu_gaf44429a6b412f26520b662895c48aec8}{elm\+\_\+menu\+\_\+item\+\_\+next\+\_\+get} (const Elm\+\_\+\+Menu\+\_\+\+Item $\ast$obj)\label{group__Menu_gaf44429a6b412f26520b662895c48aec8}

\begin{DoxyCompactList}\small\item\em Get the next item in the menu. \end{DoxyCompactList}\item 
unsigned int \hyperlink{group__Menu_ga7eecf5bfa09762622b95c1138bffa851}{elm\+\_\+menu\+\_\+item\+\_\+index\+\_\+get} (const Elm\+\_\+\+Menu\+\_\+\+Item $\ast$obj)\label{group__Menu_ga7eecf5bfa09762622b95c1138bffa851}

\begin{DoxyCompactList}\small\item\em Get the next item in the menu. \end{DoxyCompactList}\item 
void \hyperlink{group__Menu_ga878d4a09bd5518652c5d1d45df3cf394}{elm\+\_\+menu\+\_\+item\+\_\+subitems\+\_\+clear} (Elm\+\_\+\+Menu\+\_\+\+Item $\ast$obj)
\begin{DoxyCompactList}\small\item\em Remove all sub-\/items (children) of the given item. \end{DoxyCompactList}\item 
const Eina\+\_\+\+List $\ast$ \hyperlink{group__Menu_gab178caeb5f35a55221963b7f3847b4d9}{elm\+\_\+menu\+\_\+item\+\_\+subitems\+\_\+get} (const Elm\+\_\+\+Menu\+\_\+\+Item $\ast$obj)
\begin{DoxyCompactList}\small\item\em Returns a list of {\ttfamily item\textquotesingle{}s} subitems. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__Menu_ga0851eea1a86308d8ab1dca70b510e103}{elm\+\_\+menu\+\_\+item\+\_\+is\+\_\+separator} (const Elm\+\_\+\+Menu\+\_\+\+Item $\ast$obj)
\begin{DoxyCompactList}\small\item\em Returns whether {\ttfamily item} is a separator. \end{DoxyCompactList}\item 
Evas\+\_\+\+Object $\ast$ \hyperlink{group__Menu_ga3352b969bcc42399608ef348826cc1f7}{elm\+\_\+menu\+\_\+item\+\_\+object\+\_\+get} (const Elm\+\_\+\+Menu\+\_\+\+Item $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the real Evas(\+Edje) object created to implement the view of a given menu {\ttfamily item}. \end{DoxyCompactList}\item 
Evas\+\_\+\+Object $\ast$ \hyperlink{group__Menu_gaaeecc450db4e359289c16c41489ca94b}{elm\+\_\+menu\+\_\+add} (Evas\+\_\+\+Object $\ast$parent)
\begin{DoxyCompactList}\small\item\em Add a new menu to the parent. \end{DoxyCompactList}\item 
void \hyperlink{group__Menu_ga38bf247cc8be061572d7ad3621ea190a}{elm\+\_\+menu\+\_\+parent\+\_\+set} (Evas\+\_\+\+Object $\ast$obj, Evas\+\_\+\+Object $\ast$parent)
\begin{DoxyCompactList}\small\item\em Set the parent for the given menu widget. \end{DoxyCompactList}\item 
Evas\+\_\+\+Object $\ast$ \hyperlink{group__Menu_gab8407e820a282aa598168beee2a4dfbe}{elm\+\_\+menu\+\_\+parent\+\_\+get} (const Evas\+\_\+\+Object $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the parent for the given menu widget. \end{DoxyCompactList}\end{DoxyCompactItemize}


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


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


A menu is a list of items displayed above its parent. When the menu is showing its parent is darkened. Each item can have a sub-\/menu. The menu object can be used to display a menu on a right click event, in a toolbar, anywhere.

Signals that you can add callbacks for are\+: \begin{DoxyItemize}
\item {\ttfamily \char`\"{}clicked\char`\"{}} -\/ the user clicked the empty space in the menu to dismiss. \item {\ttfamily \char`\"{}dismissed\char`\"{}} -\/ the user clicked the empty space in the menu to dismiss (since 1.\+8) \item {\ttfamily \char`\"{}language,changed\char`\"{}} -\/ the program\textquotesingle{}s language changed (since 1.\+9)\end{DoxyItemize}
Default content parts of the menu items that you can use for are\+: \begin{DoxyItemize}
\item {\ttfamily \char`\"{}default\char`\"{}} -\/ A main content of the menu item\end{DoxyItemize}
Default text parts of the menu items that you can use for are\+: \begin{DoxyItemize}
\item {\ttfamily \char`\"{}default\char`\"{}} -\/ A label in the menu item\end{DoxyItemize}
Supported elm\+\_\+object\+\_\+item common A\+P\+Is. \begin{DoxyItemize}
\item elm\+\_\+object\+\_\+item\+\_\+del \item elm\+\_\+object\+\_\+item\+\_\+part\+\_\+text\+\_\+set \item elm\+\_\+object\+\_\+item\+\_\+part\+\_\+text\+\_\+get \item elm\+\_\+object\+\_\+item\+\_\+part\+\_\+content\+\_\+set \item elm\+\_\+object\+\_\+item\+\_\+part\+\_\+content\+\_\+get \item elm\+\_\+object\+\_\+item\+\_\+disabled\+\_\+set \item elm\+\_\+object\+\_\+item\+\_\+disabled\+\_\+get \item elm\+\_\+object\+\_\+item\+\_\+signal\+\_\+emit (since 1.\+12)\end{DoxyItemize}
\begin{DoxySeeAlso}{See also}
\hyperlink{tutorial_menu}{Menu Example} 
\end{DoxySeeAlso}


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


Add a new menu to the parent. 


\begin{DoxyParams}{Parameters}
{\em parent} & The parent object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The new object or N\+U\+L\+L if it cannot be created. 
\end{DoxyReturn}
\index{Menu@{Menu}!elm\+\_\+menu\+\_\+close@{elm\+\_\+menu\+\_\+close}}
\index{elm\+\_\+menu\+\_\+close@{elm\+\_\+menu\+\_\+close}!Menu@{Menu}}
\subsubsection[{elm\+\_\+menu\+\_\+close}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+menu\+\_\+close (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Menu $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Menu_gaa8ad41ea06c52accd9c1d1129b1771d4}


Close a opened menu. 

\begin{DoxyReturn}{Returns}
void
\end{DoxyReturn}
Hides the menu and all it\textquotesingle{}s sub-\/menus. 

References elm\+\_\+obj\+\_\+menu\+\_\+close().

\index{Menu@{Menu}!elm\+\_\+menu\+\_\+first\+\_\+item\+\_\+get@{elm\+\_\+menu\+\_\+first\+\_\+item\+\_\+get}}
\index{elm\+\_\+menu\+\_\+first\+\_\+item\+\_\+get@{elm\+\_\+menu\+\_\+first\+\_\+item\+\_\+get}!Menu@{Menu}}
\subsubsection[{elm\+\_\+menu\+\_\+first\+\_\+item\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Elm\+\_\+\+Object\+\_\+\+Item}$\ast$ elm\+\_\+menu\+\_\+first\+\_\+item\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Menu $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Menu_gaa65a12195a9d02b2d052f84b7701402f}


Get the first item in the menu. 

\begin{DoxyReturn}{Returns}
The first item, or N\+U\+L\+L if none 
\end{DoxyReturn}


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

\index{Menu@{Menu}!elm\+\_\+menu\+\_\+item\+\_\+add@{elm\+\_\+menu\+\_\+item\+\_\+add}}
\index{elm\+\_\+menu\+\_\+item\+\_\+add@{elm\+\_\+menu\+\_\+item\+\_\+add}!Menu@{Menu}}
\subsubsection[{elm\+\_\+menu\+\_\+item\+\_\+add}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Elm\+\_\+\+Object\+\_\+\+Item}$\ast$ elm\+\_\+menu\+\_\+item\+\_\+add (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Menu $\ast$}]{obj, }
\item[{{\bf Elm\+\_\+\+Object\+\_\+\+Item} $\ast$}]{parent, }
\item[{const char $\ast$}]{icon, }
\item[{const char $\ast$}]{label, }
\item[{Evas\+\_\+\+Smart\+\_\+\+Cb}]{func, }
\item[{const void $\ast$}]{data}
\end{DoxyParamCaption}
)}\label{group__Menu_gae5f16b1861e887eba12c283f01b814fc}


Add an item at the end of the given menu widget. 

\begin{DoxyReturn}{Returns}
Returns the new item.
\end{DoxyReturn}
\begin{DoxyNote}{Note}
This function does not accept relative icon path.
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em parent} & The parent menu item (optional) \\
\hline
\mbox{\tt in}  & {\em icon} & An icon display on the item. The icon will be destroyed by the menu. \\
\hline
\mbox{\tt in}  & {\em label} & The label of the item. \\
\hline
\mbox{\tt in}  & {\em func} & Function called when the user select the item. \\
\hline
\mbox{\tt in}  & {\em data} & Data sent by the callback. \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+add().

\index{Menu@{Menu}!elm\+\_\+menu\+\_\+item\+\_\+icon\+\_\+name\+\_\+get@{elm\+\_\+menu\+\_\+item\+\_\+icon\+\_\+name\+\_\+get}}
\index{elm\+\_\+menu\+\_\+item\+\_\+icon\+\_\+name\+\_\+get@{elm\+\_\+menu\+\_\+item\+\_\+icon\+\_\+name\+\_\+get}!Menu@{Menu}}
\subsubsection[{elm\+\_\+menu\+\_\+item\+\_\+icon\+\_\+name\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ elm\+\_\+menu\+\_\+item\+\_\+icon\+\_\+name\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Menu\+\_\+\+Item $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Menu_gaa567f17ae5861750c8b2014805fdaa11}


Get the string representation from the icon of a menu item. 

Once this icon is set, any previously set icon will be deleted. To hide icon set it to \char`\"{}\char`\"{}.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Menu_gafd14715be7e69046336b0e59b4187fb3}{elm\+\_\+menu\+\_\+item\+\_\+icon\+\_\+name\+\_\+set()} 
\end{DoxySeeAlso}


References elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+icon\+\_\+name\+\_\+get().

\index{Menu@{Menu}!elm\+\_\+menu\+\_\+item\+\_\+icon\+\_\+name\+\_\+set@{elm\+\_\+menu\+\_\+item\+\_\+icon\+\_\+name\+\_\+set}}
\index{elm\+\_\+menu\+\_\+item\+\_\+icon\+\_\+name\+\_\+set@{elm\+\_\+menu\+\_\+item\+\_\+icon\+\_\+name\+\_\+set}!Menu@{Menu}}
\subsubsection[{elm\+\_\+menu\+\_\+item\+\_\+icon\+\_\+name\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+menu\+\_\+item\+\_\+icon\+\_\+name\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Menu\+\_\+\+Item $\ast$}]{obj, }
\item[{const char $\ast$}]{icon}
\end{DoxyParamCaption}
)}\label{group__Menu_gafd14715be7e69046336b0e59b4187fb3}


Set the icon of a menu item to the standard icon with name {\ttfamily icon}. 

Once this icon is set, any previously set icon will be deleted. To hide icon set it to \char`\"{}\char`\"{}.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em icon} & The name of icon object \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+icon\+\_\+name\+\_\+set().

\index{Menu@{Menu}!elm\+\_\+menu\+\_\+item\+\_\+is\+\_\+separator@{elm\+\_\+menu\+\_\+item\+\_\+is\+\_\+separator}}
\index{elm\+\_\+menu\+\_\+item\+\_\+is\+\_\+separator@{elm\+\_\+menu\+\_\+item\+\_\+is\+\_\+separator}!Menu@{Menu}}
\subsubsection[{elm\+\_\+menu\+\_\+item\+\_\+is\+\_\+separator}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+menu\+\_\+item\+\_\+is\+\_\+separator (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Menu\+\_\+\+Item $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Menu_ga0851eea1a86308d8ab1dca70b510e103}


Returns whether {\ttfamily item} is a separator. 

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Menu_ga95544c709c31193d1eebadcf611b6d32}{elm\+\_\+menu\+\_\+item\+\_\+separator\+\_\+add()} 
\end{DoxySeeAlso}


References elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+is\+\_\+separator().

\index{Menu@{Menu}!elm\+\_\+menu\+\_\+item\+\_\+object\+\_\+get@{elm\+\_\+menu\+\_\+item\+\_\+object\+\_\+get}}
\index{elm\+\_\+menu\+\_\+item\+\_\+object\+\_\+get@{elm\+\_\+menu\+\_\+item\+\_\+object\+\_\+get}!Menu@{Menu}}
\subsubsection[{elm\+\_\+menu\+\_\+item\+\_\+object\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}Evas\+\_\+\+Object$\ast$ elm\+\_\+menu\+\_\+item\+\_\+object\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Menu\+\_\+\+Item $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Menu_ga3352b969bcc42399608ef348826cc1f7}


Get the real Evas(\+Edje) object created to implement the view of a given menu {\ttfamily item}. 

\begin{DoxyWarning}{Warning}
Don\textquotesingle{}t manipulate this object! 
\end{DoxyWarning}


References elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+object\+\_\+get().

\index{Menu@{Menu}!elm\+\_\+menu\+\_\+item\+\_\+selected\+\_\+get@{elm\+\_\+menu\+\_\+item\+\_\+selected\+\_\+get}}
\index{elm\+\_\+menu\+\_\+item\+\_\+selected\+\_\+get@{elm\+\_\+menu\+\_\+item\+\_\+selected\+\_\+get}!Menu@{Menu}}
\subsubsection[{elm\+\_\+menu\+\_\+item\+\_\+selected\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool elm\+\_\+menu\+\_\+item\+\_\+selected\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Menu\+\_\+\+Item $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Menu_ga9b49f8b2a93d9b047b3799a5328cd538}


Get the selected state of {\ttfamily item}. 

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Menu_ga564f988fd4fa8e5f161ca25e7537d099}{elm\+\_\+menu\+\_\+item\+\_\+selected\+\_\+set()} 
\end{DoxySeeAlso}


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

\index{Menu@{Menu}!elm\+\_\+menu\+\_\+item\+\_\+selected\+\_\+set@{elm\+\_\+menu\+\_\+item\+\_\+selected\+\_\+set}}
\index{elm\+\_\+menu\+\_\+item\+\_\+selected\+\_\+set@{elm\+\_\+menu\+\_\+item\+\_\+selected\+\_\+set}!Menu@{Menu}}
\subsubsection[{elm\+\_\+menu\+\_\+item\+\_\+selected\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+menu\+\_\+item\+\_\+selected\+\_\+set (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Menu\+\_\+\+Item $\ast$}]{obj, }
\item[{Eina\+\_\+\+Bool}]{selected}
\end{DoxyParamCaption}
)}\label{group__Menu_ga564f988fd4fa8e5f161ca25e7537d099}


Set the selected state of {\ttfamily item}. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em selected} & E\+I\+N\+A\+\_\+\+T\+R\+U\+E if selected E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E otherwise \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+selected\+\_\+set().

\index{Menu@{Menu}!elm\+\_\+menu\+\_\+item\+\_\+separator\+\_\+add@{elm\+\_\+menu\+\_\+item\+\_\+separator\+\_\+add}}
\index{elm\+\_\+menu\+\_\+item\+\_\+separator\+\_\+add@{elm\+\_\+menu\+\_\+item\+\_\+separator\+\_\+add}!Menu@{Menu}}
\subsubsection[{elm\+\_\+menu\+\_\+item\+\_\+separator\+\_\+add}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Elm\+\_\+\+Object\+\_\+\+Item}$\ast$ elm\+\_\+menu\+\_\+item\+\_\+separator\+\_\+add (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Menu $\ast$}]{obj, }
\item[{{\bf Elm\+\_\+\+Object\+\_\+\+Item} $\ast$}]{parent}
\end{DoxyParamCaption}
)}\label{group__Menu_ga95544c709c31193d1eebadcf611b6d32}


Add a separator item to menu {\ttfamily obj} under {\ttfamily parent}. 

\begin{DoxyReturn}{Returns}
The created item or N\+U\+L\+L on failure
\end{DoxyReturn}
This is item is a \hyperlink{group__Separator}{Separator}.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em parent} & The item to add the separator under \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+separator\+\_\+add().

\index{Menu@{Menu}!elm\+\_\+menu\+\_\+item\+\_\+subitems\+\_\+clear@{elm\+\_\+menu\+\_\+item\+\_\+subitems\+\_\+clear}}
\index{elm\+\_\+menu\+\_\+item\+\_\+subitems\+\_\+clear@{elm\+\_\+menu\+\_\+item\+\_\+subitems\+\_\+clear}!Menu@{Menu}}
\subsubsection[{elm\+\_\+menu\+\_\+item\+\_\+subitems\+\_\+clear}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+menu\+\_\+item\+\_\+subitems\+\_\+clear (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Menu\+\_\+\+Item $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Menu_ga878d4a09bd5518652c5d1d45df3cf394}


Remove all sub-\/items (children) of the given item. 

\begin{DoxySince}{Since}
1.\+8
\end{DoxySince}
This removes all items that are children (and their descendants) of the given item {\ttfamily it}.

\begin{DoxySeeAlso}{See also}
elm\+\_\+object\+\_\+item\+\_\+del() 
\end{DoxySeeAlso}


References elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+subitems\+\_\+clear().

\index{Menu@{Menu}!elm\+\_\+menu\+\_\+item\+\_\+subitems\+\_\+get@{elm\+\_\+menu\+\_\+item\+\_\+subitems\+\_\+get}}
\index{elm\+\_\+menu\+\_\+item\+\_\+subitems\+\_\+get@{elm\+\_\+menu\+\_\+item\+\_\+subitems\+\_\+get}!Menu@{Menu}}
\subsubsection[{elm\+\_\+menu\+\_\+item\+\_\+subitems\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}const Eina\+\_\+\+List$\ast$ elm\+\_\+menu\+\_\+item\+\_\+subitems\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Menu\+\_\+\+Item $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Menu_gab178caeb5f35a55221963b7f3847b4d9}


Returns a list of {\ttfamily item\textquotesingle{}s} subitems. 

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Menu_gaaeecc450db4e359289c16c41489ca94b}{elm\+\_\+menu\+\_\+add()} 
\end{DoxySeeAlso}


References elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+subitems\+\_\+get().

\index{Menu@{Menu}!elm\+\_\+menu\+\_\+items\+\_\+get@{elm\+\_\+menu\+\_\+items\+\_\+get}}
\index{elm\+\_\+menu\+\_\+items\+\_\+get@{elm\+\_\+menu\+\_\+items\+\_\+get}!Menu@{Menu}}
\subsubsection[{elm\+\_\+menu\+\_\+items\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}const Eina\+\_\+\+List$\ast$ elm\+\_\+menu\+\_\+items\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Menu $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Menu_gaf8d8c38266b25230ed4b17ef6ea82565}


Returns a list of {\ttfamily item\textquotesingle{}s} items. 

\begin{DoxyReturn}{Returns}
An list$\ast$ of {\ttfamily item\textquotesingle{}s} items 
\end{DoxyReturn}


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

\index{Menu@{Menu}!elm\+\_\+menu\+\_\+last\+\_\+item\+\_\+get@{elm\+\_\+menu\+\_\+last\+\_\+item\+\_\+get}}
\index{elm\+\_\+menu\+\_\+last\+\_\+item\+\_\+get@{elm\+\_\+menu\+\_\+last\+\_\+item\+\_\+get}!Menu@{Menu}}
\subsubsection[{elm\+\_\+menu\+\_\+last\+\_\+item\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Elm\+\_\+\+Object\+\_\+\+Item}$\ast$ elm\+\_\+menu\+\_\+last\+\_\+item\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Menu $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Menu_gac713b1378b0435fac0fb7386656ce581}


Get the last item in the menu. 

\begin{DoxyReturn}{Returns}
The last item, or N\+U\+L\+L if none 
\end{DoxyReturn}


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

\index{Menu@{Menu}!elm\+\_\+menu\+\_\+move@{elm\+\_\+menu\+\_\+move}}
\index{elm\+\_\+menu\+\_\+move@{elm\+\_\+menu\+\_\+move}!Menu@{Menu}}
\subsubsection[{elm\+\_\+menu\+\_\+move}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+menu\+\_\+move (
\begin{DoxyParamCaption}
\item[{Elm\+\_\+\+Menu $\ast$}]{obj, }
\item[{Evas\+\_\+\+Coord}]{x, }
\item[{Evas\+\_\+\+Coord}]{y}
\end{DoxyParamCaption}
)}\label{group__Menu_gaea26a4f4d789794df4a0a12e48258d5a}


Move the menu to a new position. 

Sets the top-\/left position of the menu to ({\ttfamily x},{\ttfamily y}).

\begin{DoxyNote}{Note}
{\ttfamily x} and {\ttfamily y} coordinates are relative to parent.
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em x} & The new position. \\
\hline
\mbox{\tt in}  & {\em y} & The new position. \\
\hline
\end{DoxyParams}


References elm\+\_\+obj\+\_\+menu\+\_\+move().

\index{Menu@{Menu}!elm\+\_\+menu\+\_\+parent\+\_\+get@{elm\+\_\+menu\+\_\+parent\+\_\+get}}
\index{elm\+\_\+menu\+\_\+parent\+\_\+get@{elm\+\_\+menu\+\_\+parent\+\_\+get}!Menu@{Menu}}
\subsubsection[{elm\+\_\+menu\+\_\+parent\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}Evas\+\_\+\+Object$\ast$ elm\+\_\+menu\+\_\+parent\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Evas\+\_\+\+Object $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Menu_gab8407e820a282aa598168beee2a4dfbe}


Get the parent for the given menu widget. 


\begin{DoxyParams}{Parameters}
{\em obj} & The menu object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The parent.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Menu_ga38bf247cc8be061572d7ad3621ea190a}{elm\+\_\+menu\+\_\+parent\+\_\+set()} 
\end{DoxySeeAlso}
\index{Menu@{Menu}!elm\+\_\+menu\+\_\+parent\+\_\+set@{elm\+\_\+menu\+\_\+parent\+\_\+set}}
\index{elm\+\_\+menu\+\_\+parent\+\_\+set@{elm\+\_\+menu\+\_\+parent\+\_\+set}!Menu@{Menu}}
\subsubsection[{elm\+\_\+menu\+\_\+parent\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+menu\+\_\+parent\+\_\+set (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{Evas\+\_\+\+Object $\ast$}]{parent}
\end{DoxyParamCaption}
)}\label{group__Menu_ga38bf247cc8be061572d7ad3621ea190a}


Set the parent for the given menu widget. 


\begin{DoxyParams}{Parameters}
{\em obj} & The menu object. \\
\hline
{\em parent} & The new parent. \\
\hline
\end{DoxyParams}
\index{Menu@{Menu}!elm\+\_\+menu\+\_\+selected\+\_\+item\+\_\+get@{elm\+\_\+menu\+\_\+selected\+\_\+item\+\_\+get}}
\index{elm\+\_\+menu\+\_\+selected\+\_\+item\+\_\+get@{elm\+\_\+menu\+\_\+selected\+\_\+item\+\_\+get}!Menu@{Menu}}
\subsubsection[{elm\+\_\+menu\+\_\+selected\+\_\+item\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Elm\+\_\+\+Object\+\_\+\+Item}$\ast$ elm\+\_\+menu\+\_\+selected\+\_\+item\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Elm\+\_\+\+Menu $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Menu_ga380b0a616284e3d9044427f30510ef45}


Get the selected item in the menu. 

\begin{DoxyReturn}{Returns}
The selected item, or N\+U\+L\+L if none
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Menu_ga9b49f8b2a93d9b047b3799a5328cd538}{elm\+\_\+menu\+\_\+item\+\_\+selected\+\_\+get()} 

\hyperlink{group__Menu_ga564f988fd4fa8e5f161ca25e7537d099}{elm\+\_\+menu\+\_\+item\+\_\+selected\+\_\+set()} 
\end{DoxySeeAlso}


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

\index{Menu@{Menu}!elm\+\_\+obj\+\_\+menu\+\_\+close@{elm\+\_\+obj\+\_\+menu\+\_\+close}}
\index{elm\+\_\+obj\+\_\+menu\+\_\+close@{elm\+\_\+obj\+\_\+menu\+\_\+close}!Menu@{Menu}}
\subsubsection[{elm\+\_\+obj\+\_\+menu\+\_\+close}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void elm\+\_\+obj\+\_\+menu\+\_\+close (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Menu_gabf40424979133623b6200ee23936e056}


Close a opened menu. 

\begin{DoxyReturn}{Returns}
void
\end{DoxyReturn}
Hides the menu and all it\textquotesingle{}s sub-\/menus. 

Referenced by elm\+\_\+menu\+\_\+close().

\index{Menu@{Menu}!elm\+\_\+obj\+\_\+menu\+\_\+first\+\_\+item\+\_\+get@{elm\+\_\+obj\+\_\+menu\+\_\+first\+\_\+item\+\_\+get}}
\index{elm\+\_\+obj\+\_\+menu\+\_\+first\+\_\+item\+\_\+get@{elm\+\_\+obj\+\_\+menu\+\_\+first\+\_\+item\+\_\+get}!Menu@{Menu}}
\subsubsection[{elm\+\_\+obj\+\_\+menu\+\_\+first\+\_\+item\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I {\bf Elm\+\_\+\+Object\+\_\+\+Item}$\ast$ elm\+\_\+obj\+\_\+menu\+\_\+first\+\_\+item\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Menu_gae3b1fb578a9a9ee38fb98e91a6345e31}


Get the first item in the menu. 

\begin{DoxyReturn}{Returns}
The first item, or N\+U\+L\+L if none 
\end{DoxyReturn}


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

\index{Menu@{Menu}!elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+add@{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+add}}
\index{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+add@{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+add}!Menu@{Menu}}
\subsubsection[{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+add}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I {\bf Elm\+\_\+\+Object\+\_\+\+Item}$\ast$ elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+add (
\begin{DoxyParamCaption}
\item[{{\bf Elm\+\_\+\+Object\+\_\+\+Item} $\ast$}]{parent, }
\item[{const char $\ast$}]{icon, }
\item[{const char $\ast$}]{label, }
\item[{Evas\+\_\+\+Smart\+\_\+\+Cb}]{func, }
\item[{const void $\ast$}]{data}
\end{DoxyParamCaption}
)}\label{group__Menu_gad8a1c0f9e0728a17348679189541c19c}


Add an item at the end of the given menu widget. 

\begin{DoxyReturn}{Returns}
Returns the new item.
\end{DoxyReturn}
\begin{DoxyNote}{Note}
This function does not accept relative icon path.
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em parent} & The parent menu item (optional) \\
\hline
\mbox{\tt in}  & {\em icon} & An icon display on the item. The icon will be destroyed by the menu. \\
\hline
\mbox{\tt in}  & {\em label} & The label of the item. \\
\hline
\mbox{\tt in}  & {\em func} & Function called when the user select the item. \\
\hline
\mbox{\tt in}  & {\em data} & Data sent by the callback. \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+menu\+\_\+item\+\_\+add().

\index{Menu@{Menu}!elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+icon\+\_\+name\+\_\+get@{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+icon\+\_\+name\+\_\+get}}
\index{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+icon\+\_\+name\+\_\+get@{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+icon\+\_\+name\+\_\+get}!Menu@{Menu}}
\subsubsection[{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+icon\+\_\+name\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I const char$\ast$ elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+icon\+\_\+name\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Menu_gaaacebdeead80678fdefd4886cf55eaa4}


Get the string representation from the icon of a menu item. 

Once this icon is set, any previously set icon will be deleted. To hide icon set it to \char`\"{}\char`\"{}.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Menu_gafd14715be7e69046336b0e59b4187fb3}{elm\+\_\+menu\+\_\+item\+\_\+icon\+\_\+name\+\_\+set()} 
\end{DoxySeeAlso}


Referenced by elm\+\_\+menu\+\_\+item\+\_\+icon\+\_\+name\+\_\+get().

\index{Menu@{Menu}!elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+icon\+\_\+name\+\_\+set@{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+icon\+\_\+name\+\_\+set}}
\index{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+icon\+\_\+name\+\_\+set@{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+icon\+\_\+name\+\_\+set}!Menu@{Menu}}
\subsubsection[{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+icon\+\_\+name\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+icon\+\_\+name\+\_\+set (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{icon}
\end{DoxyParamCaption}
)}\label{group__Menu_ga89bea748a2ec65ffd814000a8df39224}


Set the icon of a menu item to the standard icon with name {\ttfamily icon}. 

Once this icon is set, any previously set icon will be deleted. To hide icon set it to \char`\"{}\char`\"{}.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em icon} & The name of icon object \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+menu\+\_\+item\+\_\+icon\+\_\+name\+\_\+set().

\index{Menu@{Menu}!elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+is\+\_\+separator@{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+is\+\_\+separator}}
\index{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+is\+\_\+separator@{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+is\+\_\+separator}!Menu@{Menu}}
\subsubsection[{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+is\+\_\+separator}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I Eina\+\_\+\+Bool elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+is\+\_\+separator (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Menu_gae523432288d0b7455a76ae2d09fd1e2b}


Returns whether {\ttfamily item} is a separator. 

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Menu_ga95544c709c31193d1eebadcf611b6d32}{elm\+\_\+menu\+\_\+item\+\_\+separator\+\_\+add()} 
\end{DoxySeeAlso}


Referenced by elm\+\_\+menu\+\_\+item\+\_\+is\+\_\+separator().

\index{Menu@{Menu}!elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+object\+\_\+get@{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+object\+\_\+get}}
\index{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+object\+\_\+get@{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+object\+\_\+get}!Menu@{Menu}}
\subsubsection[{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+object\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I Evas\+\_\+\+Object$\ast$ elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+object\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Menu_gaf8b0de400349c2dc2b562595f43b2c2e}


Get the real Evas(\+Edje) object created to implement the view of a given menu {\ttfamily item}. 

\begin{DoxyWarning}{Warning}
Don\textquotesingle{}t manipulate this object! 
\end{DoxyWarning}


Referenced by elm\+\_\+menu\+\_\+item\+\_\+object\+\_\+get().

\index{Menu@{Menu}!elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+selected\+\_\+get@{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+selected\+\_\+get}}
\index{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+selected\+\_\+get@{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+selected\+\_\+get}!Menu@{Menu}}
\subsubsection[{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+selected\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I Eina\+\_\+\+Bool elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+selected\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Menu_ga54eae6957611916aa396d94ce526f4b9}


Get the selected state of {\ttfamily item}. 

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Menu_ga564f988fd4fa8e5f161ca25e7537d099}{elm\+\_\+menu\+\_\+item\+\_\+selected\+\_\+set()} 
\end{DoxySeeAlso}


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

\index{Menu@{Menu}!elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+selected\+\_\+set@{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+selected\+\_\+set}}
\index{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+selected\+\_\+set@{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+selected\+\_\+set}!Menu@{Menu}}
\subsubsection[{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+selected\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+selected\+\_\+set (
\begin{DoxyParamCaption}
\item[{Eina\+\_\+\+Bool}]{selected}
\end{DoxyParamCaption}
)}\label{group__Menu_ga8745d89a1dcdc9844718dc34dd3ad8b8}


Set the selected state of {\ttfamily item}. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em selected} & E\+I\+N\+A\+\_\+\+T\+R\+U\+E if selected E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E otherwise \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+menu\+\_\+item\+\_\+selected\+\_\+set().

\index{Menu@{Menu}!elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+separator\+\_\+add@{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+separator\+\_\+add}}
\index{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+separator\+\_\+add@{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+separator\+\_\+add}!Menu@{Menu}}
\subsubsection[{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+separator\+\_\+add}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I {\bf Elm\+\_\+\+Object\+\_\+\+Item}$\ast$ elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+separator\+\_\+add (
\begin{DoxyParamCaption}
\item[{{\bf Elm\+\_\+\+Object\+\_\+\+Item} $\ast$}]{parent}
\end{DoxyParamCaption}
)}\label{group__Menu_gae6fbe0711af2631ea29a900e01758f8d}


Add a separator item to menu {\ttfamily obj} under {\ttfamily parent}. 

\begin{DoxyReturn}{Returns}
The created item or N\+U\+L\+L on failure
\end{DoxyReturn}
This is item is a \hyperlink{group__Separator}{Separator}.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em parent} & The item to add the separator under \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+menu\+\_\+item\+\_\+separator\+\_\+add().

\index{Menu@{Menu}!elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+subitems\+\_\+clear@{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+subitems\+\_\+clear}}
\index{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+subitems\+\_\+clear@{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+subitems\+\_\+clear}!Menu@{Menu}}
\subsubsection[{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+subitems\+\_\+clear}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+subitems\+\_\+clear (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Menu_gabcc48e5b0302bd14e5c3de6104f2a0cb}


Remove all sub-\/items (children) of the given item. 

\begin{DoxySince}{Since}
1.\+8
\end{DoxySince}
This removes all items that are children (and their descendants) of the given item {\ttfamily it}.

\begin{DoxySeeAlso}{See also}
elm\+\_\+object\+\_\+item\+\_\+del() 
\end{DoxySeeAlso}


Referenced by elm\+\_\+menu\+\_\+item\+\_\+subitems\+\_\+clear().

\index{Menu@{Menu}!elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+subitems\+\_\+get@{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+subitems\+\_\+get}}
\index{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+subitems\+\_\+get@{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+subitems\+\_\+get}!Menu@{Menu}}
\subsubsection[{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+subitems\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I const Eina\+\_\+\+List$\ast$ elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+subitems\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Menu_ga61329719771a7428347ec4cfc3bf26f7}


Returns a list of {\ttfamily item\textquotesingle{}s} subitems. 

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Menu_gaaeecc450db4e359289c16c41489ca94b}{elm\+\_\+menu\+\_\+add()} 
\end{DoxySeeAlso}


Referenced by elm\+\_\+menu\+\_\+item\+\_\+subitems\+\_\+get().

\index{Menu@{Menu}!elm\+\_\+obj\+\_\+menu\+\_\+items\+\_\+get@{elm\+\_\+obj\+\_\+menu\+\_\+items\+\_\+get}}
\index{elm\+\_\+obj\+\_\+menu\+\_\+items\+\_\+get@{elm\+\_\+obj\+\_\+menu\+\_\+items\+\_\+get}!Menu@{Menu}}
\subsubsection[{elm\+\_\+obj\+\_\+menu\+\_\+items\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I const Eina\+\_\+\+List$\ast$ elm\+\_\+obj\+\_\+menu\+\_\+items\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Menu_ga3799b886e6dd9d1e57a60a767c85e970}


Returns a list of {\ttfamily item\textquotesingle{}s} items. 

\begin{DoxyReturn}{Returns}
An list$\ast$ of {\ttfamily item\textquotesingle{}s} items 
\end{DoxyReturn}


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

\index{Menu@{Menu}!elm\+\_\+obj\+\_\+menu\+\_\+last\+\_\+item\+\_\+get@{elm\+\_\+obj\+\_\+menu\+\_\+last\+\_\+item\+\_\+get}}
\index{elm\+\_\+obj\+\_\+menu\+\_\+last\+\_\+item\+\_\+get@{elm\+\_\+obj\+\_\+menu\+\_\+last\+\_\+item\+\_\+get}!Menu@{Menu}}
\subsubsection[{elm\+\_\+obj\+\_\+menu\+\_\+last\+\_\+item\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I {\bf Elm\+\_\+\+Object\+\_\+\+Item}$\ast$ elm\+\_\+obj\+\_\+menu\+\_\+last\+\_\+item\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Menu_ga4cfee51b1f35b4afc664c3121185b347}


Get the last item in the menu. 

\begin{DoxyReturn}{Returns}
The last item, or N\+U\+L\+L if none 
\end{DoxyReturn}


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

\index{Menu@{Menu}!elm\+\_\+obj\+\_\+menu\+\_\+move@{elm\+\_\+obj\+\_\+menu\+\_\+move}}
\index{elm\+\_\+obj\+\_\+menu\+\_\+move@{elm\+\_\+obj\+\_\+menu\+\_\+move}!Menu@{Menu}}
\subsubsection[{elm\+\_\+obj\+\_\+menu\+\_\+move}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void elm\+\_\+obj\+\_\+menu\+\_\+move (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Coord}]{x, }
\item[{Evas\+\_\+\+Coord}]{y}
\end{DoxyParamCaption}
)}\label{group__Menu_ga0ec740c5b9dfda52fc2ed1850bb28e44}


Move the menu to a new position. 

Sets the top-\/left position of the menu to ({\ttfamily x},{\ttfamily y}).

\begin{DoxyNote}{Note}
{\ttfamily x} and {\ttfamily y} coordinates are relative to parent.
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em x} & The new position. \\
\hline
\mbox{\tt in}  & {\em y} & The new position. \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+menu\+\_\+move().

\index{Menu@{Menu}!elm\+\_\+obj\+\_\+menu\+\_\+selected\+\_\+item\+\_\+get@{elm\+\_\+obj\+\_\+menu\+\_\+selected\+\_\+item\+\_\+get}}
\index{elm\+\_\+obj\+\_\+menu\+\_\+selected\+\_\+item\+\_\+get@{elm\+\_\+obj\+\_\+menu\+\_\+selected\+\_\+item\+\_\+get}!Menu@{Menu}}
\subsubsection[{elm\+\_\+obj\+\_\+menu\+\_\+selected\+\_\+item\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I {\bf Elm\+\_\+\+Object\+\_\+\+Item}$\ast$ elm\+\_\+obj\+\_\+menu\+\_\+selected\+\_\+item\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Menu_ga8bb611ca9325dc358ea87051dc2a649a}


Get the selected item in the menu. 

\begin{DoxyReturn}{Returns}
The selected item, or N\+U\+L\+L if none
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Menu_ga9b49f8b2a93d9b047b3799a5328cd538}{elm\+\_\+menu\+\_\+item\+\_\+selected\+\_\+get()} 

\hyperlink{group__Menu_ga564f988fd4fa8e5f161ca25e7537d099}{elm\+\_\+menu\+\_\+item\+\_\+selected\+\_\+set()} 
\end{DoxySeeAlso}


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

