aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/gwin_widget.h
diff options
context:
space:
mode:
authorAram <aram@factorit.nl>2017-06-22 00:36:04 +0200
committerArnout Engelen <arnouten@bzzt.net>2017-07-01 21:18:13 +0200
commitaae423fd7f3b8adb6e96ce94fd1fb4cdf2745bbe (patch)
treef70a817d35003e1a0012bd729f8e23ba9bc1d7ee /src/gwin/gwin_widget.h
parent97511a9fc72702130a15ff2287aded75aa66dd97 (diff)
downloaduGFX-aae423fd7f3b8adb6e96ce94fd1fb4cdf2745bbe.tar.gz
uGFX-aae423fd7f3b8adb6e96ce94fd1fb4cdf2745bbe.tar.bz2
uGFX-aae423fd7f3b8adb6e96ce94fd1fb4cdf2745bbe.zip
Added gwinDetachToggle method interface
Diffstat (limited to 'src/gwin/gwin_widget.h')
-rw-r--r--src/gwin/gwin_widget.h14
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__)