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 CurrentWindows a generalized window container. #7

Open
dmwyatt opened this issue Jul 8, 2021 · 0 comments
Open

Make CurrentWindows a generalized window container. #7

dmwyatt opened this issue Jul 8, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@dmwyatt
Copy link
Owner

dmwyatt commented Jul 8, 2021

CurrentWindows is currently structured in such a way that it only represents all windows on the system.

It would be better if it could represent any group of windows.

Potential API thoughts

  • When keyed by window titles, this class returns a list of matching windows. Instead return another instance of CurrentWindows.
  • Many of the methods and properties on the Window class could be mirrored onto the CurrentWindows class so you could, for example, minimize all of the represented windows, or move all of them to a specified monitor.
  • Is it worth supporting indexing and slicing like the lists that we currently return? How would this work with keying by title?
@dmwyatt dmwyatt added the enhancement New feature or request label Jul 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant