resources

package
v0.0.0-...-e3eb743 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2022 License: BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CSS

func CSS() *gtk.CssProvider

func Image

func Image(path string) *gtk.Image

func ImageForDoc

func ImageForDoc(name string) *gdk.Pixbuf

func InitResources

func InitResources()

load basic resources o they are ready for the app

func LoadImages

func LoadImages()

func Pixbuf

func Pixbuf(path string) *gdk.Pixbuf

If this ever fails, we should crash hard

func ScaledImage

func ScaledImage(width, height int, path string) *gtk.Image

func ScaledPixbuf

func ScaledPixbuf(width, height int, path string) *gdk.Pixbuf

func UpdateImageFromResource

func UpdateImageFromResource(img *gtk.Image, path string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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