wm

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: 6

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 MockInterfaceWm

type MockInterfaceWm struct {
	mock.Mock
}

func (*MockInterfaceWm) BeginToMoveActiveWindow

func (v *MockInterfaceWm) BeginToMoveActiveWindow(flags dbus.Flags) error

func (*MockInterfaceWm) CancelPreviewWindow

func (v *MockInterfaceWm) CancelPreviewWindow(flags dbus.Flags) error

func (*MockInterfaceWm) ChangeCurrentWorkspaceBackground

func (v *MockInterfaceWm) ChangeCurrentWorkspaceBackground(flags dbus.Flags, uri string) error

func (*MockInterfaceWm) ClearMoveStatus

func (v *MockInterfaceWm) ClearMoveStatus(flags dbus.Flags) error

func (*MockInterfaceWm) CompositingAllowSwitch

func (v *MockInterfaceWm) CompositingAllowSwitch() proxy.PropBool

func (*MockInterfaceWm) CompositingEnabled

func (v *MockInterfaceWm) CompositingEnabled() proxy.PropBool

func (*MockInterfaceWm) CompositingPossible

func (v *MockInterfaceWm) CompositingPossible() proxy.PropBool

func (*MockInterfaceWm) ConnectCompositingEnabledChanged

func (v *MockInterfaceWm) ConnectCompositingEnabledChanged(cb func(enabled bool)) (dbusutil.SignalHandlerId, error)

func (*MockInterfaceWm) ConnectWmCompositingEnabledChanged

func (v *MockInterfaceWm) ConnectWmCompositingEnabledChanged(cb func(enabled bool)) (dbusutil.SignalHandlerId, error)

func (*MockInterfaceWm) ConnectWorkspaceBackgroundChanged

func (v *MockInterfaceWm) ConnectWorkspaceBackgroundChanged(cb func(index int32, newUri string)) (dbusutil.SignalHandlerId, error)

func (*MockInterfaceWm) ConnectWorkspaceBackgroundChangedForMonitor

func (v *MockInterfaceWm) ConnectWorkspaceBackgroundChangedForMonitor(cb func(index int32, monitor string, newUri string)) (dbusutil.SignalHandlerId, error)

func (*MockInterfaceWm) ConnectWorkspaceCountChanged

func (v *MockInterfaceWm) ConnectWorkspaceCountChanged(cb func(count int32)) (dbusutil.SignalHandlerId, error)

func (*MockInterfaceWm) ConnectWorkspaceSwitched

func (v *MockInterfaceWm) ConnectWorkspaceSwitched(cb func(from int32, to int32)) (dbusutil.SignalHandlerId, error)

func (*MockInterfaceWm) CursorSize

func (v *MockInterfaceWm) CursorSize() proxy.PropInt32

func (*MockInterfaceWm) CursorTheme

func (v *MockInterfaceWm) CursorTheme() proxy.PropString

func (*MockInterfaceWm) EnableZoneDetected

func (v *MockInterfaceWm) EnableZoneDetected(flags dbus.Flags, enabled bool) error

func (*MockInterfaceWm) GetAccel

func (v *MockInterfaceWm) GetAccel(flags dbus.Flags, id string) ([]string, error)

func (*MockInterfaceWm) GetAllAccels

func (v *MockInterfaceWm) GetAllAccels(flags dbus.Flags) (string, error)

func (*MockInterfaceWm) GetCurrentWorkspace

func (v *MockInterfaceWm) GetCurrentWorkspace(flags dbus.Flags) (int32, error)

func (*MockInterfaceWm) GetCurrentWorkspaceBackground

func (v *MockInterfaceWm) GetCurrentWorkspaceBackground(flags dbus.Flags) (string, error)

func (*MockInterfaceWm) GetCurrentWorkspaceBackgroundForMonitor

func (v *MockInterfaceWm) GetCurrentWorkspaceBackgroundForMonitor(flags dbus.Flags, strMonitorName string) (string, error)

func (*MockInterfaceWm) GetDefaultAccel

func (v *MockInterfaceWm) GetDefaultAccel(flags dbus.Flags, id string) ([]string, error)

func (*MockInterfaceWm) GetIsShowDesktop

func (v *MockInterfaceWm) GetIsShowDesktop(flags dbus.Flags) (bool, error)

func (*MockInterfaceWm) GetMultiTaskingStatus

