Re: [xul-interop] XUL Grand Coding Challenge 2004 - Counter Sample Showcase
thomas favennec <[email protected]> Mon, 12 Sep 2005 19:48:43 +0200
| Newsgroups | gmane.comp.lang.xul.general |
|---|---|
| Message-ID | <003701c5b7c2$38d1f730$0100a8c0@Thomas> |
It's coool. An other XAML rival !!! :-) ----- Original Message ----- From: "Charles Goodwin" <[email protected]> To: <[email protected]> Sent: Monday, September 12, 2005 3:02 AM Subject: Re: [xul-interop] XUL Grand Coding Challenge 2004 - Counter Sample Showcase I like the theme. Vexi equivalent :- <vexi xmlns:ui="vexi://ui" xmlns="vexi.widget"> <surface /> <ui:box frametitle="Simple Counter" shrink="true"> <pad cols="1" padding="5"> <ui:box> <ui:box width="5" /> // pad the 'Count' <ui:box shrink="true" text="Count:" /> <textfield id="output" margin="5" /> </ui:box> <ui:box vshrink="true"> <button id="dec" margin="5" text="Dec (-)" /> <button id="clear" margin="5" text="Clear" /> <button id="inc" margin="5" text="Inc (+)" /> </ui:box> </pad> vexi.ui.frame = thisbox; thisbox.value ++= function(v) { $output.text = v; } $dec.action ++= function(v) { value--; } $inc.action ++= function(v) { value++; } $clear.action ++= function(v) { value = 0; } value = 0; </ui:box> </vexi> ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ XUL News Wire - http://xulnews.com XUL Job Postings - http://xuljobs.com Open XUL Alliance - http://xulalliance.org