icon

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2026 License: AGPL-3.0 Imports: 3 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

Package icon provides the artwork used by the application icon.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bitmap

func Bitmap() *ui.Bitmap

Bitmap creates a bitmap for one application's UI thread.

func TrayPNG added in v0.0.14

func TrayPNG(style string, dark bool) ([]byte, bool)

TrayPNG returns native tray artwork and whether the OS should tint it. The default is the rounded color logo. Monochrome artwork is white; Windows uses black on a light taskbar, while macOS uses the template's alpha for automatic contrast.

Types

This section is empty.

Jump to

Keyboard shortcuts

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