Menubar: Difference between revisions

417 bytes added ,  1 June 2016
no edit summary
No edit summary
Line 36: Line 36:


* '''menu n="10":''' creates an extra menu item, at the end of the menubar.
* '''menu n="10":''' creates an extra menu item, at the end of the menubar.
* '''aircraft.livery.dialog.open():''' the prefix 'aircraft' is coming from the tagname you choose inside the <nasal> section, eg:
<syntaxhighlight lang="xml">
    <nasal>
        <aircraft>
            <file>Aircraft/MyAircraft/Nasal/script.nas</file>
        </aircraft>
    </nasal>
</syntaxhighlight>
Use only characters that could be used to name and call a nasal function (eg: the '-' character is not valid).


== Styles ==
== Styles ==
1

edit