\hypertarget{group__Elm__Menu}{}\doxysection{Menu}
\label{group__Elm__Menu}\index{Menu@{Menu}}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__Elm__Menu_ga32eb4750db6bc8117fe5a3b7284e1e99}\label{group__Elm__Menu_ga32eb4750db6bc8117fe5a3b7284e1e99}} 
\#define {\bfseries ELM\+\_\+\+MENU\+\_\+\+CLASS}~elm\+\_\+menu\+\_\+class\+\_\+get()
\begin{DoxyCompactList}\small\item\em Elementary menu class. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Elm__Menu_gadfd2d3e60ec806003f2684de60b48f93}\label{group__Elm__Menu_gadfd2d3e60ec806003f2684de60b48f93}} 
\#define {\bfseries ELM\+\_\+\+MENU\+\_\+\+EVENT\+\_\+\+DISMISSED}~(\&(\+\_\+\+ELM\+\_\+\+MENU\+\_\+\+EVENT\+\_\+\+DISMISSED))
\begin{DoxyCompactList}\small\item\em Called when menu widget was dismissed. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Elm__Menu_gaeac994a94ef15b7de8bb355e3a99476c}\label{group__Elm__Menu_gaeac994a94ef15b7de8bb355e3a99476c}} 
\#define {\bfseries ELM\+\_\+\+MENU\+\_\+\+EVENT\+\_\+\+ELM\+\_\+\+ACTION\+\_\+\+BLOCK\+\_\+\+MENU}~(\&(\+\_\+\+ELM\+\_\+\+MENU\+\_\+\+EVENT\+\_\+\+ELM\+\_\+\+ACTION\+\_\+\+BLOCK\+\_\+\+MENU))
\begin{DoxyCompactList}\small\item\em Called when menu blocking have been enabled. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Elm__Menu_gabd3a0be9e02dc82551752c691d769bf0}\label{group__Elm__Menu_gabd3a0be9e02dc82551752c691d769bf0}} 
\#define {\bfseries ELM\+\_\+\+MENU\+\_\+\+EVENT\+\_\+\+ELM\+\_\+\+ACTION\+\_\+\+UNBLOCK\+\_\+\+MENU}~(\&(\+\_\+\+ELM\+\_\+\+MENU\+\_\+\+EVENT\+\_\+\+ELM\+\_\+\+ACTION\+\_\+\+UNBLOCK\+\_\+\+MENU))
\begin{DoxyCompactList}\small\item\em Called when menu blocking has been disabled. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
EOAPI \mbox{\hyperlink{group__Elm__General_ga9a9ae618832fd9732d59650931a9db08}{Elm\+\_\+\+Widget\+\_\+\+Item}} $\ast$ \mbox{\hyperlink{group__Elm__Menu_ga46b386ce9988c4aab3494dba118c8cba}{elm\+\_\+obj\+\_\+menu\+\_\+selected\+\_\+item\+\_\+get}} (const Eo $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the selected item in the widget. \end{DoxyCompactList}\item 
EOAPI \mbox{\hyperlink{group__Elm__General_ga9a9ae618832fd9732d59650931a9db08}{Elm\+\_\+\+Widget\+\_\+\+Item}} $\ast$ \mbox{\hyperlink{group__Elm__Menu_ga19fa1505b47b525fd8efe40cac5f43fc}{elm\+\_\+obj\+\_\+menu\+\_\+first\+\_\+item\+\_\+get}} (const Eo $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the first item in the widget. \end{DoxyCompactList}\item 
EOAPI \mbox{\hyperlink{group__Elm__General_ga9a9ae618832fd9732d59650931a9db08}{Elm\+\_\+\+Widget\+\_\+\+Item}} $\ast$ \mbox{\hyperlink{group__Elm__Menu_gaa59ddd8033279c83e9d472e0dd98d68d}{elm\+\_\+obj\+\_\+menu\+\_\+last\+\_\+item\+\_\+get}} (const Eo $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the last item in the widget. \end{DoxyCompactList}\item 
EOAPI const \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$ \mbox{\hyperlink{group__Elm__Menu_gaf25ba6b1b4d531fe1855665dbe4728bb}{elm\+\_\+obj\+\_\+menu\+\_\+items\+\_\+get}} (const Eo $\ast$obj)
\begin{DoxyCompactList}\small\item\em Returns a list of the widget item. \end{DoxyCompactList}\item 
EOAPI void \mbox{\hyperlink{group__Elm__Menu_gac5ec080e06efde825de907ae49f1eb09}{elm\+\_\+obj\+\_\+menu\+\_\+relative\+\_\+move}} (Eo $\ast$obj, int x, int y)
\begin{DoxyCompactList}\small\item\em Move the menu to a new position. \end{DoxyCompactList}\item 
EOAPI \mbox{\hyperlink{group__Elm__General_ga9a9ae618832fd9732d59650931a9db08}{Elm\+\_\+\+Widget\+\_\+\+Item}} $\ast$ \mbox{\hyperlink{group__Elm__Menu_ga95009759bc49ffa5c0cdd62230fdb99f}{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+add}} (Eo $\ast$obj, \mbox{\hyperlink{group__Elm__General_ga9a9ae618832fd9732d59650931a9db08}{Elm\+\_\+\+Widget\+\_\+\+Item}} $\ast$parent, const char $\ast$icon, const char $\ast$label, \mbox{\hyperlink{Evas__Common_8h_afbde245aa36db11d8280b266235c25b2}{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 
EOAPI void \mbox{\hyperlink{group__Elm__Menu_ga4a41ddfc8623bfdeb3dc4de2cf9a8561}{elm\+\_\+obj\+\_\+menu\+\_\+open}} (Eo $\ast$obj)
\begin{DoxyCompactList}\small\item\em Open a closed menu. \end{DoxyCompactList}\item 
EOAPI void \mbox{\hyperlink{group__Elm__Menu_gaa5ffae434cd950188a4ec72302e07e19}{elm\+\_\+obj\+\_\+menu\+\_\+close}} (Eo $\ast$obj)
\begin{DoxyCompactList}\small\item\em Close a opened menu. \end{DoxyCompactList}\item 
EOAPI \mbox{\hyperlink{group__Elm__General_ga9a9ae618832fd9732d59650931a9db08}{Elm\+\_\+\+Widget\+\_\+\+Item}} $\ast$ \mbox{\hyperlink{group__Elm__Menu_ga0eca40f0bd558b42f78038d11c48049c}{elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+separator\+\_\+add}} (Eo $\ast$obj, \mbox{\hyperlink{group__Elm__General_ga9a9ae618832fd9732d59650931a9db08}{Elm\+\_\+\+Widget\+\_\+\+Item}} $\ast$parent)
\begin{DoxyCompactList}\small\item\em Add a separator item to menu {\ttfamily obj} under {\ttfamily parent}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$ \mbox{\hyperlink{group__Elm__Menu_gab5d9f82f2078b1ff0330dbc1b9a5f8fb}{elm\+\_\+menu\+\_\+add}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$parent)
\begin{DoxyCompactList}\small\item\em Add a new menu to the parent. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__Menu_ga38bf247cc8be061572d7ad3621ea190a}{elm\+\_\+menu\+\_\+parent\+\_\+set}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$parent)
\begin{DoxyCompactList}\small\item\em Set the parent for the given menu widget. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$ \mbox{\hyperlink{group__Elm__Menu_gacff3aa619fd555b3374a97f6e09088f6}{elm\+\_\+menu\+\_\+parent\+\_\+get}} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the parent for the given menu widget. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{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 APIs. \begin{DoxyItemize}
\item \mbox{\hyperlink{group__Elm__General_gad1b5a0d41fa322b28000a290154ec3a4}{elm\+\_\+object\+\_\+item\+\_\+del}} \item \mbox{\hyperlink{group__Elm__General_ga990f25208c4ef0e5c9c404cfb482d813}{elm\+\_\+object\+\_\+item\+\_\+part\+\_\+text\+\_\+set}} \item \mbox{\hyperlink{group__Elm__General_ga453ec97f657bae0588fd4cd4e78ec918}{elm\+\_\+object\+\_\+item\+\_\+part\+\_\+text\+\_\+get}} \item \mbox{\hyperlink{group__Elm__General_ga79ff1bf2d04a5a730fdca21ccc2067c1}{elm\+\_\+object\+\_\+item\+\_\+part\+\_\+content\+\_\+set}} \item \mbox{\hyperlink{group__Elm__General_gab9484cb6aaa388c5e98e63d12f39b8ef}{elm\+\_\+object\+\_\+item\+\_\+part\+\_\+content\+\_\+get}} \item \mbox{\hyperlink{group__Elm__General_ga1d4c8d3c83ed9408eaa35d605adbd7d2}{elm\+\_\+object\+\_\+item\+\_\+disabled\+\_\+set}} \item \mbox{\hyperlink{group__Elm__General_ga6c8e825bd196185a7851db289e2b061c}{elm\+\_\+object\+\_\+item\+\_\+disabled\+\_\+get}} \item \mbox{\hyperlink{group__Elm__General_gabdb3e5328a1e3c367c3fc3536e4a2e5c}{elm\+\_\+object\+\_\+item\+\_\+signal\+\_\+emit}} (since 1.\+12)\end{DoxyItemize}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{tutorial_menu}{Menu Example}} 
\end{DoxySeeAlso}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__Elm__Menu_ga46b386ce9988c4aab3494dba118c8cba}\label{group__Elm__Menu_ga46b386ce9988c4aab3494dba118c8cba}} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_obj\_menu\_selected\_item\_get()}{elm\_obj\_menu\_selected\_item\_get()}}
{\footnotesize\ttfamily EOAPI \mbox{\hyperlink{group__Elm__General_ga9a9ae618832fd9732d59650931a9db08}{Elm\+\_\+\+Widget\+\_\+\+Item}} $\ast$ elm\+\_\+obj\+\_\+menu\+\_\+selected\+\_\+item\+\_\+get (\begin{DoxyParamCaption}\item[{const Eo $\ast$}]{obj }\end{DoxyParamCaption})}



