Fyne API "fyne.Notification"

fyne.Notification


import "fyne.io/fyne/v2"

Usage

type Notification

type Notification struct {
	Title, Content string
}

Notification represents a user notification that can be sent to the operating system.

func NewNotification

func NewNotification(title, content string) *Notification

NewNotification creates a notification that can be passed to App.SendNotification.