icon

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2024 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FdoLookupIconPath

func FdoLookupIconPath(theme string, size int, iconName string) string

FdoLookupIconPath will take the name of an icon and find a matching image file

func FdoLookupIconPathInTheme

func FdoLookupIconPathInTheme(iconSize string, dir string, parentDir string, iconName string) string

FdoLookupIconPathInTheme searches icon locations to find a match using a provided theme directory. The dir path is the root of the theme, parentDir is used to look up inherited themes

func NewFDOIconProvider

func NewFDOIconProvider() fynedesk.ApplicationProvider

NewFDOIconProvider returns a new icon provider following the FreeDesktop.org specifications

func NewMacOSAppProvider

func NewMacOSAppProvider() fynedesk.ApplicationProvider

NewMacOSAppProvider creates an instance of an ApplicationProvider that can find and decode macOS apps

Types

This section is empty.

Jump to

Keyboard shortcuts

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