Documentation ¶
Overview ¶
Package desktops manages and get desktop and screens info.
Index ¶
- func CurrentDesktop() int
- func CurrentViewportX() int
- func CurrentViewportY() int
- func Cycle(up, loop bool)
- func HeightAll() int
- func NbDesktops() int
- func NbScreens() int
- func NbViewportX() int
- func NbViewportY() int
- func ScreenPosition(i int) (int, int)
- func SetCurrent(numDesktop, numViewportX, numViewportY int)
- func WidthAll() int
- type Screen
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurrentViewportX ¶
func CurrentViewportX() int
CurrentViewportX returns the current horizontal viewport number.
func CurrentViewportY ¶
func CurrentViewportY() int
CurrentViewportY returns the current vertical viewport number.
func ScreenPosition ¶
ScreenPosition returns the desktop screen position.
func SetCurrent ¶
func SetCurrent(numDesktop, numViewportX, numViewportY int)
SetCurrent sets the desktop number displayed.
Types ¶
Click to show internal directories.
Click to hide internal directories.