[−][src]Function lvgl::objx::label::set_text
pub fn set_text(label: *mut lv_obj_t, text: &Strn) -> MynewtResult<()>
Set a new text for a label. Memory will be allocated to store the text by the label.
label
: pointer to a label objecttext
: '\0' terminated character string. NULL to refresh with the current text.