\section{Ctxpopup}
\label{group__Ctxpopup}\index{Ctxpopup@{Ctxpopup}}


Context popup widget.  


\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{group__Ctxpopup_ga9e05dcdbcee9d23f8b69b189ed6ad817}{elm\-\_\-obj\-\_\-ctxpopup\-\_\-hover\-\_\-parent\-\_\-set}(parent)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-H\-O\-V\-E\-R\-\_\-\-P\-A\-R\-E\-N\-T\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Object $\ast$, parent)
\begin{DoxyCompactList}\small\item\em Set the Ctxpopup's parent. \end{DoxyCompactList}\item 
\#define \hyperlink{group__Ctxpopup_gaae3ba12c300e8f73fb61a43eeaab37d9}{elm\-\_\-obj\-\_\-ctxpopup\-\_\-hover\-\_\-parent\-\_\-get}(ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-H\-O\-V\-E\-R\-\_\-\-P\-A\-R\-E\-N\-T\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Object $\ast$$\ast$, ret)
\begin{DoxyCompactList}\small\item\em Get the Ctxpopup's parent. \end{DoxyCompactList}\item 
\#define \hyperlink{group__Ctxpopup_ga73ae056ab62b11a0ab4a6d944c170e58}{elm\-\_\-obj\-\_\-ctxpopup\-\_\-clear}()~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-C\-L\-E\-A\-R)
\begin{DoxyCompactList}\small\item\em Clear all items in the given ctxpopup object. \end{DoxyCompactList}\item 
\#define \hyperlink{group__Ctxpopup_ga52b0d045b9ed99e2f740ef69abb03f29}{elm\-\_\-obj\-\_\-ctxpopup\-\_\-horizontal\-\_\-set}(horizontal)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-H\-O\-R\-I\-Z\-O\-N\-T\-A\-L\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool, horizontal)
\begin{DoxyCompactList}\small\item\em Change the ctxpopup's orientation to horizontal or vertical. \end{DoxyCompactList}\item 
\#define \hyperlink{group__Ctxpopup_ga6482fb2a663d1d961a1b3300299ecaad}{elm\-\_\-obj\-\_\-ctxpopup\-\_\-horizontal\-\_\-get}(ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-H\-O\-R\-I\-Z\-O\-N\-T\-A\-L\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool $\ast$, ret)
\begin{DoxyCompactList}\small\item\em Get the value of current ctxpopup object's orientation. \end{DoxyCompactList}\item 
\#define \hyperlink{group__Ctxpopup_gafe0076b2dc36be7d439cf3f1c511d3df}{elm\-\_\-obj\-\_\-ctxpopup\-\_\-item\-\_\-append}(label, icon, func, data, ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-I\-T\-E\-M\-\_\-\-A\-P\-P\-E\-N\-D), 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\-\_\-\-Object $\ast$, icon), 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 a new item to a ctxpopup object. \end{DoxyCompactList}\item 
\#define \hyperlink{group__Ctxpopup_ga4d0a916095df1f446222a672c147e994}{elm\-\_\-obj\-\_\-ctxpopup\-\_\-direction\-\_\-priority\-\_\-set}(first, second, third, fourth)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-D\-I\-R\-E\-C\-T\-I\-O\-N\-\_\-\-P\-R\-I\-O\-R\-I\-T\-Y\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Elm\-\_\-\-Ctxpopup\-\_\-\-Direction, first), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Elm\-\_\-\-Ctxpopup\-\_\-\-Direction, second), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Elm\-\_\-\-Ctxpopup\-\_\-\-Direction, third), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Elm\-\_\-\-Ctxpopup\-\_\-\-Direction, fourth)
\begin{DoxyCompactList}\small\item\em Set the direction priority of a ctxpopup. \end{DoxyCompactList}\item 
\#define \hyperlink{group__Ctxpopup_ga5fbf082a0ba6ba75ce8cefd500618f99}{elm\-\_\-obj\-\_\-ctxpopup\-\_\-direction\-\_\-priority\-\_\-get}(first, second, third, fourth)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-D\-I\-R\-E\-C\-T\-I\-O\-N\-\_\-\-P\-R\-I\-O\-R\-I\-T\-Y\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Elm\-\_\-\-Ctxpopup\-\_\-\-Direction $\ast$, first), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Elm\-\_\-\-Ctxpopup\-\_\-\-Direction $\ast$, second), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Elm\-\_\-\-Ctxpopup\-\_\-\-Direction $\ast$, third), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Elm\-\_\-\-Ctxpopup\-\_\-\-Direction $\ast$, fourth)
\begin{DoxyCompactList}\small\item\em Get the direction priority of a ctxpopup. \end{DoxyCompactList}\item 
\#define \hyperlink{group__Ctxpopup_ga869165757ed346465488517398d640b1}{elm\-\_\-obj\-\_\-ctxpopup\-\_\-direction\-\_\-get}(ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-D\-I\-R\-E\-C\-T\-I\-O\-N\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Elm\-\_\-\-Ctxpopup\-\_\-\-Direction $\ast$, ret)
\begin{DoxyCompactList}\small\item\em Get the current direction of a ctxpopup. \end{DoxyCompactList}\item 
\#define \hyperlink{group__Ctxpopup_ga404df9d535b5189d94ad5ebb95b0ecdc}{elm\-\_\-obj\-\_\-ctxpopup\-\_\-dismiss}()~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-D\-I\-S\-M\-I\-S\-S)
\begin{DoxyCompactList}\small\item\em Dismiss a ctxpopup object. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
Evas\-\_\-\-Object $\ast$ \hyperlink{group__Ctxpopup_gae1ad10d2c5153a5f009c23b83e71b251}{elm\-\_\-ctxpopup\-\_\-add} (Evas\-\_\-\-Object $\ast$parent)
\begin{DoxyCompactList}\small\item\em Add a new Ctxpopup object to the parent. \end{DoxyCompactList}\item 
void \hyperlink{group__Ctxpopup_ga144ecf975bce61dcf3a65bf9ee056489}{elm\-\_\-ctxpopup\-\_\-hover\-\_\-parent\-\_\-set} (Evas\-\_\-\-Object $\ast$obj, Evas\-\_\-\-Object $\ast$parent)
\begin{DoxyCompactList}\small\item\em Set the Ctxpopup's parent. \end{DoxyCompactList}\item 
Evas\-\_\-\-Object $\ast$ \hyperlink{group__Ctxpopup_ga5bce68db86e1638c2d7633f6320c3c17}{elm\-\_\-ctxpopup\-\_\-hover\-\_\-parent\-\_\-get} (const Evas\-\_\-\-Object $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the Ctxpopup's parent. \end{DoxyCompactList}\item 
void \hyperlink{group__Ctxpopup_ga356291d6254e41e44b498536d5ab52c0}{elm\-\_\-ctxpopup\-\_\-clear} (Evas\-\_\-\-Object $\ast$obj)
\begin{DoxyCompactList}\small\item\em Clear all items in the given ctxpopup object. \end{DoxyCompactList}\item 
void \hyperlink{group__Ctxpopup_ga372922b7f2cd00b5485d889a3bb32f55}{elm\-\_\-ctxpopup\-\_\-horizontal\-\_\-set} (Evas\-\_\-\-Object $\ast$obj, Eina\-\_\-\-Bool horizontal)
\begin{DoxyCompactList}\small\item\em Change the ctxpopup's orientation to horizontal or vertical. \end{DoxyCompactList}\item 
Eina\-\_\-\-Bool \hyperlink{group__Ctxpopup_ga4d12e872a5feb7fd60735bedacfb2082}{elm\-\_\-ctxpopup\-\_\-horizontal\-\_\-get} (const Evas\-\_\-\-Object $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the value of current ctxpopup object's orientation. \end{DoxyCompactList}\item 
\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\-\_\-\-Object\-\_\-\-Item} $\ast$ \hyperlink{group__Ctxpopup_ga6733ea1caf0c1fb5b9cc8346412948e9}{elm\-\_\-ctxpopup\-\_\-item\-\_\-append} (Evas\-\_\-\-Object $\ast$obj, const char $\ast$label, Evas\-\_\-\-Object $\ast$icon, Evas\-\_\-\-Smart\-\_\-\-Cb func, const void $\ast$data)
\begin{DoxyCompactList}\small\item\em Add a new item to a ctxpopup object. \end{DoxyCompactList}\item 
void \hyperlink{group__Ctxpopup_ga2eb7ea656e68044c6f5674ec23648e75}{elm\-\_\-ctxpopup\-\_\-direction\-\_\-priority\-\_\-set} (Evas\-\_\-\-Object $\ast$obj, Elm\-\_\-\-Ctxpopup\-\_\-\-Direction first, Elm\-\_\-\-Ctxpopup\-\_\-\-Direction second, Elm\-\_\-\-Ctxpopup\-\_\-\-Direction third, Elm\-\_\-\-Ctxpopup\-\_\-\-Direction fourth)
\begin{DoxyCompactList}\small\item\em Set the direction priority of a ctxpopup. \end{DoxyCompactList}\item 
void \hyperlink{group__Ctxpopup_ga70efbd8ab5f09e93a8da79e3442e2c65}{elm\-\_\-ctxpopup\-\_\-direction\-\_\-priority\-\_\-get} (Evas\-\_\-\-Object $\ast$obj, Elm\-\_\-\-Ctxpopup\-\_\-\-Direction $\ast$first, Elm\-\_\-\-Ctxpopup\-\_\-\-Direction $\ast$second, Elm\-\_\-\-Ctxpopup\-\_\-\-Direction $\ast$third, Elm\-\_\-\-Ctxpopup\-\_\-\-Direction $\ast$fourth)
\begin{DoxyCompactList}\small\item\em Get the direction priority of a ctxpopup. \end{DoxyCompactList}\item 
Elm\-\_\-\-Ctxpopup\-\_\-\-Direction \hyperlink{group__Ctxpopup_ga4c707a4014fc2c06d6664c2f82bb5909}{elm\-\_\-ctxpopup\-\_\-direction\-\_\-get} (const Evas\-\_\-\-Object $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the current direction of a ctxpopup. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Context popup widget.  
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics{ctxpopup_inheritance_tree}}
\end{DoxyImageNoCaption}


 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics{img/widget/ctxpopup/preview-00}}
