Documentation ¶
Index ¶
- Constants
- func GetDisplay() (display string)
- func GetDisplaySize(display string) (x, y int)
- type XdotoolHandler
- func (x XdotoolHandler) GetPosition() (X, Y int)
- func (x XdotoolHandler) GetWindowGeometry() (width, height int)
- func (x XdotoolHandler) KeyDown(key string)
- func (x XdotoolHandler) KeyUp(key string)
- func (x XdotoolHandler) MouseDown(Button int)
- func (x XdotoolHandler) MouseMoveAbsolute(X, Y string)
- func (x XdotoolHandler) MouseMoveRelative(X, Y string)
- func (x XdotoolHandler) MouseUp(Button int)
- func (x XdotoolHandler) WheelDown()
- func (x XdotoolHandler) WheelUp()
Constants ¶
View Source
const ( XdotoolMouseClickLeft = 1 + iota XdotoolMouseClickMiddle XdotoolMouseClickRight XdotoolMouseClickWheelUp XdotoolMouseClickWheelDown )
Variables ¶
This section is empty.
Functions ¶
func GetDisplay ¶
func GetDisplay() (display string)
func GetDisplaySize ¶
Types ¶
type XdotoolHandler ¶
type XdotoolHandler struct {
// contains filtered or unexported fields
}
func NewXdotool ¶
func NewXdotool(display string) *XdotoolHandler
func (XdotoolHandler) GetPosition ¶
func (x XdotoolHandler) GetPosition() (X, Y int)
func (XdotoolHandler) GetWindowGeometry ¶
func (x XdotoolHandler) GetWindowGeometry() (width, height int)
func (XdotoolHandler) KeyDown ¶
func (x XdotoolHandler) KeyDown(key string)
func (XdotoolHandler) KeyUp ¶
func (x XdotoolHandler) KeyUp(key string)
func (XdotoolHandler) MouseDown ¶
func (x XdotoolHandler) MouseDown(Button int)
func (XdotoolHandler) MouseMoveAbsolute ¶
func (x XdotoolHandler) MouseMoveAbsolute(X, Y string)
func (XdotoolHandler) MouseMoveRelative ¶
func (x XdotoolHandler) MouseMoveRelative(X, Y string)
func (XdotoolHandler) MouseUp ¶
func (x XdotoolHandler) MouseUp(Button int)
func (XdotoolHandler) WheelDown ¶
func (x XdotoolHandler) WheelDown()
func (XdotoolHandler) WheelUp ¶
func (x XdotoolHandler) WheelUp()
Click to show internal directories.
Click to hide internal directories.