\hypertarget{struct__Elm__Web__Menu}{}\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 
\mbox{\Hypertarget{struct__Elm__Web__Menu_ab0fcaa56af1351a12dd4fec87668313a}\label{struct__Elm__Web__Menu_ab0fcaa56af1351a12dd4fec87668313a}} 
\mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$ \mbox{\hyperlink{struct__Elm__Web__Menu_ab0fcaa56af1351a12dd4fec87668313a}{items}}
\begin{DoxyCompactList}\small\item\em List of \mbox{\hyperlink{group__Elm__Web_ga3ba69706bcdcba6be03d18e6d19273a6}{Elm\+\_\+\+Web\+\_\+\+Menu\+\_\+\+Item}}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{struct__Elm__Web__Menu_a37ca0884e0ae071620d8e67f774e8567}\label{struct__Elm__Web__Menu_a37ca0884e0ae071620d8e67f774e8567}} 
int \mbox{\hyperlink{struct__Elm__Web__Menu_a37ca0884e0ae071620d8e67f774e8567}{x}}
\begin{DoxyCompactList}\small\item\em The X position of the popup, relative to the elm\+\_\+web object. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{struct__Elm__Web__Menu_a415b94036b9d134dbe30013576c76ff7}\label{struct__Elm__Web__Menu_a415b94036b9d134dbe30013576c76ff7}} 
int \mbox{\hyperlink{struct__Elm__Web__Menu_a415b94036b9d134dbe30013576c76ff7}{y}}
\begin{DoxyCompactList}\small\item\em The Y position of the popup, relative to the elm\+\_\+web object. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{struct__Elm__Web__Menu_a237137606120b957b7414cf395dabff9}\label{struct__Elm__Web__Menu_a237137606120b957b7414cf395dabff9}} 
int \mbox{\hyperlink{struct__Elm__Web__Menu_a237137606120b957b7414cf395dabff9}{width}}
\begin{DoxyCompactList}\small\item\em Width of the popup menu. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{struct__Elm__Web__Menu_a3d10e41081b1b8ee694f448254872dc3}\label{struct__Elm__Web__Menu_a3d10e41081b1b8ee694f448254872dc3}} 
int \mbox{\hyperlink{struct__Elm__Web__Menu_a3d10e41081b1b8ee694f448254872dc3}{height}}
\begin{DoxyCompactList}\small\item\em Height of the popup menu. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{struct__Elm__Web__Menu_a13bf3334063fe4b4ed3cbb60fbb92bfe}{handled}}\+: 1
\begin{DoxyCompactList}\small\item\em Set to {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE} 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\+UE}. Leaving this property as {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} 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}
\mbox{\hyperlink{group__Elm__Web_ga03235ab6dbbdf2a8bd2b436b2353c681}{elm\+\_\+web\+\_\+popup\+\_\+selected\+\_\+set()}} 

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


\subsection{Field Documentation}
\mbox{\Hypertarget{struct__Elm__Web__Menu_a13bf3334063fe4b4ed3cbb60fbb92bfe}\label{struct__Elm__Web__Menu_a13bf3334063fe4b4ed3cbb60fbb92bfe}} 
\index{\+\_\+\+Elm\+\_\+\+Web\+\_\+\+Menu@{\+\_\+\+Elm\+\_\+\+Web\+\_\+\+Menu}!handled@{handled}}
\index{handled@{handled}!\+\_\+\+Elm\+\_\+\+Web\+\_\+\+Menu@{\+\_\+\+Elm\+\_\+\+Web\+\_\+\+Menu}}
\subsubsection{\texorpdfstring{handled}{handled}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \+\_\+\+Elm\+\_\+\+Web\+\_\+\+Menu\+::handled}



Set to {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE} 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\+SE} otherwise. 