Uses 911K of libraries. Click here for Pure Java version (5139L/28K).
1 | !7 |
2 | |
3 | cmodule Stuff {
|
4 | start {
|
5 | TrayIcon trayIcon = installTrayIcon(#1102854, dm_moduleName()); |
6 | dm_hostTrayIcon(trayIcon); |
7 | trayIcon.addMouseMotionListener(new MouseAdapter {
|
8 | public void mouseMoved(MouseEvent e) { pick("mouseMoved", e); }
|
9 | public void mouseEntered(MouseEvent e) { pick("mouseEntered", e); }
|
10 | public void mouseExited(MouseEvent e) { pick("mouseExited", e); }
|
11 | |
12 | void pick(S type, MouseEvent e) enter {
|
13 | print("Tray Icon " + type + " " + e.getPoint());
|
14 | } |
15 | }); |
16 | } |
17 | } |
Began life as a copy of #1026348
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1026768 |
| Snippet name: | Test Host Tray Icon Mouse Over Event (only mouseMoved is delivered) |
| Eternal ID of this version: | #1026768/3 |
| Text MD5: | 0788cc1b1cd572ea88d1ae821d2bc9b7 |
| Transpilation MD5: | cea79aa22ccae253189bbe5188cc5f42 |
| Author: | stefan |
| Category: | javax / speech recognition |
| Type: | JavaX source code (Dynamic Module) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-01-21 14:08:04 |
| Source code size: | 547 bytes / 17 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 406 / 572 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |