\hypertarget{group__Evas__Smart__Object__Group}{}\section{Smart Object Functions}
\label{group__Evas__Smart__Object__Group}\index{Smart Object Functions@{Smart Object Functions}}


Functions dealing with Evas smart objects (instances).  


\subsection*{Modules}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Evas__Smart__Object__Clipped}{Clipped Smart Object}
\begin{DoxyCompactList}\small\item\em Clipped smart object is a base to construct other smart objects based on the concept of having an internal clipper that is applied to all children objects. \end{DoxyCompactList}\item 
\hyperlink{group__Evas__Object__Box}{Box Smart Object}
\begin{DoxyCompactList}\small\item\em A box is a convenience smart object that packs children inside it in {\bfseries sequence}, using a layouting function specified by the user. \end{DoxyCompactList}\item 
\hyperlink{group__Evas__Object__Table}{Table Smart Object.}
\begin{DoxyCompactList}\small\item\em Convenience smart object that packs children using a tabular layout using children size hints to define their size and alignment inside their cell space. \end{DoxyCompactList}\item 
\hyperlink{group__Evas__Object__Grid}{Grid Smart Object.}
\begin{DoxyCompactList}\small\item\em Convenience smart object that packs children under a regular grid layout, using their virtual grid location and size to determine children\textquotesingle{}s positions inside the grid object\textquotesingle{}s area. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
E\+O\+A\+P\+I int \hyperlink{group__Evas__Smart__Object__Group_gae53ff04e8110689d1406d2a9bbd656b6}{evas\+\_\+canvas\+\_\+smart\+\_\+objects\+\_\+calculate\+\_\+count\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em This gets the internal counter that counts the number of smart calculations. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Evas__Smart__Object__Group_gac3ebc8b6737c256a0651810c661fff8b}{evas\+\_\+canvas\+\_\+smart\+\_\+objects\+\_\+calculate} (void)
\begin{DoxyCompactList}\small\item\em Call user-\/provided {\ttfamily calculate()} smart functions and unset the flag signalling that the object needs to get recalculated to {\bfseries all} smart objects in the canvas. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Smart__Object__Group_gacba4b30934180458b1d0a694f2eeabd8}{evas\+::canvas\+::smart\+\_\+objects\+\_\+calculate} () const 
\begin{DoxyCompactList}\small\item\em Call user-\/provided {\ttfamily calculate()} smart functions and unset the flag signalling that the object needs to get recalculated to {\bfseries all} smart objects in the canvas. \end{DoxyCompactList}\item 
int \hyperlink{group__Evas__Smart__Object__Group_ga72aaa186dcc9be580fb384ac7d1bc49e}{evas\+::canvas\+::smart\+\_\+objects\+\_\+calculate\+\_\+count\+\_\+get} () const 
\begin{DoxyCompactList}\small\item\em This gets the internal counter that counts the number of smart calculations. \end{DoxyCompactList}\item 
int \hyperlink{group__Evas__Smart__Object__Group_ga1df3e2e382bbf6edcafbf86015430440}{evas\+\_\+smart\+\_\+objects\+\_\+calculate\+\_\+count\+\_\+get} (const Evas\+\_\+\+Canvas $\ast$obj)
\begin{DoxyCompactList}\small\item\em This gets the internal counter that counts the number of smart calculations. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Smart__Object__Group_ga269c39cb0ecdfa26dfb2b8e4f257f445}{evas\+\_\+smart\+\_\+objects\+\_\+calculate} (Evas\+\_\+\+Canvas $\ast$obj)
\begin{DoxyCompactList}\small\item\em Call user-\/provided {\ttfamily calculate()} smart functions and unset the flag signalling that the object needs to get recalculated to {\bfseries all} smart objects in the canvas. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void $\ast$ \hyperlink{group__Evas__Smart__Object__Group_gabcb8fa9429824f1d12df0c34b0f12c5c}{evas\+\_\+obj\+\_\+smart\+\_\+data\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Retrieve user data stored on a given smart object. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$ \hyperlink{group__Evas__Smart__Object__Group_ga54240b70a1aaca3a459bb36f39d68ea3}{evas\+\_\+obj\+\_\+smart\+\_\+parent\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Gets the parent smart object of a given Evas object, if it has one. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Evas__Smart__Object__Group_ga6f0f6e46196c2b2d7d952ac66fc3220d}{evas\+\_\+obj\+\_\+smart\+\_\+type\+\_\+check} (const char $\ast$type)
\begin{DoxyCompactList}\small\item\em Checks whether a given smart object or any of its smart object parents is of a given smart class. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Evas__Smart__Object__Group_gacc5e6998f5d0c389e8c4187ec53e580f}{evas\+\_\+obj\+\_\+smart\+\_\+type\+\_\+check\+\_\+ptr} (const char $\ast$type)
\begin{DoxyCompactList}\small\item\em Checks whether a given smart object or any of its smart object parents is of a given smart class, {\bfseries using pointer comparison}. \end{DoxyCompactList}\item 
bool \hyperlink{group__Evas__Smart__Object__Group_ga76c100ce50ea8406fe6c9de64e0ee76f}{evas\+::object\+::smart\+\_\+type\+\_\+check} (\+::\hyperlink{classefl_1_1eina_1_1basic__string__view}{efl\+::eina\+::string\+\_\+view} type\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Checks whether a given smart object or any of its smart object parents is of a given smart class. \end{DoxyCompactList}\item 
bool \hyperlink{group__Evas__Smart__Object__Group_gab5b6cb32db85d45acccba9061243b52a}{evas\+::object\+::smart\+\_\+type\+\_\+check\+\_\+ptr} (\+::\hyperlink{classefl_1_1eina_1_1basic__string__view}{efl\+::eina\+::string\+\_\+view} type\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Checks whether a given smart object or any of its smart object parents is of a given smart class, {\bfseries using pointer comparison}. \end{DoxyCompactList}\item 
void $\ast$ \hyperlink{group__Evas__Smart__Object__Group_gac729aab08c7377c1ca364835ab48c206}{evas\+::object\+::smart\+\_\+data\+\_\+get} () const 
\begin{DoxyCompactList}\small\item\em Retrieve user data stored on a given smart object. \end{DoxyCompactList}\item 
\+::\hyperlink{structevas_1_1object}{evas\+::object} \hyperlink{group__Evas__Smart__Object__Group_ga058ef715f8d8996f9fea65f79f0aa11b}{evas\+::object\+::smart\+\_\+parent\+\_\+get} () const 
\begin{DoxyCompactList}\small\item\em Gets the parent smart object of a given Evas object, if it has one. \end{DoxyCompactList}\item 
void $\ast$ \hyperlink{group__Evas__Smart__Object__Group_ga4049c0eb448d6d7e16a47a5acbd09fee}{evas\+\_\+object\+\_\+smart\+\_\+data\+\_\+get} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Retrieve user data stored on a given smart object. \end{DoxyCompactList}\item 
\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$ \hyperlink{group__Evas__Smart__Object__Group_ga60808a6a46abf32f9eb5ef5f62fde360}{evas\+\_\+object\+\_\+smart\+\_\+parent\+\_\+get} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Gets the parent smart object of a given Evas object, if it has one. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Evas__Smart__Object__Group_ga257a2651b93de714211d4205c0e70bb9}{evas\+\_\+object\+\_\+smart\+\_\+type\+\_\+check} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj, const char $\ast$type)
\begin{DoxyCompactList}\small\item\em Checks whether a given smart object or any of its smart object parents is of a given smart class. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Evas__Smart__Object__Group_ga164c21f7e780bdf48caaa4147975d456}{evas\+\_\+object\+\_\+smart\+\_\+type\+\_\+check\+\_\+ptr} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj, const char $\ast$type)
\begin{DoxyCompactList}\small\item\em Checks whether a given smart object or any of its smart object parents is of a given smart class, {\bfseries using pointer comparison}. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Evas__Smart__Object__Group_ga06ea1dddf280d080accfdf2a26678e07}{evas\+\_\+obj\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+set} (\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} value)
\begin{DoxyCompactList}\small\item\em Set or unset the flag signalling that a given smart object needs to get recalculated. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Evas__Smart__Object__Group_gad5a4b2658e84d80dad4ada25be52a6a5}{evas\+\_\+obj\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get the value of the flag signalling that a given smart object needs to get recalculated. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Evas__Smart__Object__Group_ga94d0c09c11dc07d97f756a2b2ae72b34}{evas\+\_\+obj\+\_\+smart\+\_\+data\+\_\+set} (void $\ast$data)
\begin{DoxyCompactList}\small\item\em Store a pointer to user data for a given smart object. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I \hyperlink{Evas__Common_8h_a7cdfd1afece1cad64c413eb9a778ddbb}{Evas\+\_\+\+Smart} $\ast$ \hyperlink{group__Evas__Smart__Object__Group_gaed95eda96a3a882e8db924fa9539b3c3}{evas\+\_\+obj\+\_\+smart\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get the \hyperlink{Evas__Common_8h_a7cdfd1afece1cad64c413eb9a778ddbb}{Evas\+\_\+\+Smart} from which {\ttfamily obj} smart object was created. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Evas__Smart__Object__Group_ga6182d3534f6a245114538f43b2682a25}{evas\+\_\+obj\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+set} (const \hyperlink{group__Evas__Smart__Group_ga0ad0e7d482d7660e756e275d355e3634}{Evas\+\_\+\+Smart\+\_\+\+Cb\+\_\+\+Description} $\ast$descriptions)
\begin{DoxyCompactList}\small\item\em Set an smart object {\bfseries instance\textquotesingle{}s} smart callbacks descriptions. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Evas__Smart__Object__Group_ga598bb888284dd38c9fba441b18a308ac}{evas\+\_\+obj\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+get} (const \hyperlink{group__Evas__Smart__Group_ga0ad0e7d482d7660e756e275d355e3634}{Evas\+\_\+\+Smart\+\_\+\+Cb\+\_\+\+Description} $\ast$$\ast$$\ast$class\+\_\+descriptions, unsigned int $\ast$class\+\_\+count, const \hyperlink{group__Evas__Smart__Group_ga0ad0e7d482d7660e756e275d355e3634}{Evas\+\_\+\+Smart\+\_\+\+Cb\+\_\+\+Description} $\ast$$\ast$$\ast$instance\+\_\+descriptions, unsigned int $\ast$instance\+\_\+count)
\begin{DoxyCompactList}\small\item\em Retrieve an smart object\textquotesingle{}s know smart callback descriptions (both instance and class ones). \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Evas__Smart__Object__Group_ga133590675b138b16b33ac50923e5664a}{evas\+\_\+obj\+\_\+smart\+\_\+calculate} (void)
\begin{DoxyCompactList}\small\item\em Call the {\bfseries calculate()} smart function immediately on a given smart object. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Evas__Smart__Object__Group_ga2c752b0da885f1fed5401469338c95ba}{evas\+\_\+obj\+\_\+smart\+\_\+add} (void)
\begin{DoxyCompactList}\small\item\em Instantiates a new smart object described by {\ttfamily s}. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Evas__Smart__Object__Group_ga5408e253d0be9dc7a99b664e76bc9d71}{evas\+\_\+obj\+\_\+smart\+\_\+member\+\_\+add} (\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$sub\+\_\+obj)
\begin{DoxyCompactList}\small\item\em Set an Evas object as a member of a given smart object. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Evas__Smart__Object__Group_gac911e2c00ceb2c932d62c50a77ba13e4}{evas\+\_\+obj\+\_\+smart\+\_\+changed} (void)
\begin{DoxyCompactList}\small\item\em Mark smart object as changed, dirty. \end{DoxyCompactList}\item 
E\+O\+A\+P\+I void \hyperlink{group__Evas__Smart__Object__Group_gaaa2a8440f1b90d5ea48f460f43972170}{evas\+\_\+obj\+\_\+smart\+\_\+member\+\_\+del} (\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$sub\+\_\+obj)
\begin{DoxyCompactList}\small\item\em Removes a member object from a given smart object. \end{DoxyCompactList}\item 
bool \hyperlink{group__Evas__Smart__Object__Group_gae55a1edad518c5fe8ce6f4cb9037dab5}{evas\+::object\+\_\+smart\+::callbacks\+\_\+descriptions\+\_\+set} (const \hyperlink{group__Evas__Smart__Group_ga0ad0e7d482d7660e756e275d355e3634}{Evas\+\_\+\+Smart\+\_\+\+Cb\+\_\+\+Description} $\ast$descriptions\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Set an smart object {\bfseries instance\textquotesingle{}s} smart callbacks descriptions. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Smart__Object__Group_gac978e8c1744f10ca04d22d513c80708a}{evas\+::object\+\_\+smart\+::callbacks\+\_\+descriptions\+\_\+get} (const \hyperlink{group__Evas__Smart__Group_ga0ad0e7d482d7660e756e275d355e3634}{Evas\+\_\+\+Smart\+\_\+\+Cb\+\_\+\+Description} $\ast$$\ast$$\ast$class\+\_\+descriptions\+\_\+, unsigned int $\ast$class\+\_\+count\+\_\+, const \hyperlink{group__Evas__Smart__Group_ga0ad0e7d482d7660e756e275d355e3634}{Evas\+\_\+\+Smart\+\_\+\+Cb\+\_\+\+Description} $\ast$$\ast$$\ast$instance\+\_\+descriptions\+\_\+, unsigned int $\ast$instance\+\_\+count\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Retrieve an smart object\textquotesingle{}s know smart callback descriptions (both instance and class ones). \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Smart__Object__Group_gad62ecde0d6ae562e37b16cf20445777d}{evas\+::object\+\_\+smart\+::calculate} () const 
\begin{DoxyCompactList}\small\item\em Call the {\bfseries \hyperlink{group__Evas__Smart__Object__Group_gad62ecde0d6ae562e37b16cf20445777d}{calculate()}} smart function immediately on a given smart object. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Smart__Object__Group_gaac00541cb1468757fb6d9720a20d4c68}{evas\+::object\+\_\+smart\+::add} () const 
\begin{DoxyCompactList}\small\item\em Instantiates a new smart object described by {\ttfamily s}. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Smart__Object__Group_gabf5640c7a01fcc3c563a7bce8446490f}{evas\+::object\+\_\+smart\+::member\+\_\+add} (\+::\hyperlink{structevas_1_1object}{evas\+::object} sub\+\_\+obj\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Set an Evas object as a member of a given smart object. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Smart__Object__Group_ga58528cc028aba20b14c41b911786c3c3}{evas\+::object\+\_\+smart\+::changed} () const 
\begin{DoxyCompactList}\small\item\em Mark smart object as changed, dirty. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Smart__Object__Group_ga3dbd6ceb7df67db8e98bce89b130e348}{evas\+::object\+\_\+smart\+::member\+\_\+del} (\+::\hyperlink{structevas_1_1object}{evas\+::object} sub\+\_\+obj\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Removes a member object from a given smart object. \end{DoxyCompactList}\item 
bool \hyperlink{group__Evas__Smart__Object__Group_gaa8aff6edf162b3c686cdcaaa03cf6319}{evas\+::object\+\_\+smart\+::need\+\_\+recalculate\+\_\+get} () const 
\begin{DoxyCompactList}\small\item\em Get the value of the flag signalling that a given smart object needs to get recalculated. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Smart__Object__Group_gaa8544d705a7cbc6460a7feaa5a6cffcb}{evas\+::object\+\_\+smart\+::need\+\_\+recalculate\+\_\+set} (bool value\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Set or unset the flag signalling that a given smart object needs to get recalculated. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Smart__Object__Group_ga33021800378f9bfd561774e167e90abd}{evas\+::object\+\_\+smart\+::data\+\_\+set} (void $\ast$data\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Store a pointer to user data for a given smart object. \end{DoxyCompactList}\item 
\hyperlink{Evas__Common_8h_a7cdfd1afece1cad64c413eb9a778ddbb}{Evas\+\_\+\+Smart} $\ast$ \hyperlink{group__Evas__Smart__Object__Group_gadef51797059b92fb354ffff78caa1961}{evas\+::object\+\_\+smart\+::smart\+\_\+get} () const 
\begin{DoxyCompactList}\small\item\em Get the \hyperlink{Evas__Common_8h_a7cdfd1afece1cad64c413eb9a778ddbb}{Evas\+\_\+\+Smart} from which {\ttfamily obj} smart object was created. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Smart__Object__Group_gad4a3952d5bd716d1d5cba74b335758c9}{evas\+\_\+object\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+set} (Evas\+\_\+\+Object\+\_\+\+Smart $\ast$obj, \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} value)
\begin{DoxyCompactList}\small\item\em Set or unset the flag signalling that a given smart object needs to get recalculated. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Evas__Smart__Object__Group_gaa86a855270efc32fd26d9e17ac00d4fd}{evas\+\_\+object\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+get} (const Evas\+\_\+\+Object\+\_\+\+Smart $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the value of the flag signalling that a given smart object needs to get recalculated. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Smart__Object__Group_ga2608f1464c467bb583da442fc170b39c}{evas\+\_\+object\+\_\+smart\+\_\+data\+\_\+set} (Evas\+\_\+\+Object\+\_\+\+Smart $\ast$obj, void $\ast$data)
\begin{DoxyCompactList}\small\item\em Store a pointer to user data for a given smart object. \end{DoxyCompactList}\item 
\hyperlink{Evas__Common_8h_a7cdfd1afece1cad64c413eb9a778ddbb}{Evas\+\_\+\+Smart} $\ast$ \hyperlink{group__Evas__Smart__Object__Group_gaf1821730bbd20f4caa6d8d731b6c4ec8}{evas\+\_\+object\+\_\+smart\+\_\+smart\+\_\+get} (const Evas\+\_\+\+Object\+\_\+\+Smart $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the \hyperlink{Evas__Common_8h_a7cdfd1afece1cad64c413eb9a778ddbb}{Evas\+\_\+\+Smart} from which {\ttfamily obj} smart object was created. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Evas__Smart__Object__Group_gaf1680eeed57b5b560094b4c9626087fa}{evas\+\_\+object\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+set} (Evas\+\_\+\+Object\+\_\+\+Smart $\ast$obj, const \hyperlink{group__Evas__Smart__Group_ga0ad0e7d482d7660e756e275d355e3634}{Evas\+\_\+\+Smart\+\_\+\+Cb\+\_\+\+Description} $\ast$descriptions)
\begin{DoxyCompactList}\small\item\em Set an smart object {\bfseries instance\textquotesingle{}s} smart callbacks descriptions. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Smart__Object__Group_ga2fd47b3487660fad7aed172359b38555}{evas\+\_\+object\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+get} (const Evas\+\_\+\+Object\+\_\+\+Smart $\ast$obj, const \hyperlink{group__Evas__Smart__Group_ga0ad0e7d482d7660e756e275d355e3634}{Evas\+\_\+\+Smart\+\_\+\+Cb\+\_\+\+Description} $\ast$$\ast$$\ast$class\+\_\+descriptions, unsigned int $\ast$class\+\_\+count, const \hyperlink{group__Evas__Smart__Group_ga0ad0e7d482d7660e756e275d355e3634}{Evas\+\_\+\+Smart\+\_\+\+Cb\+\_\+\+Description} $\ast$$\ast$$\ast$instance\+\_\+descriptions, unsigned int $\ast$instance\+\_\+count)
\begin{DoxyCompactList}\small\item\em Retrieve an smart object\textquotesingle{}s know smart callback descriptions (both instance and class ones). \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Smart__Object__Group_ga4260614f70d0ade1a68274c9a18afd86}{evas\+\_\+object\+\_\+smart\+\_\+calculate} (Evas\+\_\+\+Object\+\_\+\+Smart $\ast$obj)
\begin{DoxyCompactList}\small\item\em Call the {\bfseries calculate()} smart function immediately on a given smart object. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Smart__Object__Group_ga11d4fa46965429f3aa946147c501834a}{evas\+\_\+object\+\_\+smart\+\_\+changed} (Evas\+\_\+\+Object\+\_\+\+Smart $\ast$obj)
\begin{DoxyCompactList}\small\item\em Mark smart object as changed, dirty. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Smart__Object__Group_ga84964c53d1d5f1fb59d9799d1d47e9a9}{evas\+\_\+smart\+\_\+legacy\+\_\+type\+\_\+register} (const char $\ast$type, const \hyperlink{group__Eo_ga88d29df76a2921aa5478803156d83be5}{Eo\+\_\+\+Class} $\ast$klass)
\begin{DoxyCompactList}\small\item\em Registers an object type and its associated class. \end{DoxyCompactList}\end{DoxyCompactItemize}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$ \hyperlink{group__Evas__Smart__Object__Group_gad80de73a33446f902d4b39141a8d0a05}{evas\+\_\+object\+\_\+smart\+\_\+add} (\hyperlink{group__Evas__Canvas_ga5ff87cc4ce6bc43e3b640a6d37f73043}{Evas} $\ast$e, \hyperlink{Evas__Common_8h_a7cdfd1afece1cad64c413eb9a778ddbb}{Evas\+\_\+\+Smart} $\ast$s)
\begin{DoxyCompactList}\small\item\em Instantiates a new smart object described by {\ttfamily s}. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Smart__Object__Group_ga6845c17effe796430cb4fc5f2cfccef0}{evas\+\_\+object\+\_\+smart\+\_\+member\+\_\+add} (\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj, \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$smart\+\_\+obj)
\begin{DoxyCompactList}\small\item\em Set an Evas object as a member of a given smart object. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Smart__Object__Group_ga12034359ab780a3a0e8b20b83475ed15}{evas\+\_\+object\+\_\+smart\+\_\+member\+\_\+del} (\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Removes a member object from a given smart object. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Smart__Object__Group_ga18a8b179f94d21b2b09e19db11741061}{evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+add} (\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj, const char $\ast$event, \hyperlink{Evas__Common_8h_afbde245aa36db11d8280b266235c25b2}{Evas\+\_\+\+Smart\+\_\+\+Cb} func, const void $\ast$data)
\begin{DoxyCompactList}\small\item\em Add (register) a callback function to the smart event specified by {\ttfamily event} on the smart object {\ttfamily obj}. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Smart__Object__Group_gac0332a965f191376d30786a624bfad41}{evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+priority\+\_\+add} (\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj, const char $\ast$event, \hyperlink{Evas__Common_8h_a569c486e7bbb47ad28baaec79eb1ff3b}{Evas\+\_\+\+Callback\+\_\+\+Priority} priority, \hyperlink{Evas__Common_8h_afbde245aa36db11d8280b266235c25b2}{Evas\+\_\+\+Smart\+\_\+\+Cb} func, const void $\ast$data)
\begin{DoxyCompactList}\small\item\em Add (register) a callback function to the smart event specified by {\ttfamily event} on the smart object {\ttfamily obj}. \end{DoxyCompactList}\item 
void $\ast$ \hyperlink{group__Evas__Smart__Object__Group_gaa79948c7d1bee9a75baa01e72dc4ef63}{evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+del} (\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj, const char $\ast$event, \hyperlink{Evas__Common_8h_afbde245aa36db11d8280b266235c25b2}{Evas\+\_\+\+Smart\+\_\+\+Cb} func)
\begin{DoxyCompactList}\small\item\em Delete (unregister) a callback function from the smart event specified by {\ttfamily event} on the smart object {\ttfamily obj}. \end{DoxyCompactList}\item 
void $\ast$ \hyperlink{group__Evas__Smart__Object__Group_ga2163df56f3c1759f83b2996572e94fef}{evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+del\+\_\+full} (\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj, const char $\ast$event, \hyperlink{Evas__Common_8h_afbde245aa36db11d8280b266235c25b2}{Evas\+\_\+\+Smart\+\_\+\+Cb} func, const void $\ast$data)
\begin{DoxyCompactList}\small\item\em Delete (unregister) a callback function from the smart event specified by {\ttfamily event} on the smart object {\ttfamily obj}. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__Smart__Object__Group_gaa81bbe0af70df6c90b8fc781c59237bc}{evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+call} (\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj, const char $\ast$event, void $\ast$event\+\_\+info)
\begin{DoxyCompactList}\small\item\em Call a given smart callback on the smart object {\ttfamily obj}. \end{DoxyCompactList}\item 
const void $\ast$ \hyperlink{group__Evas__Smart__Object__Group_ga726849e13d3bbc0c7ce182e3f82ce07f}{evas\+\_\+object\+\_\+smart\+\_\+interface\+\_\+get} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj, const char $\ast$name)
\begin{DoxyCompactList}\small\item\em Retrieve an Evas smart object\textquotesingle{}s interface, by name string pointer. \end{DoxyCompactList}\item 
void $\ast$ \hyperlink{group__Evas__Smart__Object__Group_gaed3359faaae2d7cffd3e24441591da04}{evas\+\_\+object\+\_\+smart\+\_\+interface\+\_\+data\+\_\+get} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj, const \hyperlink{group__Evas__Smart__Group_gaef9b6443e1fdb6ffd3acd39981e91fee}{Evas\+\_\+\+Smart\+\_\+\+Interface} $\ast$iface)
\begin{DoxyCompactList}\small\item\em Retrieve an Evas smart object interface\textquotesingle{}s {\bfseries private data}. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Functions dealing with Evas smart objects (instances). 

