\section{Menu}
\label{group__Menu}\index{Menu@{Menu}}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{group__Menu_gaf6272eee0ffd06493bfd84b2d8fe2721}{elm\-\_\-obj\-\_\-menu\-\_\-move}(x, y)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-E\-N\-U\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-E\-N\-U\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-M\-O\-V\-E), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord, x), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord, y)
\begin{DoxyCompactList}\small\item\em Move the menu to a new position. \end{DoxyCompactList}\item 
\#define \hyperlink{group__Menu_ga96fece782d961174cd707e734212afd3}{elm\-\_\-obj\-\_\-menu\-\_\-close}()~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-E\-N\-U\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-E\-N\-U\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-C\-L\-O\-S\-E)
\begin{DoxyCompactList}\small\item\em Close a opened menu. \end{DoxyCompactList}\item 
\#define \hyperlink{group__Menu_gacbe0b84a899c4ee744774570235a5fad}{elm\-\_\-obj\-\_\-menu\-\_\-item\-\_\-add}(parent, icon, label, func, data, ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-E\-N\-U\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-E\-N\-U\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-I\-T\-E\-M\-\_\-\-A\-D\-D), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\-\_\-\-Object\-\_\-\-Item} $\ast$, parent), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(const char $\ast$, icon), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(const char $\ast$, label), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Smart\-\_\-\-Cb, func), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(const void $\ast$, data), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\-\_\-\-Object\-\_\-\-Item} $\ast$$\ast$, ret)
\begin{DoxyCompactList}\small\item\em Add an item at the end of the given menu widget. \end{DoxyCompactList}\item 
\#define \hyperlink{group__Menu_ga6d6f5f2017879da3fa19e27d0145996a}{elm\-\_\-obj\-\_\-menu\-\_\-item\-\_\-separator\-\_\-add}(parent, ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-E\-N\-U\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-E\-N\-U\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-I\-T\-E\-M\-\_\-\-S\-E\-P\-A\-R\-A\-T\-O\-R\-\_\-\-A\-D\-D), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\-\_\-\-Object\-\_\-\-Item} $\ast$, parent), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\-\_\-\-Object\-\_\-\-Item} $\ast$$\ast$, ret)
\begin{DoxyCompactList}\small\item\em Add a separator item to menu obj under {\ttfamily parent}. \end{DoxyCompactList}\item 
\#define \hyperlink{group__Menu_ga669ad24a45112e875c3fe2b151a83966}{elm\-\_\-obj\-\_\-menu\-\_\-items\-\_\-get}(ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-E\-N\-U\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-E\-N\-U\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-I\-T\-E\-M\-S\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(const Eina\-\_\-\-List $\ast$$\ast$, ret)
\begin{DoxyCompactList}\small\item\em Returns a list of item's items. \end{DoxyCompactList}\item 
\#define \hyperlink{group__Menu_ga0cd391bbc3e0cdd89afd272b072d88ae}{elm\-\_\-obj\-\_\-menu\-\_\-first\-\_\-item\-\_\-get}(ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-E\-N\-U\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-E\-N\-U\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-F\-I\-R\-S\-T\-\_\-\-I\-T\-E\-M\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\-\_\-\-Object\-\_\-\-Item} $\ast$$\ast$, ret)
\begin{DoxyCompactList}\small\item\em Get the first item in the menu. \end{DoxyCompactList}\item 
\#define \hyperlink{group__Menu_ga36149dc88d1b199fb0ded9b69f17d20e}{elm\-\_\-obj\-\_\-menu\-\_\-last\-\_\-item\-\_\-get}(ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-E\-N\-U\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-E\-N\-U\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-L\-A\-S\-T\-\_\-\-I\-T\-E\-M\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\-\_\-\-Object\-\_\-\-Item} $\ast$$\ast$, ret)
\begin{DoxyCompactList}\small\item\em Get the last item in the menu. \end{DoxyCompactList}\item 
\#define \hyperlink{group__Menu_ga7a0d45ed6ca1e2ad620941e2711ae302}{elm\-\_\-obj\-\_\-menu\-\_\-selected\-\_\-item\-\_\-get}(ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-E\-N\-U\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-E\-N\-U\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-E\-L\-E\-C\-T\-E\-D\-\_\-\-I\-T\-E\-M\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\-\_\-\-Object\-\_\-\-Item} $\ast$$\ast$, ret)
\begin{DoxyCompactList}\small\item\em Get the selected item in the menu. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\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}\item 
void \hyperlink{group__Menu_ga7c7d8c5abf637da74f5348b8a66a99c9}{elm\-\_\-menu\-\_\-move} (Evas\-\_\-\-Object $\ast$obj, Evas\-\_\-\-Coord x, Evas\-\_\-\-Coord y)
\begin{DoxyCompactList}\small\item\em Move the menu to a new position. \end{DoxyCompactList}\item 
void \hyperlink{group__Menu_ga34bb7b9846156ec7bb2dc28b349ed9f6}{elm\-\_\-menu\-\_\-close} (Evas\-\_\-\-Object $\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_ga84d84a994e3c199ff4ba7c72e7499ef9}{elm\-\_\-menu\-\_\-item\-\_\-add} (Evas\-\_\-\-Object $\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 
\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\-\_\-\-Object\-\_\-\-Item} $\ast$ \hyperlink{group__Menu_gaa9f0d33672be34df9316980de22f6cad}{elm\-\_\-menu\-\_\-item\-\_\-separator\-\_\-add} (Evas\-\_\-\-Object $\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 
const Eina\-\_\-\-List $\ast$ \hyperlink{group__Menu_ga976a43a085520ca0cdee342441808725}{elm\-\_\-menu\-\_\-items\-\_\-get} (const Evas\-\_\-\-Object $\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_ga4c5f6f20d8ae79fe645ee61676c4c249}{elm\-\_\-menu\-\_\-first\-\_\-item\-\_\-get} (const Evas\-\_\-\-Object $\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_ga1d098ff584aef5b7b7dd40863b4b3e42}{elm\-\_\-menu\-\_\-last\-\_\-item\-\_\-get} (const Evas\-\_\-\-Object $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the last item in the menu. \end{DoxyCompactList}\item 
\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\-\_\-\-Object\-\_\-\-Item} $\ast$ \hyperlink{group__Menu_ga6688bea47c2ebcd043b4648e1f8eba96}{elm\-\_\-menu\-\_\-selected\-\_\-item\-\_\-get} (const Evas\-\_\-\-Object $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the selected item in the menu. \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)\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{Macro Definition Documentation}
\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}\#define elm\-\_\-obj\-\_\-menu\-\_\-close(
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-E\-N\-U\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-E\-N\-U\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-C\-L\-O\-S\-E)}\label{group__Menu_ga96fece782d961174cd707e734212afd3}


