Socket
Book a DemoInstallSign in
Socket

@nodegui/plugin-title-bar

Package Overview
Dependencies
Maintainers
3
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nodegui/plugin-title-bar

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

latest
npmnpm
Version
0.0.2
Version published
Maintainers
3
Created
Source

@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

FAQs

Package last updated on 10 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts