gioui.orggioui.org/io/clipboard Index | Files

package clipboard

import "gioui.org/io/clipboard"

Index

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

clipboard.go

Version
v0.3.0
Published
Aug 31, 2023
Platform
windows/amd64
Imports
3 packages
Last checked
45 seconds ago

Tools for package owners.