These functions provide checks on whether a Evas_Object is an Elementary widget, the possibility of getting a widget's parent, top level parent, and getting a string representation of a widget's type.
Function Documentation
Gets the first parent of the given object that is an Elementary widget.
- Since :
- 2.3
- Parameters:
-
[in] | obj | The Elementary object to query the parent from |
- Returns:
- The parent object that is an Elementary widget, otherwise
NULL
if it is not found
Gets the top level parent of an Elementary widget.
- Since :
- 2.3
- Parameters:
-
[in] | obj | The object to query |
- Returns:
- The top level Elementary widget, otherwise
NULL
if the parent cannot be found
Checks whether the given Evas Object is an Elementary widget.
- Since :
- 2.3
- Parameters:
-
[in] | obj | The object to query |
- Returns:
EINA_TRUE
if it is an elementary widget variant, otherwise EINA_FALSE
Gets the string that represents this Elementary widget.
- Since :
- 2.3
- Parameters:
-
[in] | obj | The object to query |
- Returns:
- The Elementary widget name, otherwise
NULL
if it is not a valid widget