Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

PortWorkbench from Pyface to Apptools#331

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
corranwebster wants to merge11 commits intomain
base:main
Choose a base branch
Loading
fromfeat/workbench

Conversation

@corranwebster
Copy link
Contributor

@corranwebstercorranwebster commentedMar 23, 2023
edited
Loading

This is a move of the workbench code from Pyface to Apptools. The top-level changes are:

  • pyface.workbench ->apptools.workbench
  • pyface.ui.*.workbench ->apptools.workbench.ui.* (I could be talked into justapptools.workbench.* like TraitsUI)
  • examples.workbench in Pyface repo added toexamples.workbench in this repo
  • adds some tests run under PySide6 and Wx

Toolkit management is done by using apyface.base_toolkit.Toolkit with the name derived from thepyface.toolkit.toolkit (which handles toolkit selection) and pointing at the appropriate subpackage.

This doesn't attempt to do anything to the Workbench code in Envisage. There is an argument it should be in here as well. We have circular dependencies between the two libraries, and it's not clear which should be "lower-level"

Other than that, changes are around import targets and a little bit of delayed importing because I was seeing circular imports after applying isort...

Checklist

  • Add a news fragment if this PR is news-worthy for end users. (see docs/releases/README.rst)
  • Check examples work
  • Run tests under different backends

@corranwebster
Copy link
ContributorAuthor

Currently not working with an actual toolkit.

mdickinson reacted with confused emoji

@corranwebstercorranwebster marked this pull request as ready for reviewMay 22, 2023 15:27
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@corranwebster

[8]ページ先頭

©2009-2025 Movatter.jp