Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 1.8% on proxy.golang.org
Top 0.4% dependent packages on proxy.golang.org
Top 0.6% dependent repos on proxy.golang.org
Top 3.8% forks on proxy.golang.org
Top 1.4% docker downloads on proxy.golang.org

proxy.golang.org : golang.design/x/clipboard

Package clipboard provides cross platform clipboard access and supports macOS/Linux/Windows/Android/iOS platform. Before interacting with the clipboard, one must call Init to assert if it is possible to use this package: The most common operations are `Read` and `Write`. To use them: Note that read/write regarding image format assumes that the bytes are PNG encoded since it serves the alpha blending purpose that might be used in other graphical software. In addition, `clipboard.Write` returns a channel that can receive an empty struct as a signal, which indicates the corresponding write call to the clipboard is outdated, meaning the clipboard has been overwritten by others and the previously written data is lost. For instance: You can ignore the returning channel if you don't need this type of notification. Furthermore, when you need more than just knowing whether clipboard data is changed, use the watcher API:

Registry - Source - Documentation - JSON
purl: pkg:golang/golang.design/x/clipboard
Keywords: android, clipboard, clipboard-library, cross-platform, go, golang, ios, linux, macos, nspasteboard, windows, x11
License: MIT
Latest release: over 1 year ago
First release: over 3 years ago
Namespace: golang.design/x
Dependent packages: 182
Dependent repositories: 115
Stars: 360 on GitHub
Forks: 39 on GitHub
Docker dependents: 5
Docker downloads: 61,652
See more repository details: repos.ecosyste.ms
Funding links: https://github.com/sponsors/changkun, https://github.com/sponsors/golang-design
Last synced: 6 days ago

    Loading...
    Readme
    Loading...