Allow moving fullscreen windows between monitors
[openbox.git] / data / menu.xsd
blob2ff76b72f884923952650598298625917554c6af
1 <?xml version="1.0" encoding="UTF-8"?>
3 <!-- XML Schema for the Openbox window manager menu file -->
5 <!DOCTYPE schema PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN"
6 "http://www.w3.org/2001/XMLSchema.dtd" [
7 <!ATTLIST schema xmlns:ob CDATA #IMPLIED>
8 <!ENTITY % p "xsd:">
9 <!ENTITY % s ":xsd">
12 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
13 targetNamespace="http://openbox.org/3.4/menu"
14 xmlns:ob="http://openbox.org/3.4/menu"
15 elementFormDefault="qualified"
16 attributeFormDefault="unqualified">
17 <!--
18 root node
19 -->
20 <xsd:element name="openbox_menu">
21 <xsd:complexType mixed="false">
22 <xsd:sequence maxOccurs="unbounded" minOccurs="1">
23 <xsd:element name="menu" type="ob:menu"/>
24 </xsd:sequence>
25 </xsd:complexType>
26 </xsd:element>
27 <!--
28 complex types
29 -->
30 <!-- menu -->
31 <xsd:complexType name="menu">
32 <xsd:choice maxOccurs="unbounded" minOccurs="0">
33 <xsd:element name="menu" type="ob:menu"/>
34 <xsd:element name="item" type="ob:item"/>
35 <xsd:element name="separator" type="ob:separator"/>
36 </xsd:choice>
37 <xsd:attribute name="label" type="xsd:string" use="optional"/>
38 <xsd:attribute name="execute" type="xsd:string" use="optional"/>
39 <xsd:attribute name="id" type="xsd:string" use="required"/>
40 </xsd:complexType>
42 <!-- separator -->
43 <xsd:complexType name="separator">
44 <xsd:attribute name="label" type="xsd:string" use="optional"/>
45 </xsd:complexType>
47 <!-- empty -->
48 <xsd:complexType name="empty">
49 <xsd:complexContent>
50 <xsd:restriction base="xsd:anyType"/>
51 </xsd:complexContent>
52 </xsd:complexType>
54 <!-- item -->
55 <xsd:complexType name="item">
56 <xsd:sequence>
57 <xsd:element name="action">
58 <xsd:complexType>
59 <xsd:all>
60 <xsd:element minOccurs="0" name="execute" type="xsd:string"/>
61 <xsd:element minOccurs="0" name="startupnotify" type="ob:notify"/>
62 <xsd:element minOccurs="0" name="command" type="xsd:string"/>
63 <xsd:element minOccurs="0" name="allDesktops" type="ob:bool"/>
64 <xsd:element minOccurs="0" name="menu" type="xsd:string"/>
65 <xsd:element minOccurs="0" name="delta" type="xsd:integer"/>
66 <xsd:element minOccurs="0" name="x" type="xsd:integer"/>
67 <xsd:element minOccurs="0" name="y" type="xsd:integer"/>
68 <xsd:element minOccurs="0" name="left" type="xsd:integer"/>
69 <xsd:element minOccurs="0" name="right" type="xsd:integer"/>
70 <xsd:element minOccurs="0" name="up" type="xsd:integer"/>
71 <xsd:element minOccurs="0" name="down" type="xsd:integer"/>
72 <xsd:element minOccurs="0" name="desktop">
73 <xsd:simpleType>
74 <xsd:union memberTypes="xsd:integer ob:bool"/>
75 </xsd:simpleType>
76 </xsd:element>
77 <xsd:element minOccurs="0" name="edge" type="xsd:string"/>
78 <xsd:element minOccurs="0" name="wrap" type="ob:bool"/>
79 <xsd:element minOccurs="0" name="follow" type="ob:bool"/>
80 <xsd:element minOccurs="0" name="dialog" type="ob:bool"/>
81 <xsd:element minOccurs="0" name="panels" type="ob:bool"/>
82 <xsd:element minOccurs="0" name="here" type="ob:bool"/>
83 <xsd:element minOccurs="0" name="linear" type="ob:bool"/>
84 <xsd:element minOccurs="0" name="group" type="ob:bool"/>
85 </xsd:all>
86 <xsd:attribute name="name" type="ob:actionname" use="required"/>
87 </xsd:complexType>
88 </xsd:element>
89 </xsd:sequence>
90 <xsd:attribute name="label" type="xsd:string" use="required"/>
91 </xsd:complexType>
93 <!-- startupnotify -->
94 <xsd:complexType name="startupnotify">
95 <xsd:all>
96 <xsd:element minOccurs="1" name="enabled" type="xsd:string"/>
97 <xsd:element minOccurs="0" name="icon" type="xsd:string"/>
98 <xsd:element minOccurs="0" name="wmclass" type="xsd:string"/>
99 </xsd:all>
100 </xsd:complexType>
101 <xsd:simpleType name="bool">
102 <!-- this is copied to maximization. Keep that in sync. -->
103 <xsd:restriction base="xsd:string">
104 <xsd:enumeration value="yes"/>
105 <xsd:enumeration value="no"/>
106 <xsd:enumeration value="true"/>
107 <xsd:enumeration value="false"/>
108 <xsd:enumeration value="on"/>
109 <xsd:enumeration value="off"/>
110 </xsd:restriction>
111 </xsd:simpleType>
112 <xsd:complexType name="notify">
113 <xsd:all>
114 <xsd:element minOccurs="0" name="enabled" type="ob:bool"/>
115 <xsd:element minOccurs="0" name="name" type="xsd:string"/>
116 <xsd:element minOccurs="0" name="icon" type="xsd:string"/>
117 </xsd:all>
118 </xsd:complexType>
119 <!--
120 simple types / restrictions
122 <xsd:simpleType name="actionname">
123 <xsd:restriction base="xsd:string">
124 <xsd:pattern value="[Aa][Cc][Tt][Ii][Vv][Aa][Tt][Ee]"/>
125 <xsd:pattern value="[Bb][Rr][Ee][Aa][Kk][Cc][Hh][Rr][Oo][Oo][Tt]"/>
126 <xsd:pattern value="[Cc][Ll][Oo][Ss][Ee]"/>
127 <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp]"/>
128 <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp][Dd][Oo][Ww][Nn]"/>
129 <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp][Ll][Aa][Ss][Tt]"/>
130 <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp][Ll][Ee][Ff][Tt]"/>
131 <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp][Nn][Ee][Xx][Tt]"/>
132 <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp][Pp][Rr][Ee][Vv][Ii][Oo][Uu][Ss]"/>
133 <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp][Rr][Ii][Gg][Hh][Tt]"/>
134 <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp][Uu][Pp]"/>
135 <xsd:pattern value="[Dd][Ii][Rr][Ee][Cc][Tt][Ii][Oo][Nn][Aa][Ll][Ff][Oo][Cc][Uu][Ss][Ee][Aa][Ss][Tt]"/>
136 <xsd:pattern value="[Dd][Ii][Rr][Ee][Cc][Tt][Ii][Oo][Nn][Aa][Ll][Ff][Oo][Cc][Uu][Ss][Nn][Oo][Rr][Tt][Hh]"/>
137 <xsd:pattern value="[Dd][Ii][Rr][Ee][Cc][Tt][Ii][Oo][Nn][Aa][Ll][Ff][Oo][Cc][Uu][Ss][Nn][Oo][Rr][Tt][Hh][Ee][Aa][Ss][Tt]"/>
138 <xsd:pattern value="[Dd][Ii][Rr][Ee][Cc][Tt][Ii][Oo][Nn][Aa][Ll][Ff][Oo][Cc][Uu][Ss][Nn][Oo][Rr][Tt][Hh][Ww][Ee][Ss][Tt]"/>
139 <xsd:pattern value="[Dd][Ii][Rr][Ee][Cc][Tt][Ii][Oo][Nn][Aa][Ll][Ff][Oo][Cc][Uu][Ss][Ss][Oo][Uu][Tt][Hh]"/>
140 <xsd:pattern value="[Dd][Ii][Rr][Ee][Cc][Tt][Ii][Oo][Nn][Aa][Ll][Ff][Oo][Cc][Uu][Ss][Ss][Oo][Uu][Tt][Hh][Ee][Aa][Ss][Tt]"/>
141 <xsd:pattern value="[Dd][Ii][Rr][Ee][Cc][Tt][Ii][Oo][Nn][Aa][Ll][Ff][Oo][Cc][Uu][Ss][Ss][Oo][Uu][Tt][Hh][Ww][Ee][Ss][Tt]"/>
142 <xsd:pattern value="[Dd][Ii][Rr][Ee][Cc][Tt][Ii][Oo][Nn][Aa][Ll][Ff][Oo][Cc][Uu][Ss][Ww][Ee][Ss][Tt]"/>
143 <xsd:pattern value="[Ee][Xx][Ee][Cc][Uu][Tt][Ee]"/>
144 <xsd:pattern value="[Ee][Xx][Ii][Tt]"/>
145 <xsd:pattern value="[Ss][Ee][Ss][Ss][Ii][Oo][Nn][Ll][Oo][Gg][Oo][Uu][Tt]"/>
146 <xsd:pattern value="[Ff][Oo][Cc][Uu][Ss]"/>
147 <xsd:pattern value="[Ff][Oo][Cc][Uu][Ss][Tt][Oo][Bb][Oo][Tt][Tt][Oo][Mm]"/>
148 <xsd:pattern value="[Gg][Rr][Oo][Ww][Tt][Oo][Ee][Dd][Gg][Ee][Ee][Aa][Ss][Tt]"/>
149 <xsd:pattern value="[Gg][Rr][Oo][Ww][Tt][Oo][Ee][Dd][Gg][Ee][Nn][Oo][Rr][Tt][Hh]"/>
150 <xsd:pattern value="[Gg][Rr][Oo][Ww][Tt][Oo][Ee][Dd][Gg][Ee][Ss][Oo][Uu][Tt][Hh]"/>
151 <xsd:pattern value="[Gg][Rr][Oo][Ww][Tt][Oo][Ee][Dd][Gg][Ee][Ww][Ee][Ss][Tt]"/>
152 <xsd:pattern value="[Ii][Cc][Oo][Nn][Ii][Ff][Yy]"/>
153 <xsd:pattern value="[Kk][Ii][Ll][Ll]"/>
154 <xsd:pattern value="[Ll][Oo][Ww][Ee][Rr]"/>
155 <xsd:pattern value="[Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Ff][Uu][Ll][Ll]"/>
156 <xsd:pattern value="[Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Hh][Oo][Rr][Zz]"/>
157 <xsd:pattern value="[Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Vv][Ee][Rr][Tt]"/>
158 <xsd:pattern value="[Mm][Oo][Vv][Ee]"/>
159 <xsd:pattern value="[Mm][Oo][Vv][Ee][Rr][Ee][Ll][Aa][Tt][Ii][Vv][Ee]"/>
160 <xsd:pattern value="[Mm][Oo][Vv][Ee][Rr][Ee][Ll][Aa][Tt][Ii][Vv][Ee][Hh][Oo][Rr][Zz]"/>
161 <xsd:pattern value="[Mm][Oo][Vv][Ee][Rr][Ee][Ll][Aa][Tt][Ii][Vv][Ee][Vv][Ee][Rr][Tt]"/>
162 <xsd:pattern value="[Mm][Oo][Vv][Ee][Tt][Oo][Cc][Ee][Nn][Tt][Ee][Rr]"/>
163 <xsd:pattern value="[Mm][Oo][Vv][Ee][Ff][Rr][Oo][Mm][Ee][Dd][Gg][Ee][Ee][Aa][Ss][Tt]"/>
164 <xsd:pattern value="[Mm][Oo][Vv][Ee][Ff][Rr][Oo][Mm][Ee][Dd][Gg][Ee][Nn][Oo][Rr][Tt][Hh]"/>
165 <xsd:pattern value="[Mm][Oo][Vv][Ee][Ff][Rr][Oo][Mm][Ee][Dd][Gg][Ee][Ss][Oo][Uu][Tt][Hh]"/>
166 <xsd:pattern value="[Mm][Oo][Vv][Ee][Ff][Rr][Oo][Mm][Ee][Dd][Gg][Ee][Ww][Ee][Ss][Tt]"/>
167 <xsd:pattern value="[Mm][Oo][Vv][Ee][Tt][Oo][Ee][Dd][Gg][Ee][Ee][Aa][Ss][Tt]"/>
168 <xsd:pattern value="[Mm][Oo][Vv][Ee][Tt][Oo][Ee][Dd][Gg][Ee][Nn][Oo][Rr][Tt][Hh]"/>
169 <xsd:pattern value="[Mm][Oo][Vv][Ee][Tt][Oo][Ee][Dd][Gg][Ee][Ss][Oo][Uu][Tt][Hh]"/>
170 <xsd:pattern value="[Mm][Oo][Vv][Ee][Tt][Oo][Ee][Dd][Gg][Ee][Ww][Ee][Ss][Tt]"/>
171 <xsd:pattern value="[Nn][Ee][Xx][Tt][Ww][Ii][Nn][Dd][Oo][Ww]"/>
172 <xsd:pattern value="[Pp][Rr][Ee][Vv][Ii][Oo][Uu][Ss][Ww][Ii][Nn][Dd][Oo][Ww]"/>
173 <xsd:pattern value="[Rr][Aa][Ii][Ss][Ee]"/>
174 <xsd:pattern value="[Rr][Aa][Ii][Ss][Ee][Ll][Oo][Ww][Ee][Rr]"/>
175 <xsd:pattern value="[Rr][Ee][Cc][Oo][Nn][Ff][Ii][Gg][Uu][Rr][Ee]"/>
176 <xsd:pattern value="[Rr][Ee][Ss][Ii][Zz][Ee]"/>
177 <xsd:pattern value="[Rr][Ee][Ss][Ii][Zz][Ee][Rr][Ee][Ll][Aa][Tt][Ii][Vv][Ee]"/>
178 <xsd:pattern value="[Rr][Ee][Ss][Ii][Zz][Ee][Rr][Ee][Ll][Aa][Tt][Ii][Vv][Ee][Hh][Oo][Rr][Zz]"/>
179 <xsd:pattern value="[Rr][Ee][Ss][Ii][Zz][Ee][Rr][Ee][Ll][Aa][Tt][Ii][Vv][Ee][Vv][Ee][Rr][Tt]"/>
180 <xsd:pattern value="[Rr][Ee][Ss][Tt][Aa][Rr][Tt]"/>
181 <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Bb][Oo][Tt][Tt][Oo][Mm][Ll][Aa][Yy][Ee][Rr]"/>
182 <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Dd][Ee][Ss][Kk][Tt][Oo][Pp]"/>
183 <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Dd][Ee][Ss][Kk][Tt][Oo][Pp][Dd][Oo][Ww][Nn]"/>
184 <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Dd][Ee][Ss][Kk][Tt][Oo][Pp][Ll][Ee][Ff][Tt]"/>
185 <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Dd][Ee][Ss][Kk][Tt][Oo][Pp][Nn][Ee][Xx][Tt]"/>
186 <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Dd][Ee][Ss][Kk][Tt][Oo][Pp][Pp][Rr][Ee][Vv][Ii][Oo][Uu][Ss]"/>
187 <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Dd][Ee][Ss][Kk][Tt][Oo][Pp][Rr][Ii][Gg][Hh][Tt]"/>
188 <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Dd][Ee][Ss][Kk][Tt][Oo][Pp][Uu][Pp]"/>
189 <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Nn][Oo][Rr][Mm][Aa][Ll][Ll][Aa][Yy][Ee][Rr]"/>
190 <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Tt][Oo][Pp][Ll][Aa][Yy][Ee][Rr]"/>
191 <xsd:pattern value="[Ss][Hh][Aa][Dd][Ee]"/>
192 <xsd:pattern value="[Ss][Hh][Aa][Dd][Ee][Ll][Oo][Ww][Ee][Rr]"/>
193 <xsd:pattern value="[Ss][Hh][Oo][Ww][Dd][Ee][Ss][Kk][Tt][Oo][Pp]"/>
194 <xsd:pattern value="[Ss][Hh][Oo][Ww][Mm][Ee][Nn][Uu]"/>
195 <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Aa][Ll][Ww][Aa][Yy][Ss][Oo][Nn][Bb][Oo][Tt][Tt][Oo][Mm]"/>
196 <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Aa][Ll][Ww][Aa][Yy][Ss][Oo][Nn][Tt][Oo][Pp]"/>
197 <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Dd][Ee][Cc][Oo][Rr][Aa][Tt][Ii][Oo][Nn][Ss]"/>
198 <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Dd][Oo][Cc][Kk][Aa][Uu][Tt][Oo][Hh][Ii][Dd][Ee]"/>
199 <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Ff][Uu][Ll][Ll][Ss][Cc][Rr][Ee][Ee][Nn]"/>
200 <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Ff][Uu][Ll][Ll]"/>
201 <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Hh][Oo][Rr][Zz]"/>
202 <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Vv][Ee][Rr][Tt]"/>
203 <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Oo][Mm][Nn][Ii][Pp][Rr][Ee][Ss][Ee][Nn][Tt]"/>
204 <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Ss][Hh][Aa][Dd][Ee]"/>
205 <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Ss][Hh][Oo][Ww][Dd][Ee][Ss][Kk][Tt][Oo][Pp]"/>
206 <xsd:pattern value="[Uu][Nn][Ff][Oo][Cc][Uu][Ss]"/>
207 <xsd:pattern value="[Uu][Nn][Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Ff][Uu][Ll][Ll]"/>
208 <xsd:pattern value="[Uu][Nn][Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Hh][Oo][Rr][Zz]"/>
209 <xsd:pattern value="[Uu][Nn][Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Vv][Ee][Rr][Tt]"/>
210 <xsd:pattern value="[Uu][Nn][Ss][Hh][Aa][Dd][Ee]"/>
211 <xsd:pattern value="[Uu][Nn][Ss][Hh][Aa][Dd][Ee][Rr][Aa][Ii][Ss][Ee]"/>
212 <xsd:pattern value="[Uu][Nn][Ss][Hh][Oo][Ww][Dd][Ee][Ss][Kk][Tt][Oo][Pp]"/>
213 </xsd:restriction>
214 </xsd:simpleType>
215 </xsd:schema>