clipboard

package
Version: v0.0.0-...-24eb1a4 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2022 License: MIT, Unlicense Imports: 3 Imported by: 17

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)

Source Files

Jump to

Keyboard shortcuts

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