Smart objects are groupings of primitive Evas objects that behave as a cohesive group. For instance, a file manager icon may be a smart object composed of an image object, a text label and two rectangles that appear behind the image and text when the icon is selected. As a smart object, the normal Evas object A\+P\+I could be used on the icon object.

Besides that, generally smart objects implement a {\bfseries specific A\+P\+I}, so that users interact with its own custom features. The A\+P\+I takes form of explicit exported functions one may call and {\bfseries smart callbacks}.\hypertarget{group__Evas__Smart__Object__Group_Evas_Smart_Object_Group_Callbacks}{}\subsection{Smart events and callbacks}\label{group__Evas__Smart__Object__Group_Evas_Smart_Object_Group_Callbacks}
Smart objects can elect events (smart events, from now on) occurring inside of them to be reported back to their users via callback functions (smart callbacks). This way, you can extend Evas\textquotesingle{} own object events. They are defined by an {\bfseries event string}, which identifies them uniquely. There\textquotesingle{}s also a function prototype definition for the callback functions\+: \hyperlink{Evas__Common_8h_afbde245aa36db11d8280b266235c25b2}{Evas\+\_\+\+Smart\+\_\+\+Cb}.

When defining an \hyperlink{group__Evas__Smart__Group_gaea15f67e901bf5380cdb67dc1bb43391}{Evas\+\_\+\+Smart\+\_\+\+Class}, smart object implementors are strongly encouraged to properly set the \hyperlink{struct__Evas__Smart__Class_af7074494030024c3d0e502bca7b19067}{Evas\+\_\+\+Smart\+\_\+\+Class\+::callbacks} callbacks description array, so that the users of the smart object can have introspection on its events A\+P\+I {\bfseries at run time}.

See some \hyperlink{Example_Evas_Smart_Objects}{examples} of this group of functions.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Group}{Smart Functions} for class definitions. 
\end{DoxySeeAlso}


\subsection{Function Documentation}
\hypertarget{group__Evas__Smart__Object__Group_gae53ff04e8110689d1406d2a9bbd656b6}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+canvas\+\_\+smart\+\_\+objects\+\_\+calculate\+\_\+count\+\_\+get@{evas\+\_\+canvas\+\_\+smart\+\_\+objects\+\_\+calculate\+\_\+count\+\_\+get}}
\index{evas\+\_\+canvas\+\_\+smart\+\_\+objects\+\_\+calculate\+\_\+count\+\_\+get@{evas\+\_\+canvas\+\_\+smart\+\_\+objects\+\_\+calculate\+\_\+count\+\_\+get}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+canvas\+\_\+smart\+\_\+objects\+\_\+calculate\+\_\+count\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I int evas\+\_\+canvas\+\_\+smart\+\_\+objects\+\_\+calculate\+\_\+count\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_gae53ff04e8110689d1406d2a9bbd656b6}


This gets the internal counter that counts the number of smart calculations. 

Whenever evas performs smart object calculations on the whole canvas it increments a counter by 1. This is the smart object calculate counter that this function returns the value of. It starts at the value of 0 and will increase (and eventually wrap around to negative values and so on) by 1 every time objects are calculated. You can use this counter to ensure you don\textquotesingle{}t re-\/do calculations withint the same calculation generation/run if the calculations maybe cause self-\/feeding effects.

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


Referenced by evas\+\_\+smart\+\_\+objects\+\_\+calculate\+\_\+count\+\_\+get().

\hypertarget{group__Evas__Smart__Object__Group_gac3ebc8b6737c256a0651810c661fff8b}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+canvas\+\_\+smart\+\_\+objects\+\_\+calculate@{evas\+\_\+canvas\+\_\+smart\+\_\+objects\+\_\+calculate}}
\index{evas\+\_\+canvas\+\_\+smart\+\_\+objects\+\_\+calculate@{evas\+\_\+canvas\+\_\+smart\+\_\+objects\+\_\+calculate}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+canvas\+\_\+smart\+\_\+objects\+\_\+calculate}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void evas\+\_\+canvas\+\_\+smart\+\_\+objects\+\_\+calculate (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_gac3ebc8b6737c256a0651810c661fff8b}


Call user-\/provided {\ttfamily calculate()} smart functions and unset the flag signalling that the object needs to get recalculated to {\bfseries all} smart objects in the canvas. 

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Object__Group_gad4a3952d5bd716d1d5cba74b335758c9}{evas\+\_\+object\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+set()} 
\end{DoxySeeAlso}


Referenced by evas\+\_\+smart\+\_\+objects\+\_\+calculate().

\hypertarget{group__Evas__Smart__Object__Group_gacba4b30934180458b1d0a694f2eeabd8}{}\index{Smart Object Functions@{Smart Object Functions}!smart\+\_\+objects\+\_\+calculate@{smart\+\_\+objects\+\_\+calculate}}
\index{smart\+\_\+objects\+\_\+calculate@{smart\+\_\+objects\+\_\+calculate}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{smart\+\_\+objects\+\_\+calculate}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+::canvas\+::smart\+\_\+objects\+\_\+calculate (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\label{group__Evas__Smart__Object__Group_gacba4b30934180458b1d0a694f2eeabd8}


Call user-\/provided {\ttfamily calculate()} smart functions and unset the flag signalling that the object needs to get recalculated to {\bfseries all} smart objects in the canvas. 

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Object__Group_gad4a3952d5bd716d1d5cba74b335758c9}{evas\+\_\+object\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+set()} 
\end{DoxySeeAlso}
\hypertarget{group__Evas__Smart__Object__Group_ga72aaa186dcc9be580fb384ac7d1bc49e}{}\index{Smart Object Functions@{Smart Object Functions}!smart\+\_\+objects\+\_\+calculate\+\_\+count\+\_\+get@{smart\+\_\+objects\+\_\+calculate\+\_\+count\+\_\+get}}
\index{smart\+\_\+objects\+\_\+calculate\+\_\+count\+\_\+get@{smart\+\_\+objects\+\_\+calculate\+\_\+count\+\_\+get}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{smart\+\_\+objects\+\_\+calculate\+\_\+count\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}int evas\+::canvas\+::smart\+\_\+objects\+\_\+calculate\+\_\+count\+\_\+get (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\label{group__Evas__Smart__Object__Group_ga72aaa186dcc9be580fb384ac7d1bc49e}


This gets the internal counter that counts the number of smart calculations. 

Whenever evas performs smart object calculations on the whole canvas it increments a counter by 1. This is the smart object calculate counter that this function returns the value of. It starts at the value of 0 and will increase (and eventually wrap around to negative values and so on) by 1 every time objects are calculated. You can use this counter to ensure you don\textquotesingle{}t re-\/do calculations withint the same calculation generation/run if the calculations maybe cause self-\/feeding effects.

\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}
\hypertarget{group__Evas__Smart__Object__Group_ga1df3e2e382bbf6edcafbf86015430440}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+smart\+\_\+objects\+\_\+calculate\+\_\+count\+\_\+get@{evas\+\_\+smart\+\_\+objects\+\_\+calculate\+\_\+count\+\_\+get}}
\index{evas\+\_\+smart\+\_\+objects\+\_\+calculate\+\_\+count\+\_\+get@{evas\+\_\+smart\+\_\+objects\+\_\+calculate\+\_\+count\+\_\+get}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+smart\+\_\+objects\+\_\+calculate\+\_\+count\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}int evas\+\_\+smart\+\_\+objects\+\_\+calculate\+\_\+count\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Evas\+\_\+\+Canvas $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_ga1df3e2e382bbf6edcafbf86015430440}


This gets the internal counter that counts the number of smart calculations. 

Whenever evas performs smart object calculations on the whole canvas it increments a counter by 1. This is the smart object calculate counter that this function returns the value of. It starts at the value of 0 and will increase (and eventually wrap around to negative values and so on) by 1 every time objects are calculated. You can use this counter to ensure you don\textquotesingle{}t re-\/do calculations withint the same calculation generation/run if the calculations maybe cause self-\/feeding effects.

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

\begin{DoxyParams}{Parameters}
{\em e} & The canvas to get the calculate counter from\\
\hline
\end{DoxyParams}
Whenever evas performs smart object calculations on the whole canvas it increments a counter by 1. This is the smart object calculate counter that this function returns the value of. It starts at the value of 0 and will increase (and eventually wrap around to negative values and so on) by 1 every time objects are calculated. You can use this counter to ensure you don\textquotesingle{}t re-\/do calculations withint the same calculation generation/run if the calculations maybe cause self-\/feeding effects.

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


References evas\+\_\+canvas\+\_\+smart\+\_\+objects\+\_\+calculate\+\_\+count\+\_\+get().

\hypertarget{group__Evas__Smart__Object__Group_ga269c39cb0ecdfa26dfb2b8e4f257f445}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+smart\+\_\+objects\+\_\+calculate@{evas\+\_\+smart\+\_\+objects\+\_\+calculate}}
\index{evas\+\_\+smart\+\_\+objects\+\_\+calculate@{evas\+\_\+smart\+\_\+objects\+\_\+calculate}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+smart\+\_\+objects\+\_\+calculate}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+\_\+smart\+\_\+objects\+\_\+calculate (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Canvas $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_ga269c39cb0ecdfa26dfb2b8e4f257f445}


Call user-\/provided {\ttfamily calculate()} smart functions and unset the flag signalling that the object needs to get recalculated to {\bfseries all} smart objects in the canvas. 

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Object__Group_gad4a3952d5bd716d1d5cba74b335758c9}{evas\+\_\+object\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+set()} 
\end{DoxySeeAlso}


References evas\+\_\+canvas\+\_\+smart\+\_\+objects\+\_\+calculate().

\hypertarget{group__Evas__Smart__Object__Group_gabcb8fa9429824f1d12df0c34b0f12c5c}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+obj\+\_\+smart\+\_\+data\+\_\+get@{evas\+\_\+obj\+\_\+smart\+\_\+data\+\_\+get}}
\index{evas\+\_\+obj\+\_\+smart\+\_\+data\+\_\+get@{evas\+\_\+obj\+\_\+smart\+\_\+data\+\_\+get}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+obj\+\_\+smart\+\_\+data\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void$\ast$ evas\+\_\+obj\+\_\+smart\+\_\+data\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_gabcb8fa9429824f1d12df0c34b0f12c5c}


Retrieve user data stored on a given smart object. 

\begin{DoxyReturn}{Returns}
A pointer to data stored using \hyperlink{group__Evas__Smart__Object__Group_ga2608f1464c467bb583da442fc170b39c}{evas\+\_\+object\+\_\+smart\+\_\+data\+\_\+set()}, or {\ttfamily N\+U\+L\+L}, if none has been set.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Object__Group_ga2608f1464c467bb583da442fc170b39c}{evas\+\_\+object\+\_\+smart\+\_\+data\+\_\+set()} 
\end{DoxySeeAlso}


Referenced by evas\+\_\+object\+\_\+smart\+\_\+data\+\_\+get().

\hypertarget{group__Evas__Smart__Object__Group_ga54240b70a1aaca3a459bb36f39d68ea3}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+obj\+\_\+smart\+\_\+parent\+\_\+get@{evas\+\_\+obj\+\_\+smart\+\_\+parent\+\_\+get}}
\index{evas\+\_\+obj\+\_\+smart\+\_\+parent\+\_\+get@{evas\+\_\+obj\+\_\+smart\+\_\+parent\+\_\+get}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+obj\+\_\+smart\+\_\+parent\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I {\bf Evas\+\_\+\+Object}$\ast$ evas\+\_\+obj\+\_\+smart\+\_\+parent\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_ga54240b70a1aaca3a459bb36f39d68ea3}


Gets the parent smart object of a given Evas object, if it has one. 

\begin{DoxyReturn}{Returns}
Returns the parent smart object of {\itshape obj} or {\ttfamily N\+U\+L\+L}, if {\itshape obj} is not a smart member of any 
\end{DoxyReturn}


Referenced by evas\+\_\+object\+\_\+smart\+\_\+parent\+\_\+get().

\hypertarget{group__Evas__Smart__Object__Group_ga6f0f6e46196c2b2d7d952ac66fc3220d}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+obj\+\_\+smart\+\_\+type\+\_\+check@{evas\+\_\+obj\+\_\+smart\+\_\+type\+\_\+check}}
\index{evas\+\_\+obj\+\_\+smart\+\_\+type\+\_\+check@{evas\+\_\+obj\+\_\+smart\+\_\+type\+\_\+check}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+obj\+\_\+smart\+\_\+type\+\_\+check}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I {\bf Eina\+\_\+\+Bool} evas\+\_\+obj\+\_\+smart\+\_\+type\+\_\+check (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{type}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_ga6f0f6e46196c2b2d7d952ac66fc3220d}


Checks whether a given smart object or any of its smart object parents is of a given smart class. 

\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E}, if {\itshape obj} or any of its parents is of type {\itshape type}, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise
\end{DoxyReturn}
If {\ttfamily obj} is not a smart object, this call will fail immediately.

This function supports Eo and legacy inheritance mechanisms. However, it is recommended to use eo\+\_\+isa instead if your object is using Eo from top to bottom.

The checks use smart classes names and {\bfseries string comparison}. There is a version of this same check using {\bfseries pointer comparison}, since a smart class\textquotesingle{} name is a single string in Evas.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Object__Group_ga164c21f7e780bdf48caaa4147975d456}{evas\+\_\+object\+\_\+smart\+\_\+type\+\_\+check\+\_\+ptr()} 

eo\+\_\+isa
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em type} & The {\bfseries name} (type) of the smart class to check for \\
\hline
\end{DoxyParams}


Referenced by evas\+\_\+object\+\_\+smart\+\_\+type\+\_\+check().

\hypertarget{group__Evas__Smart__Object__Group_gacc5e6998f5d0c389e8c4187ec53e580f}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+obj\+\_\+smart\+\_\+type\+\_\+check\+\_\+ptr@{evas\+\_\+obj\+\_\+smart\+\_\+type\+\_\+check\+\_\+ptr}}
\index{evas\+\_\+obj\+\_\+smart\+\_\+type\+\_\+check\+\_\+ptr@{evas\+\_\+obj\+\_\+smart\+\_\+type\+\_\+check\+\_\+ptr}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+obj\+\_\+smart\+\_\+type\+\_\+check\+\_\+ptr}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I {\bf Eina\+\_\+\+Bool} evas\+\_\+obj\+\_\+smart\+\_\+type\+\_\+check\+\_\+ptr (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{type}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_gacc5e6998f5d0c389e8c4187ec53e580f}


Checks whether a given smart object or any of its smart object parents is of a given smart class, {\bfseries using pointer comparison}. 

\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E}, if {\itshape obj} or any of its parents is of type {\itshape type}, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Object__Group_ga257a2651b93de714211d4205c0e70bb9}{evas\+\_\+object\+\_\+smart\+\_\+type\+\_\+check()} for more details 

eo\+\_\+isa
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em type} & The type (name string) to check for. Must be the name \\
\hline
\end{DoxyParams}


Referenced by evas\+\_\+object\+\_\+smart\+\_\+type\+\_\+check\+\_\+ptr().

\hypertarget{group__Evas__Smart__Object__Group_ga76c100ce50ea8406fe6c9de64e0ee76f}{}\index{Smart Object Functions@{Smart Object Functions}!smart\+\_\+type\+\_\+check@{smart\+\_\+type\+\_\+check}}
\index{smart\+\_\+type\+\_\+check@{smart\+\_\+type\+\_\+check}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{smart\+\_\+type\+\_\+check}]{\setlength{\rightskip}{0pt plus 5cm}bool evas\+::object\+::smart\+\_\+type\+\_\+check (
\begin{DoxyParamCaption}
\item[{\+::{\bf efl\+::eina\+::string\+\_\+view}}]{type\+\_\+}
\end{DoxyParamCaption}
) const}\label{group__Evas__Smart__Object__Group_ga76c100ce50ea8406fe6c9de64e0ee76f}


Checks whether a given smart object or any of its smart object parents is of a given smart class. 

\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E}, if {\itshape obj} or any of its parents is of type {\itshape type}, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise
\end{DoxyReturn}
If {\ttfamily obj} is not a smart object, this call will fail immediately.

This function supports Eo and legacy inheritance mechanisms. However, it is recommended to use eo\+\_\+isa instead if your object is using Eo from top to bottom.

The checks use smart classes names and {\bfseries string comparison}. There is a version of this same check using {\bfseries pointer comparison}, since a smart class\textquotesingle{} name is a single string in Evas.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Object__Group_ga164c21f7e780bdf48caaa4147975d456}{evas\+\_\+object\+\_\+smart\+\_\+type\+\_\+check\+\_\+ptr()} 

eo\+\_\+isa
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em type} & The {\bfseries name} (type) of the smart class to check for \\
\hline
\end{DoxyParams}
\hypertarget{group__Evas__Smart__Object__Group_gab5b6cb32db85d45acccba9061243b52a}{}\index{Smart Object Functions@{Smart Object Functions}!smart\+\_\+type\+\_\+check\+\_\+ptr@{smart\+\_\+type\+\_\+check\+\_\+ptr}}
\index{smart\+\_\+type\+\_\+check\+\_\+ptr@{smart\+\_\+type\+\_\+check\+\_\+ptr}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{smart\+\_\+type\+\_\+check\+\_\+ptr}]{\setlength{\rightskip}{0pt plus 5cm}bool evas\+::object\+::smart\+\_\+type\+\_\+check\+\_\+ptr (
\begin{DoxyParamCaption}
\item[{\+::{\bf efl\+::eina\+::string\+\_\+view}}]{type\+\_\+}
\end{DoxyParamCaption}
) const}\label{group__Evas__Smart__Object__Group_gab5b6cb32db85d45acccba9061243b52a}


Checks whether a given smart object or any of its smart object parents is of a given smart class, {\bfseries using pointer comparison}. 

\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E}, if {\itshape obj} or any of its parents is of type {\itshape type}, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Object__Group_ga257a2651b93de714211d4205c0e70bb9}{evas\+\_\+object\+\_\+smart\+\_\+type\+\_\+check()} for more details 

