Nifty Button Controls

How do I put controls on the nifty buttons???

I want to create nifty menu, but the buttons there doesn’t have controls. And how do I put action on it?



Please help… Thank a lot…

1 Like

[xml]

<control name=“button” … etc >

<interact onClick=“someMethod()”>

</control>

[/xml]



What’s so hard about this?

@madjack there is a java way to do this right now, isn’t there?

Yes. You can use the Nifty builder, but I have never used it, so I can’t really help on that. For some weird reason I prefer doing it myself in a XML file.