0.0.2 • Published 4 years ago

@nodegui/plugin-title-bar v0.0.2

Weekly downloads
22
License
MIT
Repository
github
Last release
4 years ago

@nodegui/plugin-title-bar

npm version

Plugin for NodeGUI to hide macOS title bar and leave only traffic lights.

Installation

npm install @nodegui/plugin-title-bar

Usage

import { QMainWindow } from '@nodegui/nodegui'
import { setTitleBarStyle } from '@nodegui/plugin-title-bar'

const window = new QMainWindow()
window.show()
setTitleBarStyle(window.native, 'hidden') // or hiddenInset
global.win = window // Prevents window from being garbage collected
0.0.2

4 years ago

0.0.1

5 years ago