diff options
Diffstat (limited to 'include/gwin/list.h')
-rw-r--r-- | include/gwin/list.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/gwin/list.h b/include/gwin/list.h index 4052f53f..11815d05 100644 --- a/include/gwin/list.h +++ b/include/gwin/list.h @@ -107,6 +107,18 @@ GHandle gwinGListCreate(GDisplay *g, GListObject *widget, GWidgetInit *pInit, bo void gwinListSetScroll(GHandle gh, scroll_t flag); /** + * @brief Change the behaviour of the scroll bar + * + * @note Current possible values: @p scrollAlways and @p scrollAuto + * + * @param[in] gh The widget handle (must be a list handle) + * @param[in] flag The behaviour to be set + * + * @api + */ +void gwinListSetScroll(GHandle gh, scroll_t flag); + +/** * @brief Add an item to the list * * @note The ID you get returned is not static. If items get removed from the list, the list items get |