icons

package
v0.0.0-...-ba0b20d Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolveIconPath

func ResolveIconPath(name string, size int) string

ResolveIconPath returns the best icon file path for name+size.

func ResolvePath

func ResolvePath(name string, size int) string

ResolvePath returns the best icon file path for name+size. Falls back to help.{svg,png} if the requested icon is missing.

Types

type Buffer

type Buffer = core.Buffer

func Load

func Load(name string, size int) (*Buffer, error)

Load loads an icon by name and size as a Buffer.

func LoadIcon

func LoadIcon(name string, size int) (*Buffer, error)

LoadIcon loads an icon by name and size as a Buffer.

Jump to

Keyboard shortcuts

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