// menuItems can also just be a PopupMenu // also, first of menuItems can be a Runnable for left-click on icon static TrayIcon dm_systemTrayIcon(S imageID, S tooltip, O... menuItems) { TrayIcon tray = installTrayIcon(imageID, tooltip, menuItems); dm_ownResource(tempTrayIcon(tray)); ret tray; }
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: | 298 / 332 |
Referenced in: | [show references] |