Documentation
¶
Overview ¶
Package unsupported is the backend for platforms without a native implementation. Init fails, everything else is inert.
Index ¶
- type Backend
- func (*Backend) App() platform.AppController
- func (*Backend) Applications() ([]platform.Application, error)
- func (*Backend) Clipboard() platform.Clipboard
- func (*Backend) Dialogs() platform.Dialogs
- func (*Backend) Init(platform.AppHandler, platform.AppOptions) error
- func (*Backend) IsMainThread() bool
- func (*Backend) Name() string
- func (*Backend) Network() platform.Network
- func (*Backend) NewFileWatch(func(platform.FileWatchNotice)) (platform.FileWatch, error)
- func (*Backend) NewTray(platform.TrayHandler) (platform.Tray, error)
- func (*Backend) NewWindow(*platform.WindowOptions, platform.WindowHandler) (platform.Window, error)
- func (*Backend) NotificationsSupported() bool
- func (*Backend) PopupMenu(*platform.Menu, platform.Window, *platform.Point)
- func (*Backend) Power() platform.Power
- func (*Backend) Quit()
- func (*Backend) RegisterHotkey(int, string) error
- func (*Backend) RemoveAllNotifications()
- func (*Backend) RemoveNotification(string)
- func (*Backend) ReplaceFile(target, replacement string) error
- func (*Backend) Run() error
- func (*Backend) Screen() platform.Screen
- func (*Backend) Secrets() platform.Secrets
- func (*Backend) SetApplicationMenu(*platform.Menu)
- func (*Backend) Shell() platform.Shell
- func (*Backend) ShowNotification(_ *platform.Notification, done func(error))
- func (*Backend) Signal()
- func (*Backend) Step()
- func (*Backend) Theme() platform.Theme
- func (*Backend) UnregisterHotkey(int)
- func (*Backend) UpdateMenuItem(*platform.MenuItem)
- func (*Backend) Wake()
- func (*Backend) WebViewAvailable() bool
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 (*Backend) App ¶
func (*Backend) App() platform.AppController
func (*Backend) Applications ¶
func (*Backend) Applications() ([]platform.Application, error)
func (*Backend) Init ¶
func (*Backend) Init(platform.AppHandler, platform.AppOptions) error
func (*Backend) IsMainThread ¶
func (*Backend) NewFileWatch ¶
func (*Backend) NewWindow ¶
func (*Backend) NewWindow(*platform.WindowOptions, platform.WindowHandler) (platform.Window, error)
func (*Backend) NotificationsSupported ¶
func (*Backend) RemoveAllNotifications ¶
func (*Backend) RemoveAllNotifications()
func (*Backend) RemoveNotification ¶
func (*Backend) ReplaceFile ¶
func (*Backend) SetApplicationMenu ¶
func (*Backend) ShowNotification ¶
func (*Backend) ShowNotification(_ *platform.Notification, done func(error))
func (*Backend) UnregisterHotkey ¶
func (*Backend) UpdateMenuItem ¶
func (*Backend) WebViewAvailable ¶
Click to show internal directories.
Click to hide internal directories.