Howto:Hooking into the GUI: Difference between revisions

Line 29: Line 29:


==  Testing the new tag/widget ==
==  Testing the new tag/widget ==
Okay, let's create a simple PUI/XML dialog from scratch using the new (unsupported!) {{tag|image}} tag. Use the [[Nasal Console]] to test the following:
Okay, let's create a simple PUI/XML dialog from scratch (procedurally) using the new (unsupported!) {{tag|image}} tag. Use the [[Nasal Console]] to test the following:
<syntaxhighlight lang="nasal">
<syntaxhighlight lang="nasal">
var name = "test";
var name = "test";