At the moment there are not many actual controls in Nifty. Besides from clicking on elements, f.i. an Image, there was so far not a lot of interaction possible.
Well, it's about time to change this with Nifty Controls :)
To allow as much freedom as possible I've decided against predefining You can create your own control with the </a></p>
<img src="http://nifty-gui.lessvoid.com/images/blog-controldefinition-small.png" alt="blog-controldefinition.png" border="0" hspace="10" vspace="10" /></a></p>
</panel>
</controldefinition></pre>
With this xml t</code>ag you can define a control like it is illustrated in figure 1.</p>
A controldefinition actually defines a couple of things:</p>
name</code> attribute.</li>
controller</code> attribute.</li>
</ol>
With the mandatory attribute "name" you give your new control a name so that you can refer to it later. There's another new tag to use your newly created control, the control</code> tag:</p>
So you define the look and feel as well as the control logic once and then use it everywhere you need it like figure 2 shows.</p>