\end{DoxyImageNoCaption}


A ctxpopup is a widget that, when shown, pops up a list of items. It automatically chooses an area inside its parent object's view (set via \hyperlink{group__Ctxpopup_gae1ad10d2c5153a5f009c23b83e71b251}{elm\-\_\-ctxpopup\-\_\-add()} and \hyperlink{group__Ctxpopup_ga144ecf975bce61dcf3a65bf9ee056489}{elm\-\_\-ctxpopup\-\_\-hover\-\_\-parent\-\_\-set()}) to optimally fit into it. In the default theme, it will also point an arrow to it's top left position at the time one shows it. Ctxpopup items have a label and/or an icon. It is intended for a small number of items (hence the use of list, not genlist).

This widget inherits from the Layout one, so that all the functions acting on it also work for context popup objects (\begin{DoxySince}{Since}
1.\-8).
\end{DoxySince}
This widget emits the following signals, besides the ones sent from Layout\-:
\begin{DoxyItemize}
\item {\ttfamily \char`\"{}dismissed\char`\"{}} -\/ This is called when 1. the outside of ctxpopup was clicked or 2. its parent area is changed or 3. the language is changed and also when
\end{DoxyItemize}
\begin{DoxyEnumerate}
\item the parent object is resized due to the window rotation. Then ctxpopup is dismissed.
\end{DoxyEnumerate}
\begin{DoxyItemize}
\item {\ttfamily \char`\"{}language,changed\char`\"{}} -\/ This is called when the program's language is changed.
\item {\ttfamily \char`\"{}focused\char`\"{}} -\/ When the ctxpopup has received focus. (since 1.\-8)
\item {\ttfamily \char`\"{}unfocused\char`\"{}} -\/ When the ctxpopup has lost focus. (since 1.\-8) Default content parts of the ctxpopup widget that you can use for are\-: \begin{DoxyItemize}
\item \char`\"{}default\char`\"{} -\/ A content of the ctxpopup\end{DoxyItemize}
Default content parts of the ctxpopup items that you can use for are\-: \begin{DoxyItemize}
\item \char`\"{}icon\char`\"{} -\/ An icon in the title area\end{DoxyItemize}
Default text parts of the ctxpopup items that you can use for are\-: \begin{DoxyItemize}
\item \char`\"{}default\char`\"{} -\/ Title label in the title area\end{DoxyItemize}
Supported elm\-\_\-object common A\-P\-Is. \begin{DoxyItemize}
\item \hyperlink{group__General_ga6849a57df3316eabad5bec443bf87597}{elm\-\_\-object\-\_\-disabled\-\_\-set} \item \hyperlink{group__General_ga3ecb0d6b4e76ff39006f218942c7950d}{elm\-\_\-object\-\_\-disabled\-\_\-get}\end{DoxyItemize}
Supported elm\-\_\-object\-\_\-item common A\-P\-Is. \begin{DoxyItemize}
\item \hyperlink{group__General_ga6aac9c72588cd81c517b235c4b833c76}{elm\-\_\-object\-\_\-item\-\_\-del} \item \hyperlink{group__Styles_gaf8d3bc757952a004aa159a46650f7ef4}{elm\-\_\-object\-\_\-item\-\_\-disabled\-\_\-set} \item \hyperlink{group__Styles_gaf088ea84b1133a01a31b7663b7f62e5c}{elm\-\_\-object\-\_\-item\-\_\-disabled\-\_\-get} \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__General_ga68f9bf241de0ba2edbf53bd751656f05}{elm\-\_\-object\-\_\-item\-\_\-signal\-\_\-emit}\end{DoxyItemize}
\hyperlink{tutorial_ctxpopup}{Ctxpopup example} shows the usage of a good deal of the A\-P\-I. 
\end{DoxyItemize}

\subsection{Macro Definition Documentation}
\index{Ctxpopup@{Ctxpopup}!elm\-\_\-obj\-\_\-ctxpopup\-\_\-clear@{elm\-\_\-obj\-\_\-ctxpopup\-\_\-clear}}
\index{elm\-\_\-obj\-\_\-ctxpopup\-\_\-clear@{elm\-\_\-obj\-\_\-ctxpopup\-\_\-clear}!Ctxpopup@{Ctxpopup}}
\subsubsection[{elm\-\_\-obj\-\_\-ctxpopup\-\_\-clear}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-ctxpopup\-\_\-clear(
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-C\-L\-E\-A\-R)}\label{group__Ctxpopup_ga73ae056ab62b11a0ab4a6d944c170e58}


Clear all items in the given ctxpopup object. 

\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Ctxpopup_ga356291d6254e41e44b498536d5ab52c0}{elm\-\_\-ctxpopup\-\_\-clear} 
\end{DoxySeeAlso}


Referenced by elm\-\_\-ctxpopup\-\_\-clear().

\index{Ctxpopup@{Ctxpopup}!elm\-\_\-obj\-\_\-ctxpopup\-\_\-direction\-\_\-get@{elm\-\_\-obj\-\_\-ctxpopup\-\_\-direction\-\_\-get}}
\index{elm\-\_\-obj\-\_\-ctxpopup\-\_\-direction\-\_\-get@{elm\-\_\-obj\-\_\-ctxpopup\-\_\-direction\-\_\-get}!Ctxpopup@{Ctxpopup}}
\subsubsection[{elm\-\_\-obj\-\_\-ctxpopup\-\_\-direction\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-ctxpopup\-\_\-direction\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-D\-I\-R\-E\-C\-T\-I\-O\-N\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Elm\-\_\-\-Ctxpopup\-\_\-\-Direction $\ast$, ret)}\label{group__Ctxpopup_ga869165757ed346465488517398d640b1}


Get the current direction of a ctxpopup. 

\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__Ctxpopup_ga4c707a4014fc2c06d6664c2f82bb5909}{elm\-\_\-ctxpopup\-\_\-direction\-\_\-get} 
\end{DoxySeeAlso}


Referenced by elm\-\_\-ctxpopup\-\_\-direction\-\_\-get().

\index{Ctxpopup@{Ctxpopup}!elm\-\_\-obj\-\_\-ctxpopup\-\_\-direction\-\_\-priority\-\_\-get@{elm\-\_\-obj\-\_\-ctxpopup\-\_\-direction\-\_\-priority\-\_\-get}}
\index{elm\-\_\-obj\-\_\-ctxpopup\-\_\-direction\-\_\-priority\-\_\-get@{elm\-\_\-obj\-\_\-ctxpopup\-\_\-direction\-\_\-priority\-\_\-get}!Ctxpopup@{Ctxpopup}}
\subsubsection[{elm\-\_\-obj\-\_\-ctxpopup\-\_\-direction\-\_\-priority\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-ctxpopup\-\_\-direction\-\_\-priority\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{first, }
\item[{}]{second, }
\item[{}]{third, }
\item[{}]{fourth}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-D\-I\-R\-E\-C\-T\-I\-O\-N\-\_\-\-P\-R\-I\-O\-R\-I\-T\-Y\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Elm\-\_\-\-Ctxpopup\-\_\-\-Direction $\ast$, first), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Elm\-\_\-\-Ctxpopup\-\_\-\-Direction $\ast$, second), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Elm\-\_\-\-Ctxpopup\-\_\-\-Direction $\ast$, third), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Elm\-\_\-\-Ctxpopup\-\_\-\-Direction $\ast$, fourth)}\label{group__Ctxpopup_ga5fbf082a0ba6ba75ce8cefd500618f99}


