BSB Developer Docs
Loading...
Searching...
No Matches
lv_group_ext.h File Reference

LVGL group extensions. More...

#include <lvgl.h>

Go to the source code of this file.

Functions

bool lv_group_ext_get_index_by_obj (lv_group_t *group, lv_obj_t *object, uint32_t *index)
 Find the position of an object within a group.
 

Detailed Description

LVGL group extensions.

Function Documentation

◆ lv_group_ext_get_index_by_obj()

bool lv_group_ext_get_index_by_obj ( lv_group_t * group,
lv_obj_t * object,
uint32_t * index )

Find the position of an object within a group.

Walks the group's object list in a single pass.

Parameters
[in]grouplvgl group
[in]objectobject to look up
[out]indexzero-based index of the object
Returns
true if the object is part of the group, false otherwise