func (v *MockInterfaceWm) GetMultiTaskingStatus(flags dbus.Flags) (bool, error)

func (*MockInterfaceWm) GetWorkspaceBackground

func (v *MockInterfaceWm) GetWorkspaceBackground(flags dbus.Flags, index int32) (string, error)

func (*MockInterfaceWm) GetWorkspaceBackgroundForMonitor

func (v *MockInterfaceWm) GetWorkspaceBackgroundForMonitor(flags dbus.Flags, index int32, strMonitorName string) (string, error)

func (*MockInterfaceWm) GoBeginToMoveActiveWindow

func (v *MockInterfaceWm) GoBeginToMoveActiveWindow(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*MockInterfaceWm) GoCancelPreviewWindow

func (v *MockInterfaceWm) GoCancelPreviewWindow(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*MockInterfaceWm) GoChangeCurrentWorkspaceBackground

func (v *MockInterfaceWm) GoChangeCurrentWorkspaceBackground(flags dbus.Flags, ch chan *dbus.Call, uri string) *dbus.Call

func (*MockInterfaceWm) GoClearMoveStatus

func (v *MockInterfaceWm) GoClearMoveStatus(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*MockInterfaceWm) GoEnableZoneDetected

func (v *MockInterfaceWm) GoEnableZoneDetected(flags dbus.Flags, ch chan *dbus.Call, enabled bool) *dbus.Call

func (*MockInterfaceWm) GoGetAccel

func (v *MockInterfaceWm) GoGetAccel(flags dbus.Flags, ch chan *dbus.Call, id string) *dbus.Call

func (*MockInterfaceWm) GoGetAllAccels

func (v *MockInterfaceWm) GoGetAllAccels(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*MockInterfaceWm) GoGetCurrentWorkspace

func (v *MockInterfaceWm) GoGetCurrentWorkspace(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*MockInterfaceWm) GoGetCurrentWorkspaceBackground

func (v *MockInterfaceWm) GoGetCurrentWorkspaceBackground(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*MockInterfaceWm) GoGetCurrentWorkspaceBackgroundForMonitor

func (v *MockInterfaceWm) GoGetCurrentWorkspaceBackgroundForMonitor(flags dbus.Flags, ch chan *dbus.Call, strMonitorName string) *dbus.Call

func (*MockInterfaceWm) GoGetDefaultAccel

func (v *MockInterfaceWm) GoGetDefaultAccel(flags dbus.Flags, ch chan *dbus.Call, id string) *dbus.Call

func (*MockInterfaceWm) GoGetIsShowDesktop

func (v *MockInterfaceWm) GoGetIsShowDesktop(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*MockInterfaceWm) GoGetMultiTaskingStatus

func (v *MockInterfaceWm) GoGetMultiTaskingStatus(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*MockInterfaceWm) GoGetWorkspaceBackground

func (v *MockInterfaceWm) GoGetWorkspaceBackground(flags dbus.Flags, ch chan *dbus.Call, index int32) *dbus.Call

func (*MockInterfaceWm) GoGetWorkspaceBackgroundForMonitor

func (v *MockInterfaceWm) GoGetWorkspaceBackgroundForMonitor(flags dbus.Flags, ch chan *dbus.Call, index int32, strMonitorName string) *dbus.Call

func (*MockInterfaceWm) GoMinimizeActiveWindow

func (v *MockInterfaceWm) GoMinimizeActiveWindow(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*MockInterfaceWm) GoNextWorkspace

func (v *MockInterfaceWm) GoNextWorkspace(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*MockInterfaceWm) GoPerformAction

func (v *MockInterfaceWm) GoPerformAction(flags dbus.Flags, ch chan *dbus.Call, type0 int32) *dbus.Call

func (*MockInterfaceWm) GoPresentWindows

func (v *MockInterfaceWm) GoPresentWindows(flags dbus.Flags, ch chan *dbus.Call, xids []uint32) *dbus.Call

func (*MockInterfaceWm) GoPreviewWindow

func (v *MockInterfaceWm) GoPreviewWindow(flags dbus.Flags, ch chan *dbus.Call, xid uint32) *dbus.Call

func (*MockInterfaceWm) GoPreviousWorkspace

func (v *MockInterfaceWm) GoPreviousWorkspace(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*MockInterfaceWm) GoRemoveAccel

