clipboard

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2022 License: Unlicense, MIT, Unlicense Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Text string
}

Event is generated when the clipboard content is requested.

func (Event) ImplementsEvent

func (Event) ImplementsEvent()

type ReadOp

type ReadOp struct {
	Tag event.Tag
}

ReadOp requests the text of the clipboard, delivered to the current handler through an Event.

func (ReadOp) Add

func (h ReadOp) Add(o *op.Ops)

type WriteOp

type WriteOp struct {
	Text string
}

WriteOp copies Text to the clipboard.

func (WriteOp) Add

func (h WriteOp) Add(o *op.Ops)

Jump to

Keyboard shortcuts

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