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

Implement Window module (titlebar, sizes, styleMasks) #70

Closed
geuis opened this issue Apr 20, 2016 · 6 comments
Closed

Implement Window module (titlebar, sizes, styleMasks) #70

geuis opened this issue Apr 20, 2016 · 6 comments

Comments

@geuis
Copy link

geuis commented Apr 20, 2016

This is the time I wish Github had a more diverse issue/question system. Anyway, how do you add the bar at the top of apps like the example app has? I think its a setting in the xcode project but not too sure now.

@ptmt ptmt changed the title not a bug, just a question Implement Window module (titlebar, sizes, styleMasks) Apr 20, 2016
@ptmt
Copy link
Owner

ptmt commented Apr 20, 2016

Yeah, it certainly should be exposed to js. This is called Titlebar and it also could have included NSToolbar. What's your case? Do you need to show just a text, or add there some buttons?

@geuis
Copy link
Author

geuis commented Apr 20, 2016

No specific case at the moment. Was just wondering how to do it.

@dmendis
Copy link

dmendis commented May 25, 2016

I'd love to remove the titlebar to make an app like Alfred/Spotlight. Doable using Xcode.

@aleclarson
Copy link
Collaborator

aleclarson commented Mar 9, 2019

I wrote down some thoughts on the potential API for this:
https://gist.github.com/aleclarson/1eb38f8a1560a910692b624325d38767

We could also take inspiration from Electron:
https://electronjs.org/docs/api/browser-window

@ptmt
Copy link
Owner

ptmt commented Mar 10, 2019 via email

@aleclarson
Copy link
Collaborator

Duplicate of #40

@aleclarson aleclarson marked this as a duplicate of #40 Mar 25, 2019
Repository owner locked and limited conversation to collaborators Mar 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants