Uses 911K of libraries. Click here for Pure Java version (5647L/27K).
!7 cmodule ModuleCmds > DynPrintLogAndEnabled { bool _startMinimized() { true; } start { dm_onAnyModulePopupMenu(voidfunc(JPopupMenu menu, S mod) { if (!enabled) ret; temp enter(); addMenuItem(menu, "Close", rThread { dm_delete(mod) }); }); } }
Began life as a copy of #1027868
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: | #1029567 |
| Snippet name: | Add "Close" command to module title menus |
| Eternal ID of this version: | #1029567/3 |
| Text MD5: | 9024fba51953e420ed26827e52ec54e8 |
| Transpilation MD5: | e7e5ad4f00a57c2d9e7a268079155b39 |
| Author: | stefan |
| Category: | javax / stefan's os |
| Type: | JavaX source code (Dynamic Module) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-08-24 11:56:30 |
| Source code size: | 300 bytes / 14 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 435 / 219472 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |