\hypertarget{group__Elm__WidgetNavigation}{}\section{Widget Tree Navigation}
\label{group__Elm__WidgetNavigation}\index{Widget Tree Navigation@{Widget Tree Navigation}}


These functions provide checks for if a Evas\+\_\+\+Object is an Elementary widget, the possibility of getting a widget\textquotesingle{}s parent, top level parent and getting a string representation of a widget\textquotesingle{}s type.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elm__WidgetNavigation_gaa761d4ced3859512455707bf3e006d79}{elm\+\_\+object\+\_\+widget\+\_\+check}} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Check if the given Evas Object is an Elementary widget. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$ \mbox{\hyperlink{group__Elm__WidgetNavigation_ga0b5f83c403948f1418e434f3ed94973f}{elm\+\_\+object\+\_\+parent\+\_\+widget\+\_\+get}} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the first parent of the given object that is an Elementary widget. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$ \mbox{\hyperlink{group__Elm__WidgetNavigation_gaecc9a5039788037aa345d5c6a3c8bff8}{elm\+\_\+object\+\_\+top\+\_\+widget\+\_\+get}} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the top level parent of an Elementary widget. \end{DoxyCompactList}\item 
const char $\ast$ \mbox{\hyperlink{group__Elm__WidgetNavigation_ga34fd98b2f288eb5116e26e279f9f88d2}{elm\+\_\+object\+\_\+widget\+\_\+type\+\_\+get}} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the string that represents this Elementary widget. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
These functions provide checks for if a Evas\+\_\+\+Object is an Elementary widget, the possibility of getting a widget\textquotesingle{}s parent, top level parent and getting a string representation of a widget\textquotesingle{}s type. 



\subsection{Function Documentation}
\mbox{\Hypertarget{group__Elm__WidgetNavigation_gaa761d4ced3859512455707bf3e006d79}\label{group__Elm__WidgetNavigation_gaa761d4ced3859512455707bf3e006d79}} 
\index{Widget Tree Navigation@{Widget Tree Navigation}!elm\+\_\+object\+\_\+widget\+\_\+check@{elm\+\_\+object\+\_\+widget\+\_\+check}}
\index{elm\+\_\+object\+\_\+widget\+\_\+check@{elm\+\_\+object\+\_\+widget\+\_\+check}!Widget Tree Navigation@{Widget Tree Navigation}}
\subsubsection{\texorpdfstring{elm\+\_\+object\+\_\+widget\+\_\+check()}{elm\_object\_widget\_check()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elm\+\_\+object\+\_\+widget\+\_\+check (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj }\end{DoxyParamCaption})}



Check if the given Evas Object is an Elementary widget. 


\begin{DoxyParams}{Parameters}
{\em obj} & the object to query. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE} if it is an elementary widget variant, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} otherwise 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Elm__WidgetNavigation_ga0b5f83c403948f1418e434f3ed94973f}\label{group__Elm__WidgetNavigation_ga0b5f83c403948f1418e434f3ed94973f}} 
\index{Widget Tree Navigation@{Widget Tree Navigation}!elm\+\_\+object\+\_\+parent\+\_\+widget\+\_\+get@{elm\+\_\+object\+\_\+parent\+\_\+widget\+\_\+get}}
\index{elm\+\_\+object\+\_\+parent\+\_\+widget\+\_\+get@{elm\+\_\+object\+\_\+parent\+\_\+widget\+\_\+get}!Widget Tree Navigation@{Widget Tree Navigation}}
\subsubsection{\texorpdfstring{elm\+\_\+object\+\_\+parent\+\_\+widget\+\_\+get()}{elm\_object\_parent\_widget\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}}$\ast$ elm\+\_\+object\+\_\+parent\+\_\+widget\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj }\end{DoxyParamCaption})}



Get the first parent of the given object that is an Elementary widget. 


\begin{DoxyParams}{Parameters}
{\em obj} & the Elementary object to query parent from. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the parent object that is an Elementary widget, or {\ttfamily N\+U\+LL}, if it was not found.
\end{DoxyReturn}
Use this to query for an object\textquotesingle{}s parent widget.

\begin{DoxyNote}{Note}
Most of Elementary users wouldn\textquotesingle{}t be mixing non-\/\+Elementary smart objects in the objects tree of an application, as this is an advanced usage of Elementary with Evas. So, except for the application\textquotesingle{}s window, which is the root of that tree, all other objects would have valid Elementary widget parents. 
\end{DoxyNote}
\mbox{\Hypertarget{group__Elm__WidgetNavigation_gaecc9a5039788037aa345d5c6a3c8bff8}\label{group__Elm__WidgetNavigation_gaecc9a5039788037aa345d5c6a3c8bff8}} 
\index{Widget Tree Navigation@{Widget Tree Navigation}!elm\+\_\+object\+\_\+top\+\_\+widget\+\_\+get@{elm\+\_\+object\+\_\+top\+\_\+widget\+\_\+get}}
\index{elm\+\_\+object\+\_\+top\+\_\+widget\+\_\+get@{elm\+\_\+object\+\_\+top\+\_\+widget\+\_\+get}!Widget Tree Navigation@{Widget Tree Navigation}}
\subsubsection{\texorpdfstring{elm\+\_\+object\+\_\+top\+\_\+widget\+\_\+get()}{elm\_object\_top\_widget\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}}$\ast$ elm\+\_\+object\+\_\+top\+\_\+widget\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj }\end{DoxyParamCaption})}



Get the top level parent of an Elementary widget. 


\begin{DoxyParams}{Parameters}
{\em obj} & The object to query. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The top level Elementary widget, or {\ttfamily N\+U\+LL} if parent cannot be found. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Elm__WidgetNavigation_ga34fd98b2f288eb5116e26e279f9f88d2}\label{group__Elm__WidgetNavigation_ga34fd98b2f288eb5116e26e279f9f88d2}} 
\index{Widget Tree Navigation@{Widget Tree Navigation}!elm\+\_\+object\+\_\+widget\+\_\+type\+\_\+get@{elm\+\_\+object\+\_\+widget\+\_\+type\+\_\+get}}
\index{elm\+\_\+object\+\_\+widget\+\_\+type\+\_\+get@{elm\+\_\+object\+\_\+widget\+\_\+type\+\_\+get}!Widget Tree Navigation@{Widget Tree Navigation}}
\subsubsection{\texorpdfstring{elm\+\_\+object\+\_\+widget\+\_\+type\+\_\+get()}{elm\_object\_widget\_type\_get()}}
{\footnotesize\ttfamily const char$\ast$ elm\+\_\+object\+\_\+widget\+\_\+type\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj }\end{DoxyParamCaption})}



Get the string that represents this Elementary widget. 


\begin{DoxyParams}{Parameters}
{\em obj} & the object to query. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Elementary widget name, or {\ttfamily N\+U\+LL} if not a valid widget. 
\end{DoxyReturn}
