[−][src]Function lvgl::widgets::dropdown::set_options
pub fn set_options(
ddlist: *mut lv_obj_t,
options: &Strn<'_>
) -> MynewtResult<()>
Set the options in a drop down list from a string
ddlist
: pointer to drop down list objectoptions
: a string with '\n' separated options. E.g. "One\nTwo\nThree" The options string can be destroyed after calling this function