Lines Matching refs:buffer
38 :cpp:expr:`lv_label_set_text(label, "New text")`. This will allocate a buffer
39 dynamically, and the provided string will be copied into that buffer.
46 Labels are able to show text from a static character buffer as well. To do so, use
48 stored in dynamic memory and the given buffer is used directly instead. This means
49 that the contents of the character buffer *must* remain valid for the life of the
50 label or until another buffer is set via one of the above functions.
70 - allocate a static string buffer large enough contain the largest possible string,
71 - update that buffer with the new strings only when they will make a visible
73 - update the Label with :cpp:expr:`lv_label_set_text_static(label, buffer)` using that buffer.
112 Note that :cpp:enumerator:`LV_LABEL_LONG_DOT` manipulates the text buffer in-place in
114 :cpp:func:`lv_label_set_array_text` are used, a separate buffer is allocated and
116 :cpp:func:`lv_label_set_text_static`. The buffer you pass to