Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native Integration: Tray API #322

Open
bryphe opened this issue Feb 9, 2019 · 1 comment
Open

Native Integration: Tray API #322

bryphe opened this issue Feb 9, 2019 · 1 comment
Labels
A-native Area: Native platform integration A-primitives Area: Primitives, the basic building blocks enhancement New feature or request help wanted Extra attention is needed

Comments

@bryphe
Copy link
Member

bryphe commented Feb 9, 2019

It would be great to have a cross-platform API for integrating with the system 'tray' (the system's notification area). Electron has shown a potential API for this use-case, along with events and methods that have thought-through applicability to all platforms.

This API surface would be a good starting point:
https://electronjs.org/docs/api/tray

The API surface is fairly large, so we should start by thinking of a minimal subset - perhaps addressing the following scenarios:

  • Create a tray icon
  • Destroy a tray icon

We'd also likely need a context menu for OSX.

@bryphe bryphe added enhancement New feature or request A-native Area: Native platform integration labels Feb 9, 2019
@bryphe bryphe added the help wanted Extra attention is needed label May 2, 2019
@bryphe bryphe mentioned this issue May 2, 2019
@glennsl glennsl added the A-primitives Area: Primitives, the basic building blocks label Nov 25, 2019
@lessp lessp mentioned this issue Jun 5, 2020
@lessp
Copy link
Member

lessp commented Jul 29, 2020

This may or not be a good starting point for implementing this on Windows:
https://www.codeproject.com/Articles/18783/Example-of-a-SysTray-App-in-Win32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-native Area: Native platform integration A-primitives Area: Primitives, the basic building blocks enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants