MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / toolbar_set_title

Function toolbar_set_title

Tactility/Source/lvgl/Toolbar.cpp:168–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168void toolbar_set_title(lv_obj_t* obj, const std::string& title) {
169 auto* toolbar = reinterpret_cast<Toolbar*>(obj);
170 lv_label_set_text(toolbar->title_label, title.c_str());
171}
172
173void toolbar_set_nav_action(lv_obj_t* obj, const char* icon, lv_event_cb_t callback, void* user_data) {
174 auto* toolbar = reinterpret_cast<Toolbar*>(obj);

Callers 2

updateToolbarTitleMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected