diff options
author | Joel Bodenmann <joel@unormal.org> | 2014-01-04 21:10:10 +0100 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2014-01-04 21:10:10 +0100 |
commit | 3a6dd294de7a41988aca7d396a9dae5e2042bc26 (patch) | |
tree | 2d158710f3692218af1f7525503fe92c9754939b /include | |
parent | ea4464bacc88106a0cbf4508f06288faefa945fe (diff) | |
download | uGFX-3a6dd294de7a41988aca7d396a9dae5e2042bc26.tar.gz uGFX-3a6dd294de7a41988aca7d396a9dae5e2042bc26.tar.bz2 uGFX-3a6dd294de7a41988aca7d396a9dae5e2042bc26.zip |
gwinDestroy(), gwinGetFirstChild() and gwinGetNextChild()
Diffstat (limited to 'include')
-rw-r--r-- | include/gwin/gwin.h | 22 |
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__) |