Documentation ¶
Overview ¶
Package pref contains constants for the preferences to set in the database.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyType ¶
type KeyType uint8
const ( // Path to the wallpaper Wallpaper KeyType = 1 // Position of the wallpaper // Value should be one of the constants in the position package Position KeyType = 2 // Red value if using a solid color as a wallpaper // Value should be a between 0 and 1 Red KeyType = 3 // Green value if using a solid color as a wallpaper // Value should be a between 0 and 1 Green KeyType = 4 // Blue value if using a solid color as a wallpaper // Value should be a between 0 and 1 Blue KeyType = 5 // Event on which to change wallpaper // Value should be one of the constants in the event package ChangeEvent KeyType = 9 // Directory of changing wallpapers Directory KeyType = 10 // Interval at which to change wallpaper in seconds // Only has an effect if 'Directory' is set Interval KeyType = 11 // Whether or not to select wallpaper at random when changing // Only has an effect if 'Directory' is set Random KeyType = 12 // Whether or not to set the wallpaper to a solid color SolidColor KeyType = 15 // Current wallpaper if 'Directory' is set Current KeyType = 16 )
Directories ¶
Path | Synopsis |
---|---|
Package event contains constants for the events used to change wallpaper.
|
Package event contains constants for the events used to change wallpaper. |
Package position contains constants for the possible positions of the wallpaper.
|
Package position contains constants for the possible positions of the wallpaper. |
Click to show internal directories.
Click to hide internal directories.