Get the direction priority of a ctxpopup. 

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

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em first} & \\
\hline
\mbox{\tt out}  & {\em second} & \\
\hline
\mbox{\tt out}  & {\em third} & \\
\hline
\mbox{\tt out}  & {\em fourth} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Ctxpopup_ga70efbd8ab5f09e93a8da79e3442e2c65}{elm\-\_\-ctxpopup\-\_\-direction\-\_\-priority\-\_\-get} 
\end{DoxySeeAlso}


Referenced by elm\-\_\-ctxpopup\-\_\-direction\-\_\-priority\-\_\-get().

\index{Ctxpopup@{Ctxpopup}!elm\-\_\-obj\-\_\-ctxpopup\-\_\-direction\-\_\-priority\-\_\-set@{elm\-\_\-obj\-\_\-ctxpopup\-\_\-direction\-\_\-priority\-\_\-set}}
\index{elm\-\_\-obj\-\_\-ctxpopup\-\_\-direction\-\_\-priority\-\_\-set@{elm\-\_\-obj\-\_\-ctxpopup\-\_\-direction\-\_\-priority\-\_\-set}!Ctxpopup@{Ctxpopup}}
\subsubsection[{elm\-\_\-obj\-\_\-ctxpopup\-\_\-direction\-\_\-priority\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-ctxpopup\-\_\-direction\-\_\-priority\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{first, }
\item[{}]{second, }
\item[{}]{third, }
\item[{}]{fourth}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-D\-I\-R\-E\-C\-T\-I\-O\-N\-\_\-\-P\-R\-I\-O\-R\-I\-T\-Y\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Elm\-\_\-\-Ctxpopup\-\_\-\-Direction, first), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Elm\-\_\-\-Ctxpopup\-\_\-\-Direction, second), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Elm\-\_\-\-Ctxpopup\-\_\-\-Direction, third), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Elm\-\_\-\-Ctxpopup\-\_\-\-Direction, fourth)}\label{group__Ctxpopup_ga4d0a916095df1f446222a672c147e994}