Get the selected item in the widget. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The selected item or {\ttfamily null}. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Elm__Menu_ga19fa1505b47b525fd8efe40cac5f43fc}\label{group__Elm__Menu_ga19fa1505b47b525fd8efe40cac5f43fc}} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_obj\_menu\_first\_item\_get()}{elm\_obj\_menu\_first\_item\_get()}}
{\footnotesize\ttfamily EOAPI \mbox{\hyperlink{group__Elm__General_ga9a9ae618832fd9732d59650931a9db08}{Elm\+\_\+\+Widget\+\_\+\+Item}} $\ast$ elm\+\_\+obj\+\_\+menu\+\_\+first\+\_\+item\+\_\+get (\begin{DoxyParamCaption}\item[{const Eo $\ast$}]{obj }\end{DoxyParamCaption})}



Get the first item in the widget. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The first item or {\ttfamily null}. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Elm__Menu_gaa59ddd8033279c83e9d472e0dd98d68d}\label{group__Elm__Menu_gaa59ddd8033279c83e9d472e0dd98d68d}} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_obj\_menu\_last\_item\_get()}{elm\_obj\_menu\_last\_item\_get()}}
{\footnotesize\ttfamily EOAPI \mbox{\hyperlink{group__Elm__General_ga9a9ae618832fd9732d59650931a9db08}{Elm\+\_\+\+Widget\+\_\+\+Item}} $\ast$ elm\+\_\+obj\+\_\+menu\+\_\+last\+\_\+item\+\_\+get (\begin{DoxyParamCaption}\item[{const Eo $\ast$}]{obj }\end{DoxyParamCaption})}



