Questions tagged [tray]

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.

162 questions
38
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,258
  • 2
  • 11
  • 24
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
  • 18,975
  • 11
  • 46
  • 47
12
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
  • 193
  • 2
  • 12
12
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…
Impossible
  • 1,237
  • 1
  • 16
  • 28
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,037
  • 6
  • 29
  • 41
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,509
  • 2
  • 18
  • 40
11
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
  • 453
  • 1
  • 5
  • 16
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,009
  • 17
  • 68
  • 139
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,008
  • 2
  • 12
  • 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
  • 573
  • 2
  • 8
  • 22
6
votes
3 answers

How to get a perfect sized tray icon using electron?

I've tried 32x32, 64x64, and I've tried use Photoshop to edit another app's icon into my icon to keep its size but it never work with me. It seems that my icon is double-sized and I can't get the whole icon to be visible. Here is the icon:
Leo Lu
  • 127
  • 1
  • 9
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

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
  • 7
5
votes
3 answers

C# close to tray (like msn messenger)

I have a c# .net app. So I created a notifyIcon that sits in the tray. What I want to do is when the user hits the "x" button on the form, I want it to close to the tray. They should only be able to exit program by using the context menu in the tray…
Andy Hin
  • 25,283
  • 37
  • 95
  • 135
1
2 3
10 11