Skip to content

Add support for unbind_event #676

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 19, 2019
Merged

Add support for unbind_event #676

merged 1 commit into from
Feb 19, 2019

Conversation

dfb
Copy link
Contributor

@dfb dfb commented Feb 19, 2019

Currently you can bind a Python callable to an event dispatcher:

someEventEmitter.bind_event('SomeEvent', self.OnSomeEvent)

But I couldn't find any way to later unbind that. This patch adds support for:

someEventEmitter.unbind_event('SomeEvent', self.OnSomeEvent)

@rdeioris rdeioris merged commit 8b60cca into 20tab:master Feb 19, 2019
@rdeioris
Copy link
Contributor

Thanks

@dfb dfb deleted the pr_unbind_event branch February 19, 2019 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants