Menubar: Difference between revisions

Jump to navigation Jump to search
m
In this article menu number was 10, that seems to no longer work, it has to be 100 now a days.
(→‎Styles: This section should be moved to Howto:Create a custom GUI style#Creating your custom GUI style)
m (In this article menu number was 10, that seems to no longer work, it has to be 100 now a days.)
 
Line 18: Line 18:
  <menubar>
  <menubar>
   <default>
   <default>
   <menu n="10">
   <menu n="100">
   <label>Boeing 787</label>
   <label>Boeing 787</label>
   <enabled type="bool">true</enabled>
   <enabled type="bool">true</enabled>
Line 35: Line 35:
</syntaxhighlight>
</syntaxhighlight>


* '''menu n="10":''' creates an extra menu item, at the end of the menubar.
* '''menu n="100":''' creates an extra menu item, at the end of the menubar, needs to be start in 100.
* '''aircraft.livery.dialog.open():''' the prefix 'aircraft' is coming from the tagname you choose inside the <nasal> section, eg:
* '''aircraft.livery.dialog.open():''' the prefix 'aircraft' is coming from the tagname you choose inside the <nasal> section, eg:
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
17

edits

Navigation menu