1 <?xml version="1.0" encoding="UTF-8"?> <!-- -*- nxml -*- -->
3 <!-- XML Schema for the Openbox window manager configuration 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>
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">
20 <xsd:element name="openbox_config">
22 <xsd:documentation>all these elements are expected in a openbox config file</xsd:documentation>
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"/>
44 <xsd:complexType name="resistance">
46 <xsd:documentation>defines behaviour of windows when close to each other or the screen edge</xsd:documentation>
49 <xsd:element minOccurs="0" name="strength" type="xsd:integer"/>
50 <xsd:element minOccurs="0" name="screen_edge_strength" type="xsd:integer"/>
53 <xsd:complexType name="focus">
55 <xsd:documentation>defines aspects of window focus</xsd:documentation>
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"/>
67 <xsd:complexType name="placement">
69 <xsd:documentation>defines how new windows are placed</xsd:documentation>
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:element minOccurs="0" name="monitor" type="ob:primarymonitor"/>
78 <xsd:complexType name="margins">
80 <xsd:documentation>defines desktop margins</xsd:documentation>
83 <xsd:element minOccurs="0" name="top" type="xsd:integer"/>
84 <xsd:element minOccurs="0" name="left" type="xsd:integer"/>
85 <xsd:element minOccurs="0" name="right" type="xsd:integer"/>
86 <xsd:element minOccurs="0" name="bottom" type="xsd:integer"/>
89 <xsd:complexType name="theme">
91 <xsd:element minOccurs="0" name="name" type="xsd:string"/>
92 <xsd:element minOccurs="0" name="titleLayout" type="xsd:string"/>
93 <xsd:element minOccurs="0" name="keepBorder" type="ob:bool"/>
94 <xsd:element minOccurs="0" name="animateIconify" type="ob:bool"/>
95 <xsd:element minOccurs="0" maxOccurs="unbounded" name="font" type="ob:font"/>
98 <xsd:complexType name="font">
100 <xsd:element minOccurs="0" name="name" type="xsd:string"/>
101 <xsd:element minOccurs="0" name="size" type="xsd:integer"/>
102 <xsd:element minOccurs="0" name="weight" type="ob:fontweight"/>
103 <xsd:element minOccurs="0" name="slant" type="ob:fontslant"/>
105 <xsd:attribute name="place" type="ob:fontplace" use="required"/>
107 <xsd:complexType name="desktops">
109 <xsd:documentation>defines the number and names of desktops</xsd:documentation>
112 <xsd:element minOccurs="0" name="number" type="xsd:integer"/>
113 <xsd:element minOccurs="0" name="firstdesk" type="xsd:integer"/>
114 <xsd:element minOccurs="0" name="names">
117 <xsd:element minOccurs="0" maxOccurs="unbounded" name="name" type="xsd:string"/>
121 <xsd:element minOccurs="0" name="popupTime" type="xsd:integer"/>
124 <xsd:complexType name="resize">
126 <xsd:element minOccurs="0" name="drawContents" type="ob:bool"/>
127 <xsd:element minOccurs="0" name="popupShow" type="ob:popupshow"/>
128 <xsd:element minOccurs="0" name="popupPosition" type="ob:popupposition"/>
129 <xsd:element minOccurs="0" name="popupFixedPosition" type="ob:popupfixedposition"/>
132 <xsd:complexType name="popupfixedposition">
134 <xsd:element minOccurs="0" name="x" type="ob:center_or_int"/>
135 <xsd:element minOccurs="0" name="y" type="ob:center_or_int"/>
138 <xsd:complexType name="dock">
140 <xsd:element minOccurs="0" name="position" type="ob:dock_position"/>
141 <xsd:element minOccurs="0" name="floatingX" type="xsd:integer"/>
142 <xsd:element minOccurs="0" name="floatingY" type="xsd:integer"/>
143 <xsd:element minOccurs="0" name="noStrut" type="ob:bool"/>
144 <xsd:element minOccurs="0" name="stacking" type="ob:layer"/>
145 <xsd:element minOccurs="0" name="direction" type="ob:direction"/>
146 <xsd:element minOccurs="0" name="autoHide" type="ob:bool"/>
147 <xsd:element minOccurs="0" name="hideDelay" type="xsd:integer"/>
148 <xsd:element minOccurs="0" name="showDelay" type="xsd:integer"/>
149 <xsd:element minOccurs="0" name="moveButton" type="ob:button"/>
152 <xsd:complexType name="action">
154 <xsd:element minOccurs="0" name="execute" type="xsd:string"/>
155 <xsd:element minOccurs="0" name="startupnotify" type="ob:notify"/>
156 <xsd:element minOccurs="0" name="command" type="xsd:string"/>
157 <xsd:element minOccurs="0" name="allDesktops" type="ob:bool"/>
158 <xsd:element minOccurs="0" name="menu" type="xsd:string"/>
159 <xsd:element minOccurs="0" name="delta" type="xsd:integer"/>
160 <xsd:element minOccurs="0" name="x" type="xsd:integer"/>
161 <xsd:element minOccurs="0" name="y" type="xsd:integer"/>
162 <xsd:element minOccurs="0" name="left" type="xsd:integer"/>
163 <xsd:element minOccurs="0" name="right" type="xsd:integer"/>
164 <xsd:element minOccurs="0" name="up" type="xsd:integer"/>
165 <xsd:element minOccurs="0" name="down" type="xsd:integer"/>
166 <xsd:element minOccurs="0" name="desktop">
168 <xsd:union memberTypes="xsd:integer ob:bool"/>
171 <xsd:element minOccurs="0" name="edge" type="xsd:string"/>
172 <xsd:element minOccurs="0" name="wrap" type="ob:bool"/>
173 <xsd:element minOccurs="0" name="follow" type="ob:bool"/>
174 <xsd:element minOccurs="0" name="dialog" type="ob:dialogtype"/>
175 <xsd:element minOccurs="0" name="panels" type="ob:bool"/>
176 <xsd:element minOccurs="0" name="here" type="ob:bool"/>
177 <xsd:element minOccurs="0" name="linear" type="ob:bool"/>
178 <xsd:element minOccurs="0" name="group" type="ob:bool"/>
180 <xsd:attribute name="name" type="ob:actionname" use="required"/>
182 <xsd:complexType name="keybind">
184 <xsd:element maxOccurs="unbounded" name="action" type="ob:action"/>
185 <xsd:element maxOccurs="unbounded" name="keybind" type="ob:keybind"/>
187 <xsd:attribute name="chroot" type="ob:bool"/>
188 <xsd:attribute name="key" type="ob:keyname" use="required"/>
190 <xsd:complexType name="keyboard">
192 <xsd:element minOccurs="0" name="chainQuitKey" type="ob:keyname"/>
193 <xsd:element maxOccurs="unbounded" name="keybind" type="ob:keybind"/>
196 <xsd:complexType name="mousebind">
198 <xsd:element maxOccurs="unbounded" name="action" type="ob:action"/>
200 <xsd:attribute name="action" type="ob:mouseaction" use="required"/>
201 <xsd:attribute name="button" type="ob:button" use="required"/>
203 <xsd:complexType name="context">
205 <xsd:element maxOccurs="unbounded" name="mousebind" type="ob:mousebind"/>
207 <xsd:attribute name="name" type="ob:contextname" use="required"/>
209 <xsd:complexType name="mouse">
211 <xsd:element minOccurs="0" name="dragThreshold" type="xsd:integer"/>
212 <xsd:element minOccurs="0" name="doubleClickTime" type="xsd:integer"/>
213 <xsd:element minOccurs="0" name="screenEdgeWarpTime" type="xsd:integer"/>
214 <xsd:element minOccurs="0" name="screenEdgeWarpMouse" type="ob:bool"/>
215 <xsd:element maxOccurs="unbounded" name="context" type="ob:context"/>
218 <xsd:complexType name="menu">
220 <xsd:element maxOccurs="unbounded" name="file" type="xsd:string"/>
221 <xsd:element minOccurs="0" name="hideDelay" type="xsd:integer"/>
222 <xsd:element minOccurs="0" name="middle" type="ob:bool"/>
223 <xsd:element minOccurs="0" name="submenuShowDelay" type="xsd:integer"/>
224 <xsd:element minOccurs="0" name="showIcons" type="ob:bool"/>
225 <xsd:element minOccurs="0" name="manageDesktops" type="ob:bool"/>
228 <xsd:complexType name="window_position">
230 <xsd:element name="x" type="ob:center_or_int"/>
231 <xsd:element name="y" type="ob:center_or_int"/>
232 <xsd:element minOccurs="0" name="monitor" type="ob:mouse_or_int"/>
233 <xsd:element minOccurs="0" name="head" type="xsd:string"/>
235 <xsd:attribute name="force" type="ob:bool"/>
237 <xsd:complexType name="application">
239 <xsd:element minOccurs="0" name="decor" type="ob:bool"/>
240 <xsd:element minOccurs="0" name="shade" type="ob:bool"/>
241 <xsd:element minOccurs="0" name="position" type="ob:window_position"/>
242 <xsd:element minOccurs="0" name="focus" type="xsd:string"/>
243 <xsd:element minOccurs="0" name="desktop" type="xsd:integer"/>
244 <xsd:element minOccurs="0" name="layer" type="ob:layer"/>
245 <xsd:element minOccurs="0" name="iconic" type="ob:bool"/>
246 <xsd:element minOccurs="0" name="skip_pager" type="ob:bool"/>
247 <xsd:element minOccurs="0" name="skip_taskbar" type="ob:bool"/>
248 <xsd:element minOccurs="0" name="fullscreen" type="ob:bool"/>
249 <xsd:element minOccurs="0" name="maximized" type="ob:maximization"/>
251 <!-- at least one of these must be present -->
252 <xsd:attribute name="role" type="xsd:string"/>
253 <xsd:attribute name="title" type="xsd:string"/>
254 <xsd:attribute name="type" type="ob:clienttype"/>
255 <xsd:attribute name="name" type="xsd:string"/>
256 <xsd:attribute name="class" type="xsd:string"/>
258 <xsd:complexType name="applications">
260 <xsd:element minOccurs="0" maxOccurs="unbounded" name="application" type="ob:application"/>
263 <xsd:complexType name="notify">
265 <xsd:element minOccurs="0" name="enabled" type="ob:bool"/>
266 <xsd:element minOccurs="0" name="name" type="xsd:string"/>
267 <xsd:element minOccurs="0" name="icon" type="xsd:string"/>
271 simple types / restrictions
273 <xsd:simpleType name="actionname">
274 <xsd:restriction base="xsd:string">
275 <xsd:pattern value="[Ii][Ff]"/>
276 <xsd:pattern value="[Aa][Cc][Tt][Ii][Vv][Aa][Tt][Ee]"/>
277 <xsd:pattern value="[Bb][Rr][Ee][Aa][Kk][Cc][Hh][Rr][Oo][Oo][Tt]"/>
278 <xsd:pattern value="[Cc][Ll][Oo][Ss][Ee]"/>
279 <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp]"/>
280 <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp][Dd][Oo][Ww][Nn]"/>
281 <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp][Ll][Aa][Ss][Tt]"/>
282 <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp][Ll][Ee][Ff][Tt]"/>
283 <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp][Nn][Ee][Xx][Tt]"/>
284 <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp][Pp][Rr][Ee][Vv][Ii][Oo][Uu][Ss]"/>
285 <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp][Rr][Ii][Gg][Hh][Tt]"/>
286 <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp][Uu][Pp]"/>
287 <xsd:pattern value="[Dd][Ii][Rr][Ee][Cc][Tt][Ii][Oo][Nn][Aa][Ll][Ff][Oo][Cc][Uu][Ss][Ee][Aa][Ss][Tt]"/>
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]"/>
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][Ee][Aa][Ss][Tt]"/>
290 <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]"/>
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]"/>
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][Ee][Aa][Ss][Tt]"/>
293 <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]"/>
294 <xsd:pattern value="[Dd][Ii][Rr][Ee][Cc][Tt][Ii][Oo][Nn][Aa][Ll][Ff][Oo][Cc][Uu][Ss][Ww][Ee][Ss][Tt]"/>
295 <xsd:pattern value="[Ee][Xx][Ee][Cc][Uu][Tt][Ee]"/>
296 <xsd:pattern value="[Ee][Xx][Ii][Tt]"/>
297 <xsd:pattern value="[Ss][Ee][Ss][Ss][Ii][Oo][Nn][Ll][Oo][Gg][Oo][Uu][Tt]"/>
298 <xsd:pattern value="[Ff][Oo][Cc][Uu][Ss]"/>
299 <xsd:pattern value="[Ff][Oo][Cc][Uu][Ss][Tt][Oo][Bb][Oo][Tt][Tt][Oo][Mm]"/>
300 <xsd:pattern value="[Gg][Rr][Oo][Ww][Tt][Oo][Ee][Dd][Gg][Ee][Ee][Aa][Ss][Tt]"/>
301 <xsd:pattern value="[Gg][Rr][Oo][Ww][Tt][Oo][Ee][Dd][Gg][Ee][Nn][Oo][Rr][Tt][Hh]"/>
302 <xsd:pattern value="[Gg][Rr][Oo][Ww][Tt][Oo][Ee][Dd][Gg][Ee][Ss][Oo][Uu][Tt][Hh]"/>
303 <xsd:pattern value="[Gg][Rr][Oo][Ww][Tt][Oo][Ee][Dd][Gg][Ee][Ww][Ee][Ss][Tt]"/>
304 <xsd:pattern value="[Ii][Cc][Oo][Nn][Ii][Ff][Yy]"/>
305 <xsd:pattern value="[Kk][Ii][Ll][Ll]"/>
306 <xsd:pattern value="[Ll][Oo][Ww][Ee][Rr]"/>
307 <xsd:pattern value="[Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Ff][Uu][Ll][Ll]"/>
308 <xsd:pattern value="[Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Hh][Oo][Rr][Zz]"/>
309 <xsd:pattern value="[Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Vv][Ee][Rr][Tt]"/>
310 <xsd:pattern value="[Mm][Oo][Vv][Ee]"/>
311 <xsd:pattern value="[Mm][Oo][Vv][Ee][Rr][Ee][Ll][Aa][Tt][Ii][Vv][Ee]"/>
312 <xsd:pattern value="[Mm][Oo][Vv][Ee][Rr][Ee][Ll][Aa][Tt][Ii][Vv][Ee][Hh][Oo][Rr][Zz]"/>
313 <xsd:pattern value="[Mm][Oo][Vv][Ee][Rr][Ee][Ll][Aa][Tt][Ii][Vv][Ee][Vv][Ee][Rr][Tt]"/>
314 <xsd:pattern value="[Mm][Oo][Vv][Ee][Tt][Oo][Cc][Ee][Nn][Tt][Ee][Rr]"/>
315 <xsd:pattern value="[Mm][Oo][Vv][Ee][Ff][Rr][Oo][Mm][Ee][Dd][Gg][Ee][Ee][Aa][Ss][Tt]"/>
316 <xsd:pattern value="[Mm][Oo][Vv][Ee][Ff][Rr][Oo][Mm][Ee][Dd][Gg][Ee][Nn][Oo][Rr][Tt][Hh]"/>
317 <xsd:pattern value="[Mm][Oo][Vv][Ee][Ff][Rr][Oo][Mm][Ee][Dd][Gg][Ee][Ss][Oo][Uu][Tt][Hh]"/>
318 <xsd:pattern value="[Mm][Oo][Vv][Ee][Ff][Rr][Oo][Mm][Ee][Dd][Gg][Ee][Ww][Ee][Ss][Tt]"/>
319 <xsd:pattern value="[Mm][Oo][Vv][Ee][Tt][Oo][Ee][Dd][Gg][Ee][Ee][Aa][Ss][Tt]"/>
320 <xsd:pattern value="[Mm][Oo][Vv][Ee][Tt][Oo][Ee][Dd][Gg][Ee][Nn][Oo][Rr][Tt][Hh]"/>
321 <xsd:pattern value="[Mm][Oo][Vv][Ee][Tt][Oo][Ee][Dd][Gg][Ee][Ss][Oo][Uu][Tt][Hh]"/>
322 <xsd:pattern value="[Mm][Oo][Vv][Ee][Tt][Oo][Ee][Dd][Gg][Ee][Ww][Ee][Ss][Tt]"/>
323 <xsd:pattern value="[Nn][Ee][Xx][Tt][Ww][Ii][Nn][Dd][Oo][Ww]"/>
324 <xsd:pattern value="[Pp][Rr][Ee][Vv][Ii][Oo][Uu][Ss][Ww][Ii][Nn][Dd][Oo][Ww]"/>
325 <xsd:pattern value="[Rr][Aa][Ii][Ss][Ee]"/>
326 <xsd:pattern value="[Rr][Aa][Ii][Ss][Ee][Ll][Oo][Ww][Ee][Rr]"/>
327 <xsd:pattern value="[Rr][Ee][Cc][Oo][Nn][Ff][Ii][Gg][Uu][Rr][Ee]"/>
328 <xsd:pattern value="[Rr][Ee][Ss][Ii][Zz][Ee]"/>
329 <xsd:pattern value="[Rr][Ee][Ss][Ii][Zz][Ee][Rr][Ee][Ll][Aa][Tt][Ii][Vv][Ee]"/>
330 <xsd:pattern value="[Rr][Ee][Ss][Ii][Zz][Ee][Rr][Ee][Ll][Aa][Tt][Ii][Vv][Ee][Hh][Oo][Rr][Zz]"/>
331 <xsd:pattern value="[Rr][Ee][Ss][Ii][Zz][Ee][Rr][Ee][Ll][Aa][Tt][Ii][Vv][Ee][Vv][Ee][Rr][Tt]"/>
332 <xsd:pattern value="[Rr][Ee][Ss][Tt][Aa][Rr][Tt]"/>
333 <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Bb][Oo][Tt][Tt][Oo][Mm][Ll][Aa][Yy][Ee][Rr]"/>
334 <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Dd][Ee][Ss][Kk][Tt][Oo][Pp]"/>
335 <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Dd][Ee][Ss][Kk][Tt][Oo][Pp][Dd][Oo][Ww][Nn]"/>
336 <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Dd][Ee][Ss][Kk][Tt][Oo][Pp][Ll][Ee][Ff][Tt]"/>
337 <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Dd][Ee][Ss][Kk][Tt][Oo][Pp][Nn][Ee][Xx][Tt]"/>
338 <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Dd][Ee][Ss][Kk][Tt][Oo][Pp][Pp][Rr][Ee][Vv][Ii][Oo][Uu][Ss]"/>
339 <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Dd][Ee][Ss][Kk][Tt][Oo][Pp][Rr][Ii][Gg][Hh][Tt]"/>
340 <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Dd][Ee][Ss][Kk][Tt][Oo][Pp][Uu][Pp]"/>
341 <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Nn][Oo][Rr][Mm][Aa][Ll][Ll][Aa][Yy][Ee][Rr]"/>
342 <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Tt][Oo][Pp][Ll][Aa][Yy][Ee][Rr]"/>
343 <xsd:pattern value="[Ss][Hh][Aa][Dd][Ee]"/>
344 <xsd:pattern value="[Ss][Hh][Aa][Dd][Ee][Ll][Oo][Ww][Ee][Rr]"/>
345 <xsd:pattern value="[Ss][Hh][Oo][Ww][Dd][Ee][Ss][Kk][Tt][Oo][Pp]"/>
346 <xsd:pattern value="[Ss][Hh][Oo][Ww][Mm][Ee][Nn][Uu]"/>
347 <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Aa][Ll][Ww][Aa][Yy][Ss][Oo][Nn][Bb][Oo][Tt][Tt][Oo][Mm]"/>
348 <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Aa][Ll][Ww][Aa][Yy][Ss][Oo][Nn][Tt][Oo][Pp]"/>
349 <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Dd][Ee][Cc][Oo][Rr][Aa][Tt][Ii][Oo][Nn][Ss]"/>
350 <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Dd][Oo][Cc][Kk][Aa][Uu][Tt][Oo][Hh][Ii][Dd][Ee]"/>
351 <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Ff][Uu][Ll][Ll][Ss][Cc][Rr][Ee][Ee][Nn]"/>
352 <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Ff][Uu][Ll][Ll]"/>
353 <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Hh][Oo][Rr][Zz]"/>
354 <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Vv][Ee][Rr][Tt]"/>
355 <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Oo][Mm][Nn][Ii][Pp][Rr][Ee][Ss][Ee][Nn][Tt]"/>
356 <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Ss][Hh][Aa][Dd][Ee]"/>
357 <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Ss][Hh][Oo][Ww][Dd][Ee][Ss][Kk][Tt][Oo][Pp]"/>
358 <xsd:pattern value="[Uu][Nn][Ff][Oo][Cc][Uu][Ss]"/>
359 <xsd:pattern value="[Uu][Nn][Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Ff][Uu][Ll][Ll]"/>
360 <xsd:pattern value="[Uu][Nn][Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Hh][Oo][Rr][Zz]"/>
361 <xsd:pattern value="[Uu][Nn][Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Vv][Ee][Rr][Tt]"/>
362 <xsd:pattern value="[Uu][Nn][Ss][Hh][Aa][Dd][Ee]"/>
363 <xsd:pattern value="[Uu][Nn][Ss][Hh][Aa][Dd][Ee][Rr][Aa][Ii][Ss][Ee]"/>
364 <xsd:pattern value="[Uu][Nn][Ss][Hh][Oo][Ww][Dd][Ee][Ss][Kk][Tt][Oo][Pp]"/>
367 <xsd:simpleType name="clienttype">
368 <xsd:restriction base="xsd:string">
369 <xsd:enumeration value="desktop"/>
370 <xsd:enumeration value="dock"/>
371 <xsd:enumeration value="toolbar"/>
372 <xsd:enumeration value="menu"/>
373 <xsd:enumeration value="splash"/>
374 <xsd:enumeration value="utility"/>
375 <xsd:enumeration value="dialog"/>
376 <xsd:enumeration value="normal"/>
379 <xsd:simpleType name="bool">
380 <!-- this is copied to maximization. Keep that in sync. -->
381 <xsd:restriction base="xsd:string">
382 <xsd:enumeration value="yes"/>
383 <xsd:enumeration value="no"/>
384 <xsd:enumeration value="true"/>
385 <xsd:enumeration value="false"/>
386 <xsd:enumeration value="on"/>
387 <xsd:enumeration value="off"/>
390 <xsd:simpleType name="fontplace">
391 <xsd:restriction base="xsd:string">
392 <xsd:enumeration value="ActiveWindow"/>
393 <xsd:enumeration value="InactiveWindow"/>
394 <xsd:enumeration value="MenuHeader"/>
395 <xsd:enumeration value="MenuItem"/>
396 <xsd:enumeration value="OnScreenDisplay"/>
399 <xsd:simpleType name="fontweight">
400 <xsd:restriction base="xsd:string">
401 <xsd:enumeration value="normal"/>
402 <xsd:enumeration value="bold"/>
405 <xsd:simpleType name="fontslant">
406 <xsd:restriction base="xsd:string">
407 <xsd:enumeration value="normal"/>
408 <xsd:enumeration value="italic"/>
409 <xsd:enumeration value="opaque"/>
412 <xsd:simpleType name="button">
413 <xsd:restriction base="xsd:string">
414 <xsd:pattern value="(([ACMSW]|Mod[1-5])-){,5}(Left|Middle|Right|Up|Down|Button[0-9]+)"/>
417 <xsd:simpleType name="center_or_int">
418 <xsd:restriction base="xsd:string">
419 <!-- ob: atoi($_) unless $_ eq 'center'; -->
420 <!-- I think the regexp DTRT WRT atoi. -->
421 <xsd:pattern value="center|-?(0|[1-9][0-9]*)"/>
424 <xsd:simpleType name="mouse_or_int">
425 <xsd:restriction base="xsd:string">
426 <!-- ob: atoi($_) unless $_ eq 'center'; -->
427 <!-- I think the regexp DTRT WRT atoi. -->
428 <xsd:pattern value="mouse|0|[1-9][0-9]*"/>
431 <xsd:simpleType name="contextname">
432 <xsd:restriction base="xsd:string">
433 <xsd:enumeration value="Desktop"/>
434 <xsd:enumeration value="Root"/>
435 <xsd:enumeration value="Client"/>
436 <xsd:enumeration value="Titlebar"/>
437 <xsd:enumeration value="Frame"/>
438 <xsd:enumeration value="TLCorner"/>
439 <xsd:enumeration value="TRCorner"/>
440 <xsd:enumeration value="BLCorner"/>
441 <xsd:enumeration value="BRCorner"/>
442 <xsd:enumeration value="Top"/>
443 <xsd:enumeration value="Left"/>
444 <xsd:enumeration value="Right"/>
445 <xsd:enumeration value="Bottom"/>
446 <xsd:enumeration value="Maximize"/>
447 <xsd:enumeration value="AllDesktops"/>
448 <xsd:enumeration value="Shade"/>
449 <xsd:enumeration value="Iconify"/>
450 <xsd:enumeration value="Icon"/>
451 <xsd:enumeration value="Close"/>
452 <xsd:enumeration value="MoveResize"/>
455 <xsd:simpleType name="direction">
456 <xsd:restriction base="xsd:string">
457 <xsd:enumeration value="Horizontal"/>
458 <xsd:enumeration value="Vertical"/>
461 <xsd:simpleType name="dock_position">
462 <xsd:restriction base="xsd:string">
463 <xsd:enumeration value="TopLeft"/>
464 <xsd:enumeration value="Top"/>
465 <xsd:enumeration value="TopRight"/>
466 <xsd:enumeration value="Right"/>
467 <xsd:enumeration value="BottomRight"/>
468 <xsd:enumeration value="Bottom"/>
469 <xsd:enumeration value="BottomLeft"/>
470 <xsd:enumeration value="Left"/>
471 <xsd:enumeration value="Floating"/>
474 <xsd:simpleType name="keyname">
475 <xsd:restriction base="xsd:string">
476 <!-- FIXME: M, Mod2, Mod5 in addition to S, A, C -->
477 <!-- how do we do all substrings and permutations? -->
478 <xsd:pattern value="(([ACMSW]|Mod[1-5])-){,5}[a-zA-Z0-9]*"/>
481 <xsd:simpleType name="layer">
482 <xsd:restriction base="xsd:string">
483 <xsd:pattern value="[Aa][Bb][Oo][Vv][Ee]"/>
484 <xsd:pattern value="[Nn][Oo][Rr][Mm][Aa][Ll]"/>
485 <xsd:pattern value="[Bb][Ee][Ll][Oo][Ww]"/>
488 <xsd:simpleType name="maximization">
489 <xsd:restriction base="xsd:string">
490 <xsd:enumeration value="Horizontal"/>
491 <xsd:enumeration value="Vertical"/>
492 <!-- this is a copy of ob:bool. Keep it in sync. -->
493 <xsd:enumeration value="yes"/>
494 <xsd:enumeration value="no"/>
495 <xsd:enumeration value="true"/>
496 <xsd:enumeration value="false"/>
497 <xsd:enumeration value="on"/>
498 <xsd:enumeration value="off"/>
501 <xsd:simpleType name="mouseaction">
502 <xsd:restriction base="xsd:string">
503 <xsd:enumeration value="Click"/>
504 <xsd:enumeration value="DoubleClick"/>
505 <xsd:enumeration value="Drag"/>
506 <xsd:enumeration value="Press"/>
507 <xsd:enumeration value="Release"/>
510 <xsd:simpleType name="placementpolicy">
511 <xsd:restriction base="xsd:string">
512 <xsd:enumeration value="Smart"/>
513 <xsd:enumeration value="UnderMouse"/>
516 <xsd:simpleType name="placementmonitor">
517 <xsd:restriction base="xsd:string">
518 <xsd:enumeration value="Any"/>
519 <xsd:enumeration value="Mouse"/>
520 <xsd:enumeration value="Active"/>
521 <xsd:enumeration value="Primary"/>
524 <xsd:simpleType name="primarymonitor">
525 <xsd:restriction base="xsd:string">
526 <xsd:enumeration value="Mouse"/>
527 <xsd:enumeration value="Active"/>
528 <xsd:enumeration value="[0-9][0-9][0-9][0-9][0-9]"/>
531 <xsd:simpleType name="popupposition">
532 <xsd:restriction base="xsd:string">
533 <xsd:enumeration value="Top"/>
534 <xsd:enumeration value="Center"/>
537 <xsd:simpleType name="popupshow">
538 <xsd:restriction base="xsd:string">
539 <xsd:enumeration value="Always"/>
540 <xsd:enumeration value="Never"/>
541 <xsd:enumeration value="Nonpixel"/>
544 <xsd:simpleType name="dialogtype">
545 <xsd:restriction base="xsd:string">
546 <xsd:enumeration value="None"/>
547 <xsd:enumeration value="Icons"/>
548 <xsd:enumeration value="List"/>