unsupported

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: MIT Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package unsupported is the backend for platforms without a native implementation. Init fails, everything else is inert.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend struct{}

Backend reports that the platform is not supported.

func New

func New() *Backend

New returns the unsupported backend.

func (*Backend) App

func (*Backend) Applications

func (*Backend) Applications() ([]platform.Application, error)

func (*Backend) Clipboard

func (*Backend) Clipboard() platform.Clipboard

func (*Backend) Dialogs

func (*Backend) Dialogs() platform.Dialogs

func (*Backend) Init

func (*Backend) IsMainThread

func (*Backend) IsMainThread() bool

func (*Backend) Name

func (*Backend) Name() string

func (*Backend) Network

func (*Backend) Network() platform.Network

func (*Backend) NewFileWatch

func (*Backend) NewFileWatch(func(platform.FileWatchNotice)) (platform.FileWatch, error)

func (*Backend) NewTray

func (*Backend) NotificationsSupported

func (*Backend) NotificationsSupported() bool

func (*Backend) PopupMenu

func (*Backend) PopupMenu(*platform.Menu, platform.Window, *platform.Point)

func (*Backend) Power

func (*Backend) Power() platform.Power

func (*Backend) Quit

func (*Backend) Quit()

func (*Backend) RegisterHotkey

func (*Backend) RegisterHotkey(int, string) error

func (*Backend) RemoveAllNotifications

func (*Backend) RemoveAllNotifications()

func (*Backend) RemoveNotification

func (*Backend) RemoveNotification(string)

func (*Backend) ReplaceFile

func (*Backend) ReplaceFile(target, replacement string) error

func (*Backend) Run

func (*Backend) Run() error

func (*Backend) Screen

func (*Backend) Screen() platform.Screen

func (*Backend) Secrets

func (*Backend) Secrets() platform.Secrets

func (*Backend) SetApplicationMenu

func (*Backend) SetApplicationMenu(*platform.Menu)

func (*Backend) Shell

func (*Backend) Shell() platform.Shell

func (*Backend) ShowNotification

func (*Backend) ShowNotification(_ *platform.Notification, done func(error))

func (*Backend) Signal

func (*Backend) Signal()

func (*Backend) Step

func (*Backend) Step()

func (*Backend) Theme

func (*Backend) Theme() platform.Theme

func (*Backend) UnregisterHotkey

func (*Backend) UnregisterHotkey(int)

func (*Backend) UpdateMenuItem

func (*Backend) UpdateMenuItem(*platform.MenuItem)

func (*Backend) Wake

func (*Backend) Wake()

func (*Backend) WebViewAvailable

func (*Backend) WebViewAvailable() bool

Jump to

Keyboard shortcuts

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