MPLAB® Harmony Graphics Suite > Graphics Library > Aria Graphics Library > Aria User Interface Library Interface > a) Functions > laCircularSliderWidget_SetStickyButton Function
MPLAB® Harmony Graphics Suite
laCircularSliderWidget_SetStickyButton Function

When sticky is enabled, the slider button will not immediately wrap past the start or end value if the button is dragged past the start angle. If the button is dragged past the threshold of 90 degrees beyond the start angle, only then will the slider value wrap around.

C
LIB_EXPORT laResult laCircularSliderWidget_SetStickyButton(
    laCircularSliderWidget* slider, 
    laBool sticky
);
Parameters
Parameters 
Description 
laCircularSliderWidget* slider 
the widget 
laBool sticky 
set button as sticky 
Returns
MPLAB® Harmony Graphics Suite