eo\+\_\+isa
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em type} & The type (name string) to check for. Must be the name \\
\hline
\end{DoxyParams}
\hypertarget{group__Evas__Smart__Object__Group_gac729aab08c7377c1ca364835ab48c206}{}\index{Smart Object Functions@{Smart Object Functions}!smart\+\_\+data\+\_\+get@{smart\+\_\+data\+\_\+get}}
\index{smart\+\_\+data\+\_\+get@{smart\+\_\+data\+\_\+get}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{smart\+\_\+data\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ evas\+::object\+::smart\+\_\+data\+\_\+get (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\label{group__Evas__Smart__Object__Group_gac729aab08c7377c1ca364835ab48c206}


Retrieve user data stored on a given smart object. 

\begin{DoxyReturn}{Returns}
A pointer to data stored using \hyperlink{group__Evas__Smart__Object__Group_ga2608f1464c467bb583da442fc170b39c}{evas\+\_\+object\+\_\+smart\+\_\+data\+\_\+set()}, or {\ttfamily N\+U\+L\+L}, if none has been set.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Object__Group_ga2608f1464c467bb583da442fc170b39c}{evas\+\_\+object\+\_\+smart\+\_\+data\+\_\+set()} 
\end{DoxySeeAlso}
\hypertarget{group__Evas__Smart__Object__Group_ga058ef715f8d8996f9fea65f79f0aa11b}{}\index{Smart Object Functions@{Smart Object Functions}!smart\+\_\+parent\+\_\+get@{smart\+\_\+parent\+\_\+get}}
\index{smart\+\_\+parent\+\_\+get@{smart\+\_\+parent\+\_\+get}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{smart\+\_\+parent\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}\+::{\bf evas\+::object} evas\+::object\+::smart\+\_\+parent\+\_\+get (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\label{group__Evas__Smart__Object__Group_ga058ef715f8d8996f9fea65f79f0aa11b}


Gets the parent smart object of a given Evas object, if it has one. 

\begin{DoxyReturn}{Returns}
Returns the parent smart object of {\itshape obj} or {\ttfamily N\+U\+L\+L}, if {\itshape obj} is not a smart member of any 
\end{DoxyReturn}
\hypertarget{group__Evas__Smart__Object__Group_ga4049c0eb448d6d7e16a47a5acbd09fee}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+object\+\_\+smart\+\_\+data\+\_\+get@{evas\+\_\+object\+\_\+smart\+\_\+data\+\_\+get}}
\index{evas\+\_\+object\+\_\+smart\+\_\+data\+\_\+get@{evas\+\_\+object\+\_\+smart\+\_\+data\+\_\+get}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+object\+\_\+smart\+\_\+data\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ evas\+\_\+object\+\_\+smart\+\_\+data\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Evas\+\_\+\+Object} $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_ga4049c0eb448d6d7e16a47a5acbd09fee}


Retrieve user data stored on a given smart object. 

\begin{DoxyReturn}{Returns}
A pointer to data stored using \hyperlink{group__Evas__Smart__Object__Group_ga2608f1464c467bb583da442fc170b39c}{evas\+\_\+object\+\_\+smart\+\_\+data\+\_\+set()}, or {\ttfamily N\+U\+L\+L}, if none has been set.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Object__Group_ga2608f1464c467bb583da442fc170b39c}{evas\+\_\+object\+\_\+smart\+\_\+data\+\_\+set()} 
\end{DoxySeeAlso}


References evas\+\_\+obj\+\_\+smart\+\_\+data\+\_\+get().



Referenced by emotion\+\_\+object\+\_\+image\+\_\+get().

\hypertarget{group__Evas__Smart__Object__Group_ga60808a6a46abf32f9eb5ef5f62fde360}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+object\+\_\+smart\+\_\+parent\+\_\+get@{evas\+\_\+object\+\_\+smart\+\_\+parent\+\_\+get}}
\index{evas\+\_\+object\+\_\+smart\+\_\+parent\+\_\+get@{evas\+\_\+object\+\_\+smart\+\_\+parent\+\_\+get}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+object\+\_\+smart\+\_\+parent\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Evas\+\_\+\+Object}$\ast$ evas\+\_\+object\+\_\+smart\+\_\+parent\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Evas\+\_\+\+Object} $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_ga60808a6a46abf32f9eb5ef5f62fde360}


Gets the parent smart object of a given Evas object, if it has one. 

\begin{DoxyReturn}{Returns}
Returns the parent smart object of {\itshape obj} or {\ttfamily N\+U\+L\+L}, if {\itshape obj} is not a smart member of any 
\end{DoxyReturn}


References evas\+\_\+obj\+\_\+smart\+\_\+parent\+\_\+get().

\hypertarget{group__Evas__Smart__Object__Group_ga257a2651b93de714211d4205c0e70bb9}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+object\+\_\+smart\+\_\+type\+\_\+check@{evas\+\_\+object\+\_\+smart\+\_\+type\+\_\+check}}
\index{evas\+\_\+object\+\_\+smart\+\_\+type\+\_\+check@{evas\+\_\+object\+\_\+smart\+\_\+type\+\_\+check}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+object\+\_\+smart\+\_\+type\+\_\+check}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Bool} evas\+\_\+object\+\_\+smart\+\_\+type\+\_\+check (
\begin{DoxyParamCaption}
\item[{const {\bf Evas\+\_\+\+Object} $\ast$}]{obj, }
\item[{const char $\ast$}]{type}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_ga257a2651b93de714211d4205c0e70bb9}


Checks whether a given smart object or any of its smart object parents is of a given smart class. 

\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E}, if {\itshape obj} or any of its parents is of type {\itshape type}, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise
\end{DoxyReturn}
If {\ttfamily obj} is not a smart object, this call will fail immediately.

This function supports Eo and legacy inheritance mechanisms. However, it is recommended to use eo\+\_\+isa instead if your object is using Eo from top to bottom.

The checks use smart classes names and {\bfseries string comparison}. There is a version of this same check using {\bfseries pointer comparison}, since a smart class\textquotesingle{} name is a single string in Evas.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Object__Group_ga164c21f7e780bdf48caaa4147975d456}{evas\+\_\+object\+\_\+smart\+\_\+type\+\_\+check\+\_\+ptr()} 

eo\+\_\+isa
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em type} & The {\bfseries name} (type) of the smart class to check for \\
\hline
\end{DoxyParams}


References evas\+\_\+obj\+\_\+smart\+\_\+type\+\_\+check().

\hypertarget{group__Evas__Smart__Object__Group_ga164c21f7e780bdf48caaa4147975d456}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+object\+\_\+smart\+\_\+type\+\_\+check\+\_\+ptr@{evas\+\_\+object\+\_\+smart\+\_\+type\+\_\+check\+\_\+ptr}}
\index{evas\+\_\+object\+\_\+smart\+\_\+type\+\_\+check\+\_\+ptr@{evas\+\_\+object\+\_\+smart\+\_\+type\+\_\+check\+\_\+ptr}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+object\+\_\+smart\+\_\+type\+\_\+check\+\_\+ptr}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Bool} evas\+\_\+object\+\_\+smart\+\_\+type\+\_\+check\+\_\+ptr (
\begin{DoxyParamCaption}
\item[{const {\bf Evas\+\_\+\+Object} $\ast$}]{obj, }
\item[{const char $\ast$}]{type}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_ga164c21f7e780bdf48caaa4147975d456}


Checks whether a given smart object or any of its smart object parents is of a given smart class, {\bfseries using pointer comparison}. 

\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E}, if {\itshape obj} or any of its parents is of type {\itshape type}, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Object__Group_ga257a2651b93de714211d4205c0e70bb9}{evas\+\_\+object\+\_\+smart\+\_\+type\+\_\+check()} for more details 

eo\+\_\+isa
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em type} & The type (name string) to check for. Must be the name \\
\hline
\end{DoxyParams}


References evas\+\_\+obj\+\_\+smart\+\_\+type\+\_\+check\+\_\+ptr().

\hypertarget{group__Evas__Smart__Object__Group_ga06ea1dddf280d080accfdf2a26678e07}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+obj\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+set@{evas\+\_\+obj\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+set}}
\index{evas\+\_\+obj\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+set@{evas\+\_\+obj\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+set}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+obj\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void evas\+\_\+obj\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Eina\+\_\+\+Bool}}]{value}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_ga06ea1dddf280d080accfdf2a26678e07}


Set or unset the flag signalling that a given smart object needs to get recalculated. 

If this flag is set, then the {\ttfamily calculate()} smart function of {\ttfamily obj} will be called, if one is provided, during rendering phase of Evas (see \hyperlink{group__Evas__Canvas_ga8d339d4eb0acfd55b2af686c67783db1}{evas\+\_\+render()}), after which this flag will be automatically unset.

If that smart function is not provided for the given object, this flag will be left unchanged.

\begin{DoxyNote}{Note}
just setting this flag will not make the canvas\textquotesingle{} whole scene dirty, by itself, and \hyperlink{group__Evas__Canvas_ga8d339d4eb0acfd55b2af686c67783db1}{evas\+\_\+render()} will have no effect. To force that, use \hyperlink{group__Evas__Smart__Object__Group_ga11d4fa46965429f3aa946147c501834a}{evas\+\_\+object\+\_\+smart\+\_\+changed()}, that will also call this function automatically, with {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} as parameter.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Object__Group_gaa86a855270efc32fd26d9e17ac00d4fd}{evas\+\_\+object\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+get()} 

\hyperlink{group__Evas__Smart__Object__Group_ga4260614f70d0ade1a68274c9a18afd86}{evas\+\_\+object\+\_\+smart\+\_\+calculate()} 

\hyperlink{group__Evas__Smart__Object__Group_ga269c39cb0ecdfa26dfb2b8e4f257f445}{evas\+\_\+smart\+\_\+objects\+\_\+calculate()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em value} & whether one wants to set ({\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E}) or to unset ({\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E}) the flag. \\
\hline
\end{DoxyParams}


Referenced by evas\+\_\+object\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+set().

\hypertarget{group__Evas__Smart__Object__Group_gad5a4b2658e84d80dad4ada25be52a6a5}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+obj\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+get@{evas\+\_\+obj\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+get}}
\index{evas\+\_\+obj\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+get@{evas\+\_\+obj\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+get}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+obj\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I {\bf Eina\+\_\+\+Bool} evas\+\_\+obj\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_gad5a4b2658e84d80dad4ada25be52a6a5}


Get the value of the flag signalling that a given smart object needs to get recalculated. 

\begin{DoxyReturn}{Returns}
if flag is set or not.
\end{DoxyReturn}
\begin{DoxyNote}{Note}
this flag will be unset during the rendering phase, when the {\ttfamily calculate()} smart function is called, if one is provided. If it\textquotesingle{}s not provided, then the flag will be left unchanged after the rendering phase.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Object__Group_gad4a3952d5bd716d1d5cba74b335758c9}{evas\+\_\+object\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+set()}, for more details 
\end{DoxySeeAlso}


Referenced by evas\+\_\+object\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+get().

\hypertarget{group__Evas__Smart__Object__Group_ga94d0c09c11dc07d97f756a2b2ae72b34}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+obj\+\_\+smart\+\_\+data\+\_\+set@{evas\+\_\+obj\+\_\+smart\+\_\+data\+\_\+set}}
\index{evas\+\_\+obj\+\_\+smart\+\_\+data\+\_\+set@{evas\+\_\+obj\+\_\+smart\+\_\+data\+\_\+set}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+obj\+\_\+smart\+\_\+data\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void evas\+\_\+obj\+\_\+smart\+\_\+data\+\_\+set (
\begin{DoxyParamCaption}
\item[{void $\ast$}]{data}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_ga94d0c09c11dc07d97f756a2b2ae72b34}


Store a pointer to user data for a given smart object. 

This data is stored {\bfseries independently} of the one set by \hyperlink{group__Evas__Object__Group__Extras_ga70134a7068c9bff4107a761abe0a2ad4}{evas\+\_\+object\+\_\+data\+\_\+set()}, naturally.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Object__Group_ga4049c0eb448d6d7e16a47a5acbd09fee}{evas\+\_\+object\+\_\+smart\+\_\+data\+\_\+get()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em data} & A pointer to user data \\
\hline
\end{DoxyParams}


Referenced by evas\+\_\+object\+\_\+smart\+\_\+data\+\_\+set().

\hypertarget{group__Evas__Smart__Object__Group_gaed95eda96a3a882e8db924fa9539b3c3}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+obj\+\_\+smart\+\_\+get@{evas\+\_\+obj\+\_\+smart\+\_\+get}}
\index{evas\+\_\+obj\+\_\+smart\+\_\+get@{evas\+\_\+obj\+\_\+smart\+\_\+get}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+obj\+\_\+smart\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I {\bf Evas\+\_\+\+Smart}$\ast$ evas\+\_\+obj\+\_\+smart\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_gaed95eda96a3a882e8db924fa9539b3c3}


Get the \hyperlink{Evas__Common_8h_a7cdfd1afece1cad64c413eb9a778ddbb}{Evas\+\_\+\+Smart} from which {\ttfamily obj} smart object was created. 

\begin{DoxyReturn}{Returns}
the \hyperlink{Evas__Common_8h_a7cdfd1afece1cad64c413eb9a778ddbb}{Evas\+\_\+\+Smart} handle or {\ttfamily N\+U\+L\+L}, on errors 
\end{DoxyReturn}


Referenced by evas\+\_\+object\+\_\+smart\+\_\+smart\+\_\+get().

\hypertarget{group__Evas__Smart__Object__Group_ga6182d3534f6a245114538f43b2682a25}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+obj\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+set@{evas\+\_\+obj\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+set}}
\index{evas\+\_\+obj\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+set@{evas\+\_\+obj\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+set}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+obj\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I {\bf Eina\+\_\+\+Bool} evas\+\_\+obj\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+set (
\begin{DoxyParamCaption}
\item[{const {\bf Evas\+\_\+\+Smart\+\_\+\+Cb\+\_\+\+Description} $\ast$}]{descriptions}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_ga6182d3534f6a245114538f43b2682a25}


Set an smart object {\bfseries instance\textquotesingle{}s} smart callbacks descriptions. 

\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} on success, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} on failure.
\end{DoxyReturn}
These descriptions are hints to be used by introspection and are not enforced in any way.

It will not be checked if instance callbacks descriptions have the same name as respective possibly registered in the smart object {\bfseries class}. Both are kept in different arrays and users of \hyperlink{group__Evas__Smart__Object__Group_ga2fd47b3487660fad7aed172359b38555}{evas\+\_\+object\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+get()} should handle this case as they wish.

\begin{DoxyNote}{Note}
Becase {\ttfamily descriptions} must be {\ttfamily N\+U\+L\+L} terminated, and because a {\ttfamily N\+U\+L\+L} name makes little sense, too, \hyperlink{struct__Evas__Smart__Cb__Description_ab377859f4cfcf1c2dd3c149a76b70b53}{Evas\+\_\+\+Smart\+\_\+\+Cb\+\_\+\+Description.\+name} must {\bfseries not} be {\ttfamily N\+U\+L\+L}.

While instance callbacks descriptions are possible, they are {\bfseries not} recommended. Use {\bfseries class} callbacks descriptions instead as they make you smart object user\textquotesingle{}s life simpler and will use less memory, as descriptions and arrays will be shared among all instances.
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em descriptions} & {\ttfamily N\+U\+L\+L} terminated array with \hyperlink{group__Evas__Smart__Group_ga0ad0e7d482d7660e756e275d355e3634}{Evas\+\_\+\+Smart\+\_\+\+Cb\+\_\+\+Description} descriptions. Array elements won\textquotesingle{}t be modified at run time, but references to them and their contents will be made, so this array should be kept alive during the whole object\textquotesingle{}s lifetime. \\
\hline
\end{DoxyParams}


Referenced by evas\+\_\+object\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+set().

\hypertarget{group__Evas__Smart__Object__Group_ga598bb888284dd38c9fba441b18a308ac}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+obj\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+get@{evas\+\_\+obj\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+get}}
\index{evas\+\_\+obj\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+get@{evas\+\_\+obj\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+get}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+obj\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void evas\+\_\+obj\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Evas\+\_\+\+Smart\+\_\+\+Cb\+\_\+\+Description} $\ast$$\ast$$\ast$}]{class\+\_\+descriptions, }
\item[{unsigned int $\ast$}]{class\+\_\+count, }
\item[{const {\bf Evas\+\_\+\+Smart\+\_\+\+Cb\+\_\+\+Description} $\ast$$\ast$$\ast$}]{instance\+\_\+descriptions, }
\item[{unsigned int $\ast$}]{instance\+\_\+count}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_ga598bb888284dd38c9fba441b18a308ac}


Retrieve an smart object\textquotesingle{}s know smart callback descriptions (both instance and class ones). 

