\section{Menu}
\label{group__Elm__Menu}\index{Menu@{Menu}}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
E\+O\+A\+PI Elm\+\_\+\+Widget\+\_\+\+Item $\ast$ \hyperlink{group__Elm__Menu_gae6ddddaa05b9c78c0a3c08cb467483df}{elm\+\_\+obj\+\_\+menu\+\_\+selected\+\_\+item\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get the selected item in the menu. \end{DoxyCompactList}\item 
\mbox{\label{group__Elm__Menu_ga3799b886e6dd9d1e57a60a767c85e970}} 
E\+O\+A\+PI const Eina\+\_\+\+List $\ast$ \hyperlink{group__Elm__Menu_ga3799b886e6dd9d1e57a60a767c85e970}{elm\+\_\+obj\+\_\+menu\+\_\+items\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Returns a list of the item\textquotesingle{}s items. \end{DoxyCompactList}\item 
\mbox{\label{group__Elm__Menu_ga6cbdaabbb11b067782171b9bd95f323c}} 
E\+O\+A\+PI Elm\+\_\+\+Widget\+\_\+\+Item $\ast$ \hyperlink{group__Elm__Menu_ga6cbdaabbb11b067782171b9bd95f323c}{elm\+\_\+obj\+\_\+menu\+\_\+first\+\_\+item\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get the first item in the menu. \end{DoxyCompactList}\item 
\mbox{\label{group__Elm__Menu_ga1489d28677388d34d068307907f02fbf}} 
E\+O\+A\+PI Elm\+\_\+\+Widget\+\_\+\+Item $\ast$ \hyperlink{group__Elm__Menu_ga1489d28677388d34d068307907f02fbf}{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\+PI void \hyperlink{group__Elm__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\+PI Elm\+\_\+\+Widget\+\_\+\+Item $\ast$ \hyperlink{group__Elm__Menu_gad152db71a3534c802d45518abff00443}{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+add} (Elm\+\_\+\+Widget\+\_\+\+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\+PI void \hyperlink{group__Elm__Menu_gabf40424979133623b6200ee23936e056}{elm\+\_\+obj\+\_\+menu\+\_\+close} (void)
\begin{DoxyCompactList}\small\item\em Close a opened menu. \end{DoxyCompactList}\item 
E\+O\+A\+PI Elm\+\_\+\+Widget\+\_\+\+Item $\ast$ \hyperlink{group__Elm__Menu_gaa466607c8d3d5c1243a1822e4f460ee0}{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+separator\+\_\+add} (Elm\+\_\+\+Widget\+\_\+\+Item $\ast$parent)
\begin{DoxyCompactList}\small\item\em Add a separator item to menu {\ttfamily obj} under {\ttfamily parent}. \end{DoxyCompactList}\item 
Elm\+\_\+\+Widget\+\_\+\+Item $\ast$ \hyperlink{group__Elm__Menu_ga0e647bbdd72175c596e0a77987186f4b}{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 
\mbox{\label{group__Elm__Menu_gaf8d8c38266b25230ed4b17ef6ea82565}} 
const Eina\+\_\+\+List $\ast$ \hyperlink{group__Elm__Menu_gaf8d8c38266b25230ed4b17ef6ea82565}{elm\+\_\+menu\+\_\+items\+\_\+get} (const Elm\+\_\+\+Menu $\ast$obj)
\begin{DoxyCompactList}\small\item\em Returns a list of the item\textquotesingle{}s items. \end{DoxyCompactList}\item 
\mbox{\label{group__Elm__Menu_gaf3b8a02a5e532e48b5b5753b7ff426fd}} 
Elm\+\_\+\+Widget\+\_\+\+Item $\ast$ \hyperlink{group__Elm__Menu_gaf3b8a02a5e532e48b5b5753b7ff426fd}{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 
\mbox{\label{group__Elm__Menu_ga46e72a2d316b689713fdfb746a691a70}} 
Elm\+\_\+\+Widget\+\_\+\+Item $\ast$ \hyperlink{group__Elm__Menu_ga46e72a2d316b689713fdfb746a691a70}{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__Elm__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 
Elm\+\_\+\+Widget\+\_\+\+Item $\ast$ \hyperlink{group__Elm__Menu_ga0e1576a61aa567fa244062555996a309}{elm\+\_\+menu\+\_\+item\+\_\+add} (Elm\+\_\+\+Menu $\ast$obj, Elm\+\_\+\+Widget\+\_\+\+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__Elm__Menu_gaa8ad41ea06c52accd9c1d1129b1771d4}{elm\+\_\+menu\+\_\+close} (Elm\+\_\+\+Menu $\ast$obj)
\begin{DoxyCompactList}\small\item\em Close a opened menu. \end{DoxyCompactList}\item 
Elm\+\_\+\+Widget\+\_\+\+Item $\ast$ \hyperlink{group__Elm__Menu_ga9814143decf3e89d34b2caa7c0a5db73}{elm\+\_\+menu\+\_\+item\+\_\+separator\+\_\+add} (Elm\+\_\+\+Menu $\ast$obj, Elm\+\_\+\+Widget\+\_\+\+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__Elm__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__Elm__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__Elm__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}
\mbox{\label{group__Elm__Menu_gaaeecc450db4e359289c16c41489ca94b}} 
\index{Menu@{Menu}!elm\+\_\+menu\+\_\+add@{elm\+\_\+menu\+\_\+add}}
\index{elm\+\_\+menu\+\_\+add@{elm\+\_\+menu\+\_\+add}!Menu@{Menu}}
\subsubsection{\texorpdfstring{elm\+\_\+menu\+\_\+add()}{elm\_menu\_add()}}
{\footnotesize\ttfamily Evas\+\_\+\+Object$\ast$ elm\+\_\+menu\+\_\+add (\begin{DoxyParamCaption}\item[{Evas\+\_\+\+Object $\ast$}]{parent }\end{DoxyParamCaption})}



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\+LL if it cannot be created. 
\end{DoxyReturn}


References E\+L\+M\+\_\+\+H\+O\+V\+E\+R\+\_\+\+A\+X\+I\+S\+\_\+\+V\+E\+R\+T\+I\+C\+AL, elm\+\_\+hover\+\_\+best\+\_\+content\+\_\+location\+\_\+get(), elm\+\_\+hover\+\_\+target\+\_\+set(), elm\+\_\+layout\+\_\+content\+\_\+set(), and elm\+\_\+menu\+\_\+parent\+\_\+set().



Referenced by elm\+\_\+win\+\_\+util\+\_\+dialog\+\_\+add().

\mbox{\label{group__Elm__Menu_gaa8ad41ea06c52accd9c1d1129b1771d4}} 
\index{Menu@{Menu}!elm\+\_\+menu\+\_\+close@{elm\+\_\+menu\+\_\+close}}
\index{elm\+\_\+menu\+\_\+close@{elm\+\_\+menu\+\_\+close}!Menu@{Menu}}
\subsubsection{\texorpdfstring{elm\+\_\+menu\+\_\+close()}{elm\_menu\_close()}}
{\footnotesize\ttfamily void elm\+\_\+menu\+\_\+close (\begin{DoxyParamCaption}\item[{Elm\+\_\+\+Menu $\ast$}]{obj }\end{DoxyParamCaption})}



Close a opened menu. 

Hides the menu and all it\textquotesingle{}s sub-\/menus. 

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

\mbox{\label{group__Elm__Menu_ga0e1576a61aa567fa244062555996a309}} 
\index{Menu@{Menu}!elm\+\_\+menu\+\_\+item\+\_\+add@{elm\+\_\+menu\+\_\+item\+\_\+add}}
\index{elm\+\_\+menu\+\_\+item\+\_\+add@{elm\+\_\+menu\+\_\+item\+\_\+add}!Menu@{Menu}}
\subsubsection{\texorpdfstring{elm\+\_\+menu\+\_\+item\+\_\+add()}{elm\_menu\_item\_add()}}
{\footnotesize\ttfamily Elm\+\_\+\+Widget\+\_\+\+Item$\ast$ elm\+\_\+menu\+\_\+item\+\_\+add (\begin{DoxyParamCaption}\item[{Elm\+\_\+\+Menu $\ast$}]{obj,  }\item[{Elm\+\_\+\+Widget\+\_\+\+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})}



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

\begin{DoxyNote}{Note}
This function does not accept relative icon path.
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\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}
\begin{DoxyReturn}{Returns}
The new menu item. 
\end{DoxyReturn}


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



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

\mbox{\label{group__Elm__Menu_ga9814143decf3e89d34b2caa7c0a5db73}} 
\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{\texorpdfstring{elm\+\_\+menu\+\_\+item\+\_\+separator\+\_\+add()}{elm\_menu\_item\_separator\_add()}}
{\footnotesize\ttfamily Elm\+\_\+\+Widget\+\_\+\+Item$\ast$ elm\+\_\+menu\+\_\+item\+\_\+separator\+\_\+add (\begin{DoxyParamCaption}\item[{Elm\+\_\+\+Menu $\ast$}]{obj,  }\item[{Elm\+\_\+\+Widget\+\_\+\+Item $\ast$}]{parent }\end{DoxyParamCaption})}



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


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em parent} & The item to add the separator under.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The created item or {\ttfamily null}. 
\end{DoxyReturn}


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



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

\mbox{\label{group__Elm__Menu_gaea26a4f4d789794df4a0a12e48258d5a}} 
\index{Menu@{Menu}!elm\+\_\+menu\+\_\+move@{elm\+\_\+menu\+\_\+move}}
\index{elm\+\_\+menu\+\_\+move@{elm\+\_\+menu\+\_\+move}!Menu@{Menu}}
\subsubsection{\texorpdfstring{elm\+\_\+menu\+\_\+move()}{elm\_menu\_move()}}
{\footnotesize\ttfamily void elm\+\_\+menu\+\_\+move (\begin{DoxyParamCaption}\item[{Elm\+\_\+\+Menu $\ast$}]{obj,  }\item[{Evas\+\_\+\+Coord}]{x,  }\item[{Evas\+\_\+\+Coord}]{y }\end{DoxyParamCaption})}



Move the menu to a new position. 

Sets the top-\/left position of the menu to (\$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 y} & The new position. \\
\hline
\end{DoxyParams}


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

\mbox{\label{group__Elm__Menu_gab8407e820a282aa598168beee2a4dfbe}} 
\index{Menu@{Menu}!elm\+\_\+menu\+\_\+parent\+\_\+get@{elm\+\_\+menu\+\_\+parent\+\_\+get}}
\index{elm\+\_\+menu\+\_\+parent\+\_\+get@{elm\+\_\+menu\+\_\+parent\+\_\+get}!Menu@{Menu}}
\subsubsection{\texorpdfstring{elm\+\_\+menu\+\_\+parent\+\_\+get()}{elm\_menu\_parent\_get()}}
{\footnotesize\ttfamily Evas\+\_\+\+Object$\ast$ elm\+\_\+menu\+\_\+parent\+\_\+get (\begin{DoxyParamCaption}\item[{const Evas\+\_\+\+Object $\ast$}]{obj }\end{DoxyParamCaption})}



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__Elm__Menu_ga38bf247cc8be061572d7ad3621ea190a}{elm\+\_\+menu\+\_\+parent\+\_\+set()} 
\end{DoxySeeAlso}


References elm\+\_\+box\+\_\+pack\+\_\+end(), elm\+\_\+icon\+\_\+add(), elm\+\_\+icon\+\_\+standard\+\_\+set(), elm\+\_\+layout\+\_\+content\+\_\+set(), elm\+\_\+layout\+\_\+edje\+\_\+get(), elm\+\_\+layout\+\_\+signal\+\_\+emit(), elm\+\_\+menu\+\_\+item\+\_\+add(), elm\+\_\+menu\+\_\+item\+\_\+separator\+\_\+add(), and elm\+\_\+object\+\_\+item\+\_\+text\+\_\+set.

\mbox{\label{group__Elm__Menu_ga38bf247cc8be061572d7ad3621ea190a}} 
\index{Menu@{Menu}!elm\+\_\+menu\+\_\+parent\+\_\+set@{elm\+\_\+menu\+\_\+parent\+\_\+set}}
\index{elm\+\_\+menu\+\_\+parent\+\_\+set@{elm\+\_\+menu\+\_\+parent\+\_\+set}!Menu@{Menu}}
\subsubsection{\texorpdfstring{elm\+\_\+menu\+\_\+parent\+\_\+set()}{elm\_menu\_parent\_set()}}
{\footnotesize\ttfamily void elm\+\_\+menu\+\_\+parent\+\_\+set (\begin{DoxyParamCaption}\item[{Evas\+\_\+\+Object $\ast$}]{obj,  }\item[{Evas\+\_\+\+Object $\ast$}]{parent }\end{DoxyParamCaption})}



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}


References elm\+\_\+hover\+\_\+parent\+\_\+set().



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

\mbox{\label{group__Elm__Menu_ga0e647bbdd72175c596e0a77987186f4b}} 
\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{\texorpdfstring{elm\+\_\+menu\+\_\+selected\+\_\+item\+\_\+get()}{elm\_menu\_selected\_item\_get()}}
{\footnotesize\ttfamily Elm\+\_\+\+Widget\+\_\+\+Item$\ast$ elm\+\_\+menu\+\_\+selected\+\_\+item\+\_\+get (\begin{DoxyParamCaption}\item[{const Elm\+\_\+\+Menu $\ast$}]{obj }\end{DoxyParamCaption})}



Get the selected item in the menu. 

\begin{DoxyReturn}{Returns}
The selected item or {\ttfamily null}. 
\end{DoxyReturn}


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

\mbox{\label{group__Elm__Menu_gabf40424979133623b6200ee23936e056}} 
\index{Menu@{Menu}!elm\+\_\+obj\+\_\+menu\+\_\+close@{elm\+\_\+obj\+\_\+menu\+\_\+close}}
\index{elm\+\_\+obj\+\_\+menu\+\_\+close@{elm\+\_\+obj\+\_\+menu\+\_\+close}!Menu@{Menu}}
\subsubsection{\texorpdfstring{elm\+\_\+obj\+\_\+menu\+\_\+close()}{elm\_obj\_menu\_close()}}
{\footnotesize\ttfamily E\+O\+A\+PI void elm\+\_\+obj\+\_\+menu\+\_\+close (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Close a opened menu. 

Hides the menu and all it\textquotesingle{}s sub-\/menus. 

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

\mbox{\label{group__Elm__Menu_gad152db71a3534c802d45518abff00443}} 
\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{\texorpdfstring{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+add()}{elm\_obj\_menu\_item\_add()}}
{\footnotesize\ttfamily E\+O\+A\+PI Elm\+\_\+\+Widget\+\_\+\+Item$\ast$ elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+add (\begin{DoxyParamCaption}\item[{Elm\+\_\+\+Widget\+\_\+\+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})}



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

\begin{DoxyNote}{Note}
This function does not accept relative icon path.
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\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}
\begin{DoxyReturn}{Returns}
The new menu item. 
\end{DoxyReturn}


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

\mbox{\label{group__Elm__Menu_gaa466607c8d3d5c1243a1822e4f460ee0}} 
\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{\texorpdfstring{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+separator\+\_\+add()}{elm\_obj\_menu\_item\_separator\_add()}}
{\footnotesize\ttfamily E\+O\+A\+PI Elm\+\_\+\+Widget\+\_\+\+Item$\ast$ elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+separator\+\_\+add (\begin{DoxyParamCaption}\item[{Elm\+\_\+\+Widget\+\_\+\+Item $\ast$}]{parent }\end{DoxyParamCaption})}



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


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em parent} & The item to add the separator under.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The created item or {\ttfamily null}. 
\end{DoxyReturn}


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

\mbox{\label{group__Elm__Menu_ga0ec740c5b9dfda52fc2ed1850bb28e44}} 
\index{Menu@{Menu}!elm\+\_\+obj\+\_\+menu\+\_\+move@{elm\+\_\+obj\+\_\+menu\+\_\+move}}
\index{elm\+\_\+obj\+\_\+menu\+\_\+move@{elm\+\_\+obj\+\_\+menu\+\_\+move}!Menu@{Menu}}
\subsubsection{\texorpdfstring{elm\+\_\+obj\+\_\+menu\+\_\+move()}{elm\_obj\_menu\_move()}}
{\footnotesize\ttfamily E\+O\+A\+PI void elm\+\_\+obj\+\_\+menu\+\_\+move (\begin{DoxyParamCaption}\item[{Evas\+\_\+\+Coord}]{x,  }\item[{Evas\+\_\+\+Coord}]{y }\end{DoxyParamCaption})}



Move the menu to a new position. 

Sets the top-\/left position of the menu to (\$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 y} & The new position. \\
\hline
\end{DoxyParams}


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

\mbox{\label{group__Elm__Menu_gae6ddddaa05b9c78c0a3c08cb467483df}} 
\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{\texorpdfstring{elm\+\_\+obj\+\_\+menu\+\_\+selected\+\_\+item\+\_\+get()}{elm\_obj\_menu\_selected\_item\_get()}}
{\footnotesize\ttfamily E\+O\+A\+PI Elm\+\_\+\+Widget\+\_\+\+Item$\ast$ elm\+\_\+obj\+\_\+menu\+\_\+selected\+\_\+item\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Get the selected item in the menu. 

\begin{DoxyReturn}{Returns}
The selected item or {\ttfamily null}. 
\end{DoxyReturn}


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

