Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
CustomWallpapersConfigDir string
)
Functions ¶
func IsBackgroundFile ¶
func NotifyChanged ¶
func NotifyChanged()
func SetCustomWallpaperDeleteCallback ¶
func SetCustomWallpaperDeleteCallback(fn func(file string))
Types ¶
type Background ¶
func (*Background) Delete ¶
func (info *Background) Delete() error
func (*Background) Thumbnail ¶
func (info *Background) Thumbnail() (string, error)
type Backgrounds ¶
type Backgrounds []*Background
func ListBackground ¶
func ListBackground() Backgrounds
func (Backgrounds) Delete ¶
func (bgs Backgrounds) Delete(uri string) error
func (Backgrounds) Get ¶
func (bgs Backgrounds) Get(uri string) *Background
func (Backgrounds) ListGet ¶
func (bgs Backgrounds) ListGet(uris []string) Backgrounds
Click to show internal directories.
Click to hide internal directories.