\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'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 
void \hyperlink{group__Menu_ga11813f0040a54b65b66731591539c9c2}{elm\+\_\+menu\+::move} (Evas\+\_\+\+Coord x\+\_\+, Evas\+\_\+\+Coord y\+\_\+) const 
\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_ga23cba31595a8ceceb4ee528b16a15dfc}{elm\+\_\+menu\+::item\+\_\+add} (\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$parent\+\_\+, std\+::string icon\+\_\+, std\+::string label\+\_\+, Evas\+\_\+\+Smart\+\_\+\+Cb func\+\_\+, const void $\ast$data\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Add an item at the end of the given menu widget. \end{DoxyCompactList}\item 
void \hyperlink{group__Menu_gac8b5ffcaf786b08fd5457c77afd40b87}{elm\+\_\+menu\+::close} () const 
\begin{DoxyCompactList}\small\item\em Close a opened menu. \end{DoxyCompactList}\item 
\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$ \hyperlink{group__Menu_gaa107de582f7d962e1c750d0ae29603b0}{elm\+\_\+menu\+::item\+\_\+separator\+\_\+add} (\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$parent\+\_\+) const 
\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_ga0b8b1895295551c33e97d969a79edfb8}{elm\+\_\+menu\+\_\+selected\+\_\+item\+\_\+get} (const Eo $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the selected item in the menu. \end{DoxyCompactList}\item 
const Eina\+\_\+\+List $\ast$ \hyperlink{group__Menu_ga48e9804a595d46a67daa888c421b36d9}{elm\+\_\+menu\+\_\+items\+\_\+get} (const Eo $\ast$obj)
\begin{DoxyCompactList}\small\item\em Returns a list of {\ttfamily item's} items. \end{DoxyCompactList}\item 
\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$ \hyperlink{group__Menu_ga0e8a415c0c73effe64e5265ece54eb61}{elm\+\_\+menu\+\_\+first\+\_\+item\+\_\+get} (const Eo $\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_ga47951bb0c89e46b1c245e952738aa766}{elm\+\_\+menu\+\_\+last\+\_\+item\+\_\+get} (const Eo $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the last item in the menu. \end{DoxyCompactList}\item 
void \hyperlink{group__Menu_ga2f0e834e04fc15643ceff968c8475a62}{elm\+\_\+menu\+\_\+move} (Eo $\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_ga4aed09a86cb5e71c39f4f43b2ed5c57b}{elm\+\_\+menu\+\_\+item\+\_\+add} (Eo $\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_ga1bbc8c97211127dec5be4b6f932e75f2}{elm\+\_\+menu\+\_\+close} (Eo $\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_gaea4a677c800751d2e8cac3e5d8171d90}{elm\+\_\+menu\+\_\+item\+\_\+separator\+\_\+add} (Eo $\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 
Evas\+\_\+\+Object $\ast$ \hyperlink{group__Menu_gabb1f77c5c2844da5fc918e6a637129a5}{elm\+\_\+menu\+\_\+item\+\_\+object\+\_\+get} (const \hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$it)
\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_gafb0d40b3a305e184d3fb5a491c4a10c8}{elm\+\_\+menu\+\_\+item\+\_\+icon\+\_\+name\+\_\+set} (\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$it, 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_ga40a15d31eca9094d826d0f8861142c22}{elm\+\_\+menu\+\_\+item\+\_\+icon\+\_\+name\+\_\+get} (const \hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$it)
\begin{DoxyCompactList}\small\item\em Get the string representation from the icon of a menu item. \end{DoxyCompactList}\item 
void \hyperlink{group__Menu_ga3e574926e8e98704f849b5a78945fc35}{elm\+\_\+menu\+\_\+item\+\_\+selected\+\_\+set} (\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$it, Eina\+\_\+\+Bool selected)
\begin{DoxyCompactList}\small\item\em Set the selected state of {\ttfamily item}. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__Menu_ga9ef86626e10d86c4faef382adad89fd8}{elm\+\_\+menu\+\_\+item\+\_\+selected\+\_\+get} (const \hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$it)
\begin{DoxyCompactList}\small\item\em Get the selected state of {\ttfamily item}. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{group__Menu_ga128f984d144a99c1364849635ba1d916}{elm\+\_\+menu\+\_\+item\+\_\+is\+\_\+separator} (\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$it)
\begin{DoxyCompactList}\small\item\em Returns whether {\ttfamily item} is a separator. \end{DoxyCompactList}\item 
const Eina\+\_\+\+List $\ast$ \hyperlink{group__Menu_ga203fb1ad19b58e6fd262f6f54b40c0f6}{elm\+\_\+menu\+\_\+item\+\_\+subitems\+\_\+get} (const \hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$it)
\begin{DoxyCompactList}\small\item\em Returns a list of {\ttfamily item's} subitems. \end{DoxyCompactList}\item 
void \hyperlink{group__Menu_ga450e858bf4f1b681b4f112c35ec819cb}{elm\+\_\+menu\+\_\+item\+\_\+subitems\+\_\+clear} (\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$it)
\begin{DoxyCompactList}\small\item\em Remove all sub-\/items (children) of the given item. \end{DoxyCompactList}\item 
unsigned int \hyperlink{group__Menu_gaf2170f85e9bb5a0b977875a63de845c8}{elm\+\_\+menu\+\_\+item\+\_\+index\+\_\+get} (const \hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$it)
\begin{DoxyCompactList}\small\item\em Get the position of a menu item. \end{DoxyCompactList}\item 
\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$ \hyperlink{group__Menu_ga6cfa9c58d0cbe930c8df5cbfca9043ce}{elm\+\_\+menu\+\_\+item\+\_\+next\+\_\+get} (const \hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$it)
\begin{DoxyCompactList}\small\item\em Get the next item in the menu. \end{DoxyCompactList}\item 
\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$ \hyperlink{group__Menu_ga0e72efe9466f2914c23051f67f62841f}{elm\+\_\+menu\+\_\+item\+\_\+prev\+\_\+get} (const \hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\+\_\+\+Object\+\_\+\+Item} $\ast$it)
\begin{DoxyCompactList}\small\item\em Get the previous item in the menu. \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{menu_inheritance_tree}}
\end{DoxyImageNoCaption}


 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics{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'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`\"{}} -\/ label in the menu item\end{DoxyItemize}
Supported elm\+\_\+object\+\_\+item common A\+P\+Is. \begin{DoxyItemize}
\item \hyperlink{group__General_ga6aac9c72588cd81c517b235c4b833c76}{elm\+\_\+object\+\_\+item\+\_\+del} \item \hyperlink{group__General_gae2dbcea53fe2b5edf1351e03665a893c}{elm\+\_\+object\+\_\+item\+\_\+part\+\_\+text\+\_\+set} \item \hyperlink{group__General_gaf2df95739e3049aac04db3c4839f656d}{elm\+\_\+object\+\_\+item\+\_\+part\+\_\+text\+\_\+get} \item \hyperlink{group__General_ga7e11c3a8599f5cf6d822f69f4a70068f}{elm\+\_\+object\+\_\+item\+\_\+part\+\_\+content\+\_\+set} \item \hyperlink{group__General_ga5dd779e2dae21a2f5d63c1581e126ce2}{elm\+\_\+object\+\_\+item\+\_\+part\+\_\+content\+\_\+get} \item \hyperlink{group__Styles_gaf8d3bc757952a004aa159a46650f7ef4}{elm\+\_\+object\+\_\+item\+\_\+disabled\+\_\+set} \item \hyperlink{group__Styles_gaf088ea84b1133a01a31b7663b7f62e5c}{elm\+\_\+object\+\_\+item\+\_\+disabled\+\_\+get}\end{DoxyItemize}
\begin{DoxySeeAlso}{See also}
\hyperlink{tutorial_menu}{Menu Example} 
\end{DoxySeeAlso}


\subsection{Function Documentation}
\index{Menu@{Menu}!close@{close}}
\index{close@{close}!Menu@{Menu}}
\subsubsection[{close}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+menu\+::close (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\label{group__Menu_gac8b5ffcaf786b08fd5457c77afd40b87}


Close a opened menu. 

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

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

\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[{Eo $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Menu_ga1bbc8c97211127dec5be4b6f932e75f2}


Close a opened menu. 

\begin{DoxyReturn}{Returns}
void
\end{DoxyReturn}
Hides the menu and all it'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 Eo $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Menu_ga0e8a415c0c73effe64e5265ece54eb61}


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[{Eo $\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_ga4aed09a86cb5e71c39f4f43b2ed5c57b}


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 {\bf Elm\+\_\+\+Object\+\_\+\+Item} $\ast$}]{it}
\end{DoxyParamCaption}
)}\label{group__Menu_ga40a15d31eca9094d826d0f8861142c22}


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


\begin{DoxyParams}{Parameters}
{\em it} & The menu item object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The string representation of {\ttfamily item's} icon or N\+U\+L\+L
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Menu_gafb0d40b3a305e184d3fb5a491c4a10c8}{elm\+\_\+menu\+\_\+item\+\_\+icon\+\_\+name\+\_\+set()} 
\end{DoxySeeAlso}
\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[{{\bf Elm\+\_\+\+Object\+\_\+\+Item} $\ast$}]{it, }
\item[{const char $\ast$}]{icon}
\end{DoxyParamCaption}
)}\label{group__Menu_gafb0d40b3a305e184d3fb5a491c4a10c8}


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


