aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2014-01-04 21:10:10 +0100
committerJoel Bodenmann <joel@unormal.org>2014-01-04 21:10:10 +0100
commit3a6dd294de7a41988aca7d396a9dae5e2042bc26 (patch)
tree2d158710f3692218af1f7525503fe92c9754939b /include
parentea4464bacc88106a0cbf4508f06288faefa945fe (diff)
downloaduGFX-3a6dd294de7a41988aca7d396a9dae5e2042bc26.tar.gz
uGFX-3a6dd294de7a41988aca7d396a9dae5e2042bc26.tar.bz2
uGFX-3a6dd294de7a41988aca7d396a9dae5e2042bc26.zip
gwinDestroy(), gwinGetFirstChild() and gwinGetNextChild()
Diffstat (limited to 'include')
-rw-r--r--include/gwin/gwin.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/gwin/gwin.h b/include/gwin/gwin.h
index e5eb2e0b..194173e0 100644
--- a/include/gwin/gwin.h
+++ b/include/gwin/gwin.h
@@ -396,6 +396,28 @@ extern "C" {
* @api
*/
void gwinAddChild(GHandle parent, GHandle child, bool_t last);
+
+ /**
+ * @brief Get first child of a widget
+ *
+ * @return The first child or NULL if the widget has no children
+ *
+ * @param[in] gh The parent widget
+ *
+ * @api
+ */
+ GHandle gwinGetFirstChild(GHandle gh);
+
+ /**
+ * @brief Get the next child of a widget
+ *
+ * @return The next child or NULL if no more childs
+ *
+ * @param[in] gh The parent widget
+ *
+ * @api
+ */
+ GHandle gwinGetNextChild(GHandle gh);
#endif
#if GWIN_NEED_WINDOWMANAGER || defined (__DOXYGEN__)