rgb_panel sample
lv_label_set_text_fmt()
is only used within rgb_panel sample.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
rgb_panel sample
lv_label_set_text_fmt()
lv_label_set_text_fmt() function
Set a new formatted text for a label. Memory will be allocated to store the text by the label. Example:
lv_label_set_text_fmt(label1, "%d user", user_num);
Syntax
Show:
Summary
Declaration
Definition
from
lv_label.h:100
void
lv_label_set_text_fmt
(
lv_obj_t
*
obj
,
const
char
*
fmt
,
...
)
LV_FORMAT_ATTRIBUTE
;
Implemented in
lv_label.c:178
Arguments
Argument
Description
obj
pointer to a label object
fmt
`printf`-like format
Examples
References
from
examples
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out