I plan to combine some work on events, probably merging multiple PRs in a separate branch and then merging in main when done. Then do a major version bump, because there will be backwards incompatible changes.
My plan is to introduce a new method, e.g. canvas.connect_event or canvas.events.connect(), so that we can keep most backwards incompatible changes scoped to that new method, and leave canvas.add_event_handler() mostly (but not completely) unaffected.
Topics to address:
For canvas.add_event_handler(), only the subtle changes in #185 should be of concern. This relates to e.g. whether a new pointer_down is emitted when a pointer button is already down.
Event work for later:
I plan to combine some work on events, probably merging multiple PRs in a separate branch and then merging in main when done. Then do a major version bump, because there will be backwards incompatible changes.
My plan is to introduce a new method, e.g.
canvas.connect_eventorcanvas.events.connect(), so that we can keep most backwards incompatible changes scoped to that new method, and leavecanvas.add_event_handler()mostly (but not completely) unaffected.Topics to address:
For
canvas.add_event_handler(), only the subtle changes in #185 should be of concern. This relates to e.g. whether a new pointer_down is emitted when a pointer button is already down.Event work for later: