1 Star 0 Fork 24

eddylapis/Fyne

forked from Gitee 极速下载/Fyne 
加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
testclipboard.go 363 Bytes
一键复制 编辑 原始数据 按行查看 历史
Luca Corbo 提交于 2019-02-28 18:10 +08:00 . Add paste support to entry widget (#89)
package test
import "fyne.io/fyne"
type testClipboard struct {
content string
}
func (c *testClipboard) Content() string {
return c.content
}
func (c *testClipboard) SetContent(content string) {
c.content = content
}
// NewClipboard returns a single use in-memory clipboard used for testing
func NewClipboard() fyne.Clipboard {
return &testClipboard{}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/eddylapis/Fyne.git
git@gitee.com:eddylapis/Fyne.git
eddylapis
Fyne
Fyne
v1.0.0

搜索帮助