This call searches for registered callback descriptions for both instance and class of the given smart object. These arrays will be sorted by \hyperlink{struct__Evas__Smart__Cb__Description_ab377859f4cfcf1c2dd3c149a76b70b53}{Evas\+\_\+\+Smart\+\_\+\+Cb\+\_\+\+Description.\+name} and also {\ttfamily N\+U\+L\+L} terminated, so both {\itshape class\+\_\+count} and {\itshape instance\+\_\+count} can be ignored, if the caller wishes so. The terminator {\ttfamily N\+U\+L\+L} is not counted in these values.

\begin{DoxyNote}{Note}
If just class descriptions are of interest, try \hyperlink{group__Evas__Smart__Group_ga21bfd8ca489ecc08a0c3c9f66764f06d}{evas\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+get()} instead.

Use {\ttfamily N\+U\+L\+L} pointers on the descriptions/counters you\textquotesingle{}re not interested in\+: they\textquotesingle{}ll be ignored by the function.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Group_ga21bfd8ca489ecc08a0c3c9f66764f06d}{evas\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+get()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em class\+\_\+descriptions} & Where to store class callbacks descriptions array, if any is known. If no descriptions are known, {\ttfamily N\+U\+L\+L} is returned \\
\hline
\mbox{\tt out}  & {\em class\+\_\+count} & Returns how many class callbacks descriptions are known. \\
\hline
\mbox{\tt out}  & {\em instance\+\_\+descriptions} & Where to store instance callbacks descriptions array, if any is known. If no descriptions are known, {\ttfamily N\+U\+L\+L} is returned. \\
\hline
\mbox{\tt out}  & {\em instance\+\_\+count} & Returns how many instance callbacks descriptions are known. \\
\hline
\end{DoxyParams}


Referenced by evas\+\_\+object\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+get().

\hypertarget{group__Evas__Smart__Object__Group_ga133590675b138b16b33ac50923e5664a}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+obj\+\_\+smart\+\_\+calculate@{evas\+\_\+obj\+\_\+smart\+\_\+calculate}}
\index{evas\+\_\+obj\+\_\+smart\+\_\+calculate@{evas\+\_\+obj\+\_\+smart\+\_\+calculate}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+obj\+\_\+smart\+\_\+calculate}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void evas\+\_\+obj\+\_\+smart\+\_\+calculate (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_ga133590675b138b16b33ac50923e5664a}


Call the {\bfseries calculate()} smart function immediately on a given smart object. 

This will force immediate calculations (see \hyperlink{group__Evas__Smart__Group_gaea15f67e901bf5380cdb67dc1bb43391}{Evas\+\_\+\+Smart\+\_\+\+Class}) needed for renderization of this object and, besides, unset the flag on it telling it needs recalculation for the next rendering phase.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Object__Group_gad4a3952d5bd716d1d5cba74b335758c9}{evas\+\_\+object\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+set()} 
\end{DoxySeeAlso}


Referenced by evas\+\_\+object\+\_\+smart\+\_\+calculate().

\hypertarget{group__Evas__Smart__Object__Group_ga2c752b0da885f1fed5401469338c95ba}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+obj\+\_\+smart\+\_\+add@{evas\+\_\+obj\+\_\+smart\+\_\+add}}
\index{evas\+\_\+obj\+\_\+smart\+\_\+add@{evas\+\_\+obj\+\_\+smart\+\_\+add}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+obj\+\_\+smart\+\_\+add}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void evas\+\_\+obj\+\_\+smart\+\_\+add (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_ga2c752b0da885f1fed5401469338c95ba}


Instantiates a new smart object described by {\ttfamily s}. 

\begin{DoxyReturn}{Returns}
a new \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} handle
\end{DoxyReturn}
This is the function one should use when defining the public function {\bfseries adding} an instance of the new smart object to a given canvas. It will take care of setting all of its internals to work as they should, if the user set things properly, as seem on the \hyperlink{group__Evas__Smart__Group_ga58dc94af6f064b39b2bf0155908fbe52}{E\+V\+A\+S\+\_\+\+S\+M\+A\+R\+T\+\_\+\+S\+U\+B\+C\+L\+A\+S\+S\+\_\+\+N\+E\+W}, for example. \hypertarget{group__Evas__Smart__Object__Group_ga5408e253d0be9dc7a99b664e76bc9d71}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+obj\+\_\+smart\+\_\+member\+\_\+add@{evas\+\_\+obj\+\_\+smart\+\_\+member\+\_\+add}}
\index{evas\+\_\+obj\+\_\+smart\+\_\+member\+\_\+add@{evas\+\_\+obj\+\_\+smart\+\_\+member\+\_\+add}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+obj\+\_\+smart\+\_\+member\+\_\+add}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void evas\+\_\+obj\+\_\+smart\+\_\+member\+\_\+add (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Object} $\ast$}]{sub\+\_\+obj}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_ga5408e253d0be9dc7a99b664e76bc9d71}


Set an Evas object as a member of a given smart object. 

Members will automatically be stacked and layered together with the smart object. The various stacking functions will operate on members relative to the other members instead of the entire canvas, since they now live on an exclusive layer (see \hyperlink{group__Evas__Font__Group_ga27584456485bb95792568ddc2a40f55a}{evas\+\_\+object\+\_\+stack\+\_\+above()}, for more details).

Any {\ttfamily smart\+\_\+obj} object\textquotesingle{}s specific implementation of the {\ttfamily member\+\_\+add()} smart function will take place too, naturally.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Object__Group_ga12034359ab780a3a0e8b20b83475ed15}{evas\+\_\+object\+\_\+smart\+\_\+member\+\_\+del()} 

evas\+\_\+object\+\_\+smart\+\_\+members\+\_\+get()
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em sub\+\_\+obj} & The member object \\
\hline
\end{DoxyParams}


Referenced by evas\+\_\+object\+\_\+smart\+\_\+member\+\_\+add().

\hypertarget{group__Evas__Smart__Object__Group_gac911e2c00ceb2c932d62c50a77ba13e4}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+obj\+\_\+smart\+\_\+changed@{evas\+\_\+obj\+\_\+smart\+\_\+changed}}
\index{evas\+\_\+obj\+\_\+smart\+\_\+changed@{evas\+\_\+obj\+\_\+smart\+\_\+changed}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+obj\+\_\+smart\+\_\+changed}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void evas\+\_\+obj\+\_\+smart\+\_\+changed (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_gac911e2c00ceb2c932d62c50a77ba13e4}


Mark smart object as changed, dirty. 

This will flag the given object as needing recalculation, forcefully. As an effect, on the next rendering cycle its {\bfseries calculate()} (see \hyperlink{group__Evas__Smart__Group_gaea15f67e901bf5380cdb67dc1bb43391}{Evas\+\_\+\+Smart\+\_\+\+Class}) smart function will be called.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Object__Group_gad4a3952d5bd716d1d5cba74b335758c9}{evas\+\_\+object\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+set()}. 

\hyperlink{group__Evas__Smart__Object__Group_ga4260614f70d0ade1a68274c9a18afd86}{evas\+\_\+object\+\_\+smart\+\_\+calculate()}. 
\end{DoxySeeAlso}


Referenced by evas\+\_\+object\+\_\+smart\+\_\+changed().

\hypertarget{group__Evas__Smart__Object__Group_gaaa2a8440f1b90d5ea48f460f43972170}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+obj\+\_\+smart\+\_\+member\+\_\+del@{evas\+\_\+obj\+\_\+smart\+\_\+member\+\_\+del}}
\index{evas\+\_\+obj\+\_\+smart\+\_\+member\+\_\+del@{evas\+\_\+obj\+\_\+smart\+\_\+member\+\_\+del}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+obj\+\_\+smart\+\_\+member\+\_\+del}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void evas\+\_\+obj\+\_\+smart\+\_\+member\+\_\+del (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Object} $\ast$}]{sub\+\_\+obj}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_gaaa2a8440f1b90d5ea48f460f43972170}


Removes a member object from a given smart object. 

This removes a member object from a smart object, if it was added to any. The object will still be on the canvas, but no longer associated with whichever smart object it was associated with.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Object__Group_ga6845c17effe796430cb4fc5f2cfccef0}{evas\+\_\+object\+\_\+smart\+\_\+member\+\_\+add()} for more details 

evas\+\_\+object\+\_\+smart\+\_\+members\+\_\+get()
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em sub\+\_\+obj} & the member object \\
\hline
\end{DoxyParams}


Referenced by evas\+\_\+object\+\_\+smart\+\_\+member\+\_\+del().

\hypertarget{group__Evas__Smart__Object__Group_gae55a1edad518c5fe8ce6f4cb9037dab5}{}\index{Smart Object Functions@{Smart Object Functions}!callbacks\+\_\+descriptions\+\_\+set@{callbacks\+\_\+descriptions\+\_\+set}}
\index{callbacks\+\_\+descriptions\+\_\+set@{callbacks\+\_\+descriptions\+\_\+set}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{callbacks\+\_\+descriptions\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}bool evas\+::object\+\_\+smart\+::callbacks\+\_\+descriptions\+\_\+set (
\begin{DoxyParamCaption}
\item[{const {\bf Evas\+\_\+\+Smart\+\_\+\+Cb\+\_\+\+Description} $\ast$}]{descriptions\+\_\+}
\end{DoxyParamCaption}
) const}\label{group__Evas__Smart__Object__Group_gae55a1edad518c5fe8ce6f4cb9037dab5}


Set an smart object {\bfseries instance\textquotesingle{}s} smart callbacks descriptions. 

\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} on success, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} on failure.
\end{DoxyReturn}
These descriptions are hints to be used by introspection and are not enforced in any way.

It will not be checked if instance callbacks descriptions have the same name as respective possibly registered in the smart object {\bfseries class}. Both are kept in different arrays and users of \hyperlink{group__Evas__Smart__Object__Group_ga2fd47b3487660fad7aed172359b38555}{evas\+\_\+object\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+get()} should handle this case as they wish.

\begin{DoxyNote}{Note}
Becase {\ttfamily descriptions} must be {\ttfamily N\+U\+L\+L} terminated, and because a {\ttfamily N\+U\+L\+L} name makes little sense, too, \hyperlink{struct__Evas__Smart__Cb__Description_ab377859f4cfcf1c2dd3c149a76b70b53}{Evas\+\_\+\+Smart\+\_\+\+Cb\+\_\+\+Description.\+name} must {\bfseries not} be {\ttfamily N\+U\+L\+L}.

While instance callbacks descriptions are possible, they are {\bfseries not} recommended. Use {\bfseries class} callbacks descriptions instead as they make you smart object user\textquotesingle{}s life simpler and will use less memory, as descriptions and arrays will be shared among all instances.
\end{DoxyNote}

\begin{DoxyParams}{Parameters}
{\em descriptions} & {\ttfamily N\+U\+L\+L} terminated array with \hyperlink{group__Evas__Smart__Group_ga0ad0e7d482d7660e756e275d355e3634}{Evas\+\_\+\+Smart\+\_\+\+Cb\+\_\+\+Description} descriptions. Array elements won\textquotesingle{}t be modified at run time, but references to them and their contents will be made, so this array should be kept alive during the whole object\textquotesingle{}s lifetime. \\
\hline
\end{DoxyParams}
\hypertarget{group__Evas__Smart__Object__Group_gac978e8c1744f10ca04d22d513c80708a}{}\index{Smart Object Functions@{Smart Object Functions}!callbacks\+\_\+descriptions\+\_\+get@{callbacks\+\_\+descriptions\+\_\+get}}
\index{callbacks\+\_\+descriptions\+\_\+get@{callbacks\+\_\+descriptions\+\_\+get}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{callbacks\+\_\+descriptions\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+::object\+\_\+smart\+::callbacks\+\_\+descriptions\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Evas\+\_\+\+Smart\+\_\+\+Cb\+\_\+\+Description} $\ast$$\ast$$\ast$}]{class\+\_\+descriptions\+\_\+, }
\item[{unsigned int $\ast$}]{class\+\_\+count\+\_\+, }
\item[{const {\bf Evas\+\_\+\+Smart\+\_\+\+Cb\+\_\+\+Description} $\ast$$\ast$$\ast$}]{instance\+\_\+descriptions\+\_\+, }
\item[{unsigned int $\ast$}]{instance\+\_\+count\+\_\+}
\end{DoxyParamCaption}
) const}\label{group__Evas__Smart__Object__Group_gac978e8c1744f10ca04d22d513c80708a}


Retrieve an smart object\textquotesingle{}s know smart callback descriptions (both instance and class ones). 

This call searches for registered callback descriptions for both instance and class of the given smart object. These arrays will be sorted by \hyperlink{struct__Evas__Smart__Cb__Description_ab377859f4cfcf1c2dd3c149a76b70b53}{Evas\+\_\+\+Smart\+\_\+\+Cb\+\_\+\+Description.\+name} and also {\ttfamily N\+U\+L\+L} terminated, so both {\itshape class\+\_\+count} and {\itshape instance\+\_\+count} can be ignored, if the caller wishes so. The terminator {\ttfamily N\+U\+L\+L} is not counted in these values.

\begin{DoxyNote}{Note}
If just class descriptions are of interest, try \hyperlink{group__Evas__Smart__Group_ga21bfd8ca489ecc08a0c3c9f66764f06d}{evas\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+get()} instead.

