\section{Hoversel}
\label{group__Hoversel}\index{Hoversel@{Hoversel}}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
Evas\+\_\+\+Object $\ast$ \hyperlink{group__Hoversel_ga29e3a4b0e5216857ee2943063f7473e5}{elm\+\_\+hoversel\+\_\+add} (Evas\+\_\+\+Object $\ast$parent)
\begin{DoxyCompactList}\small\item\em Add a new Hoversel object. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics[width=\textwidth,height=\textheight/2,keepaspectratio=true]{hoversel_inheritance_tree}}
\end{DoxyImageNoCaption}


 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics[width=\textwidth,height=\textheight/2,keepaspectratio=true]{img/widget/hoversel/preview-00}}
\end{DoxyImageNoCaption}


A hoversel is a button that pops up a list of items (automatically choosing the direction to display) that have a label and, optionally, an icon to select from. It is a convenience widget to avoid the need to do all the piecing together yourself. It is intended for a small number of items in the hoversel menu (no more than 8), though is capable of many more.

This widget inherits from the \hyperlink{group__Button}{Button} one, so that all the functions acting on it also work for hoversel objects.

This widget emits the following signals, besides the ones sent from Button\+:
\begin{DoxyItemize}
\item {\ttfamily \char`\"{}clicked\char`\"{}} -\/ the user clicked the hoversel button and popped up the sel
\item {\ttfamily \char`\"{}selected\char`\"{}} -\/ an item in the hoversel list is selected. event\+\_\+info is the selected item
\item {\ttfamily \char`\"{}dismissed\char`\"{}} -\/ the hover is dismissed
\item {\ttfamily \char`\"{}expanded\char`\"{}} -\/ This is called on clicking hoversel and elm\+\_\+hoversel\+\_\+hover\+\_\+begin().
\item {\ttfamily \char`\"{}language,changed\char`\"{}} -\/ the program\textquotesingle{}s language changed (since 1.\+9)
\item {\ttfamily \char`\"{}item,focused\char`\"{}} -\/ When the hoversel item has received focus. (since 1.\+10)
\item {\ttfamily \char`\"{}item,unfocused\char`\"{}} -\/ When the hoversel item has lost focus. (since 1.\+10)
\end{DoxyItemize}

Default content parts of the hoversel widget that you can use for are\+: \begin{DoxyItemize}
\item \char`\"{}icon\char`\"{} -\/ An icon of the hoversel\end{DoxyItemize}
Default text parts of the hoversel widget that you can use for are\+: \begin{DoxyItemize}
\item \char`\"{}default\char`\"{} -\/ A label of the hoversel\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} \item \hyperlink{group__General_ga9c088563c442670796564d2e5158f154}{elm\+\_\+object\+\_\+part\+\_\+text\+\_\+set} \item \hyperlink{group__General_ga965e34858eb4b80b7a4b5feda732bf27}{elm\+\_\+object\+\_\+part\+\_\+text\+\_\+get} \item \hyperlink{group__General_ga0531ec8867c72def7c780601764ca642}{elm\+\_\+object\+\_\+part\+\_\+content\+\_\+set} \item \hyperlink{group__General_gadc5a1df25fe17e31739841133b53b5fc}{elm\+\_\+object\+\_\+part\+\_\+content\+\_\+unset}\end{DoxyItemize}
Supported elm\+\_\+object\+\_\+item common A\+P\+Is. \begin{DoxyItemize}
\item elm\+\_\+object\+\_\+item\+\_\+del \item elm\+\_\+object\+\_\+item\+\_\+part\+\_\+text\+\_\+get \item elm\+\_\+object\+\_\+item\+\_\+signal\+\_\+emit -\/ this works only when the item is created. \item elm\+\_\+object\+\_\+item\+\_\+style\+\_\+set -\/ this works only when the item is created. \item elm\+\_\+object\+\_\+item\+\_\+style\+\_\+get -\/ this works only when the item is created. \item elm\+\_\+object\+\_\+item\+\_\+focus\+\_\+set -\/ this works only when the item is created. \item elm\+\_\+object\+\_\+item\+\_\+focus\+\_\+get -\/ this works only when the item is created.\end{DoxyItemize}
See \hyperlink{tutorial_hoversel}{Hoversel example} for an example. 

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


Add a new Hoversel object. 


\begin{DoxyParams}{Parameters}
{\em parent} & The parent object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The new object or N\+U\+L\+L if it cannot be created 
\end{DoxyReturn}
