Howto:Hooking into the GUI: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 4: Line 4:
</syntaxhighlight>
</syntaxhighlight>


== Registering the pre-processor ==
<syntaxhighlight lang="nasal">
<syntaxhighlight lang="nasal">
fgcommand("register-widget", props.Node.new({
fgcommand("register-widget", props.Node.new({
Line 13: Line 14:




==  Testing the new tag/widget ==
See [[Nasal Console]]
<syntaxhighlight lang="nasal">
<syntaxhighlight lang="nasal">
var name = "test";
var name = "test";