Use {\ttfamily N\+U\+L\+L} pointers on the descriptions/counters you\textquotesingle{}re not interested in\+: they\textquotesingle{}ll be ignored by the function.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Group_ga21bfd8ca489ecc08a0c3c9f66764f06d}{evas\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+get()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em class\+\_\+descriptions} & Where to store class callbacks descriptions array, if any is known. If no descriptions are known, {\ttfamily N\+U\+L\+L} is returned \\
\hline
\mbox{\tt out}  & {\em class\+\_\+count} & Returns how many class callbacks descriptions are known. \\
\hline
\mbox{\tt out}  & {\em instance\+\_\+descriptions} & Where to store instance callbacks descriptions array, if any is known. If no descriptions are known, {\ttfamily N\+U\+L\+L} is returned. \\
\hline
\mbox{\tt out}  & {\em instance\+\_\+count} & Returns how many instance callbacks descriptions are known. \\
\hline
\end{DoxyParams}
\hypertarget{group__Evas__Smart__Object__Group_gad62ecde0d6ae562e37b16cf20445777d}{}\index{Smart Object Functions@{Smart Object Functions}!calculate@{calculate}}
\index{calculate@{calculate}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{calculate}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+::object\+\_\+smart\+::calculate (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\label{group__Evas__Smart__Object__Group_gad62ecde0d6ae562e37b16cf20445777d}


Call the {\bfseries \hyperlink{group__Evas__Smart__Object__Group_gad62ecde0d6ae562e37b16cf20445777d}{calculate()}} smart function immediately on a given smart object. 

This will force immediate calculations (see \hyperlink{group__Evas__Smart__Group_gaea15f67e901bf5380cdb67dc1bb43391}{Evas\+\_\+\+Smart\+\_\+\+Class}) needed for renderization of this object and, besides, unset the flag on it telling it needs recalculation for the next rendering phase.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Object__Group_gad4a3952d5bd716d1d5cba74b335758c9}{evas\+\_\+object\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+set()} 
\end{DoxySeeAlso}
\hypertarget{group__Evas__Smart__Object__Group_gaac00541cb1468757fb6d9720a20d4c68}{}\index{Smart Object Functions@{Smart Object Functions}!add@{add}}
\index{add@{add}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{add}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+::object\+\_\+smart\+::add (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\label{group__Evas__Smart__Object__Group_gaac00541cb1468757fb6d9720a20d4c68}


Instantiates a new smart object described by {\ttfamily s}. 

\begin{DoxyReturn}{Returns}
a new \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} handle
\end{DoxyReturn}
This is the function one should use when defining the public function {\bfseries adding} an instance of the new smart object to a given canvas. It will take care of setting all of its internals to work as they should, if the user set things properly, as seem on the \hyperlink{group__Evas__Smart__Group_ga58dc94af6f064b39b2bf0155908fbe52}{E\+V\+A\+S\+\_\+\+S\+M\+A\+R\+T\+\_\+\+S\+U\+B\+C\+L\+A\+S\+S\+\_\+\+N\+E\+W}, for example. \hypertarget{group__Evas__Smart__Object__Group_gabf5640c7a01fcc3c563a7bce8446490f}{}\index{Smart Object Functions@{Smart Object Functions}!member\+\_\+add@{member\+\_\+add}}
\index{member\+\_\+add@{member\+\_\+add}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{member\+\_\+add}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+::object\+\_\+smart\+::member\+\_\+add (
\begin{DoxyParamCaption}
\item[{\+::{\bf evas\+::object}}]{sub\+\_\+obj\+\_\+}
\end{DoxyParamCaption}
) const}\label{group__Evas__Smart__Object__Group_gabf5640c7a01fcc3c563a7bce8446490f}


Set an Evas object as a member of a given smart object. 

Members will automatically be stacked and layered together with the smart object. The various stacking functions will operate on members relative to the other members instead of the entire canvas, since they now live on an exclusive layer (see \hyperlink{group__Evas__Font__Group_ga27584456485bb95792568ddc2a40f55a}{evas\+\_\+object\+\_\+stack\+\_\+above()}, for more details).

Any {\ttfamily smart\+\_\+obj} object\textquotesingle{}s specific implementation of the {\ttfamily \hyperlink{group__Evas__Smart__Object__Group_gabf5640c7a01fcc3c563a7bce8446490f}{member\+\_\+add()}} smart function will take place too, naturally.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Object__Group_ga12034359ab780a3a0e8b20b83475ed15}{evas\+\_\+object\+\_\+smart\+\_\+member\+\_\+del()} 

evas\+\_\+object\+\_\+smart\+\_\+members\+\_\+get()
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em sub\+\_\+obj} & The member object \\
\hline
\end{DoxyParams}
\hypertarget{group__Evas__Smart__Object__Group_ga58528cc028aba20b14c41b911786c3c3}{}\index{Smart Object Functions@{Smart Object Functions}!changed@{changed}}
\index{changed@{changed}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{changed}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+::object\+\_\+smart\+::changed (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\label{group__Evas__Smart__Object__Group_ga58528cc028aba20b14c41b911786c3c3}


Mark smart object as changed, dirty. 

This will flag the given object as needing recalculation, forcefully. As an effect, on the next rendering cycle its {\bfseries \hyperlink{group__Evas__Smart__Object__Group_gad62ecde0d6ae562e37b16cf20445777d}{calculate()}} (see \hyperlink{group__Evas__Smart__Group_gaea15f67e901bf5380cdb67dc1bb43391}{Evas\+\_\+\+Smart\+\_\+\+Class}) smart function will be called.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Object__Group_gad4a3952d5bd716d1d5cba74b335758c9}{evas\+\_\+object\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+set()}. 

\hyperlink{group__Evas__Smart__Object__Group_ga4260614f70d0ade1a68274c9a18afd86}{evas\+\_\+object\+\_\+smart\+\_\+calculate()}. 
\end{DoxySeeAlso}
\hypertarget{group__Evas__Smart__Object__Group_ga3dbd6ceb7df67db8e98bce89b130e348}{}\index{Smart Object Functions@{Smart Object Functions}!member\+\_\+del@{member\+\_\+del}}
\index{member\+\_\+del@{member\+\_\+del}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{member\+\_\+del}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+::object\+\_\+smart\+::member\+\_\+del (
\begin{DoxyParamCaption}
\item[{\+::{\bf evas\+::object}}]{sub\+\_\+obj\+\_\+}
\end{DoxyParamCaption}
) const}\label{group__Evas__Smart__Object__Group_ga3dbd6ceb7df67db8e98bce89b130e348}


Removes a member object from a given smart object. 

This removes a member object from a smart object, if it was added to any. The object will still be on the canvas, but no longer associated with whichever smart object it was associated with.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Object__Group_ga6845c17effe796430cb4fc5f2cfccef0}{evas\+\_\+object\+\_\+smart\+\_\+member\+\_\+add()} for more details 

evas\+\_\+object\+\_\+smart\+\_\+members\+\_\+get()
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em sub\+\_\+obj} & the member object \\
\hline
\end{DoxyParams}
\hypertarget{group__Evas__Smart__Object__Group_gaa8aff6edf162b3c686cdcaaa03cf6319}{}\index{Smart Object Functions@{Smart Object Functions}!need\+\_\+recalculate\+\_\+get@{need\+\_\+recalculate\+\_\+get}}
\index{need\+\_\+recalculate\+\_\+get@{need\+\_\+recalculate\+\_\+get}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{need\+\_\+recalculate\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}bool evas\+::object\+\_\+smart\+::need\+\_\+recalculate\+\_\+get (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\label{group__Evas__Smart__Object__Group_gaa8aff6edf162b3c686cdcaaa03cf6319}


Get the value of the flag signalling that a given smart object needs to get recalculated. 

\begin{DoxyReturn}{Returns}
if flag is set or not.
\end{DoxyReturn}
\begin{DoxyNote}{Note}
this flag will be unset during the rendering phase, when the {\ttfamily \hyperlink{group__Evas__Smart__Object__Group_gad62ecde0d6ae562e37b16cf20445777d}{calculate()}} smart function is called, if one is provided. If it\textquotesingle{}s not provided, then the flag will be left unchanged after the rendering phase.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Object__Group_gad4a3952d5bd716d1d5cba74b335758c9}{evas\+\_\+object\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+set()}, for more details
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em value} & whether one wants to set ({\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E}) or to unset ({\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E}) the flag. \\
\hline
\end{DoxyParams}
\hypertarget{group__Evas__Smart__Object__Group_gaa8544d705a7cbc6460a7feaa5a6cffcb}{}\index{Smart Object Functions@{Smart Object Functions}!need\+\_\+recalculate\+\_\+set@{need\+\_\+recalculate\+\_\+set}}
\index{need\+\_\+recalculate\+\_\+set@{need\+\_\+recalculate\+\_\+set}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{need\+\_\+recalculate\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+::object\+\_\+smart\+::need\+\_\+recalculate\+\_\+set (
\begin{DoxyParamCaption}
\item[{bool}]{value\+\_\+}
\end{DoxyParamCaption}
) const}\label{group__Evas__Smart__Object__Group_gaa8544d705a7cbc6460a7feaa5a6cffcb}


Set or unset the flag signalling that a given smart object needs to get recalculated. 

If this flag is set, then the {\ttfamily \hyperlink{group__Evas__Smart__Object__Group_gad62ecde0d6ae562e37b16cf20445777d}{calculate()}} smart function of {\ttfamily obj} will be called, if one is provided, during rendering phase of Evas (see \hyperlink{group__Evas__Canvas_ga8d339d4eb0acfd55b2af686c67783db1}{evas\+\_\+render()}), after which this flag will be automatically unset.

If that smart function is not provided for the given object, this flag will be left unchanged.

\begin{DoxyNote}{Note}
just setting this flag will not make the canvas\textquotesingle{} whole scene dirty, by itself, and \hyperlink{group__Evas__Canvas_ga8d339d4eb0acfd55b2af686c67783db1}{evas\+\_\+render()} will have no effect. To force that, use \hyperlink{group__Evas__Smart__Object__Group_ga11d4fa46965429f3aa946147c501834a}{evas\+\_\+object\+\_\+smart\+\_\+changed()}, that will also call this function automatically, with {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} as parameter.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Object__Group_gaa86a855270efc32fd26d9e17ac00d4fd}{evas\+\_\+object\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+get()} 

\hyperlink{group__Evas__Smart__Object__Group_ga4260614f70d0ade1a68274c9a18afd86}{evas\+\_\+object\+\_\+smart\+\_\+calculate()} 

\hyperlink{group__Evas__Smart__Object__Group_ga269c39cb0ecdfa26dfb2b8e4f257f445}{evas\+\_\+smart\+\_\+objects\+\_\+calculate()}
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em value} & whether one wants to set ({\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E}) or to unset ({\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E}) the flag. \\
\hline
\end{DoxyParams}
\hypertarget{group__Evas__Smart__Object__Group_ga33021800378f9bfd561774e167e90abd}{}\index{Smart Object Functions@{Smart Object Functions}!data\+\_\+set@{data\+\_\+set}}
\index{data\+\_\+set@{data\+\_\+set}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{data\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+::object\+\_\+smart\+::data\+\_\+set (
\begin{DoxyParamCaption}
\item[{void $\ast$}]{data\+\_\+}
\end{DoxyParamCaption}
) const}\label{group__Evas__Smart__Object__Group_ga33021800378f9bfd561774e167e90abd}


Store a pointer to user data for a given smart object. 

This data is stored {\bfseries independently} of the one set by \hyperlink{group__Evas__Object__Group__Extras_ga70134a7068c9bff4107a761abe0a2ad4}{evas\+\_\+object\+\_\+data\+\_\+set()}, naturally.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Object__Group_ga4049c0eb448d6d7e16a47a5acbd09fee}{evas\+\_\+object\+\_\+smart\+\_\+data\+\_\+get()}
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em data} & A pointer to user data \\
\hline
\end{DoxyParams}
\hypertarget{group__Evas__Smart__Object__Group_gadef51797059b92fb354ffff78caa1961}{}\index{Smart Object Functions@{Smart Object Functions}!smart\+\_\+get@{smart\+\_\+get}}
\index{smart\+\_\+get@{smart\+\_\+get}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{smart\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Evas\+\_\+\+Smart}$\ast$ evas\+::object\+\_\+smart\+::smart\+\_\+get (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\label{group__Evas__Smart__Object__Group_gadef51797059b92fb354ffff78caa1961}


Get the \hyperlink{Evas__Common_8h_a7cdfd1afece1cad64c413eb9a778ddbb}{Evas\+\_\+\+Smart} from which {\ttfamily obj} smart object was created. 

\begin{DoxyReturn}{Returns}
the \hyperlink{Evas__Common_8h_a7cdfd1afece1cad64c413eb9a778ddbb}{Evas\+\_\+\+Smart} handle or {\ttfamily N\+U\+L\+L}, on errors 
\end{DoxyReturn}
\hypertarget{group__Evas__Smart__Object__Group_gad4a3952d5bd716d1d5cba74b335758c9}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+object\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+set@{evas\+\_\+object\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+set}}
\index{evas\+\_\+object\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+set@{evas\+\_\+object\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+set}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+object\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+\_\+object\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+set (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object\+\_\+\+Smart $\ast$}]{obj, }
\item[{{\bf Eina\+\_\+\+Bool}}]{value}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_gad4a3952d5bd716d1d5cba74b335758c9}


Set or unset the flag signalling that a given smart object needs to get recalculated. 

If this flag is set, then the {\ttfamily calculate()} smart function of {\ttfamily obj} will be called, if one is provided, during rendering phase of Evas (see \hyperlink{group__Evas__Canvas_ga8d339d4eb0acfd55b2af686c67783db1}{evas\+\_\+render()}), after which this flag will be automatically unset.

If that smart function is not provided for the given object, this flag will be left unchanged.

\begin{DoxyNote}{Note}
just setting this flag will not make the canvas\textquotesingle{} whole scene dirty, by itself, and \hyperlink{group__Evas__Canvas_ga8d339d4eb0acfd55b2af686c67783db1}{evas\+\_\+render()} will have no effect. To force that, use \hyperlink{group__Evas__Smart__Object__Group_ga11d4fa46965429f3aa946147c501834a}{evas\+\_\+object\+\_\+smart\+\_\+changed()}, that will also call this function automatically, with {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} as parameter.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Object__Group_gaa86a855270efc32fd26d9e17ac00d4fd}{evas\+\_\+object\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+get()} 

\hyperlink{group__Evas__Smart__Object__Group_ga4260614f70d0ade1a68274c9a18afd86}{evas\+\_\+object\+\_\+smart\+\_\+calculate()} 

\hyperlink{group__Evas__Smart__Object__Group_ga269c39cb0ecdfa26dfb2b8e4f257f445}{evas\+\_\+smart\+\_\+objects\+\_\+calculate()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em value} & whether one wants to set ({\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E}) or to unset ({\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E}) the flag. \\
\hline
\end{DoxyParams}


References evas\+\_\+obj\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+set().

\hypertarget{group__Evas__Smart__Object__Group_gaa86a855270efc32fd26d9e17ac00d4fd}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+object\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+get@{evas\+\_\+object\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+get}}
\index{evas\+\_\+object\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+get@{evas\+\_\+object\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+get}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+object\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Bool} evas\+\_\+object\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Evas\+\_\+\+Object\+\_\+\+Smart $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_gaa86a855270efc32fd26d9e17ac00d4fd}


Get the value of the flag signalling that a given smart object needs to get recalculated. 

\begin{DoxyReturn}{Returns}
if flag is set or not.
\end{DoxyReturn}
\begin{DoxyNote}{Note}
this flag will be unset during the rendering phase, when the {\ttfamily calculate()} smart function is called, if one is provided. If it\textquotesingle{}s not provided, then the flag will be left unchanged after the rendering phase.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Object__Group_gad4a3952d5bd716d1d5cba74b335758c9}{evas\+\_\+object\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+set()}, for more details 
\end{DoxySeeAlso}


References evas\+\_\+obj\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+get().

\hypertarget{group__Evas__Smart__Object__Group_ga2608f1464c467bb583da442fc170b39c}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+object\+\_\+smart\+\_\+data\+\_\+set@{evas\+\_\+object\+\_\+smart\+\_\+data\+\_\+set}}
\index{evas\+\_\+object\+\_\+smart\+\_\+data\+\_\+set@{evas\+\_\+object\+\_\+smart\+\_\+data\+\_\+set}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+object\+\_\+smart\+\_\+data\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+\_\+object\+\_\+smart\+\_\+data\+\_\+set (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object\+\_\+\+Smart $\ast$}]{obj, }
\item[{void $\ast$}]{data}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_ga2608f1464c467bb583da442fc170b39c}


Store a pointer to user data for a given smart object. 

