Skip to content
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

Add pump parameter and keyword arguments to some event functions #805

merged 6 commits into from Feb 17, 2019


None yet
3 participants
Copy link

dlon commented Feb 8, 2019

  • Adds keyword arguments: event.clear(eventtype=None, pump=True), event.clear(eventtype=None, pump=True), and event.get(eventtype=None, pump=True).
  • pump can be set to False to safely use these functions in other threads (w/ GIL). This works for both SDL1 and SDL2.

Related: #794.

Show resolved Hide resolved docs/reST/ref/event.rst Outdated
Show resolved Hide resolved src_c/event.c Outdated

This comment has been minimized.

Copy link

illume commented Feb 12, 2019

Oops. I made some conflicts by merging in the other branch.

@dlon dlon merged commit 4243c0b into master Feb 17, 2019

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
continuous-integration/travis-ci/pr The Travis CI build passed

@dlon dlon deleted the event-pump branch Feb 17, 2019

@dlon dlon referenced this pull request Mar 23, 2019


1.9.5 release notes. #561

4 of 4 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.