clipboard

package
v0.0.0-...-61f35a2 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

func (*Manager) BecomeClipboardOwner

func (m *Manager) BecomeClipboardOwner() *dbus.Error

func (*Manager) GetExportedMethods

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

func (*Manager) GetInterfaceName

func (m *Manager) GetInterfaceName() string

func (*Manager) RemoveTarget

func (m *Manager) RemoveTarget(target uint32) *dbus.Error

func (*Manager) SaveClipboard

func (m *Manager) SaveClipboard() *dbus.Error

func (*Manager) WriteContent

func (m *Manager) WriteContent() *dbus.Error

type Module

type Module struct {
	*loader.ModuleBase
}

func (*Module) GetDependencies

func (*Module) GetDependencies() []string

func (*Module) Start

func (mo *Module) Start() error

func (*Module) Stop

func (*Module) Stop() error

type TargetData

type TargetData struct {
	Target x.Atom
	Type   x.Atom
	Format uint8
	Data   []byte
}

type XClient

type XClient interface {
	Conn() *x.Conn
	GetAtom(name string) (x.Atom, error)
	GetAtomName(atom x.Atom) (string, error)
	GetSelectionOwner(selection x.Atom) (x.Window, error)
	CreateWindow() (x.Window, error)
	SetSelectionOwner(owner x.Window, selection x.Atom,
		time x.Timestamp)
	SetSelectionOwnerE(owner x.Window, selection x.Atom,
		time x.Timestamp) error
	ChangePropertyE(mode uint8, window x.Window, property, type0 x.Atom, format uint8, data []byte) error
	GetProperty(delete bool, window x.Window, property, type0 x.Atom, longOffset, longLength uint32) (*x.GetPropertyReply, error)
	DeletePropertyE(window x.Window, property x.Atom) error
	SendEventE(propagate bool, destination x.Window, eventMask uint32, event interface{}) error
	ConvertSelection(requestor x.Window, selection, target, property x.Atom, time x.Timestamp)
	ConvertSelectionE(requestor x.Window, selection, target, property x.Atom, time x.Timestamp) error
	Flush() error
	SelectSelectionInputE(window x.Window, selection x.Atom, eventMask uint32) error
	ChangeWindowEventMask(win x.Window, evMask uint32) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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