This data is stored {\bfseries independently} of the one set by \hyperlink{group__Evas__Object__Group__Extras_ga70134a7068c9bff4107a761abe0a2ad4}{evas\+\_\+object\+\_\+data\+\_\+set()}, naturally.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Object__Group_ga4049c0eb448d6d7e16a47a5acbd09fee}{evas\+\_\+object\+\_\+smart\+\_\+data\+\_\+get()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em data} & A pointer to user data \\
\hline
\end{DoxyParams}


References evas\+\_\+obj\+\_\+smart\+\_\+data\+\_\+set().

\hypertarget{group__Evas__Smart__Object__Group_gaf1821730bbd20f4caa6d8d731b6c4ec8}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+object\+\_\+smart\+\_\+smart\+\_\+get@{evas\+\_\+object\+\_\+smart\+\_\+smart\+\_\+get}}
\index{evas\+\_\+object\+\_\+smart\+\_\+smart\+\_\+get@{evas\+\_\+object\+\_\+smart\+\_\+smart\+\_\+get}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+object\+\_\+smart\+\_\+smart\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Evas\+\_\+\+Smart}$\ast$ evas\+\_\+object\+\_\+smart\+\_\+smart\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Evas\+\_\+\+Object\+\_\+\+Smart $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_gaf1821730bbd20f4caa6d8d731b6c4ec8}


Get the \hyperlink{Evas__Common_8h_a7cdfd1afece1cad64c413eb9a778ddbb}{Evas\+\_\+\+Smart} from which {\ttfamily obj} smart object was created. 

\begin{DoxyReturn}{Returns}
the \hyperlink{Evas__Common_8h_a7cdfd1afece1cad64c413eb9a778ddbb}{Evas\+\_\+\+Smart} handle or {\ttfamily N\+U\+L\+L}, on errors 
\end{DoxyReturn}


References evas\+\_\+obj\+\_\+smart\+\_\+get().



Referenced by evas\+\_\+object\+\_\+smart\+\_\+interface\+\_\+data\+\_\+get(), and evas\+\_\+object\+\_\+smart\+\_\+interface\+\_\+get().

\hypertarget{group__Evas__Smart__Object__Group_gaf1680eeed57b5b560094b4c9626087fa}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+object\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+set@{evas\+\_\+object\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+set}}
\index{evas\+\_\+object\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+set@{evas\+\_\+object\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+set}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+object\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Bool} evas\+\_\+object\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+set (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object\+\_\+\+Smart $\ast$}]{obj, }
\item[{const {\bf Evas\+\_\+\+Smart\+\_\+\+Cb\+\_\+\+Description} $\ast$}]{descriptions}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_gaf1680eeed57b5b560094b4c9626087fa}


Set an smart object {\bfseries instance\textquotesingle{}s} smart callbacks descriptions. 

\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} on success, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} on failure.
\end{DoxyReturn}
These descriptions are hints to be used by introspection and are not enforced in any way.

It will not be checked if instance callbacks descriptions have the same name as respective possibly registered in the smart object {\bfseries class}. Both are kept in different arrays and users of \hyperlink{group__Evas__Smart__Object__Group_ga2fd47b3487660fad7aed172359b38555}{evas\+\_\+object\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+get()} should handle this case as they wish.

\begin{DoxyNote}{Note}
Becase {\ttfamily descriptions} must be {\ttfamily N\+U\+L\+L} terminated, and because a {\ttfamily N\+U\+L\+L} name makes little sense, too, \hyperlink{struct__Evas__Smart__Cb__Description_ab377859f4cfcf1c2dd3c149a76b70b53}{Evas\+\_\+\+Smart\+\_\+\+Cb\+\_\+\+Description.\+name} must {\bfseries not} be {\ttfamily N\+U\+L\+L}.

While instance callbacks descriptions are possible, they are {\bfseries not} recommended. Use {\bfseries class} callbacks descriptions instead as they make you smart object user\textquotesingle{}s life simpler and will use less memory, as descriptions and arrays will be shared among all instances.
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em descriptions} & {\ttfamily N\+U\+L\+L} terminated array with \hyperlink{group__Evas__Smart__Group_ga0ad0e7d482d7660e756e275d355e3634}{Evas\+\_\+\+Smart\+\_\+\+Cb\+\_\+\+Description} descriptions. Array elements won\textquotesingle{}t be modified at run time, but references to them and their contents will be made, so this array should be kept alive during the whole object\textquotesingle{}s lifetime. \\
\hline
\end{DoxyParams}


References evas\+\_\+obj\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+set().

\hypertarget{group__Evas__Smart__Object__Group_ga2fd47b3487660fad7aed172359b38555}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+object\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+get@{evas\+\_\+object\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+get}}
\index{evas\+\_\+object\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+get@{evas\+\_\+object\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+get}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+object\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+\_\+object\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+get (
\begin{DoxyParamCaption}
\item[{const Evas\+\_\+\+Object\+\_\+\+Smart $\ast$}]{obj, }
\item[{const {\bf Evas\+\_\+\+Smart\+\_\+\+Cb\+\_\+\+Description} $\ast$$\ast$$\ast$}]{class\+\_\+descriptions, }
\item[{unsigned int $\ast$}]{class\+\_\+count, }
\item[{const {\bf Evas\+\_\+\+Smart\+\_\+\+Cb\+\_\+\+Description} $\ast$$\ast$$\ast$}]{instance\+\_\+descriptions, }
\item[{unsigned int $\ast$}]{instance\+\_\+count}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_ga2fd47b3487660fad7aed172359b38555}


Retrieve an smart object\textquotesingle{}s know smart callback descriptions (both instance and class ones). 

This call searches for registered callback descriptions for both instance and class of the given smart object. These arrays will be sorted by \hyperlink{struct__Evas__Smart__Cb__Description_ab377859f4cfcf1c2dd3c149a76b70b53}{Evas\+\_\+\+Smart\+\_\+\+Cb\+\_\+\+Description.\+name} and also {\ttfamily N\+U\+L\+L} terminated, so both {\itshape class\+\_\+count} and {\itshape instance\+\_\+count} can be ignored, if the caller wishes so. The terminator {\ttfamily N\+U\+L\+L} is not counted in these values.

\begin{DoxyNote}{Note}
If just class descriptions are of interest, try \hyperlink{group__Evas__Smart__Group_ga21bfd8ca489ecc08a0c3c9f66764f06d}{evas\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+get()} instead.

Use {\ttfamily N\+U\+L\+L} pointers on the descriptions/counters you\textquotesingle{}re not interested in\+: they\textquotesingle{}ll be ignored by the function.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Group_ga21bfd8ca489ecc08a0c3c9f66764f06d}{evas\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+get()}
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em class\+\_\+descriptions} & Where to store class callbacks descriptions array, if any is known. If no descriptions are known, {\ttfamily N\+U\+L\+L} is returned \\
\hline
\mbox{\tt out}  & {\em class\+\_\+count} & Returns how many class callbacks descriptions are known. \\
\hline
\mbox{\tt out}  & {\em instance\+\_\+descriptions} & Where to store instance callbacks descriptions array, if any is known. If no descriptions are known, {\ttfamily N\+U\+L\+L} is returned. \\
\hline
\mbox{\tt out}  & {\em instance\+\_\+count} & Returns how many instance callbacks descriptions are known. \\
\hline
\end{DoxyParams}


References evas\+\_\+obj\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+get().

\hypertarget{group__Evas__Smart__Object__Group_ga4260614f70d0ade1a68274c9a18afd86}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+object\+\_\+smart\+\_\+calculate@{evas\+\_\+object\+\_\+smart\+\_\+calculate}}
\index{evas\+\_\+object\+\_\+smart\+\_\+calculate@{evas\+\_\+object\+\_\+smart\+\_\+calculate}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+object\+\_\+smart\+\_\+calculate}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+\_\+object\+\_\+smart\+\_\+calculate (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object\+\_\+\+Smart $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_ga4260614f70d0ade1a68274c9a18afd86}


Call the {\bfseries calculate()} smart function immediately on a given smart object. 

This will force immediate calculations (see \hyperlink{group__Evas__Smart__Group_gaea15f67e901bf5380cdb67dc1bb43391}{Evas\+\_\+\+Smart\+\_\+\+Class}) needed for renderization of this object and, besides, unset the flag on it telling it needs recalculation for the next rendering phase.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Object__Group_gad4a3952d5bd716d1d5cba74b335758c9}{evas\+\_\+object\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+set()} 
\end{DoxySeeAlso}


References evas\+\_\+obj\+\_\+smart\+\_\+calculate().

\hypertarget{group__Evas__Smart__Object__Group_ga11d4fa46965429f3aa946147c501834a}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+object\+\_\+smart\+\_\+changed@{evas\+\_\+object\+\_\+smart\+\_\+changed}}
\index{evas\+\_\+object\+\_\+smart\+\_\+changed@{evas\+\_\+object\+\_\+smart\+\_\+changed}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+object\+\_\+smart\+\_\+changed}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+\_\+object\+\_\+smart\+\_\+changed (
\begin{DoxyParamCaption}
\item[{Evas\+\_\+\+Object\+\_\+\+Smart $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_ga11d4fa46965429f3aa946147c501834a}


Mark smart object as changed, dirty. 

This will flag the given object as needing recalculation, forcefully. As an effect, on the next rendering cycle its {\bfseries calculate()} (see \hyperlink{group__Evas__Smart__Group_gaea15f67e901bf5380cdb67dc1bb43391}{Evas\+\_\+\+Smart\+\_\+\+Class}) smart function will be called.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Object__Group_gad4a3952d5bd716d1d5cba74b335758c9}{evas\+\_\+object\+\_\+smart\+\_\+need\+\_\+recalculate\+\_\+set()}. 

\hyperlink{group__Evas__Smart__Object__Group_ga4260614f70d0ade1a68274c9a18afd86}{evas\+\_\+object\+\_\+smart\+\_\+calculate()}. 
\end{DoxySeeAlso}


References evas\+\_\+obj\+\_\+smart\+\_\+changed().

\hypertarget{group__Evas__Smart__Object__Group_ga84964c53d1d5f1fb59d9799d1d47e9a9}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+smart\+\_\+legacy\+\_\+type\+\_\+register@{evas\+\_\+smart\+\_\+legacy\+\_\+type\+\_\+register}}
\index{evas\+\_\+smart\+\_\+legacy\+\_\+type\+\_\+register@{evas\+\_\+smart\+\_\+legacy\+\_\+type\+\_\+register}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+smart\+\_\+legacy\+\_\+type\+\_\+register}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+\_\+smart\+\_\+legacy\+\_\+type\+\_\+register (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{type, }
\item[{const {\bf Eo\+\_\+\+Class} $\ast$}]{klass}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_ga84964c53d1d5f1fb59d9799d1d47e9a9}


Registers an object type and its associated class. 

L\+E\+G\+A\+C\+Y M\+E\+C\+H\+A\+N\+I\+S\+M S\+U\+P\+P\+O\+R\+T.

This function is invoked in the class constructor of smart classes. It will add the type and the class into a hash table that will then be used to check the type of an object. This function has been implemented to support legacy mechanism that checks objects types by name. U\+S\+E I\+T O\+N\+L\+Y F\+O\+R L\+E\+G\+A\+C\+Y S\+U\+P\+P\+O\+R\+T. Otherwise, it is H\+I\+G\+H\+L\+Y recommended to use eo\+\_\+isa.


\begin{DoxyParams}{Parameters}
{\em type} & The type (name string) to add. \\
\hline
{\em klass} & The class to associate to the type.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
eo\+\_\+isa 
\end{DoxySeeAlso}


References eina\+\_\+hash\+\_\+set().

\hypertarget{group__Evas__Smart__Object__Group_gad80de73a33446f902d4b39141a8d0a05}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+object\+\_\+smart\+\_\+add@{evas\+\_\+object\+\_\+smart\+\_\+add}}
\index{evas\+\_\+object\+\_\+smart\+\_\+add@{evas\+\_\+object\+\_\+smart\+\_\+add}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+object\+\_\+smart\+\_\+add}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Evas\+\_\+\+Object}$\ast$ evas\+\_\+object\+\_\+smart\+\_\+add (
\begin{DoxyParamCaption}
\item[{{\bf Evas} $\ast$}]{e, }
\item[{{\bf Evas\+\_\+\+Smart} $\ast$}]{s}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_gad80de73a33446f902d4b39141a8d0a05}


Instantiates a new smart object described by {\ttfamily s}. 


\begin{DoxyParams}{Parameters}
{\em e} & the canvas on which to add the object \\
\hline
{\em s} & the \hyperlink{Evas__Common_8h_a7cdfd1afece1cad64c413eb9a778ddbb}{Evas\+\_\+\+Smart} describing the smart object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
a new \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} handle
\end{DoxyReturn}
This is the function one should use when defining the public function {\bfseries adding} an instance of the new smart object to a given canvas. It will take care of setting all of its internals to work as they should, if the user set things properly, as seem on the \hyperlink{group__Evas__Smart__Group_ga58dc94af6f064b39b2bf0155908fbe52}{E\+V\+A\+S\+\_\+\+S\+M\+A\+R\+T\+\_\+\+S\+U\+B\+C\+L\+A\+S\+S\+\_\+\+N\+E\+W}, for example. \hypertarget{group__Evas__Smart__Object__Group_ga6845c17effe796430cb4fc5f2cfccef0}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+object\+\_\+smart\+\_\+member\+\_\+add@{evas\+\_\+object\+\_\+smart\+\_\+member\+\_\+add}}
\index{evas\+\_\+object\+\_\+smart\+\_\+member\+\_\+add@{evas\+\_\+object\+\_\+smart\+\_\+member\+\_\+add}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+object\+\_\+smart\+\_\+member\+\_\+add}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+\_\+object\+\_\+smart\+\_\+member\+\_\+add (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Object} $\ast$}]{obj, }
\item[{{\bf Evas\+\_\+\+Object} $\ast$}]{smart\+\_\+obj}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_ga6845c17effe796430cb4fc5f2cfccef0}


Set an Evas object as a member of a given smart object. 


\begin{DoxyParams}{Parameters}
{\em obj} & The member object \\
\hline
{\em smart\+\_\+obj} & The smart object\\
\hline
\end{DoxyParams}
Members will automatically be stacked and layered together with the smart object. The various stacking functions will operate on members relative to the other members instead of the entire canvas, since they now live on an exclusive layer (see \hyperlink{group__Evas__Font__Group_ga27584456485bb95792568ddc2a40f55a}{evas\+\_\+object\+\_\+stack\+\_\+above()}, for more details).

Any {\ttfamily smart\+\_\+obj} object\textquotesingle{}s specific implementation of the {\ttfamily member\+\_\+add()} smart function will take place too, naturally.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Object__Group_ga12034359ab780a3a0e8b20b83475ed15}{evas\+\_\+object\+\_\+smart\+\_\+member\+\_\+del()} 

evas\+\_\+object\+\_\+smart\+\_\+members\+\_\+get() 
\end{DoxySeeAlso}


References evas\+\_\+obj\+\_\+smart\+\_\+member\+\_\+add().

