screenedge

package
v0.0.0-...-c5429dd Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	TopLeft     = "left-up"
	TopRight    = "right-up"
	BottomLeft  = "left-down"
	BottomRight = "right-down"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Daemon

type Daemon struct {
	*loader.ModuleBase
	// contains filtered or unexported fields
}

func NewDaemon

func NewDaemon(logger *log.Logger) *Daemon

func (*Daemon) GetDependencies

func (d *Daemon) GetDependencies() []string

func (*Daemon) Start

func (d *Daemon) Start() error

func (*Daemon) Stop

func (d *Daemon) Stop() error

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func (*Manager) BottomLeftAction

func (m *Manager) BottomLeftAction() (value string, busErr *dbus.Error)

Get left-bottom edge action

func (*Manager) BottomRightAction

func (m *Manager) BottomRightAction() (value string, busErr *dbus.Error)

Get right-bottom edge action

func (*Manager) EnableZoneDetected

func (m *Manager) EnableZoneDetected(enabled bool) *dbus.Error

Enable desktop edge zone detected

是否启用桌面边缘热区功能

func (*Manager) GetExportedMethods

func (v *Manager) GetExportedMethods() dbusutil.ExportedMethods

func (*Manager) GetInterfaceName

func (*Manager) GetInterfaceName() string

func (*Manager) SetBottomLeft

func (m *Manager) SetBottomLeft(value string) *dbus.Error

Set left-bottom edge action

func (*Manager) SetBottomRight

func (m *Manager) SetBottomRight(value string) *dbus.Error

Set right-bottom edge action

func (*Manager) SetTopLeft

func (m *Manager) SetTopLeft(value string) *dbus.Error

Set left-top edge action

func (*Manager) SetTopRight

func (m *Manager) SetTopRight(value string) *dbus.Error

Set right-top edge action

func (*Manager) TopLeftAction

func (m *Manager) TopLeftAction() (value string, busErr *dbus.Error)

Get left-top edge action

func (*Manager) TopRightAction

func (m *Manager) TopRightAction() (value string, busErr *dbus.Error)

Get right-top edge action

type Settings

type Settings struct {
	// contains filtered or unexported fields
}

func NewSettings

func NewSettings() *Settings

func (*Settings) Destroy

func (s *Settings) Destroy()

func (*Settings) GetBlackList

func (s *Settings) GetBlackList() []string

func (*Settings) GetDelay

func (s *Settings) GetDelay() int32

func (*Settings) GetEdgeAction

func (s *Settings) GetEdgeAction(name string) string

func (*Settings) GetWhiteList

func (s *Settings) GetWhiteList() []string

func (*Settings) SetEdgeAction

func (s *Settings) SetEdgeAction(name, value string)

Jump to

Keyboard shortcuts

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