\section{Panel}
\label{group__Panel}\index{Panel@{Panel}}


A panel is an animated side-\/panel that contains a sub-\/object. It can be expanded or contracted by clicking the button on its edge.  


\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{struct__Elm__Panel__Scroll__Info}{\+\_\+\+Elm\+\_\+\+Panel\+\_\+\+Scroll\+\_\+\+Info}
\begin{DoxyCompactList}\small\item\em Panel scroll information. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \hyperlink{struct__Elm__Panel__Scroll__Info}{\+\_\+\+Elm\+\_\+\+Panel\+\_\+\+Scroll\+\_\+\+Info} \hyperlink{group__Panel_gaf7a607f9365a9213b2a5314496d19ee2}{Elm\+\_\+\+Panel\+\_\+\+Scroll\+\_\+\+Info}
\begin{DoxyCompactList}\small\item\em Panel scroll information. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
Evas\+\_\+\+Object $\ast$ \hyperlink{group__Panel_ga952990e3a7e7b13a9dab33f189de0783}{elm\+\_\+panel\+\_\+add} (Evas\+\_\+\+Object $\ast$parent)
\begin{DoxyCompactList}\small\item\em Adds a panel object. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
A panel is an animated side-\/panel that contains a sub-\/object. It can be expanded or contracted by clicking the button on its edge. 

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


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


Orientations are as follows\+: \begin{DoxyItemize}
\item \#\+E\+L\+M\+\_\+\+P\+A\+N\+E\+L\+\_\+\+O\+R\+I\+E\+N\+T\+\_\+\+T\+O\+P \item \#\+E\+L\+M\+\_\+\+P\+A\+N\+E\+L\+\_\+\+O\+R\+I\+E\+N\+T\+\_\+\+L\+E\+F\+T \item \#\+E\+L\+M\+\_\+\+P\+A\+N\+E\+L\+\_\+\+O\+R\+I\+E\+N\+T\+\_\+\+R\+I\+G\+H\+T \item \#\+E\+L\+M\+\_\+\+P\+A\+N\+E\+L\+\_\+\+O\+R\+I\+E\+N\+T\+\_\+\+B\+O\+T\+T\+O\+M\end{DoxyItemize}
This widget inherits from the \hyperlink{group__Layout}{Layout} one, so that all the functions acting on it also work for panel objects (since 1.\+8).

This widget emits the following signals, besides the ones sent from Layout\+: \begin{DoxyItemize}
\item {\ttfamily \char`\"{}scroll\char`\"{}} \+: When the content has been scrolled (moved). (since 1.\+10) This signal is emitted only when the panel is scrollable. Elm\+\_\+\+Panel\+\_\+\+Scroll\+\_\+\+Info will be passed by {\ttfamily event\+\_\+info} argument. \item {\ttfamily \char`\"{}focused\char`\"{}} \+: When the panel has received focus. (since 1.\+8) \item {\ttfamily \char`\"{}unfocused\char`\"{}} \+: When the panel has lost focus. (since 1.\+8)\end{DoxyItemize}
Default content parts of the panel widget that you can use are\+: \begin{DoxyItemize}
\item {\ttfamily \char`\"{}default\char`\"{}} -\/ A content of the panel\end{DoxyItemize}
\hyperlink{tutorial_panel}{Panel example} shows one way to use this widget. 

\subsection{Typedef Documentation}
\index{Panel@{Panel}!Elm\+\_\+\+Panel\+\_\+\+Scroll\+\_\+\+Info@{Elm\+\_\+\+Panel\+\_\+\+Scroll\+\_\+\+Info}}
\index{Elm\+\_\+\+Panel\+\_\+\+Scroll\+\_\+\+Info@{Elm\+\_\+\+Panel\+\_\+\+Scroll\+\_\+\+Info}!Panel@{Panel}}
\subsubsection[{Elm\+\_\+\+Panel\+\_\+\+Scroll\+\_\+\+Info}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf \+\_\+\+Elm\+\_\+\+Panel\+\_\+\+Scroll\+\_\+\+Info} {\bf Elm\+\_\+\+Panel\+\_\+\+Scroll\+\_\+\+Info}}\label{group__Panel_gaf7a607f9365a9213b2a5314496d19ee2}


Panel scroll information. 

\begin{DoxySince}{Since}
1.\+11 
\end{DoxySince}


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


Adds a panel object. 


\begin{DoxyParams}{Parameters}
{\em parent} & The parent object\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The panel object, or N\+U\+L\+L on failure 
\end{DoxyReturn}
