Libraryless. Compilation Failed (7864L/45K).
meta-for Img in Image, S { static JToggleButton jImageToggleButton(Img image, S toolTip, Runnable action, bool selected default false) { var btn = jToggleButton("", action); setSelected(btn, selected); toolTip(btn, toolTip); setButtonImage(btn, image); ret btn; } }
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: | 193 / 316 |
Version history: | 6 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1034449 - setSelected (AbstractButton) |