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.8.0 (latest)
Published
Jan 14, 2025
Platform
linux/amd64
Imports
2 packages
Last checked
12 hours ago

Tools for package owners.