Howto:Hooking into the GUI: Difference between revisions

Jump to navigation Jump to search
Line 11: Line 11:
== Objective ==
== Objective ==
Procedurally adding and 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.
For example, the hard-coded PUI engine knows nothing about an {{tag|image}} tag, but we can still introduce one using very little code.


<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">

Navigation menu