func (v *MockInterfaceWm) GoRemoveAccel(flags dbus.Flags, ch chan *dbus.Call, id string) *dbus.Call

func (*MockInterfaceWm) GoSetAccel

func (v *MockInterfaceWm) GoSetAccel(flags dbus.Flags, ch chan *dbus.Call, data string) *dbus.Call

func (*MockInterfaceWm) GoSetCurrentWorkspace

func (v *MockInterfaceWm) GoSetCurrentWorkspace(flags dbus.Flags, ch chan *dbus.Call, index int32) *dbus.Call

func (*MockInterfaceWm) GoSetCurrentWorkspaceBackground

func (v *MockInterfaceWm) GoSetCurrentWorkspaceBackground(flags dbus.Flags, ch chan *dbus.Call, uri string) *dbus.Call

func (*MockInterfaceWm) GoSetCurrentWorkspaceBackgroundForMonitor

func (v *MockInterfaceWm) GoSetCurrentWorkspaceBackgroundForMonitor(flags dbus.Flags, ch chan *dbus.Call, uri string, strMonitorName string) *dbus.Call

func (*MockInterfaceWm) GoSetDecorationDeepinTheme

func (v *MockInterfaceWm) GoSetDecorationDeepinTheme(flags dbus.Flags, ch chan *dbus.Call, deepinThemeName string) *dbus.Call

func (*MockInterfaceWm) GoSetDecorationTheme

func (v *MockInterfaceWm) GoSetDecorationTheme(flags dbus.Flags, ch chan *dbus.Call, themeType string, themeName string) *dbus.Call

func (*MockInterfaceWm) GoSetTransientBackground

func (v *MockInterfaceWm) GoSetTransientBackground(flags dbus.Flags, ch chan *dbus.Call, arg0 string) *dbus.Call

func (*MockInterfaceWm) GoSetTransientBackgroundForMonitor

func (v *MockInterfaceWm) GoSetTransientBackgroundForMonitor(flags dbus.Flags, ch chan *dbus.Call, uri string, strMonitorName string) *dbus.Call

func (*MockInterfaceWm) GoSetWorkspaceBackground

func (v *MockInterfaceWm) GoSetWorkspaceBackground(flags dbus.Flags, ch chan *dbus.Call, index int32, uri string) *dbus.Call

func (*MockInterfaceWm) GoSetWorkspaceBackgroundForMonitor

func (v *MockInterfaceWm) GoSetWorkspaceBackgroundForMonitor(flags dbus.Flags, ch chan *dbus.Call, index int32, strMonitorName string, uri string) *dbus.Call

func (*MockInterfaceWm) GoShowAllWindow

func (v *MockInterfaceWm) GoShowAllWindow(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*MockInterfaceWm) GoShowWindow

func (v *MockInterfaceWm) GoShowWindow(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*MockInterfaceWm) GoShowWorkspace

func (v *MockInterfaceWm) GoShowWorkspace(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*MockInterfaceWm) GoSwitchApplication

func (v *MockInterfaceWm) GoSwitchApplication(flags dbus.Flags, ch chan *dbus.Call, backward bool) *dbus.Call

func (*MockInterfaceWm) GoSwitchToWorkspace

func (v *MockInterfaceWm) GoSwitchToWorkspace(flags dbus.Flags, ch chan *dbus.Call, backward bool) *dbus.Call

func (*MockInterfaceWm) GoTileActiveWindow

func (v *MockInterfaceWm) GoTileActiveWindow(flags dbus.Flags, ch chan *dbus.Call, side uint32) *dbus.Call

func (*MockInterfaceWm) GoToggleActiveWindowMaximize

func (v *MockInterfaceWm) GoToggleActiveWindowMaximize(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*MockInterfaceWm) GoTouchToMove

func (v *MockInterfaceWm) GoTouchToMove(flags dbus.Flags, ch chan *dbus.Call, x int32, y int32) *dbus.Call

func (*MockInterfaceWm) GoWorkspaceCount

func (v *MockInterfaceWm) GoWorkspaceCount(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*MockInterfaceWm) MinimizeActiveWindow

func (v *MockInterfaceWm) MinimizeActiveWindow(flags dbus.Flags) error

func (*MockInterfaceWm) NextWorkspace

func (v *MockInterfaceWm) NextWorkspace(flags dbus.Flags) error

func (*MockInterfaceWm) PerformAction

