\hypertarget{structevas_1_1grid}{\section{evas\+:\+:grid Struct Reference}
\label{structevas_1_1grid}\index{evas\+::grid@{evas\+::grid}}
}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{structevas_1_1grid_a860a5e45bc88422770c158ae8ab35b0b}{grid} (\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo} $\ast$eo)
\begin{DoxyCompactList}\small\item\em Eo Constructor. \end{DoxyCompactList}\item 
\hyperlink{structevas_1_1grid_a42e26711cb0ba6204c15ce9bc537a5ec}{grid} (std\+::nullptr\+\_\+t)
\begin{DoxyCompactList}\small\item\em nullptr\+\_\+t Constructor. \end{DoxyCompactList}\item 
\hyperlink{structevas_1_1grid_a2cda24b8854a4249be0eaae10e371e10}{grid} (\hyperlink{structefl_1_1eo_1_1parent__type}{efl\+::eo\+::parent\+\_\+type} \+\_\+p=(efl\+::eo\+::parent=nullptr))
\begin{DoxyCompactList}\small\item\em Call the object's constructor. \end{DoxyCompactList}\item 
\hypertarget{structevas_1_1grid_a6fba4dcb13256ce8e2a2556941a73037}{\hyperlink{structevas_1_1grid_a6fba4dcb13256ce8e2a2556941a73037}{grid} (\hyperlink{structevas_1_1grid}{grid} const \&other)}\label{structevas_1_1grid_a6fba4dcb13256ce8e2a2556941a73037}

