[−][src]Function lvgl::widgets::dropdown::get_selected_str
pub fn get_selected_str(
ddlist: *const lv_obj_t,
buf: *mut c_char,
buf_size: u32
) -> MynewtResult<()>
Get the current selected option as a string
ddlist
: pointer to ddlist objectbuf
: pointer to an array to store the stringbuf_size
: size ofbuf
in bytes. 0: to ignore it.