Libraryless. Compilation Failed (7864L/45K).
1 | meta-for Img in Image, S {
|
2 | static JToggleButton jImageToggleButton(Img image, S toolTip, Runnable action, bool selected default false) {
|
3 | var btn = jToggleButton("", action);
|
4 | setSelected(btn, selected); |
5 | toolTip(btn, toolTip); |
6 | setButtonImage(btn, image); |
7 | ret btn; |
8 | } |
9 | } |
Began life as a copy of #1006831
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1034448 |
| Snippet name: | jImageToggleButton |
| Eternal ID of this version: | #1034448/7 |
| Text MD5: | 510961b22bcf959e8787e3daf651af94 |
| Transpilation MD5: | b6d5621d6df927c436e0c5698e23abaf |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-02-15 22:30:53 |
| Source code size: | 297 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 426 / 601 |
| Version history: | 6 change(s) |
| Referenced in: | [show references] |