20,741
edits
m (→Example Code) |
|||
Line 154: | Line 154: | ||
# Shows an icon in the top-right corner which upon click opens a simple window | # Shows an icon in the top-right corner which upon click opens a simple window | ||
# | # | ||
var dlg = canvas.Window.new([32,32]); | var dlg = canvas.Window.new([32,32]); | ||
dlg.setInt("tf/t[1]", 4) | dlg.setInt("tf/t[1]", 4) | ||
Line 197: | Line 194: | ||
}); | }); | ||
}); | }); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
<references/> | <references/> |