Howto:Hooking into the GUI: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
Line 5: Line 5:


<syntaxhighlight lang="nasal">
<syntaxhighlight lang="nasal">
fgcommand("register-widget", props.Node.new({
"module": "ui",
"name": "image",
"script": "props.dump( cmdarg() );"
}));
</syntaxhighlight>
</syntaxhighlight>