forked from getlantern/systray
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsystray_freebsd.go
52 lines (38 loc) · 892 Bytes
/
systray_freebsd.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
//go:build freebsd
// +build freebsd
package systray
func registerSystray() {
}
func nativeLoop() {
}
func quit() {
}
// SetIcon sets the systray icon.
// iconBytes should be the content of .ico for windows and .ico/.jpg/.png
// for other platforms.
func SetIcon(iconBytes []byte) {
}
// SetTitle sets the systray title, only available on Mac and Linux.
func SetTitle(title string) {
}
// SetTooltip sets the systray tooltip to display on mouse hover of the tray icon,
// only available on Mac and Windows.
func SetTooltip(tooltip string) {
}
func addOrUpdateMenuItem(item *MenuItem) {
}
func addSeparator(id uint32) {
}
func hideMenuItem(item *MenuItem) {
}
func showMenuItem(item *MenuItem) {
}
//export systray_ready
func systray_ready() {
}
//export systray_on_exit
func systray_on_exit() {
}
//export systray_menu_item_selected
func systray_menu_item_selected(cID int) {
}