Howto:Hooking into the GUI: Difference between revisions

No edit summary
Line 10: Line 10:
== Background ==
== Background ==
== Objective ==
== Objective ==
Procedurally replacing/re-implementing existing PUI/XML widgets in scripting space using Nasal and Canvas.
Procedurally adding and replacing/re-implementing existing PUI/XML widgets in scripting space using Nasal and Canvas.
 
<syntaxhighlight lang="xml">
<?xml version="1.0"?>
<PropertyList>
  <name>test</name>
  <modal>false</modal>
  <layout>vbox</layout>
  <text>
    <label>Image test</label>
  </text>
  <image>
  <filename>Textures/Splash1.png</filename>
  <image>
</PropertyList>
 
</syntaxhighlight>


== Status ==
== Status ==