Skip to content

Commit

Permalink
Updating README
Browse files Browse the repository at this point in the history
  • Loading branch information
dmikushin committed May 12, 2024
1 parent 8617dcc commit 69a6107
Showing 1 changed file with 12 additions and 15 deletions.
27 changes: 12 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
![tray](https://raw.githubusercontent.com/StirlingLabs/tray/v23.08.1/tray.jpg)
# System Tray / Menu Bar / Indicator Icon

![MacOS screenshot](./screenshot_macosx.png)

![Windows screenshot](./screenshot_windows.png)

![Linux screenshot](./screenshot_linux.png)

Cross-platform, super tiny[^1] C99-based implementation of a system tray/menu bar icon with popup menu.

[^1]: It's super tiny on both Mac & Windows.
Expand All @@ -24,7 +29,7 @@ Works well on:
* MacOS (Cocoa/AppKit)
* Linux/Gtk (Qt6)

Gnome has decided to deprecate the tray icon as a concept, except for system indicators. They have
GNOME has decided to deprecate the tray icon as a concept, except for system indicators. They have
not only deprecated the tray-handling code but removed it entirely. Extensive investigation has
failed to produce a reliable way to display tray icons, even using low-level X11 calls. Qt _has_
worked out a way to do it, so we are currently using their implementation on Linux, which
Expand Down Expand Up @@ -106,24 +111,16 @@ Build & execute the `tray_example` application:
./tray_example
```

## Screenshots

![MacOS screenshot](./screenshot_macosx.png)

![Windows screenshot](./screenshot_windows.png)

![Linux screenshot](./screenshot_linux.png)

## History

This fork is predominantly to make the functionality available as a library, for use from other languages.

It based on a previous [fork by dmikushin](https://github.com/dmikushin/tray) that brings together the
[original work of Serge Zaitsev](https://github.com/zserge/tray) and "the most interesting forks and PRs of
respectable contributors" including:
This fork brings together the [original work of Serge Zaitsev](https://github.com/zserge/tray) and
the most interesting forks and PRs of respectable contributors including:

* Numerous enhancements from [StirlingLabs](https://github.com/StirlingLabs/tray) to make the functionality
available as a library, for use from other languages.
* [Only process messages coming from the tray window on Windows](https://github.com/zserge/tray/pull/18)
* [Become C++-friendly](https://github.com/zserge/tray/pull/16)
* [Fix all menu items have a check box](https://github.com/zserge/tray/pull/11)
* [Add support for tooltip](https://github.com/zserge/tray/pull/11)
* Darwin implementation translated from C to Objective C adapted from [@trevex fork](https://github.com/trevex/tray)

0 comments on commit 69a6107

Please sign in to comment.