Set the direction priority of a ctxpopup. 

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

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em first} & \\
\hline
\mbox{\tt in}  & {\em second} & \\
\hline
\mbox{\tt in}  & {\em third} & \\
\hline
\mbox{\tt in}  & {\em fourth} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Ctxpopup_ga2eb7ea656e68044c6f5674ec23648e75}{elm\-\_\-ctxpopup\-\_\-direction\-\_\-priority\-\_\-set} 
\end{DoxySeeAlso}


Referenced by elm\-\_\-ctxpopup\-\_\-direction\-\_\-priority\-\_\-set().

\index{Ctxpopup@{Ctxpopup}!elm\-\_\-obj\-\_\-ctxpopup\-\_\-dismiss@{elm\-\_\-obj\-\_\-ctxpopup\-\_\-dismiss}}
\index{elm\-\_\-obj\-\_\-ctxpopup\-\_\-dismiss@{elm\-\_\-obj\-\_\-ctxpopup\-\_\-dismiss}!Ctxpopup@{Ctxpopup}}
\subsubsection[{elm\-\_\-obj\-\_\-ctxpopup\-\_\-dismiss}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-ctxpopup\-\_\-dismiss(
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-D\-I\-S\-M\-I\-S\-S)}\label{group__Ctxpopup_ga404df9d535b5189d94ad5ebb95b0ecdc}


Dismiss a ctxpopup object. 

