summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_widget_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/efl_ui_widget_common.h')
-rw-r--r--src/lib/elementary/efl_ui_widget_common.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_widget_common.h b/src/lib/elementary/efl_ui_widget_common.h
new file mode 100644
index 0000000..0e538cb
--- /dev/null
+++ b/src/lib/elementary/efl_ui_widget_common.h
@@ -0,0 +1,35 @@
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 * inbetween 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 */
15EAPI 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 */
24EAPI 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 */
33EAPI Eina_Iterator* efl_ui_widget_parent_iterator(Efl_Ui_Widget *obj);
34
35#endif