update for chroot stuffs
[mikachu/openbox.git] / data / rc.xsd
1 <?xml version="1.0" encoding="UTF-8"?> <!-- -*- nxml -*- -->
2 <!--
3      xml Schema for the openbox windowmanager configuration file
4
5      Changes:
6      Son Aug 10 15:49:10 CEST 2003 - pch(a)myzel.net
7          restrictions added, up to current format
8      Don Aug 14 21:10:27 CEST 2003 - pch(a)myzel.net
9          up to current (from action.c,config.c)
10      Don Aug 21 23:07:30 CEST 2003 - pch(a)myzel.net
11          new element - follow
12      Mon Sep  1 00:57:55 CEST 2003 - pch(a)myzel.net
13          up to alpha7
14      Mit Sep  3 12:40:10 CEST 2003 - pch(a)myzel.net
15          up to alpha8, a little documentation
16      Mon Sep  8 11:52:07 CEST 2003 - pch(a)myzel.net
17          up to cvs 1.12
18      Mon Sep 15 14:27:42 CEST 2003 - pch(a)myzel.net
19          up to cvs 1.14
20      Die Sep 16 20:56:37 CEST 2003 - pch(a)myzel.net
21          use a namespace
22      Fri Sep 19 14:36:33 EDT 2003 - xor(a)orodu.net
23          use openbox.org for namespace
24      Mon Sep 22 02:34:53 EDT 2003 - xor(a)orodu.net
25          add the focusLast and raiseOnFocus options
26          fix some capitalization
27      Mon Sep 22 14:08:16 EDT 2003 - xor(a)orodu.net
28          update hideTimeout to hideDelay
29      Thu Apr 22 12:33:11 UTC 2004 - mikachu(a)openbox.org
30          add diffs between 3.1 and 3.2
31      Sun Oct 31 10:08:34 UTC 2004 - mikachu(a)openbox.org
32          we haven't remembered to update this changelog in a while,
33          adding desktopMenuIcons.
34      Thu Nov  4 12:07:08 UTC 2004 - mikachu(a)openbox.org
35          Add fourCorners to resize context.
36      Sat Feb 12 01:57:16 UTC 2005 - mikachu(a)openbox.org
37          Add the group option to raise/lower stuff.
38      Sun Sep 25 14:44:21 UTC 2005 - mikachu(a)openbox.org
39          Add showDelay for the dock
40      Tue Jul 18 23:43:15 CEST 2006 - jonaskoelker(a)gnu.org
41          hack code for great justice
42      Tue Oct 31 03:30:26 UTC 2006 - mikachu(a)openbox.org
43          Add movefromedge* actions
44      Sun Mar  4 12:12:19 EST 2007 - danakj(a)orodu.net
45          Add font section to theme section
46      Sun Mar  4 13:49:37 EST 2007 - danakj(a)orodu.net
47          Removing font shadows - they are going back into the themerc
48      Tue Apr 24 18:42:24 UTC 2007 - mikachu(a)openbox.org
49          Removed fourCorners option.
50      Wed Apr 25 14:02:40 UTC 2007
51          Fixed values for layer to be above/below, not top/bottom.
52          Add chroot attribute and keybind element to keybind element.
53 -->
54 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
55     targetNamespace="http://openbox.org/"
56     xmlns:ob="http://openbox.org/"
57     elementFormDefault="qualified">
58     <!--
59          root node
60       -->
61     <xs:element name="openbox_config">
62         <xs:annotation>
63             <xs:documentation>all these elements are expected in a openbox config file</xs:documentation>
64         </xs:annotation>
65         <xs:complexType>
66             <xs:sequence>
67                 <xs:element name="resistance" type="ob:resistance"/>
68                 <xs:element name="focus" type="ob:focus"/>
69                 <xs:element name="placement" type="ob:placement"/>
70                 <xs:element name="theme" type="ob:theme"/>
71                 <xs:element name="desktops" type="ob:desktops"/>
72                 <xs:element name="resize" type="ob:resize"/>
73                 <xs:element name="dock" type="ob:dock"/>
74                 <xs:element name="keyboard" type="ob:keyboard"/>
75                 <xs:element name="mouse" type="ob:mouse"/>
76                 <xs:element name="menu" type="ob:menu"/>
77                 <xs:element name="applications" type="ob:applications"/>
78             </xs:sequence>
79         </xs:complexType>
80     </xs:element>
81     <!--
82          complex types
83       -->
84     <xs:complexType name="resistance">
85         <xs:annotation>
86             <xs:documentation>defines behaviour of windows when close to each other or the screen edge</xs:documentation>
87         </xs:annotation>
88         <xs:sequence>
89             <xs:element minOccurs="0" name="strength" type="xs:integer"/>
90             <xs:element minOccurs="0" name="screen_edge_strength" type="xs:integer"/>
91             <xs:element minOccurs="0" name="edges_hit_layers_below" type="ob:bool"/>
92         </xs:sequence>
93     </xs:complexType>
94     <xs:complexType name="focus">
95         <xs:annotation>
96             <xs:documentation>defines aspects of window focus</xs:documentation>
97         </xs:annotation>
98         <xs:sequence>
99             <xs:element minOccurs="0" name="focusNew" type="ob:bool"/>
100             <xs:element minOccurs="0" name="focusLast" type="ob:bool"/>
101             <xs:element minOccurs="0" name="followMouse" type="ob:bool"/>
102             <xs:element minOccurs="0" name="focusDelay" type="xs:integer"/>
103             <xs:element minOccurs="0" name="raiseOnFocus" type="ob:bool"/>
104         </xs:sequence>
105     </xs:complexType>
106     <xs:complexType name="placement">
107         <xs:annotation>
108             <xs:documentation>defines how new windows are placed</xs:documentation>
109         </xs:annotation>
110         <xs:sequence>
111             <xs:element name="policy" type="ob:placementpolicy"/>
112         </xs:sequence>
113     </xs:complexType>
114     <xs:complexType name="theme">
115         <xs:sequence>
116             <xs:element minOccurs="0" name="name" type="xs:string"/>
117             <xs:element minOccurs="0" name="titleLayout" type="xs:string"/>
118             <xs:element minOccurs="0" name="titleNumber" type="ob:bool"/>
119             <xs:element minOccurs="0" name="keepBorder" type="ob:bool"/>
120             <xs:element minOccurs="0" name="hideDisabled" type="ob:bool"/>
121             <xs:element minOccurs="0" name="font" type="ob:font"/>
122         </xs:sequence>
123     </xs:complexType>
124     <xs:complexType name="font">
125         <xs:sequence>
126             <xs:element minOccurs="0" name="name" type="xs:string"/>
127             <xs:element minOccurs="0" name="size" type="xs:integer"/>
128             <xs:element minOccurs="0" name="weight" type="ob:fontweight"/>
129             <xs:element minOccurs="0" name="slant" type="ob:fontslant"/>
130         </xs:sequence>
131     </xs:complexType>
132     <xs:complexType name="desktops">
133         <xs:annotation>
134             <xs:documentation>defines the number and names of desktops</xs:documentation>
135         </xs:annotation>
136         <xs:sequence>
137             <xs:element minOccurs="0" name="number" type="xs:integer"/>
138             <xs:element minOccurs="0" name="firstdesk" type="xs:integer"/>
139             <xs:element minOccurs="0" name="names">
140                 <xs:complexType>
141                     <xs:sequence>
142                         <xs:element maxOccurs="unbounded" name="name" type="xs:string"/>
143                     </xs:sequence>
144                 </xs:complexType>
145             </xs:element>
146         </xs:sequence>
147     </xs:complexType>
148     <xs:complexType name="resize">
149         <xs:sequence>
150             <xs:element minOccurs="0" name="drawContents" type="ob:bool"/>
151             <xs:element minOccurs="0" name="popupShow" type="ob:popupshow"/>
152             <xs:element minOccurs="0" name="popupPosition" type="ob:popupposition"/>
153         </xs:sequence>
154     </xs:complexType>
155     <xs:complexType name="dock">
156         <xs:sequence>
157             <xs:element minOccurs="0" name="position" type="ob:dock_position"/>
158             <xs:element minOccurs="0" name="floatingX" type="xs:integer"/>
159             <xs:element minOccurs="0" name="floatingY" type="xs:integer"/>
160             <xs:element minOccurs="0" name="noStrut" type="ob:bool"/>
161             <xs:element minOccurs="0" name="stacking" type="ob:layer"/>
162             <xs:element minOccurs="0" name="direction" type="ob:direction"/>
163             <xs:element minOccurs="0" name="autoHide" type="ob:bool"/>
164             <xs:element minOccurs="0" name="hideDelay" type="xs:integer"/>
165             <xs:element minOccurs="0" name="showDelay" type="xs:integer"/>
166             <xs:element minOccurs="0" name="moveButton" type="ob:button"/>
167         </xs:sequence>
168     </xs:complexType>
169     <xs:complexType name="action">
170         <xs:sequence>
171             <xs:element minOccurs="0" name="execute" type="xs:string"/>
172             <xs:element minOccurs="0" name="menu" type="xs:string"/>
173             <xs:element minOccurs="0" name="delta" type="xs:integer"/>
174             <xs:element minOccurs="0" name="x" type="xs:integer"/>
175             <xs:element minOccurs="0" name="y" type="xs:integer"/>
176             <xs:element minOccurs="0" name="left" type="xs:integer"/>
177             <xs:element minOccurs="0" name="right" type="xs:integer"/>
178             <xs:element minOccurs="0" name="up" type="xs:integer"/>
179             <xs:element minOccurs="0" name="down" type="xs:integer"/>
180             <xs:element minOccurs="0" name="desktop" type="xs:integer"/>
181             <xs:element minOccurs="0" name="wrap" type="ob:bool"/>
182             <xs:element minOccurs="0" name="follow" type="ob:bool"/>
183             <xs:element minOccurs="0" name="dialog" type="ob:bool"/>
184             <xs:element minOccurs="0" name="panels" type="ob:bool"/>
185             <xs:element minOccurs="0" name="here" type="ob:bool"/>
186             <xs:element minOccurs="0" name="linear" type="ob:bool"/>
187             <xs:element minOccurs="0" name="group" type="ob:bool"/>
188         </xs:sequence>
189         <xs:attribute name="name" type="ob:actionname" use="required"/>
190     </xs:complexType>
191     <xs:complexType name="keybind">
192         <xs:sequence>
193             <xs:element maxOccurs="unbounded" name="action" type="ob:action"/>
194             <xs:element maxOccurs="unbounded" name="keybind" type="ob:keybind"/>
195             <xs:attribute name="chroot" type="ob:bool"/>
196         </xs:sequence>
197         <xs:attribute name="key" type="ob:keyname" use="required"/>
198     </xs:complexType>
199     <xs:complexType name="keyboard">
200         <xs:sequence>
201             <xs:element minOccurs="0" name="chainQuitKey" type="ob:keyname"/>
202             <xs:element maxOccurs="unbounded" name="keybind" type="ob:keybind"/>
203         </xs:sequence>
204     </xs:complexType>
205     <xs:complexType name="mousebind">
206         <xs:sequence>
207             <xs:element maxOccurs="unbounded" name="action" type="ob:action"/>
208         </xs:sequence>
209         <xs:attribute name="action" type="ob:mouseaction" use="required"/>
210         <xs:attribute name="button" type="ob:button" use="required"/>
211     </xs:complexType>
212     <xs:complexType name="context">
213         <xs:sequence>
214             <xs:element maxOccurs="unbounded" name="mousebind" type="ob:mousebind"/>
215         </xs:sequence>
216         <xs:attribute name="name" type="ob:contextname" use="required"/>
217     </xs:complexType>
218     <xs:complexType name="mouse">
219         <xs:sequence>
220             <xs:element minOccurs="0" name="dragThreshold" type="xs:integer"/>
221             <xs:element minOccurs="0" name="doubleClickTime" type="xs:integer"/>
222             <xs:element maxOccurs="unbounded" name="context" type="ob:context"/>
223         </xs:sequence>
224     </xs:complexType>
225     <xs:complexType name="menu">
226         <xs:sequence>
227             <xs:element maxOccurs="unbounded" name="file" type="xs:string"/>
228             <xs:element minOccurs="0" name="warpPointer" type="ob:bool"/>
229             <xs:element minOccurs="0" name="xorStyle" type="ob:bool"/>
230             <xs:element minOccurs="0" name="hideDelay" type="xs:integer"/>
231             <xs:element minOccurs="0" name="middle" type="ob:bool"/>
232             <xs:element minOccurs="0" name="submenuShowDelay" type="xs:integer"/>
233             <xs:element minOccurs="0" name="desktopMenuIcons" type="ob:bool"/>
234         </xs:sequence>
235     </xs:complexType>
236     <xs:complexType name="window_position">
237         <xs:sequence>
238             <xs:element name="x" type="ob:center_or_int"/>
239             <xs:element name="y" type="ob:center_or_int"/>
240         </xs:sequence>
241     </xs:complexType>
242     <xs:complexType name="application">
243         <xs:sequence>
244             <xs:element minOccurs="0" name="decor" type="xs:string"/>
245             <xs:element minOccurs="0" name="shade" type="ob:bool"/>
246             <xs:element minOccurs="0" name="position" type="ob:window_position"/>
247             <xs:element minOccurs="0" name="focus" type="xs:string"/>
248             <xs:element minOccurs="0" name="desktop" type="xs:integer"/>
249             <xs:element minOccurs="0" name="head" type="xs:string"/>
250             <xs:element minOccurs="0" name="layer" type="ob:layer"/>
251             <xs:element minOccurs="0" name="iconic" type="ob:bool"/>
252             <xs:element minOccurs="0" name="skip_pager" type="ob:bool"/>
253             <xs:element minOccurs="0" name="skip_taskbar" type="ob:bool"/>
254             <xs:element minOccurs="0" name="fullscreen" type="ob:bool"/>
255             <xs:element minOccurs="0" name="maximized" type="ob:maximization"/>
256         </xs:sequence>
257         <!-- at least one of these must be present -->
258         <xs:attribute name="name" type="xs:string"/>
259         <xs:attribute name="class" type="xs:string"/>
260         <xs:attribute name="role" type="xs:string"/>
261     </xs:complexType>
262     <xs:complexType name="applications">
263         <xs:sequence>
264             <xs:element minOccurs="0" maxOccurs="unbounded" name="application" type="ob:application"/>
265         </xs:sequence>
266     </xs:complexType>
267     <!--
268          simple types / restrictions
269       -->
270     <xs:simpleType name="actionname">
271         <xs:restriction base="xs:string">
272             <xs:enumeration value="Activate"/>
273             <xs:enumeration value="Close"/>
274             <xs:enumeration value="Desktop"/>
275             <xs:enumeration value="DesktopDown"/>
276             <xs:enumeration value="DesktopLast"/>
277             <xs:enumeration value="DesktopLeft"/>
278             <xs:enumeration value="DesktopNext"/>
279             <xs:enumeration value="DesktopPrevious"/>
280             <xs:enumeration value="DesktopRight"/>
281             <xs:enumeration value="DesktopUp"/>
282             <xs:enumeration value="DirectionalFocusEast"/>
283             <xs:enumeration value="DirectionalFocusNorth"/>
284             <xs:enumeration value="DirectionalFocusNortheast"/>
285             <xs:enumeration value="DirectionalFocusNorthwest"/>
286             <xs:enumeration value="DirectionalFocusSouth"/>
287             <xs:enumeration value="DirectionalFocusSoutheast"/>
288             <xs:enumeration value="DirectionalFocusSouthwest"/>
289             <xs:enumeration value="DirectionalFocusWest"/>
290             <xs:enumeration value="Execute"/>
291             <xs:enumeration value="Exit"/>
292             <xs:enumeration value="Focus"/>
293             <xs:enumeration value="FocusToBottom"/>
294             <xs:enumeration value="GrowToEdgeEast"/>
295             <xs:enumeration value="GrowToEdgeNorth"/>
296             <xs:enumeration value="GrowToEdgeSouth"/>
297             <xs:enumeration value="GrowToEdgeWest"/>
298             <xs:enumeration value="Iconify"/>
299             <xs:enumeration value="Kill"/>
300             <xs:enumeration value="Lower"/>
301             <xs:enumeration value="MaximizeFull"/>
302             <xs:enumeration value="MaximizeHorz"/>
303             <xs:enumeration value="MaximizeVert"/>
304             <xs:enumeration value="Move"/>
305             <xs:enumeration value="MoveRelative"/>
306             <xs:enumeration value="MoveRelativeHorz"/>
307             <xs:enumeration value="MoveRelativeVert"/>
308             <xs:enumeration value="MoveToCenter"/>
309             <xs:enumeration value="MoveFromEdgeEast"/>
310             <xs:enumeration value="MoveFromEdgeNorth"/>
311             <xs:enumeration value="MoveFromEdgeSouth"/>
312             <xs:enumeration value="MoveFromEdgeWest"/>
313             <xs:enumeration value="MoveToEdgeEast"/>
314             <xs:enumeration value="MoveToEdgeNorth"/>
315             <xs:enumeration value="MoveToEdgeSouth"/>
316             <xs:enumeration value="MoveToEdgeWest"/>
317             <xs:enumeration value="NextWindow"/>
318             <xs:enumeration value="PreviousWindow"/>
319             <xs:enumeration value="Raise"/>
320             <xs:enumeration value="RaiseLower"/>
321             <xs:enumeration value="Reconfigure"/>
322             <xs:enumeration value="Resize"/>
323             <xs:enumeration value="ResizeRelative"/>
324             <xs:enumeration value="ResizeRelativeHorz"/>
325             <xs:enumeration value="ResizeRelativeVert"/>
326             <xs:enumeration value="Restart"/>
327             <xs:enumeration value="SendToBottomLayer"/>
328             <xs:enumeration value="SendToDesktop"/>
329             <xs:enumeration value="SendToDesktopDown"/>
330             <xs:enumeration value="SendToDesktopLeft"/>
331             <xs:enumeration value="SendToDesktopNext"/>
332             <xs:enumeration value="SendToDesktopPrevious"/>
333             <xs:enumeration value="SendToDesktopRight"/>
334             <xs:enumeration value="SendToDesktopUp"/>
335             <xs:enumeration value="SendToNormalLayer"/>
336             <xs:enumeration value="SendToTopLayer"/>
337             <xs:enumeration value="Shade"/>
338             <xs:enumeration value="ShadeLower"/>
339             <xs:enumeration value="ShowDesktop"/>
340             <xs:enumeration value="ShowMenu"/>
341             <xs:enumeration value="ToggleAlwaysOnBottom"/>
342             <xs:enumeration value="ToggleAlwaysOnTop"/>
343             <xs:enumeration value="ToggleDecorations"/>
344             <xs:enumeration value="ToggleDockAutoHide"/>
345             <xs:enumeration value="ToggleFullscreen"/>
346             <xs:enumeration value="ToggleMaximizeFull"/>
347             <xs:enumeration value="ToggleMaximizeHorz"/>
348             <xs:enumeration value="ToggleMaximizeVert"/>
349             <xs:enumeration value="ToggleOmnipresent"/>
350             <xs:enumeration value="ToggleShade"/>
351             <xs:enumeration value="ToggleShowDesktop"/>
352             <xs:enumeration value="Unfocus"/>
353             <xs:enumeration value="UnmaximizeFull"/>
354             <xs:enumeration value="UnmaximizeHorz"/>
355             <xs:enumeration value="UnmaximizeVert"/>
356             <xs:enumeration value="Unshade"/>
357             <xs:enumeration value="UnshadeRaise"/>
358             <xs:enumeration value="UnShowDesktop"/>
359         </xs:restriction>
360     </xs:simpleType>
361     <xs:simpleType name="bool">
362         <!-- this is copied to maximization.  Keep that in sync. -->
363         <xs:restriction base="xs:string">
364             <xs:enumeration value="yes"/>
365             <xs:enumeration value="no"/>
366             <xs:enumeration value="true"/>
367             <xs:enumeration value="false"/>
368             <xs:enumeration value="on"/>
369             <xs:enumeration value="off"/>
370         </xs:restriction>
371     </xs:simpleType>
372     <xs:simpleType name="fontweight">
373         <xs:restriction base="xs:string">
374             <xs:enumeration value="normal"/>
375             <xs:enumeration value="bold"/>
376         </xs:restriction>
377     </xs:simpleType>
378     <xs:simpleType name="fontslant">
379         <xs:restriction base="xs:string">
380             <xs:enumeration value="normal"/>
381             <xs:enumeration value="italic"/>
382             <xs:enumeration value="opaque"/>
383         </xs:restriction>
384     </xs:simpleType>
385     <xs:simpleType name="button">
386         <xs:restriction base="xs:string">
387             <xs:enumeration value="Left"/>
388             <xs:enumeration value="Middle"/>
389             <xs:enumeration value="Right"/>
390             <xs:enumeration value="Up"/>
391             <xs:enumeration value="Down"/>
392             <xs:enumeration value="A-Left"/>
393             <xs:enumeration value="A-Middle"/>
394             <xs:enumeration value="A-Right"/>
395             <xs:enumeration value="A-Up"/>
396             <xs:enumeration value="A-Down"/>
397             <xs:enumeration value="C-A-Left"/>
398             <xs:enumeration value="C-A-Middle"/>
399             <xs:enumeration value="C-A-Right"/>
400             <xs:enumeration value="C-A-Up"/>
401             <xs:enumeration value="C-A-Down"/>
402         </xs:restriction>
403     </xs:simpleType>
404     <xs:simpleType name="center_or_int">
405         <xs:restriction base="xs:string">
406             <!-- ob: atoi($_) unless $_ eq 'center'; -->
407             <!-- I think the regexp DTRT WRT atoi. -->
408             <xs:pattern value="center|0|[1-9][0-9]*"/>
409         </xs:restriction>
410     </xs:simpleType>
411     <xs:simpleType name="contextname">
412         <xs:restriction base="xs:string">
413             <xs:enumeration value="Desktop"/>
414             <xs:enumeration value="Client"/>
415             <xs:enumeration value="Titlebar"/>
416             <xs:enumeration value="Handle"/>
417             <xs:enumeration value="Frame"/>
418             <xs:enumeration value="TLCorner"/>
419             <xs:enumeration value="TRCorner"/>
420             <xs:enumeration value="BLCorner"/>
421             <xs:enumeration value="BRCorner"/>
422             <xs:enumeration value="Maximize"/>
423             <xs:enumeration value="AllDesktops"/>
424             <xs:enumeration value="Shade"/>
425             <xs:enumeration value="Iconify"/>
426             <xs:enumeration value="Icon"/>
427             <xs:enumeration value="Close"/>
428             <xs:enumeration value="MoveResize"/>
429         </xs:restriction>
430     </xs:simpleType>
431     <xs:simpleType name="direction">
432         <xs:restriction base="xs:string">
433             <xs:enumeration value="Horizontal"/>
434             <xs:enumeration value="Vertical"/>
435         </xs:restriction>
436     </xs:simpleType>
437     <xs:simpleType name="dock_position">
438         <xs:restriction base="xs:string">
439             <xs:enumeration value="TopLeft"/>
440             <xs:enumeration value="Top"/>
441             <xs:enumeration value="TopRight"/>
442             <xs:enumeration value="Right"/>
443             <xs:enumeration value="BottomRight"/>
444             <xs:enumeration value="Bottom"/>
445             <xs:enumeration value="BottomLeft"/>
446             <xs:enumeration value="Left"/>
447             <xs:enumeration value="Floating"/>
448         </xs:restriction>
449     </xs:simpleType>
450     <xs:simpleType name="keyname">
451         <xs:restriction base="xs:string">
452             <!-- FIXME: M, Mod2, Mod5 in addition to S, A, C -->
453             <!-- how do we do all substrings and permutations? -->
454             <xs:pattern value="(A-)?(S-)?(A-)?(C-)?(A-)?(S-)?(A-)?[a-zA-Z0-9]*"/>
455         </xs:restriction>
456     </xs:simpleType>
457     <xs:simpleType name="layer">
458         <xs:restriction base="xs:string">
459             <xs:enumeration value="above"/>
460             <xs:enumeration value="normal"/>
461             <xs:enumeration value="below"/>
462         </xs:restriction>
463     </xs:simpleType>
464     <xs:simpleType name="maximization">
465         <xs:restriction base="xs:string">
466             <xs:enumeration value="Horizontal"/>
467             <xs:enumeration value="Vertical"/>
468             <!-- this is a copy of ob:bool.  Keep it in sync. -->
469             <xs:enumeration value="yes"/>
470             <xs:enumeration value="no"/>
471             <xs:enumeration value="true"/>
472             <xs:enumeration value="false"/>
473             <xs:enumeration value="on"/>
474             <xs:enumeration value="off"/>
475         </xs:restriction>
476     </xs:simpleType>
477     <xs:simpleType name="mouseaction">
478         <xs:restriction base="xs:string">
479             <xs:enumeration value="Click"/>
480             <xs:enumeration value="DoubleClick"/>
481             <xs:enumeration value="Drag"/>
482             <xs:enumeration value="Press"/>
483             <xs:enumeration value="Release"/>
484         </xs:restriction>
485     </xs:simpleType>
486     <xs:simpleType name="placementpolicy">
487         <xs:restriction base="xs:string">
488             <xs:enumeration value="Smart"/>
489             <xs:enumeration value="UnderMouse"/>
490         </xs:restriction>
491     </xs:simpleType>
492     <xs:simpleType name="popupposition">
493         <xs:restriction base="xs:string">
494             <xs:enumeration value="Top"/>
495             <xs:enumeration value="Center"/>
496         </xs:restriction>
497     </xs:simpleType>
498     <xs:simpleType name="popupshow">
499         <xs:restriction base="xs:string">
500             <xs:enumeration value="Always"/>
501             <xs:enumeration value="Never"/>
502             <xs:enumeration value="Nonpixel"/>
503         </xs:restriction>
504     </xs:simpleType>
505 </xs:schema>