{"action":"created","issue":{"url":"https://api.github.com/repos/atom/electron/issues/4652","repository_url":"https://api.github.com/repos/atom/electron","labels_url":"https://api.github.com/repos/atom/electron/issues/4652/labels{/name}","comments_url":"https://api.github.com/repos/atom/electron/issues/4652/comments","events_url":"https://api.github.com/repos/atom/electron/issues/4652/events","html_url":"https://github.com/atom/electron/issues/4652","id":137840761,"number":4652,"title":"Programmatically set BrowserWindow frame property","user":{"login":"feross","id":121766,"avatar_url":"https://avatars.githubusercontent.com/u/121766?v=3","gravatar_id":"","url":"https://api.github.com/users/feross","html_url":"https://github.com/feross","followers_url":"https://api.github.com/users/feross/followers","following_url":"https://api.github.com/users/feross/following{/other_user}","gists_url":"https://api.github.com/users/feross/gists{/gist_id}","starred_url":"https://api.github.com/users/feross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feross/subscriptions","organizations_url":"https://api.github.com/users/feross/orgs","repos_url":"https://api.github.com/users/feross/repos","events_url":"https://api.github.com/users/feross/events{/privacy}","received_events_url":"https://api.github.com/users/feross/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-02T10:54:21Z","updated_at":"2016-03-05T21:12:36Z","closed_at":"2016-03-05T11:33:16Z","body":"I want to programmatically set the `BrowserWindow`'s `frame` property *after* the window has already been created.\r\n\r\nFor example: \r\n\r\n```js\r\nvar win = new electron.BrowserWindow({ frame: true })\r\n// ... some time goes by\r\nwin.setFrame(false)\r\n// ... some time goes by\r\nwin.setFrame(true)\r\n```\r\n\r\nIs there any way to do this with electron? Can we add this?"},"comment":{"url":"https://api.github.com/repos/atom/electron/issues/comments/192738911","html_url":"https://github.com/atom/electron/issues/4652#issuecomment-192738911","issue_url":"https://api.github.com/repos/atom/electron/issues/4652","id":192738911,"user":{"login":"feross","id":121766,"avatar_url":"https://avatars.githubusercontent.com/u/121766?v=3","gravatar_id":"","url":"https://api.github.com/users/feross","html_url":"https://github.com/feross","followers_url":"https://api.github.com/users/feross/followers","following_url":"https://api.github.com/users/feross/following{/other_user}","gists_url":"https://api.github.com/users/feross/gists{/gist_id}","starred_url":"https://api.github.com/users/feross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feross/subscriptions","organizations_url":"https://api.github.com/users/feross/orgs","repos_url":"https://api.github.com/users/feross/repos","events_url":"https://api.github.com/users/feross/events{/privacy}","received_events_url":"https://api.github.com/users/feross/received_events","type":"User","site_admin":false},"created_at":"2016-03-05T21:12:36Z","updated_at":"2016-03-05T21:12:36Z","body":"It is possible on OS X. Any chance it could be added just for OS X, like the other OS X specific frame stuff"}}