Documentation ¶
Overview ¶
Paquete que se encarga de leer, administrar y actualizar las configuraciones
del usuario
TODO: refactor the logic for thumbnails and loading
Index ¶
- func CompleteCards(c *fyne.Container)
- func DefineLayout() fyne.Layout
- func GetConfiguredPaths() []string
- func GetCurrentWallpaper() (string, error)
- func SetConfig(paths ...string) *os.File
- func SetGridSize() fyne.Size
- func SetWallpaper(imageDir string) error
- func WallpaperFitMode() wallpaper.Mode
- type Path
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompleteCards ¶ added in v1.2.7
func CompleteCards(c *fyne.Container)
fills the container with the correspondent content
func DefineLayout ¶ added in v1.2.7
func DefineLayout() fyne.Layout
Fill the grid with images and refresh the container on each step
func GetConfiguredPaths ¶ added in v1.2.4
func GetConfiguredPaths() []string
Return all folders configured by the user in the configuration file
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 SetWallpaper ¶
func WallpaperFitMode ¶ added in v1.2.0
Types ¶
Click to show internal directories.
Click to hide internal directories.