Canvas GUI: Difference between revisions

Jump to navigation Jump to search
m
Line 51: Line 51:
                 ]]></load></nasal>
                 ]]></load></nasal>
</PropertyList>
</PropertyList>
</syntaxhighlight>
Instead of embedding all code inline, you can also include an external Nasal by using:
<syntaxhighlight lang="php">
io.load_nasal( getprop("/sim/fg-root") ~ "/Nasal/canvas/widgets/loglist.nas" );
</syntaxhighlight>
</syntaxhighlight>


Navigation menu