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

package clipboard

import "gioui.org/io/clipboard"

Index

Types

type ReadCmd

type ReadCmd struct {
	Tag event.Tag
}

ReadCmd requests the text of the clipboard, delivered to the handler through an io/transfer.DataEvent.

func (ReadCmd) ImplementsCommand

func (ReadCmd) ImplementsCommand()

type WriteCmd

type WriteCmd struct {
	Type string
	Data io.ReadCloser
}

WriteCmd copies Text to the clipboard.

func (WriteCmd) ImplementsCommand

func (WriteCmd) ImplementsCommand()

Source Files

clipboard.go

Version
v0.7.0
Published
Jun 16, 2024
Platform
darwin/amd64
Imports
2 packages
Last checked
55 seconds ago

Tools for package owners.