1. Changing the title and icon
Prev | Chapter 2. Tutorial | Next

## 1. Changing the title and icon

tutorial/tutorial1.xxe_gui:

    <?xml version='1.0' encoding='UTF-8'?>
    <gui xmlns="http://www.xmlmind.com/xmleditor/schema/gui"
         xmlns:gui="http://www.xmlmind.com/xmleditor/schema/gui">

      <translation location="custom_gui_en.properties" />

      <layout label="Document Editor" icon="docedit.png">
        <insert />
      </layout>
    </gui>

| The namespace of GUI specification elements is "`http://www.xmlmind.com/xmleditor/schema/gui`". After downloading and installing the add-on called "A configuration for specifying XMLmind XML Editor GUIs" using Options → Install Add-ons, the corresponding schema is found in ``XXE_user_preferences_dir`/addon/xxe_gui_config/xsd/gui.xsd`.
| GUI specification files can be localized by using translation elements. For more information please consult the reference part of this document.
| The layout element has `label` and `icon` attributes specifying the title and desktop icon of the XML editor.
| Without the use of insert, the above `layout` would have been understood as a redefinition from scratch of the standard layout of the XML editor. Such XML editor would have had a blank main window.

Prev | Up | Next
Chapter 2. Tutorial | Home | 2. Changing the About dialog box