xeventmonitor1

package
v0.0.0-...-77ac5d6 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

SPDX-FileCopyrightText: 2018 - 2023 UnionTech Software Technology Co., Ltd.

SPDX-License-Identifier: GPL-3.0-or-later

SPDX-FileCopyrightText: 2018 - 2023 UnionTech Software Technology Co., Ltd.

SPDX-License-Identifier: GPL-3.0-or-later

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
}

CoordinateRange type

type MockInterfaceXEventMonitor

type MockInterfaceXEventMonitor struct {
	mock.Mock
}

func (*MockInterfaceXEventMonitor) ConnectButtonPress

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

func (*MockInterfaceXEventMonitor) ConnectButtonRelease

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

func (*MockInterfaceXEventMonitor) ConnectCancelAllArea

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

func (*MockInterfaceXEventMonitor) ConnectCursorInto

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

func (*MockInterfaceXEventMonitor) ConnectCursorMove

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

func (*MockInterfaceXEventMonitor) ConnectCursorOut

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

func (*MockInterfaceXEventMonitor) ConnectKeyPress

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

func (*MockInterfaceXEventMonitor) ConnectKeyRelease

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

func (*MockInterfaceXEventMonitor) GoRegisterArea

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

func (*MockInterfaceXEventMonitor) GoRegisterAreas

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

func (*MockInterfaceXEventMonitor) GoRegisterFullScreen

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

func (*MockInterfaceXEventMonitor) GoUnregisterArea

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

func (*MockInterfaceXEventMonitor) RegisterArea

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

func (*MockInterfaceXEventMonitor) RegisterAreas

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

func (*MockInterfaceXEventMonitor) RegisterFullScreen

func (v *MockInterfaceXEventMonitor) RegisterFullScreen(flags dbus.Flags) (string, error)

func (*MockInterfaceXEventMonitor) UnregisterArea

func (v *MockInterfaceXEventMonitor) UnregisterArea(flags dbus.Flags, id string) (bool, error)

type MockXEventMonitor

type MockXEventMonitor struct {
	MockInterfaceXEventMonitor // interface org.deepin.dde.XEventMonitor1
	proxy.MockObject
}

type XEventMonitor

type XEventMonitor interface {
	proxy.Object
	// contains filtered or unexported methods
}

func NewXEventMonitor

func NewXEventMonitor(conn *dbus.Conn) XEventMonitor

Jump to

Keyboard shortcuts

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