lv_dropdown_set_text() function
Set text of the drop-down list's button. If set to `NULL` the selected option's text will be displayed on the button. If set to a specific text then that text will be shown regardless of the selected option.
Arguments
obj
pointer to a drop-down list object
txt
the text as a string (Only its pointer is saved)
lv_dropdown_set_text() calls 1 function:
![]()
lv_dropdown_set_text()
lv_dropdown_set_text() reads 1 variable and writes 1 variable:
![]()
lv_dropdown_set_text()