\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
\begin{DoxySeeAlso}{See Also}
elm\-\_\-ctxpopup\-\_\-dismiss 
\end{DoxySeeAlso}
\index{Ctxpopup@{Ctxpopup}!elm\-\_\-obj\-\_\-ctxpopup\-\_\-horizontal\-\_\-get@{elm\-\_\-obj\-\_\-ctxpopup\-\_\-horizontal\-\_\-get}}
\index{elm\-\_\-obj\-\_\-ctxpopup\-\_\-horizontal\-\_\-get@{elm\-\_\-obj\-\_\-ctxpopup\-\_\-horizontal\-\_\-get}!Ctxpopup@{Ctxpopup}}
\subsubsection[{elm\-\_\-obj\-\_\-ctxpopup\-\_\-horizontal\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-ctxpopup\-\_\-horizontal\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-H\-O\-R\-I\-Z\-O\-N\-T\-A\-L\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool $\ast$, ret)}\label{group__Ctxpopup_ga6482fb2a663d1d961a1b3300299ecaad}


Get the value of current ctxpopup object's orientation. 

\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__Ctxpopup_ga4d12e872a5feb7fd60735bedacfb2082}{elm\-\_\-ctxpopup\-\_\-horizontal\-\_\-get} 
\end{DoxySeeAlso}


Referenced by elm\-\_\-ctxpopup\-\_\-horizontal\-\_\-get().

\index{Ctxpopup@{Ctxpopup}!elm\-\_\-obj\-\_\-ctxpopup\-\_\-horizontal\-\_\-set@{elm\-\_\-obj\-\_\-ctxpopup\-\_\-horizontal\-\_\-set}}
\index{elm\-\_\-obj\-\_\-ctxpopup\-\_\-horizontal\-\_\-set@{elm\-\_\-obj\-\_\-ctxpopup\-\_\-horizontal\-\_\-set}!Ctxpopup@{Ctxpopup}}
\subsubsection[{elm\-\_\-obj\-\_\-ctxpopup\-\_\-horizontal\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-ctxpopup\-\_\-horizontal\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{horizontal}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-H\-O\-R\-I\-Z\-O\-N\-T\-A\-L\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Eina\-\_\-\-Bool, horizontal)}\label{group__Ctxpopup_ga52b0d045b9ed99e2f740ef69abb03f29}


Change the ctxpopup's orientation to horizontal or vertical. 

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

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em horizontal} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Ctxpopup_ga372922b7f2cd00b5485d889a3bb32f55}{elm\-\_\-ctxpopup\-\_\-horizontal\-\_\-set} 
\end{DoxySeeAlso}


Referenced by elm\-\_\-ctxpopup\-\_\-horizontal\-\_\-set().

\index{Ctxpopup@{Ctxpopup}!elm\-\_\-obj\-\_\-ctxpopup\-\_\-hover\-\_\-parent\-\_\-get@{elm\-\_\-obj\-\_\-ctxpopup\-\_\-hover\-\_\-parent\-\_\-get}}
\index{elm\-\_\-obj\-\_\-ctxpopup\-\_\-hover\-\_\-parent\-\_\-get@{elm\-\_\-obj\-\_\-ctxpopup\-\_\-hover\-\_\-parent\-\_\-get}!Ctxpopup@{Ctxpopup}}
\subsubsection[{elm\-\_\-obj\-\_\-ctxpopup\-\_\-hover\-\_\-parent\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-ctxpopup\-\_\-hover\-\_\-parent\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-H\-O\-V\-E\-R\-\_\-\-P\-A\-R\-E\-N\-T\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Object $\ast$$\ast$, ret)}\label{group__Ctxpopup_gaae3ba12c300e8f73fb61a43eeaab37d9}


Get the Ctxpopup's parent. 

\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__Ctxpopup_ga5bce68db86e1638c2d7633f6320c3c17}{elm\-\_\-ctxpopup\-\_\-hover\-\_\-parent\-\_\-get} 
\end{DoxySeeAlso}


Referenced by elm\-\_\-ctxpopup\-\_\-hover\-\_\-parent\-\_\-get().

\index{Ctxpopup@{Ctxpopup}!elm\-\_\-obj\-\_\-ctxpopup\-\_\-hover\-\_\-parent\-\_\-set@{elm\-\_\-obj\-\_\-ctxpopup\-\_\-hover\-\_\-parent\-\_\-set}}
\index{elm\-\_\-obj\-\_\-ctxpopup\-\_\-hover\-\_\-parent\-\_\-set@{elm\-\_\-obj\-\_\-ctxpopup\-\_\-hover\-\_\-parent\-\_\-set}!Ctxpopup@{Ctxpopup}}
\subsubsection[{elm\-\_\-obj\-\_\-ctxpopup\-\_\-hover\-\_\-parent\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-ctxpopup\-\_\-hover\-\_\-parent\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{parent}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-H\-O\-V\-E\-R\-\_\-\-P\-A\-R\-E\-N\-T\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Evas\-\_\-\-Object $\ast$, parent)}\label{group__Ctxpopup_ga9e05dcdbcee9d23f8b69b189ed6ad817}


Set the Ctxpopup's parent. 

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

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em parent} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Ctxpopup_ga144ecf975bce61dcf3a65bf9ee056489}{elm\-\_\-ctxpopup\-\_\-hover\-\_\-parent\-\_\-set} 
\end{DoxySeeAlso}


Referenced by elm\-\_\-ctxpopup\-\_\-hover\-\_\-parent\-\_\-set().

