systray

Running a Tkinter window and PysTray Icon together

我与影子孤独终老i 提交于 2020-07-06 12:01:22
问题 I'm building a tkinter gui project and i'm looking for ways to run a tray icon with the tkinter window. I found Pystray library that does it, But now i'm trying to figure it out how to use this library (tray Icon) together with tkinter window, I set it up when the user exit winodw it's only will withdraw window: self.protocol('WM_DELETE_WINDOW', self.withdraw) I want to bring it back with the tray icon.. anyone know how to do it? EDIT:untill now I just wrote this code so far (they're not

Delphi: Minimize application to systray

天涯浪子 提交于 2020-01-15 05:48:21
问题 I want to minimize a Delphi application to the systray instead of the task bar. The necessary steps seem to be the following: Create icon which should then be displayed in the systray. When the user clicks the [-] to minimize the application, do the following: Hide the form. Add the icon (step #1) to the systray. Hide/delete the application's entry in the task bar. When the user double-clicks the application's icon in the systray, do the following: Show the form. Un-minimize the application

wx.TaskBarIcon in Ubuntu 13.04 (GNOME or Unity)

 ̄綄美尐妖づ 提交于 2020-01-02 08:43:44
问题 I've used wx.TaskBarIcon to successfully implement a systray interface to my application on Windows and Mac but am having severe trouble with it on Ubuntu. There's already been two SO questions regarding this on previous versions of Ubuntu: wxTaskBarIcon in Ubuntu 12.10 wx.TaskBarIcon on Ubuntu 11.04 Neither provide real answers or workarounds. As I understand it, the systray whitelist was implemented and was subsequently obsoleted, which apparently leaves wxWidgets and wxPython applications

QT how to detect the systray area for creating systary pop up windows

微笑、不失礼 提交于 2020-01-01 18:02:58
问题 i need to create/design QT systray popup windows , i was thinking about creating custom windows that derived from QDialog , so it could look better then the ordinary "Information,Warning,Critical styles" my question is how can i detect the position of the desktop systray ,so how could give the popup windows the look and feel of a systray popup 回答1: You might use the rectangle given by QSystemTrayIcon::geometry() to know precisely the position of the desktop systray. The geometry method gives

QT how to detect the systray area for creating systary pop up windows

血红的双手。 提交于 2020-01-01 18:02:07
问题 i need to create/design QT systray popup windows , i was thinking about creating custom windows that derived from QDialog , so it could look better then the ordinary "Information,Warning,Critical styles" my question is how can i detect the position of the desktop systray ,so how could give the popup windows the look and feel of a systray popup 回答1: You might use the rectangle given by QSystemTrayIcon::geometry() to know precisely the position of the desktop systray. The geometry method gives

Use system tray & icons in VBA (Access)

ぐ巨炮叔叔 提交于 2019-12-24 07:18:44
问题 I've found a few tutorials that explain how to use the windows API to get a custom icon in the system tray. These are all for Visual Basic, and they don't seem to be scaling to VBA well. I'm following this short tutorial: http://atchoo.org/vb/systray.php Basically, you have to set the hIcon value (a 'long' variable) but it does not work. I've tried to use the LoadPicture() function, which does not give me any errors, but also fails to add a new icon. I can't supply Me.Icon, nor can I set it

How to re-add icon to system tray after explorer.exe crash

不问归期 提交于 2019-12-23 17:58:32
问题 My java application currently has an icon in the system tray. When the system tray crashes, however (you can simulate this by killing explorer.exe in the taskbar), the icon disappears after the system tray returns. When I check SystemTray.getSystemTray().getTrayIcons() for the icons in the system tray, it always shows that my TrayIcon is still in the system tray, even though after it crashes and reloads and my tray icon is longer there. At the moment I'm removing and adding my icon once every

Can I re-gain a systray icon of a running app that has gone missing?

断了今生、忘了曾经 提交于 2019-12-20 10:27:53
问题 Since I've finally got an answer for this question: Can you send a signal to windows explorer to make it refresh the systray icons, that asks about getting rid of dead systray icons, I would like to ask for the opposite. Is there a way to "nudge" an application to re-show it's systray icon if it has been lost? It happens to my Apache Monitor ever since I install Avira AV. Ok, granted, it could only be a side effect, but it's quite annoying to have the running app killed an then restart it,

Can you send a signal to Windows Explorer to make it refresh the systray icons?

跟風遠走 提交于 2019-12-17 10:42:43
问题 This problem has been afflicting me for quite a while and it's been really annoying. Every time I login after a reboot/power cycle the explorer takes some time to show up. I've taken the step of waiting for all the services to boot up and then I login, but it doesn't make any difference. The result is always the same: Some of the icons do not show up even if the applications have started. I've dug a bit on the code that makes one application "stick" an icon in there, but is there an API call

How to start WinForm app minimized to tray?

我是研究僧i 提交于 2019-12-16 22:12:31
问题 I've successfully created an app that minimizes to the tray using a NotifyIcon. When the form is manually closed it is successfully hidden from the desktop, taskbar, and alt-tab. The problem occurs when trying to start with the app minimized. At first the problem was that the app would be minimized but would still appear in the alt-tab dialog. Changing the FormBorderStyle to one of the ToolWindow options (from the "None" option) fixed this, but introduced another problem. When the app first