func (v *MockInterfaceWm) PerformAction(flags dbus.Flags, type0 int32) error

func (*MockInterfaceWm) PresentWindows

func (v *MockInterfaceWm) PresentWindows(flags dbus.Flags, xids []uint32) error

func (*MockInterfaceWm) PreviewWindow

func (v *MockInterfaceWm) PreviewWindow(flags dbus.Flags, xid uint32) error

func (*MockInterfaceWm) PreviousWorkspace

func (v *MockInterfaceWm) PreviousWorkspace(flags dbus.Flags) error

func (*MockInterfaceWm) RemoveAccel

func (v *MockInterfaceWm) RemoveAccel(flags dbus.Flags, id string) error

func (*MockInterfaceWm) SetAccel

func (v *MockInterfaceWm) SetAccel(flags dbus.Flags, data string) (bool, error)

func (*MockInterfaceWm) SetCurrentWorkspace

func (v *MockInterfaceWm) SetCurrentWorkspace(flags dbus.Flags, index int32) error

func (*MockInterfaceWm) SetCurrentWorkspaceBackground

func (v *MockInterfaceWm) SetCurrentWorkspaceBackground(flags dbus.Flags, uri string) error

func (*MockInterfaceWm) SetCurrentWorkspaceBackgroundForMonitor

func (v *MockInterfaceWm) SetCurrentWorkspaceBackgroundForMonitor(flags dbus.Flags, uri string, strMonitorName string) error

func (*MockInterfaceWm) SetDecorationDeepinTheme

func (v *MockInterfaceWm) SetDecorationDeepinTheme(flags dbus.Flags, deepinThemeName string) error

func (*MockInterfaceWm) SetDecorationTheme

func (v *MockInterfaceWm) SetDecorationTheme(flags dbus.Flags, themeType string, themeName string) error

func (*MockInterfaceWm) SetTransientBackground

func (v *MockInterfaceWm) SetTransientBackground(flags dbus.Flags, arg0 string) error

func (*MockInterfaceWm) SetTransientBackgroundForMonitor

func (v *MockInterfaceWm) SetTransientBackgroundForMonitor(flags dbus.Flags, uri string, strMonitorName string) error

func (*MockInterfaceWm) SetWorkspaceBackground

func (v *MockInterfaceWm) SetWorkspaceBackground(flags dbus.Flags, index int32, uri string) error

func (*MockInterfaceWm) SetWorkspaceBackgroundForMonitor

func (v *MockInterfaceWm) SetWorkspaceBackgroundForMonitor(flags dbus.Flags, index int32, strMonitorName string, uri string) error

func (*MockInterfaceWm) ShowAllWindow

func (v *MockInterfaceWm) ShowAllWindow(flags dbus.Flags) error

func (*MockInterfaceWm) ShowWindow

func (v *MockInterfaceWm) ShowWindow(flags dbus.Flags) error

func (*MockInterfaceWm) ShowWorkspace

func (v *MockInterfaceWm) ShowWorkspace(flags dbus.Flags) error

func (*MockInterfaceWm) SwitchApplication

func (v *MockInterfaceWm) SwitchApplication(flags dbus.Flags, backward bool) error

func (*MockInterfaceWm) SwitchToWorkspace

func (v *MockInterfaceWm) SwitchToWorkspace(flags dbus.Flags, backward bool) error

func (*MockInterfaceWm) TileActiveWindow

func (v *MockInterfaceWm) TileActiveWindow(flags dbus.Flags, side uint32) error

func (*MockInterfaceWm) ToggleActiveWindowMaximize

func (v *MockInterfaceWm) ToggleActiveWindowMaximize(flags dbus.Flags) error

func (*MockInterfaceWm) TouchToMove

func (v *MockInterfaceWm) TouchToMove(flags dbus.Flags, x int32, y int32) error

func (*MockInterfaceWm) WorkspaceCount

func (v *MockInterfaceWm) WorkspaceCount(flags dbus.Flags) (int32, error)

func (*MockInterfaceWm) ZoneEnabled

func (v *MockInterfaceWm) ZoneEnabled() proxy.PropBool

type MockWm

type MockWm struct {
	MockInterfaceWm // interface com.deepin.wm
	proxy.MockObject
}

type Wm

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

func NewWm

func NewWm(conn *dbus.Conn) Wm

Jump to

Keyboard shortcuts

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