Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Difference between revisions of "Howto:Hooking into the GUI"

From FlightGear wiki
Jump to: navigation, search
m
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>
  

Revision as of 17:05, 11 March 2018

This article is a stub. You can help the wiki by expanding it.
fgcommand("register-widget", props.Node.new({
 "module": "ui",
 "name": "image",
 "script": "props.dump( cmdarg() );"
}));


Related

References