icon

package
v0.0.0-...-17244d7 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

Icon theme thumbnail generator

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChooseIcon

func ChooseIcon(theme string, names []string) string

func GenThumbnail

func GenThumbnail(src, bg string, width, height int, force bool) (string, error)

GenThumbnail generate icon theme thumbnail src: the uri of icon theme index.theme

func StrvInC

func StrvInC(strv []string) []*C.char

return NUL-Terminated slice of C String

func SupportedTypes

func SupportedTypes() []string

func ThumbnailForTheme

func ThumbnailForTheme(src, bg string, width, height int, force bool) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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