\section{Flip}
\label{group__Flip}\index{Flip@{Flip}}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
Evas\+\_\+\+Object $\ast$ \hyperlink{group__Flip_ga938d30627914e0c9460b075ecf7212bc}{elm\+\_\+flip\+\_\+add} (Evas\+\_\+\+Object $\ast$parent)
\begin{DoxyCompactList}\small\item\em Add a new flip to the parent. \end{DoxyCompactList}\item 
void \hyperlink{group__Flip_ga685c02173b37e1f12a602ef52aa90e85}{elm\+\_\+flip\+\_\+perspective\+\_\+set} (Evas\+\_\+\+Object $\ast$obj, Evas\+\_\+\+Coord foc, Evas\+\_\+\+Coord x, Evas\+\_\+\+Coord y)
\begin{DoxyCompactList}\small\item\em Set flip perspective. \end{DoxyCompactList}\end{DoxyCompactItemize}


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


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


This widget holds 2 content objects(\+Evas\+\_\+\+Object)\+: one on the front and one on the back. It allows you to flip from front to back and vice-\/versa using various animations.

If either the front or back contents are not set the flip will treat that as transparent. So if you wore to set the front content but not the back, and then call elm\+\_\+flip\+\_\+go() you would see whatever is below the flip.

For a list of supported animations see elm\+\_\+flip\+\_\+go().

Signals that you can add callbacks for are\+: \char`\"{}animate,begin\char`\"{} -\/ when a flip animation was started \char`\"{}animate,done\char`\"{} -\/ when a flip animation is finished

Default content parts of the flip widget that you can use for are\+: \begin{DoxyItemize}
\item \char`\"{}front\char`\"{} -\/ A front content of the flip \item \char`\"{}back\char`\"{} -\/ A back content of the flip\end{DoxyItemize}
This widget inherits from \hyperlink{group__Widget_elm-container-class}{The Elementary Container Class}, so that the functions meant to act on it will work for mapbuf objects\+:

\begin{DoxyItemize}
\item \hyperlink{group__General_ga0531ec8867c72def7c780601764ca642}{elm\+\_\+object\+\_\+part\+\_\+content\+\_\+set} \item \hyperlink{group__General_ga32413f4d59d8232cd362a922a281abf1}{elm\+\_\+object\+\_\+part\+\_\+content\+\_\+get} \item \hyperlink{group__General_gadc5a1df25fe17e31739841133b53b5fc}{elm\+\_\+object\+\_\+part\+\_\+content\+\_\+unset}\end{DoxyItemize}
\hyperlink{tutorial_flip}{Flip example} show how to use most of the A\+P\+I. 

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


Add a new flip to the parent. 


\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}
\index{Flip@{Flip}!elm\+\_\+flip\+\_\+perspective\+\_\+set@{elm\+\_\+flip\+\_\+perspective\+\_\+set}}
\index{elm\+\_\+flip\+\_\+perspective\+\_\+set@{elm\+\_\+flip\+\_\+perspective\+\_\+set}!Flip@{Flip}}
\subsubsection[{elm\+\_\+flip\+\_\+perspective\+\_\+set(\+Evas\+\_\+\+Object $\ast$obj, Evas\+\_\+\+Coord foc, Evas\+\_\+\+Coord x, Evas\+\_\+\+Coord y)}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+flip\+\_\+perspective\+\_\+set (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{obj, }
\item[{Evas\+\_\+\+Coord}]{foc, }
\item[{Evas\+\_\+\+Coord}]{x, }
\item[{Evas\+\_\+\+Coord}]{y}
\end{DoxyParamCaption}
)}\label{group__Flip_ga685c02173b37e1f12a602ef52aa90e85}


Set flip perspective. 


\begin{DoxyParams}{Parameters}
{\em obj} & The flip object \\
\hline
{\em foc} & The coordinate to set the focus on \\
\hline
{\em x} & The X coordinate \\
\hline
{\em y} & The Y coordinate\\
\hline
\end{DoxyParams}
\begin{DoxyWarning}{Warning}
This function currently does nothing. 
\end{DoxyWarning}