Get the last item in the widget. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The last item or {\ttfamily null}. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Elm__Menu_gaf25ba6b1b4d531fe1855665dbe4728bb}\label{group__Elm__Menu_gaf25ba6b1b4d531fe1855665dbe4728bb}} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_obj\_menu\_items\_get()}{elm\_obj\_menu\_items\_get()}}
{\footnotesize\ttfamily EOAPI const \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$ elm\+\_\+obj\+\_\+menu\+\_\+items\+\_\+get (\begin{DoxyParamCaption}\item[{const Eo $\ast$}]{obj }\end{DoxyParamCaption})}



Returns a list of the widget item. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
const list to widget items 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Elm__Menu_gac5ec080e06efde825de907ae49f1eb09}\label{group__Elm__Menu_gac5ec080e06efde825de907ae49f1eb09}} 
\index{Menu@{Menu}!elm\_obj\_menu\_relative\_move@{elm\_obj\_menu\_relative\_move}}
\index{elm\_obj\_menu\_relative\_move@{elm\_obj\_menu\_relative\_move}!Menu@{Menu}}
\doxysubsubsection{\texorpdfstring{elm\_obj\_menu\_relative\_move()}{elm\_obj\_menu\_relative\_move()}}
{\footnotesize\ttfamily EOAPI void elm\+\_\+obj\+\_\+menu\+\_\+relative\+\_\+move (\begin{DoxyParamCaption}\item[{Eo $\ast$}]{obj,  }\item[{int}]{x,  }\item[{int}]{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{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\mbox{\texttt{ in}}  & {\em x} & The new X coordinate \\
\hline
\mbox{\texttt{ in}}  & {\em y} & The new Y coordinate \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Elm__Menu_ga95009759bc49ffa5c0cdd62230fdb99f}\label{group__Elm__Menu_ga95009759bc49ffa5c0cdd62230fdb99f}} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_obj\_menu\_item\_add()}{elm\_obj\_menu\_item\_add()}}
{\footnotesize\ttfamily EOAPI \mbox{\hyperlink{group__Elm__General_ga9a9ae618832fd9732d59650931a9db08}{Elm\+\_\+\+Widget\+\_\+\+Item}} $\ast$ elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+add (\begin{DoxyParamCaption}\item[{Eo $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__Elm__General_ga9a9ae618832fd9732d59650931a9db08}{Elm\+\_\+\+Widget\+\_\+\+Item}} $\ast$}]{parent,  }\item[{const char $\ast$}]{icon,  }\item[{const char $\ast$}]{label,  }\item[{\mbox{\hyperlink{Evas__Common_8h_afbde245aa36db11d8280b266235c25b2}{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{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\mbox{\texttt{ in}}  & {\em parent} & The parent menu item (optional). \\
\hline
\mbox{\texttt{ in}}  & {\em icon} & An icon display on the item. The icon will be destroyed by the menu. \\
\hline
\mbox{\texttt{ in}}  & {\em label} & The label of the item. \\
\hline
\mbox{\texttt{ in}}  & {\em func} & Function called when the user select the item. \\
\hline
\mbox{\texttt{ in}}  & {\em data} & Data sent by the callback.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The new menu item. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Elm__Menu_ga4a41ddfc8623bfdeb3dc4de2cf9a8561}\label{group__Elm__Menu_ga4a41ddfc8623bfdeb3dc4de2cf9a8561}} 
\index{Menu@{Menu}!elm\_obj\_menu\_open@{elm\_obj\_menu\_open}}
\index{elm\_obj\_menu\_open@{elm\_obj\_menu\_open}!Menu@{Menu}}
\doxysubsubsection{\texorpdfstring{elm\_obj\_menu\_open()}{elm\_obj\_menu\_open()}}
{\footnotesize\ttfamily EOAPI void elm\+\_\+obj\+\_\+menu\+\_\+open (\begin{DoxyParamCaption}\item[{Eo $\ast$}]{obj }\end{DoxyParamCaption})}



Open a closed menu. 

Show the menu with no child sub-\/menus expanded.. 
\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Elm__Menu_gaa5ffae434cd950188a4ec72302e07e19}\label{group__Elm__Menu_gaa5ffae434cd950188a4ec72302e07e19}} 
\index{Menu@{Menu}!elm\_obj\_menu\_close@{elm\_obj\_menu\_close}}
\index{elm\_obj\_menu\_close@{elm\_obj\_menu\_close}!Menu@{Menu}}
\doxysubsubsection{\texorpdfstring{elm\_obj\_menu\_close()}{elm\_obj\_menu\_close()}}
{\footnotesize\ttfamily EOAPI void elm\+\_\+obj\+\_\+menu\+\_\+close (\begin{DoxyParamCaption}\item[{Eo $\ast$}]{obj }\end{DoxyParamCaption})}



Close a opened menu. 

Hides the menu and all it\textquotesingle{}s sub-\/menus. 
\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Elm__Menu_ga0eca40f0bd558b42f78038d11c48049c}\label{group__Elm__Menu_ga0eca40f0bd558b42f78038d11c48049c}} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_obj\_menu\_item\_separator\_add()}{elm\_obj\_menu\_item\_separator\_add()}}
{\footnotesize\ttfamily EOAPI \mbox{\hyperlink{group__Elm__General_ga9a9ae618832fd9732d59650931a9db08}{Elm\+\_\+\+Widget\+\_\+\+Item}} $\ast$ elm\+\_\+obj\+\_\+menu\+\_\+item\+\_\+separator\+\_\+add (\begin{DoxyParamCaption}\item[{Eo $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__Elm__General_ga9a9ae618832fd9732d59650931a9db08}{Elm\+\_\+\+Widget\+\_\+\+Item}} $\ast$}]{parent }\end{DoxyParamCaption})}



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


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em obj} & The object. \\
\hline
\mbox{\texttt{ in}}  & {\em parent} & The item to add the separator under.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The created item or {\ttfamily null}. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Elm__Menu_gab5d9f82f2078b1ff0330dbc1b9a5f8fb}\label{group__Elm__Menu_gab5d9f82f2078b1ff0330dbc1b9a5f8fb}} 
\index{Menu@{Menu}!elm\_menu\_add@{elm\_menu\_add}}
\index{elm\_menu\_add@{elm\_menu\_add}!Menu@{Menu}}
\doxysubsubsection{\texorpdfstring{elm\_menu\_add()}{elm\_menu\_add()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$ elm\+\_\+menu\+\_\+add (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{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 NULL if it cannot be created. 
\end{DoxyReturn}


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



Referenced by \mbox{\hyperlink{group__Elm__Win__Group_gaaed64ad713b984eab6fff7a657aac4a6}{elm\+\_\+win\+\_\+main\+\_\+menu\+\_\+get()}}.

\mbox{\Hypertarget{group__Elm__Menu_ga38bf247cc8be061572d7ad3621ea190a}\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}}
\doxysubsubsection{\texorpdfstring{elm\_menu\_parent\_set()}{elm\_menu\_parent\_set()}}
{\footnotesize\ttfamily void elm\+\_\+menu\+\_\+parent\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{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}
\mbox{\Hypertarget{group__Elm__Menu_gacff3aa619fd555b3374a97f6e09088f6}\label{group__Elm__Menu_gacff3aa619fd555b3374a97f6e09088f6}} 
\index{Menu@{Menu}!elm\_menu\_parent\_get@{elm\_menu\_parent\_get}}
\index{elm\_menu\_parent\_get@{elm\_menu\_parent\_get}!Menu@{Menu}}
\doxysubsubsection{\texorpdfstring{elm\_menu\_parent\_get()}{elm\_menu\_parent\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$ elm\+\_\+menu\+\_\+parent\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{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}
\mbox{\hyperlink{group__Elm__Menu_ga38bf247cc8be061572d7ad3621ea190a}{elm\+\_\+menu\+\_\+parent\+\_\+set()}} 
\end{DoxySeeAlso}
