Fueling Creators with Stunning

Lvgl Deletes Completely Wrong Object General Discussion Lvgl Forum

Lvgl Deletes Completely Wrong Object General Discussion Lvgl Forum
Lvgl Deletes Completely Wrong Object General Discussion Lvgl Forum

Lvgl Deletes Completely Wrong Object General Discussion Lvgl Forum For more information, it is happening in the visual studio simulator, i haven’t been able to discover if it’s an lvgl issue or visual studio issue, but i’m curious if anyone has experienced this before. Looking into lvgl's code i can't see the problem. can you send an example i can test in the a simulator?.

Lvgl Deletes Completely Wrong Object General Discussion Lvgl Forum
Lvgl Deletes Completely Wrong Object General Discussion Lvgl Forum

Lvgl Deletes Completely Wrong Object General Discussion Lvgl Forum I’d like widget pointers for widgets on a temporary screen to be reset to null when the screen is deleted. do you see alternative options and workaround to achieve it?. I am currently running lvgl on version 8.2.0 and i did have some problems with the message box widget, it didn’t fit for us as the way it was designed, so i made my own message box by creating a container as the parent, and the labels and buttons as its children and it did work quite well. Sometimes you're not sure whether an object was deleted and you need some way to check if it's still "alive". anytime before the object is deleted, you can use cpp:expr: lv obj null on delete (&obj) to cause your object pointer to be set to null when the object is deleted. I'm tasked with dynamically adding all the content to a page upon entering it and deleting all objects when exiting. however, the esp32 crashes when i delete the root object that contains all the children. this doesn't always happen; sometimes it does, and sometimes it doesn't.

Lvgl Deletes Completely Wrong Object General Discussion Lvgl Forum
Lvgl Deletes Completely Wrong Object General Discussion Lvgl Forum

Lvgl Deletes Completely Wrong Object General Discussion Lvgl Forum Sometimes you're not sure whether an object was deleted and you need some way to check if it's still "alive". anytime before the object is deleted, you can use cpp:expr: lv obj null on delete (&obj) to cause your object pointer to be set to null when the object is deleted. I'm tasked with dynamically adding all the content to a page upon entering it and deleting all objects when exiting. however, the esp32 crashes when i delete the root object that contains all the children. this doesn't always happen; sometimes it does, and sometimes it doesn't. Note that the `lv examples` library is for lvgl v7 and you shouldn't install it for this version (since lvgl v8) as the examples and demos are now part of the main lvgl library. Try using lv obj del async instead. there are certain cases where an object shouldn’t be deleted directly inside an event handler. lv obj del async does it on the next call to lv task handler. Say you have a page, and on this page are a number of objects. these objects are in a group. one of these objects is a ddlist. if you want to delete all the objects (for example, to show a different set of objects, i.e. a different menu) you can clean them with lv obj clean(lv page get scrl(page)). Questions and ideas about organizing applications with lvgl. share your lvgl based project here. accelerate your lvgl development with the project creator. select, configure, and launch your projects in just a few clicks. it works on windows, linux, mac and in vscode too. this category is archived.

Lvgl Deletes Completely Wrong Object General Discussion Lvgl Forum
Lvgl Deletes Completely Wrong Object General Discussion Lvgl Forum

Lvgl Deletes Completely Wrong Object General Discussion Lvgl Forum Note that the `lv examples` library is for lvgl v7 and you shouldn't install it for this version (since lvgl v8) as the examples and demos are now part of the main lvgl library. Try using lv obj del async instead. there are certain cases where an object shouldn’t be deleted directly inside an event handler. lv obj del async does it on the next call to lv task handler. Say you have a page, and on this page are a number of objects. these objects are in a group. one of these objects is a ddlist. if you want to delete all the objects (for example, to show a different set of objects, i.e. a different menu) you can clean them with lv obj clean(lv page get scrl(page)). Questions and ideas about organizing applications with lvgl. share your lvgl based project here. accelerate your lvgl development with the project creator. select, configure, and launch your projects in just a few clicks. it works on windows, linux, mac and in vscode too. this category is archived.

Comments are closed.