[−][src]Function lvgl::objx::label::set_static_text
pub fn set_static_text(label: *mut lv_obj_t, text: &Strn) -> MynewtResult<()>
Set a static text. It will not be saved by the label so the 'text' variable has to be 'alive' while the label exist.
label
: pointer to a label objecttext
: pointer to a text. NULL to refresh with the current text.