\section{Panes}
\label{group__Panes}\index{Panes@{Panes}}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
Evas\+\_\+\+Object $\ast$ \hyperlink{group__Panes_gaa4d51c6b525408873cb867485b80f35b}{elm\+\_\+panes\+\_\+add} (Evas\+\_\+\+Object $\ast$parent)
\begin{DoxyCompactList}\small\item\em Add a new panes widget to the given parent Elementary (container) object. \end{DoxyCompactList}\end{DoxyCompactItemize}


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


 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics[width=\textwidth]{img/widget/panes/preview-00}}
\end{DoxyImageNoCaption}


 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics[width=\textwidth]{panes}}
\end{DoxyImageNoCaption}


The panes widget adds a draggable bar between two contents. When dragged this bar will resize contents\textquotesingle{} size.

Panes can be split vertically or horizontally, and contents size proportion can be customized (homogeneous by default).

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

This widget emits the following signals, besides the ones sent from Layout\+:
\begin{DoxyItemize}
\item {\ttfamily \char`\"{}press\char`\"{}} -\/ The panes has been pressed (button wasn\textquotesingle{}t released yet).
\item {\ttfamily \char`\"{}unpress\char`\"{}} -\/ The panes was released after being pressed.
\item {\ttfamily \char`\"{}clicked\char`\"{}} -\/ The panes has been clicked$>$
\item {\ttfamily \char`\"{}clicked,double\char`\"{}} -\/ The panes has been double clicked
\end{DoxyItemize}

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

Default content parts of the panes widget that you can use are\+: \begin{DoxyItemize}
\item \char`\"{}left\char`\"{} -\/ A leftside content of the panes \item \char`\"{}right\char`\"{} -\/ A rightside content of the panes \item \char`\"{}top\char`\"{} -\/ A top content of the vertical panes \item \char`\"{}bottom\char`\"{} -\/ A bottom content of the vertical panes\end{DoxyItemize}
If panes are displayed vertically, left content will be displayed on top.

Supported elm\+\_\+object common A\+P\+Is. \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}
Here is an example on its usage\+: \begin{DoxyItemize}
\item \hyperlink{panes_example}{Panes widget example} \end{DoxyItemize}


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


Add a new panes widget to the given parent Elementary (container) object. 


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