Skip to content

Events rework #242

Description

@almarklein

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    eventsAn issue related to events

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions