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 ¶
- type CoordinateRange
- type MockInterfaceXEventMonitor
- func (v *MockInterfaceXEventMonitor) ConnectButtonPress(cb func(button int32, x int32, y int32, id string)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceXEventMonitor) ConnectButtonRelease(cb func(button int32, x int32, y int32, id string)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceXEventMonitor) ConnectCancelAllArea(cb func()) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceXEventMonitor) ConnectCursorInto(cb func(x int32, y int32, id string)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceXEventMonitor) ConnectCursorMove(cb func(x int32, y int32, id string)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceXEventMonitor) ConnectCursorOut(cb func(x int32, y int32, id string)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceXEventMonitor) ConnectKeyPress(cb func(key string, x int32, y int32, id string)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceXEventMonitor) ConnectKeyRelease(cb func(key string, x int32, y int32, id string)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceXEventMonitor) GoRegisterArea(flags dbus.Flags, ch chan *dbus.Call, x1 int32, y1 int32, x2 int32, y2 int32, ...) *dbus.Call
- func (v *MockInterfaceXEventMonitor) GoRegisterAreas(flags dbus.Flags, ch chan *dbus.Call, areas []CoordinateRange, flag int32) *dbus.Call
- func (v *MockInterfaceXEventMonitor) GoRegisterFullScreen(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceXEventMonitor) GoUnregisterArea(flags dbus.Flags, ch chan *dbus.Call, id string) *dbus.Call
- func (v *MockInterfaceXEventMonitor) RegisterArea(flags dbus.Flags, x1 int32, y1 int32, x2 int32, y2 int32, flag int32) (string, error)
- func (v *MockInterfaceXEventMonitor) RegisterAreas(flags dbus.Flags, areas []CoordinateRange, flag int32) (string, error)
- func (v *MockInterfaceXEventMonitor) RegisterFullScreen(flags dbus.Flags) (string, error)
- func (v *MockInterfaceXEventMonitor) UnregisterArea(flags dbus.Flags, id string) (bool, error)
- type MockXEventMonitor
- type XEventMonitor
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 MockInterfaceXEventMonitor ¶
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 (*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 (*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 com.deepin.api.XEventMonitor proxy.MockObject }
type XEventMonitor ¶
func NewXEventMonitor ¶
func NewXEventMonitor(conn *dbus.Conn) XEventMonitor
Click to show internal directories.
Click to hide internal directories.