\section{Flip Selector}
\label{group__Flipselector}\index{Flip Selector@{Flip Selector}}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
Evas\+\_\+\+Object $\ast$ \hyperlink{group__Flipselector_gaffabf9e37915526cbbe8ac2621eeee8a}{elm\+\_\+flipselector\+\_\+add} (Evas\+\_\+\+Object $\ast$parent)
\begin{DoxyCompactList}\small\item\em Add a new flip selector widget to the given parent Elementary (container) widget. \end{DoxyCompactList}\end{DoxyCompactItemize}


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


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


A flip selector is a widget to show a set of {\bfseries text} items, one at a time, with the same sheet switching style as the \hyperlink{group__Clock}{clock} widget, when one changes the current displaying sheet (thus, the \char`\"{}flip\char`\"{} in the name).

User clicks to flip sheets which are {\bfseries held} for some time will make the flip selector to flip continuously and automatically for the user. The interval between flips will keep growing in time, so that it helps the user to reach an item which is distant from the current selection.

This widget inherits from the \hyperlink{group__Layout}{Layout} one, so that all the functions acting on it also work for flip selector objects.

This widget emits the following signals, besides the ones sent from Layout\+:
\begin{DoxyItemize}
\item {\ttfamily \char`\"{}selected\char`\"{}} -\/ when the widget\textquotesingle{}s selected text item is changed. The {\ttfamily event\+\_\+info} parameter is the item that was selected.
\item {\ttfamily \char`\"{}overflowed\char`\"{}} -\/ when the widget\textquotesingle{}s current selection is changed from the first item in its list to the last
\item {\ttfamily \char`\"{}underflowed\char`\"{}} -\/ when the widget\textquotesingle{}s current selection is changed from the last item in its list to the first
\item {\ttfamily \char`\"{}focused\char`\"{}} -\/ When the flip selector has received focus. (since 1.\+8)
\item {\ttfamily \char`\"{}unfocused\char`\"{}} -\/ When the flip selector has lost focus. (since 1.\+8)
\item {\ttfamily \char`\"{}language,changed\char`\"{}} -\/ the program\textquotesingle{}s language changed (since 1.\+9)
\end{DoxyItemize}

Available styles for it\+:
\begin{DoxyItemize}
\item {\ttfamily \char`\"{}default\char`\"{}} 
\end{DoxyItemize}

Default text parts of the flipselector items that you can use for are\+: \begin{DoxyItemize}
\item \char`\"{}default\char`\"{} -\/ A label of the flipselector item\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 elm\+\_\+object\+\_\+item\+\_\+del \item elm\+\_\+object\+\_\+item\+\_\+part\+\_\+text\+\_\+set \item elm\+\_\+object\+\_\+item\+\_\+part\+\_\+text\+\_\+get \item elm\+\_\+object\+\_\+item\+\_\+signal\+\_\+emit\end{DoxyItemize}
Here is an example on its usage\+: \begin{DoxyItemize}
\item \hyperlink{flipselector_example}{Flip selector widget example} \end{DoxyItemize}


\subsection{Function Documentation}
\index{Flip Selector@{Flip Selector}!elm\+\_\+flipselector\+\_\+add@{elm\+\_\+flipselector\+\_\+add}}
\index{elm\+\_\+flipselector\+\_\+add@{elm\+\_\+flipselector\+\_\+add}!Flip Selector@{Flip Selector}}
\subsubsection[{\texorpdfstring{elm\+\_\+flipselector\+\_\+add(\+Evas\+\_\+\+Object $\ast$parent)}{elm_flipselector_add(Evas_Object *parent)}}]{\setlength{\rightskip}{0pt plus 5cm}Evas\+\_\+\+Object$\ast$ elm\+\_\+flipselector\+\_\+add (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{parent}
\end{DoxyParamCaption}
)}\label{group__Flipselector_gaffabf9e37915526cbbe8ac2621eeee8a}


Add a new flip selector widget to the given parent Elementary (container) widget. 


\begin{DoxyParams}{Parameters}
{\em parent} & The parent object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
a new flip selector widget handle or {\ttfamily N\+U\+LL}, on errors
\end{DoxyReturn}
This function inserts a new flip selector widget on the canvas. 