multiwindow

command
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2026 License: BSD-3-Clause Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command multiwindow shows several windows. The first window has a button that opens a new window and one that opens a dialog; every window is the same page with a counter of its own, so any window can open more. A dialog is modal to the window that opened it, and closes with it. It uses only package material, imported as m.

Every window is also a drop target: drag a file from a file manager, or some text, onto "Drop here" to see its path; "Drag me" can be dragged out of the window, into a text editor or into another window of the app. (Drags between applications need a pointer button held down, so they cannot be tried on a headless compositor.)

Run it with: go run ./examples/multiwindow

Environment: GLUTTER_BACKEND=x11|wayland, GLUTTER_SCREENSHOT=<file.png>. In debug builds: GLUTTER_DEV_OPEN=window,dialog opens a window, a dialog, or both when the first window is shown.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL