]> Dogcows Code - chaz/openbox/blob - data/rc.xsd
Fixing commit 066a15d7aa64eaa0. Don't ever use CurrentTime as event_curtime.
[chaz/openbox] / data / rc.xsd
1 <?xml version="1.0" encoding="UTF-8"?> <!-- -*- nxml -*- -->
2
3 <!-- XML Schema for the Openbox window manager configuration file -->
4
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">
10 ]>
11
12 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
13 targetNamespace="http://openbox.org/4.0/rc"
14 xmlns:ob="http://openbox.org/4.0/rc"
15 elementFormDefault="qualified"
16 attributeFormDefault="unqualified">
17 <!--
18 root node
19 -->
20 <xsd:element name="openbox_config">
21 <xsd:annotation>
22 <xsd:documentation>all these elements are expected in a openbox config file</xsd:documentation>
23 </xsd:annotation>
24 <xsd:complexType>
25 <xsd:all>
26 <xsd:element name="resistance" type="ob:resistance"/>
27 <xsd:element name="focus" type="ob:focus"/>
28 <xsd:element name="placement" type="ob:placement"/>
29 <xsd:element name="theme" type="ob:theme"/>
30 <xsd:element name="desktops" type="ob:desktops"/>
31 <xsd:element name="resize" type="ob:resize"/>
32 <xsd:element minOccurs="0" name="margins" type="ob:margins"/>
33 <xsd:element name="dock" type="ob:dock"/>
34 <xsd:element name="keyboard" type="ob:keyboard"/>
35 <xsd:element name="mouse" type="ob:mouse"/>
36 <xsd:element name="menu" type="ob:menu"/>
37 <xsd:element name="applications" type="ob:applications"/>
38 </xsd:all>
39 </xsd:complexType>
40 </xsd:element>
41 <!--
42 complex types
43 -->
44 <xsd:complexType name="resistance">
45 <xsd:annotation>
46 <xsd:documentation>defines behaviour of windows when close to each other or the screen edge</xsd:documentation>
47 </xsd:annotation>
48 <xsd:all>
49 <xsd:element minOccurs="0" name="strength" type="xsd:integer"/>
50 <xsd:element minOccurs="0" name="screen_edge_strength" type="xsd:integer"/>
51 </xsd:all>
52 </xsd:complexType>
53 <xsd:complexType name="focus">
54 <xsd:annotation>
55 <xsd:documentation>defines aspects of window focus</xsd:documentation>
56 </xsd:annotation>
57 <xsd:all>
58 <xsd:element minOccurs="0" name="focusNew" type="ob:bool"/>
59 <xsd:element minOccurs="0" name="focusLast" type="ob:bool"/>
60 <xsd:element minOccurs="0" name="followMouse" type="ob:bool"/>
61 <xsd:element minOccurs="0" name="underMouse" type="ob:bool"/>
62 <xsd:element minOccurs="0" name="focusDelay" type="xsd:integer"/>
63 <xsd:element minOccurs="0" name="raiseOnFocus" type="ob:bool"/>
64 <xsd:element minOccurs="0" name="unfocusOnLeave" type="ob:bool"/>
65 </xsd:all>
66 </xsd:complexType>
67 <xsd:complexType name="placement">
68 <xsd:annotation>
69 <xsd:documentation>defines how new windows are placed</xsd:documentation>
70 </xsd:annotation>
71 <xsd:sequence>
72 <xsd:element minOccurs="0" name="policy" type="ob:placementpolicy"/>
73 <xsd:element minOccurs="0" name="center" type="ob:bool"/>
74 <xsd:element minOccurs="0" name="monitor" type="ob:placementmonitor"/>
75 </xsd:sequence>
76 </xsd:complexType>
77 <xsd:complexType name="margins">
78 <xsd:annotation>
79 <xsd:documentation>defines desktop margins</xsd:documentation>
80 </xsd:annotation>
81 <xsd:all>
82 <xsd:element minOccurs="0" name="top" type="xsd:integer"/>
83 <xsd:element minOccurs="0" name="left" type="xsd:integer"/>
84 <xsd:element minOccurs="0" name="right" type="xsd:integer"/>
85 <xsd:element minOccurs="0" name="bottom" type="xsd:integer"/>
86 </xsd:all>
87 </xsd:complexType>
88 <xsd:complexType name="theme">
89 <xsd:sequence>
90 <xsd:element minOccurs="0" name="name" type="xsd:string"/>
91 <xsd:element minOccurs="0" name="titleLayout" type="xsd:string"/>
92 <xsd:element minOccurs="0" name="keepBorder" type="ob:bool"/>
93 <xsd:element minOccurs="0" name="animateIconify" type="ob:bool"/>
94 <xsd:element minOccurs="0" maxOccurs="unbounded" name="font" type="ob:font"/>
95 </xsd:sequence>
96 </xsd:complexType>
97 <xsd:complexType name="font">
98 <xsd:all>
99 <xsd:element minOccurs="0" name="name" type="xsd:string"/>
100 <xsd:element minOccurs="0" name="size" type="xsd:integer"/>
101 <xsd:element minOccurs="0" name="weight" type="ob:fontweight"/>
102 <xsd:element minOccurs="0" name="slant" type="ob:fontslant"/>
103 </xsd:all>
104 <xsd:attribute name="place" type="ob:fontplace" use="required"/>
105 </xsd:complexType>
106 <xsd:complexType name="desktops">
107 <xsd:annotation>
108 <xsd:documentation>defines the number and names of desktops</xsd:documentation>
109 </xsd:annotation>
110 <xsd:all>
111 <xsd:element minOccurs="0" name="number" type="xsd:integer"/>
112 <xsd:element minOccurs="0" name="firstdesk" type="xsd:integer"/>
113 <xsd:element minOccurs="0" name="names">
114 <xsd:complexType>
115 <xsd:sequence>
116 <xsd:element minOccurs="0" maxOccurs="unbounded" name="name" type="xsd:string"/>
117 </xsd:sequence>
118 </xsd:complexType>
119 </xsd:element>
120 <xsd:element minOccurs="0" name="popupTime" type="xsd:integer"/>
121 </xsd:all>
122 </xsd:complexType>
123 <xsd:complexType name="resize">
124 <xsd:all>
125 <xsd:element minOccurs="0" name="drawContents" type="ob:bool"/>
126 <xsd:element minOccurs="0" name="popupShow" type="ob:popupshow"/>
127 <xsd:element minOccurs="0" name="popupPosition" type="ob:popupposition"/>
128 <xsd:element minOccurs="0" name="popupFixedPosition" type="ob:popupfixedposition"/>
129 </xsd:all>
130 </xsd:complexType>
131 <xsd:complexType name="popupfixedposition">
132 <xsd:all>
133 <xsd:element minOccurs="0" name="x" type="ob:center_or_int"/>
134 <xsd:element minOccurs="0" name="y" type="ob:center_or_int"/>
135 </xsd:all>
136 </xsd:complexType>
137 <xsd:complexType name="dock">
138 <xsd:all>
139 <xsd:element minOccurs="0" name="position" type="ob:dock_position"/>
140 <xsd:element minOccurs="0" name="floatingX" type="xsd:integer"/>
141 <xsd:element minOccurs="0" name="floatingY" type="xsd:integer"/>
142 <xsd:element minOccurs="0" name="noStrut" type="ob:bool"/>
143 <xsd:element minOccurs="0" name="stacking" type="ob:layer"/>
144 <xsd:element minOccurs="0" name="direction" type="ob:direction"/>
145 <xsd:element minOccurs="0" name="autoHide" type="ob:bool"/>
146 <xsd:element minOccurs="0" name="hideDelay" type="xsd:integer"/>
147 <xsd:element minOccurs="0" name="showDelay" type="xsd:integer"/>
148 <xsd:element minOccurs="0" name="moveButton" type="ob:button"/>
149 </xsd:all>
150 </xsd:complexType>
151 <xsd:complexType name="action">
152 <xsd:all>
153 <xsd:element minOccurs="0" name="execute" type="xsd:string"/>
154 <xsd:element minOccurs="0" name="startupnotify" type="ob:notify"/>
155 <xsd:element minOccurs="0" name="command" type="xsd:string"/>
156 <xsd:element minOccurs="0" name="allDesktops" type="ob:bool"/>
157 <xsd:element minOccurs="0" name="menu" type="xsd:string"/>
158 <xsd:element minOccurs="0" name="delta" type="xsd:integer"/>
159 <xsd:element minOccurs="0" name="x" type="xsd:integer"/>
160 <xsd:element minOccurs="0" name="y" type="xsd:integer"/>
161 <xsd:element minOccurs="0" name="left" type="xsd:integer"/>
162 <xsd:element minOccurs="0" name="right" type="xsd:integer"/>
163 <xsd:element minOccurs="0" name="up" type="xsd:integer"/>
164 <xsd:element minOccurs="0" name="down" type="xsd:integer"/>
165 <xsd:element minOccurs="0" name="desktop">
166 <xsd:simpleType>
167 <xsd:union memberTypes="xsd:integer ob:bool"/>
168 </xsd:simpleType>
169 </xsd:element>
170 <xsd:element minOccurs="0" name="edge" type="xsd:string"/>
171 <xsd:element minOccurs="0" name="wrap" type="ob:bool"/>
172 <xsd:element minOccurs="0" name="follow" type="ob:bool"/>
173 <xsd:element minOccurs="0" name="dialog" type="ob:bool"/>
174 <xsd:element minOccurs="0" name="panels" type="ob:bool"/>
175 <xsd:element minOccurs="0" name="here" type="ob:bool"/>
176 <xsd:element minOccurs="0" name="linear" type="ob:bool"/>
177 <xsd:element minOccurs="0" name="group" type="ob:bool"/>
178 </xsd:all>
179 <xsd:attribute name="name" type="ob:actionname" use="required"/>
180 </xsd:complexType>
181 <xsd:complexType name="keybind">
182 <xsd:choice>
183 <xsd:element maxOccurs="unbounded" name="action" type="ob:action"/>
184 <xsd:element maxOccurs="unbounded" name="keybind" type="ob:keybind"/>
185 </xsd:choice>
186 <xsd:attribute name="chroot" type="ob:bool"/>
187 <xsd:attribute name="key" type="ob:keyname" use="required"/>
188 </xsd:complexType>
189 <xsd:complexType name="keyboard">
190 <xsd:sequence>
191 <xsd:element minOccurs="0" name="chainQuitKey" type="ob:keyname"/>
192 <xsd:element maxOccurs="unbounded" name="keybind" type="ob:keybind"/>
193 </xsd:sequence>
194 </xsd:complexType>
195 <xsd:complexType name="mousebind">
196 <xsd:sequence>
197 <xsd:element maxOccurs="unbounded" name="action" type="ob:action"/>
198 </xsd:sequence>
199 <xsd:attribute name="action" type="ob:mouseaction" use="required"/>
200 <xsd:attribute name="button" type="ob:button" use="required"/>
201 </xsd:complexType>
202 <xsd:complexType name="context">
203 <xsd:sequence>
204 <xsd:element maxOccurs="unbounded" name="mousebind" type="ob:mousebind"/>
205 </xsd:sequence>
206 <xsd:attribute name="name" type="ob:contextname" use="required"/>
207 </xsd:complexType>
208 <xsd:complexType name="mouse">
209 <xsd:sequence>
210 <xsd:element minOccurs="0" name="dragThreshold" type="xsd:integer"/>
211 <xsd:element minOccurs="0" name="doubleClickTime" type="xsd:integer"/>
212 <xsd:element minOccurs="0" name="screenEdgeWarpTime" type="xsd:integer"/>
213 <xsd:element minOccurs="0" name="screenEdgeWarpMouse" type="ob:bool"/>
214 <xsd:element maxOccurs="unbounded" name="context" type="ob:context"/>
215 </xsd:sequence>
216 </xsd:complexType>
217 <xsd:complexType name="menu">
218 <xsd:sequence>
219 <xsd:element maxOccurs="unbounded" name="file" type="xsd:string"/>
220 <xsd:element minOccurs="0" name="hideDelay" type="xsd:integer"/>
221 <xsd:element minOccurs="0" name="middle" type="ob:bool"/>
222 <xsd:element minOccurs="0" name="submenuShowDelay" type="xsd:integer"/>
223 <xsd:element minOccurs="0" name="showIcons" type="ob:bool"/>
224 <xsd:element minOccurs="0" name="manageDesktops" type="ob:bool"/>
225 </xsd:sequence>
226 </xsd:complexType>
227 <xsd:complexType name="window_position">
228 <xsd:all>
229 <xsd:element name="x" type="ob:center_or_int"/>
230 <xsd:element name="y" type="ob:center_or_int"/>
231 <xsd:element minOccurs="0" name="monitor" type="ob:mouse_or_int"/>
232 <xsd:element minOccurs="0" name="head" type="xsd:string"/>
233 </xsd:all>
234 <xsd:attribute name="force" type="ob:bool"/>
235 </xsd:complexType>
236 <xsd:complexType name="application">
237 <xsd:all>
238 <xsd:element minOccurs="0" name="decor" type="ob:bool"/>
239 <xsd:element minOccurs="0" name="shade" type="ob:bool"/>
240 <xsd:element minOccurs="0" name="position" type="ob:window_position"/>
241 <xsd:element minOccurs="0" name="focus" type="xsd:string"/>
242 <xsd:element minOccurs="0" name="desktop" type="xsd:integer"/>
243 <xsd:element minOccurs="0" name="layer" type="ob:layer"/>
244 <xsd:element minOccurs="0" name="iconic" type="ob:bool"/>
245 <xsd:element minOccurs="0" name="skip_pager" type="ob:bool"/>
246 <xsd:element minOccurs="0" name="skip_taskbar" type="ob:bool"/>
247 <xsd:element minOccurs="0" name="fullscreen" type="ob:bool"/>
248 <xsd:element minOccurs="0" name="maximized" type="ob:maximization"/>
249 </xsd:all>
250 <!-- at least one of these must be present -->
251 <xsd:attribute name="role" type="xsd:string"/>
252 <xsd:attribute name="title" type="xsd:string"/>
253 <xsd:attribute name="type" type="ob:clienttype"/>
254 <xsd:attribute name="name" type="xsd:string"/>
255 <xsd:attribute name="class" type="xsd:string"/>
256 </xsd:complexType>
257 <xsd:complexType name="applications">
258 <xsd:sequence>
259 <xsd:element minOccurs="0" maxOccurs="unbounded" name="application" type="ob:application"/>
260 </xsd:sequence>
261 </xsd:complexType>
262 <xsd:complexType name="notify">
263 <xsd:all>
264 <xsd:element minOccurs="0" name="enabled" type="ob:bool"/>
265 <xsd:element minOccurs="0" name="name" type="xsd:string"/>
266 <xsd:element minOccurs="0" name="icon" type="xsd:string"/>
267 </xsd:all>
268 </xsd:complexType>
269 <!--
270 simple types / restrictions
271 -->
272 <xsd:simpleType name="actionname">
273 <xsd:restriction base="xsd:string">
274 <xsd:pattern value="[Ii][Ff]"/>
275 <xsd:pattern value="[Aa][Cc][Tt][Ii][Vv][Aa][Tt][Ee]"/>
276 <xsd:pattern value="[Bb][Rr][Ee][Aa][Kk][Cc][Hh][Rr][Oo][Oo][Tt]"/>
277 <xsd:pattern value="[Cc][Ll][Oo][Ss][Ee]"/>
278 <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp]"/>
279 <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp][Dd][Oo][Ww][Nn]"/>
280 <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp][Ll][Aa][Ss][Tt]"/>
281 <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp][Ll][Ee][Ff][Tt]"/>
282 <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp][Nn][Ee][Xx][Tt]"/>
283 <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp][Pp][Rr][Ee][Vv][Ii][Oo][Uu][Ss]"/>
284 <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp][Rr][Ii][Gg][Hh][Tt]"/>
285 <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp][Uu][Pp]"/>
286 <xsd:pattern value="[Dd][Ii][Rr][Ee][Cc][Tt][Ii][Oo][Nn][Aa][Ll][Ff][Oo][Cc][Uu][Ss][Ee][Aa][Ss][Tt]"/>
287 <xsd:pattern value="[Dd][Ii][Rr][Ee][Cc][Tt][Ii][Oo][Nn][Aa][Ll][Ff][Oo][Cc][Uu][Ss][Nn][Oo][Rr][Tt][Hh]"/>
288 <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]"/>
289 <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]"/>
290 <xsd:pattern value="[Dd][Ii][Rr][Ee][Cc][Tt][Ii][Oo][Nn][Aa][Ll][Ff][Oo][Cc][Uu][Ss][Ss][Oo][Uu][Tt][Hh]"/>
291 <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]"/>
292 <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]"/>
293 <xsd:pattern value="[Dd][Ii][Rr][Ee][Cc][Tt][Ii][Oo][Nn][Aa][Ll][Ff][Oo][Cc][Uu][Ss][Ww][Ee][Ss][Tt]"/>
294 <xsd:pattern value="[Ee][Xx][Ee][Cc][Uu][Tt][Ee]"/>
295 <xsd:pattern value="[Ee][Xx][Ii][Tt]"/>
296 <xsd:pattern value="[Ss][Ee][Ss][Ss][Ii][Oo][Nn][Ll][Oo][Gg][Oo][Uu][Tt]"/>
297 <xsd:pattern value="[Ff][Oo][Cc][Uu][Ss]"/>
298 <xsd:pattern value="[Ff][Oo][Cc][Uu][Ss][Tt][Oo][Bb][Oo][Tt][Tt][Oo][Mm]"/>
299 <xsd:pattern value="[Gg][Rr][Oo][Ww][Tt][Oo][Ee][Dd][Gg][Ee][Ee][Aa][Ss][Tt]"/>
300 <xsd:pattern value="[Gg][Rr][Oo][Ww][Tt][Oo][Ee][Dd][Gg][Ee][Nn][Oo][Rr][Tt][Hh]"/>
301 <xsd:pattern value="[Gg][Rr][Oo][Ww][Tt][Oo][Ee][Dd][Gg][Ee][Ss][Oo][Uu][Tt][Hh]"/>
302 <xsd:pattern value="[Gg][Rr][Oo][Ww][Tt][Oo][Ee][Dd][Gg][Ee][Ww][Ee][Ss][Tt]"/>
303 <xsd:pattern value="[Ii][Cc][Oo][Nn][Ii][Ff][Yy]"/>
304 <xsd:pattern value="[Kk][Ii][Ll][Ll]"/>
305 <xsd:pattern value="[Ll][Oo][Ww][Ee][Rr]"/>
306 <xsd:pattern value="[Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Ff][Uu][Ll][Ll]"/>
307 <xsd:pattern value="[Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Hh][Oo][Rr][Zz]"/>
308 <xsd:pattern value="[Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Vv][Ee][Rr][Tt]"/>
309 <xsd:pattern value="[Mm][Oo][Vv][Ee]"/>
310 <xsd:pattern value="[Mm][Oo][Vv][Ee][Rr][Ee][Ll][Aa][Tt][Ii][Vv][Ee]"/>
311 <xsd:pattern value="[Mm][Oo][Vv][Ee][Rr][Ee][Ll][Aa][Tt][Ii][Vv][Ee][Hh][Oo][Rr][Zz]"/>
312 <xsd:pattern value="[Mm][Oo][Vv][Ee][Rr][Ee][Ll][Aa][Tt][Ii][Vv][Ee][Vv][Ee][Rr][Tt]"/>
313 <xsd:pattern value="[Mm][Oo][Vv][Ee][Tt][Oo][Cc][Ee][Nn][Tt][Ee][Rr]"/>
314 <xsd:pattern value="[Mm][Oo][Vv][Ee][Ff][Rr][Oo][Mm][Ee][Dd][Gg][Ee][Ee][Aa][Ss][Tt]"/>
315 <xsd:pattern value="[Mm][Oo][Vv][Ee][Ff][Rr][Oo][Mm][Ee][Dd][Gg][Ee][Nn][Oo][Rr][Tt][Hh]"/>
316 <xsd:pattern value="[Mm][Oo][Vv][Ee][Ff][Rr][Oo][Mm][Ee][Dd][Gg][Ee][Ss][Oo][Uu][Tt][Hh]"/>
317 <xsd:pattern value="[Mm][Oo][Vv][Ee][Ff][Rr][Oo][Mm][Ee][Dd][Gg][Ee][Ww][Ee][Ss][Tt]"/>
318 <xsd:pattern value="[Mm][Oo][Vv][Ee][Tt][Oo][Ee][Dd][Gg][Ee][Ee][Aa][Ss][Tt]"/>
319 <xsd:pattern value="[Mm][Oo][Vv][Ee][Tt][Oo][Ee][Dd][Gg][Ee][Nn][Oo][Rr][Tt][Hh]"/>
320 <xsd:pattern value="[Mm][Oo][Vv][Ee][Tt][Oo][Ee][Dd][Gg][Ee][Ss][Oo][Uu][Tt][Hh]"/>
321 <xsd:pattern value="[Mm][Oo][Vv][Ee][Tt][Oo][Ee][Dd][Gg][Ee][Ww][Ee][Ss][Tt]"/>
322 <xsd:pattern value="[Nn][Ee][Xx][Tt][Ww][Ii][Nn][Dd][Oo][Ww]"/>
323 <xsd:pattern value="[Pp][Rr][Ee][Vv][Ii][Oo][Uu][Ss][Ww][Ii][Nn][Dd][Oo][Ww]"/>
324 <xsd:pattern value="[Rr][Aa][Ii][Ss][Ee]"/>
325 <xsd:pattern value="[Rr][Aa][Ii][Ss][Ee][Ll][Oo][Ww][Ee][Rr]"/>
326 <xsd:pattern value="[Rr][Ee][Cc][Oo][Nn][Ff][Ii][Gg][Uu][Rr][Ee]"/>
327 <xsd:pattern value="[Rr][Ee][Ss][Ii][Zz][Ee]"/>
328 <xsd:pattern value="[Rr][Ee][Ss][Ii][Zz][Ee][Rr][Ee][Ll][Aa][Tt][Ii][Vv][Ee]"/>
329 <xsd:pattern value="[Rr][Ee][Ss][Ii][Zz][Ee][Rr][Ee][Ll][Aa][Tt][Ii][Vv][Ee][Hh][Oo][Rr][Zz]"/>
330 <xsd:pattern value="[Rr][Ee][Ss][Ii][Zz][Ee][Rr][Ee][Ll][Aa][Tt][Ii][Vv][Ee][Vv][Ee][Rr][Tt]"/>
331 <xsd:pattern value="[Rr][Ee][Ss][Tt][Aa][Rr][Tt]"/>
332 <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Bb][Oo][Tt][Tt][Oo][Mm][Ll][Aa][Yy][Ee][Rr]"/>
333 <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Dd][Ee][Ss][Kk][Tt][Oo][Pp]"/>
334 <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Dd][Ee][Ss][Kk][Tt][Oo][Pp][Dd][Oo][Ww][Nn]"/>
335 <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Dd][Ee][Ss][Kk][Tt][Oo][Pp][Ll][Ee][Ff][Tt]"/>
336 <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Dd][Ee][Ss][Kk][Tt][Oo][Pp][Nn][Ee][Xx][Tt]"/>
337 <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Dd][Ee][Ss][Kk][Tt][Oo][Pp][Pp][Rr][Ee][Vv][Ii][Oo][Uu][Ss]"/>
338 <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Dd][Ee][Ss][Kk][Tt][Oo][Pp][Rr][Ii][Gg][Hh][Tt]"/>
339 <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Dd][Ee][Ss][Kk][Tt][Oo][Pp][Uu][Pp]"/>
340 <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Nn][Oo][Rr][Mm][Aa][Ll][Ll][Aa][Yy][Ee][Rr]"/>
341 <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Tt][Oo][Pp][Ll][Aa][Yy][Ee][Rr]"/>
342 <xsd:pattern value="[Ss][Hh][Aa][Dd][Ee]"/>
343 <xsd:pattern value="[Ss][Hh][Aa][Dd][Ee][Ll][Oo][Ww][Ee][Rr]"/>
344 <xsd:pattern value="[Ss][Hh][Oo][Ww][Dd][Ee][Ss][Kk][Tt][Oo][Pp]"/>
345 <xsd:pattern value="[Ss][Hh][Oo][Ww][Mm][Ee][Nn][Uu]"/>
346 <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Aa][Ll][Ww][Aa][Yy][Ss][Oo][Nn][Bb][Oo][Tt][Tt][Oo][Mm]"/>
347 <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Aa][Ll][Ww][Aa][Yy][Ss][Oo][Nn][Tt][Oo][Pp]"/>
348 <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Dd][Ee][Cc][Oo][Rr][Aa][Tt][Ii][Oo][Nn][Ss]"/>
349 <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Dd][Oo][Cc][Kk][Aa][Uu][Tt][Oo][Hh][Ii][Dd][Ee]"/>
350 <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Ff][Uu][Ll][Ll][Ss][Cc][Rr][Ee][Ee][Nn]"/>
351 <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Ff][Uu][Ll][Ll]"/>
352 <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Hh][Oo][Rr][Zz]"/>
353 <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Vv][Ee][Rr][Tt]"/>
354 <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Oo][Mm][Nn][Ii][Pp][Rr][Ee][Ss][Ee][Nn][Tt]"/>
355 <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Ss][Hh][Aa][Dd][Ee]"/>
356 <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Ss][Hh][Oo][Ww][Dd][Ee][Ss][Kk][Tt][Oo][Pp]"/>
357 <xsd:pattern value="[Uu][Nn][Ff][Oo][Cc][Uu][Ss]"/>
358 <xsd:pattern value="[Uu][Nn][Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Ff][Uu][Ll][Ll]"/>
359 <xsd:pattern value="[Uu][Nn][Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Hh][Oo][Rr][Zz]"/>
360 <xsd:pattern value="[Uu][Nn][Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Vv][Ee][Rr][Tt]"/>
361 <xsd:pattern value="[Uu][Nn][Ss][Hh][Aa][Dd][Ee]"/>
362 <xsd:pattern value="[Uu][Nn][Ss][Hh][Aa][Dd][Ee][Rr][Aa][Ii][Ss][Ee]"/>
363 <xsd:pattern value="[Uu][Nn][Ss][Hh][Oo][Ww][Dd][Ee][Ss][Kk][Tt][Oo][Pp]"/>
364 </xsd:restriction>
365 </xsd:simpleType>
366 <xsd:simpleType name="clienttype">
367 <xsd:restriction base="xsd:string">
368 <xsd:enumeration value="desktop"/>
369 <xsd:enumeration value="dock"/>
370 <xsd:enumeration value="toolbar"/>
371 <xsd:enumeration value="menu"/>
372 <xsd:enumeration value="splash"/>
373 <xsd:enumeration value="utility"/>
374 <xsd:enumeration value="dialog"/>
375 <xsd:enumeration value="normal"/>
376 </xsd:restriction>
377 </xsd:simpleType>
378 <xsd:simpleType name="bool">
379 <!-- this is copied to maximization. Keep that in sync. -->
380 <xsd:restriction base="xsd:string">
381 <xsd:enumeration value="yes"/>
382 <xsd:enumeration value="no"/>
383 <xsd:enumeration value="true"/>
384 <xsd:enumeration value="false"/>
385 <xsd:enumeration value="on"/>
386 <xsd:enumeration value="off"/>
387 </xsd:restriction>
388 </xsd:simpleType>
389 <xsd:simpleType name="fontplace">
390 <xsd:restriction base="xsd:string">
391 <xsd:enumeration value="ActiveWindow"/>
392 <xsd:enumeration value="InactiveWindow"/>
393 <xsd:enumeration value="MenuHeader"/>
394 <xsd:enumeration value="MenuItem"/>
395 <xsd:enumeration value="OnScreenDisplay"/>
396 </xsd:restriction>
397 </xsd:simpleType>
398 <xsd:simpleType name="fontweight">
399 <xsd:restriction base="xsd:string">
400 <xsd:enumeration value="normal"/>
401 <xsd:enumeration value="bold"/>
402 </xsd:restriction>
403 </xsd:simpleType>
404 <xsd:simpleType name="fontslant">
405 <xsd:restriction base="xsd:string">
406 <xsd:enumeration value="normal"/>
407 <xsd:enumeration value="italic"/>
408 <xsd:enumeration value="opaque"/>
409 </xsd:restriction>
410 </xsd:simpleType>
411 <xsd:simpleType name="button">
412 <xsd:restriction base="xsd:string">
413 <xsd:pattern value="(([ACMSW]|Mod[1-5])-){,5}(Left|Middle|Right|Up|Down|Button[0-9]+)"/>
414 </xsd:restriction>
415 </xsd:simpleType>
416 <xsd:simpleType name="center_or_int">
417 <xsd:restriction base="xsd:string">
418 <!-- ob: atoi($_) unless $_ eq 'center'; -->
419 <!-- I think the regexp DTRT WRT atoi. -->
420 <xsd:pattern value="center|-?(0|[1-9][0-9]*)"/>
421 </xsd:restriction>
422 </xsd:simpleType>
423 <xsd:simpleType name="mouse_or_int">
424 <xsd:restriction base="xsd:string">
425 <!-- ob: atoi($_) unless $_ eq 'center'; -->
426 <!-- I think the regexp DTRT WRT atoi. -->
427 <xsd:pattern value="mouse|0|[1-9][0-9]*"/>
428 </xsd:restriction>
429 </xsd:simpleType>
430 <xsd:simpleType name="contextname">
431 <xsd:restriction base="xsd:string">
432 <xsd:enumeration value="Desktop"/>
433 <xsd:enumeration value="Root"/>
434 <xsd:enumeration value="Client"/>
435 <xsd:enumeration value="Titlebar"/>
436 <xsd:enumeration value="Frame"/>
437 <xsd:enumeration value="TLCorner"/>
438 <xsd:enumeration value="TRCorner"/>
439 <xsd:enumeration value="BLCorner"/>
440 <xsd:enumeration value="BRCorner"/>
441 <xsd:enumeration value="Top"/>
442 <xsd:enumeration value="Left"/>
443 <xsd:enumeration value="Right"/>
444 <xsd:enumeration value="Bottom"/>
445 <xsd:enumeration value="Maximize"/>
446 <xsd:enumeration value="AllDesktops"/>
447 <xsd:enumeration value="Shade"/>
448 <xsd:enumeration value="Iconify"/>
449 <xsd:enumeration value="Icon"/>
450 <xsd:enumeration value="Close"/>
451 <xsd:enumeration value="MoveResize"/>
452 </xsd:restriction>
453 </xsd:simpleType>
454 <xsd:simpleType name="direction">
455 <xsd:restriction base="xsd:string">
456 <xsd:enumeration value="Horizontal"/>
457 <xsd:enumeration value="Vertical"/>
458 </xsd:restriction>
459 </xsd:simpleType>
460 <xsd:simpleType name="dock_position">
461 <xsd:restriction base="xsd:string">
462 <xsd:enumeration value="TopLeft"/>
463 <xsd:enumeration value="Top"/>
464 <xsd:enumeration value="TopRight"/>
465 <xsd:enumeration value="Right"/>
466 <xsd:enumeration value="BottomRight"/>
467 <xsd:enumeration value="Bottom"/>
468 <xsd:enumeration value="BottomLeft"/>
469 <xsd:enumeration value="Left"/>
470 <xsd:enumeration value="Floating"/>
471 </xsd:restriction>
472 </xsd:simpleType>
473 <xsd:simpleType name="keyname">
474 <xsd:restriction base="xsd:string">
475 <!-- FIXME: M, Mod2, Mod5 in addition to S, A, C -->
476 <!-- how do we do all substrings and permutations? -->
477 <xsd:pattern value="(([ACMSW]|Mod[1-5])-){,5}[a-zA-Z0-9]*"/>
478 </xsd:restriction>
479 </xsd:simpleType>
480 <xsd:simpleType name="layer">
481 <xsd:restriction base="xsd:string">
482 <xsd:pattern value="[Aa][Bb][Oo][Vv][Ee]"/>
483 <xsd:pattern value="[Nn][Oo][Rr][Mm][Aa][Ll]"/>
484 <xsd:pattern value="[Bb][Ee][Ll][Oo][Ww]"/>
485 </xsd:restriction>
486 </xsd:simpleType>
487 <xsd:simpleType name="maximization">
488 <xsd:restriction base="xsd:string">
489 <xsd:enumeration value="Horizontal"/>
490 <xsd:enumeration value="Vertical"/>
491 <!-- this is a copy of ob:bool. Keep it in sync. -->
492 <xsd:enumeration value="yes"/>
493 <xsd:enumeration value="no"/>
494 <xsd:enumeration value="true"/>
495 <xsd:enumeration value="false"/>
496 <xsd:enumeration value="on"/>
497 <xsd:enumeration value="off"/>
498 </xsd:restriction>
499 </xsd:simpleType>
500 <xsd:simpleType name="mouseaction">
501 <xsd:restriction base="xsd:string">
502 <xsd:enumeration value="Click"/>
503 <xsd:enumeration value="DoubleClick"/>
504 <xsd:enumeration value="Drag"/>
505 <xsd:enumeration value="Press"/>
506 <xsd:enumeration value="Release"/>
507 </xsd:restriction>
508 </xsd:simpleType>
509 <xsd:simpleType name="placementpolicy">
510 <xsd:restriction base="xsd:string">
511 <xsd:enumeration value="Smart"/>
512 <xsd:enumeration value="UnderMouse"/>
513 </xsd:restriction>
514 </xsd:simpleType>
515 <xsd:simpleType name="placementmonitor">
516 <xsd:restriction base="xsd:string">
517 <xsd:enumeration value="Any"/>
518 <xsd:enumeration value="Mouse"/>
519 <xsd:enumeration value="Active"/>
520 </xsd:restriction>
521 </xsd:simpleType>
522 <xsd:simpleType name="popupposition">
523 <xsd:restriction base="xsd:string">
524 <xsd:enumeration value="Top"/>
525 <xsd:enumeration value="Center"/>
526 </xsd:restriction>
527 </xsd:simpleType>
528 <xsd:simpleType name="popupshow">
529 <xsd:restriction base="xsd:string">
530 <xsd:enumeration value="Always"/>
531 <xsd:enumeration value="Never"/>
532 <xsd:enumeration value="Nonpixel"/>
533 </xsd:restriction>
534 </xsd:simpleType>
535 </xsd:schema>
This page took 0.058252 seconds and 4 git commands to generate.