4,400
edits
m (→2D Instruments parser: FGPanel code is easier to convert but otherwise identical) |
m (Use Nasal highlighter) |
||
Line 90: | Line 90: | ||
I would suggest to use the specified widget's name and instantiate a little Nasal class eventually, i.e. something like (using ctor/method chaining): | I would suggest to use the specified widget's name and instantiate a little Nasal class eventually, i.e. something like (using ctor/method chaining): | ||
<syntaxhighlight lang=" | <syntaxhighlight lang="nasal"> | ||
globals["widgets"].button.new().update(); | globals["widgets"].button.new().update(); | ||
</syntaxhighlight> | </syntaxhighlight> |