The tag "tray" refers mostly to the GUI system notification area (called system tray) and rarely to the disc tray of an optical disc drive. Better use tag "trayicon" in case of a single tray icon and "notification-area" or "system-tray" in other cases about the system tray.
Questions tagged [tray]
175 questions
46
votes
9 answers
Quick and easy: trayicon with python?
I'd just need a quick example on how to easily put an icon with python on my systray. This means: I run the program, no window shows up, just a tray icon (I've got a png file) shows up in the systray and when I right-click on it a menu appears with…

Marco Moschettini
- 1,555
- 2
- 16
- 26
23
votes
6 answers
java TrayIcon using image with transparent background
I am using the following code to set a tray icon in Windows and Linux. It works wonderful in Windows and works okay in Linux. In Linux (Ubuntu) I have my panel set to be (somewhat) transparent and when I add a GIF (with a transparent background) the…

Jack
- 20,735
- 11
- 48
- 48
13
votes
2 answers
How to capture trayicon.displayMessage() mouse click on the tooltip baloon
Hi, I am trying to show more detailed information after a user clicks on the message balloon tooltip.
However, I can't find how to capture that event.
Is this possible to do?

user554033
- 185
- 2
- 13
13
votes
3 answers
Clear Application's badge Number
I have made local notification in iphone app. And set icon badge number.
All works good. But if i have two notification in tray and user clicks on clear button than notification deletes from tray.
But the badge number of icon remains same.
I want to…

Priyank Gandhi
- 1,257
- 1
- 16
- 29
12
votes
2 answers
Detect if Windows closing or application tries to close from system menu (WM_CLOSE)
I'm having Tray application.
Onj FormCloseQuery I check if program should goto tray and instead of closing it I put it in tray (CanClose := False)
But if Windows tries to close my application because of Windows shutdown I want not to move my app…

Ivan Mark
- 463
- 1
- 5
- 17
11
votes
1 answer
Tkinter: How to make a system tray application?
i have a small application. I want my target users(windows,linux) to be able to start and exit the application from the system tray. I intend to use Tkinter because of its low footprint but, i dont know how to implement it.
Can tkinter do this or…

Kennedy
- 2,146
- 6
- 31
- 44
11
votes
1 answer
Embed youtube playlist with side list tray
I've been playing with the youtube embed playlist functionality with javascript.
So far when I embed a playlist it looks like this:
http://postimage.org/image/vk6fv56yx/
The blue circle shows the number of items in the playlist and when clicked the…

RicardoE
- 1,665
- 6
- 24
- 42
10
votes
3 answers
How to always show program tray icons in Windows by *default*?
If a program is executed for the first time in Windows 7, it automatically hides the icon. Is there any manifest setting or option to force Windows 7 to always show the icon by default?
Mark Hero
9
votes
3 answers
How to add application icon in notification tray?
I understand that it's possible. At least I see that various applications used to put in notification tray their icons (e.g. Skype).
What about my application? What should I do to put my icon or message in notification bar?

Barmaley
- 16,638
- 18
- 73
- 146
8
votes
1 answer
C# Getting the text off notifyIcons (tray icons)
I'm crafting this "what you are listening to" - plugin for learning purposes that displays the current Spotify or Winamp song as a message in an IM client.
So far it's really simple, I'm merely getting the song played from the title like…

pastapockets
- 1,088
- 2
- 13
- 20
8
votes
3 answers
Why is my icon ugly on the tray bar with TTrayIcon?
I recently discovered the TTrayIcon component in Delphi 2007. The code used is pretty straightforward.
procedure TForm1.FormCreate(Sender: TObject);
begin
AppTrayIcon := TTrayIcon.Create(nil);
AppTrayIcon.OnDblClick := OnAppTrayIconDblClick;
…

Pascal Bergeron
- 761
- 3
- 12
- 27
7
votes
3 answers
How to get the tray icon scale correctly in macos electron?
I've tried 32x32, 64x64, and I've tried to use Photoshop to edit another app's icon into my icon to keep its size but it never works with me. It seems that my icon is double-sized and I can't get the whole icon to be visible.

Yuxuan Lu
- 316
- 4
- 13
6
votes
2 answers
Windows Service with WPF management tool
i'm trying to create a windows service with C# in .net that runs before the user is logged on...
then when a user is logged on a symbol should appear in the system tray (next to the clock) to show the user that the service is running..
by double…

Barret
- 77
- 1
- 4
5
votes
0 answers
Styling Compose for Desktop Tray Composable
I've been playing around with Compose for Desktop, and I am trying to figure out how Jetbrain styled the Tray Composable. I am assuming that's what they used to build the Jetbrains Toolbox since they wrote a post about how they migrated the Toolbox…

Carlos Paulino
- 736
- 6
- 9
5
votes
0 answers
Open application window on left moust click Ubuntu 18 / Gnome
Installed fresh Ubuntu 18.04 with Gnome, then installed Skype and Slack. And now in my system tray (notifications area, applications list, ...) I have icons of this running applications. When I click on the app icon I see context menu instead of…

Jack Owels
- 149
- 1
- 9