1 Star 0 Fork 21

陈天/Fyne

forked from Gitee 极速下载/Fyne 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
notification.go 358 Bytes
一键复制 编辑 原始数据 按行查看 历史
Andy Williams 提交于 2020-04-27 13:40 . Add initial notifications support
package fyne
// Notification represents a user notification that can be sent to the operating system.
type Notification struct {
Title, Content string
}
// NewNotification creates a notification that can be passed to App.SendNotification.
func NewNotification(title, content string) *Notification {
return &Notification{Title: title, Content: content}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/hakwolf/Fyne.git
git@gitee.com:hakwolf/Fyne.git
hakwolf
Fyne
Fyne
master

搜索帮助