lv_dropdown_get_option_index() function
Get the index of an option.
Arguments
obj
pointer to drop-down object
option
an option as string
Return value
index of `option` in the list of all options. -1 if not found.
lv_dropdown_get_option_index() calls 1 function:
![]()
lv_dropdown_get_option_index()
lv_dropdown_get_option_index():
![]()
lv_dropdown_get_option_index()