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

Do we really want property assignment to do *things* #11

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

Do we really want property assignment to do *things* #11

dmwyatt opened this issue Jul 18, 2021 · 0 comments
Labels
question Further information is requested

Comments

@dmwyatt
Copy link
Owner

dmwyatt commented Jul 18, 2021

  1. It has a nice symmetry to get the maximized state of a window with notepad.maximized and to set the state of the window with notepad.maximized = False.
  2. On the other hand, generally you expect to use a method call to do something.

Maybe we could support an API wherein you can do it either way?

notepad.maximize = True and notepad.set_maximized(True)?

@dmwyatt dmwyatt added the question Further information is requested label Jul 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant