Upgrade to v2.5
Fyne API v2.5
app
canvas
container
data/binding
data/validation
dialog
driver
package driver
AndroidContext
AndroidWindowContext
MacWindowContext
NativeWindow
UnknownContext
WaylandWindowContext
WindowsWindowContext
X11WindowContext
driver/desktop
package desktop
App
Canvas
Cursor
Cursorable
CustomShortcut
Driver
Hoverable
Keyable
Modifier
Mouseable
MouseButton
MouseEvent
StandardCursor
driver/mobile
driver/software
lang
layout
storage
storage/repository
test
theme
widget
Fyne API "desktop.App"
desktop.App
import "fyne.io/fyne/v2/driver/desktop"
Usage
type App
type App interface {
SetSystemTrayMenu(menu *fyne.Menu)
// SetSystemTrayIcon sets the icon to be used in system tray.
// If you pass a `ThemedResource` then any OS that adjusts look to match theme will adapt the icon.
SetSystemTrayIcon(icon fyne.Resource)
}
App defines the desktop specific extensions to a fyne.App.
Since:
2.2