Close a opened menu. 

\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Menu_ga34bb7b9846156ec7bb2dc28b349ed9f6}{elm\-\_\-menu\-\_\-close} 
\end{DoxySeeAlso}


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}\#define elm\-\_\-obj\-\_\-menu\-\_\-first\-\_\-item\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-E\-N\-U\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-E\-N\-U\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-F\-I\-R\-S\-T\-\_\-\-I\-T\-E\-M\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K({\bf Elm\-\_\-\-Object\-\_\-\-Item} $\ast$$\ast$, ret)}\label{group__Menu_ga0cd391bbc3e0cdd89afd272b072d88ae}


Get the first item in the menu. 

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

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


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}\#define elm\-\_\-obj\-\_\-menu\-\_\-item\-\_\-add(
\begin{DoxyParamCaption}
\item[{}]{parent, }
\item[{}]{icon, }
\item[{}]{label, }
\item[{}]{func, }
\item[{}]{data, }
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-E\-N\-U\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-E\-N\-U\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-I\-T\-E\-M\-\_\-\-A\-D\-D), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K({\bf Elm\-\_\-\-Object\-\_\-\-Item} $\ast$, parent), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(const char $\ast$, icon), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(const char $\ast$, label), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Smart\-\_\-\-Cb, func), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(const void $\ast$, data), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K({\bf Elm\-\_\-\-Object\-\_\-\-Item} $\ast$$\ast$, ret)}\label{group__Menu_gacbe0b84a899c4ee744774570235a5fad}


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

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

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


Referenced by 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}\#define elm\-\_\-obj\-\_\-menu\-\_\-item\-\_\-separator\-\_\-add(
\begin{DoxyParamCaption}
\item[{}]{parent, }
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-E\-N\-U\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-E\-N\-U\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-I\-T\-E\-M\-\_\-\-S\-E\-P\-A\-R\-A\-T\-O\-R\-\_\-\-A\-D\-D), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K({\bf Elm\-\_\-\-Object\-\_\-\-Item} $\ast$, parent), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K({\bf Elm\-\_\-\-Object\-\_\-\-Item} $\ast$$\ast$, ret)}\label{group__Menu_ga6d6f5f2017879da3fa19e27d0145996a}


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

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

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em parent} & \\
\hline
\mbox{\tt out}  & {\em ret} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Menu_gaa9f0d33672be34df9316980de22f6cad}{elm\-\_\-menu\-\_\-item\-\_\-separator\-\_\-add} 
\end{DoxySeeAlso}


