source: grass/trunk/gui/wxpython/xml/toolboxes.dtd

Last change on this file was 56034, checked in by annakrat, 11 years ago

wxGUI/toolboxes: initial version of wxGUI toolboxes (co-author: wenzeslaus)

File size: 1.1 KB
Line 
1<!ELEMENT toolboxes (toolbox*)>
2
3<!ELEMENT toolbox (label, items)>
4<!ATTLIST toolbox name NMTOKEN #REQUIRED>
5
6<!ELEMENT items ((module-item | wxgui-item | subtoolbox | separator)*)>
7
8<!-- Subelement label is mandatory, however this may change in the future. -->
9<!ELEMENT module-item (label, module?, description?, keywords?)>
10<!ATTLIST module-item name NMTOKEN #REQUIRED>
11
12<!ELEMENT wxgui-item (label?, ((handler, related-module?) | command)?, description?, keywords?, shortcut?, wx-id?)>
13<!ATTLIST wxgui-item name NMTOKEN #REQUIRED>
14
15<!--
16Element subtoolbox could use xlink syntax but it is not much supported,
17so it would be useless. Used syntax is easier and more conforms to other
18elements which are not typical candidates for xlink use.
19-->
20<!ELEMENT subtoolbox EMPTY>
21<!ATTLIST subtoolbox name NMTOKEN #REQUIRED>
22
23<!ELEMENT separator EMPTY>
24
25<!ELEMENT label (#PCDATA)>
26<!ELEMENT description (#PCDATA)>
27<!ELEMENT handler (#PCDATA)>
28<!ELEMENT command (#PCDATA)>
29<!ELEMENT module (#PCDATA)>
30<!ELEMENT related-module (#PCDATA)>
31<!ELEMENT keywords (#PCDATA)>
32<!ELEMENT shortcut (#PCDATA)>
33<!ELEMENT wx-id (#PCDATA)>
34
Note: See TracBrowser for help on using the repository browser.