1 | // menuItems can also just be a PopupMenu |
2 | // also, first of menuItems can be a Runnable for left-click on icon |
3 | static TrayIcon dm_systemTrayIcon(S imageID, S tooltip, O... menuItems) { |
4 | TrayIcon tray = installTrayIcon(imageID, tooltip, menuItems); |
5 | dm_ownResource(tempTrayIcon(tray)); |
6 | ret tray; |
7 | } |
Began life as a copy of #1003656
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1023158 |
Snippet name: | dm_systemTrayIcon - takes image ID and menu item params |
Eternal ID of this version: | #1023158/1 |
Text MD5: | ed7bf0d62d3551bff4ec7242b1035f56 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-05-15 19:27:14 |
Source code size: | 306 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 300 / 335 |
Referenced in: | [show references] |