\section{Grid}
\label{group__Grid}\index{Grid@{Grid}}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
Evas\+\_\+\+Object $\ast$ \hyperlink{group__Grid_gaa8565065c71ff7e912dbc7ad7eb0c9c2}{elm\+\_\+grid\+\_\+add} (Evas\+\_\+\+Object $\ast$parent)
\begin{DoxyCompactList}\small\item\em Add a new grid to the parent. \end{DoxyCompactList}\item 
void \hyperlink{group__Grid_ga11d201a53dbf5571da65eb7baebf4c19}{elm\+\_\+grid\+\_\+pack\+\_\+set} (Evas\+\_\+\+Object $\ast$subobj, Evas\+\_\+\+Coord x, Evas\+\_\+\+Coord y, Evas\+\_\+\+Coord w, Evas\+\_\+\+Coord h)
\begin{DoxyCompactList}\small\item\em Set packing of an existing child at to position and size. \end{DoxyCompactList}\item 
void \hyperlink{group__Grid_ga80fe9ae4c312ebdfe39b64a59c3a4641}{elm\+\_\+grid\+\_\+pack\+\_\+get} (Evas\+\_\+\+Object $\ast$subobj, Evas\+\_\+\+Coord $\ast$x, Evas\+\_\+\+Coord $\ast$y, Evas\+\_\+\+Coord $\ast$w, Evas\+\_\+\+Coord $\ast$h)
\begin{DoxyCompactList}\small\item\em Get packing of a child. \end{DoxyCompactList}\end{DoxyCompactItemize}


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


The grid is a grid layout widget that lays out a series of children as a fixed \char`\"{}grid\char`\"{} of widgets using a given percentage of the grid width and height each using the child object.

The Grid uses a \char`\"{}\+Virtual resolution\char`\"{} that is stretched to fill the grid widgets size itself. The default is 100 x 100, so that means the position and sizes of children will effectively be percentages (0 to 100) of the width or height of the grid widget 

\subsection{Function Documentation}
\index{Grid@{Grid}!elm\+\_\+grid\+\_\+add@{elm\+\_\+grid\+\_\+add}}
\index{elm\+\_\+grid\+\_\+add@{elm\+\_\+grid\+\_\+add}!Grid@{Grid}}
\subsubsection[{\texorpdfstring{elm\+\_\+grid\+\_\+add(\+Evas\+\_\+\+Object $\ast$parent)}{elm_grid_add(Evas_Object *parent)}}]{\setlength{\rightskip}{0pt plus 5cm}Evas\+\_\+\+Object$\ast$ elm\+\_\+grid\+\_\+add (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{parent}
\end{DoxyParamCaption}
)}\label{group__Grid_gaa8565065c71ff7e912dbc7ad7eb0c9c2}


Add a new grid to the parent. 


\begin{DoxyParams}{Parameters}
{\em parent} & The parent object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The new object or N\+U\+LL if it cannot be created 
\end{DoxyReturn}
\index{Grid@{Grid}!elm\+\_\+grid\+\_\+pack\+\_\+get@{elm\+\_\+grid\+\_\+pack\+\_\+get}}
\index{elm\+\_\+grid\+\_\+pack\+\_\+get@{elm\+\_\+grid\+\_\+pack\+\_\+get}!Grid@{Grid}}
\subsubsection[{\texorpdfstring{elm\+\_\+grid\+\_\+pack\+\_\+get(\+Evas\+\_\+\+Object $\ast$subobj, Evas\+\_\+\+Coord $\ast$x, Evas\+\_\+\+Coord $\ast$y, Evas\+\_\+\+Coord $\ast$w, Evas\+\_\+\+Coord $\ast$h)}{elm_grid_pack_get(Evas_Object *subobj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h)}}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+grid\+\_\+pack\+\_\+get (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{subobj, }
\item[{Evas\+\_\+\+Coord $\ast$}]{x, }
\item[{Evas\+\_\+\+Coord $\ast$}]{y, }
\item[{Evas\+\_\+\+Coord $\ast$}]{w, }
\item[{Evas\+\_\+\+Coord $\ast$}]{h}
\end{DoxyParamCaption}
)}\label{group__Grid_ga80fe9ae4c312ebdfe39b64a59c3a4641}


Get packing of a child. 


\begin{DoxyParams}{Parameters}
{\em subobj} & The child to query \\
\hline
{\em x} & Pointer to integer to store the virtual x coord \\
\hline
{\em y} & Pointer to integer to store the virtual y coord \\
\hline
{\em w} & Pointer to integer to store the virtual width \\
\hline
{\em h} & Pointer to integer to store the virtual height \\
\hline
\end{DoxyParams}


Referenced by elm\+\_\+grid\+\_\+pack\+\_\+set().

\index{Grid@{Grid}!elm\+\_\+grid\+\_\+pack\+\_\+set@{elm\+\_\+grid\+\_\+pack\+\_\+set}}
\index{elm\+\_\+grid\+\_\+pack\+\_\+set@{elm\+\_\+grid\+\_\+pack\+\_\+set}!Grid@{Grid}}
\subsubsection[{\texorpdfstring{elm\+\_\+grid\+\_\+pack\+\_\+set(\+Evas\+\_\+\+Object $\ast$subobj, Evas\+\_\+\+Coord x, Evas\+\_\+\+Coord y, Evas\+\_\+\+Coord w, Evas\+\_\+\+Coord h)}{elm_grid_pack_set(Evas_Object *subobj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h)}}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+grid\+\_\+pack\+\_\+set (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object $\ast$}]{subobj, }
\item[{Evas\+\_\+\+Coord}]{x, }
\item[{Evas\+\_\+\+Coord}]{y, }
\item[{Evas\+\_\+\+Coord}]{w, }
\item[{Evas\+\_\+\+Coord}]{h}
\end{DoxyParamCaption}
)}\label{group__Grid_ga11d201a53dbf5571da65eb7baebf4c19}


Set packing of an existing child at to position and size. 


\begin{DoxyParams}{Parameters}
{\em subobj} & The child to set packing of \\
\hline
{\em x} & The virtual x coord at which to pack it \\
\hline
{\em y} & The virtual y coord at which to pack it \\
\hline
{\em w} & The virtual width at which to pack it \\
\hline
{\em h} & The virtual height at which to pack it \\
\hline
\end{DoxyParams}


References elm\+\_\+grid\+\_\+pack\+\_\+get().

