lv_obj_scroll_private.h

API reference for lv_obj_scroll_private.h

Report on GitHub
See Also: Public APIThis is the private implementation. See the public header for the stable interface.lv_obj_scroll.h
Summary

Functions

lv_obj_scroll_by_raw

Low level function to scroll by given x and y coordinates. LV_EVENT_SCROLL is sent.

 
lv_result_t lv_obj_scroll_by_raw(lv_obj_t *obj, int32_t x, int32_t y)
Parameters
NameTypeDescription
objlv_obj_t *pointer to an object to scroll
xint32_tpixels to scroll horizontally
yint32_tpixels to scroll vertically

Returns: lv_result_tLV_RESULT_INVALID: to object was deleted in LV_EVENT_SCROLL; LV_RESULT_OK: if the object is still valid

Dependencies

How is this guide?

Last updated on

On this page