Referenced by 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}\#define elm\-\_\-obj\-\_\-menu\-\_\-items\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-E\-N\-U\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-E\-N\-U\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-I\-T\-E\-M\-S\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(const Eina\-\_\-\-List $\ast$$\ast$, ret)}\label{group__Menu_ga669ad24a45112e875c3fe2b151a83966}


Returns a list of item's items. 

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

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


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}\#define elm\-\_\-obj\-\_\-menu\-\_\-last\-\_\-item\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-E\-N\-U\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-E\-N\-U\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-L\-A\-S\-T\-\_\-\-I\-T\-E\-M\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K({\bf Elm\-\_\-\-Object\-\_\-\-Item} $\ast$$\ast$, ret)}\label{group__Menu_ga36149dc88d1b199fb0ded9b69f17d20e}


Get the last item in the menu. 

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

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


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}\#define elm\-\_\-obj\-\_\-menu\-\_\-move(
\begin{DoxyParamCaption}
\item[{}]{x, }
\item[{}]{y}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-E\-N\-U\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-E\-N\-U\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-M\-O\-V\-E), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord, x), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Coord, y)}\label{group__Menu_gaf6272eee0ffd06493bfd84b2d8fe2721}


Move the menu to a new position. 

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

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em x} & \\
\hline
\mbox{\tt in}  & {\em y} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Menu_ga7c7d8c5abf637da74f5348b8a66a99c9}{elm\-\_\-menu\-\_\-move} 
\end{DoxySeeAlso}


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}\#define elm\-\_\-obj\-\_\-menu\-\_\-selected\-\_\-item\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-E\-N\-U\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-M\-E\-N\-U\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-S\-E\-L\-E\-C\-T\-E\-D\-\_\-\-I\-T\-E\-M\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K({\bf Elm\-\_\-\-Object\-\_\-\-Item} $\ast$$\ast$, ret)}\label{group__Menu_ga7a0d45ed6ca1e2ad620941e2711ae302}


Get the selected item in the menu. 

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

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


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



\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[{Evas\-\_\-\-Object $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Menu_ga34bb7b9846156ec7bb2dc28b349ed9f6}


Close a opened menu. 


\begin{DoxyParams}{Parameters}
{\em obj} & the menu object \\
\hline
\end{DoxyParams}
\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 Evas\-\_\-\-Object $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Menu_ga4c5f6f20d8ae79fe645ee61676c4c249}


Get the first item in the menu. 


\begin{DoxyParams}{Parameters}
{\em obj} & The menu object \\
\hline
\end{DoxyParams}
\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[{Evas\-\_\-\-Object $\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_ga84d84a994e3c199ff4ba7c72e7499ef9}


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


\begin{DoxyParams}{Parameters}
{\em obj} & The menu object. \\
\hline
{\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}
\begin{DoxyReturn}{Returns}
Returns the new item.
\end{DoxyReturn}
\begin{DoxyNote}{Note}
This function does not accept relative icon path. 
\end{DoxyNote}


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. 

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


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


\begin{DoxyParams}{Parameters}
{\em obj} & The menu object \\
\hline
{\em parent} & The item to add the separator under \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The created item or N\-U\-L\-L on failure
\end{DoxyReturn}
This is item is a \hyperlink{group__Separator}{Separator}. 

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}


References elm\-\_\-object\-\_\-item\-\_\-del().

\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 Evas\-\_\-\-Object $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Menu_ga976a43a085520ca0cdee342441808725}


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


\begin{DoxyParams}{Parameters}
{\em obj} & The menu object \\
\hline
\end{DoxyParams}
\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 Evas\-\_\-\-Object $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Menu_ga1d098ff584aef5b7b7dd40863b4b3e42}


Get the last item in the menu. 


\begin{DoxyParams}{Parameters}
{\em obj} & The menu object \\
\hline
\end{DoxyParams}
\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[{Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{Evas\-\_\-\-Coord}]{x, }
\item[{Evas\-\_\-\-Coord}]{y}
\end{DoxyParamCaption}
)}\label{group__Menu_ga7c7d8c5abf637da74f5348b8a66a99c9}


Move the menu to a new position. 


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


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 Evas\-\_\-\-Object $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Menu_ga6688bea47c2ebcd043b4648e1f8eba96}


Get the selected item in the menu. 


\begin{DoxyParams}{Parameters}
{\em obj} & The menu object \\
\hline
\end{DoxyParams}
\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.

