\doxysubsection{Panes}
\hypertarget{group__Elm__Panes}{}\label{group__Elm__Panes}\index{Panes@{Panes}}
\doxysubsubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
Evas\+\_\+\+Object \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{group__Elm__Panes_ga21897aa717a553c6b34f79c2c5c7325e}{elm\+\_\+panes\+\_\+add}} (Evas\+\_\+\+Object \texorpdfstring{$\ast$}{*}parent)
\begin{DoxyCompactList}\small\item\em Add a new panes widget to the given parent Elementary (container) object. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__Panes_gabb2bcec90bebe89dc77de7c630a8908c}{elm\+\_\+panes\+\_\+horizontal\+\_\+set}} (Evas\+\_\+\+Object \texorpdfstring{$\ast$}{*}obj, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} horizontal)
\begin{DoxyCompactList}\small\item\em Set how to split and dispose each content. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elm__Panes_ga02c6e167973144e39037e60b25eaf32c}{elm\+\_\+panes\+\_\+horizontal\+\_\+get}} (const Evas\+\_\+\+Object \texorpdfstring{$\ast$}{*}obj)
\begin{DoxyCompactList}\small\item\em Get how to split and dispose each content. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsubsection{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 \doxylink{group__Elm__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 \doxylink{group__Elm__Layout}{Layout} \+:
\begin{DoxyItemize}
\item {\ttfamily "{}press"{}} -\/ The panes has been pressed (button wasn\textquotesingle{}t released yet).
\item {\ttfamily "{}unpress"{}} -\/ The panes was released after being pressed.
\item {\ttfamily "{}clicked"{}} -\/ The panes has been clicked\texorpdfstring{$>$}{>}
\item {\ttfamily "{}clicked,double"{}} -\/ The panes has been double clicked
\end{DoxyItemize}

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

Default content parts of the panes widget that you can use are\+: \begin{DoxyItemize}
\item "{}left"{} -\/ A leftside content of the panes \item "{}right"{} -\/ A rightside content of the panes \item "{}top"{} -\/ A top content of the vertical panes \item "{}bottom"{} -\/ 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 APIs. \begin{DoxyItemize}
\item \doxylink{group__Elm__General_ga0531ec8867c72def7c780601764ca642}{elm\+\_\+object\+\_\+part\+\_\+content\+\_\+set} \item \doxylink{group__Elm__General_ga86b0088bbf018964a980f56e02ee2248}{elm\+\_\+object\+\_\+part\+\_\+content\+\_\+get} \item \doxylink{group__Elm__General_ga73862b640f3f362a130c2824ef570046}{elm\+\_\+object\+\_\+part\+\_\+content\+\_\+unset}\end{DoxyItemize}
Here is an example on its usage\+: \begin{DoxyItemize}
\item \doxysectlink{panes_example}{Panes widget example}{0} \end{DoxyItemize}


\doxysubsubsection{Function Documentation}
\Hypertarget{group__Elm__Panes_ga21897aa717a553c6b34f79c2c5c7325e}\label{group__Elm__Panes_ga21897aa717a553c6b34f79c2c5c7325e} 
\index{Panes@{Panes}!elm\_panes\_add@{elm\_panes\_add}}
\index{elm\_panes\_add@{elm\_panes\_add}!Panes@{Panes}}
\doxysubsubsubsection{\texorpdfstring{elm\_panes\_add()}{elm\_panes\_add()}}
{\footnotesize\ttfamily Evas\+\_\+\+Object \texorpdfstring{$\ast$}{*} elm\+\_\+panes\+\_\+add (\begin{DoxyParamCaption}\item[{Evas\+\_\+\+Object \texorpdfstring{$\ast$}{*}}]{parent }\end{DoxyParamCaption})}



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 NULL}, on errors.
\end{DoxyReturn}
This function inserts a new panes widget on the canvas. 

References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.

\Hypertarget{group__Elm__Panes_gabb2bcec90bebe89dc77de7c630a8908c}\label{group__Elm__Panes_gabb2bcec90bebe89dc77de7c630a8908c} 
\index{Panes@{Panes}!elm\_panes\_horizontal\_set@{elm\_panes\_horizontal\_set}}
\index{elm\_panes\_horizontal\_set@{elm\_panes\_horizontal\_set}!Panes@{Panes}}
\doxysubsubsubsection{\texorpdfstring{elm\_panes\_horizontal\_set()}{elm\_panes\_horizontal\_set()}}
{\footnotesize\ttfamily void elm\+\_\+panes\+\_\+horizontal\+\_\+set (\begin{DoxyParamCaption}\item[{Evas\+\_\+\+Object \texorpdfstring{$\ast$}{*}}]{obj,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}}]{horizontal }\end{DoxyParamCaption})}



Set how to split and dispose each content. 

Use this function to change how your panes is to be disposed\+: vertically or horizontally. Horizontal panes have "{}top"{} and "{}bottom"{} contents, vertical panes have "{}left"{} and "{}right"{} contents.

By default panes is in a vertical mode.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em horizontal} & Use {\ttfamily true} to make {\ttfamily obj} to split panes horizontally ("{}top"{} and "{}bottom"{} contents). {\ttfamily false} to make it vertically ("{}left"{} and "{}right"{} contents). \\
\hline
\end{DoxyParams}
\Hypertarget{group__Elm__Panes_ga02c6e167973144e39037e60b25eaf32c}\label{group__Elm__Panes_ga02c6e167973144e39037e60b25eaf32c} 
\index{Panes@{Panes}!elm\_panes\_horizontal\_get@{elm\_panes\_horizontal\_get}}
\index{elm\_panes\_horizontal\_get@{elm\_panes\_horizontal\_get}!Panes@{Panes}}
\doxysubsubsubsection{\texorpdfstring{elm\_panes\_horizontal\_get()}{elm\_panes\_horizontal\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+panes\+\_\+horizontal\+\_\+get (\begin{DoxyParamCaption}\item[{const Evas\+\_\+\+Object \texorpdfstring{$\ast$}{*}}]{obj }\end{DoxyParamCaption})}



Get how to split and dispose each content. 

Use this function to change how your panes is to be disposed\+: vertically or horizontally. Horizontal panes have "{}top"{} and "{}bottom"{} contents, vertical panes have "{}left"{} and "{}right"{} contents.

By default panes is in a vertical mode.

\begin{DoxyReturn}{Returns}
Use {\ttfamily true} to make {\ttfamily obj} to split panes horizontally ("{}top"{} and "{}bottom"{} contents). {\ttfamily false} to make it vertically ("{}left"{} and "{}right"{} contents). 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

