nodegui-plugin-mac-title-bar
v0.0.1
Published
Plugin for NodeGUI to hide macOS title bar and leave only traffic lights.
Downloads
2
Readme
nodegui-plugin-mac-title-bar
fork form @nodegui/plugin-title-bar
Plugin for NodeGUI to hide macOS title bar and leave only traffic lights.
Installation
npm install nodegui-plugin-mac-title-bar
Usage
import { QMainWindow } from '@nodegui/nodegui'
import { setTitleBarStyle } from 'nodegui-plugin-mac-title-bar'
const window = new QMainWindow()
window.show()
setTitleBarStyle(window.native, 'hidden') // or hiddenInset
global.win = window // Prevents window from being garbage collected