\doxysection{Widget Tree Navigation}
\hypertarget{group__Elm__WidgetNavigation}{}\label{group__Elm__WidgetNavigation}\index{Widget Tree Navigation@{Widget Tree Navigation}}
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elm__WidgetNavigation_gaa761d4ced3859512455707bf3e006d79}{elm\+\_\+object\+\_\+widget\+\_\+check}} (const Evas\+\_\+\+Object \texorpdfstring{$\ast$}{*}obj)
\begin{DoxyCompactList}\small\item\em Check if the given Evas Object is an Elementary widget. \end{DoxyCompactList}\item 
Evas\+\_\+\+Object \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{group__Elm__WidgetNavigation_ga958eee73092bf0da7ba0f422519fdb72}{elm\+\_\+object\+\_\+parent\+\_\+widget\+\_\+get}} (const Evas\+\_\+\+Object \texorpdfstring{$\ast$}{*}obj)
\begin{DoxyCompactList}\small\item\em Get the first parent of the given object that is an Elementary widget. \end{DoxyCompactList}\item 
Evas\+\_\+\+Object \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{group__Elm__WidgetNavigation_gada78cebf8263f033bd8e97244d948d89}{elm\+\_\+object\+\_\+top\+\_\+widget\+\_\+get}} (const Evas\+\_\+\+Object \texorpdfstring{$\ast$}{*}obj)
\begin{DoxyCompactList}\small\item\em Get the top level parent of an Elementary widget. \end{DoxyCompactList}\item 
const char \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{group__Elm__WidgetNavigation_ga81c3a39ecb7e3bc1782db0f0e50586a5}{elm\+\_\+object\+\_\+widget\+\_\+type\+\_\+get}} (const Evas\+\_\+\+Object \texorpdfstring{$\ast$}{*}obj)
\begin{DoxyCompactList}\small\item\em Get the string that represents this Elementary widget. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{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. 

\doxysubsection{Function Documentation}
\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}}
\doxysubsubsection{\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 Evas\+\_\+\+Object \texorpdfstring{$\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 EINA\+\_\+\+TRUE} if it is an elementary widget variant, {\ttfamily EINA\+\_\+\+FALSE} otherwise 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, and \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.

\Hypertarget{group__Elm__WidgetNavigation_ga958eee73092bf0da7ba0f422519fdb72}\label{group__Elm__WidgetNavigation_ga958eee73092bf0da7ba0f422519fdb72} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_object\_parent\_widget\_get()}{elm\_object\_parent\_widget\_get()}}
{\footnotesize\ttfamily Evas\+\_\+\+Object \texorpdfstring{$\ast$}{*} elm\+\_\+object\+\_\+parent\+\_\+widget\+\_\+get (\begin{DoxyParamCaption}\item[{const Evas\+\_\+\+Object \texorpdfstring{$\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 NULL}, 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}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.

\Hypertarget{group__Elm__WidgetNavigation_gada78cebf8263f033bd8e97244d948d89}\label{group__Elm__WidgetNavigation_gada78cebf8263f033bd8e97244d948d89} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_object\_top\_widget\_get()}{elm\_object\_top\_widget\_get()}}
{\footnotesize\ttfamily Evas\+\_\+\+Object \texorpdfstring{$\ast$}{*} elm\+\_\+object\+\_\+top\+\_\+widget\+\_\+get (\begin{DoxyParamCaption}\item[{const Evas\+\_\+\+Object \texorpdfstring{$\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 NULL} if parent cannot be found. 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.



Referenced by \mbox{\hyperlink{group__Elm__Focus_ga92f4ee9dc622484d96a65c6c5da5ab71}{elm\+\_\+object\+\_\+focus\+\_\+next()}}, \mbox{\hyperlink{group__Elm__Focus_gaa24a7f19dbb046af61479fae10371f5c}{elm\+\_\+object\+\_\+focus\+\_\+next\+\_\+object\+\_\+get()}}, and \mbox{\hyperlink{group__Elm__Focus_gad257ad7b3f1ae4896a93f8444480ecea}{elm\+\_\+object\+\_\+focused\+\_\+object\+\_\+get()}}.

\Hypertarget{group__Elm__WidgetNavigation_ga81c3a39ecb7e3bc1782db0f0e50586a5}\label{group__Elm__WidgetNavigation_ga81c3a39ecb7e3bc1782db0f0e50586a5} 
\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}}
\doxysubsubsection{\texorpdfstring{elm\_object\_widget\_type\_get()}{elm\_object\_widget\_type\_get()}}
{\footnotesize\ttfamily const char \texorpdfstring{$\ast$}{*} elm\+\_\+object\+\_\+widget\+\_\+type\+\_\+get (\begin{DoxyParamCaption}\item[{const Evas\+\_\+\+Object \texorpdfstring{$\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 NULL} if not a valid widget. 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.

