-
Notifications
You must be signed in to change notification settings - Fork 45
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
macOS window represented filename #192
Comments
What does |
So this file name is no different than setting title manually? Is there a corresponding API in AppKit that has iconOnly flag or it will be a custom implementation? Right now it feels like |
There is both
I am not sure if there is any case it is not simply the file name or whether that case is important. |
I think |
See https://www.electronjs.org/docs/latest/tutorial/represented-file
My proposition for an API is
WindowMac#setRepresentedFilename(String filename, boolean iconOnly)
. There is an option to let the window determine an appropriate name based on the file (just the filename as far as I can tell), otherwise it just sets the icon and allows expanding the dropdown.The text was updated successfully, but these errors were encountered: