Comments (3)
This library is for adding an icon to the system tray (the menu bar, on macOS); it doesn't do anything fancy with dock icons. You'll need to handle that in your app's code, I think.
from systray.
Would it be possible to have the dock icon behave identically to the system tray icon? Seems like an easy enough change. I just can't imagine a purpose for it otherwise.
from systray.
Perhaps, but I don't think that is the purpose of this library. That said, I may be misunderstanding your intent, here. When you build an app, you'll have a Dock item for the running app, and—when using this library—a system tray icon. Looking at my desktop right now, I see that some apps have both a system tray icon and a Dock icon, but some only have the system tray icon because they've hidden their Dock icon. This library takes care of the systray icon and its functionality, but doing anything with the app's Dock icon is up to your code.
from systray.
Related Issues (20)
- Remove dependency on github.com/getlantern/golog
- Add support for advanced menu items
- Fix notifyIconData struct HOT 1
- libayatana-appindicator , libappindicator is not available in RedHat HOT 1
- Dark mode support for windows 11 HOT 2
- Deprecation of 'go get' for installing executables
- 蓝灯邀请码,输入各得3个月:YX7T8M6
- Duplicate symbol error building on macOS HOT 3
- Can't compile on MacOS (duplicate symbol)
- [Bug] Debain 12
- won't compile with Go version 1.22 HOT 1
- Icons in menu items have a black background
- Tray Icon is Blur HOT 1
- The menu disappears when you click HOT 3
- Dont support go1.22 HOT 1
- error, crash:Symbol not found: kIOMainPortDefault
- Example doesn't work
- When hovering over the icon, display text
- sir ,please tell us ,How to determine through code whether this library can be used in the current operating system
- raspberrypi can't build HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from systray.