1 #ifndef EFL_UI_WIDGET_COMMON_H 2 #define EFL_UI_WIDGET_COMMON_H 3 4 /** 5 * @brief Get an iterator over all subelements located at obj. 6 * 7 * This iterator contains also the canvas objects which are part of the widgets, 8 * be aware that the construction of this tree is internal and might change heavily 9 * between versions. 10 * 11 * @param obj The widget which is the root of the subtree. 12 * 13 * @return A iterator that contains subelement widgets and canvas objects of the root widget. Every contained object is a Efl.Gfx.Entity. 14 */ 15 EAPI Eina_Iterator* efl_ui_widget_tree_iterator(Efl_Ui_Widget *obj); 16 17 /** 18 * @brief Get an iterator over all subelements located at obj. 19 * 20 * @param obj The widget which is the root of the subtree. 21 * 22 * @return A iterator that contains subelement widgets of the root widget. Every contained object is a Efl.Ui.Widget. 23 */ 24 EAPI Eina_Iterator* efl_ui_widget_tree_widget_iterator(Efl_Ui_Widget *obj); 25 26 /** 27 * @brief Get an iterator that contains all parents of the passed object. 28 * 29 * @param obj The object to fetch the parents from. 30 * 31 * @return A iterator that contains all parents of the object. Every contained object is a Efl.Ui.Widget. 32 */ 33 EAPI Eina_Iterator* efl_ui_widget_parent_iterator(Efl_Ui_Widget *obj); 34 35 #endif 36