\begin{DoxyParams}{Parameters}
{\em it} & The menu item object. \\
\hline
{\em icon} & The name of icon object to set for the content of {\ttfamily item} \\
\hline
\end{DoxyParams}
Once this icon is set, any previously set icon will be deleted. To hide icon set it to \char`\"{}\char`\"{}. 

References elm\+\_\+icon\+\_\+standard\+\_\+set(), elm\+\_\+layout\+\_\+edje\+\_\+get(), and elm\+\_\+layout\+\_\+signal\+\_\+emit().

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


Get the position of a menu item. 


\begin{DoxyParams}{Parameters}
{\em it} & The menu item \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The item's index
\end{DoxyReturn}
This function returns the index position of a menu item in a menu. For a sub-\/menu, this number is relative to the first item in the sub-\/menu.

\begin{DoxyNote}{Note}
Index values begin with 0 
\end{DoxyNote}
\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[{{\bf Elm\+\_\+\+Object\+\_\+\+Item} $\ast$}]{it}
\end{DoxyParamCaption}
)}\label{group__Menu_ga128f984d144a99c1364849635ba1d916}


Returns whether {\ttfamily item} is a separator. 


\begin{DoxyParams}{Parameters}
{\em it} & The item to check \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
If true, {\ttfamily item} is a separator
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Menu_gaea4a677c800751d2e8cac3e5d8171d90}{elm\+\_\+menu\+\_\+item\+\_\+separator\+\_\+add()} 
\end{DoxySeeAlso}
\index{Menu@{Menu}!elm\+\_\+menu\+\_\+item\+\_\+next\+\_\+get@{elm\+\_\+menu\+\_\+item\+\_\+next\+\_\+get}}
\index{elm\+\_\+menu\+\_\+item\+\_\+next\+\_\+get@{elm\+\_\+menu\+\_\+item\+\_\+next\+\_\+get}!Menu@{Menu}}
\subsubsection[{elm\+\_\+menu\+\_\+item\+\_\+next\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Elm\+\_\+\+Object\+\_\+\+Item}$\ast$ elm\+\_\+menu\+\_\+item\+\_\+next\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Elm\+\_\+\+Object\+\_\+\+Item} $\ast$}]{it}
\end{DoxyParamCaption}
)}\label{group__Menu_ga6cfa9c58d0cbe930c8df5cbfca9043ce}


