\hypertarget{struct__Elm__Web__Menu}{}\doxysection{\+\_\+\+Elm\+\_\+\+Web\+\_\+\+Menu Struct Reference}
\label{struct__Elm__Web__Menu}\index{\_Elm\_Web\_Menu@{\_Elm\_Web\_Menu}}


Structure describing the menu of a popup.  




{\ttfamily \#include $<$elm\+\_\+web\+\_\+common.\+h$>$}

\doxysubsection*{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$ {\bfseries 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 {\bfseries 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 {\bfseries 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 {\bfseries 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 {\bfseries 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 EINA\+\_\+\+TRUE} by the user to indicate that the popup has been handled and the default implementation should be ignored. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{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 EINA\+\_\+\+TRUE}. Leaving this property as {\ttfamily EINA\+\_\+\+FALSE} 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}
elm\+\_\+web\+\_\+popup\+\_\+selected\+\_\+set() 

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


\doxysubsection{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}}
\doxysubsubsection{\texorpdfstring{handled}{handled}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \+\_\+\+Elm\+\_\+\+Web\+\_\+\+Menu\+::handled}



Set to {\ttfamily EINA\+\_\+\+TRUE} by the user to indicate that the popup has been handled and the default implementation should be ignored. 

Leave as {\ttfamily EINA\+\_\+\+FALSE} otherwise. 