trayavailable

command
v1.17.17 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2026 License: BSD-3-Clause Imports: 8 Imported by: 0 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 trayavailable runs the reproduction of the issue "The tray's availability" (step 60.1, internal/issues TrayAvailableName) in a real app: it asks desktop.TrayAvailable from a goroutine, places a SystemTray, waits for what the tray reports, prints the report's line and issues.DoneLine, and exits. The Wine test (examples, TestWineTellsWhetherTheDesktopShowsTrayIcons) and the emulator test (internal/androidtest, TestAndroidTellsWhetherTheDesktopShowsTrayIcons) run it and read the line from its output and its log. It is a development example: it uses internal/issues.

Run it with: go run ./examples/dev/trayavailable

The report names the platform (the target platform) and what its desktop is expected to answer: yes on Windows and macOS, no on Android and iOS; on Linux it depends on the desktop, and nothing is expected.

Jump to

Keyboard shortcuts

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