\index{Ctxpopup@{Ctxpopup}!elm\-\_\-obj\-\_\-ctxpopup\-\_\-item\-\_\-append@{elm\-\_\-obj\-\_\-ctxpopup\-\_\-item\-\_\-append}}
\index{elm\-\_\-obj\-\_\-ctxpopup\-\_\-item\-\_\-append@{elm\-\_\-obj\-\_\-ctxpopup\-\_\-item\-\_\-append}!Ctxpopup@{Ctxpopup}}
\subsubsection[{elm\-\_\-obj\-\_\-ctxpopup\-\_\-item\-\_\-append}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-ctxpopup\-\_\-item\-\_\-append(
\begin{DoxyParamCaption}
\item[{}]{label, }
\item[{}]{icon, }
\item[{}]{func, }
\item[{}]{data, }
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-T\-X\-P\-O\-P\-U\-P\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-I\-T\-E\-M\-\_\-\-A\-P\-P\-E\-N\-D), 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\-\_\-\-Object $\ast$, icon), 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__Ctxpopup_gafe0076b2dc36be7d439cf3f1c511d3df}


Add a new item to a ctxpopup object. 

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

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em label} & \\
\hline
\mbox{\tt in}  & {\em icon} & \\
\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__Ctxpopup_ga6733ea1caf0c1fb5b9cc8346412948e9}{elm\-\_\-ctxpopup\-\_\-item\-\_\-append} 
\end{DoxySeeAlso}


Referenced by elm\-\_\-ctxpopup\-\_\-item\-\_\-append().



\subsection{Function Documentation}
\index{Ctxpopup@{Ctxpopup}!elm\-\_\-ctxpopup\-\_\-add@{elm\-\_\-ctxpopup\-\_\-add}}
\index{elm\-\_\-ctxpopup\-\_\-add@{elm\-\_\-ctxpopup\-\_\-add}!Ctxpopup@{Ctxpopup}}
\subsubsection[{elm\-\_\-ctxpopup\-\_\-add}]{\setlength{\rightskip}{0pt plus 5cm}Evas\-\_\-\-Object$\ast$ elm\-\_\-ctxpopup\-\_\-add (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{parent}
\end{DoxyParamCaption}
)}\label{group__Ctxpopup_gae1ad10d2c5153a5f009c23b83e71b251}


Add a new Ctxpopup object to the parent. 


