-
Notifications
You must be signed in to change notification settings - Fork 902
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
Platform-specific getters on WindowAttributes
#3313
Comments
Personally I think it's a good value add over having the structure's fields be exposed normally (semver issues). Although I support having the ability to access those platform specific fields as well. It would make it easier to make fuller wrappers around |
I dislike Back when I tried to remove it in #2134, it was met by resistance because there were no getters, and that broke people relying on being able to access the current builder values. |
See #2613 for the discussion on why it was reverted. Generally speaking I really do dislike Personally I think we either remove In the meantime I will go ahead and move |
Currently
WindowAttributes
s purpose is to expose the current state ofWindowBuilder
. But it doesn't support platform-specific fields.It would be nice to move
PlatformSpecificWindowBuilderAttributes
intoWindowAttributes
so we can do that.Alternatively, I'm not entirely sure why
WindowAttributes
exists in the first place if seemingly we could let users just get free (mutable) access toWindowBuilder
fields and the ones we don't want them to get access to can have getters/setters.What do you guys think?
The text was updated successfully, but these errors were encountered: