Custom widget creation

is it possible to create our own custom widget in the LittlevGL?
for instance a gauge or progress bar and similar

All LittlevGL objects follow a basic inheritance pattern. As such it is possible to create pretty much anything. See https://blog.littlevgl.com/2018-12-13/extend-lvgl-objects. Note that that blog post was written for LittlevGL 5.3 so some things are a bit outdated. Read through the source code for a few simple objects (like the arc or button) to understand how things work in 6.0.

Both gauges and progress bars are already included within LittlevGL, though, so you shouldn’t need to create those. See the list of object types.

1 Like

Okay, thanks.
I mentioned gauge and progress as examples. I meant importing a gauge with a different style

1 Like

You don’t need to create a custom object to change an object’s style. See Styles — LVGL documentation.

2 Likes