Get the next item in the menu. 


\begin{DoxyParams}{Parameters}
{\em it} & The menu item object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The item after it, or N\+U\+L\+L if none 
\end{DoxyReturn}
\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 {\bf Elm\+\_\+\+Object\+\_\+\+Item} $\ast$}]{it}
\end{DoxyParamCaption}
)}\label{group__Menu_gabb1f77c5c2844da5fc918e6a637129a5}


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


\begin{DoxyParams}{Parameters}
{\em it} & The menu item. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The base Edje object containing the swallowed content associated with {\ttfamily it}.
\end{DoxyReturn}
\begin{DoxyWarning}{Warning}
Don't manipulate this object! 
\end{DoxyWarning}
\index{Menu@{Menu}!elm\+\_\+menu\+\_\+item\+\_\+prev\+\_\+get@{elm\+\_\+menu\+\_\+item\+\_\+prev\+\_\+get}}
\index{elm\+\_\+menu\+\_\+item\+\_\+prev\+\_\+get@{elm\+\_\+menu\+\_\+item\+\_\+prev\+\_\+get}!Menu@{Menu}}
\subsubsection[{elm\+\_\+menu\+\_\+item\+\_\+prev\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Elm\+\_\+\+Object\+\_\+\+Item}$\ast$ elm\+\_\+menu\+\_\+item\+\_\+prev\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Elm\+\_\+\+Object\+\_\+\+Item} $\ast$}]{it}
\end{DoxyParamCaption}
)}\label{group__Menu_ga0e72efe9466f2914c23051f67f62841f}


Get the previous item in the menu. 


\begin{DoxyParams}{Parameters}
{\em it} & The menu item object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The item before it, or N\+U\+L\+L if none 
\end{DoxyReturn}
\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 {\bf Elm\+\_\+\+Object\+\_\+\+Item} $\ast$}]{it}
\end{DoxyParamCaption}
)}\label{group__Menu_ga9ef86626e10d86c4faef382adad89fd8}


Get the selected state of {\ttfamily item}. 


\begin{DoxyParams}{Parameters}
{\em it} & The menu item object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The selected/unselected state of the item
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Menu_ga3e574926e8e98704f849b5a78945fc35}{elm\+\_\+menu\+\_\+item\+\_\+selected\+\_\+set()} 
\end{DoxySeeAlso}
\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[{{\bf Elm\+\_\+\+Object\+\_\+\+Item} $\ast$}]{it, }
\item[{Eina\+\_\+\+Bool}]{selected}
\end{DoxyParamCaption}
)}\label{group__Menu_ga3e574926e8e98704f849b5a78945fc35}


Set the selected state of {\ttfamily item}. 


\begin{DoxyParams}{Parameters}
{\em it} & The menu item object. \\
\hline
{\em selected} & The selected/unselected state of the item \\
\hline
\end{DoxyParams}


References elm\+\_\+layout\+\_\+edje\+\_\+get(), and elm\+\_\+layout\+\_\+signal\+\_\+emit().

\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[{Eo $\ast$}]{obj, }
\item[{{\bf Elm\+\_\+\+Object\+\_\+\+Item} $\ast$}]{parent}
\end{DoxyParamCaption}
)}\label{group__Menu_gaea4a677c800751d2e8cac3e5d8171d90}


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[{{\bf Elm\+\_\+\+Object\+\_\+\+Item} $\ast$}]{it}
\end{DoxyParamCaption}
)}\label{group__Menu_ga450e858bf4f1b681b4f112c35ec819cb}


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

\begin{DoxySince}{Since}
1.\+8
\end{DoxySince}