\hypertarget{group__Evas__Smart__Object__Group_ga12034359ab780a3a0e8b20b83475ed15}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+object\+\_\+smart\+\_\+member\+\_\+del@{evas\+\_\+object\+\_\+smart\+\_\+member\+\_\+del}}
\index{evas\+\_\+object\+\_\+smart\+\_\+member\+\_\+del@{evas\+\_\+object\+\_\+smart\+\_\+member\+\_\+del}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+object\+\_\+smart\+\_\+member\+\_\+del}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+\_\+object\+\_\+smart\+\_\+member\+\_\+del (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Object} $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_ga12034359ab780a3a0e8b20b83475ed15}


Removes a member object from a given smart object. 


\begin{DoxyParams}{Parameters}
{\em obj} & the member object\\
\hline
\end{DoxyParams}
This removes a member object from a smart object, if it was added to any. The object will still be on the canvas, but no longer associated with whichever smart object it was associated with.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Object__Group_ga6845c17effe796430cb4fc5f2cfccef0}{evas\+\_\+object\+\_\+smart\+\_\+member\+\_\+add()} for more details 

evas\+\_\+object\+\_\+smart\+\_\+members\+\_\+get() 
\end{DoxySeeAlso}


References evas\+\_\+obj\+\_\+smart\+\_\+member\+\_\+del().

\hypertarget{group__Evas__Smart__Object__Group_ga18a8b179f94d21b2b09e19db11741061}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+add@{evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+add}}
\index{evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+add@{evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+add}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+add}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+add (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Object} $\ast$}]{obj, }
\item[{const char $\ast$}]{event, }
\item[{{\bf Evas\+\_\+\+Smart\+\_\+\+Cb}}]{func, }
\item[{const void $\ast$}]{data}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_ga18a8b179f94d21b2b09e19db11741061}


Add (register) a callback function to the smart event specified by {\ttfamily event} on the smart object {\ttfamily obj}. 


\begin{DoxyParams}{Parameters}
{\em obj} & a smart object \\
\hline
{\em event} & the event\textquotesingle{}s name string \\
\hline
{\em func} & the callback function \\
\hline
{\em data} & user data to be passed to the callback function\\
\hline
\end{DoxyParams}
Smart callbacks look very similar to Evas callbacks, but are implemented as smart object\textquotesingle{}s custom ones.

This function adds a function callback to an smart object when the event named {\ttfamily event} occurs in it. The function is {\ttfamily func}.

In the event of a memory allocation error during addition of the callback to the object, \hyperlink{group__Evas__Main__Group_gacfae4f589c777003f58d51e502c52835}{evas\+\_\+alloc\+\_\+error()} should be used to determine the nature of the error, if any, and the program should sensibly try and recover.

A smart callback function must have the \hyperlink{Evas__Common_8h_afbde245aa36db11d8280b266235c25b2}{Evas\+\_\+\+Smart\+\_\+\+Cb} prototype definition. The first parameter ({\ttfamily data}) in this definition will have the same value passed to \hyperlink{group__Evas__Smart__Object__Group_ga18a8b179f94d21b2b09e19db11741061}{evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+add()} as the {\ttfamily data} parameter, at runtime. The second parameter {\ttfamily obj} is a handle to the object on which the event occurred. The third parameter, {\ttfamily event\+\_\+info}, is a pointer to data which is totally dependent on the smart object\textquotesingle{}s implementation and semantic for the given event.

There is an infrastructure for introspection on smart objects\textquotesingle{} events (see \hyperlink{group__Evas__Smart__Group_ga21bfd8ca489ecc08a0c3c9f66764f06d}{evas\+\_\+smart\+\_\+callbacks\+\_\+descriptions\+\_\+get()}), but no internal smart objects on Evas implement them yet.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Object__Group_Evas_Smart_Object_Group_Callbacks}{Smart events and callbacks} for more details.

\hyperlink{group__Evas__Smart__Object__Group_gaa79948c7d1bee9a75baa01e72dc4ef63}{evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+del()} 
\end{DoxySeeAlso}


References E\+V\+A\+S\+\_\+\+C\+A\+L\+L\+B\+A\+C\+K\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+D\+E\+F\+A\+U\+L\+T, and evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+priority\+\_\+add().

\hypertarget{group__Evas__Smart__Object__Group_gac0332a965f191376d30786a624bfad41}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+priority\+\_\+add@{evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+priority\+\_\+add}}
\index{evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+priority\+\_\+add@{evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+priority\+\_\+add}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+priority\+\_\+add}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+priority\+\_\+add (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Object} $\ast$}]{obj, }
\item[{const char $\ast$}]{event, }
\item[{{\bf Evas\+\_\+\+Callback\+\_\+\+Priority}}]{priority, }
\item[{{\bf Evas\+\_\+\+Smart\+\_\+\+Cb}}]{func, }
\item[{const void $\ast$}]{data}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_gac0332a965f191376d30786a624bfad41}


Add (register) a callback function to the smart event specified by {\ttfamily event} on the smart object {\ttfamily obj}. 

Except for the priority field, it\textquotesingle{}s exactly the same as \hyperlink{group__Evas__Smart__Object__Group_ga18a8b179f94d21b2b09e19db11741061}{evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+add}


\begin{DoxyParams}{Parameters}
{\em obj} & a smart object \\
\hline
{\em event} & the event\textquotesingle{}s name string \\
\hline
{\em priority} & The priority of the callback, lower values called first. \\
\hline
{\em func} & the callback function \\
\hline
{\em data} & user data to be passed to the callback function\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Object__Group_ga18a8b179f94d21b2b09e19db11741061}{evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+add} 
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References eina\+\_\+inlist\+\_\+append(), and E\+I\+N\+A\+\_\+\+I\+N\+L\+I\+S\+T\+\_\+\+G\+E\+T.



Referenced by evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+add().

\hypertarget{group__Evas__Smart__Object__Group_gaa79948c7d1bee9a75baa01e72dc4ef63}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+del@{evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+del}}
\index{evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+del@{evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+del}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+del}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+del (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Object} $\ast$}]{obj, }
\item[{const char $\ast$}]{event, }
\item[{{\bf Evas\+\_\+\+Smart\+\_\+\+Cb}}]{func}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_gaa79948c7d1bee9a75baa01e72dc4ef63}


Delete (unregister) a callback function from the smart event specified by {\ttfamily event} on the smart object {\ttfamily obj}. 


\begin{DoxyParams}{Parameters}
{\em obj} & a smart object \\
\hline
{\em event} & the event\textquotesingle{}s name string \\
\hline
{\em func} & the callback function \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the data pointer
\end{DoxyReturn}
This function removes {\bfseries the first} added smart callback on the object {\ttfamily obj} matching the event name {\ttfamily event} and the registered function pointer {\ttfamily func}. If the removal is successful it will also return the data pointer that was passed to \hyperlink{group__Evas__Smart__Object__Group_ga18a8b179f94d21b2b09e19db11741061}{evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+add()} (that will be the same as the parameter) when the callback(s) was(were) added to the canvas. If not successful {\ttfamily N\+U\+L\+L} will be returned.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Object__Group_ga18a8b179f94d21b2b09e19db11741061}{evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+add()} for more details. 
\end{DoxySeeAlso}


References E\+I\+N\+A\+\_\+\+I\+N\+L\+I\+S\+T\+\_\+\+F\+O\+R\+E\+A\+C\+H, E\+I\+N\+A\+\_\+\+I\+N\+L\+I\+S\+T\+\_\+\+G\+E\+T, and eina\+\_\+inlist\+\_\+remove().

\hypertarget{group__Evas__Smart__Object__Group_ga2163df56f3c1759f83b2996572e94fef}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+del\+\_\+full@{evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+del\+\_\+full}}
\index{evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+del\+\_\+full@{evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+del\+\_\+full}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+del\+\_\+full}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+del\+\_\+full (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Object} $\ast$}]{obj, }
\item[{const char $\ast$}]{event, }
\item[{{\bf Evas\+\_\+\+Smart\+\_\+\+Cb}}]{func, }
\item[{const void $\ast$}]{data}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_ga2163df56f3c1759f83b2996572e94fef}


Delete (unregister) a callback function from the smart event specified by {\ttfamily event} on the smart object {\ttfamily obj}. 


\begin{DoxyParams}{Parameters}
{\em obj} & a smart object \\
\hline
{\em event} & the event\textquotesingle{}s name string \\
\hline
{\em func} & the callback function \\
\hline
{\em data} & the data pointer that was passed to the callback \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the data pointer
\end{DoxyReturn}
This function removes {\bfseries the first} added smart callback on the object {\ttfamily obj} matching the event name {\ttfamily event}, the registered function pointer {\ttfamily func} and the callback data pointer {\ttfamily data}. If the removal is successful it will also return the data pointer that was passed to \hyperlink{group__Evas__Smart__Object__Group_ga18a8b179f94d21b2b09e19db11741061}{evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+add()} (that will be the same as the parameter) when the callback(s) was(were) added to the canvas. If not successful {\ttfamily N\+U\+L\+L} will be returned. A common use would be to remove an exact match of a callback

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Evas__Smart__Object__Group_ga18a8b179f94d21b2b09e19db11741061}{evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+add()} for more details. 
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2
\end{DoxySince}
\begin{DoxyNote}{Note}
To delete all smart event callbacks which match {\ttfamily type} and {\ttfamily func}, use \hyperlink{group__Evas__Smart__Object__Group_gaa79948c7d1bee9a75baa01e72dc4ef63}{evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+del()}. 
\end{DoxyNote}


References E\+I\+N\+A\+\_\+\+I\+N\+L\+I\+S\+T\+\_\+\+F\+O\+R\+E\+A\+C\+H, E\+I\+N\+A\+\_\+\+I\+N\+L\+I\+S\+T\+\_\+\+G\+E\+T, and eina\+\_\+inlist\+\_\+remove().

\hypertarget{group__Evas__Smart__Object__Group_gaa81bbe0af70df6c90b8fc781c59237bc}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+call@{evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+call}}
\index{evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+call@{evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+call}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+call}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+call (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Object} $\ast$}]{obj, }
\item[{const char $\ast$}]{event, }
\item[{void $\ast$}]{event\+\_\+info}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_gaa81bbe0af70df6c90b8fc781c59237bc}


Call a given smart callback on the smart object {\ttfamily obj}. 


\begin{DoxyParams}{Parameters}
{\em obj} & the smart object \\
\hline
{\em event} & the event\textquotesingle{}s name string \\
\hline
{\em event\+\_\+info} & pointer to an event specific struct or information to pass to the callback functions registered on this smart event\\
\hline
\end{DoxyParams}
This should be called {\bfseries internally}, from the smart object\textquotesingle{}s own code, when some specific event has occurred and the implementor wants is to pertain to the object\textquotesingle{}s events A\+P\+I (see \hyperlink{group__Evas__Smart__Object__Group_Evas_Smart_Object_Group_Callbacks}{Smart events and callbacks}). The documentation for the smart object should include a list of possible events and what type of {\ttfamily event\+\_\+info} to expect for each of them. Also, when defining an \hyperlink{group__Evas__Smart__Group_gaea15f67e901bf5380cdb67dc1bb43391}{Evas\+\_\+\+Smart\+\_\+\+Class}, smart object implementors are strongly encouraged to properly set the \hyperlink{struct__Evas__Smart__Class_af7074494030024c3d0e502bca7b19067}{Evas\+\_\+\+Smart\+\_\+\+Class\+::callbacks} callbacks description array, so that the users of the smart object can have introspection on its events A\+P\+I {\bfseries at run time}. 

Referenced by emotion\+\_\+object\+\_\+last\+\_\+position\+\_\+load(), and emotion\+\_\+object\+\_\+last\+\_\+position\+\_\+save().

\hypertarget{group__Evas__Smart__Object__Group_ga726849e13d3bbc0c7ce182e3f82ce07f}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+object\+\_\+smart\+\_\+interface\+\_\+get@{evas\+\_\+object\+\_\+smart\+\_\+interface\+\_\+get}}
\index{evas\+\_\+object\+\_\+smart\+\_\+interface\+\_\+get@{evas\+\_\+object\+\_\+smart\+\_\+interface\+\_\+get}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+object\+\_\+smart\+\_\+interface\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}const void$\ast$ evas\+\_\+object\+\_\+smart\+\_\+interface\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Evas\+\_\+\+Object} $\ast$}]{obj, }
\item[{const char $\ast$}]{name}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_ga726849e13d3bbc0c7ce182e3f82ce07f}


Retrieve an Evas smart object\textquotesingle{}s interface, by name string pointer. 


\begin{DoxyParams}{Parameters}
{\em obj} & An Evas smart object. \\
\hline
{\em name} & Name string of the desired interface, which must be the same pointer used at the interface\textquotesingle{}s declarion, when creating the smart object {\itshape obj}.\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+7
\end{DoxySince}
\begin{DoxyReturn}{Returns}
The interface\textquotesingle{}s handle pointer, if found, {\ttfamily N\+U\+L\+L} otherwise. 
\end{DoxyReturn}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{evas-smart-interface_8c-example}{evas-\/smart-\/interface.\+c}.\end{Desc}


References evas\+\_\+object\+\_\+smart\+\_\+smart\+\_\+get(), and \+\_\+\+Evas\+\_\+\+Smart\+\_\+\+Interface\+::name.

\hypertarget{group__Evas__Smart__Object__Group_gaed3359faaae2d7cffd3e24441591da04}{}\index{Smart Object Functions@{Smart Object Functions}!evas\+\_\+object\+\_\+smart\+\_\+interface\+\_\+data\+\_\+get@{evas\+\_\+object\+\_\+smart\+\_\+interface\+\_\+data\+\_\+get}}
\index{evas\+\_\+object\+\_\+smart\+\_\+interface\+\_\+data\+\_\+get@{evas\+\_\+object\+\_\+smart\+\_\+interface\+\_\+data\+\_\+get}!Smart Object Functions@{Smart Object Functions}}
\subsubsection[{evas\+\_\+object\+\_\+smart\+\_\+interface\+\_\+data\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ evas\+\_\+object\+\_\+smart\+\_\+interface\+\_\+data\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Evas\+\_\+\+Object} $\ast$}]{obj, }
\item[{const {\bf Evas\+\_\+\+Smart\+\_\+\+Interface} $\ast$}]{iface}
\end{DoxyParamCaption}
)}\label{group__Evas__Smart__Object__Group_gaed3359faaae2d7cffd3e24441591da04}


Retrieve an Evas smart object interface\textquotesingle{}s {\bfseries private data}. 


\begin{DoxyParams}{Parameters}
{\em obj} & An Evas smart object. \\
\hline
{\em iface} & The given object\textquotesingle{}s interface handle.\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+7
\end{DoxySince}
\begin{DoxyReturn}{Returns}
The object interface\textquotesingle{}s private data blob pointer, if found, {\ttfamily N\+U\+L\+L} otherwise. 
\end{DoxyReturn}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{evas-smart-interface_8c-example}{evas-\/smart-\/interface.\+c}.\end{Desc}


References evas\+\_\+object\+\_\+smart\+\_\+smart\+\_\+get().

