Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Make FigureManagerWx more consistent with other backends. #13153

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

Closed
wants to merge 1 commit into from

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented Jan 10, 2019

PR Summary

Builds on top of #13146 to avoid a rebase.
Note that unlike in #10606, FigureManagerWx is a pure-python class, not a wx Widget, so there's no problems with wxness of the constructor there.

PR Checklist

  • Has Pytest style unit tests
  • Code is Flake 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

window : wxFrame
a wxFrame instance - wxpython.org/Phoenix/docs/html/Frame.html
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The link is broken and if anything the only link should be to the wxpython general docs at the top of the module (perhaps).

@jklymak jklymak marked this pull request as draft April 23, 2021 16:32
@anntzer anntzer marked this pull request as ready for review June 3, 2021 17:44
@anntzer anntzer marked this pull request as draft June 4, 2021 12:33
@anntzer anntzer force-pushed the more-wx branch 2 times, most recently from 7e54812 to 0986dad Compare June 5, 2021 19:55
@anntzer anntzer marked this pull request as ready for review June 6, 2021 10:04
@anntzer anntzer marked this pull request as draft June 6, 2021 10:36
@anntzer
Copy link
Contributor Author

anntzer commented Jun 6, 2021

Because wx expects (AFAIU) parent widgets to be fully set up before children, I don't think it is possible to match the model of other backends where we first create the Canvas and then let the Manager create the toplevel window that hosts it :/

@anntzer anntzer closed this Jun 6, 2021
@anntzer anntzer deleted the more-wx branch June 6, 2021 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants