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

This value will be applied to all of the contents of the button when it is pressed. This helps to visualize the button being pressed.

C
LIB_EXPORT laResult laButtonWidget_SetPressedOffset(
    laButtonWidget* btn, 
    int32_t offs
);
Parameters
Parameters 
Description 
laButtonWidget* btn 
the widget 
the distance value 
Returns

laResult - the operation result

MPLAB® Harmony Graphics Suite