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

Make EventLoopHelper expect an IGUI instance #953

Merged
merged 3 commits into from
Jun 17, 2021

Conversation

aaronayres35
Copy link
Contributor

closes #701

This PR follows the lead of enthought/envisage#301

Copy link
Contributor

@rahulporuri rahulporuri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with a comment and a suggestion.

pyface/ui/qt4/util/tests/test_event_loop_helper.py Outdated Show resolved Hide resolved
from traits.api import HasTraits, provides

from pyface.i_gui import IGUI
from pyface.ui.qt4.util.event_loop_helper import EventLoopHelper
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't there a toolkit-agnostic way of getting the EventLoopHelper? If there is, we can make this test toolkit-agnostic, which it should be IMO

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will do this in a follow up PR since we need to add the generic module for it (similar to #926)

Co-authored-by: Poruri Sai Rahul <rporuri@enthought.com>
@aaronayres35 aaronayres35 merged commit b4152da into master Jun 17, 2021
@aaronayres35 aaronayres35 deleted the EventLoopHelper-expect-IGUI branch June 17, 2021 13:10
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.

EventLoopHelper.gui should expect an IGUI, not GUI instance.
2 participants