[][src]Function lvgl::widgets::dropdown::set_text

pub fn set_text(ddlist: *mut lv_obj_t, txt: &Strn<'_>) -> MynewtResult<()>

Set text of the ddlist (Displayed on the button if show_selected = false)

  • ddlist: pointer to a drop down list object
  • txt: the text as a string (Only it's pointer is saved)