1
- ![ tray] ( https://raw.githubusercontent.com/StirlingLabs/tray/v23.08.1/tray.jpg )
2
1
# System Tray / Menu Bar / Indicator Icon
3
2
3
+ ![ MacOS screenshot] ( ./screenshot_macosx.png )
4
+
5
+ ![ Windows screenshot] ( ./screenshot_windows.png )
6
+
7
+ ![ Linux screenshot] ( ./screenshot_linux.png )
8
+
4
9
Cross-platform, super tiny[ ^ 1 ] C99-based implementation of a system tray/menu bar icon with popup menu.
5
10
6
11
[ ^ 1 ] : It's super tiny on both Mac & Windows.
@@ -24,7 +29,7 @@ Works well on:
24
29
* MacOS (Cocoa/AppKit)
25
30
* Linux/Gtk (Qt6)
26
31
27
- Gnome has decided to deprecate the tray icon as a concept, except for system indicators. They have
32
+ GNOME has decided to deprecate the tray icon as a concept, except for system indicators. They have
28
33
not only deprecated the tray-handling code but removed it entirely. Extensive investigation has
29
34
failed to produce a reliable way to display tray icons, even using low-level X11 calls. Qt _ has_
30
35
worked out a way to do it, so we are currently using their implementation on Linux, which
@@ -106,24 +111,16 @@ Build & execute the `tray_example` application:
106
111
./tray_example
107
112
```
108
113
109
- ## Screenshots
110
-
111
- ![ MacOS screenshot] ( ./screenshot_macosx.png )
112
-
113
- ![ Windows screenshot] ( ./screenshot_windows.png )
114
-
115
- ![ Linux screenshot] ( ./screenshot_linux.png )
116
-
117
114
## History
118
115
119
- This fork is predominantly to make the functionality available as a library, for use from other languages.
120
-
121
- It based on a previous [ fork by dmikushin] ( https://github.com/dmikushin/tray ) that brings together the
122
- [ original work of Serge Zaitsev] ( https://github.com/zserge/tray ) and "the most interesting forks and PRs of
123
- respectable contributors" including:
116
+ This fork brings together the [ original work of Serge Zaitsev] ( https://github.com/zserge/tray ) and
117
+ the most interesting forks and PRs of respectable contributors including:
124
118
119
+ * Numerous enhancements from [ StirlingLabs] ( https://github.com/StirlingLabs/tray ) to make the functionality
120
+ available as a library, for use from other languages.
125
121
* [ Only process messages coming from the tray window on Windows] ( https://github.com/zserge/tray/pull/18 )
126
122
* [ Become C++-friendly] ( https://github.com/zserge/tray/pull/16 )
127
123
* [ Fix all menu items have a check box] ( https://github.com/zserge/tray/pull/11 )
128
124
* [ Add support for tooltip] ( https://github.com/zserge/tray/pull/11 )
129
125
* Darwin implementation translated from C to Objective C adapted from [ @trevex fork] ( https://github.com/trevex/tray )
126
+
0 commit comments