xeventmonitor

package
v0.0.0-...-17244d7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CoordinateRange

type CoordinateRange struct {
	X1, Y1, X2, Y2 int32
}

type XEventMonitor

type XEventMonitor struct {
	proxy.Object
	// contains filtered or unexported fields
}

func NewXEventMonitor

func NewXEventMonitor(conn *dbus.Conn) *XEventMonitor

func (*XEventMonitor) ConnectButtonPress

func (v *XEventMonitor) ConnectButtonPress(cb func(button int32, x int32, y int32, id string)) (dbusutil.SignalHandlerId, error)

func (*XEventMonitor) ConnectButtonRelease

func (v *XEventMonitor) ConnectButtonRelease(cb func(button int32, x int32, y int32, id string)) (dbusutil.SignalHandlerId, error)

func (*XEventMonitor) ConnectCancelAllArea

func (v *XEventMonitor) ConnectCancelAllArea(cb func()) (dbusutil.SignalHandlerId, error)

func (*XEventMonitor) ConnectCursorInto

func (v *XEventMonitor) ConnectCursorInto(cb func(x int32, y int32, id string)) (dbusutil.SignalHandlerId, error)

func (*XEventMonitor) ConnectCursorMove

func (v *XEventMonitor) ConnectCursorMove(cb func(x int32, y int32, id string)) (dbusutil.SignalHandlerId, error)

func (*XEventMonitor) ConnectCursorOut

func (v *XEventMonitor) ConnectCursorOut(cb func(x int32, y int32, id string)) (dbusutil.SignalHandlerId, error)

func (*XEventMonitor) ConnectKeyPress

func (v *XEventMonitor) ConnectKeyPress(cb func(key string, x int32, y int32, id string)) (dbusutil.SignalHandlerId, error)

func (*XEventMonitor) ConnectKeyRelease

func (v *XEventMonitor) ConnectKeyRelease(cb func(key string, x int32, y int32, id string)) (dbusutil.SignalHandlerId, error)

func (*XEventMonitor) GetInterfaceName_

func (*XEventMonitor) GetInterfaceName_() string

func (*XEventMonitor) GetObject_

func (v *XEventMonitor) GetObject_() *proxy.Object

func (*XEventMonitor) GoRegisterArea

func (v *XEventMonitor) GoRegisterArea(flags dbus.Flags, ch chan *dbus.Call, x1 int32, y1 int32, x2 int32, y2 int32, flag int32) *dbus.Call

func (*XEventMonitor) GoRegisterAreas

func (v *XEventMonitor) GoRegisterAreas(flags dbus.Flags, ch chan *dbus.Call, areas []CoordinateRange, flag int32) *dbus.Call

func (*XEventMonitor) GoRegisterFullScreen

func (v *XEventMonitor) GoRegisterFullScreen(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*XEventMonitor) GoUnregisterArea

func (v *XEventMonitor) GoUnregisterArea(flags dbus.Flags, ch chan *dbus.Call, id string) *dbus.Call

func (*XEventMonitor) RegisterArea

func (v *XEventMonitor) RegisterArea(flags dbus.Flags, x1 int32, y1 int32, x2 int32, y2 int32, flag int32) (id string, err error)

func (*XEventMonitor) RegisterAreas

func (v *XEventMonitor) RegisterAreas(flags dbus.Flags, areas []CoordinateRange, flag int32) (id string, err error)

func (*XEventMonitor) RegisterFullScreen

func (v *XEventMonitor) RegisterFullScreen(flags dbus.Flags) (id string, err error)

func (*XEventMonitor) StoreRegisterArea

func (*XEventMonitor) StoreRegisterArea(call *dbus.Call) (id string, err error)

func (*XEventMonitor) StoreRegisterAreas

func (*XEventMonitor) StoreRegisterAreas(call *dbus.Call) (id string, err error)

func (*XEventMonitor) StoreRegisterFullScreen

func (*XEventMonitor) StoreRegisterFullScreen(call *dbus.Call) (id string, err error)

func (*XEventMonitor) StoreUnregisterArea

func (*XEventMonitor) StoreUnregisterArea(call *dbus.Call) (ok bool, err error)

func (*XEventMonitor) UnregisterArea

func (v *XEventMonitor) UnregisterArea(flags dbus.Flags, id string) (ok bool, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL