I am actually working on it now so it will work in a more pythonic manner. Right now it’s rather goofy because of using CFFI to handle the binding interface.
I have opted to use ctypes instead (uses FFI) for the binding interface and I am not generating the binding code. I am instead writing the entire LVGL API binding code by hand. This is going to create a more efficient binding doing this.
I am about 50% maybe 60% done with writing the binding code. I have been working on it maybe 20 hours so far, it shouldn’t take me too long to get it finished up. Then I have to test it and hammer out the bugs in it.
Thank you so much Kevin! LVGL in CPython might be the greatest toolkit for Python GUI. I have been testing lv_micropython and am really impressed by the convenience and conciseness.
If it turns out to be similar to lv_micropython, we get the most streamlined workflow straight from SL Studio to software prototypes (or WIP LVGL UI editor in the future). Truly amazing work. THANKS AGAIN!
If you have buymeacoffee, I would be happy to do that.
The API is not going to be the same as the MicroPython binding. It is going to be like the LVGL API. Tho I could write wrapper classes so it would work the same as the MicroPython binding.