Howto:Creating a Canvas GUI dialog file: Difference between revisions

Jump to navigation Jump to search
Line 8: Line 8:
First of all, we're going to add a  new menu item to open our new dialog. This involves adding a new translation entry, as well as the actual menubar entry itself.
First of all, we're going to add a  new menu item to open our new dialog. This involves adding a new translation entry, as well as the actual menubar entry itself.
== Editing Translations/en/menu.xml ==
== Editing Translations/en/menu.xml ==
[[File:menubar2.jpg|517px]]
Navigate to the sub-menu where you'd like to add your new dialog, e.g. "Equipment" in this case, and then add a key:
Navigate to the sub-menu where you'd like to add your new dialog, e.g. "Equipment" in this case, and then add a key:
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">

Navigation menu