notifier

package
v0.70.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2026 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

Package notifier sends desktop notifications. On Windows it uses the WinRT COM API directly via go-toast/v2 to avoid the PowerShell window flash that fyne's default implementation produces. On other platforms it delegates to fyne.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Notifier

type Notifier interface {
	Send(title, body string)
}

Notifier sends desktop notifications.

func New

func New(app fyne.App) Notifier

New returns a platform-specific Notifier. The fyne app is used as the fallback notifier on platforms where no native implementation is wired up, and on Windows when the COM path fails to initialize.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL