Skip to content

Commit

Permalink
Merge pull request #6 from aczid/master
Browse files Browse the repository at this point in the history
 Added gwinDetachToggle method interface
  • Loading branch information
annejan authored Jun 21, 2017
2 parents ca3088f + e2afbc8 commit 9d31df7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/gwin/gwin_widget.h
Original file line number Diff line number Diff line change
Expand Up @@ -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__)
Expand Down

0 comments on commit 9d31df7

Please sign in to comment.