lvgl / lv_binding_micropython

LVGL binding for MicroPython
MIT License
237 stars 156 forks source link

Add __eq__ operator to lv_obj wrappers #148

Closed amirgon closed 3 years ago

amirgon commented 3 years ago

This is required for comparing obj instances. The binding code should compare the underlying pointers to the lv_obj instances. See: https://github.com/lvgl/lvgl/issues/1763#issuecomment-850638625

amirgon commented 3 years ago

Fixed by https://github.com/lvgl/lv_binding_micropython/commit/53f94a20f66fa49a22bc7feec6a2283137f7ee35