diff options
author | Joel Bodenmann <joel@embedded.pro> | 2017-08-27 13:43:53 +0200 |
---|---|---|
committer | Joel Bodenmann <joel@embedded.pro> | 2017-08-27 13:43:53 +0200 |
commit | 285c6528e65c3fa9a898e03b261fcaf8121308cd (patch) | |
tree | 0895be81ed272a7e32bb1ed4df273a488ccce8ed /src/gwin/gwin_widget.h | |
parent | f9494c44a2406b4b7dd753076f1dfc8380e19500 (diff) | |
parent | db7971734fc940851b6d91a77a60906622f6c491 (diff) | |
download | uGFX-285c6528e65c3fa9a898e03b261fcaf8121308cd.tar.gz uGFX-285c6528e65c3fa9a898e03b261fcaf8121308cd.tar.bz2 uGFX-285c6528e65c3fa9a898e03b261fcaf8121308cd.zip |
Merge branch 'master' of git.ugfx.io:uGFX/uGFX
Diffstat (limited to 'src/gwin/gwin_widget.h')
-rw-r--r-- | src/gwin/gwin_widget.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/gwin/gwin_widget.h b/src/gwin/gwin_widget.h index ece98a06..ce7490cd 100644 --- a/src/gwin/gwin_widget.h +++ b/src/gwin/gwin_widget.h @@ -356,6 +356,20 @@ bool_t gwinAttachListener(GListener *pl); * @api */ bool_t gwinAttachToggle(GHandle gh, uint16_t role, uint16_t instance); + /** + * @brief Detach a toggle from a widget + * @return TRUE on success + * + * @param[in] gh The widget handle + * @param[in] role The function the toggle will perform for the widget + * + * @note See the documentation on the specific widget to see the possible + * values for the role parameter. If it is out of range, this function + * will return FALSE + * + * @api + */ + bool_t gwinDetachToggle(GHandle gh, uint16_t role); #endif #if (GFX_USE_GINPUT && GINPUT_NEED_DIAL) || defined(__DOXYGEN__) |