\begin{DoxyCompactList}\small\item\em Copy Constructor. \end{DoxyCompactList}\item 
bool \hyperlink{structevas_1_1grid_ad7f2fbcdcf9a949fed54546f54ad5913}{mirrored\+\_\+get} () const 
\begin{DoxyCompactList}\small\item\em Gets the mirrored mode of the grid. \end{DoxyCompactList}\item 
void \hyperlink{structevas_1_1grid_aaff1eddc898fcdddc6256a1ad3f90c0e}{mirrored\+\_\+set} (bool mirrored\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Sets the mirrored mode of the grid. \end{DoxyCompactList}\item 
void \hyperlink{structevas_1_1grid_a257a8a321044f0e3a8c42d395c59f0ac}{size\+\_\+get} (int $\ast$w\+\_\+, int $\ast$h\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Get the current virtual resolution. \end{DoxyCompactList}\item 
void \hyperlink{structevas_1_1grid_a2d6938be93b9d1af3c8d1a928e9feb26}{size\+\_\+set} (int w\+\_\+, int h\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Set the virtual resolution for the grid. \end{DoxyCompactList}\item 
\hyperlink{classefl_1_1eina_1_1list}{efl\+::eina\+::list}$<$ \hyperlink{structevas_1_1object}{evas\+::object} $>$ \hyperlink{structevas_1_1grid_a10dc2279e15053d604928266d243a4c5}{children\+\_\+get} () const 
\begin{DoxyCompactList}\small\item\em Get the list of children for the grid. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Accessor__Group_ga65199ea5201a1867471028477dc26744}{Eina\+\_\+\+Accessor} $\ast$ \hyperlink{structevas_1_1grid_aa88d8676be8b7b1a6a7a7a10b76f94d2}{accessor\+\_\+new} () const 
\begin{DoxyCompactList}\small\item\em Get an accessor to get random access to the list of children for the grid. \end{DoxyCompactList}\item 
void \hyperlink{structevas_1_1grid_aef5baef8817f315842844010345f37f2}{clear} (bool clear\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Faster way to remove all child objects from a grid object. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Iterator__Group_ga15b975bb881d955249ce13d4ebc96948}{Eina\+\_\+\+Iterator} $\ast$ \hyperlink{structevas_1_1grid_afffd42c6eac66719bfb8aad58dca59ce}{iterator\+\_\+new} () const 
\begin{DoxyCompactList}\small\item\em Get an iterator to walk the list of children for the grid. \end{DoxyCompactList}\item 
\hyperlink{structevas_1_1object}{evas\+::object} \hyperlink{structevas_1_1grid_adbf1261771e043dc2888b213b8c18631}{add\+\_\+to} () const 
\begin{DoxyCompactList}\small\item\em Create a grid that is child of a given element {\itshape parent}. \end{DoxyCompactList}\item 
bool \hyperlink{structevas_1_1grid_a5674978212d4045605cf067f674baadb}{unpack} (\hyperlink{structevas_1_1object}{evas\+::object} child\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Remove child from grid. \end{DoxyCompactList}\item 
bool \hyperlink{structevas_1_1grid_a4178acffe8ef22ad15d817abe5f7f114}{pack\+\_\+get} (\hyperlink{structevas_1_1object}{evas\+::object} child\+\_\+, int $\ast$x\+\_\+, int $\ast$y\+\_\+, int $\ast$w\+\_\+, int $\ast$h\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Get the pack options for a grid child. \end{DoxyCompactList}\item 
bool \hyperlink{structevas_1_1grid_a196444e676066f9dede4dc61b9175676}{pack} (\hyperlink{structevas_1_1object}{evas\+::object} child\+\_\+, int x\+\_\+, int y\+\_\+, int w\+\_\+, int h\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Add a new child to a grid object. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structevas_1_1grid_adc531bf9865fdf6788801108f4015433}{static \hyperlink{group__Eo_ga88d29df76a2921aa5478803156d83be5}{Eo\+\_\+\+Class} const $\ast$ {\bfseries \+\_\+eo\+\_\+class} ()}\label{structevas_1_1grid_adc531bf9865fdf6788801108f4015433}

\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Constructor \& Destructor Documentation}
\hypertarget{structevas_1_1grid_a860a5e45bc88422770c158ae8ab35b0b}{\index{evas\+::grid@{evas\+::grid}!grid@{grid}}
\index{grid@{grid}!evas\+::grid@{evas\+::grid}}
\subsubsection[{grid}]{\setlength{\rightskip}{0pt plus 5cm}evas\+::grid\+::grid (
\begin{DoxyParamCaption}
\item[{{\bf Eo} $\ast$}]{eo}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [explicit]}}}\label{structevas_1_1grid_a860a5e45bc88422770c158ae8ab35b0b}


Eo Constructor. 

Constructs the object from an Eo$\ast$ pointer stealing its ownership.


\begin{DoxyParams}{Parameters}
{\em eo} & The Eo object pointer. \\
\hline
\end{DoxyParams}
\hypertarget{structevas_1_1grid_a42e26711cb0ba6204c15ce9bc537a5ec}{\index{evas\+::grid@{evas\+::grid}!grid@{grid}}
\index{grid@{grid}!evas\+::grid@{evas\+::grid}}
\subsubsection[{grid}]{\setlength{\rightskip}{0pt plus 5cm}evas\+::grid\+::grid (
\begin{DoxyParamCaption}
\item[{std\+::nullptr\+\_\+t}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [explicit]}}}\label{structevas_1_1grid_a42e26711cb0ba6204c15ce9bc537a5ec}


nullptr\+\_\+t Constructor. 

Constructs an empty (null) object. \hypertarget{structevas_1_1grid_a2cda24b8854a4249be0eaae10e371e10}{\index{evas\+::grid@{evas\+::grid}!grid@{grid}}
\index{grid@{grid}!evas\+::grid@{evas\+::grid}}
\subsubsection[{grid}]{\setlength{\rightskip}{0pt plus 5cm}evas\+::grid\+::grid (
\begin{DoxyParamCaption}
\item[{{\bf efl\+::eo\+::parent\+\_\+type}}]{\+\_\+p = {\ttfamily (efl\+:\+:eo\+:\+:parent~=~nullptr)}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{structevas_1_1grid_a2cda24b8854a4249be0eaae10e371e10}


Call the object's constructor. 

Should not be used with \#eo\+\_\+do. Only use it with \#eo\+\_\+do\+\_\+super. 

\subsection{Member Function Documentation}
\hypertarget{structevas_1_1grid_ad7f2fbcdcf9a949fed54546f54ad5913}{\index{evas\+::grid@{evas\+::grid}!mirrored\+\_\+get@{mirrored\+\_\+get}}
\index{mirrored\+\_\+get@{mirrored\+\_\+get}!evas\+::grid@{evas\+::grid}}
\subsubsection[{mirrored\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}bool evas\+::grid\+::mirrored\+\_\+get (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{structevas_1_1grid_ad7f2fbcdcf9a949fed54546f54ad5913}


Gets the mirrored mode of the grid. 

\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} if it's a mirrored grid, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise. 
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
evas\+\_\+object\+\_\+grid\+\_\+mirrored\+\_\+set() 
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+1
\end{DoxySince}

\begin{DoxyParams}{Parameters}
{\em mirrored} & the mirrored mode to set \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr().

\hypertarget{structevas_1_1grid_aaff1eddc898fcdddc6256a1ad3f90c0e}{\index{evas\+::grid@{evas\+::grid}!mirrored\+\_\+set@{mirrored\+\_\+set}}
\index{mirrored\+\_\+set@{mirrored\+\_\+set}!evas\+::grid@{evas\+::grid}}
\subsubsection[{mirrored\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+::grid\+::mirrored\+\_\+set (
\begin{DoxyParamCaption}
\item[{bool}]{mirrored\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{structevas_1_1grid_aaff1eddc898fcdddc6256a1ad3f90c0e}


Sets the mirrored mode of the grid. 

In mirrored mode the grid items go from right to left instead of left to right. That is, 0,0 is top right, not to left.

\begin{DoxySince}{Since}
1.\+1
\end{DoxySince}

\begin{DoxyParams}{Parameters}
{\em mirrored} & the mirrored mode to set \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr().

\hypertarget{structevas_1_1grid_a257a8a321044f0e3a8c42d395c59f0ac}{\index{evas\+::grid@{evas\+::grid}!size\+\_\+get@{size\+\_\+get}}
\index{size\+\_\+get@{size\+\_\+get}!evas\+::grid@{evas\+::grid}}
\subsubsection[{size\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+::grid\+::size\+\_\+get (
\begin{DoxyParamCaption}
\item[{int $\ast$}]{w\+\_\+, }
\item[{int $\ast$}]{h\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{structevas_1_1grid_a257a8a321044f0e3a8c42d395c59f0ac}


Get the current virtual resolution. 

\begin{DoxySeeAlso}{See also}
evas\+\_\+object\+\_\+grid\+\_\+size\+\_\+set() 
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+1
\end{DoxySince}

\begin{DoxyParams}{Parameters}
{\em w} & The virtual horizontal size (resolution) in integer units \\
\hline
{\em h} & The virtual vertical size (resolution) in integer units \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr().

\hypertarget{structevas_1_1grid_a2d6938be93b9d1af3c8d1a928e9feb26}{\index{evas\+::grid@{evas\+::grid}!size\+\_\+set@{size\+\_\+set}}
\index{size\+\_\+set@{size\+\_\+set}!evas\+::grid@{evas\+::grid}}
\subsubsection[{size\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+::grid\+::size\+\_\+set (
\begin{DoxyParamCaption}
\item[{int}]{w\+\_\+, }
\item[{int}]{h\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{structevas_1_1grid_a2d6938be93b9d1af3c8d1a928e9feb26}


Set the virtual resolution for the grid. 

\begin{DoxySince}{Since}
1.\+1
\end{DoxySince}

\begin{DoxyParams}{Parameters}
{\em w} & The virtual horizontal size (resolution) in integer units \\
\hline
{\em h} & The virtual vertical size (resolution) in integer units \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr().

\hypertarget{structevas_1_1grid_a10dc2279e15053d604928266d243a4c5}{\index{evas\+::grid@{evas\+::grid}!children\+\_\+get@{children\+\_\+get}}
\index{children\+\_\+get@{children\+\_\+get}!evas\+::grid@{evas\+::grid}}
\subsubsection[{children\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf efl\+::eina\+::list}$<$ {\bf evas\+::object} $>$ evas\+::grid\+::children\+\_\+get (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{structevas_1_1grid_a10dc2279e15053d604928266d243a4c5}


Get the list of children for the grid. 

\begin{DoxyNote}{Note}
This is a duplicate of the list kept by the grid internally. It's up to the user to destroy it when it no longer needs it. It's possible to remove objects from the grid when walking this list, but these removals won't be reflected on it. 
\end{DoxyNote}
\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr().

\hypertarget{structevas_1_1grid_aa88d8676be8b7b1a6a7a7a10b76f94d2}{\index{evas\+::grid@{evas\+::grid}!accessor\+\_\+new@{accessor\+\_\+new}}
\index{accessor\+\_\+new@{accessor\+\_\+new}!evas\+::grid@{evas\+::grid}}
\subsubsection[{accessor\+\_\+new}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Accessor}$\ast$ evas\+::grid\+::accessor\+\_\+new (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{structevas_1_1grid_aa88d8676be8b7b1a6a7a7a10b76f94d2}


Get an accessor to get random access to the list of children for the grid. 

\begin{DoxyNote}{Note}
Do not remove or delete objects while walking the list. 
\end{DoxyNote}
\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr().

\hypertarget{structevas_1_1grid_aef5baef8817f315842844010345f37f2}{\index{evas\+::grid@{evas\+::grid}!clear@{clear}}
\index{clear@{clear}!evas\+::grid@{evas\+::grid}}
\subsubsection[{clear}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+::grid\+::clear (
\begin{DoxyParamCaption}
\item[{bool}]{clear\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{structevas_1_1grid_aef5baef8817f315842844010345f37f2}


Faster way to remove all child objects from a grid object. 

\begin{DoxySince}{Since}
1.\+1
\end{DoxySince}

\begin{DoxyParams}{Parameters}
{\em clear} & if true, it will delete just removed children. \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr().

\hypertarget{structevas_1_1grid_afffd42c6eac66719bfb8aad58dca59ce}{\index{evas\+::grid@{evas\+::grid}!iterator\+\_\+new@{iterator\+\_\+new}}
\index{iterator\+\_\+new@{iterator\+\_\+new}!evas\+::grid@{evas\+::grid}}
\subsubsection[{iterator\+\_\+new}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Iterator}$\ast$ evas\+::grid\+::iterator\+\_\+new (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{structevas_1_1grid_afffd42c6eac66719bfb8aad58dca59ce}


Get an iterator to walk the list of children for the grid. 

\begin{DoxyNote}{Note}
Do not remove or delete objects while walking the list. 
\end{DoxyNote}
\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr().

\hypertarget{structevas_1_1grid_adbf1261771e043dc2888b213b8c18631}{\index{evas\+::grid@{evas\+::grid}!add\+\_\+to@{add\+\_\+to}}
\index{add\+\_\+to@{add\+\_\+to}!evas\+::grid@{evas\+::grid}}
\subsubsection[{add\+\_\+to}]{\setlength{\rightskip}{0pt plus 5cm}{\bf evas\+::object} evas\+::grid\+::add\+\_\+to (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{structevas_1_1grid_adbf1261771e043dc2888b213b8c18631}


Create a grid that is child of a given element {\itshape parent}. 

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Object__Grid_gabf7f9b301f039564a21143e4b13c2313}{evas\+\_\+object\+\_\+grid\+\_\+add()} 
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr().

\hypertarget{structevas_1_1grid_a5674978212d4045605cf067f674baadb}{\index{evas\+::grid@{evas\+::grid}!unpack@{unpack}}
\index{unpack@{unpack}!evas\+::grid@{evas\+::grid}}
\subsubsection[{unpack}]{\setlength{\rightskip}{0pt plus 5cm}bool evas\+::grid\+::unpack (
\begin{DoxyParamCaption}
\item[{{\bf evas\+::object}}]{child\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{structevas_1_1grid_a5674978212d4045605cf067f674baadb}


Remove child from grid. 

\begin{DoxyNote}{Note}
removing a child will immediately call a walk over children in order to recalculate numbers of columns and rows. If you plan to remove all children, use evas\+\_\+object\+\_\+grid\+\_\+clear() instead.
\end{DoxyNote}
\begin{DoxyReturn}{Returns}
1 on success, 0 on failure. 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1
\end{DoxySince}

\begin{DoxyParams}{Parameters}
{\em child} & \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr().

\hypertarget{structevas_1_1grid_a4178acffe8ef22ad15d817abe5f7f114}{\index{evas\+::grid@{evas\+::grid}!pack\+\_\+get@{pack\+\_\+get}}
\index{pack\+\_\+get@{pack\+\_\+get}!evas\+::grid@{evas\+::grid}}
\subsubsection[{pack\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}bool evas\+::grid\+::pack\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf evas\+::object}}]{child\+\_\+, }
\item[{int $\ast$}]{x\+\_\+, }
\item[{int $\ast$}]{y\+\_\+, }
\item[{int $\ast$}]{w\+\_\+, }
\item[{int $\ast$}]{h\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{structevas_1_1grid_a4178acffe8ef22ad15d817abe5f7f114}


Get the pack options for a grid child. 

Get the pack x, y, width and height in virtual coordinates set by evas\+\_\+object\+\_\+grid\+\_\+pack() \begin{DoxyReturn}{Returns}
1 on success, 0 on failure. 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1
\end{DoxySince}

\begin{DoxyParams}[1]{Parameters}
 & {\em child} & The grid child to query for coordinates \\
\hline
\mbox{\tt out}  & {\em x} & The pointer to where the x coordinate will be returned \\
\hline
\mbox{\tt out}  & {\em y} & The pointer to where the y coordinate will be returned \\
\hline
\mbox{\tt out}  & {\em w} & The pointer to where the width will be returned \\
\hline
\mbox{\tt out}  & {\em h} & The pointer to where the height will be returned \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr().

\hypertarget{structevas_1_1grid_a196444e676066f9dede4dc61b9175676}{\index{evas\+::grid@{evas\+::grid}!pack@{pack}}
\index{pack@{pack}!evas\+::grid@{evas\+::grid}}
\subsubsection[{pack}]{\setlength{\rightskip}{0pt plus 5cm}bool evas\+::grid\+::pack (
\begin{DoxyParamCaption}
\item[{{\bf evas\+::object}}]{child\+\_\+, }
\item[{int}]{x\+\_\+, }
\item[{int}]{y\+\_\+, }
\item[{int}]{w\+\_\+, }
\item[{int}]{h\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{structevas_1_1grid_a196444e676066f9dede4dc61b9175676}


Add a new child to a grid object. 

\begin{DoxyReturn}{Returns}
1 on success, 0 on failure. 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1
\end{DoxySince}

\begin{DoxyParams}{Parameters}
{\em child} & The child object to add. \\
\hline
{\em x} & The virtual x coordinate of the child \\
\hline
{\em y} & The virtual y coordinate of the child \\
\hline
{\em w} & The virtual width of the child \\
\hline
{\em h} & The virtual height of the child \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr().

