Pnuts Scripting Lead Adds Thinlet Module
Gerald Bauer <[email protected]> Sat, 6 Nov 2004 13:18:24 -0800 (PST)
| Newsgroups | gmane.comp.lang.xul.announce |
|---|---|
| Message-ID | <[email protected]> |
Hello,
The Pnuts Scripting Language Lead Toyokazu Tomatsu
from Japan has added Thinlet support.
Toyokazu Tomatsu writes in the Pnuts Addict blog
story titled "Pnuts meets Thinlet":
Added thinlet module(1.1)
* Action is written in Pnuts, which means that
actions can be defined dynamically.
* Thinlet's components can be accessed more
intuitively (in object-oriented style).
* This module currently includes a modified Thinlet.
Here is a sample code:
import javax.swing.*
use("thinlet")
parseThinlet("calculator.xml", f = JFrame())
function calculate(n1, n2, r){
r.text = string(int(n1) + int(n2))
}
f.pack()
f.show()
Source:
http://jroller.com/page/tomatsu/20041106#pnuts_meets_thinlet
You can find out more about Pnuts and Thinlet online @
http://pnuts.org/snapshot/latest/extensions/thinlet/doc
If anyone tries out Pnut and Thinlet, let us know you
think.
- Gerald
-----------------------
Gerald Bauer
Rich Client Conference (RichCon) 2005 -
http://richcon.com
XUL News Wire - http://xulnews.com
XUL Alliance - http://xulalliance.org
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click