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

Clean-up a couple demos #511

Merged
merged 3 commits into from
Dec 21, 2020
Merged

Clean-up a couple demos #511

merged 3 commits into from
Dec 21, 2020

Conversation

aaronayres35
Copy link
Contributor

This PR cleans up a couple demos by using absolute imports, using magically named Demo, and over writing _create_component instead of _create_window so that these demos can be run / run smoothly through the etsdemo application

@codecov-io
Copy link

Codecov Report

Merging #511 (af0ce7d) into master (2ae4f5c) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #511   +/-   ##
=======================================
  Coverage   30.71%   30.71%           
=======================================
  Files         210      210           
  Lines       17840    17840           
  Branches     2454     2454           
=======================================
  Hits         5479     5479           
  Misses      12028    12028           
  Partials      333      333           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2ae4f5c...72d1b43. Read the comment docs.


if __name__ == "__main__":
demo_main(MyFrame)
demo_main(Demo)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This example still doesn't seem to be working as it is supposed to (I'm not seeing a context menu). These changes just allow it to run and run in etsdemo in its current state

Copy link
Member

@jwiggins jwiggins left a comment

Choose a reason for hiding this comment

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

Thanks for the updates

@aaronayres35 aaronayres35 merged commit 22cdf49 into master Dec 21, 2020
@rahulporuri rahulporuri deleted the fix-more-demos branch December 21, 2020 16:27
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.

3 participants