Window Management¶
This guide explains how to control and customize application windows in Nuiitivet. You can configure the title bar, adjust window size and position, and perform basic window operations.
Please refer to the following sections for detailed information:
- Window Chrome: Learn how to configure OS-managed decoration, create a custom app-drawn header, or use a bare borderless window.
- Size and Position: Understand how to control the dimensions and screen placement of your application window.
- Operations: Discover APIs for programmatically controlling the window state (close, maximize, minimize, etc.).
- File Dialogs: Show the OS-native open / save / folder dialogs and read the result.
- Menu Bar: Register a menu bar with
Window(menu=...)— items, shortcuts, checkable state, and placement. - Multiple Windows: Open secondary windows with
nv.Window— lifecycle, parent/modal windows, and the app exit policy. - Desktop Notifications: Raise an OS notification with
nv.Desktop.notify— from an event handler or a worker thread. - Tray Icon: Put the app in the system tray with
App(tray=nv.TrayIcon(...))— menus, close-to-tray, and hide/show.