\hypertarget{group__Elm__Panes}{}\doxysection{Panes}
\label{group__Elm__Panes}\index{Panes@{Panes}}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$ \mbox{\hyperlink{group__Elm__Panes_gaa4d51c6b525408873cb867485b80f35b}{elm\+\_\+panes\+\_\+add}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\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}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\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 \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get how to split and dispose each content. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{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 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 \mbox{\hyperlink{group__Elm__General_ga0531ec8867c72def7c780601764ca642}{elm\+\_\+object\+\_\+part\+\_\+content\+\_\+set}} \item \mbox{\hyperlink{group__Elm__General_ga32413f4d59d8232cd362a922a281abf1}{elm\+\_\+object\+\_\+part\+\_\+content\+\_\+get}} \item \mbox{\hyperlink{group__Elm__General_gadc5a1df25fe17e31739841133b53b5fc}{elm\+\_\+object\+\_\+part\+\_\+content\+\_\+unset}}\end{DoxyItemize}
Here is an example on its usage\+: \begin{DoxyItemize}
\item \mbox{\hyperlink{panes_example}{Panes widget example}} \end{DoxyItemize}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__Elm__Panes_gaa4d51c6b525408873cb867485b80f35b}\label{group__Elm__Panes_gaa4d51c6b525408873cb867485b80f35b}} 
\index{Panes@{Panes}!elm\_panes\_add@{elm\_panes\_add}}
\index{elm\_panes\_add@{elm\_panes\_add}!Panes@{Panes}}
\doxysubsubsection{\texorpdfstring{elm\_panes\_add()}{elm\_panes\_add()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}}$\ast$ elm\+\_\+panes\+\_\+add (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\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 N\+U\+LL}, on errors.
\end{DoxyReturn}
This function inserts a new panes widget on the canvas. 

References E\+I\+N\+A\+\_\+\+S\+A\+F\+E\+T\+Y\+\_\+\+O\+N\+\_\+\+N\+U\+L\+L\+\_\+\+R\+E\+T\+U\+R\+N\+\_\+\+V\+AL.

\mbox{\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}}
\doxysubsubsection{\texorpdfstring{elm\_panes\_horizontal\_set()}{elm\_panes\_horizontal\_set()}}
{\footnotesize\ttfamily void elm\+\_\+panes\+\_\+horizontal\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\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 \char`\"{}top\char`\"{} and \char`\"{}bottom\char`\"{} contents, vertical panes have \char`\"{}left\char`\"{} and \char`\"{}right\char`\"{} 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 (\char`\"{}top\char`\"{} and \char`\"{}bottom\char`\"{} contents). {\ttfamily false} to make it vertically (\char`\"{}left\char`\"{} and \char`\"{}right\char`\"{} contents). \\
\hline
\end{DoxyParams}
\mbox{\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}}
\doxysubsubsection{\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 \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\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 \char`\"{}top\char`\"{} and \char`\"{}bottom\char`\"{} contents, vertical panes have \char`\"{}left\char`\"{} and \char`\"{}right\char`\"{} contents.

By default panes is in a vertical mode.

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


References E\+I\+N\+A\+\_\+\+F\+A\+L\+SE, and E\+I\+N\+A\+\_\+\+T\+R\+UE.

