Add grid navigation feature to an object. It expects the children to be arranged into a grid-like layout. Although it's not required to have pixel perfect alignment. This feature makes possible to use keys to navigate among the children and focus them. The keys other than arrows and press/release related events are forwarded to the focused child.
If there is no next/previous object in a direction, the focus goes to the object in the next/previous row (on left/right keys) or first/last row (on up/down keys)
LV_GRIDNAV_CTRL_SCROLL_FIRST
0x2
If an arrow is pressed and the focused object can be scrolled in that direction then it will be scrolled instead of going to the next/previous object. If there is no more room for scrolling the next/previous object will be focused normally
LV_GRIDNAV_CTRL_HORIZONTAL_MOVE_ONLY
0x4
Only use left/right keys for grid navigation. Up/down key events will be sent to the focused object.
LV_GRIDNAV_CTRL_VERTICAL_MOVE_ONLY
0x8
Only use up/down keys for grid navigation. Left/right key events will be sent to the focused object.