\section{\+\_\+\+Elm\+\_\+\+Web\+\_\+\+Menu Struct Reference}
\label{struct__Elm__Web__Menu}\index{\+\_\+\+Elm\+\_\+\+Web\+\_\+\+Menu@{\+\_\+\+Elm\+\_\+\+Web\+\_\+\+Menu}}


Structure describing the menu of a popup.  


\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
Eina\+\_\+\+List $\ast$ \hyperlink{struct__Elm__Web__Menu_ab0fcaa56af1351a12dd4fec87668313a}{items}\label{struct__Elm__Web__Menu_ab0fcaa56af1351a12dd4fec87668313a}

\begin{DoxyCompactList}\small\item\em List of \hyperlink{group__Web_ga3ba69706bcdcba6be03d18e6d19273a6}{Elm\+\_\+\+Web\+\_\+\+Menu\+\_\+\+Item}. \end{DoxyCompactList}\item 
int \hyperlink{struct__Elm__Web__Menu_a37ca0884e0ae071620d8e67f774e8567}{x}\label{struct__Elm__Web__Menu_a37ca0884e0ae071620d8e67f774e8567}

\begin{DoxyCompactList}\small\item\em The X position of the popup, relative to the elm\+\_\+web object. \end{DoxyCompactList}\item 
int \hyperlink{struct__Elm__Web__Menu_a415b94036b9d134dbe30013576c76ff7}{y}\label{struct__Elm__Web__Menu_a415b94036b9d134dbe30013576c76ff7}

\begin{DoxyCompactList}\small\item\em The Y position of the popup, relative to the elm\+\_\+web object. \end{DoxyCompactList}\item 
int \hyperlink{struct__Elm__Web__Menu_a237137606120b957b7414cf395dabff9}{width}\label{struct__Elm__Web__Menu_a237137606120b957b7414cf395dabff9}

\begin{DoxyCompactList}\small\item\em Width of the popup menu. \end{DoxyCompactList}\item 
int \hyperlink{struct__Elm__Web__Menu_a3d10e41081b1b8ee694f448254872dc3}{height}\label{struct__Elm__Web__Menu_a3d10e41081b1b8ee694f448254872dc3}

\begin{DoxyCompactList}\small\item\em Height of the popup menu. \end{DoxyCompactList}\item 
Eina\+\_\+\+Bool \hyperlink{struct__Elm__Web__Menu_a13bf3334063fe4b4ed3cbb60fbb92bfe}{handled}\+: 1
\begin{DoxyCompactList}\small\item\em Set to {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} by the user to indicate that the popup has been handled and the default implementation should be ignored. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Structure describing the menu of a popup. 

This structure will be passed as the {\ttfamily event\+\_\+info} for the \char`\"{}popup,create\char`\"{} signal, which is emitted when a dropdown menu is opened. Users wanting to handle these popups by themselves should listen to this signal and set the {\ttfamily handled} property of the struct to {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E}. Leaving this property as {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} means that the user will not handle the popup and the default implementation will be used.

When the popup is ready to be dismissed, a \char`\"{}popup,willdelete\char`\"{} signal will be emitted to notify the user that it can destroy any objects and free all data related to it.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Web_ga03235ab6dbbdf2a8bd2b436b2353c681}{elm\+\_\+web\+\_\+popup\+\_\+selected\+\_\+set()} 

\hyperlink{group__Web_ga0a0dfbcc46447400bdf397927bf05b4f}{elm\+\_\+web\+\_\+popup\+\_\+destroy()} 
\end{DoxySeeAlso}


\subsection{Field Documentation}
\index{\+\_\+\+Elm\+\_\+\+Web\+\_\+\+Menu@{\+\_\+\+Elm\+\_\+\+Web\+\_\+\+Menu}!handled@{handled}}
\index{handled@{handled}!\+\_\+\+Elm\+\_\+\+Web\+\_\+\+Menu@{\+\_\+\+Elm\+\_\+\+Web\+\_\+\+Menu}}
\subsubsection[{handled}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+Bool \+\_\+\+Elm\+\_\+\+Web\+\_\+\+Menu\+::handled}\label{struct__Elm__Web__Menu_a13bf3334063fe4b4ed3cbb60fbb92bfe}


Set to {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} by the user to indicate that the popup has been handled and the default implementation should be ignored. 

Leave as {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise. 