Documentation ¶
Overview ¶
Paquete que se encarga de leer, administrar y actualizar las configuraciones
del usuario
Index ¶
- func GetConfiguredPaths() []string
- func GetCurrentWallpaper() (string, error)
- func NewContentGrid() (*fyne.Container, *fyne.Container)
- func SetConfig(paths ...string) *os.File
- func SetGridSize() fyne.Size
- func SetNewContent(contenedor *fyne.Container)
- func SetWallpaper(imageDir string) error
- func WallpaperFitMode() wallpaper.Mode
- type Path
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfiguredPaths ¶ added in v1.2.4
func GetConfiguredPaths() []string
Return all folders configured by the user in the configuration file
func NewContentGrid ¶
func NewContentGrid() (*fyne.Container, *fyne.Container)
Returns a new Grid (this grid is an empty frame)
func SetConfig ¶ added in v1.2.4
Creates the config folder and the config.json if is not created yet
func SetGridSize ¶ added in v1.1.5
func SetGridSize() fyne.Size
Return a new size depending on the users config
func SetNewContent ¶ added in v1.1.5
func SetNewContent(contenedor *fyne.Container)
Fill the grid with images and refresh the container on each step
func SetWallpaper ¶
func WallpaperFitMode ¶ added in v1.2.0
Types ¶
Click to show internal directories.
Click to hide internal directories.