\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_ga21897aa717a553c6b34f79c2c5c7325e}{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 \mbox{\hyperlink{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 \mbox{\hyperlink{group__Elm__Layout}{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\texorpdfstring{$>$}{>}
\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 APIs. \begin{DoxyItemize}
\item \mbox{\hyperlink{group__Elm__General_ga0531ec8867c72def7c780601764ca642}{elm\+\_\+object\+\_\+part\+\_\+content\+\_\+set}} \item \mbox{\hyperlink{group__Elm__General_ga86b0088bbf018964a980f56e02ee2248}{elm\+\_\+object\+\_\+part\+\_\+content\+\_\+get}} \item \mbox{\hyperlink{group__Elm__General_ga73862b640f3f362a130c2824ef570046}{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_ga21897aa717a553c6b34f79c2c5c7325e}\label{group__Elm__Panes_ga21897aa717a553c6b34f79c2c5c7325e}} 
\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 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}}.

\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 \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