\begin{DoxyParams}{Parameters}
{\em it} & The item\\
\hline
\end{DoxyParams}
This removes all items that are children (and their descendants) of the given item {\ttfamily it}.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__General_ga6aac9c72588cd81c517b235c4b833c76}{elm\+\_\+object\+\_\+item\+\_\+del()} 
\end{DoxySeeAlso}
\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 {\bf Elm\+\_\+\+Object\+\_\+\+Item} $\ast$}]{it}
\end{DoxyParamCaption}
)}\label{group__Menu_ga203fb1ad19b58e6fd262f6f54b40c0f6}


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


\begin{DoxyParams}{Parameters}
{\em it} & The item \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
An Eina\+\_\+\+List$\ast$ of {\ttfamily item's} subitems
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Menu_gaaeecc450db4e359289c16c41489ca94b}{elm\+\_\+menu\+\_\+add()} 
\end{DoxySeeAlso}
\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 Eo $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Menu_ga48e9804a595d46a67daa888c421b36d9}


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

\begin{DoxyReturn}{Returns}
An Eina\+\_\+\+List$\ast$ of {\ttfamily item'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 Eo $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Menu_ga47951bb0c89e46b1c245e952738aa766}


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[{Eo $\ast$}]{obj, }
\item[{Evas\+\_\+\+Coord}]{x, }
\item[{Evas\+\_\+\+Coord}]{y}
\end{DoxyParamCaption}
)}\label{group__Menu_ga2f0e834e04fc15643ceff968c8475a62}


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 Eo $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Menu_ga0b8b1895295551c33e97d969a79edfb8}


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_ga9ef86626e10d86c4faef382adad89fd8}{elm\+\_\+menu\+\_\+item\+\_\+selected\+\_\+get()} 

\hyperlink{group__Menu_ga3e574926e8e98704f849b5a78945fc35}{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's sub-\/menus. 

Referenced by elm\+\_\+menu\+::close(), and 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(), and elm\+\_\+menu\+::item\+\_\+add().

\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(), and elm\+\_\+menu\+::item\+\_\+separator\+\_\+add().

\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's} items. 

\begin{DoxyReturn}{Returns}
An Eina\+\_\+\+List$\ast$ of {\ttfamily item'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(), and 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_ga9ef86626e10d86c4faef382adad89fd8}{elm\+\_\+menu\+\_\+item\+\_\+selected\+\_\+get()} 

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


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

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


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}{Parameters}
{\em parent} & The parent menu item (optional) \\
\hline
{\em icon} & An icon display on the item. The icon will be destroyed by the menu. \\
\hline
{\em label} & The label of the item. \\
\hline
{\em func} & Function called when the user select the item. \\
\hline
{\em data} & Data sent by the callback. \\
\hline
\end{DoxyParams}


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

\index{Menu@{Menu}!item\+\_\+separator\+\_\+add@{item\+\_\+separator\+\_\+add}}
\index{item\+\_\+separator\+\_\+add@{item\+\_\+separator\+\_\+add}!Menu@{Menu}}
\subsubsection[{item\+\_\+separator\+\_\+add}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Elm\+\_\+\+Object\+\_\+\+Item}$\ast$ elm\+\_\+menu\+::item\+\_\+separator\+\_\+add (
\begin{DoxyParamCaption}
\item[{{\bf Elm\+\_\+\+Object\+\_\+\+Item} $\ast$}]{parent\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\label{group__Menu_gaa107de582f7d962e1c750d0ae29603b0}


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}{Parameters}
{\em parent} & The item to add the separator under \\
\hline
\end{DoxyParams}


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

\index{Menu@{Menu}!move@{move}}
\index{move@{move}!Menu@{Menu}}
\subsubsection[{move}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+menu\+::move (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Coord}]{x\+\_\+, }
\item[{Evas\+\_\+\+Coord}]{y\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\label{group__Menu_ga11813f0040a54b65b66731591539c9c2}


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}{Parameters}
{\em x} & The new position. \\
\hline
{\em y} & The new position. \\
\hline
\end{DoxyParams}


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