\begin{DoxyParams}{Parameters}
{\em parent} & Parent object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
New object or {\ttfamily N\-U\-L\-L}, if it cannot be created 
\end{DoxyReturn}
\index{Ctxpopup@{Ctxpopup}!elm\-\_\-ctxpopup\-\_\-clear@{elm\-\_\-ctxpopup\-\_\-clear}}
\index{elm\-\_\-ctxpopup\-\_\-clear@{elm\-\_\-ctxpopup\-\_\-clear}!Ctxpopup@{Ctxpopup}}
\subsubsection[{elm\-\_\-ctxpopup\-\_\-clear}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-ctxpopup\-\_\-clear (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Ctxpopup_ga356291d6254e41e44b498536d5ab52c0}


Clear all items in the given ctxpopup object. 


\begin{DoxyParams}{Parameters}
{\em obj} & Ctxpopup object \\
\hline
\end{DoxyParams}


References elm\-\_\-obj\-\_\-ctxpopup\-\_\-clear.

\index{Ctxpopup@{Ctxpopup}!elm\-\_\-ctxpopup\-\_\-direction\-\_\-get@{elm\-\_\-ctxpopup\-\_\-direction\-\_\-get}}
\index{elm\-\_\-ctxpopup\-\_\-direction\-\_\-get@{elm\-\_\-ctxpopup\-\_\-direction\-\_\-get}!Ctxpopup@{Ctxpopup}}
\subsubsection[{elm\-\_\-ctxpopup\-\_\-direction\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}Elm\-\_\-\-Ctxpopup\-\_\-\-Direction elm\-\_\-ctxpopup\-\_\-direction\-\_\-get (
\begin{DoxyParamCaption}
\item[{const Evas\-\_\-\-Object $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Ctxpopup_ga4c707a4014fc2c06d6664c2f82bb5909}


Get the current direction of a ctxpopup. 


\begin{DoxyParams}{Parameters}
{\em obj} & Ctxpopup object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
current direction of a ctxpopup
\end{DoxyReturn}
\begin{DoxyWarning}{Warning}
Once the ctxpopup showed up, the direction would be determined 
\end{DoxyWarning}


References elm\-\_\-obj\-\_\-ctxpopup\-\_\-direction\-\_\-get.

\index{Ctxpopup@{Ctxpopup}!elm\-\_\-ctxpopup\-\_\-direction\-\_\-priority\-\_\-get@{elm\-\_\-ctxpopup\-\_\-direction\-\_\-priority\-\_\-get}}
\index{elm\-\_\-ctxpopup\-\_\-direction\-\_\-priority\-\_\-get@{elm\-\_\-ctxpopup\-\_\-direction\-\_\-priority\-\_\-get}!Ctxpopup@{Ctxpopup}}
\subsubsection[{elm\-\_\-ctxpopup\-\_\-direction\-\_\-priority\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-ctxpopup\-\_\-direction\-\_\-priority\-\_\-get (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{Elm\-\_\-\-Ctxpopup\-\_\-\-Direction $\ast$}]{first, }
\item[{Elm\-\_\-\-Ctxpopup\-\_\-\-Direction $\ast$}]{second, }
\item[{Elm\-\_\-\-Ctxpopup\-\_\-\-Direction $\ast$}]{third, }
\item[{Elm\-\_\-\-Ctxpopup\-\_\-\-Direction $\ast$}]{fourth}
\end{DoxyParamCaption}
)}\label{group__Ctxpopup_ga70efbd8ab5f09e93a8da79e3442e2c65}


Get the direction priority of a ctxpopup. 


\begin{DoxyParams}{Parameters}
{\em obj} & Ctxpopup object \\
\hline
{\em first} & 1st priority of direction to be returned \\
\hline
{\em second} & 2nd priority of direction to be returned \\
\hline
{\em third} & 3th priority of direction to be returned \\
\hline
{\em fourth} & 4th priority of direction to be returned\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Ctxpopup_ga2eb7ea656e68044c6f5674ec23648e75}{elm\-\_\-ctxpopup\-\_\-direction\-\_\-priority\-\_\-set()} for more information. 
\end{DoxySeeAlso}


References elm\-\_\-obj\-\_\-ctxpopup\-\_\-direction\-\_\-priority\-\_\-get.

\index{Ctxpopup@{Ctxpopup}!elm\-\_\-ctxpopup\-\_\-direction\-\_\-priority\-\_\-set@{elm\-\_\-ctxpopup\-\_\-direction\-\_\-priority\-\_\-set}}
\index{elm\-\_\-ctxpopup\-\_\-direction\-\_\-priority\-\_\-set@{elm\-\_\-ctxpopup\-\_\-direction\-\_\-priority\-\_\-set}!Ctxpopup@{Ctxpopup}}
\subsubsection[{elm\-\_\-ctxpopup\-\_\-direction\-\_\-priority\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-ctxpopup\-\_\-direction\-\_\-priority\-\_\-set (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{Elm\-\_\-\-Ctxpopup\-\_\-\-Direction}]{first, }
\item[{Elm\-\_\-\-Ctxpopup\-\_\-\-Direction}]{second, }
\item[{Elm\-\_\-\-Ctxpopup\-\_\-\-Direction}]{third, }
\item[{Elm\-\_\-\-Ctxpopup\-\_\-\-Direction}]{fourth}
\end{DoxyParamCaption}
)}\label{group__Ctxpopup_ga2eb7ea656e68044c6f5674ec23648e75}


Set the direction priority of a ctxpopup. 


\begin{DoxyParams}{Parameters}
{\em obj} & Ctxpopup object \\
\hline
{\em first} & 1st priority of direction \\
\hline
{\em second} & 2nd priority of direction \\
\hline
{\em third} & 3th priority of direction \\
\hline
{\em fourth} & 4th priority of direction\\
\hline
\end{DoxyParams}
This functions gives a chance to user to set the priority of ctxpopup showing direction. This doesn't guarantee the ctxpopup will appear in the requested direction.

\begin{DoxySeeAlso}{See Also}
Elm\-\_\-\-Ctxpopup\-\_\-\-Direction 
\end{DoxySeeAlso}


References elm\-\_\-obj\-\_\-ctxpopup\-\_\-direction\-\_\-priority\-\_\-set.

\index{Ctxpopup@{Ctxpopup}!elm\-\_\-ctxpopup\-\_\-horizontal\-\_\-get@{elm\-\_\-ctxpopup\-\_\-horizontal\-\_\-get}}
\index{elm\-\_\-ctxpopup\-\_\-horizontal\-\_\-get@{elm\-\_\-ctxpopup\-\_\-horizontal\-\_\-get}!Ctxpopup@{Ctxpopup}}
\subsubsection[{elm\-\_\-ctxpopup\-\_\-horizontal\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}Eina\-\_\-\-Bool elm\-\_\-ctxpopup\-\_\-horizontal\-\_\-get (
\begin{DoxyParamCaption}
\item[{const Evas\-\_\-\-Object $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Ctxpopup_ga4d12e872a5feb7fd60735bedacfb2082}


Get the value of current ctxpopup object's orientation. 


\begin{DoxyParams}{Parameters}
{\em obj} & Ctxpopup object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\-I\-N\-A\-\_\-\-T\-R\-U\-E} for horizontal mode, {\ttfamily E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} for vertical mode (or errors)
\end{DoxyReturn}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Ctxpopup_ga372922b7f2cd00b5485d889a3bb32f55}{elm\-\_\-ctxpopup\-\_\-horizontal\-\_\-set()} 
\end{DoxySeeAlso}


References elm\-\_\-obj\-\_\-ctxpopup\-\_\-horizontal\-\_\-get.

\index{Ctxpopup@{Ctxpopup}!elm\-\_\-ctxpopup\-\_\-horizontal\-\_\-set@{elm\-\_\-ctxpopup\-\_\-horizontal\-\_\-set}}
\index{elm\-\_\-ctxpopup\-\_\-horizontal\-\_\-set@{elm\-\_\-ctxpopup\-\_\-horizontal\-\_\-set}!Ctxpopup@{Ctxpopup}}
\subsubsection[{elm\-\_\-ctxpopup\-\_\-horizontal\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-ctxpopup\-\_\-horizontal\-\_\-set (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{Eina\-\_\-\-Bool}]{horizontal}
\end{DoxyParamCaption}
)}\label{group__Ctxpopup_ga372922b7f2cd00b5485d889a3bb32f55}


Change the ctxpopup's orientation to horizontal or vertical. 


\begin{DoxyParams}{Parameters}
{\em obj} & Ctxpopup object \\
\hline
{\em horizontal} & {\ttfamily E\-I\-N\-A\-\_\-\-T\-R\-U\-E} for horizontal mode, {\ttfamily E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} for vertical \\
\hline
\end{DoxyParams}


References elm\-\_\-obj\-\_\-ctxpopup\-\_\-horizontal\-\_\-set.

\index{Ctxpopup@{Ctxpopup}!elm\-\_\-ctxpopup\-\_\-hover\-\_\-parent\-\_\-get@{elm\-\_\-ctxpopup\-\_\-hover\-\_\-parent\-\_\-get}}
\index{elm\-\_\-ctxpopup\-\_\-hover\-\_\-parent\-\_\-get@{elm\-\_\-ctxpopup\-\_\-hover\-\_\-parent\-\_\-get}!Ctxpopup@{Ctxpopup}}
\subsubsection[{elm\-\_\-ctxpopup\-\_\-hover\-\_\-parent\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}Evas\-\_\-\-Object$\ast$ elm\-\_\-ctxpopup\-\_\-hover\-\_\-parent\-\_\-get (
\begin{DoxyParamCaption}
\item[{const Evas\-\_\-\-Object $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Ctxpopup_ga5bce68db86e1638c2d7633f6320c3c17}


Get the Ctxpopup's parent. 


\begin{DoxyParams}{Parameters}
{\em obj} & The ctxpopup object\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Ctxpopup_ga144ecf975bce61dcf3a65bf9ee056489}{elm\-\_\-ctxpopup\-\_\-hover\-\_\-parent\-\_\-set()} for more information 
\end{DoxySeeAlso}


References elm\-\_\-obj\-\_\-ctxpopup\-\_\-hover\-\_\-parent\-\_\-get.

\index{Ctxpopup@{Ctxpopup}!elm\-\_\-ctxpopup\-\_\-hover\-\_\-parent\-\_\-set@{elm\-\_\-ctxpopup\-\_\-hover\-\_\-parent\-\_\-set}}
\index{elm\-\_\-ctxpopup\-\_\-hover\-\_\-parent\-\_\-set@{elm\-\_\-ctxpopup\-\_\-hover\-\_\-parent\-\_\-set}!Ctxpopup@{Ctxpopup}}
\subsubsection[{elm\-\_\-ctxpopup\-\_\-hover\-\_\-parent\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-ctxpopup\-\_\-hover\-\_\-parent\-\_\-set (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{Evas\-\_\-\-Object $\ast$}]{parent}
\end{DoxyParamCaption}
)}\label{group__Ctxpopup_ga144ecf975bce61dcf3a65bf9ee056489}


Set the Ctxpopup's parent. 


\begin{DoxyParams}{Parameters}
{\em obj} & The ctxpopup object \\
\hline
{\em parent} & The parent to use\\
\hline
\end{DoxyParams}
Set the parent object.

\begin{DoxyNote}{Note}
\hyperlink{group__Ctxpopup_gae1ad10d2c5153a5f009c23b83e71b251}{elm\-\_\-ctxpopup\-\_\-add()} will automatically call this function with its {\ttfamily parent} argument.
\end{DoxyNote}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Ctxpopup_gae1ad10d2c5153a5f009c23b83e71b251}{elm\-\_\-ctxpopup\-\_\-add()} 

\hyperlink{group__Hover_ga816c57f831e81de55492c0bddc3e59a9}{elm\-\_\-hover\-\_\-parent\-\_\-set()} 
\end{DoxySeeAlso}


References elm\-\_\-obj\-\_\-ctxpopup\-\_\-hover\-\_\-parent\-\_\-set.

\index{Ctxpopup@{Ctxpopup}!elm\-\_\-ctxpopup\-\_\-item\-\_\-append@{elm\-\_\-ctxpopup\-\_\-item\-\_\-append}}
\index{elm\-\_\-ctxpopup\-\_\-item\-\_\-append@{elm\-\_\-ctxpopup\-\_\-item\-\_\-append}!Ctxpopup@{Ctxpopup}}
\subsubsection[{elm\-\_\-ctxpopup\-\_\-item\-\_\-append}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Elm\-\_\-\-Object\-\_\-\-Item}$\ast$ elm\-\_\-ctxpopup\-\_\-item\-\_\-append (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{const char $\ast$}]{label, }
\item[{Evas\-\_\-\-Object $\ast$}]{icon, }
\item[{Evas\-\_\-\-Smart\-\_\-\-Cb}]{func, }
\item[{const void $\ast$}]{data}
\end{DoxyParamCaption}
)}\label{group__Ctxpopup_ga6733ea1caf0c1fb5b9cc8346412948e9}


Add a new item to a ctxpopup object. 


\begin{DoxyParams}{Parameters}
{\em obj} & Ctxpopup object \\
\hline
{\em icon} & Icon to be set on new item \\
\hline
{\em label} & The Label of the new item \\
\hline
{\em func} & Convenience function called when item selected \\
\hline
{\em data} & Data passed to {\ttfamily func} \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A handle to the item added or {\ttfamily N\-U\-L\-L}, on errors
\end{DoxyReturn}
\begin{DoxyWarning}{Warning}
Ctxpopup can't hold both an item list and a content at the same time. When an item is added, any previous content will be removed.
\end{DoxyWarning}
\begin{DoxySeeAlso}{See Also}
elm\-\_\-object\-\_\-content\-\_\-set() 
\end{DoxySeeAlso}


References elm\-\_\-obj\-\_\-ctxpopup\-\_\-item\-\_\-append.

