1# ----------------------------------------------------------------------------
2# pyglet
3# Copyright (c) 2006-2008 Alex Holkner
4# Copyright (c) 2008-2021 pyglet contributors
5# All rights reserved.
6#
7# Redistribution and use in source and binary forms, with or without
8# modification, are permitted provided that the following conditions
9# are met:
10#
11#  * Redistributions of source code must retain the above copyright
12#    notice, this list of conditions and the following disclaimer.
13#  * Redistributions in binary form must reproduce the above copyright
14#    notice, this list of conditions and the following disclaimer in
15#    the documentation and/or other materials provided with the
16#    distribution.
17#  * Neither the name of pyglet nor the names of its
18#    contributors may be used to endorse or promote products
19#    derived from this software without specific prior written
20#    permission.
21#
22# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
23# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
24# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
25# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
26# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
27# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
28# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
30# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
32# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
33# POSSIBILITY OF SUCH DAMAGE.
34# ----------------------------------------------------------------------------
35"""Wrapper for X11
36
37Generated with:
38tools/genwrappers.py xlib
39
40Do not modify this file.
41
42####### NOTICE! ########
43This file has been manually modified to fix
44a limitation of the current wrapping tools.
45
46"""
47
48import ctypes
49from ctypes import *
50
51import pyglet.lib
52
53_lib = pyglet.lib.load_library('X11')
54
55_int_types = (c_int16, c_int32)
56if hasattr(ctypes, 'c_int64'):
57    # Some builds of ctypes apparently do not have c_int64
58    # defined; it's a pretty good bet that these builds do not
59    # have 64-bit pointers.
60    _int_types += (ctypes.c_int64,)
61for t in _int_types:
62    if sizeof(t) == sizeof(c_size_t):
63        c_ptrdiff_t = t
64
65class c_void(Structure):
66    # c_void_p is a buggy return type, converting to int, so
67    # POINTER(None) == c_void_p is actually written as
68    # POINTER(c_void), so it can be treated as a real pointer.
69    _fields_ = [('dummy', c_int)]
70
71
72
73XlibSpecificationRelease = 6 	# /usr/include/X11/Xlib.h:39
74X_PROTOCOL = 11 	# /usr/include/X11/X.h:53
75X_PROTOCOL_REVISION = 0 	# /usr/include/X11/X.h:54
76XID = c_ulong 	# /usr/include/X11/X.h:66
77Mask = c_ulong 	# /usr/include/X11/X.h:70
78Atom = c_ulong 	# /usr/include/X11/X.h:74
79VisualID = c_ulong 	# /usr/include/X11/X.h:76
80Time = c_ulong 	# /usr/include/X11/X.h:77
81Window = XID 	# /usr/include/X11/X.h:96
82Drawable = XID 	# /usr/include/X11/X.h:97
83Font = XID 	# /usr/include/X11/X.h:100
84Pixmap = XID 	# /usr/include/X11/X.h:102
85Cursor = XID 	# /usr/include/X11/X.h:103
86Colormap = XID 	# /usr/include/X11/X.h:104
87GContext = XID 	# /usr/include/X11/X.h:105
88KeySym = XID 	# /usr/include/X11/X.h:106
89KeyCode = c_ubyte 	# /usr/include/X11/X.h:108
90None_ = 0 	# /usr/include/X11/X.h:115
91ParentRelative = 1 	# /usr/include/X11/X.h:118
92CopyFromParent = 0 	# /usr/include/X11/X.h:121
93PointerWindow = 0 	# /usr/include/X11/X.h:126
94InputFocus = 1 	# /usr/include/X11/X.h:127
95PointerRoot = 1 	# /usr/include/X11/X.h:129
96AnyPropertyType = 0 	# /usr/include/X11/X.h:131
97AnyKey = 0 	# /usr/include/X11/X.h:133
98AnyButton = 0 	# /usr/include/X11/X.h:135
99AllTemporary = 0 	# /usr/include/X11/X.h:137
100CurrentTime = 0 	# /usr/include/X11/X.h:139
101NoSymbol = 0 	# /usr/include/X11/X.h:141
102NoEventMask = 0 	# /usr/include/X11/X.h:150
103KeyPressMask = 1 	# /usr/include/X11/X.h:151
104KeyReleaseMask = 2 	# /usr/include/X11/X.h:152
105ButtonPressMask = 4 	# /usr/include/X11/X.h:153
106ButtonReleaseMask = 8 	# /usr/include/X11/X.h:154
107EnterWindowMask = 16 	# /usr/include/X11/X.h:155
108LeaveWindowMask = 32 	# /usr/include/X11/X.h:156
109PointerMotionMask = 64 	# /usr/include/X11/X.h:157
110PointerMotionHintMask = 128 	# /usr/include/X11/X.h:158
111Button1MotionMask = 256 	# /usr/include/X11/X.h:159
112Button2MotionMask = 512 	# /usr/include/X11/X.h:160
113Button3MotionMask = 1024 	# /usr/include/X11/X.h:161
114Button4MotionMask = 2048 	# /usr/include/X11/X.h:162
115Button5MotionMask = 4096 	# /usr/include/X11/X.h:163
116ButtonMotionMask = 8192 	# /usr/include/X11/X.h:164
117KeymapStateMask = 16384 	# /usr/include/X11/X.h:165
118ExposureMask = 32768 	# /usr/include/X11/X.h:166
119VisibilityChangeMask = 65536 	# /usr/include/X11/X.h:167
120StructureNotifyMask = 131072 	# /usr/include/X11/X.h:168
121ResizeRedirectMask = 262144 	# /usr/include/X11/X.h:169
122SubstructureNotifyMask = 524288 	# /usr/include/X11/X.h:170
123SubstructureRedirectMask = 1048576 	# /usr/include/X11/X.h:171
124FocusChangeMask = 2097152 	# /usr/include/X11/X.h:172
125PropertyChangeMask = 4194304 	# /usr/include/X11/X.h:173
126ColormapChangeMask = 8388608 	# /usr/include/X11/X.h:174
127OwnerGrabButtonMask = 16777216 	# /usr/include/X11/X.h:175
128KeyPress = 2 	# /usr/include/X11/X.h:181
129KeyRelease = 3 	# /usr/include/X11/X.h:182
130ButtonPress = 4 	# /usr/include/X11/X.h:183
131ButtonRelease = 5 	# /usr/include/X11/X.h:184
132MotionNotify = 6 	# /usr/include/X11/X.h:185
133EnterNotify = 7 	# /usr/include/X11/X.h:186
134LeaveNotify = 8 	# /usr/include/X11/X.h:187
135FocusIn = 9 	# /usr/include/X11/X.h:188
136FocusOut = 10 	# /usr/include/X11/X.h:189
137KeymapNotify = 11 	# /usr/include/X11/X.h:190
138Expose = 12 	# /usr/include/X11/X.h:191
139GraphicsExpose = 13 	# /usr/include/X11/X.h:192
140NoExpose = 14 	# /usr/include/X11/X.h:193
141VisibilityNotify = 15 	# /usr/include/X11/X.h:194
142CreateNotify = 16 	# /usr/include/X11/X.h:195
143DestroyNotify = 17 	# /usr/include/X11/X.h:196
144UnmapNotify = 18 	# /usr/include/X11/X.h:197
145MapNotify = 19 	# /usr/include/X11/X.h:198
146MapRequest = 20 	# /usr/include/X11/X.h:199
147ReparentNotify = 21 	# /usr/include/X11/X.h:200
148ConfigureNotify = 22 	# /usr/include/X11/X.h:201
149ConfigureRequest = 23 	# /usr/include/X11/X.h:202
150GravityNotify = 24 	# /usr/include/X11/X.h:203
151ResizeRequest = 25 	# /usr/include/X11/X.h:204
152CirculateNotify = 26 	# /usr/include/X11/X.h:205
153CirculateRequest = 27 	# /usr/include/X11/X.h:206
154PropertyNotify = 28 	# /usr/include/X11/X.h:207
155SelectionClear = 29 	# /usr/include/X11/X.h:208
156SelectionRequest = 30 	# /usr/include/X11/X.h:209
157SelectionNotify = 31 	# /usr/include/X11/X.h:210
158ColormapNotify = 32 	# /usr/include/X11/X.h:211
159ClientMessage = 33 	# /usr/include/X11/X.h:212
160MappingNotify = 34 	# /usr/include/X11/X.h:213
161GenericEvent = 35 	# /usr/include/X11/X.h:214
162LASTEvent = 36 	# /usr/include/X11/X.h:215
163ShiftMask = 1 	# /usr/include/X11/X.h:221
164LockMask = 2 	# /usr/include/X11/X.h:222
165ControlMask = 4 	# /usr/include/X11/X.h:223
166Mod1Mask = 8 	# /usr/include/X11/X.h:224
167Mod2Mask = 16 	# /usr/include/X11/X.h:225
168Mod3Mask = 32 	# /usr/include/X11/X.h:226
169Mod4Mask = 64 	# /usr/include/X11/X.h:227
170Mod5Mask = 128 	# /usr/include/X11/X.h:228
171ShiftMapIndex = 0 	# /usr/include/X11/X.h:233
172LockMapIndex = 1 	# /usr/include/X11/X.h:234
173ControlMapIndex = 2 	# /usr/include/X11/X.h:235
174Mod1MapIndex = 3 	# /usr/include/X11/X.h:236
175Mod2MapIndex = 4 	# /usr/include/X11/X.h:237
176Mod3MapIndex = 5 	# /usr/include/X11/X.h:238
177Mod4MapIndex = 6 	# /usr/include/X11/X.h:239
178Mod5MapIndex = 7 	# /usr/include/X11/X.h:240
179Button1Mask = 256 	# /usr/include/X11/X.h:246
180Button2Mask = 512 	# /usr/include/X11/X.h:247
181Button3Mask = 1024 	# /usr/include/X11/X.h:248
182Button4Mask = 2048 	# /usr/include/X11/X.h:249
183Button5Mask = 4096 	# /usr/include/X11/X.h:250
184AnyModifier = 32768 	# /usr/include/X11/X.h:252
185Button1 = 1 	# /usr/include/X11/X.h:259
186Button2 = 2 	# /usr/include/X11/X.h:260
187Button3 = 3 	# /usr/include/X11/X.h:261
188Button4 = 4 	# /usr/include/X11/X.h:262
189Button5 = 5 	# /usr/include/X11/X.h:263
190NotifyNormal = 0 	# /usr/include/X11/X.h:267
191NotifyGrab = 1 	# /usr/include/X11/X.h:268
192NotifyUngrab = 2 	# /usr/include/X11/X.h:269
193NotifyWhileGrabbed = 3 	# /usr/include/X11/X.h:270
194NotifyHint = 1 	# /usr/include/X11/X.h:272
195NotifyAncestor = 0 	# /usr/include/X11/X.h:276
196NotifyVirtual = 1 	# /usr/include/X11/X.h:277
197NotifyInferior = 2 	# /usr/include/X11/X.h:278
198NotifyNonlinear = 3 	# /usr/include/X11/X.h:279
199NotifyNonlinearVirtual = 4 	# /usr/include/X11/X.h:280
200NotifyPointer = 5 	# /usr/include/X11/X.h:281
201NotifyPointerRoot = 6 	# /usr/include/X11/X.h:282
202NotifyDetailNone = 7 	# /usr/include/X11/X.h:283
203VisibilityUnobscured = 0 	# /usr/include/X11/X.h:287
204VisibilityPartiallyObscured = 1 	# /usr/include/X11/X.h:288
205VisibilityFullyObscured = 2 	# /usr/include/X11/X.h:289
206PlaceOnTop = 0 	# /usr/include/X11/X.h:293
207PlaceOnBottom = 1 	# /usr/include/X11/X.h:294
208FamilyInternet = 0 	# /usr/include/X11/X.h:298
209FamilyDECnet = 1 	# /usr/include/X11/X.h:299
210FamilyChaos = 2 	# /usr/include/X11/X.h:300
211FamilyInternet6 = 6 	# /usr/include/X11/X.h:301
212FamilyServerInterpreted = 5 	# /usr/include/X11/X.h:304
213PropertyNewValue = 0 	# /usr/include/X11/X.h:308
214PropertyDelete = 1 	# /usr/include/X11/X.h:309
215ColormapUninstalled = 0 	# /usr/include/X11/X.h:313
216ColormapInstalled = 1 	# /usr/include/X11/X.h:314
217GrabModeSync = 0 	# /usr/include/X11/X.h:318
218GrabModeAsync = 1 	# /usr/include/X11/X.h:319
219GrabSuccess = 0 	# /usr/include/X11/X.h:323
220AlreadyGrabbed = 1 	# /usr/include/X11/X.h:324
221GrabInvalidTime = 2 	# /usr/include/X11/X.h:325
222GrabNotViewable = 3 	# /usr/include/X11/X.h:326
223GrabFrozen = 4 	# /usr/include/X11/X.h:327
224AsyncPointer = 0 	# /usr/include/X11/X.h:331
225SyncPointer = 1 	# /usr/include/X11/X.h:332
226ReplayPointer = 2 	# /usr/include/X11/X.h:333
227AsyncKeyboard = 3 	# /usr/include/X11/X.h:334
228SyncKeyboard = 4 	# /usr/include/X11/X.h:335
229ReplayKeyboard = 5 	# /usr/include/X11/X.h:336
230AsyncBoth = 6 	# /usr/include/X11/X.h:337
231SyncBoth = 7 	# /usr/include/X11/X.h:338
232RevertToParent = 2 	# /usr/include/X11/X.h:344
233Success = 0 	# /usr/include/X11/X.h:350
234BadRequest = 1 	# /usr/include/X11/X.h:351
235BadValue = 2 	# /usr/include/X11/X.h:352
236BadWindow = 3 	# /usr/include/X11/X.h:353
237BadPixmap = 4 	# /usr/include/X11/X.h:354
238BadAtom = 5 	# /usr/include/X11/X.h:355
239BadCursor = 6 	# /usr/include/X11/X.h:356
240BadFont = 7 	# /usr/include/X11/X.h:357
241BadMatch = 8 	# /usr/include/X11/X.h:358
242BadDrawable = 9 	# /usr/include/X11/X.h:359
243BadAccess = 10 	# /usr/include/X11/X.h:360
244BadAlloc = 11 	# /usr/include/X11/X.h:369
245BadColor = 12 	# /usr/include/X11/X.h:370
246BadGC = 13 	# /usr/include/X11/X.h:371
247BadIDChoice = 14 	# /usr/include/X11/X.h:372
248BadName = 15 	# /usr/include/X11/X.h:373
249BadLength = 16 	# /usr/include/X11/X.h:374
250BadImplementation = 17 	# /usr/include/X11/X.h:375
251FirstExtensionError = 128 	# /usr/include/X11/X.h:377
252LastExtensionError = 255 	# /usr/include/X11/X.h:378
253InputOutput = 1 	# /usr/include/X11/X.h:387
254InputOnly = 2 	# /usr/include/X11/X.h:388
255CWBackPixmap = 1 	# /usr/include/X11/X.h:392
256CWBackPixel = 2 	# /usr/include/X11/X.h:393
257CWBorderPixmap = 4 	# /usr/include/X11/X.h:394
258CWBorderPixel = 8 	# /usr/include/X11/X.h:395
259CWBitGravity = 16 	# /usr/include/X11/X.h:396
260CWWinGravity = 32 	# /usr/include/X11/X.h:397
261CWBackingStore = 64 	# /usr/include/X11/X.h:398
262CWBackingPlanes = 128 	# /usr/include/X11/X.h:399
263CWBackingPixel = 256 	# /usr/include/X11/X.h:400
264CWOverrideRedirect = 512 	# /usr/include/X11/X.h:401
265CWSaveUnder = 1024 	# /usr/include/X11/X.h:402
266CWEventMask = 2048 	# /usr/include/X11/X.h:403
267CWDontPropagate = 4096 	# /usr/include/X11/X.h:404
268CWColormap = 8192 	# /usr/include/X11/X.h:405
269CWCursor = 16384 	# /usr/include/X11/X.h:406
270CWX = 1 	# /usr/include/X11/X.h:410
271CWY = 2 	# /usr/include/X11/X.h:411
272CWWidth = 4 	# /usr/include/X11/X.h:412
273CWHeight = 8 	# /usr/include/X11/X.h:413
274CWBorderWidth = 16 	# /usr/include/X11/X.h:414
275CWSibling = 32 	# /usr/include/X11/X.h:415
276CWStackMode = 64 	# /usr/include/X11/X.h:416
277ForgetGravity = 0 	# /usr/include/X11/X.h:421
278NorthWestGravity = 1 	# /usr/include/X11/X.h:422
279NorthGravity = 2 	# /usr/include/X11/X.h:423
280NorthEastGravity = 3 	# /usr/include/X11/X.h:424
281WestGravity = 4 	# /usr/include/X11/X.h:425
282CenterGravity = 5 	# /usr/include/X11/X.h:426
283EastGravity = 6 	# /usr/include/X11/X.h:427
284SouthWestGravity = 7 	# /usr/include/X11/X.h:428
285SouthGravity = 8 	# /usr/include/X11/X.h:429
286SouthEastGravity = 9 	# /usr/include/X11/X.h:430
287StaticGravity = 10 	# /usr/include/X11/X.h:431
288UnmapGravity = 0 	# /usr/include/X11/X.h:435
289NotUseful = 0 	# /usr/include/X11/X.h:439
290WhenMapped = 1 	# /usr/include/X11/X.h:440
291Always = 2 	# /usr/include/X11/X.h:441
292IsUnmapped = 0 	# /usr/include/X11/X.h:445
293IsUnviewable = 1 	# /usr/include/X11/X.h:446
294IsViewable = 2 	# /usr/include/X11/X.h:447
295SetModeInsert = 0 	# /usr/include/X11/X.h:451
296SetModeDelete = 1 	# /usr/include/X11/X.h:452
297DestroyAll = 0 	# /usr/include/X11/X.h:456
298RetainPermanent = 1 	# /usr/include/X11/X.h:457
299RetainTemporary = 2 	# /usr/include/X11/X.h:458
300Above = 0 	# /usr/include/X11/X.h:462
301Below = 1 	# /usr/include/X11/X.h:463
302TopIf = 2 	# /usr/include/X11/X.h:464
303BottomIf = 3 	# /usr/include/X11/X.h:465
304Opposite = 4 	# /usr/include/X11/X.h:466
305RaiseLowest = 0 	# /usr/include/X11/X.h:470
306LowerHighest = 1 	# /usr/include/X11/X.h:471
307PropModeReplace = 0 	# /usr/include/X11/X.h:475
308PropModePrepend = 1 	# /usr/include/X11/X.h:476
309PropModeAppend = 2 	# /usr/include/X11/X.h:477
310GXclear = 0 	# /usr/include/X11/X.h:485
311GXand = 1 	# /usr/include/X11/X.h:486
312GXandReverse = 2 	# /usr/include/X11/X.h:487
313GXcopy = 3 	# /usr/include/X11/X.h:488
314GXandInverted = 4 	# /usr/include/X11/X.h:489
315GXnoop = 5 	# /usr/include/X11/X.h:490
316GXxor = 6 	# /usr/include/X11/X.h:491
317GXor = 7 	# /usr/include/X11/X.h:492
318GXnor = 8 	# /usr/include/X11/X.h:493
319GXequiv = 9 	# /usr/include/X11/X.h:494
320GXinvert = 10 	# /usr/include/X11/X.h:495
321GXorReverse = 11 	# /usr/include/X11/X.h:496
322GXcopyInverted = 12 	# /usr/include/X11/X.h:497
323GXorInverted = 13 	# /usr/include/X11/X.h:498
324GXnand = 14 	# /usr/include/X11/X.h:499
325GXset = 15 	# /usr/include/X11/X.h:500
326LineSolid = 0 	# /usr/include/X11/X.h:504
327LineOnOffDash = 1 	# /usr/include/X11/X.h:505
328LineDoubleDash = 2 	# /usr/include/X11/X.h:506
329CapNotLast = 0 	# /usr/include/X11/X.h:510
330CapButt = 1 	# /usr/include/X11/X.h:511
331CapRound = 2 	# /usr/include/X11/X.h:512
332CapProjecting = 3 	# /usr/include/X11/X.h:513
333JoinMiter = 0 	# /usr/include/X11/X.h:517
334JoinRound = 1 	# /usr/include/X11/X.h:518
335JoinBevel = 2 	# /usr/include/X11/X.h:519
336FillSolid = 0 	# /usr/include/X11/X.h:523
337FillTiled = 1 	# /usr/include/X11/X.h:524
338FillStippled = 2 	# /usr/include/X11/X.h:525
339FillOpaqueStippled = 3 	# /usr/include/X11/X.h:526
340EvenOddRule = 0 	# /usr/include/X11/X.h:530
341WindingRule = 1 	# /usr/include/X11/X.h:531
342ClipByChildren = 0 	# /usr/include/X11/X.h:535
343IncludeInferiors = 1 	# /usr/include/X11/X.h:536
344Unsorted = 0 	# /usr/include/X11/X.h:540
345YSorted = 1 	# /usr/include/X11/X.h:541
346YXSorted = 2 	# /usr/include/X11/X.h:542
347YXBanded = 3 	# /usr/include/X11/X.h:543
348CoordModeOrigin = 0 	# /usr/include/X11/X.h:547
349CoordModePrevious = 1 	# /usr/include/X11/X.h:548
350Complex = 0 	# /usr/include/X11/X.h:552
351Nonconvex = 1 	# /usr/include/X11/X.h:553
352Convex = 2 	# /usr/include/X11/X.h:554
353ArcChord = 0 	# /usr/include/X11/X.h:558
354ArcPieSlice = 1 	# /usr/include/X11/X.h:559
355GCFunction = 1 	# /usr/include/X11/X.h:564
356GCPlaneMask = 2 	# /usr/include/X11/X.h:565
357GCForeground = 4 	# /usr/include/X11/X.h:566
358GCBackground = 8 	# /usr/include/X11/X.h:567
359GCLineWidth = 16 	# /usr/include/X11/X.h:568
360GCLineStyle = 32 	# /usr/include/X11/X.h:569
361GCCapStyle = 64 	# /usr/include/X11/X.h:570
362GCJoinStyle = 128 	# /usr/include/X11/X.h:571
363GCFillStyle = 256 	# /usr/include/X11/X.h:572
364GCFillRule = 512 	# /usr/include/X11/X.h:573
365GCTile = 1024 	# /usr/include/X11/X.h:574
366GCStipple = 2048 	# /usr/include/X11/X.h:575
367GCTileStipXOrigin = 4096 	# /usr/include/X11/X.h:576
368GCTileStipYOrigin = 8192 	# /usr/include/X11/X.h:577
369GCFont = 16384 	# /usr/include/X11/X.h:578
370GCSubwindowMode = 32768 	# /usr/include/X11/X.h:579
371GCGraphicsExposures = 65536 	# /usr/include/X11/X.h:580
372GCClipXOrigin = 131072 	# /usr/include/X11/X.h:581
373GCClipYOrigin = 262144 	# /usr/include/X11/X.h:582
374GCClipMask = 524288 	# /usr/include/X11/X.h:583
375GCDashOffset = 1048576 	# /usr/include/X11/X.h:584
376GCDashList = 2097152 	# /usr/include/X11/X.h:585
377GCArcMode = 4194304 	# /usr/include/X11/X.h:586
378GCLastBit = 22 	# /usr/include/X11/X.h:588
379FontLeftToRight = 0 	# /usr/include/X11/X.h:595
380FontRightToLeft = 1 	# /usr/include/X11/X.h:596
381FontChange = 255 	# /usr/include/X11/X.h:598
382XYBitmap = 0 	# /usr/include/X11/X.h:606
383XYPixmap = 1 	# /usr/include/X11/X.h:607
384ZPixmap = 2 	# /usr/include/X11/X.h:608
385AllocNone = 0 	# /usr/include/X11/X.h:616
386AllocAll = 1 	# /usr/include/X11/X.h:617
387DoRed = 1 	# /usr/include/X11/X.h:622
388DoGreen = 2 	# /usr/include/X11/X.h:623
389DoBlue = 4 	# /usr/include/X11/X.h:624
390CursorShape = 0 	# /usr/include/X11/X.h:632
391TileShape = 1 	# /usr/include/X11/X.h:633
392StippleShape = 2 	# /usr/include/X11/X.h:634
393AutoRepeatModeOff = 0 	# /usr/include/X11/X.h:640
394AutoRepeatModeOn = 1 	# /usr/include/X11/X.h:641
395AutoRepeatModeDefault = 2 	# /usr/include/X11/X.h:642
396LedModeOff = 0 	# /usr/include/X11/X.h:644
397LedModeOn = 1 	# /usr/include/X11/X.h:645
398KBKeyClickPercent = 1 	# /usr/include/X11/X.h:649
399KBBellPercent = 2 	# /usr/include/X11/X.h:650
400KBBellPitch = 4 	# /usr/include/X11/X.h:651
401KBBellDuration = 8 	# /usr/include/X11/X.h:652
402KBLed = 16 	# /usr/include/X11/X.h:653
403KBLedMode = 32 	# /usr/include/X11/X.h:654
404KBKey = 64 	# /usr/include/X11/X.h:655
405KBAutoRepeatMode = 128 	# /usr/include/X11/X.h:656
406MappingSuccess = 0 	# /usr/include/X11/X.h:658
407MappingBusy = 1 	# /usr/include/X11/X.h:659
408MappingFailed = 2 	# /usr/include/X11/X.h:660
409MappingModifier = 0 	# /usr/include/X11/X.h:662
410MappingKeyboard = 1 	# /usr/include/X11/X.h:663
411MappingPointer = 2 	# /usr/include/X11/X.h:664
412DontPreferBlanking = 0 	# /usr/include/X11/X.h:670
413PreferBlanking = 1 	# /usr/include/X11/X.h:671
414DefaultBlanking = 2 	# /usr/include/X11/X.h:672
415DisableScreenSaver = 0 	# /usr/include/X11/X.h:674
416DisableScreenInterval = 0 	# /usr/include/X11/X.h:675
417DontAllowExposures = 0 	# /usr/include/X11/X.h:677
418AllowExposures = 1 	# /usr/include/X11/X.h:678
419DefaultExposures = 2 	# /usr/include/X11/X.h:679
420ScreenSaverReset = 0 	# /usr/include/X11/X.h:683
421ScreenSaverActive = 1 	# /usr/include/X11/X.h:684
422HostInsert = 0 	# /usr/include/X11/X.h:692
423HostDelete = 1 	# /usr/include/X11/X.h:693
424EnableAccess = 1 	# /usr/include/X11/X.h:697
425DisableAccess = 0 	# /usr/include/X11/X.h:698
426StaticGray = 0 	# /usr/include/X11/X.h:704
427GrayScale = 1 	# /usr/include/X11/X.h:705
428StaticColor = 2 	# /usr/include/X11/X.h:706
429PseudoColor = 3 	# /usr/include/X11/X.h:707
430TrueColor = 4 	# /usr/include/X11/X.h:708
431DirectColor = 5 	# /usr/include/X11/X.h:709
432LSBFirst = 0 	# /usr/include/X11/X.h:714
433MSBFirst = 1 	# /usr/include/X11/X.h:715
434# /usr/include/X11/Xlib.h:73
435_Xmblen = _lib._Xmblen
436_Xmblen.restype = c_int
437_Xmblen.argtypes = [c_char_p, c_int]
438
439X_HAVE_UTF8_STRING = 1 	# /usr/include/X11/Xlib.h:85
440XPointer = c_char_p 	# /usr/include/X11/Xlib.h:87
441Bool = c_int 	# /usr/include/X11/Xlib.h:89
442Status = c_int 	# /usr/include/X11/Xlib.h:90
443True_ = 1 	# /usr/include/X11/Xlib.h:91
444False_ = 0 	# /usr/include/X11/Xlib.h:92
445QueuedAlready = 0 	# /usr/include/X11/Xlib.h:94
446QueuedAfterReading = 1 	# /usr/include/X11/Xlib.h:95
447QueuedAfterFlush = 2 	# /usr/include/X11/Xlib.h:96
448class struct__XExtData(Structure):
449    __slots__ = [
450        'number',
451        'next',
452        'free_private',
453        'private_data',
454    ]
455struct__XExtData._fields_ = [
456    ('number', c_int),
457    ('next', POINTER(struct__XExtData)),
458    ('free_private', POINTER(CFUNCTYPE(c_int, POINTER(struct__XExtData)))),
459    ('private_data', XPointer),
460]
461
462XExtData = struct__XExtData 	# /usr/include/X11/Xlib.h:166
463class struct_anon_15(Structure):
464    __slots__ = [
465        'extension',
466        'major_opcode',
467        'first_event',
468        'first_error',
469    ]
470struct_anon_15._fields_ = [
471    ('extension', c_int),
472    ('major_opcode', c_int),
473    ('first_event', c_int),
474    ('first_error', c_int),
475]
476
477XExtCodes = struct_anon_15 	# /usr/include/X11/Xlib.h:176
478class struct_anon_16(Structure):
479    __slots__ = [
480        'depth',
481        'bits_per_pixel',
482        'scanline_pad',
483    ]
484struct_anon_16._fields_ = [
485    ('depth', c_int),
486    ('bits_per_pixel', c_int),
487    ('scanline_pad', c_int),
488]
489
490XPixmapFormatValues = struct_anon_16 	# /usr/include/X11/Xlib.h:186
491class struct_anon_17(Structure):
492    __slots__ = [
493        'function',
494        'plane_mask',
495        'foreground',
496        'background',
497        'line_width',
498        'line_style',
499        'cap_style',
500        'join_style',
501        'fill_style',
502        'fill_rule',
503        'arc_mode',
504        'tile',
505        'stipple',
506        'ts_x_origin',
507        'ts_y_origin',
508        'font',
509        'subwindow_mode',
510        'graphics_exposures',
511        'clip_x_origin',
512        'clip_y_origin',
513        'clip_mask',
514        'dash_offset',
515        'dashes',
516    ]
517struct_anon_17._fields_ = [
518    ('function', c_int),
519    ('plane_mask', c_ulong),
520    ('foreground', c_ulong),
521    ('background', c_ulong),
522    ('line_width', c_int),
523    ('line_style', c_int),
524    ('cap_style', c_int),
525    ('join_style', c_int),
526    ('fill_style', c_int),
527    ('fill_rule', c_int),
528    ('arc_mode', c_int),
529    ('tile', Pixmap),
530    ('stipple', Pixmap),
531    ('ts_x_origin', c_int),
532    ('ts_y_origin', c_int),
533    ('font', Font),
534    ('subwindow_mode', c_int),
535    ('graphics_exposures', c_int),
536    ('clip_x_origin', c_int),
537    ('clip_y_origin', c_int),
538    ('clip_mask', Pixmap),
539    ('dash_offset', c_int),
540    ('dashes', c_char),
541]
542
543XGCValues = struct_anon_17 	# /usr/include/X11/Xlib.h:218
544class struct__XGC(Structure):
545    __slots__ = [
546    ]
547struct__XGC._fields_ = [
548    ('_opaque_struct', c_int)
549]
550
551class struct__XGC(Structure):
552    __slots__ = [
553    ]
554struct__XGC._fields_ = [
555    ('_opaque_struct', c_int)
556]
557
558GC = POINTER(struct__XGC) 	# /usr/include/X11/Xlib.h:233
559class struct_anon_18(Structure):
560    __slots__ = [
561        'ext_data',
562        'visualid',
563        'class',
564        'red_mask',
565        'green_mask',
566        'blue_mask',
567        'bits_per_rgb',
568        'map_entries',
569    ]
570struct_anon_18._fields_ = [
571    ('ext_data', POINTER(XExtData)),
572    ('visualid', VisualID),
573    ('class', c_int),
574    ('red_mask', c_ulong),
575    ('green_mask', c_ulong),
576    ('blue_mask', c_ulong),
577    ('bits_per_rgb', c_int),
578    ('map_entries', c_int),
579]
580
581Visual = struct_anon_18 	# /usr/include/X11/Xlib.h:249
582class struct_anon_19(Structure):
583    __slots__ = [
584        'depth',
585        'nvisuals',
586        'visuals',
587    ]
588struct_anon_19._fields_ = [
589    ('depth', c_int),
590    ('nvisuals', c_int),
591    ('visuals', POINTER(Visual)),
592]
593
594Depth = struct_anon_19 	# /usr/include/X11/Xlib.h:258
595class struct_anon_20(Structure):
596    __slots__ = [
597        'ext_data',
598        'display',
599        'root',
600        'width',
601        'height',
602        'mwidth',
603        'mheight',
604        'ndepths',
605        'depths',
606        'root_depth',
607        'root_visual',
608        'default_gc',
609        'cmap',
610        'white_pixel',
611        'black_pixel',
612        'max_maps',
613        'min_maps',
614        'backing_store',
615        'save_unders',
616        'root_input_mask',
617    ]
618class struct__XDisplay(Structure):
619    __slots__ = [
620    ]
621struct__XDisplay._fields_ = [
622    ('_opaque_struct', c_int)
623]
624
625struct_anon_20._fields_ = [
626    ('ext_data', POINTER(XExtData)),
627    ('display', POINTER(struct__XDisplay)),
628    ('root', Window),
629    ('width', c_int),
630    ('height', c_int),
631    ('mwidth', c_int),
632    ('mheight', c_int),
633    ('ndepths', c_int),
634    ('depths', POINTER(Depth)),
635    ('root_depth', c_int),
636    ('root_visual', POINTER(Visual)),
637    ('default_gc', GC),
638    ('cmap', Colormap),
639    ('white_pixel', c_ulong),
640    ('black_pixel', c_ulong),
641    ('max_maps', c_int),
642    ('min_maps', c_int),
643    ('backing_store', c_int),
644    ('save_unders', c_int),
645    ('root_input_mask', c_long),
646]
647
648Screen = struct_anon_20 	# /usr/include/X11/Xlib.h:286
649class struct_anon_21(Structure):
650    __slots__ = [
651        'ext_data',
652        'depth',
653        'bits_per_pixel',
654        'scanline_pad',
655    ]
656struct_anon_21._fields_ = [
657    ('ext_data', POINTER(XExtData)),
658    ('depth', c_int),
659    ('bits_per_pixel', c_int),
660    ('scanline_pad', c_int),
661]
662
663ScreenFormat = struct_anon_21 	# /usr/include/X11/Xlib.h:296
664class struct_anon_22(Structure):
665    __slots__ = [
666        'background_pixmap',
667        'background_pixel',
668        'border_pixmap',
669        'border_pixel',
670        'bit_gravity',
671        'win_gravity',
672        'backing_store',
673        'backing_planes',
674        'backing_pixel',
675        'save_under',
676        'event_mask',
677        'do_not_propagate_mask',
678        'override_redirect',
679        'colormap',
680        'cursor',
681    ]
682struct_anon_22._fields_ = [
683    ('background_pixmap', Pixmap),
684    ('background_pixel', c_ulong),
685    ('border_pixmap', Pixmap),
686    ('border_pixel', c_ulong),
687    ('bit_gravity', c_int),
688    ('win_gravity', c_int),
689    ('backing_store', c_int),
690    ('backing_planes', c_ulong),
691    ('backing_pixel', c_ulong),
692    ('save_under', c_int),
693    ('event_mask', c_long),
694    ('do_not_propagate_mask', c_long),
695    ('override_redirect', c_int),
696    ('colormap', Colormap),
697    ('cursor', Cursor),
698]
699
700XSetWindowAttributes = struct_anon_22 	# /usr/include/X11/Xlib.h:317
701class struct_anon_23(Structure):
702    __slots__ = [
703        'x',
704        'y',
705        'width',
706        'height',
707        'border_width',
708        'depth',
709        'visual',
710        'root',
711        'class',
712        'bit_gravity',
713        'win_gravity',
714        'backing_store',
715        'backing_planes',
716        'backing_pixel',
717        'save_under',
718        'colormap',
719        'map_installed',
720        'map_state',
721        'all_event_masks',
722        'your_event_mask',
723        'do_not_propagate_mask',
724        'override_redirect',
725        'screen',
726    ]
727struct_anon_23._fields_ = [
728    ('x', c_int),
729    ('y', c_int),
730    ('width', c_int),
731    ('height', c_int),
732    ('border_width', c_int),
733    ('depth', c_int),
734    ('visual', POINTER(Visual)),
735    ('root', Window),
736    ('class', c_int),
737    ('bit_gravity', c_int),
738    ('win_gravity', c_int),
739    ('backing_store', c_int),
740    ('backing_planes', c_ulong),
741    ('backing_pixel', c_ulong),
742    ('save_under', c_int),
743    ('colormap', Colormap),
744    ('map_installed', c_int),
745    ('map_state', c_int),
746    ('all_event_masks', c_long),
747    ('your_event_mask', c_long),
748    ('do_not_propagate_mask', c_long),
749    ('override_redirect', c_int),
750    ('screen', POINTER(Screen)),
751]
752
753XWindowAttributes = struct_anon_23 	# /usr/include/X11/Xlib.h:345
754class struct_anon_24(Structure):
755    __slots__ = [
756        'family',
757        'length',
758        'address',
759    ]
760struct_anon_24._fields_ = [
761    ('family', c_int),
762    ('length', c_int),
763    ('address', c_char_p),
764]
765
766XHostAddress = struct_anon_24 	# /usr/include/X11/Xlib.h:356
767class struct_anon_25(Structure):
768    __slots__ = [
769        'typelength',
770        'valuelength',
771        'type',
772        'value',
773    ]
774struct_anon_25._fields_ = [
775    ('typelength', c_int),
776    ('valuelength', c_int),
777    ('type', c_char_p),
778    ('value', c_char_p),
779]
780
781XServerInterpretedAddress = struct_anon_25 	# /usr/include/X11/Xlib.h:366
782class struct__XImage(Structure):
783    __slots__ = [
784        'width',
785        'height',
786        'xoffset',
787        'format',
788        'data',
789        'byte_order',
790        'bitmap_unit',
791        'bitmap_bit_order',
792        'bitmap_pad',
793        'depth',
794        'bytes_per_line',
795        'bits_per_pixel',
796        'red_mask',
797        'green_mask',
798        'blue_mask',
799        'obdata',
800        'f',
801    ]
802class struct_funcs(Structure):
803    __slots__ = [
804        'create_image',
805        'destroy_image',
806        'get_pixel',
807        'put_pixel',
808        'sub_image',
809        'add_pixel',
810    ]
811class struct__XDisplay(Structure):
812    __slots__ = [
813    ]
814struct__XDisplay._fields_ = [
815    ('_opaque_struct', c_int)
816]
817
818struct_funcs._fields_ = [
819    ('create_image', POINTER(CFUNCTYPE(POINTER(struct__XImage), POINTER(struct__XDisplay), POINTER(Visual), c_uint, c_int, c_int, c_char_p, c_uint, c_uint, c_int, c_int))),
820    ('destroy_image', POINTER(CFUNCTYPE(c_int, POINTER(struct__XImage)))),
821    ('get_pixel', POINTER(CFUNCTYPE(c_ulong, POINTER(struct__XImage), c_int, c_int))),
822    ('put_pixel', POINTER(CFUNCTYPE(c_int, POINTER(struct__XImage), c_int, c_int, c_ulong))),
823    ('sub_image', POINTER(CFUNCTYPE(POINTER(struct__XImage), POINTER(struct__XImage), c_int, c_int, c_uint, c_uint))),
824    ('add_pixel', POINTER(CFUNCTYPE(c_int, POINTER(struct__XImage), c_long))),
825]
826
827struct__XImage._fields_ = [
828    ('width', c_int),
829    ('height', c_int),
830    ('xoffset', c_int),
831    ('format', c_int),
832    ('data', c_char_p),
833    ('byte_order', c_int),
834    ('bitmap_unit', c_int),
835    ('bitmap_bit_order', c_int),
836    ('bitmap_pad', c_int),
837    ('depth', c_int),
838    ('bytes_per_line', c_int),
839    ('bits_per_pixel', c_int),
840    ('red_mask', c_ulong),
841    ('green_mask', c_ulong),
842    ('blue_mask', c_ulong),
843    ('obdata', XPointer),
844    ('f', struct_funcs),
845]
846
847XImage = struct__XImage 	# /usr/include/X11/Xlib.h:405
848class struct_anon_26(Structure):
849    __slots__ = [
850        'x',
851        'y',
852        'width',
853        'height',
854        'border_width',
855        'sibling',
856        'stack_mode',
857    ]
858struct_anon_26._fields_ = [
859    ('x', c_int),
860    ('y', c_int),
861    ('width', c_int),
862    ('height', c_int),
863    ('border_width', c_int),
864    ('sibling', Window),
865    ('stack_mode', c_int),
866]
867
868XWindowChanges = struct_anon_26 	# /usr/include/X11/Xlib.h:416
869class struct_anon_27(Structure):
870    __slots__ = [
871        'pixel',
872        'red',
873        'green',
874        'blue',
875        'flags',
876        'pad',
877    ]
878struct_anon_27._fields_ = [
879    ('pixel', c_ulong),
880    ('red', c_ushort),
881    ('green', c_ushort),
882    ('blue', c_ushort),
883    ('flags', c_char),
884    ('pad', c_char),
885]
886
887XColor = struct_anon_27 	# /usr/include/X11/Xlib.h:426
888class struct_anon_28(Structure):
889    __slots__ = [
890        'x1',
891        'y1',
892        'x2',
893        'y2',
894    ]
895struct_anon_28._fields_ = [
896    ('x1', c_short),
897    ('y1', c_short),
898    ('x2', c_short),
899    ('y2', c_short),
900]
901
902XSegment = struct_anon_28 	# /usr/include/X11/Xlib.h:435
903class struct_anon_29(Structure):
904    __slots__ = [
905        'x',
906        'y',
907    ]
908struct_anon_29._fields_ = [
909    ('x', c_short),
910    ('y', c_short),
911]
912
913XPoint = struct_anon_29 	# /usr/include/X11/Xlib.h:439
914class struct_anon_30(Structure):
915    __slots__ = [
916        'x',
917        'y',
918        'width',
919        'height',
920    ]
921struct_anon_30._fields_ = [
922    ('x', c_short),
923    ('y', c_short),
924    ('width', c_ushort),
925    ('height', c_ushort),
926]
927
928XRectangle = struct_anon_30 	# /usr/include/X11/Xlib.h:444
929class struct_anon_31(Structure):
930    __slots__ = [
931        'x',
932        'y',
933        'width',
934        'height',
935        'angle1',
936        'angle2',
937    ]
938struct_anon_31._fields_ = [
939    ('x', c_short),
940    ('y', c_short),
941    ('width', c_ushort),
942    ('height', c_ushort),
943    ('angle1', c_short),
944    ('angle2', c_short),
945]
946
947XArc = struct_anon_31 	# /usr/include/X11/Xlib.h:450
948class struct_anon_32(Structure):
949    __slots__ = [
950        'key_click_percent',
951        'bell_percent',
952        'bell_pitch',
953        'bell_duration',
954        'led',
955        'led_mode',
956        'key',
957        'auto_repeat_mode',
958    ]
959struct_anon_32._fields_ = [
960    ('key_click_percent', c_int),
961    ('bell_percent', c_int),
962    ('bell_pitch', c_int),
963    ('bell_duration', c_int),
964    ('led', c_int),
965    ('led_mode', c_int),
966    ('key', c_int),
967    ('auto_repeat_mode', c_int),
968]
969
970XKeyboardControl = struct_anon_32 	# /usr/include/X11/Xlib.h:464
971class struct_anon_33(Structure):
972    __slots__ = [
973        'key_click_percent',
974        'bell_percent',
975        'bell_pitch',
976        'bell_duration',
977        'led_mask',
978        'global_auto_repeat',
979        'auto_repeats',
980    ]
981struct_anon_33._fields_ = [
982    ('key_click_percent', c_int),
983    ('bell_percent', c_int),
984    ('bell_pitch', c_uint),
985    ('bell_duration', c_uint),
986    ('led_mask', c_ulong),
987    ('global_auto_repeat', c_int),
988    ('auto_repeats', c_char * 32),
989]
990
991XKeyboardState = struct_anon_33 	# /usr/include/X11/Xlib.h:475
992class struct_anon_34(Structure):
993    __slots__ = [
994        'time',
995        'x',
996        'y',
997    ]
998struct_anon_34._fields_ = [
999    ('time', Time),
1000    ('x', c_short),
1001    ('y', c_short),
1002]
1003
1004XTimeCoord = struct_anon_34 	# /usr/include/X11/Xlib.h:482
1005class struct_anon_35(Structure):
1006    __slots__ = [
1007        'max_keypermod',
1008        'modifiermap',
1009    ]
1010struct_anon_35._fields_ = [
1011    ('max_keypermod', c_int),
1012    ('modifiermap', POINTER(KeyCode)),
1013]
1014
1015XModifierKeymap = struct_anon_35 	# /usr/include/X11/Xlib.h:489
1016class struct__XDisplay(Structure):
1017    __slots__ = [
1018    ]
1019struct__XDisplay._fields_ = [
1020    ('_opaque_struct', c_int)
1021]
1022
1023class struct__XDisplay(Structure):
1024    __slots__ = [
1025    ]
1026struct__XDisplay._fields_ = [
1027    ('_opaque_struct', c_int)
1028]
1029
1030Display = struct__XDisplay 	# /usr/include/X11/Xlib.h:498
1031class struct_anon_36(Structure):
1032    __slots__ = [
1033        'ext_data',
1034        'private1',
1035        'fd',
1036        'private2',
1037        'proto_major_version',
1038        'proto_minor_version',
1039        'vendor',
1040        'private3',
1041        'private4',
1042        'private5',
1043        'private6',
1044        'resource_alloc',
1045        'byte_order',
1046        'bitmap_unit',
1047        'bitmap_pad',
1048        'bitmap_bit_order',
1049        'nformats',
1050        'pixmap_format',
1051        'private8',
1052        'release',
1053        'private9',
1054        'private10',
1055        'qlen',
1056        'last_request_read',
1057        'request',
1058        'private11',
1059        'private12',
1060        'private13',
1061        'private14',
1062        'max_request_size',
1063        'db',
1064        'private15',
1065        'display_name',
1066        'default_screen',
1067        'nscreens',
1068        'screens',
1069        'motion_buffer',
1070        'private16',
1071        'min_keycode',
1072        'max_keycode',
1073        'private17',
1074        'private18',
1075        'private19',
1076        'xdefaults',
1077    ]
1078class struct__XPrivate(Structure):
1079    __slots__ = [
1080    ]
1081struct__XPrivate._fields_ = [
1082    ('_opaque_struct', c_int)
1083]
1084
1085class struct__XDisplay(Structure):
1086    __slots__ = [
1087    ]
1088struct__XDisplay._fields_ = [
1089    ('_opaque_struct', c_int)
1090]
1091
1092class struct__XPrivate(Structure):
1093    __slots__ = [
1094    ]
1095struct__XPrivate._fields_ = [
1096    ('_opaque_struct', c_int)
1097]
1098
1099class struct__XPrivate(Structure):
1100    __slots__ = [
1101    ]
1102struct__XPrivate._fields_ = [
1103    ('_opaque_struct', c_int)
1104]
1105
1106class struct__XrmHashBucketRec(Structure):
1107    __slots__ = [
1108    ]
1109struct__XrmHashBucketRec._fields_ = [
1110    ('_opaque_struct', c_int)
1111]
1112
1113class struct__XDisplay(Structure):
1114    __slots__ = [
1115    ]
1116struct__XDisplay._fields_ = [
1117    ('_opaque_struct', c_int)
1118]
1119
1120struct_anon_36._fields_ = [
1121    ('ext_data', POINTER(XExtData)),
1122    ('private1', POINTER(struct__XPrivate)),
1123    ('fd', c_int),
1124    ('private2', c_int),
1125    ('proto_major_version', c_int),
1126    ('proto_minor_version', c_int),
1127    ('vendor', c_char_p),
1128    ('private3', XID),
1129    ('private4', XID),
1130    ('private5', XID),
1131    ('private6', c_int),
1132    ('resource_alloc', POINTER(CFUNCTYPE(XID, POINTER(struct__XDisplay)))),
1133    ('byte_order', c_int),
1134    ('bitmap_unit', c_int),
1135    ('bitmap_pad', c_int),
1136    ('bitmap_bit_order', c_int),
1137    ('nformats', c_int),
1138    ('pixmap_format', POINTER(ScreenFormat)),
1139    ('private8', c_int),
1140    ('release', c_int),
1141    ('private9', POINTER(struct__XPrivate)),
1142    ('private10', POINTER(struct__XPrivate)),
1143    ('qlen', c_int),
1144    ('last_request_read', c_ulong),
1145    ('request', c_ulong),
1146    ('private11', XPointer),
1147    ('private12', XPointer),
1148    ('private13', XPointer),
1149    ('private14', XPointer),
1150    ('max_request_size', c_uint),
1151    ('db', POINTER(struct__XrmHashBucketRec)),
1152    ('private15', POINTER(CFUNCTYPE(c_int, POINTER(struct__XDisplay)))),
1153    ('display_name', c_char_p),
1154    ('default_screen', c_int),
1155    ('nscreens', c_int),
1156    ('screens', POINTER(Screen)),
1157    ('motion_buffer', c_ulong),
1158    ('private16', c_ulong),
1159    ('min_keycode', c_int),
1160    ('max_keycode', c_int),
1161    ('private17', XPointer),
1162    ('private18', XPointer),
1163    ('private19', c_int),
1164    ('xdefaults', c_char_p),
1165]
1166
1167_XPrivDisplay = POINTER(struct_anon_36) 	# /usr/include/X11/Xlib.h:561
1168class struct_anon_37(Structure):
1169    __slots__ = [
1170        'type',
1171        'serial',
1172        'send_event',
1173        'display',
1174        'window',
1175        'root',
1176        'subwindow',
1177        'time',
1178        'x',
1179        'y',
1180        'x_root',
1181        'y_root',
1182        'state',
1183        'keycode',
1184        'same_screen',
1185    ]
1186struct_anon_37._fields_ = [
1187    ('type', c_int),
1188    ('serial', c_ulong),
1189    ('send_event', c_int),
1190    ('display', POINTER(Display)),
1191    ('window', Window),
1192    ('root', Window),
1193    ('subwindow', Window),
1194    ('time', Time),
1195    ('x', c_int),
1196    ('y', c_int),
1197    ('x_root', c_int),
1198    ('y_root', c_int),
1199    ('state', c_uint),
1200    ('keycode', c_uint),
1201    ('same_screen', c_int),
1202]
1203
1204XKeyEvent = struct_anon_37 	# /usr/include/X11/Xlib.h:582
1205XKeyPressedEvent = XKeyEvent 	# /usr/include/X11/Xlib.h:583
1206XKeyReleasedEvent = XKeyEvent 	# /usr/include/X11/Xlib.h:584
1207class struct_anon_38(Structure):
1208    __slots__ = [
1209        'type',
1210        'serial',
1211        'send_event',
1212        'display',
1213        'window',
1214        'root',
1215        'subwindow',
1216        'time',
1217        'x',
1218        'y',
1219        'x_root',
1220        'y_root',
1221        'state',
1222        'button',
1223        'same_screen',
1224    ]
1225struct_anon_38._fields_ = [
1226    ('type', c_int),
1227    ('serial', c_ulong),
1228    ('send_event', c_int),
1229    ('display', POINTER(Display)),
1230    ('window', Window),
1231    ('root', Window),
1232    ('subwindow', Window),
1233    ('time', Time),
1234    ('x', c_int),
1235    ('y', c_int),
1236    ('x_root', c_int),
1237    ('y_root', c_int),
1238    ('state', c_uint),
1239    ('button', c_uint),
1240    ('same_screen', c_int),
1241]
1242
1243XButtonEvent = struct_anon_38 	# /usr/include/X11/Xlib.h:600
1244XButtonPressedEvent = XButtonEvent 	# /usr/include/X11/Xlib.h:601
1245XButtonReleasedEvent = XButtonEvent 	# /usr/include/X11/Xlib.h:602
1246class struct_anon_39(Structure):
1247    __slots__ = [
1248        'type',
1249        'serial',
1250        'send_event',
1251        'display',
1252        'window',
1253        'root',
1254        'subwindow',
1255        'time',
1256        'x',
1257        'y',
1258        'x_root',
1259        'y_root',
1260        'state',
1261        'is_hint',
1262        'same_screen',
1263    ]
1264struct_anon_39._fields_ = [
1265    ('type', c_int),
1266    ('serial', c_ulong),
1267    ('send_event', c_int),
1268    ('display', POINTER(Display)),
1269    ('window', Window),
1270    ('root', Window),
1271    ('subwindow', Window),
1272    ('time', Time),
1273    ('x', c_int),
1274    ('y', c_int),
1275    ('x_root', c_int),
1276    ('y_root', c_int),
1277    ('state', c_uint),
1278    ('is_hint', c_char),
1279    ('same_screen', c_int),
1280]
1281
1282XMotionEvent = struct_anon_39 	# /usr/include/X11/Xlib.h:618
1283XPointerMovedEvent = XMotionEvent 	# /usr/include/X11/Xlib.h:619
1284class struct_anon_40(Structure):
1285    __slots__ = [
1286        'type',
1287        'serial',
1288        'send_event',
1289        'display',
1290        'window',
1291        'root',
1292        'subwindow',
1293        'time',
1294        'x',
1295        'y',
1296        'x_root',
1297        'y_root',
1298        'mode',
1299        'detail',
1300        'same_screen',
1301        'focus',
1302        'state',
1303    ]
1304struct_anon_40._fields_ = [
1305    ('type', c_int),
1306    ('serial', c_ulong),
1307    ('send_event', c_int),
1308    ('display', POINTER(Display)),
1309    ('window', Window),
1310    ('root', Window),
1311    ('subwindow', Window),
1312    ('time', Time),
1313    ('x', c_int),
1314    ('y', c_int),
1315    ('x_root', c_int),
1316    ('y_root', c_int),
1317    ('mode', c_int),
1318    ('detail', c_int),
1319    ('same_screen', c_int),
1320    ('focus', c_int),
1321    ('state', c_uint),
1322]
1323
1324XCrossingEvent = struct_anon_40 	# /usr/include/X11/Xlib.h:641
1325XEnterWindowEvent = XCrossingEvent 	# /usr/include/X11/Xlib.h:642
1326XLeaveWindowEvent = XCrossingEvent 	# /usr/include/X11/Xlib.h:643
1327class struct_anon_41(Structure):
1328    __slots__ = [
1329        'type',
1330        'serial',
1331        'send_event',
1332        'display',
1333        'window',
1334        'mode',
1335        'detail',
1336    ]
1337struct_anon_41._fields_ = [
1338    ('type', c_int),
1339    ('serial', c_ulong),
1340    ('send_event', c_int),
1341    ('display', POINTER(Display)),
1342    ('window', Window),
1343    ('mode', c_int),
1344    ('detail', c_int),
1345]
1346
1347XFocusChangeEvent = struct_anon_41 	# /usr/include/X11/Xlib.h:659
1348XFocusInEvent = XFocusChangeEvent 	# /usr/include/X11/Xlib.h:660
1349XFocusOutEvent = XFocusChangeEvent 	# /usr/include/X11/Xlib.h:661
1350class struct_anon_42(Structure):
1351    __slots__ = [
1352        'type',
1353        'serial',
1354        'send_event',
1355        'display',
1356        'window',
1357        'key_vector',
1358    ]
1359struct_anon_42._fields_ = [
1360    ('type', c_int),
1361    ('serial', c_ulong),
1362    ('send_event', c_int),
1363    ('display', POINTER(Display)),
1364    ('window', Window),
1365    ('key_vector', c_char * 32),
1366]
1367
1368XKeymapEvent = struct_anon_42 	# /usr/include/X11/Xlib.h:671
1369class struct_anon_43(Structure):
1370    __slots__ = [
1371        'type',
1372        'serial',
1373        'send_event',
1374        'display',
1375        'window',
1376        'x',
1377        'y',
1378        'width',
1379        'height',
1380        'count',
1381    ]
1382struct_anon_43._fields_ = [
1383    ('type', c_int),
1384    ('serial', c_ulong),
1385    ('send_event', c_int),
1386    ('display', POINTER(Display)),
1387    ('window', Window),
1388    ('x', c_int),
1389    ('y', c_int),
1390    ('width', c_int),
1391    ('height', c_int),
1392    ('count', c_int),
1393]
1394
1395XExposeEvent = struct_anon_43 	# /usr/include/X11/Xlib.h:682
1396class struct_anon_44(Structure):
1397    __slots__ = [
1398        'type',
1399        'serial',
1400        'send_event',
1401        'display',
1402        'drawable',
1403        'x',
1404        'y',
1405        'width',
1406        'height',
1407        'count',
1408        'major_code',
1409        'minor_code',
1410    ]
1411struct_anon_44._fields_ = [
1412    ('type', c_int),
1413    ('serial', c_ulong),
1414    ('send_event', c_int),
1415    ('display', POINTER(Display)),
1416    ('drawable', Drawable),
1417    ('x', c_int),
1418    ('y', c_int),
1419    ('width', c_int),
1420    ('height', c_int),
1421    ('count', c_int),
1422    ('major_code', c_int),
1423    ('minor_code', c_int),
1424]
1425
1426XGraphicsExposeEvent = struct_anon_44 	# /usr/include/X11/Xlib.h:695
1427class struct_anon_45(Structure):
1428    __slots__ = [
1429        'type',
1430        'serial',
1431        'send_event',
1432        'display',
1433        'drawable',
1434        'major_code',
1435        'minor_code',
1436    ]
1437struct_anon_45._fields_ = [
1438    ('type', c_int),
1439    ('serial', c_ulong),
1440    ('send_event', c_int),
1441    ('display', POINTER(Display)),
1442    ('drawable', Drawable),
1443    ('major_code', c_int),
1444    ('minor_code', c_int),
1445]
1446
1447XNoExposeEvent = struct_anon_45 	# /usr/include/X11/Xlib.h:705
1448class struct_anon_46(Structure):
1449    __slots__ = [
1450        'type',
1451        'serial',
1452        'send_event',
1453        'display',
1454        'window',
1455        'state',
1456    ]
1457struct_anon_46._fields_ = [
1458    ('type', c_int),
1459    ('serial', c_ulong),
1460    ('send_event', c_int),
1461    ('display', POINTER(Display)),
1462    ('window', Window),
1463    ('state', c_int),
1464]
1465
1466XVisibilityEvent = struct_anon_46 	# /usr/include/X11/Xlib.h:714
1467class struct_anon_47(Structure):
1468    __slots__ = [
1469        'type',
1470        'serial',
1471        'send_event',
1472        'display',
1473        'parent',
1474        'window',
1475        'x',
1476        'y',
1477        'width',
1478        'height',
1479        'border_width',
1480        'override_redirect',
1481    ]
1482struct_anon_47._fields_ = [
1483    ('type', c_int),
1484    ('serial', c_ulong),
1485    ('send_event', c_int),
1486    ('display', POINTER(Display)),
1487    ('parent', Window),
1488    ('window', Window),
1489    ('x', c_int),
1490    ('y', c_int),
1491    ('width', c_int),
1492    ('height', c_int),
1493    ('border_width', c_int),
1494    ('override_redirect', c_int),
1495]
1496
1497XCreateWindowEvent = struct_anon_47 	# /usr/include/X11/Xlib.h:727
1498class struct_anon_48(Structure):
1499    __slots__ = [
1500        'type',
1501        'serial',
1502        'send_event',
1503        'display',
1504        'event',
1505        'window',
1506    ]
1507struct_anon_48._fields_ = [
1508    ('type', c_int),
1509    ('serial', c_ulong),
1510    ('send_event', c_int),
1511    ('display', POINTER(Display)),
1512    ('event', Window),
1513    ('window', Window),
1514]
1515
1516XDestroyWindowEvent = struct_anon_48 	# /usr/include/X11/Xlib.h:736
1517class struct_anon_49(Structure):
1518    __slots__ = [
1519        'type',
1520        'serial',
1521        'send_event',
1522        'display',
1523        'event',
1524        'window',
1525        'from_configure',
1526    ]
1527struct_anon_49._fields_ = [
1528    ('type', c_int),
1529    ('serial', c_ulong),
1530    ('send_event', c_int),
1531    ('display', POINTER(Display)),
1532    ('event', Window),
1533    ('window', Window),
1534    ('from_configure', c_int),
1535]
1536
1537XUnmapEvent = struct_anon_49 	# /usr/include/X11/Xlib.h:746
1538class struct_anon_50(Structure):
1539    __slots__ = [
1540        'type',
1541        'serial',
1542        'send_event',
1543        'display',
1544        'event',
1545        'window',
1546        'override_redirect',
1547    ]
1548struct_anon_50._fields_ = [
1549    ('type', c_int),
1550    ('serial', c_ulong),
1551    ('send_event', c_int),
1552    ('display', POINTER(Display)),
1553    ('event', Window),
1554    ('window', Window),
1555    ('override_redirect', c_int),
1556]
1557
1558XMapEvent = struct_anon_50 	# /usr/include/X11/Xlib.h:756
1559class struct_anon_51(Structure):
1560    __slots__ = [
1561        'type',
1562        'serial',
1563        'send_event',
1564        'display',
1565        'parent',
1566        'window',
1567    ]
1568struct_anon_51._fields_ = [
1569    ('type', c_int),
1570    ('serial', c_ulong),
1571    ('send_event', c_int),
1572    ('display', POINTER(Display)),
1573    ('parent', Window),
1574    ('window', Window),
1575]
1576
1577XMapRequestEvent = struct_anon_51 	# /usr/include/X11/Xlib.h:765
1578class struct_anon_52(Structure):
1579    __slots__ = [
1580        'type',
1581        'serial',
1582        'send_event',
1583        'display',
1584        'event',
1585        'window',
1586        'parent',
1587        'x',
1588        'y',
1589        'override_redirect',
1590    ]
1591struct_anon_52._fields_ = [
1592    ('type', c_int),
1593    ('serial', c_ulong),
1594    ('send_event', c_int),
1595    ('display', POINTER(Display)),
1596    ('event', Window),
1597    ('window', Window),
1598    ('parent', Window),
1599    ('x', c_int),
1600    ('y', c_int),
1601    ('override_redirect', c_int),
1602]
1603
1604XReparentEvent = struct_anon_52 	# /usr/include/X11/Xlib.h:777
1605class struct_anon_53(Structure):
1606    __slots__ = [
1607        'type',
1608        'serial',
1609        'send_event',
1610        'display',
1611        'event',
1612        'window',
1613        'x',
1614        'y',
1615        'width',
1616        'height',
1617        'border_width',
1618        'above',
1619        'override_redirect',
1620    ]
1621struct_anon_53._fields_ = [
1622    ('type', c_int),
1623    ('serial', c_ulong),
1624    ('send_event', c_int),
1625    ('display', POINTER(Display)),
1626    ('event', Window),
1627    ('window', Window),
1628    ('x', c_int),
1629    ('y', c_int),
1630    ('width', c_int),
1631    ('height', c_int),
1632    ('border_width', c_int),
1633    ('above', Window),
1634    ('override_redirect', c_int),
1635]
1636
1637XConfigureEvent = struct_anon_53 	# /usr/include/X11/Xlib.h:791
1638class struct_anon_54(Structure):
1639    __slots__ = [
1640        'type',
1641        'serial',
1642        'send_event',
1643        'display',
1644        'event',
1645        'window',
1646        'x',
1647        'y',
1648    ]
1649struct_anon_54._fields_ = [
1650    ('type', c_int),
1651    ('serial', c_ulong),
1652    ('send_event', c_int),
1653    ('display', POINTER(Display)),
1654    ('event', Window),
1655    ('window', Window),
1656    ('x', c_int),
1657    ('y', c_int),
1658]
1659
1660XGravityEvent = struct_anon_54 	# /usr/include/X11/Xlib.h:801
1661class struct_anon_55(Structure):
1662    __slots__ = [
1663        'type',
1664        'serial',
1665        'send_event',
1666        'display',
1667        'window',
1668        'width',
1669        'height',
1670    ]
1671struct_anon_55._fields_ = [
1672    ('type', c_int),
1673    ('serial', c_ulong),
1674    ('send_event', c_int),
1675    ('display', POINTER(Display)),
1676    ('window', Window),
1677    ('width', c_int),
1678    ('height', c_int),
1679]
1680
1681XResizeRequestEvent = struct_anon_55 	# /usr/include/X11/Xlib.h:810
1682class struct_anon_56(Structure):
1683    __slots__ = [
1684        'type',
1685        'serial',
1686        'send_event',
1687        'display',
1688        'parent',
1689        'window',
1690        'x',
1691        'y',
1692        'width',
1693        'height',
1694        'border_width',
1695        'above',
1696        'detail',
1697        'value_mask',
1698    ]
1699struct_anon_56._fields_ = [
1700    ('type', c_int),
1701    ('serial', c_ulong),
1702    ('send_event', c_int),
1703    ('display', POINTER(Display)),
1704    ('parent', Window),
1705    ('window', Window),
1706    ('x', c_int),
1707    ('y', c_int),
1708    ('width', c_int),
1709    ('height', c_int),
1710    ('border_width', c_int),
1711    ('above', Window),
1712    ('detail', c_int),
1713    ('value_mask', c_ulong),
1714]
1715
1716XConfigureRequestEvent = struct_anon_56 	# /usr/include/X11/Xlib.h:825
1717class struct_anon_57(Structure):
1718    __slots__ = [
1719        'type',
1720        'serial',
1721        'send_event',
1722        'display',
1723        'event',
1724        'window',
1725        'place',
1726    ]
1727struct_anon_57._fields_ = [
1728    ('type', c_int),
1729    ('serial', c_ulong),
1730    ('send_event', c_int),
1731    ('display', POINTER(Display)),
1732    ('event', Window),
1733    ('window', Window),
1734    ('place', c_int),
1735]
1736
1737XCirculateEvent = struct_anon_57 	# /usr/include/X11/Xlib.h:835
1738class struct_anon_58(Structure):
1739    __slots__ = [
1740        'type',
1741        'serial',
1742        'send_event',
1743        'display',
1744        'parent',
1745        'window',
1746        'place',
1747    ]
1748struct_anon_58._fields_ = [
1749    ('type', c_int),
1750    ('serial', c_ulong),
1751    ('send_event', c_int),
1752    ('display', POINTER(Display)),
1753    ('parent', Window),
1754    ('window', Window),
1755    ('place', c_int),
1756]
1757
1758XCirculateRequestEvent = struct_anon_58 	# /usr/include/X11/Xlib.h:845
1759class struct_anon_59(Structure):
1760    __slots__ = [
1761        'type',
1762        'serial',
1763        'send_event',
1764        'display',
1765        'window',
1766        'atom',
1767        'time',
1768        'state',
1769    ]
1770struct_anon_59._fields_ = [
1771    ('type', c_int),
1772    ('serial', c_ulong),
1773    ('send_event', c_int),
1774    ('display', POINTER(Display)),
1775    ('window', Window),
1776    ('atom', Atom),
1777    ('time', Time),
1778    ('state', c_int),
1779]
1780
1781XPropertyEvent = struct_anon_59 	# /usr/include/X11/Xlib.h:856
1782class struct_anon_60(Structure):
1783    __slots__ = [
1784        'type',
1785        'serial',
1786        'send_event',
1787        'display',
1788        'window',
1789        'selection',
1790        'time',
1791    ]
1792struct_anon_60._fields_ = [
1793    ('type', c_int),
1794    ('serial', c_ulong),
1795    ('send_event', c_int),
1796    ('display', POINTER(Display)),
1797    ('window', Window),
1798    ('selection', Atom),
1799    ('time', Time),
1800]
1801
1802XSelectionClearEvent = struct_anon_60 	# /usr/include/X11/Xlib.h:866
1803class struct_anon_61(Structure):
1804    __slots__ = [
1805        'type',
1806        'serial',
1807        'send_event',
1808        'display',
1809        'owner',
1810        'requestor',
1811        'selection',
1812        'target',
1813        'property',
1814        'time',
1815    ]
1816struct_anon_61._fields_ = [
1817    ('type', c_int),
1818    ('serial', c_ulong),
1819    ('send_event', c_int),
1820    ('display', POINTER(Display)),
1821    ('owner', Window),
1822    ('requestor', Window),
1823    ('selection', Atom),
1824    ('target', Atom),
1825    ('property', Atom),
1826    ('time', Time),
1827]
1828
1829XSelectionRequestEvent = struct_anon_61 	# /usr/include/X11/Xlib.h:879
1830class struct_anon_62(Structure):
1831    __slots__ = [
1832        'type',
1833        'serial',
1834        'send_event',
1835        'display',
1836        'requestor',
1837        'selection',
1838        'target',
1839        'property',
1840        'time',
1841    ]
1842struct_anon_62._fields_ = [
1843    ('type', c_int),
1844    ('serial', c_ulong),
1845    ('send_event', c_int),
1846    ('display', POINTER(Display)),
1847    ('requestor', Window),
1848    ('selection', Atom),
1849    ('target', Atom),
1850    ('property', Atom),
1851    ('time', Time),
1852]
1853
1854XSelectionEvent = struct_anon_62 	# /usr/include/X11/Xlib.h:891
1855class struct_anon_63(Structure):
1856    __slots__ = [
1857        'type',
1858        'serial',
1859        'send_event',
1860        'display',
1861        'window',
1862        'colormap',
1863        'new',
1864        'state',
1865    ]
1866struct_anon_63._fields_ = [
1867    ('type', c_int),
1868    ('serial', c_ulong),
1869    ('send_event', c_int),
1870    ('display', POINTER(Display)),
1871    ('window', Window),
1872    ('colormap', Colormap),
1873    ('new', c_int),
1874    ('state', c_int),
1875]
1876
1877XColormapEvent = struct_anon_63 	# /usr/include/X11/Xlib.h:906
1878class struct_anon_64(Structure):
1879    __slots__ = [
1880        'type',
1881        'serial',
1882        'send_event',
1883        'display',
1884        'window',
1885        'message_type',
1886        'format',
1887        'data',
1888    ]
1889class struct_anon_65(Union):
1890    __slots__ = [
1891        'b',
1892        's',
1893        'l',
1894    ]
1895struct_anon_65._fields_ = [
1896    ('b', c_char * 20),
1897    ('s', c_short * 10),
1898    ('l', c_long * 5),
1899]
1900
1901struct_anon_64._fields_ = [
1902    ('type', c_int),
1903    ('serial', c_ulong),
1904    ('send_event', c_int),
1905    ('display', POINTER(Display)),
1906    ('window', Window),
1907    ('message_type', Atom),
1908    ('format', c_int),
1909    ('data', struct_anon_65),
1910]
1911
1912XClientMessageEvent = struct_anon_64 	# /usr/include/X11/Xlib.h:921
1913class struct_anon_66(Structure):
1914    __slots__ = [
1915        'type',
1916        'serial',
1917        'send_event',
1918        'display',
1919        'window',
1920        'request',
1921        'first_keycode',
1922        'count',
1923    ]
1924struct_anon_66._fields_ = [
1925    ('type', c_int),
1926    ('serial', c_ulong),
1927    ('send_event', c_int),
1928    ('display', POINTER(Display)),
1929    ('window', Window),
1930    ('request', c_int),
1931    ('first_keycode', c_int),
1932    ('count', c_int),
1933]
1934
1935XMappingEvent = struct_anon_66 	# /usr/include/X11/Xlib.h:933
1936class struct_anon_67(Structure):
1937    __slots__ = [
1938        'type',
1939        'display',
1940        'resourceid',
1941        'serial',
1942        'error_code',
1943        'request_code',
1944        'minor_code',
1945    ]
1946struct_anon_67._fields_ = [
1947    ('type', c_int),
1948    ('display', POINTER(Display)),
1949    ('resourceid', XID),
1950    ('serial', c_ulong),
1951    ('error_code', c_ubyte),
1952    ('request_code', c_ubyte),
1953    ('minor_code', c_ubyte),
1954]
1955
1956XErrorEvent = struct_anon_67 	# /usr/include/X11/Xlib.h:943
1957class struct_anon_68(Structure):
1958    __slots__ = [
1959        'type',
1960        'serial',
1961        'send_event',
1962        'display',
1963        'window',
1964    ]
1965struct_anon_68._fields_ = [
1966    ('type', c_int),
1967    ('serial', c_ulong),
1968    ('send_event', c_int),
1969    ('display', POINTER(Display)),
1970    ('window', Window),
1971]
1972
1973XAnyEvent = struct_anon_68 	# /usr/include/X11/Xlib.h:951
1974class struct_anon_69(Structure):
1975    __slots__ = [
1976        'type',
1977        'serial',
1978        'send_event',
1979        'display',
1980        'extension',
1981        'evtype',
1982    ]
1983struct_anon_69._fields_ = [
1984    ('type', c_int),
1985    ('serial', c_ulong),
1986    ('send_event', c_int),
1987    ('display', POINTER(Display)),
1988    ('extension', c_int),
1989    ('evtype', c_int),
1990]
1991
1992XGenericEvent = struct_anon_69 	# /usr/include/X11/Xlib.h:967
1993class struct_anon_70(Structure):
1994    __slots__ = [
1995        'type',
1996        'serial',
1997        'send_event',
1998        'display',
1999        'extension',
2000        'evtype',
2001        'cookie',
2002        'data',
2003    ]
2004struct_anon_70._fields_ = [
2005    ('type', c_int),
2006    ('serial', c_ulong),
2007    ('send_event', c_int),
2008    ('display', POINTER(Display)),
2009    ('extension', c_int),
2010    ('evtype', c_int),
2011    ('cookie', c_uint),
2012    ('data', POINTER(None)),
2013]
2014
2015XGenericEventCookie = struct_anon_70 	# /usr/include/X11/Xlib.h:978
2016class struct__XEvent(Union):
2017    __slots__ = [
2018        'type',
2019        'xany',
2020        'xkey',
2021        'xbutton',
2022        'xmotion',
2023        'xcrossing',
2024        'xfocus',
2025        'xexpose',
2026        'xgraphicsexpose',
2027        'xnoexpose',
2028        'xvisibility',
2029        'xcreatewindow',
2030        'xdestroywindow',
2031        'xunmap',
2032        'xmap',
2033        'xmaprequest',
2034        'xreparent',
2035        'xconfigure',
2036        'xgravity',
2037        'xresizerequest',
2038        'xconfigurerequest',
2039        'xcirculate',
2040        'xcirculaterequest',
2041        'xproperty',
2042        'xselectionclear',
2043        'xselectionrequest',
2044        'xselection',
2045        'xcolormap',
2046        'xclient',
2047        'xmapping',
2048        'xerror',
2049        'xkeymap',
2050        'xgeneric',
2051        'xcookie',
2052        'pad',
2053    ]
2054struct__XEvent._fields_ = [
2055    ('type', c_int),
2056    ('xany', XAnyEvent),
2057    ('xkey', XKeyEvent),
2058    ('xbutton', XButtonEvent),
2059    ('xmotion', XMotionEvent),
2060    ('xcrossing', XCrossingEvent),
2061    ('xfocus', XFocusChangeEvent),
2062    ('xexpose', XExposeEvent),
2063    ('xgraphicsexpose', XGraphicsExposeEvent),
2064    ('xnoexpose', XNoExposeEvent),
2065    ('xvisibility', XVisibilityEvent),
2066    ('xcreatewindow', XCreateWindowEvent),
2067    ('xdestroywindow', XDestroyWindowEvent),
2068    ('xunmap', XUnmapEvent),
2069    ('xmap', XMapEvent),
2070    ('xmaprequest', XMapRequestEvent),
2071    ('xreparent', XReparentEvent),
2072    ('xconfigure', XConfigureEvent),
2073    ('xgravity', XGravityEvent),
2074    ('xresizerequest', XResizeRequestEvent),
2075    ('xconfigurerequest', XConfigureRequestEvent),
2076    ('xcirculate', XCirculateEvent),
2077    ('xcirculaterequest', XCirculateRequestEvent),
2078    ('xproperty', XPropertyEvent),
2079    ('xselectionclear', XSelectionClearEvent),
2080    ('xselectionrequest', XSelectionRequestEvent),
2081    ('xselection', XSelectionEvent),
2082    ('xcolormap', XColormapEvent),
2083    ('xclient', XClientMessageEvent),
2084    ('xmapping', XMappingEvent),
2085    ('xerror', XErrorEvent),
2086    ('xkeymap', XKeymapEvent),
2087    ('xgeneric', XGenericEvent),
2088    ('xcookie', XGenericEventCookie),
2089    ('pad', c_long * 24),
2090]
2091
2092XEvent = struct__XEvent 	# /usr/include/X11/Xlib.h:1020
2093class struct_anon_71(Structure):
2094    __slots__ = [
2095        'lbearing',
2096        'rbearing',
2097        'width',
2098        'ascent',
2099        'descent',
2100        'attributes',
2101    ]
2102struct_anon_71._fields_ = [
2103    ('lbearing', c_short),
2104    ('rbearing', c_short),
2105    ('width', c_short),
2106    ('ascent', c_short),
2107    ('descent', c_short),
2108    ('attributes', c_ushort),
2109]
2110
2111XCharStruct = struct_anon_71 	# /usr/include/X11/Xlib.h:1035
2112class struct_anon_72(Structure):
2113    __slots__ = [
2114        'name',
2115        'card32',
2116    ]
2117struct_anon_72._fields_ = [
2118    ('name', Atom),
2119    ('card32', c_ulong),
2120]
2121
2122XFontProp = struct_anon_72 	# /usr/include/X11/Xlib.h:1044
2123class struct_anon_73(Structure):
2124    __slots__ = [
2125        'ext_data',
2126        'fid',
2127        'direction',
2128        'min_char_or_byte2',
2129        'max_char_or_byte2',
2130        'min_byte1',
2131        'max_byte1',
2132        'all_chars_exist',
2133        'default_char',
2134        'n_properties',
2135        'properties',
2136        'min_bounds',
2137        'max_bounds',
2138        'per_char',
2139        'ascent',
2140        'descent',
2141    ]
2142struct_anon_73._fields_ = [
2143    ('ext_data', POINTER(XExtData)),
2144    ('fid', Font),
2145    ('direction', c_uint),
2146    ('min_char_or_byte2', c_uint),
2147    ('max_char_or_byte2', c_uint),
2148    ('min_byte1', c_uint),
2149    ('max_byte1', c_uint),
2150    ('all_chars_exist', c_int),
2151    ('default_char', c_uint),
2152    ('n_properties', c_int),
2153    ('properties', POINTER(XFontProp)),
2154    ('min_bounds', XCharStruct),
2155    ('max_bounds', XCharStruct),
2156    ('per_char', POINTER(XCharStruct)),
2157    ('ascent', c_int),
2158    ('descent', c_int),
2159]
2160
2161XFontStruct = struct_anon_73 	# /usr/include/X11/Xlib.h:1063
2162class struct_anon_74(Structure):
2163    __slots__ = [
2164        'chars',
2165        'nchars',
2166        'delta',
2167        'font',
2168    ]
2169struct_anon_74._fields_ = [
2170    ('chars', c_char_p),
2171    ('nchars', c_int),
2172    ('delta', c_int),
2173    ('font', Font),
2174]
2175
2176XTextItem = struct_anon_74 	# /usr/include/X11/Xlib.h:1073
2177class struct_anon_75(Structure):
2178    __slots__ = [
2179        'byte1',
2180        'byte2',
2181    ]
2182struct_anon_75._fields_ = [
2183    ('byte1', c_ubyte),
2184    ('byte2', c_ubyte),
2185]
2186
2187XChar2b = struct_anon_75 	# /usr/include/X11/Xlib.h:1078
2188class struct_anon_76(Structure):
2189    __slots__ = [
2190        'chars',
2191        'nchars',
2192        'delta',
2193        'font',
2194    ]
2195struct_anon_76._fields_ = [
2196    ('chars', POINTER(XChar2b)),
2197    ('nchars', c_int),
2198    ('delta', c_int),
2199    ('font', Font),
2200]
2201
2202XTextItem16 = struct_anon_76 	# /usr/include/X11/Xlib.h:1085
2203class struct_anon_77(Union):
2204    __slots__ = [
2205        'display',
2206        'gc',
2207        'visual',
2208        'screen',
2209        'pixmap_format',
2210        'font',
2211    ]
2212struct_anon_77._fields_ = [
2213    ('display', POINTER(Display)),
2214    ('gc', GC),
2215    ('visual', POINTER(Visual)),
2216    ('screen', POINTER(Screen)),
2217    ('pixmap_format', POINTER(ScreenFormat)),
2218    ('font', POINTER(XFontStruct)),
2219]
2220
2221XEDataObject = struct_anon_77 	# /usr/include/X11/Xlib.h:1093
2222class struct_anon_78(Structure):
2223    __slots__ = [
2224        'max_ink_extent',
2225        'max_logical_extent',
2226    ]
2227struct_anon_78._fields_ = [
2228    ('max_ink_extent', XRectangle),
2229    ('max_logical_extent', XRectangle),
2230]
2231
2232XFontSetExtents = struct_anon_78 	# /usr/include/X11/Xlib.h:1098
2233class struct__XOM(Structure):
2234    __slots__ = [
2235    ]
2236struct__XOM._fields_ = [
2237    ('_opaque_struct', c_int)
2238]
2239
2240class struct__XOM(Structure):
2241    __slots__ = [
2242    ]
2243struct__XOM._fields_ = [
2244    ('_opaque_struct', c_int)
2245]
2246
2247XOM = POINTER(struct__XOM) 	# /usr/include/X11/Xlib.h:1104
2248class struct__XOC(Structure):
2249    __slots__ = [
2250    ]
2251struct__XOC._fields_ = [
2252    ('_opaque_struct', c_int)
2253]
2254
2255class struct__XOC(Structure):
2256    __slots__ = [
2257    ]
2258struct__XOC._fields_ = [
2259    ('_opaque_struct', c_int)
2260]
2261
2262XOC = POINTER(struct__XOC) 	# /usr/include/X11/Xlib.h:1105
2263class struct__XOC(Structure):
2264    __slots__ = [
2265    ]
2266struct__XOC._fields_ = [
2267    ('_opaque_struct', c_int)
2268]
2269
2270class struct__XOC(Structure):
2271    __slots__ = [
2272    ]
2273struct__XOC._fields_ = [
2274    ('_opaque_struct', c_int)
2275]
2276
2277XFontSet = POINTER(struct__XOC) 	# /usr/include/X11/Xlib.h:1105
2278class struct_anon_79(Structure):
2279    __slots__ = [
2280        'chars',
2281        'nchars',
2282        'delta',
2283        'font_set',
2284    ]
2285struct_anon_79._fields_ = [
2286    ('chars', c_char_p),
2287    ('nchars', c_int),
2288    ('delta', c_int),
2289    ('font_set', XFontSet),
2290]
2291
2292XmbTextItem = struct_anon_79 	# /usr/include/X11/Xlib.h:1112
2293class struct_anon_80(Structure):
2294    __slots__ = [
2295        'chars',
2296        'nchars',
2297        'delta',
2298        'font_set',
2299    ]
2300struct_anon_80._fields_ = [
2301    ('chars', c_wchar_p),
2302    ('nchars', c_int),
2303    ('delta', c_int),
2304    ('font_set', XFontSet),
2305]
2306
2307XwcTextItem = struct_anon_80 	# /usr/include/X11/Xlib.h:1119
2308class struct_anon_81(Structure):
2309    __slots__ = [
2310        'charset_count',
2311        'charset_list',
2312    ]
2313struct_anon_81._fields_ = [
2314    ('charset_count', c_int),
2315    ('charset_list', POINTER(c_char_p)),
2316]
2317
2318XOMCharSetList = struct_anon_81 	# /usr/include/X11/Xlib.h:1135
2319enum_anon_82 = c_int
2320XOMOrientation_LTR_TTB = 0
2321XOMOrientation_RTL_TTB = 1
2322XOMOrientation_TTB_LTR = 2
2323XOMOrientation_TTB_RTL = 3
2324XOMOrientation_Context = 4
2325XOrientation = enum_anon_82 	# /usr/include/X11/Xlib.h:1143
2326class struct_anon_83(Structure):
2327    __slots__ = [
2328        'num_orientation',
2329        'orientation',
2330    ]
2331struct_anon_83._fields_ = [
2332    ('num_orientation', c_int),
2333    ('orientation', POINTER(XOrientation)),
2334]
2335
2336XOMOrientation = struct_anon_83 	# /usr/include/X11/Xlib.h:1148
2337class struct_anon_84(Structure):
2338    __slots__ = [
2339        'num_font',
2340        'font_struct_list',
2341        'font_name_list',
2342    ]
2343struct_anon_84._fields_ = [
2344    ('num_font', c_int),
2345    ('font_struct_list', POINTER(POINTER(XFontStruct))),
2346    ('font_name_list', POINTER(c_char_p)),
2347]
2348
2349XOMFontInfo = struct_anon_84 	# /usr/include/X11/Xlib.h:1154
2350class struct__XIM(Structure):
2351    __slots__ = [
2352    ]
2353struct__XIM._fields_ = [
2354    ('_opaque_struct', c_int)
2355]
2356
2357class struct__XIM(Structure):
2358    __slots__ = [
2359    ]
2360struct__XIM._fields_ = [
2361    ('_opaque_struct', c_int)
2362]
2363
2364XIM = POINTER(struct__XIM) 	# /usr/include/X11/Xlib.h:1156
2365class struct__XIC(Structure):
2366    __slots__ = [
2367    ]
2368struct__XIC._fields_ = [
2369    ('_opaque_struct', c_int)
2370]
2371
2372class struct__XIC(Structure):
2373    __slots__ = [
2374    ]
2375struct__XIC._fields_ = [
2376    ('_opaque_struct', c_int)
2377]
2378
2379XIC = POINTER(struct__XIC) 	# /usr/include/X11/Xlib.h:1157
2380XIMProc = CFUNCTYPE(None, XIM, XPointer, XPointer) 	# /usr/include/X11/Xlib.h:1159
2381XICProc = CFUNCTYPE(c_int, XIC, XPointer, XPointer) 	# /usr/include/X11/Xlib.h:1165
2382XIDProc = CFUNCTYPE(None, POINTER(Display), XPointer, XPointer) 	# /usr/include/X11/Xlib.h:1171
2383XIMStyle = c_ulong 	# /usr/include/X11/Xlib.h:1177
2384class struct_anon_85(Structure):
2385    __slots__ = [
2386        'count_styles',
2387        'supported_styles',
2388    ]
2389struct_anon_85._fields_ = [
2390    ('count_styles', c_ushort),
2391    ('supported_styles', POINTER(XIMStyle)),
2392]
2393
2394XIMStyles = struct_anon_85 	# /usr/include/X11/Xlib.h:1182
2395XIMPreeditArea = 1 	# /usr/include/X11/Xlib.h:1184
2396XIMPreeditCallbacks = 2 	# /usr/include/X11/Xlib.h:1185
2397XIMPreeditPosition = 4 	# /usr/include/X11/Xlib.h:1186
2398XIMPreeditNothing = 8 	# /usr/include/X11/Xlib.h:1187
2399XIMPreeditNone = 16 	# /usr/include/X11/Xlib.h:1188
2400XIMStatusArea = 256 	# /usr/include/X11/Xlib.h:1189
2401XIMStatusCallbacks = 512 	# /usr/include/X11/Xlib.h:1190
2402XIMStatusNothing = 1024 	# /usr/include/X11/Xlib.h:1191
2403XIMStatusNone = 2048 	# /usr/include/X11/Xlib.h:1192
2404XBufferOverflow = -1 	# /usr/include/X11/Xlib.h:1238
2405XLookupNone = 1 	# /usr/include/X11/Xlib.h:1239
2406XLookupChars = 2 	# /usr/include/X11/Xlib.h:1240
2407XLookupKeySym = 3 	# /usr/include/X11/Xlib.h:1241
2408XLookupBoth = 4 	# /usr/include/X11/Xlib.h:1242
2409XVaNestedList = POINTER(None) 	# /usr/include/X11/Xlib.h:1244
2410class struct_anon_86(Structure):
2411    __slots__ = [
2412        'client_data',
2413        'callback',
2414    ]
2415struct_anon_86._fields_ = [
2416    ('client_data', XPointer),
2417    ('callback', XIMProc),
2418]
2419
2420XIMCallback = struct_anon_86 	# /usr/include/X11/Xlib.h:1249
2421class struct_anon_87(Structure):
2422    __slots__ = [
2423        'client_data',
2424        'callback',
2425    ]
2426struct_anon_87._fields_ = [
2427    ('client_data', XPointer),
2428    ('callback', XICProc),
2429]
2430
2431XICCallback = struct_anon_87 	# /usr/include/X11/Xlib.h:1254
2432XIMFeedback = c_ulong 	# /usr/include/X11/Xlib.h:1256
2433XIMReverse = 1 	# /usr/include/X11/Xlib.h:1258
2434XIMUnderline = 2 	# /usr/include/X11/Xlib.h:1259
2435XIMHighlight = 4 	# /usr/include/X11/Xlib.h:1260
2436XIMPrimary = 32 	# /usr/include/X11/Xlib.h:1261
2437XIMSecondary = 64 	# /usr/include/X11/Xlib.h:1262
2438XIMTertiary = 128 	# /usr/include/X11/Xlib.h:1263
2439XIMVisibleToForward = 256 	# /usr/include/X11/Xlib.h:1264
2440XIMVisibleToBackword = 512 	# /usr/include/X11/Xlib.h:1265
2441XIMVisibleToCenter = 1024 	# /usr/include/X11/Xlib.h:1266
2442class struct__XIMText(Structure):
2443    __slots__ = [
2444        'length',
2445        'feedback',
2446        'encoding_is_wchar',
2447        'string',
2448    ]
2449class struct_anon_88(Union):
2450    __slots__ = [
2451        'multi_byte',
2452        'wide_char',
2453    ]
2454struct_anon_88._fields_ = [
2455    ('multi_byte', c_char_p),
2456    ('wide_char', c_wchar_p),
2457]
2458
2459struct__XIMText._fields_ = [
2460    ('length', c_ushort),
2461    ('feedback', POINTER(XIMFeedback)),
2462    ('encoding_is_wchar', c_int),
2463    ('string', struct_anon_88),
2464]
2465
2466XIMText = struct__XIMText 	# /usr/include/X11/Xlib.h:1276
2467XIMPreeditState = c_ulong 	# /usr/include/X11/Xlib.h:1278
2468XIMPreeditUnKnown = 0 	# /usr/include/X11/Xlib.h:1280
2469XIMPreeditEnable = 1 	# /usr/include/X11/Xlib.h:1281
2470XIMPreeditDisable = 2 	# /usr/include/X11/Xlib.h:1282
2471class struct__XIMPreeditStateNotifyCallbackStruct(Structure):
2472    __slots__ = [
2473        'state',
2474    ]
2475struct__XIMPreeditStateNotifyCallbackStruct._fields_ = [
2476    ('state', XIMPreeditState),
2477]
2478
2479XIMPreeditStateNotifyCallbackStruct = struct__XIMPreeditStateNotifyCallbackStruct 	# /usr/include/X11/Xlib.h:1286
2480XIMResetState = c_ulong 	# /usr/include/X11/Xlib.h:1288
2481XIMInitialState = 1 	# /usr/include/X11/Xlib.h:1290
2482XIMPreserveState = 2 	# /usr/include/X11/Xlib.h:1291
2483XIMStringConversionFeedback = c_ulong 	# /usr/include/X11/Xlib.h:1293
2484XIMStringConversionLeftEdge = 1 	# /usr/include/X11/Xlib.h:1295
2485XIMStringConversionRightEdge = 2 	# /usr/include/X11/Xlib.h:1296
2486XIMStringConversionTopEdge = 4 	# /usr/include/X11/Xlib.h:1297
2487XIMStringConversionBottomEdge = 8 	# /usr/include/X11/Xlib.h:1298
2488XIMStringConversionConcealed = 16 	# /usr/include/X11/Xlib.h:1299
2489XIMStringConversionWrapped = 32 	# /usr/include/X11/Xlib.h:1300
2490class struct__XIMStringConversionText(Structure):
2491    __slots__ = [
2492        'length',
2493        'feedback',
2494        'encoding_is_wchar',
2495        'string',
2496    ]
2497class struct_anon_89(Union):
2498    __slots__ = [
2499        'mbs',
2500        'wcs',
2501    ]
2502struct_anon_89._fields_ = [
2503    ('mbs', c_char_p),
2504    ('wcs', c_wchar_p),
2505]
2506
2507struct__XIMStringConversionText._fields_ = [
2508    ('length', c_ushort),
2509    ('feedback', POINTER(XIMStringConversionFeedback)),
2510    ('encoding_is_wchar', c_int),
2511    ('string', struct_anon_89),
2512]
2513
2514XIMStringConversionText = struct__XIMStringConversionText 	# /usr/include/X11/Xlib.h:1310
2515XIMStringConversionPosition = c_ushort 	# /usr/include/X11/Xlib.h:1312
2516XIMStringConversionType = c_ushort 	# /usr/include/X11/Xlib.h:1314
2517XIMStringConversionBuffer = 1 	# /usr/include/X11/Xlib.h:1316
2518XIMStringConversionLine = 2 	# /usr/include/X11/Xlib.h:1317
2519XIMStringConversionWord = 3 	# /usr/include/X11/Xlib.h:1318
2520XIMStringConversionChar = 4 	# /usr/include/X11/Xlib.h:1319
2521XIMStringConversionOperation = c_ushort 	# /usr/include/X11/Xlib.h:1321
2522XIMStringConversionSubstitution = 1 	# /usr/include/X11/Xlib.h:1323
2523XIMStringConversionRetrieval = 2 	# /usr/include/X11/Xlib.h:1324
2524enum_anon_90 = c_int
2525XIMForwardChar = 0
2526XIMBackwardChar = 1
2527XIMForwardWord = 2
2528XIMBackwardWord = 3
2529XIMCaretUp = 4
2530XIMCaretDown = 5
2531XIMNextLine = 6
2532XIMPreviousLine = 7
2533XIMLineStart = 8
2534XIMLineEnd = 9
2535XIMAbsolutePosition = 10
2536XIMDontChange = 11
2537XIMCaretDirection = enum_anon_90 	# /usr/include/X11/Xlib.h:1334
2538class struct__XIMStringConversionCallbackStruct(Structure):
2539    __slots__ = [
2540        'position',
2541        'direction',
2542        'operation',
2543        'factor',
2544        'text',
2545    ]
2546struct__XIMStringConversionCallbackStruct._fields_ = [
2547    ('position', XIMStringConversionPosition),
2548    ('direction', XIMCaretDirection),
2549    ('operation', XIMStringConversionOperation),
2550    ('factor', c_ushort),
2551    ('text', POINTER(XIMStringConversionText)),
2552]
2553
2554XIMStringConversionCallbackStruct = struct__XIMStringConversionCallbackStruct 	# /usr/include/X11/Xlib.h:1342
2555class struct__XIMPreeditDrawCallbackStruct(Structure):
2556    __slots__ = [
2557        'caret',
2558        'chg_first',
2559        'chg_length',
2560        'text',
2561    ]
2562struct__XIMPreeditDrawCallbackStruct._fields_ = [
2563    ('caret', c_int),
2564    ('chg_first', c_int),
2565    ('chg_length', c_int),
2566    ('text', POINTER(XIMText)),
2567]
2568
2569XIMPreeditDrawCallbackStruct = struct__XIMPreeditDrawCallbackStruct 	# /usr/include/X11/Xlib.h:1349
2570enum_anon_91 = c_int
2571XIMIsInvisible = 0
2572XIMIsPrimary = 1
2573XIMIsSecondary = 2
2574XIMCaretStyle = enum_anon_91 	# /usr/include/X11/Xlib.h:1355
2575class struct__XIMPreeditCaretCallbackStruct(Structure):
2576    __slots__ = [
2577        'position',
2578        'direction',
2579        'style',
2580    ]
2581struct__XIMPreeditCaretCallbackStruct._fields_ = [
2582    ('position', c_int),
2583    ('direction', XIMCaretDirection),
2584    ('style', XIMCaretStyle),
2585]
2586
2587XIMPreeditCaretCallbackStruct = struct__XIMPreeditCaretCallbackStruct 	# /usr/include/X11/Xlib.h:1361
2588enum_anon_92 = c_int
2589XIMTextType = 0
2590XIMBitmapType = 1
2591XIMStatusDataType = enum_anon_92 	# /usr/include/X11/Xlib.h:1366
2592class struct__XIMStatusDrawCallbackStruct(Structure):
2593    __slots__ = [
2594        'type',
2595        'data',
2596    ]
2597class struct_anon_93(Union):
2598    __slots__ = [
2599        'text',
2600        'bitmap',
2601    ]
2602struct_anon_93._fields_ = [
2603    ('text', POINTER(XIMText)),
2604    ('bitmap', Pixmap),
2605]
2606
2607struct__XIMStatusDrawCallbackStruct._fields_ = [
2608    ('type', XIMStatusDataType),
2609    ('data', struct_anon_93),
2610]
2611
2612XIMStatusDrawCallbackStruct = struct__XIMStatusDrawCallbackStruct 	# /usr/include/X11/Xlib.h:1374
2613class struct__XIMHotKeyTrigger(Structure):
2614    __slots__ = [
2615        'keysym',
2616        'modifier',
2617        'modifier_mask',
2618    ]
2619struct__XIMHotKeyTrigger._fields_ = [
2620    ('keysym', KeySym),
2621    ('modifier', c_int),
2622    ('modifier_mask', c_int),
2623]
2624
2625XIMHotKeyTrigger = struct__XIMHotKeyTrigger 	# /usr/include/X11/Xlib.h:1380
2626class struct__XIMHotKeyTriggers(Structure):
2627    __slots__ = [
2628        'num_hot_key',
2629        'key',
2630    ]
2631struct__XIMHotKeyTriggers._fields_ = [
2632    ('num_hot_key', c_int),
2633    ('key', POINTER(XIMHotKeyTrigger)),
2634]
2635
2636XIMHotKeyTriggers = struct__XIMHotKeyTriggers 	# /usr/include/X11/Xlib.h:1385
2637XIMHotKeyState = c_ulong 	# /usr/include/X11/Xlib.h:1387
2638XIMHotKeyStateON = 1 	# /usr/include/X11/Xlib.h:1389
2639XIMHotKeyStateOFF = 2 	# /usr/include/X11/Xlib.h:1390
2640class struct_anon_94(Structure):
2641    __slots__ = [
2642        'count_values',
2643        'supported_values',
2644    ]
2645struct_anon_94._fields_ = [
2646    ('count_values', c_ushort),
2647    ('supported_values', POINTER(c_char_p)),
2648]
2649
2650XIMValuesList = struct_anon_94 	# /usr/include/X11/Xlib.h:1395
2651# /usr/include/X11/Xlib.h:1405
2652XLoadQueryFont = _lib.XLoadQueryFont
2653XLoadQueryFont.restype = POINTER(XFontStruct)
2654XLoadQueryFont.argtypes = [POINTER(Display), c_char_p]
2655
2656# /usr/include/X11/Xlib.h:1410
2657XQueryFont = _lib.XQueryFont
2658XQueryFont.restype = POINTER(XFontStruct)
2659XQueryFont.argtypes = [POINTER(Display), XID]
2660
2661# /usr/include/X11/Xlib.h:1416
2662XGetMotionEvents = _lib.XGetMotionEvents
2663XGetMotionEvents.restype = POINTER(XTimeCoord)
2664XGetMotionEvents.argtypes = [POINTER(Display), Window, Time, Time, POINTER(c_int)]
2665
2666# /usr/include/X11/Xlib.h:1424
2667XDeleteModifiermapEntry = _lib.XDeleteModifiermapEntry
2668XDeleteModifiermapEntry.restype = POINTER(XModifierKeymap)
2669XDeleteModifiermapEntry.argtypes = [POINTER(XModifierKeymap), KeyCode, c_int]
2670
2671# /usr/include/X11/Xlib.h:1434
2672XGetModifierMapping = _lib.XGetModifierMapping
2673XGetModifierMapping.restype = POINTER(XModifierKeymap)
2674XGetModifierMapping.argtypes = [POINTER(Display)]
2675
2676# /usr/include/X11/Xlib.h:1438
2677XInsertModifiermapEntry = _lib.XInsertModifiermapEntry
2678XInsertModifiermapEntry.restype = POINTER(XModifierKeymap)
2679XInsertModifiermapEntry.argtypes = [POINTER(XModifierKeymap), KeyCode, c_int]
2680
2681# /usr/include/X11/Xlib.h:1448
2682XNewModifiermap = _lib.XNewModifiermap
2683XNewModifiermap.restype = POINTER(XModifierKeymap)
2684XNewModifiermap.argtypes = [c_int]
2685
2686# /usr/include/X11/Xlib.h:1452
2687XCreateImage = _lib.XCreateImage
2688XCreateImage.restype = POINTER(XImage)
2689XCreateImage.argtypes = [POINTER(Display), POINTER(Visual), c_uint, c_int, c_int, c_char_p, c_uint, c_uint, c_int, c_int]
2690
2691# /usr/include/X11/Xlib.h:1464
2692XInitImage = _lib.XInitImage
2693XInitImage.restype = c_int
2694XInitImage.argtypes = [POINTER(XImage)]
2695
2696# /usr/include/X11/Xlib.h:1467
2697XGetImage = _lib.XGetImage
2698XGetImage.restype = POINTER(XImage)
2699XGetImage.argtypes = [POINTER(Display), Drawable, c_int, c_int, c_uint, c_uint, c_ulong, c_int]
2700
2701# /usr/include/X11/Xlib.h:1477
2702XGetSubImage = _lib.XGetSubImage
2703XGetSubImage.restype = POINTER(XImage)
2704XGetSubImage.argtypes = [POINTER(Display), Drawable, c_int, c_int, c_uint, c_uint, c_ulong, c_int, POINTER(XImage), c_int, c_int]
2705
2706# /usr/include/X11/Xlib.h:1494
2707XOpenDisplay = _lib.XOpenDisplay
2708XOpenDisplay.restype = POINTER(Display)
2709XOpenDisplay.argtypes = [c_char_p]
2710
2711# /usr/include/X11/Xlib.h:1498
2712XrmInitialize = _lib.XrmInitialize
2713XrmInitialize.restype = None
2714XrmInitialize.argtypes = []
2715
2716# /usr/include/X11/Xlib.h:1502
2717XFetchBytes = _lib.XFetchBytes
2718XFetchBytes.restype = c_char_p
2719XFetchBytes.argtypes = [POINTER(Display), POINTER(c_int)]
2720
2721# /usr/include/X11/Xlib.h:1506
2722XFetchBuffer = _lib.XFetchBuffer
2723XFetchBuffer.restype = c_char_p
2724XFetchBuffer.argtypes = [POINTER(Display), POINTER(c_int), c_int]
2725
2726# /usr/include/X11/Xlib.h:1511
2727XGetAtomName = _lib.XGetAtomName
2728XGetAtomName.restype = c_char_p
2729XGetAtomName.argtypes = [POINTER(Display), Atom]
2730
2731# /usr/include/X11/Xlib.h:1515
2732XGetAtomNames = _lib.XGetAtomNames
2733XGetAtomNames.restype = c_int
2734XGetAtomNames.argtypes = [POINTER(Display), POINTER(Atom), c_int, POINTER(c_char_p)]
2735
2736# /usr/include/X11/Xlib.h:1521
2737XGetDefault = _lib.XGetDefault
2738XGetDefault.restype = c_char_p
2739XGetDefault.argtypes = [POINTER(Display), c_char_p, c_char_p]
2740
2741# /usr/include/X11/Xlib.h:1526
2742XDisplayName = _lib.XDisplayName
2743XDisplayName.restype = c_char_p
2744XDisplayName.argtypes = [c_char_p]
2745
2746# /usr/include/X11/Xlib.h:1529
2747XKeysymToString = _lib.XKeysymToString
2748XKeysymToString.restype = c_char_p
2749XKeysymToString.argtypes = [KeySym]
2750
2751# /usr/include/X11/Xlib.h:1533
2752XSynchronize = _lib.XSynchronize
2753XSynchronize.restype = POINTER(CFUNCTYPE(c_int, POINTER(Display)))
2754XSynchronize.argtypes = [POINTER(Display), c_int]
2755
2756# /usr/include/X11/Xlib.h:1539
2757XSetAfterFunction = _lib.XSetAfterFunction
2758XSetAfterFunction.restype = POINTER(CFUNCTYPE(c_int, POINTER(Display)))
2759XSetAfterFunction.argtypes = [POINTER(Display), CFUNCTYPE(c_int, POINTER(Display))]
2760
2761# /usr/include/X11/Xlib.h:1547
2762XInternAtom = _lib.XInternAtom
2763XInternAtom.restype = Atom
2764XInternAtom.argtypes = [POINTER(Display), c_char_p, c_int]
2765
2766# /usr/include/X11/Xlib.h:1552
2767XInternAtoms = _lib.XInternAtoms
2768XInternAtoms.restype = c_int
2769XInternAtoms.argtypes = [POINTER(Display), POINTER(c_char_p), c_int, c_int, POINTER(Atom)]
2770
2771# /usr/include/X11/Xlib.h:1559
2772XCopyColormapAndFree = _lib.XCopyColormapAndFree
2773XCopyColormapAndFree.restype = Colormap
2774XCopyColormapAndFree.argtypes = [POINTER(Display), Colormap]
2775
2776# /usr/include/X11/Xlib.h:1563
2777XCreateColormap = _lib.XCreateColormap
2778XCreateColormap.restype = Colormap
2779XCreateColormap.argtypes = [POINTER(Display), Window, POINTER(Visual), c_int]
2780
2781# /usr/include/X11/Xlib.h:1569
2782XCreatePixmapCursor = _lib.XCreatePixmapCursor
2783XCreatePixmapCursor.restype = Cursor
2784XCreatePixmapCursor.argtypes = [POINTER(Display), Pixmap, Pixmap, POINTER(XColor), POINTER(XColor), c_uint, c_uint]
2785
2786# /usr/include/X11/Xlib.h:1578
2787XCreateGlyphCursor = _lib.XCreateGlyphCursor
2788XCreateGlyphCursor.restype = Cursor
2789XCreateGlyphCursor.argtypes = [POINTER(Display), Font, Font, c_uint, c_uint, POINTER(XColor), POINTER(XColor)]
2790
2791# /usr/include/X11/Xlib.h:1587
2792XCreateFontCursor = _lib.XCreateFontCursor
2793XCreateFontCursor.restype = Cursor
2794XCreateFontCursor.argtypes = [POINTER(Display), c_uint]
2795
2796# /usr/include/X11/Xlib.h:1591
2797XLoadFont = _lib.XLoadFont
2798XLoadFont.restype = Font
2799XLoadFont.argtypes = [POINTER(Display), c_char_p]
2800
2801# /usr/include/X11/Xlib.h:1595
2802XCreateGC = _lib.XCreateGC
2803XCreateGC.restype = GC
2804XCreateGC.argtypes = [POINTER(Display), Drawable, c_ulong, POINTER(XGCValues)]
2805
2806# /usr/include/X11/Xlib.h:1601
2807XGContextFromGC = _lib.XGContextFromGC
2808XGContextFromGC.restype = GContext
2809XGContextFromGC.argtypes = [GC]
2810
2811# /usr/include/X11/Xlib.h:1604
2812XFlushGC = _lib.XFlushGC
2813XFlushGC.restype = None
2814XFlushGC.argtypes = [POINTER(Display), GC]
2815
2816# /usr/include/X11/Xlib.h:1608
2817XCreatePixmap = _lib.XCreatePixmap
2818XCreatePixmap.restype = Pixmap
2819XCreatePixmap.argtypes = [POINTER(Display), Drawable, c_uint, c_uint, c_uint]
2820
2821# /usr/include/X11/Xlib.h:1615
2822XCreateBitmapFromData = _lib.XCreateBitmapFromData
2823XCreateBitmapFromData.restype = Pixmap
2824XCreateBitmapFromData.argtypes = [POINTER(Display), Drawable, c_char_p, c_uint, c_uint]
2825
2826# /usr/include/X11/Xlib.h:1622
2827XCreatePixmapFromBitmapData = _lib.XCreatePixmapFromBitmapData
2828XCreatePixmapFromBitmapData.restype = Pixmap
2829XCreatePixmapFromBitmapData.argtypes = [POINTER(Display), Drawable, c_char_p, c_uint, c_uint, c_ulong, c_ulong, c_uint]
2830
2831# /usr/include/X11/Xlib.h:1632
2832XCreateSimpleWindow = _lib.XCreateSimpleWindow
2833XCreateSimpleWindow.restype = Window
2834XCreateSimpleWindow.argtypes = [POINTER(Display), Window, c_int, c_int, c_uint, c_uint, c_uint, c_ulong, c_ulong]
2835
2836# /usr/include/X11/Xlib.h:1643
2837XGetSelectionOwner = _lib.XGetSelectionOwner
2838XGetSelectionOwner.restype = Window
2839XGetSelectionOwner.argtypes = [POINTER(Display), Atom]
2840
2841# /usr/include/X11/Xlib.h:1647
2842XCreateWindow = _lib.XCreateWindow
2843XCreateWindow.restype = Window
2844XCreateWindow.argtypes = [POINTER(Display), Window, c_int, c_int, c_uint, c_uint, c_uint, c_int, c_uint, POINTER(Visual), c_ulong, POINTER(XSetWindowAttributes)]
2845
2846# /usr/include/X11/Xlib.h:1661
2847XListInstalledColormaps = _lib.XListInstalledColormaps
2848XListInstalledColormaps.restype = POINTER(Colormap)
2849XListInstalledColormaps.argtypes = [POINTER(Display), Window, POINTER(c_int)]
2850
2851# /usr/include/X11/Xlib.h:1666
2852XListFonts = _lib.XListFonts
2853XListFonts.restype = POINTER(c_char_p)
2854XListFonts.argtypes = [POINTER(Display), c_char_p, c_int, POINTER(c_int)]
2855
2856# /usr/include/X11/Xlib.h:1672
2857XListFontsWithInfo = _lib.XListFontsWithInfo
2858XListFontsWithInfo.restype = POINTER(c_char_p)
2859XListFontsWithInfo.argtypes = [POINTER(Display), c_char_p, c_int, POINTER(c_int), POINTER(POINTER(XFontStruct))]
2860
2861# /usr/include/X11/Xlib.h:1679
2862XGetFontPath = _lib.XGetFontPath
2863XGetFontPath.restype = POINTER(c_char_p)
2864XGetFontPath.argtypes = [POINTER(Display), POINTER(c_int)]
2865
2866# /usr/include/X11/Xlib.h:1683
2867XListExtensions = _lib.XListExtensions
2868XListExtensions.restype = POINTER(c_char_p)
2869XListExtensions.argtypes = [POINTER(Display), POINTER(c_int)]
2870
2871# /usr/include/X11/Xlib.h:1687
2872XListProperties = _lib.XListProperties
2873XListProperties.restype = POINTER(Atom)
2874XListProperties.argtypes = [POINTER(Display), Window, POINTER(c_int)]
2875
2876# /usr/include/X11/Xlib.h:1692
2877XListHosts = _lib.XListHosts
2878XListHosts.restype = POINTER(XHostAddress)
2879XListHosts.argtypes = [POINTER(Display), POINTER(c_int), POINTER(c_int)]
2880
2881# /usr/include/X11/Xlib.h:1697
2882XKeycodeToKeysym = _lib.XKeycodeToKeysym
2883XKeycodeToKeysym.restype = KeySym
2884XKeycodeToKeysym.argtypes = [POINTER(Display), KeyCode, c_int]
2885
2886# /usr/include/X11/Xlib.h:1706
2887XLookupKeysym = _lib.XLookupKeysym
2888XLookupKeysym.restype = KeySym
2889XLookupKeysym.argtypes = [POINTER(XKeyEvent), c_int]
2890
2891# /usr/include/X11/Xlib.h:1710
2892XGetKeyboardMapping = _lib.XGetKeyboardMapping
2893XGetKeyboardMapping.restype = POINTER(KeySym)
2894XGetKeyboardMapping.argtypes = [POINTER(Display), KeyCode, c_int, POINTER(c_int)]
2895
2896# /usr/include/X11/Xlib.h:1720
2897XStringToKeysym = _lib.XStringToKeysym
2898XStringToKeysym.restype = KeySym
2899XStringToKeysym.argtypes = [c_char_p]
2900
2901# /usr/include/X11/Xlib.h:1723
2902XMaxRequestSize = _lib.XMaxRequestSize
2903XMaxRequestSize.restype = c_long
2904XMaxRequestSize.argtypes = [POINTER(Display)]
2905
2906# /usr/include/X11/Xlib.h:1726
2907XExtendedMaxRequestSize = _lib.XExtendedMaxRequestSize
2908XExtendedMaxRequestSize.restype = c_long
2909XExtendedMaxRequestSize.argtypes = [POINTER(Display)]
2910
2911# /usr/include/X11/Xlib.h:1729
2912XResourceManagerString = _lib.XResourceManagerString
2913XResourceManagerString.restype = c_char_p
2914XResourceManagerString.argtypes = [POINTER(Display)]
2915
2916# /usr/include/X11/Xlib.h:1732
2917XScreenResourceString = _lib.XScreenResourceString
2918XScreenResourceString.restype = c_char_p
2919XScreenResourceString.argtypes = [POINTER(Screen)]
2920
2921# /usr/include/X11/Xlib.h:1735
2922XDisplayMotionBufferSize = _lib.XDisplayMotionBufferSize
2923XDisplayMotionBufferSize.restype = c_ulong
2924XDisplayMotionBufferSize.argtypes = [POINTER(Display)]
2925
2926# /usr/include/X11/Xlib.h:1738
2927XVisualIDFromVisual = _lib.XVisualIDFromVisual
2928XVisualIDFromVisual.restype = VisualID
2929XVisualIDFromVisual.argtypes = [POINTER(Visual)]
2930
2931# /usr/include/X11/Xlib.h:1744
2932XInitThreads = _lib.XInitThreads
2933XInitThreads.restype = c_int
2934XInitThreads.argtypes = []
2935
2936# /usr/include/X11/Xlib.h:1748
2937XLockDisplay = _lib.XLockDisplay
2938XLockDisplay.restype = None
2939XLockDisplay.argtypes = [POINTER(Display)]
2940
2941# /usr/include/X11/Xlib.h:1752
2942XUnlockDisplay = _lib.XUnlockDisplay
2943XUnlockDisplay.restype = None
2944XUnlockDisplay.argtypes = [POINTER(Display)]
2945
2946# /usr/include/X11/Xlib.h:1758
2947XInitExtension = _lib.XInitExtension
2948XInitExtension.restype = POINTER(XExtCodes)
2949XInitExtension.argtypes = [POINTER(Display), c_char_p]
2950
2951# /usr/include/X11/Xlib.h:1763
2952XAddExtension = _lib.XAddExtension
2953XAddExtension.restype = POINTER(XExtCodes)
2954XAddExtension.argtypes = [POINTER(Display)]
2955
2956# /usr/include/X11/Xlib.h:1766
2957XFindOnExtensionList = _lib.XFindOnExtensionList
2958XFindOnExtensionList.restype = POINTER(XExtData)
2959XFindOnExtensionList.argtypes = [POINTER(POINTER(XExtData)), c_int]
2960
2961# /usr/include/X11/Xlib.h:1770
2962XEHeadOfExtensionList = _lib.XEHeadOfExtensionList
2963XEHeadOfExtensionList.restype = POINTER(POINTER(XExtData))
2964XEHeadOfExtensionList.argtypes = [POINTER(XEDataObject)]
2965
2966# /usr/include/X11/Xlib.h:1775
2967XRootWindow = _lib.XRootWindow
2968XRootWindow.restype = Window
2969XRootWindow.argtypes = [POINTER(Display), c_int]
2970
2971# /usr/include/X11/Xlib.h:1779
2972XDefaultRootWindow = _lib.XDefaultRootWindow
2973XDefaultRootWindow.restype = Window
2974XDefaultRootWindow.argtypes = [POINTER(Display)]
2975
2976# /usr/include/X11/Xlib.h:1782
2977XRootWindowOfScreen = _lib.XRootWindowOfScreen
2978XRootWindowOfScreen.restype = Window
2979XRootWindowOfScreen.argtypes = [POINTER(Screen)]
2980
2981# /usr/include/X11/Xlib.h:1785
2982XDefaultVisual = _lib.XDefaultVisual
2983XDefaultVisual.restype = POINTER(Visual)
2984XDefaultVisual.argtypes = [POINTER(Display), c_int]
2985
2986# /usr/include/X11/Xlib.h:1789
2987XDefaultVisualOfScreen = _lib.XDefaultVisualOfScreen
2988XDefaultVisualOfScreen.restype = POINTER(Visual)
2989XDefaultVisualOfScreen.argtypes = [POINTER(Screen)]
2990
2991# /usr/include/X11/Xlib.h:1792
2992XDefaultGC = _lib.XDefaultGC
2993XDefaultGC.restype = GC
2994XDefaultGC.argtypes = [POINTER(Display), c_int]
2995
2996# /usr/include/X11/Xlib.h:1796
2997XDefaultGCOfScreen = _lib.XDefaultGCOfScreen
2998XDefaultGCOfScreen.restype = GC
2999XDefaultGCOfScreen.argtypes = [POINTER(Screen)]
3000
3001# /usr/include/X11/Xlib.h:1799
3002XBlackPixel = _lib.XBlackPixel
3003XBlackPixel.restype = c_ulong
3004XBlackPixel.argtypes = [POINTER(Display), c_int]
3005
3006# /usr/include/X11/Xlib.h:1803
3007XWhitePixel = _lib.XWhitePixel
3008XWhitePixel.restype = c_ulong
3009XWhitePixel.argtypes = [POINTER(Display), c_int]
3010
3011# /usr/include/X11/Xlib.h:1807
3012XAllPlanes = _lib.XAllPlanes
3013XAllPlanes.restype = c_ulong
3014XAllPlanes.argtypes = []
3015
3016# /usr/include/X11/Xlib.h:1810
3017XBlackPixelOfScreen = _lib.XBlackPixelOfScreen
3018XBlackPixelOfScreen.restype = c_ulong
3019XBlackPixelOfScreen.argtypes = [POINTER(Screen)]
3020
3021# /usr/include/X11/Xlib.h:1813
3022XWhitePixelOfScreen = _lib.XWhitePixelOfScreen
3023XWhitePixelOfScreen.restype = c_ulong
3024XWhitePixelOfScreen.argtypes = [POINTER(Screen)]
3025
3026# /usr/include/X11/Xlib.h:1816
3027XNextRequest = _lib.XNextRequest
3028XNextRequest.restype = c_ulong
3029XNextRequest.argtypes = [POINTER(Display)]
3030
3031# /usr/include/X11/Xlib.h:1819
3032XLastKnownRequestProcessed = _lib.XLastKnownRequestProcessed
3033XLastKnownRequestProcessed.restype = c_ulong
3034XLastKnownRequestProcessed.argtypes = [POINTER(Display)]
3035
3036# /usr/include/X11/Xlib.h:1822
3037XServerVendor = _lib.XServerVendor
3038XServerVendor.restype = c_char_p
3039XServerVendor.argtypes = [POINTER(Display)]
3040
3041# /usr/include/X11/Xlib.h:1825
3042XDisplayString = _lib.XDisplayString
3043XDisplayString.restype = c_char_p
3044XDisplayString.argtypes = [POINTER(Display)]
3045
3046# /usr/include/X11/Xlib.h:1828
3047XDefaultColormap = _lib.XDefaultColormap
3048XDefaultColormap.restype = Colormap
3049XDefaultColormap.argtypes = [POINTER(Display), c_int]
3050
3051# /usr/include/X11/Xlib.h:1832
3052XDefaultColormapOfScreen = _lib.XDefaultColormapOfScreen
3053XDefaultColormapOfScreen.restype = Colormap
3054XDefaultColormapOfScreen.argtypes = [POINTER(Screen)]
3055
3056# /usr/include/X11/Xlib.h:1835
3057XDisplayOfScreen = _lib.XDisplayOfScreen
3058XDisplayOfScreen.restype = POINTER(Display)
3059XDisplayOfScreen.argtypes = [POINTER(Screen)]
3060
3061# /usr/include/X11/Xlib.h:1838
3062XScreenOfDisplay = _lib.XScreenOfDisplay
3063XScreenOfDisplay.restype = POINTER(Screen)
3064XScreenOfDisplay.argtypes = [POINTER(Display), c_int]
3065
3066# /usr/include/X11/Xlib.h:1842
3067XDefaultScreenOfDisplay = _lib.XDefaultScreenOfDisplay
3068XDefaultScreenOfDisplay.restype = POINTER(Screen)
3069XDefaultScreenOfDisplay.argtypes = [POINTER(Display)]
3070
3071# /usr/include/X11/Xlib.h:1845
3072XEventMaskOfScreen = _lib.XEventMaskOfScreen
3073XEventMaskOfScreen.restype = c_long
3074XEventMaskOfScreen.argtypes = [POINTER(Screen)]
3075
3076# /usr/include/X11/Xlib.h:1849
3077XScreenNumberOfScreen = _lib.XScreenNumberOfScreen
3078XScreenNumberOfScreen.restype = c_int
3079XScreenNumberOfScreen.argtypes = [POINTER(Screen)]
3080
3081XErrorHandler = CFUNCTYPE(c_int, POINTER(Display), POINTER(XErrorEvent)) 	# /usr/include/X11/Xlib.h:1853
3082# /usr/include/X11/Xlib.h:1858
3083XSetErrorHandler = _lib.XSetErrorHandler
3084XSetErrorHandler.restype = XErrorHandler
3085XSetErrorHandler.argtypes = [XErrorHandler]
3086
3087XIOErrorHandler = CFUNCTYPE(c_int, POINTER(Display)) 	# /usr/include/X11/Xlib.h:1863
3088# /usr/include/X11/Xlib.h:1867
3089XSetIOErrorHandler = _lib.XSetIOErrorHandler
3090XSetIOErrorHandler.restype = XIOErrorHandler
3091XSetIOErrorHandler.argtypes = [XIOErrorHandler]
3092
3093# /usr/include/X11/Xlib.h:1872
3094XListPixmapFormats = _lib.XListPixmapFormats
3095XListPixmapFormats.restype = POINTER(XPixmapFormatValues)
3096XListPixmapFormats.argtypes = [POINTER(Display), POINTER(c_int)]
3097
3098# /usr/include/X11/Xlib.h:1876
3099XListDepths = _lib.XListDepths
3100XListDepths.restype = POINTER(c_int)
3101XListDepths.argtypes = [POINTER(Display), c_int, POINTER(c_int)]
3102
3103# /usr/include/X11/Xlib.h:1884
3104XReconfigureWMWindow = _lib.XReconfigureWMWindow
3105XReconfigureWMWindow.restype = c_int
3106XReconfigureWMWindow.argtypes = [POINTER(Display), Window, c_int, c_uint, POINTER(XWindowChanges)]
3107
3108# /usr/include/X11/Xlib.h:1892
3109XGetWMProtocols = _lib.XGetWMProtocols
3110XGetWMProtocols.restype = c_int
3111XGetWMProtocols.argtypes = [POINTER(Display), Window, POINTER(POINTER(Atom)), POINTER(c_int)]
3112
3113# /usr/include/X11/Xlib.h:1898
3114XSetWMProtocols = _lib.XSetWMProtocols
3115XSetWMProtocols.restype = c_int
3116XSetWMProtocols.argtypes = [POINTER(Display), Window, POINTER(Atom), c_int]
3117
3118# /usr/include/X11/Xlib.h:1904
3119XIconifyWindow = _lib.XIconifyWindow
3120XIconifyWindow.restype = c_int
3121XIconifyWindow.argtypes = [POINTER(Display), Window, c_int]
3122
3123# /usr/include/X11/Xlib.h:1909
3124XWithdrawWindow = _lib.XWithdrawWindow
3125XWithdrawWindow.restype = c_int
3126XWithdrawWindow.argtypes = [POINTER(Display), Window, c_int]
3127
3128# /usr/include/X11/Xlib.h:1914
3129XGetCommand = _lib.XGetCommand
3130XGetCommand.restype = c_int
3131XGetCommand.argtypes = [POINTER(Display), Window, POINTER(POINTER(c_char_p)), POINTER(c_int)]
3132
3133# /usr/include/X11/Xlib.h:1920
3134XGetWMColormapWindows = _lib.XGetWMColormapWindows
3135XGetWMColormapWindows.restype = c_int
3136XGetWMColormapWindows.argtypes = [POINTER(Display), Window, POINTER(POINTER(Window)), POINTER(c_int)]
3137
3138# /usr/include/X11/Xlib.h:1926
3139XSetWMColormapWindows = _lib.XSetWMColormapWindows
3140XSetWMColormapWindows.restype = c_int
3141XSetWMColormapWindows.argtypes = [POINTER(Display), Window, POINTER(Window), c_int]
3142
3143# /usr/include/X11/Xlib.h:1932
3144XFreeStringList = _lib.XFreeStringList
3145XFreeStringList.restype = None
3146XFreeStringList.argtypes = [POINTER(c_char_p)]
3147
3148# /usr/include/X11/Xlib.h:1935
3149XSetTransientForHint = _lib.XSetTransientForHint
3150XSetTransientForHint.restype = c_int
3151XSetTransientForHint.argtypes = [POINTER(Display), Window, Window]
3152
3153# /usr/include/X11/Xlib.h:1943
3154XActivateScreenSaver = _lib.XActivateScreenSaver
3155XActivateScreenSaver.restype = c_int
3156XActivateScreenSaver.argtypes = [POINTER(Display)]
3157
3158# /usr/include/X11/Xlib.h:1947
3159XAddHost = _lib.XAddHost
3160XAddHost.restype = c_int
3161XAddHost.argtypes = [POINTER(Display), POINTER(XHostAddress)]
3162
3163# /usr/include/X11/Xlib.h:1952
3164XAddHosts = _lib.XAddHosts
3165XAddHosts.restype = c_int
3166XAddHosts.argtypes = [POINTER(Display), POINTER(XHostAddress), c_int]
3167
3168# /usr/include/X11/Xlib.h:1958
3169XAddToExtensionList = _lib.XAddToExtensionList
3170XAddToExtensionList.restype = c_int
3171XAddToExtensionList.argtypes = [POINTER(POINTER(struct__XExtData)), POINTER(XExtData)]
3172
3173# /usr/include/X11/Xlib.h:1963
3174XAddToSaveSet = _lib.XAddToSaveSet
3175XAddToSaveSet.restype = c_int
3176XAddToSaveSet.argtypes = [POINTER(Display), Window]
3177
3178# /usr/include/X11/Xlib.h:1968
3179XAllocColor = _lib.XAllocColor
3180XAllocColor.restype = c_int
3181XAllocColor.argtypes = [POINTER(Display), Colormap, POINTER(XColor)]
3182
3183# /usr/include/X11/Xlib.h:1974
3184XAllocColorCells = _lib.XAllocColorCells
3185XAllocColorCells.restype = c_int
3186XAllocColorCells.argtypes = [POINTER(Display), Colormap, c_int, POINTER(c_ulong), c_uint, POINTER(c_ulong), c_uint]
3187
3188# /usr/include/X11/Xlib.h:1984
3189XAllocColorPlanes = _lib.XAllocColorPlanes
3190XAllocColorPlanes.restype = c_int
3191XAllocColorPlanes.argtypes = [POINTER(Display), Colormap, c_int, POINTER(c_ulong), c_int, c_int, c_int, c_int, POINTER(c_ulong), POINTER(c_ulong), POINTER(c_ulong)]
3192
3193# /usr/include/X11/Xlib.h:1998
3194XAllocNamedColor = _lib.XAllocNamedColor
3195XAllocNamedColor.restype = c_int
3196XAllocNamedColor.argtypes = [POINTER(Display), Colormap, c_char_p, POINTER(XColor), POINTER(XColor)]
3197
3198# /usr/include/X11/Xlib.h:2006
3199XAllowEvents = _lib.XAllowEvents
3200XAllowEvents.restype = c_int
3201XAllowEvents.argtypes = [POINTER(Display), c_int, Time]
3202
3203# /usr/include/X11/Xlib.h:2012
3204XAutoRepeatOff = _lib.XAutoRepeatOff
3205XAutoRepeatOff.restype = c_int
3206XAutoRepeatOff.argtypes = [POINTER(Display)]
3207
3208# /usr/include/X11/Xlib.h:2016
3209XAutoRepeatOn = _lib.XAutoRepeatOn
3210XAutoRepeatOn.restype = c_int
3211XAutoRepeatOn.argtypes = [POINTER(Display)]
3212
3213# /usr/include/X11/Xlib.h:2020
3214XBell = _lib.XBell
3215XBell.restype = c_int
3216XBell.argtypes = [POINTER(Display), c_int]
3217
3218# /usr/include/X11/Xlib.h:2025
3219XBitmapBitOrder = _lib.XBitmapBitOrder
3220XBitmapBitOrder.restype = c_int
3221XBitmapBitOrder.argtypes = [POINTER(Display)]
3222
3223# /usr/include/X11/Xlib.h:2029
3224XBitmapPad = _lib.XBitmapPad
3225XBitmapPad.restype = c_int
3226XBitmapPad.argtypes = [POINTER(Display)]
3227
3228# /usr/include/X11/Xlib.h:2033
3229XBitmapUnit = _lib.XBitmapUnit
3230XBitmapUnit.restype = c_int
3231XBitmapUnit.argtypes = [POINTER(Display)]
3232
3233# /usr/include/X11/Xlib.h:2037
3234XCellsOfScreen = _lib.XCellsOfScreen
3235XCellsOfScreen.restype = c_int
3236XCellsOfScreen.argtypes = [POINTER(Screen)]
3237
3238# /usr/include/X11/Xlib.h:2041
3239XChangeActivePointerGrab = _lib.XChangeActivePointerGrab
3240XChangeActivePointerGrab.restype = c_int
3241XChangeActivePointerGrab.argtypes = [POINTER(Display), c_uint, Cursor, Time]
3242
3243# /usr/include/X11/Xlib.h:2048
3244XChangeGC = _lib.XChangeGC
3245XChangeGC.restype = c_int
3246XChangeGC.argtypes = [POINTER(Display), GC, c_ulong, POINTER(XGCValues)]
3247
3248# /usr/include/X11/Xlib.h:2055
3249XChangeKeyboardControl = _lib.XChangeKeyboardControl
3250XChangeKeyboardControl.restype = c_int
3251XChangeKeyboardControl.argtypes = [POINTER(Display), c_ulong, POINTER(XKeyboardControl)]
3252
3253# /usr/include/X11/Xlib.h:2061
3254XChangeKeyboardMapping = _lib.XChangeKeyboardMapping
3255XChangeKeyboardMapping.restype = c_int
3256XChangeKeyboardMapping.argtypes = [POINTER(Display), c_int, c_int, POINTER(KeySym), c_int]
3257
3258# /usr/include/X11/Xlib.h:2069
3259XChangePointerControl = _lib.XChangePointerControl
3260XChangePointerControl.restype = c_int
3261XChangePointerControl.argtypes = [POINTER(Display), c_int, c_int, c_int, c_int, c_int]
3262
3263# /usr/include/X11/Xlib.h:2078
3264XChangeProperty = _lib.XChangeProperty
3265XChangeProperty.restype = c_int
3266XChangeProperty.argtypes = [POINTER(Display), Window, Atom, Atom, c_int, c_int, POINTER(c_ubyte), c_int]
3267
3268# /usr/include/X11/Xlib.h:2089
3269XChangeSaveSet = _lib.XChangeSaveSet
3270XChangeSaveSet.restype = c_int
3271XChangeSaveSet.argtypes = [POINTER(Display), Window, c_int]
3272
3273# /usr/include/X11/Xlib.h:2095
3274XChangeWindowAttributes = _lib.XChangeWindowAttributes
3275XChangeWindowAttributes.restype = c_int
3276XChangeWindowAttributes.argtypes = [POINTER(Display), Window, c_ulong, POINTER(XSetWindowAttributes)]
3277
3278# /usr/include/X11/Xlib.h:2102
3279XCheckIfEvent = _lib.XCheckIfEvent
3280XCheckIfEvent.restype = c_int
3281XCheckIfEvent.argtypes = [POINTER(Display), POINTER(XEvent), CFUNCTYPE(c_int, POINTER(Display), POINTER(XEvent), XPointer), XPointer]
3282
3283# /usr/include/X11/Xlib.h:2113
3284XCheckMaskEvent = _lib.XCheckMaskEvent
3285XCheckMaskEvent.restype = c_int
3286XCheckMaskEvent.argtypes = [POINTER(Display), c_long, POINTER(XEvent)]
3287
3288# /usr/include/X11/Xlib.h:2119
3289XCheckTypedEvent = _lib.XCheckTypedEvent
3290XCheckTypedEvent.restype = c_int
3291XCheckTypedEvent.argtypes = [POINTER(Display), c_int, POINTER(XEvent)]
3292
3293# /usr/include/X11/Xlib.h:2125
3294XCheckTypedWindowEvent = _lib.XCheckTypedWindowEvent
3295XCheckTypedWindowEvent.restype = c_int
3296XCheckTypedWindowEvent.argtypes = [POINTER(Display), Window, c_int, POINTER(XEvent)]
3297
3298# /usr/include/X11/Xlib.h:2132
3299XCheckWindowEvent = _lib.XCheckWindowEvent
3300XCheckWindowEvent.restype = c_int
3301XCheckWindowEvent.argtypes = [POINTER(Display), Window, c_long, POINTER(XEvent)]
3302
3303# /usr/include/X11/Xlib.h:2139
3304XCirculateSubwindows = _lib.XCirculateSubwindows
3305XCirculateSubwindows.restype = c_int
3306XCirculateSubwindows.argtypes = [POINTER(Display), Window, c_int]
3307
3308# /usr/include/X11/Xlib.h:2145
3309XCirculateSubwindowsDown = _lib.XCirculateSubwindowsDown
3310XCirculateSubwindowsDown.restype = c_int
3311XCirculateSubwindowsDown.argtypes = [POINTER(Display), Window]
3312
3313# /usr/include/X11/Xlib.h:2150
3314XCirculateSubwindowsUp = _lib.XCirculateSubwindowsUp
3315XCirculateSubwindowsUp.restype = c_int
3316XCirculateSubwindowsUp.argtypes = [POINTER(Display), Window]
3317
3318# /usr/include/X11/Xlib.h:2155
3319XClearArea = _lib.XClearArea
3320XClearArea.restype = c_int
3321XClearArea.argtypes = [POINTER(Display), Window, c_int, c_int, c_uint, c_uint, c_int]
3322
3323# /usr/include/X11/Xlib.h:2165
3324XClearWindow = _lib.XClearWindow
3325XClearWindow.restype = c_int
3326XClearWindow.argtypes = [POINTER(Display), Window]
3327
3328# /usr/include/X11/Xlib.h:2170
3329XCloseDisplay = _lib.XCloseDisplay
3330XCloseDisplay.restype = c_int
3331XCloseDisplay.argtypes = [POINTER(Display)]
3332
3333# /usr/include/X11/Xlib.h:2174
3334XConfigureWindow = _lib.XConfigureWindow
3335XConfigureWindow.restype = c_int
3336XConfigureWindow.argtypes = [POINTER(Display), Window, c_uint, POINTER(XWindowChanges)]
3337
3338# /usr/include/X11/Xlib.h:2181
3339XConnectionNumber = _lib.XConnectionNumber
3340XConnectionNumber.restype = c_int
3341XConnectionNumber.argtypes = [POINTER(Display)]
3342
3343# /usr/include/X11/Xlib.h:2185
3344XConvertSelection = _lib.XConvertSelection
3345XConvertSelection.restype = c_int
3346XConvertSelection.argtypes = [POINTER(Display), Atom, Atom, Atom, Window, Time]
3347
3348# /usr/include/X11/Xlib.h:2194
3349XCopyArea = _lib.XCopyArea
3350XCopyArea.restype = c_int
3351XCopyArea.argtypes = [POINTER(Display), Drawable, Drawable, GC, c_int, c_int, c_uint, c_uint, c_int, c_int]
3352
3353# /usr/include/X11/Xlib.h:2207
3354XCopyGC = _lib.XCopyGC
3355XCopyGC.restype = c_int
3356XCopyGC.argtypes = [POINTER(Display), GC, c_ulong, GC]
3357
3358# /usr/include/X11/Xlib.h:2214
3359XCopyPlane = _lib.XCopyPlane
3360XCopyPlane.restype = c_int
3361XCopyPlane.argtypes = [POINTER(Display), Drawable, Drawable, GC, c_int, c_int, c_uint, c_uint, c_int, c_int, c_ulong]
3362
3363# /usr/include/X11/Xlib.h:2228
3364XDefaultDepth = _lib.XDefaultDepth
3365XDefaultDepth.restype = c_int
3366XDefaultDepth.argtypes = [POINTER(Display), c_int]
3367
3368# /usr/include/X11/Xlib.h:2233
3369XDefaultDepthOfScreen = _lib.XDefaultDepthOfScreen
3370XDefaultDepthOfScreen.restype = c_int
3371XDefaultDepthOfScreen.argtypes = [POINTER(Screen)]
3372
3373# /usr/include/X11/Xlib.h:2237
3374XDefaultScreen = _lib.XDefaultScreen
3375XDefaultScreen.restype = c_int
3376XDefaultScreen.argtypes = [POINTER(Display)]
3377
3378# /usr/include/X11/Xlib.h:2241
3379XDefineCursor = _lib.XDefineCursor
3380XDefineCursor.restype = c_int
3381XDefineCursor.argtypes = [POINTER(Display), Window, Cursor]
3382
3383# /usr/include/X11/Xlib.h:2247
3384XDeleteProperty = _lib.XDeleteProperty
3385XDeleteProperty.restype = c_int
3386XDeleteProperty.argtypes = [POINTER(Display), Window, Atom]
3387
3388# /usr/include/X11/Xlib.h:2253
3389XDestroyWindow = _lib.XDestroyWindow
3390XDestroyWindow.restype = c_int
3391XDestroyWindow.argtypes = [POINTER(Display), Window]
3392
3393# /usr/include/X11/Xlib.h:2258
3394XDestroySubwindows = _lib.XDestroySubwindows
3395XDestroySubwindows.restype = c_int
3396XDestroySubwindows.argtypes = [POINTER(Display), Window]
3397
3398# /usr/include/X11/Xlib.h:2263
3399XDoesBackingStore = _lib.XDoesBackingStore
3400XDoesBackingStore.restype = c_int
3401XDoesBackingStore.argtypes = [POINTER(Screen)]
3402
3403# /usr/include/X11/Xlib.h:2267
3404XDoesSaveUnders = _lib.XDoesSaveUnders
3405XDoesSaveUnders.restype = c_int
3406XDoesSaveUnders.argtypes = [POINTER(Screen)]
3407
3408# /usr/include/X11/Xlib.h:2271
3409XDisableAccessControl = _lib.XDisableAccessControl
3410XDisableAccessControl.restype = c_int
3411XDisableAccessControl.argtypes = [POINTER(Display)]
3412
3413# /usr/include/X11/Xlib.h:2276
3414XDisplayCells = _lib.XDisplayCells
3415XDisplayCells.restype = c_int
3416XDisplayCells.argtypes = [POINTER(Display), c_int]
3417
3418# /usr/include/X11/Xlib.h:2281
3419XDisplayHeight = _lib.XDisplayHeight
3420XDisplayHeight.restype = c_int
3421XDisplayHeight.argtypes = [POINTER(Display), c_int]
3422
3423# /usr/include/X11/Xlib.h:2286
3424XDisplayHeightMM = _lib.XDisplayHeightMM
3425XDisplayHeightMM.restype = c_int
3426XDisplayHeightMM.argtypes = [POINTER(Display), c_int]
3427
3428# /usr/include/X11/Xlib.h:2291
3429XDisplayKeycodes = _lib.XDisplayKeycodes
3430XDisplayKeycodes.restype = c_int
3431XDisplayKeycodes.argtypes = [POINTER(Display), POINTER(c_int), POINTER(c_int)]
3432
3433# /usr/include/X11/Xlib.h:2297
3434XDisplayPlanes = _lib.XDisplayPlanes
3435XDisplayPlanes.restype = c_int
3436XDisplayPlanes.argtypes = [POINTER(Display), c_int]
3437
3438# /usr/include/X11/Xlib.h:2302
3439XDisplayWidth = _lib.XDisplayWidth
3440XDisplayWidth.restype = c_int
3441XDisplayWidth.argtypes = [POINTER(Display), c_int]
3442
3443# /usr/include/X11/Xlib.h:2307
3444XDisplayWidthMM = _lib.XDisplayWidthMM
3445XDisplayWidthMM.restype = c_int
3446XDisplayWidthMM.argtypes = [POINTER(Display), c_int]
3447
3448# /usr/include/X11/Xlib.h:2312
3449XDrawArc = _lib.XDrawArc
3450XDrawArc.restype = c_int
3451XDrawArc.argtypes = [POINTER(Display), Drawable, GC, c_int, c_int, c_uint, c_uint, c_int, c_int]
3452
3453# /usr/include/X11/Xlib.h:2324
3454XDrawArcs = _lib.XDrawArcs
3455XDrawArcs.restype = c_int
3456XDrawArcs.argtypes = [POINTER(Display), Drawable, GC, POINTER(XArc), c_int]
3457
3458# /usr/include/X11/Xlib.h:2332
3459XDrawImageString = _lib.XDrawImageString
3460XDrawImageString.restype = c_int
3461XDrawImageString.argtypes = [POINTER(Display), Drawable, GC, c_int, c_int, c_char_p, c_int]
3462
3463# /usr/include/X11/Xlib.h:2342
3464XDrawImageString16 = _lib.XDrawImageString16
3465XDrawImageString16.restype = c_int
3466XDrawImageString16.argtypes = [POINTER(Display), Drawable, GC, c_int, c_int, POINTER(XChar2b), c_int]
3467
3468# /usr/include/X11/Xlib.h:2352
3469XDrawLine = _lib.XDrawLine
3470XDrawLine.restype = c_int
3471XDrawLine.argtypes = [POINTER(Display), Drawable, GC, c_int, c_int, c_int, c_int]
3472
3473# /usr/include/X11/Xlib.h:2362
3474XDrawLines = _lib.XDrawLines
3475XDrawLines.restype = c_int
3476XDrawLines.argtypes = [POINTER(Display), Drawable, GC, POINTER(XPoint), c_int, c_int]
3477
3478# /usr/include/X11/Xlib.h:2371
3479XDrawPoint = _lib.XDrawPoint
3480XDrawPoint.restype = c_int
3481XDrawPoint.argtypes = [POINTER(Display), Drawable, GC, c_int, c_int]
3482
3483# /usr/include/X11/Xlib.h:2379
3484XDrawPoints = _lib.XDrawPoints
3485XDrawPoints.restype = c_int
3486XDrawPoints.argtypes = [POINTER(Display), Drawable, GC, POINTER(XPoint), c_int, c_int]
3487
3488# /usr/include/X11/Xlib.h:2388
3489XDrawRectangle = _lib.XDrawRectangle
3490XDrawRectangle.restype = c_int
3491XDrawRectangle.argtypes = [POINTER(Display), Drawable, GC, c_int, c_int, c_uint, c_uint]
3492
3493# /usr/include/X11/Xlib.h:2398
3494XDrawRectangles = _lib.XDrawRectangles
3495XDrawRectangles.restype = c_int
3496XDrawRectangles.argtypes = [POINTER(Display), Drawable, GC, POINTER(XRectangle), c_int]
3497
3498# /usr/include/X11/Xlib.h:2406
3499XDrawSegments = _lib.XDrawSegments
3500XDrawSegments.restype = c_int
3501XDrawSegments.argtypes = [POINTER(Display), Drawable, GC, POINTER(XSegment), c_int]
3502
3503# /usr/include/X11/Xlib.h:2414
3504XDrawString = _lib.XDrawString
3505XDrawString.restype = c_int
3506XDrawString.argtypes = [POINTER(Display), Drawable, GC, c_int, c_int, c_char_p, c_int]
3507
3508# /usr/include/X11/Xlib.h:2424
3509XDrawString16 = _lib.XDrawString16
3510XDrawString16.restype = c_int
3511XDrawString16.argtypes = [POINTER(Display), Drawable, GC, c_int, c_int, POINTER(XChar2b), c_int]
3512
3513# /usr/include/X11/Xlib.h:2434
3514XDrawText = _lib.XDrawText
3515XDrawText.restype = c_int
3516XDrawText.argtypes = [POINTER(Display), Drawable, GC, c_int, c_int, POINTER(XTextItem), c_int]
3517
3518# /usr/include/X11/Xlib.h:2444
3519XDrawText16 = _lib.XDrawText16
3520XDrawText16.restype = c_int
3521XDrawText16.argtypes = [POINTER(Display), Drawable, GC, c_int, c_int, POINTER(XTextItem16), c_int]
3522
3523# /usr/include/X11/Xlib.h:2454
3524XEnableAccessControl = _lib.XEnableAccessControl
3525XEnableAccessControl.restype = c_int
3526XEnableAccessControl.argtypes = [POINTER(Display)]
3527
3528# /usr/include/X11/Xlib.h:2458
3529XEventsQueued = _lib.XEventsQueued
3530XEventsQueued.restype = c_int
3531XEventsQueued.argtypes = [POINTER(Display), c_int]
3532
3533# /usr/include/X11/Xlib.h:2463
3534XFetchName = _lib.XFetchName
3535XFetchName.restype = c_int
3536XFetchName.argtypes = [POINTER(Display), Window, POINTER(c_char_p)]
3537
3538# /usr/include/X11/Xlib.h:2469
3539XFillArc = _lib.XFillArc
3540XFillArc.restype = c_int
3541XFillArc.argtypes = [POINTER(Display), Drawable, GC, c_int, c_int, c_uint, c_uint, c_int, c_int]
3542
3543# /usr/include/X11/Xlib.h:2481
3544XFillArcs = _lib.XFillArcs
3545XFillArcs.restype = c_int
3546XFillArcs.argtypes = [POINTER(Display), Drawable, GC, POINTER(XArc), c_int]
3547
3548# /usr/include/X11/Xlib.h:2489
3549XFillPolygon = _lib.XFillPolygon
3550XFillPolygon.restype = c_int
3551XFillPolygon.argtypes = [POINTER(Display), Drawable, GC, POINTER(XPoint), c_int, c_int, c_int]
3552
3553# /usr/include/X11/Xlib.h:2499
3554XFillRectangle = _lib.XFillRectangle
3555XFillRectangle.restype = c_int
3556XFillRectangle.argtypes = [POINTER(Display), Drawable, GC, c_int, c_int, c_uint, c_uint]
3557
3558# /usr/include/X11/Xlib.h:2509
3559XFillRectangles = _lib.XFillRectangles
3560XFillRectangles.restype = c_int
3561XFillRectangles.argtypes = [POINTER(Display), Drawable, GC, POINTER(XRectangle), c_int]
3562
3563# /usr/include/X11/Xlib.h:2517
3564XFlush = _lib.XFlush
3565XFlush.restype = c_int
3566XFlush.argtypes = [POINTER(Display)]
3567
3568# /usr/include/X11/Xlib.h:2521
3569XForceScreenSaver = _lib.XForceScreenSaver
3570XForceScreenSaver.restype = c_int
3571XForceScreenSaver.argtypes = [POINTER(Display), c_int]
3572
3573# /usr/include/X11/Xlib.h:2526
3574XFree = _lib.XFree
3575XFree.restype = c_int
3576XFree.argtypes = [POINTER(None)]
3577
3578# /usr/include/X11/Xlib.h:2530
3579XFreeColormap = _lib.XFreeColormap
3580XFreeColormap.restype = c_int
3581XFreeColormap.argtypes = [POINTER(Display), Colormap]
3582
3583# /usr/include/X11/Xlib.h:2535
3584XFreeColors = _lib.XFreeColors
3585XFreeColors.restype = c_int
3586XFreeColors.argtypes = [POINTER(Display), Colormap, POINTER(c_ulong), c_int, c_ulong]
3587
3588# /usr/include/X11/Xlib.h:2543
3589XFreeCursor = _lib.XFreeCursor
3590XFreeCursor.restype = c_int
3591XFreeCursor.argtypes = [POINTER(Display), Cursor]
3592
3593# /usr/include/X11/Xlib.h:2548
3594XFreeExtensionList = _lib.XFreeExtensionList
3595XFreeExtensionList.restype = c_int
3596XFreeExtensionList.argtypes = [POINTER(c_char_p)]
3597
3598# /usr/include/X11/Xlib.h:2552
3599XFreeFont = _lib.XFreeFont
3600XFreeFont.restype = c_int
3601XFreeFont.argtypes = [POINTER(Display), POINTER(XFontStruct)]
3602
3603# /usr/include/X11/Xlib.h:2557
3604XFreeFontInfo = _lib.XFreeFontInfo
3605XFreeFontInfo.restype = c_int
3606XFreeFontInfo.argtypes = [POINTER(c_char_p), POINTER(XFontStruct), c_int]
3607
3608# /usr/include/X11/Xlib.h:2563
3609XFreeFontNames = _lib.XFreeFontNames
3610XFreeFontNames.restype = c_int
3611XFreeFontNames.argtypes = [POINTER(c_char_p)]
3612
3613# /usr/include/X11/Xlib.h:2567
3614XFreeFontPath = _lib.XFreeFontPath
3615XFreeFontPath.restype = c_int
3616XFreeFontPath.argtypes = [POINTER(c_char_p)]
3617
3618# /usr/include/X11/Xlib.h:2571
3619XFreeGC = _lib.XFreeGC
3620XFreeGC.restype = c_int
3621XFreeGC.argtypes = [POINTER(Display), GC]
3622
3623# /usr/include/X11/Xlib.h:2576
3624XFreeModifiermap = _lib.XFreeModifiermap
3625XFreeModifiermap.restype = c_int
3626XFreeModifiermap.argtypes = [POINTER(XModifierKeymap)]
3627
3628# /usr/include/X11/Xlib.h:2580
3629XFreePixmap = _lib.XFreePixmap
3630XFreePixmap.restype = c_int
3631XFreePixmap.argtypes = [POINTER(Display), Pixmap]
3632
3633# /usr/include/X11/Xlib.h:2585
3634XGeometry = _lib.XGeometry
3635XGeometry.restype = c_int
3636XGeometry.argtypes = [POINTER(Display), c_int, c_char_p, c_char_p, c_uint, c_uint, c_uint, c_int, c_int, POINTER(c_int), POINTER(c_int), POINTER(c_int), POINTER(c_int)]
3637
3638# /usr/include/X11/Xlib.h:2601
3639XGetErrorDatabaseText = _lib.XGetErrorDatabaseText
3640XGetErrorDatabaseText.restype = c_int
3641XGetErrorDatabaseText.argtypes = [POINTER(Display), c_char_p, c_char_p, c_char_p, c_char_p, c_int]
3642
3643# /usr/include/X11/Xlib.h:2610
3644XGetErrorText = _lib.XGetErrorText
3645XGetErrorText.restype = c_int
3646XGetErrorText.argtypes = [POINTER(Display), c_int, c_char_p, c_int]
3647
3648# /usr/include/X11/Xlib.h:2617
3649XGetFontProperty = _lib.XGetFontProperty
3650XGetFontProperty.restype = c_int
3651XGetFontProperty.argtypes = [POINTER(XFontStruct), Atom, POINTER(c_ulong)]
3652
3653# /usr/include/X11/Xlib.h:2623
3654XGetGCValues = _lib.XGetGCValues
3655XGetGCValues.restype = c_int
3656XGetGCValues.argtypes = [POINTER(Display), GC, c_ulong, POINTER(XGCValues)]
3657
3658# /usr/include/X11/Xlib.h:2630
3659XGetGeometry = _lib.XGetGeometry
3660XGetGeometry.restype = c_int
3661XGetGeometry.argtypes = [POINTER(Display), Drawable, POINTER(Window), POINTER(c_int), POINTER(c_int), POINTER(c_uint), POINTER(c_uint), POINTER(c_uint), POINTER(c_uint)]
3662
3663# /usr/include/X11/Xlib.h:2642
3664XGetIconName = _lib.XGetIconName
3665XGetIconName.restype = c_int
3666XGetIconName.argtypes = [POINTER(Display), Window, POINTER(c_char_p)]
3667
3668# /usr/include/X11/Xlib.h:2648
3669XGetInputFocus = _lib.XGetInputFocus
3670XGetInputFocus.restype = c_int
3671XGetInputFocus.argtypes = [POINTER(Display), POINTER(Window), POINTER(c_int)]
3672
3673# /usr/include/X11/Xlib.h:2654
3674XGetKeyboardControl = _lib.XGetKeyboardControl
3675XGetKeyboardControl.restype = c_int
3676XGetKeyboardControl.argtypes = [POINTER(Display), POINTER(XKeyboardState)]
3677
3678# /usr/include/X11/Xlib.h:2659
3679XGetPointerControl = _lib.XGetPointerControl
3680XGetPointerControl.restype = c_int
3681XGetPointerControl.argtypes = [POINTER(Display), POINTER(c_int), POINTER(c_int), POINTER(c_int)]
3682
3683# /usr/include/X11/Xlib.h:2666
3684XGetPointerMapping = _lib.XGetPointerMapping
3685XGetPointerMapping.restype = c_int
3686XGetPointerMapping.argtypes = [POINTER(Display), POINTER(c_ubyte), c_int]
3687
3688# /usr/include/X11/Xlib.h:2672
3689XGetScreenSaver = _lib.XGetScreenSaver
3690XGetScreenSaver.restype = c_int
3691XGetScreenSaver.argtypes = [POINTER(Display), POINTER(c_int), POINTER(c_int), POINTER(c_int), POINTER(c_int)]
3692
3693# /usr/include/X11/Xlib.h:2680
3694XGetTransientForHint = _lib.XGetTransientForHint
3695XGetTransientForHint.restype = c_int
3696XGetTransientForHint.argtypes = [POINTER(Display), Window, POINTER(Window)]
3697
3698# /usr/include/X11/Xlib.h:2686
3699XGetWindowProperty = _lib.XGetWindowProperty
3700XGetWindowProperty.restype = c_int
3701XGetWindowProperty.argtypes = [POINTER(Display), Window, Atom, c_long, c_long, c_int, Atom, POINTER(Atom), POINTER(c_int), POINTER(c_ulong), POINTER(c_ulong), POINTER(POINTER(c_ubyte))]
3702
3703# /usr/include/X11/Xlib.h:2701
3704XGetWindowAttributes = _lib.XGetWindowAttributes
3705XGetWindowAttributes.restype = c_int
3706XGetWindowAttributes.argtypes = [POINTER(Display), Window, POINTER(XWindowAttributes)]
3707
3708# /usr/include/X11/Xlib.h:2707
3709XGrabButton = _lib.XGrabButton
3710XGrabButton.restype = c_int
3711XGrabButton.argtypes = [POINTER(Display), c_uint, c_uint, Window, c_int, c_uint, c_int, c_int, Window, Cursor]
3712
3713# /usr/include/X11/Xlib.h:2720
3714XGrabKey = _lib.XGrabKey
3715XGrabKey.restype = c_int
3716XGrabKey.argtypes = [POINTER(Display), c_int, c_uint, Window, c_int, c_int, c_int]
3717
3718# /usr/include/X11/Xlib.h:2730
3719XGrabKeyboard = _lib.XGrabKeyboard
3720XGrabKeyboard.restype = c_int
3721XGrabKeyboard.argtypes = [POINTER(Display), Window, c_int, c_int, c_int, Time]
3722
3723# /usr/include/X11/Xlib.h:2739
3724XGrabPointer = _lib.XGrabPointer
3725XGrabPointer.restype = c_int
3726XGrabPointer.argtypes = [POINTER(Display), Window, c_int, c_uint, c_int, c_int, Window, Cursor, Time]
3727
3728# /usr/include/X11/Xlib.h:2751
3729XGrabServer = _lib.XGrabServer
3730XGrabServer.restype = c_int
3731XGrabServer.argtypes = [POINTER(Display)]
3732
3733# /usr/include/X11/Xlib.h:2755
3734XHeightMMOfScreen = _lib.XHeightMMOfScreen
3735XHeightMMOfScreen.restype = c_int
3736XHeightMMOfScreen.argtypes = [POINTER(Screen)]
3737
3738# /usr/include/X11/Xlib.h:2759
3739XHeightOfScreen = _lib.XHeightOfScreen
3740XHeightOfScreen.restype = c_int
3741XHeightOfScreen.argtypes = [POINTER(Screen)]
3742
3743# /usr/include/X11/Xlib.h:2763
3744XIfEvent = _lib.XIfEvent
3745XIfEvent.restype = c_int
3746XIfEvent.argtypes = [POINTER(Display), POINTER(XEvent), CFUNCTYPE(c_int, POINTER(Display), POINTER(XEvent), XPointer), XPointer]
3747
3748# /usr/include/X11/Xlib.h:2774
3749XImageByteOrder = _lib.XImageByteOrder
3750XImageByteOrder.restype = c_int
3751XImageByteOrder.argtypes = [POINTER(Display)]
3752
3753# /usr/include/X11/Xlib.h:2778
3754XInstallColormap = _lib.XInstallColormap
3755XInstallColormap.restype = c_int
3756XInstallColormap.argtypes = [POINTER(Display), Colormap]
3757
3758# /usr/include/X11/Xlib.h:2783
3759XKeysymToKeycode = _lib.XKeysymToKeycode
3760XKeysymToKeycode.restype = KeyCode
3761XKeysymToKeycode.argtypes = [POINTER(Display), KeySym]
3762
3763# /usr/include/X11/Xlib.h:2788
3764XKillClient = _lib.XKillClient
3765XKillClient.restype = c_int
3766XKillClient.argtypes = [POINTER(Display), XID]
3767
3768# /usr/include/X11/Xlib.h:2793
3769XLookupColor = _lib.XLookupColor
3770XLookupColor.restype = c_int
3771XLookupColor.argtypes = [POINTER(Display), Colormap, c_char_p, POINTER(XColor), POINTER(XColor)]
3772
3773# /usr/include/X11/Xlib.h:2801
3774XLowerWindow = _lib.XLowerWindow
3775XLowerWindow.restype = c_int
3776XLowerWindow.argtypes = [POINTER(Display), Window]
3777
3778# /usr/include/X11/Xlib.h:2806
3779XMapRaised = _lib.XMapRaised
3780XMapRaised.restype = c_int
3781XMapRaised.argtypes = [POINTER(Display), Window]
3782
3783# /usr/include/X11/Xlib.h:2811
3784XMapSubwindows = _lib.XMapSubwindows
3785XMapSubwindows.restype = c_int
3786XMapSubwindows.argtypes = [POINTER(Display), Window]
3787
3788# /usr/include/X11/Xlib.h:2816
3789XMapWindow = _lib.XMapWindow
3790XMapWindow.restype = c_int
3791XMapWindow.argtypes = [POINTER(Display), Window]
3792
3793# /usr/include/X11/Xlib.h:2821
3794XMaskEvent = _lib.XMaskEvent
3795XMaskEvent.restype = c_int
3796XMaskEvent.argtypes = [POINTER(Display), c_long, POINTER(XEvent)]
3797
3798# /usr/include/X11/Xlib.h:2827
3799XMaxCmapsOfScreen = _lib.XMaxCmapsOfScreen
3800XMaxCmapsOfScreen.restype = c_int
3801XMaxCmapsOfScreen.argtypes = [POINTER(Screen)]
3802
3803# /usr/include/X11/Xlib.h:2831
3804XMinCmapsOfScreen = _lib.XMinCmapsOfScreen
3805XMinCmapsOfScreen.restype = c_int
3806XMinCmapsOfScreen.argtypes = [POINTER(Screen)]
3807
3808# /usr/include/X11/Xlib.h:2835
3809XMoveResizeWindow = _lib.XMoveResizeWindow
3810XMoveResizeWindow.restype = c_int
3811XMoveResizeWindow.argtypes = [POINTER(Display), Window, c_int, c_int, c_uint, c_uint]
3812
3813# /usr/include/X11/Xlib.h:2844
3814XMoveWindow = _lib.XMoveWindow
3815XMoveWindow.restype = c_int
3816XMoveWindow.argtypes = [POINTER(Display), Window, c_int, c_int]
3817
3818# /usr/include/X11/Xlib.h:2851
3819XNextEvent = _lib.XNextEvent
3820XNextEvent.restype = c_int
3821XNextEvent.argtypes = [POINTER(Display), POINTER(XEvent)]
3822
3823# /usr/include/X11/Xlib.h:2856
3824XNoOp = _lib.XNoOp
3825XNoOp.restype = c_int
3826XNoOp.argtypes = [POINTER(Display)]
3827
3828# /usr/include/X11/Xlib.h:2860
3829XParseColor = _lib.XParseColor
3830XParseColor.restype = c_int
3831XParseColor.argtypes = [POINTER(Display), Colormap, c_char_p, POINTER(XColor)]
3832
3833# /usr/include/X11/Xlib.h:2867
3834XParseGeometry = _lib.XParseGeometry
3835XParseGeometry.restype = c_int
3836XParseGeometry.argtypes = [c_char_p, POINTER(c_int), POINTER(c_int), POINTER(c_uint), POINTER(c_uint)]
3837
3838# /usr/include/X11/Xlib.h:2875
3839XPeekEvent = _lib.XPeekEvent
3840XPeekEvent.restype = c_int
3841XPeekEvent.argtypes = [POINTER(Display), POINTER(XEvent)]
3842
3843# /usr/include/X11/Xlib.h:2880
3844XPeekIfEvent = _lib.XPeekIfEvent
3845XPeekIfEvent.restype = c_int
3846XPeekIfEvent.argtypes = [POINTER(Display), POINTER(XEvent), CFUNCTYPE(c_int, POINTER(Display), POINTER(XEvent), XPointer), XPointer]
3847
3848# /usr/include/X11/Xlib.h:2891
3849XPending = _lib.XPending
3850XPending.restype = c_int
3851XPending.argtypes = [POINTER(Display)]
3852
3853# /usr/include/X11/Xlib.h:2895
3854XPlanesOfScreen = _lib.XPlanesOfScreen
3855XPlanesOfScreen.restype = c_int
3856XPlanesOfScreen.argtypes = [POINTER(Screen)]
3857
3858# /usr/include/X11/Xlib.h:2899
3859XProtocolRevision = _lib.XProtocolRevision
3860XProtocolRevision.restype = c_int
3861XProtocolRevision.argtypes = [POINTER(Display)]
3862
3863# /usr/include/X11/Xlib.h:2903
3864XProtocolVersion = _lib.XProtocolVersion
3865XProtocolVersion.restype = c_int
3866XProtocolVersion.argtypes = [POINTER(Display)]
3867
3868# /usr/include/X11/Xlib.h:2908
3869XPutBackEvent = _lib.XPutBackEvent
3870XPutBackEvent.restype = c_int
3871XPutBackEvent.argtypes = [POINTER(Display), POINTER(XEvent)]
3872
3873# /usr/include/X11/Xlib.h:2913
3874XPutImage = _lib.XPutImage
3875XPutImage.restype = c_int
3876XPutImage.argtypes = [POINTER(Display), Drawable, GC, POINTER(XImage), c_int, c_int, c_int, c_int, c_uint, c_uint]
3877
3878# /usr/include/X11/Xlib.h:2926
3879XQLength = _lib.XQLength
3880XQLength.restype = c_int
3881XQLength.argtypes = [POINTER(Display)]
3882
3883# /usr/include/X11/Xlib.h:2930
3884XQueryBestCursor = _lib.XQueryBestCursor
3885XQueryBestCursor.restype = c_int
3886XQueryBestCursor.argtypes = [POINTER(Display), Drawable, c_uint, c_uint, POINTER(c_uint), POINTER(c_uint)]
3887
3888# /usr/include/X11/Xlib.h:2939
3889XQueryBestSize = _lib.XQueryBestSize
3890XQueryBestSize.restype = c_int
3891XQueryBestSize.argtypes = [POINTER(Display), c_int, Drawable, c_uint, c_uint, POINTER(c_uint), POINTER(c_uint)]
3892
3893# /usr/include/X11/Xlib.h:2949
3894XQueryBestStipple = _lib.XQueryBestStipple
3895XQueryBestStipple.restype = c_int
3896XQueryBestStipple.argtypes = [POINTER(Display), Drawable, c_uint, c_uint, POINTER(c_uint), POINTER(c_uint)]
3897
3898# /usr/include/X11/Xlib.h:2958
3899XQueryBestTile = _lib.XQueryBestTile
3900XQueryBestTile.restype = c_int
3901XQueryBestTile.argtypes = [POINTER(Display), Drawable, c_uint, c_uint, POINTER(c_uint), POINTER(c_uint)]
3902
3903# /usr/include/X11/Xlib.h:2967
3904XQueryColor = _lib.XQueryColor
3905XQueryColor.restype = c_int
3906XQueryColor.argtypes = [POINTER(Display), Colormap, POINTER(XColor)]
3907
3908# /usr/include/X11/Xlib.h:2973
3909XQueryColors = _lib.XQueryColors
3910XQueryColors.restype = c_int
3911XQueryColors.argtypes = [POINTER(Display), Colormap, POINTER(XColor), c_int]
3912
3913# /usr/include/X11/Xlib.h:2980
3914XQueryExtension = _lib.XQueryExtension
3915XQueryExtension.restype = c_int
3916XQueryExtension.argtypes = [POINTER(Display), c_char_p, POINTER(c_int), POINTER(c_int), POINTER(c_int)]
3917
3918# /usr/include/X11/Xlib.h:2988
3919XQueryKeymap = _lib.XQueryKeymap
3920XQueryKeymap.restype = c_int
3921XQueryKeymap.argtypes = [POINTER(Display), c_char * 32]
3922
3923# /usr/include/X11/Xlib.h:2993
3924XQueryPointer = _lib.XQueryPointer
3925XQueryPointer.restype = c_int
3926XQueryPointer.argtypes = [POINTER(Display), Window, POINTER(Window), POINTER(Window), POINTER(c_int), POINTER(c_int), POINTER(c_int), POINTER(c_int), POINTER(c_uint)]
3927
3928# /usr/include/X11/Xlib.h:3005
3929XQueryTextExtents = _lib.XQueryTextExtents
3930XQueryTextExtents.restype = c_int
3931XQueryTextExtents.argtypes = [POINTER(Display), XID, c_char_p, c_int, POINTER(c_int), POINTER(c_int), POINTER(c_int), POINTER(XCharStruct)]
3932
3933# /usr/include/X11/Xlib.h:3016
3934XQueryTextExtents16 = _lib.XQueryTextExtents16
3935XQueryTextExtents16.restype = c_int
3936XQueryTextExtents16.argtypes = [POINTER(Display), XID, POINTER(XChar2b), c_int, POINTER(c_int), POINTER(c_int), POINTER(c_int), POINTER(XCharStruct)]
3937
3938# /usr/include/X11/Xlib.h:3027
3939XQueryTree = _lib.XQueryTree
3940XQueryTree.restype = c_int
3941XQueryTree.argtypes = [POINTER(Display), Window, POINTER(Window), POINTER(Window), POINTER(POINTER(Window)), POINTER(c_uint)]
3942
3943# /usr/include/X11/Xlib.h:3036
3944XRaiseWindow = _lib.XRaiseWindow
3945XRaiseWindow.restype = c_int
3946XRaiseWindow.argtypes = [POINTER(Display), Window]
3947
3948# /usr/include/X11/Xlib.h:3041
3949XReadBitmapFile = _lib.XReadBitmapFile
3950XReadBitmapFile.restype = c_int
3951XReadBitmapFile.argtypes = [POINTER(Display), Drawable, c_char_p, POINTER(c_uint), POINTER(c_uint), POINTER(Pixmap), POINTER(c_int), POINTER(c_int)]
3952
3953# /usr/include/X11/Xlib.h:3052
3954XReadBitmapFileData = _lib.XReadBitmapFileData
3955XReadBitmapFileData.restype = c_int
3956XReadBitmapFileData.argtypes = [c_char_p, POINTER(c_uint), POINTER(c_uint), POINTER(POINTER(c_ubyte)), POINTER(c_int), POINTER(c_int)]
3957
3958# /usr/include/X11/Xlib.h:3061
3959XRebindKeysym = _lib.XRebindKeysym
3960XRebindKeysym.restype = c_int
3961XRebindKeysym.argtypes = [POINTER(Display), KeySym, POINTER(KeySym), c_int, POINTER(c_ubyte), c_int]
3962
3963# /usr/include/X11/Xlib.h:3070
3964XRecolorCursor = _lib.XRecolorCursor
3965XRecolorCursor.restype = c_int
3966XRecolorCursor.argtypes = [POINTER(Display), Cursor, POINTER(XColor), POINTER(XColor)]
3967
3968# /usr/include/X11/Xlib.h:3077
3969XRefreshKeyboardMapping = _lib.XRefreshKeyboardMapping
3970XRefreshKeyboardMapping.restype = c_int
3971XRefreshKeyboardMapping.argtypes = [POINTER(XMappingEvent)]
3972
3973# /usr/include/X11/Xlib.h:3081
3974XRemoveFromSaveSet = _lib.XRemoveFromSaveSet
3975XRemoveFromSaveSet.restype = c_int
3976XRemoveFromSaveSet.argtypes = [POINTER(Display), Window]
3977
3978# /usr/include/X11/Xlib.h:3086
3979XRemoveHost = _lib.XRemoveHost
3980XRemoveHost.restype = c_int
3981XRemoveHost.argtypes = [POINTER(Display), POINTER(XHostAddress)]
3982
3983# /usr/include/X11/Xlib.h:3091
3984XRemoveHosts = _lib.XRemoveHosts
3985XRemoveHosts.restype = c_int
3986XRemoveHosts.argtypes = [POINTER(Display), POINTER(XHostAddress), c_int]
3987
3988# /usr/include/X11/Xlib.h:3097
3989XReparentWindow = _lib.XReparentWindow
3990XReparentWindow.restype = c_int
3991XReparentWindow.argtypes = [POINTER(Display), Window, Window, c_int, c_int]
3992
3993# /usr/include/X11/Xlib.h:3105
3994XResetScreenSaver = _lib.XResetScreenSaver
3995XResetScreenSaver.restype = c_int
3996XResetScreenSaver.argtypes = [POINTER(Display)]
3997
3998# /usr/include/X11/Xlib.h:3109
3999XResizeWindow = _lib.XResizeWindow
4000XResizeWindow.restype = c_int
4001XResizeWindow.argtypes = [POINTER(Display), Window, c_uint, c_uint]
4002
4003# /usr/include/X11/Xlib.h:3116
4004XRestackWindows = _lib.XRestackWindows
4005XRestackWindows.restype = c_int
4006XRestackWindows.argtypes = [POINTER(Display), POINTER(Window), c_int]
4007
4008# /usr/include/X11/Xlib.h:3122
4009XRotateBuffers = _lib.XRotateBuffers
4010XRotateBuffers.restype = c_int
4011XRotateBuffers.argtypes = [POINTER(Display), c_int]
4012
4013# /usr/include/X11/Xlib.h:3127
4014XRotateWindowProperties = _lib.XRotateWindowProperties
4015XRotateWindowProperties.restype = c_int
4016XRotateWindowProperties.argtypes = [POINTER(Display), Window, POINTER(Atom), c_int, c_int]
4017
4018# /usr/include/X11/Xlib.h:3135
4019XScreenCount = _lib.XScreenCount
4020XScreenCount.restype = c_int
4021XScreenCount.argtypes = [POINTER(Display)]
4022
4023# /usr/include/X11/Xlib.h:3139
4024XSelectInput = _lib.XSelectInput
4025XSelectInput.restype = c_int
4026XSelectInput.argtypes = [POINTER(Display), Window, c_long]
4027
4028# /usr/include/X11/Xlib.h:3145
4029XSendEvent = _lib.XSendEvent
4030XSendEvent.restype = c_int
4031XSendEvent.argtypes = [POINTER(Display), Window, c_int, c_long, POINTER(XEvent)]
4032
4033# /usr/include/X11/Xlib.h:3153
4034XSetAccessControl = _lib.XSetAccessControl
4035XSetAccessControl.restype = c_int
4036XSetAccessControl.argtypes = [POINTER(Display), c_int]
4037
4038# /usr/include/X11/Xlib.h:3158
4039XSetArcMode = _lib.XSetArcMode
4040XSetArcMode.restype = c_int
4041XSetArcMode.argtypes = [POINTER(Display), GC, c_int]
4042
4043# /usr/include/X11/Xlib.h:3164
4044XSetBackground = _lib.XSetBackground
4045XSetBackground.restype = c_int
4046XSetBackground.argtypes = [POINTER(Display), GC, c_ulong]
4047
4048# /usr/include/X11/Xlib.h:3170
4049XSetClipMask = _lib.XSetClipMask
4050XSetClipMask.restype = c_int
4051XSetClipMask.argtypes = [POINTER(Display), GC, Pixmap]
4052
4053# /usr/include/X11/Xlib.h:3176
4054XSetClipOrigin = _lib.XSetClipOrigin
4055XSetClipOrigin.restype = c_int
4056XSetClipOrigin.argtypes = [POINTER(Display), GC, c_int, c_int]
4057
4058# /usr/include/X11/Xlib.h:3183
4059XSetClipRectangles = _lib.XSetClipRectangles
4060XSetClipRectangles.restype = c_int
4061XSetClipRectangles.argtypes = [POINTER(Display), GC, c_int, c_int, POINTER(XRectangle), c_int, c_int]
4062
4063# /usr/include/X11/Xlib.h:3193
4064XSetCloseDownMode = _lib.XSetCloseDownMode
4065XSetCloseDownMode.restype = c_int
4066XSetCloseDownMode.argtypes = [POINTER(Display), c_int]
4067
4068# /usr/include/X11/Xlib.h:3198
4069XSetCommand = _lib.XSetCommand
4070XSetCommand.restype = c_int
4071XSetCommand.argtypes = [POINTER(Display), Window, POINTER(c_char_p), c_int]
4072
4073# /usr/include/X11/Xlib.h:3205
4074XSetDashes = _lib.XSetDashes
4075XSetDashes.restype = c_int
4076XSetDashes.argtypes = [POINTER(Display), GC, c_int, c_char_p, c_int]
4077
4078# /usr/include/X11/Xlib.h:3213
4079XSetFillRule = _lib.XSetFillRule
4080XSetFillRule.restype = c_int
4081XSetFillRule.argtypes = [POINTER(Display), GC, c_int]
4082
4083# /usr/include/X11/Xlib.h:3219
4084XSetFillStyle = _lib.XSetFillStyle
4085XSetFillStyle.restype = c_int
4086XSetFillStyle.argtypes = [POINTER(Display), GC, c_int]
4087
4088# /usr/include/X11/Xlib.h:3225
4089XSetFont = _lib.XSetFont
4090XSetFont.restype = c_int
4091XSetFont.argtypes = [POINTER(Display), GC, Font]
4092
4093# /usr/include/X11/Xlib.h:3231
4094XSetFontPath = _lib.XSetFontPath
4095XSetFontPath.restype = c_int
4096XSetFontPath.argtypes = [POINTER(Display), POINTER(c_char_p), c_int]
4097
4098# /usr/include/X11/Xlib.h:3237
4099XSetForeground = _lib.XSetForeground
4100XSetForeground.restype = c_int
4101XSetForeground.argtypes = [POINTER(Display), GC, c_ulong]
4102
4103# /usr/include/X11/Xlib.h:3243
4104XSetFunction = _lib.XSetFunction
4105XSetFunction.restype = c_int
4106XSetFunction.argtypes = [POINTER(Display), GC, c_int]
4107
4108# /usr/include/X11/Xlib.h:3249
4109XSetGraphicsExposures = _lib.XSetGraphicsExposures
4110XSetGraphicsExposures.restype = c_int
4111XSetGraphicsExposures.argtypes = [POINTER(Display), GC, c_int]
4112
4113# /usr/include/X11/Xlib.h:3255
4114XSetIconName = _lib.XSetIconName
4115XSetIconName.restype = c_int
4116XSetIconName.argtypes = [POINTER(Display), Window, c_char_p]
4117
4118# /usr/include/X11/Xlib.h:3261
4119XSetInputFocus = _lib.XSetInputFocus
4120XSetInputFocus.restype = c_int
4121XSetInputFocus.argtypes = [POINTER(Display), Window, c_int, Time]
4122
4123# /usr/include/X11/Xlib.h:3268
4124XSetLineAttributes = _lib.XSetLineAttributes
4125XSetLineAttributes.restype = c_int
4126XSetLineAttributes.argtypes = [POINTER(Display), GC, c_uint, c_int, c_int, c_int]
4127
4128# /usr/include/X11/Xlib.h:3277
4129XSetModifierMapping = _lib.XSetModifierMapping
4130XSetModifierMapping.restype = c_int
4131XSetModifierMapping.argtypes = [POINTER(Display), POINTER(XModifierKeymap)]
4132
4133# /usr/include/X11/Xlib.h:3282
4134XSetPlaneMask = _lib.XSetPlaneMask
4135XSetPlaneMask.restype = c_int
4136XSetPlaneMask.argtypes = [POINTER(Display), GC, c_ulong]
4137
4138# /usr/include/X11/Xlib.h:3288
4139XSetPointerMapping = _lib.XSetPointerMapping
4140XSetPointerMapping.restype = c_int
4141XSetPointerMapping.argtypes = [POINTER(Display), POINTER(c_ubyte), c_int]
4142
4143# /usr/include/X11/Xlib.h:3294
4144XSetScreenSaver = _lib.XSetScreenSaver
4145XSetScreenSaver.restype = c_int
4146XSetScreenSaver.argtypes = [POINTER(Display), c_int, c_int, c_int, c_int]
4147
4148# /usr/include/X11/Xlib.h:3302
4149XSetSelectionOwner = _lib.XSetSelectionOwner
4150XSetSelectionOwner.restype = c_int
4151XSetSelectionOwner.argtypes = [POINTER(Display), Atom, Window, Time]
4152
4153# /usr/include/X11/Xlib.h:3309
4154XSetState = _lib.XSetState
4155XSetState.restype = c_int
4156XSetState.argtypes = [POINTER(Display), GC, c_ulong, c_ulong, c_int, c_ulong]
4157
4158# /usr/include/X11/Xlib.h:3318
4159XSetStipple = _lib.XSetStipple
4160XSetStipple.restype = c_int
4161XSetStipple.argtypes = [POINTER(Display), GC, Pixmap]
4162
4163# /usr/include/X11/Xlib.h:3324
4164XSetSubwindowMode = _lib.XSetSubwindowMode
4165XSetSubwindowMode.restype = c_int
4166XSetSubwindowMode.argtypes = [POINTER(Display), GC, c_int]
4167
4168# /usr/include/X11/Xlib.h:3330
4169XSetTSOrigin = _lib.XSetTSOrigin
4170XSetTSOrigin.restype = c_int
4171XSetTSOrigin.argtypes = [POINTER(Display), GC, c_int, c_int]
4172
4173# /usr/include/X11/Xlib.h:3337
4174XSetTile = _lib.XSetTile
4175XSetTile.restype = c_int
4176XSetTile.argtypes = [POINTER(Display), GC, Pixmap]
4177
4178# /usr/include/X11/Xlib.h:3343
4179XSetWindowBackground = _lib.XSetWindowBackground
4180XSetWindowBackground.restype = c_int
4181XSetWindowBackground.argtypes = [POINTER(Display), Window, c_ulong]
4182
4183# /usr/include/X11/Xlib.h:3349
4184XSetWindowBackgroundPixmap = _lib.XSetWindowBackgroundPixmap
4185XSetWindowBackgroundPixmap.restype = c_int
4186XSetWindowBackgroundPixmap.argtypes = [POINTER(Display), Window, Pixmap]
4187
4188# /usr/include/X11/Xlib.h:3355
4189XSetWindowBorder = _lib.XSetWindowBorder
4190XSetWindowBorder.restype = c_int
4191XSetWindowBorder.argtypes = [POINTER(Display), Window, c_ulong]
4192
4193# /usr/include/X11/Xlib.h:3361
4194XSetWindowBorderPixmap = _lib.XSetWindowBorderPixmap
4195XSetWindowBorderPixmap.restype = c_int
4196XSetWindowBorderPixmap.argtypes = [POINTER(Display), Window, Pixmap]
4197
4198# /usr/include/X11/Xlib.h:3367
4199XSetWindowBorderWidth = _lib.XSetWindowBorderWidth
4200XSetWindowBorderWidth.restype = c_int
4201XSetWindowBorderWidth.argtypes = [POINTER(Display), Window, c_uint]
4202
4203# /usr/include/X11/Xlib.h:3373
4204XSetWindowColormap = _lib.XSetWindowColormap
4205XSetWindowColormap.restype = c_int
4206XSetWindowColormap.argtypes = [POINTER(Display), Window, Colormap]
4207
4208# /usr/include/X11/Xlib.h:3379
4209XStoreBuffer = _lib.XStoreBuffer
4210XStoreBuffer.restype = c_int
4211XStoreBuffer.argtypes = [POINTER(Display), c_char_p, c_int, c_int]
4212
4213# /usr/include/X11/Xlib.h:3386
4214XStoreBytes = _lib.XStoreBytes
4215XStoreBytes.restype = c_int
4216XStoreBytes.argtypes = [POINTER(Display), c_char_p, c_int]
4217
4218# /usr/include/X11/Xlib.h:3392
4219XStoreColor = _lib.XStoreColor
4220XStoreColor.restype = c_int
4221XStoreColor.argtypes = [POINTER(Display), Colormap, POINTER(XColor)]
4222
4223# /usr/include/X11/Xlib.h:3398
4224XStoreColors = _lib.XStoreColors
4225XStoreColors.restype = c_int
4226XStoreColors.argtypes = [POINTER(Display), Colormap, POINTER(XColor), c_int]
4227
4228# /usr/include/X11/Xlib.h:3405
4229XStoreName = _lib.XStoreName
4230XStoreName.restype = c_int
4231XStoreName.argtypes = [POINTER(Display), Window, c_char_p]
4232
4233# /usr/include/X11/Xlib.h:3411
4234XStoreNamedColor = _lib.XStoreNamedColor
4235XStoreNamedColor.restype = c_int
4236XStoreNamedColor.argtypes = [POINTER(Display), Colormap, c_char_p, c_ulong, c_int]
4237
4238# /usr/include/X11/Xlib.h:3419
4239XSync = _lib.XSync
4240XSync.restype = c_int
4241XSync.argtypes = [POINTER(Display), c_int]
4242
4243# /usr/include/X11/Xlib.h:3424
4244XTextExtents = _lib.XTextExtents
4245XTextExtents.restype = c_int
4246XTextExtents.argtypes = [POINTER(XFontStruct), c_char_p, c_int, POINTER(c_int), POINTER(c_int), POINTER(c_int), POINTER(XCharStruct)]
4247
4248# /usr/include/X11/Xlib.h:3434
4249XTextExtents16 = _lib.XTextExtents16
4250XTextExtents16.restype = c_int
4251XTextExtents16.argtypes = [POINTER(XFontStruct), POINTER(XChar2b), c_int, POINTER(c_int), POINTER(c_int), POINTER(c_int), POINTER(XCharStruct)]
4252
4253# /usr/include/X11/Xlib.h:3444
4254XTextWidth = _lib.XTextWidth
4255XTextWidth.restype = c_int
4256XTextWidth.argtypes = [POINTER(XFontStruct), c_char_p, c_int]
4257
4258# /usr/include/X11/Xlib.h:3450
4259XTextWidth16 = _lib.XTextWidth16
4260XTextWidth16.restype = c_int
4261XTextWidth16.argtypes = [POINTER(XFontStruct), POINTER(XChar2b), c_int]
4262
4263# /usr/include/X11/Xlib.h:3456
4264XTranslateCoordinates = _lib.XTranslateCoordinates
4265XTranslateCoordinates.restype = c_int
4266XTranslateCoordinates.argtypes = [POINTER(Display), Window, Window, c_int, c_int, POINTER(c_int), POINTER(c_int), POINTER(Window)]
4267
4268# /usr/include/X11/Xlib.h:3467
4269XUndefineCursor = _lib.XUndefineCursor
4270XUndefineCursor.restype = c_int
4271XUndefineCursor.argtypes = [POINTER(Display), Window]
4272
4273# /usr/include/X11/Xlib.h:3472
4274XUngrabButton = _lib.XUngrabButton
4275XUngrabButton.restype = c_int
4276XUngrabButton.argtypes = [POINTER(Display), c_uint, c_uint, Window]
4277
4278# /usr/include/X11/Xlib.h:3479
4279XUngrabKey = _lib.XUngrabKey
4280XUngrabKey.restype = c_int
4281XUngrabKey.argtypes = [POINTER(Display), c_int, c_uint, Window]
4282
4283# /usr/include/X11/Xlib.h:3486
4284XUngrabKeyboard = _lib.XUngrabKeyboard
4285XUngrabKeyboard.restype = c_int
4286XUngrabKeyboard.argtypes = [POINTER(Display), Time]
4287
4288# /usr/include/X11/Xlib.h:3491
4289XUngrabPointer = _lib.XUngrabPointer
4290XUngrabPointer.restype = c_int
4291XUngrabPointer.argtypes = [POINTER(Display), Time]
4292
4293# /usr/include/X11/Xlib.h:3496
4294XUngrabServer = _lib.XUngrabServer
4295XUngrabServer.restype = c_int
4296XUngrabServer.argtypes = [POINTER(Display)]
4297
4298# /usr/include/X11/Xlib.h:3500
4299XUninstallColormap = _lib.XUninstallColormap
4300XUninstallColormap.restype = c_int
4301XUninstallColormap.argtypes = [POINTER(Display), Colormap]
4302
4303# /usr/include/X11/Xlib.h:3505
4304XUnloadFont = _lib.XUnloadFont
4305XUnloadFont.restype = c_int
4306XUnloadFont.argtypes = [POINTER(Display), Font]
4307
4308# /usr/include/X11/Xlib.h:3510
4309XUnmapSubwindows = _lib.XUnmapSubwindows
4310XUnmapSubwindows.restype = c_int
4311XUnmapSubwindows.argtypes = [POINTER(Display), Window]
4312
4313# /usr/include/X11/Xlib.h:3515
4314XUnmapWindow = _lib.XUnmapWindow
4315XUnmapWindow.restype = c_int
4316XUnmapWindow.argtypes = [POINTER(Display), Window]
4317
4318# /usr/include/X11/Xlib.h:3520
4319XVendorRelease = _lib.XVendorRelease
4320XVendorRelease.restype = c_int
4321XVendorRelease.argtypes = [POINTER(Display)]
4322
4323# /usr/include/X11/Xlib.h:3524
4324XWarpPointer = _lib.XWarpPointer
4325XWarpPointer.restype = c_int
4326XWarpPointer.argtypes = [POINTER(Display), Window, Window, c_int, c_int, c_uint, c_uint, c_int, c_int]
4327
4328# /usr/include/X11/Xlib.h:3536
4329XWidthMMOfScreen = _lib.XWidthMMOfScreen
4330XWidthMMOfScreen.restype = c_int
4331XWidthMMOfScreen.argtypes = [POINTER(Screen)]
4332
4333# /usr/include/X11/Xlib.h:3540
4334XWidthOfScreen = _lib.XWidthOfScreen
4335XWidthOfScreen.restype = c_int
4336XWidthOfScreen.argtypes = [POINTER(Screen)]
4337
4338# /usr/include/X11/Xlib.h:3544
4339XWindowEvent = _lib.XWindowEvent
4340XWindowEvent.restype = c_int
4341XWindowEvent.argtypes = [POINTER(Display), Window, c_long, POINTER(XEvent)]
4342
4343# /usr/include/X11/Xlib.h:3551
4344XWriteBitmapFile = _lib.XWriteBitmapFile
4345XWriteBitmapFile.restype = c_int
4346XWriteBitmapFile.argtypes = [POINTER(Display), c_char_p, Pixmap, c_uint, c_uint, c_int, c_int]
4347
4348# /usr/include/X11/Xlib.h:3561
4349XSupportsLocale = _lib.XSupportsLocale
4350XSupportsLocale.restype = c_int
4351XSupportsLocale.argtypes = []
4352
4353# /usr/include/X11/Xlib.h:3563
4354XSetLocaleModifiers = _lib.XSetLocaleModifiers
4355XSetLocaleModifiers.restype = c_char_p
4356XSetLocaleModifiers.argtypes = [c_char_p]
4357
4358class struct__XrmHashBucketRec(Structure):
4359    __slots__ = [
4360    ]
4361struct__XrmHashBucketRec._fields_ = [
4362    ('_opaque_struct', c_int)
4363]
4364
4365# /usr/include/X11/Xlib.h:3567
4366XOpenOM = _lib.XOpenOM
4367XOpenOM.restype = XOM
4368XOpenOM.argtypes = [POINTER(Display), POINTER(struct__XrmHashBucketRec), c_char_p, c_char_p]
4369
4370# /usr/include/X11/Xlib.h:3574
4371XCloseOM = _lib.XCloseOM
4372XCloseOM.restype = c_int
4373XCloseOM.argtypes = [XOM]
4374
4375# /usr/include/X11/Xlib.h:3578
4376XSetOMValues = _lib.XSetOMValues
4377XSetOMValues.restype = c_char_p
4378XSetOMValues.argtypes = [XOM]
4379
4380# /usr/include/X11/Xlib.h:3583
4381XGetOMValues = _lib.XGetOMValues
4382XGetOMValues.restype = c_char_p
4383XGetOMValues.argtypes = [XOM]
4384
4385# /usr/include/X11/Xlib.h:3588
4386XDisplayOfOM = _lib.XDisplayOfOM
4387XDisplayOfOM.restype = POINTER(Display)
4388XDisplayOfOM.argtypes = [XOM]
4389
4390# /usr/include/X11/Xlib.h:3592
4391XLocaleOfOM = _lib.XLocaleOfOM
4392XLocaleOfOM.restype = c_char_p
4393XLocaleOfOM.argtypes = [XOM]
4394
4395# /usr/include/X11/Xlib.h:3596
4396XCreateOC = _lib.XCreateOC
4397XCreateOC.restype = XOC
4398XCreateOC.argtypes = [XOM]
4399
4400# /usr/include/X11/Xlib.h:3601
4401XDestroyOC = _lib.XDestroyOC
4402XDestroyOC.restype = None
4403XDestroyOC.argtypes = [XOC]
4404
4405# /usr/include/X11/Xlib.h:3605
4406XOMOfOC = _lib.XOMOfOC
4407XOMOfOC.restype = XOM
4408XOMOfOC.argtypes = [XOC]
4409
4410# /usr/include/X11/Xlib.h:3609
4411XSetOCValues = _lib.XSetOCValues
4412XSetOCValues.restype = c_char_p
4413XSetOCValues.argtypes = [XOC]
4414
4415# /usr/include/X11/Xlib.h:3614
4416XGetOCValues = _lib.XGetOCValues
4417XGetOCValues.restype = c_char_p
4418XGetOCValues.argtypes = [XOC]
4419
4420# /usr/include/X11/Xlib.h:3619
4421XCreateFontSet = _lib.XCreateFontSet
4422XCreateFontSet.restype = XFontSet
4423XCreateFontSet.argtypes = [POINTER(Display), c_char_p, POINTER(POINTER(c_char_p)), POINTER(c_int), POINTER(c_char_p)]
4424
4425# /usr/include/X11/Xlib.h:3627
4426XFreeFontSet = _lib.XFreeFontSet
4427XFreeFontSet.restype = None
4428XFreeFontSet.argtypes = [POINTER(Display), XFontSet]
4429
4430# /usr/include/X11/Xlib.h:3632
4431XFontsOfFontSet = _lib.XFontsOfFontSet
4432XFontsOfFontSet.restype = c_int
4433XFontsOfFontSet.argtypes = [XFontSet, POINTER(POINTER(POINTER(XFontStruct))), POINTER(POINTER(c_char_p))]
4434
4435# /usr/include/X11/Xlib.h:3638
4436XBaseFontNameListOfFontSet = _lib.XBaseFontNameListOfFontSet
4437XBaseFontNameListOfFontSet.restype = c_char_p
4438XBaseFontNameListOfFontSet.argtypes = [XFontSet]
4439
4440# /usr/include/X11/Xlib.h:3642
4441XLocaleOfFontSet = _lib.XLocaleOfFontSet
4442XLocaleOfFontSet.restype = c_char_p
4443XLocaleOfFontSet.argtypes = [XFontSet]
4444
4445# /usr/include/X11/Xlib.h:3646
4446XContextDependentDrawing = _lib.XContextDependentDrawing
4447XContextDependentDrawing.restype = c_int
4448XContextDependentDrawing.argtypes = [XFontSet]
4449
4450# /usr/include/X11/Xlib.h:3650
4451XDirectionalDependentDrawing = _lib.XDirectionalDependentDrawing
4452XDirectionalDependentDrawing.restype = c_int
4453XDirectionalDependentDrawing.argtypes = [XFontSet]
4454
4455# /usr/include/X11/Xlib.h:3654
4456XContextualDrawing = _lib.XContextualDrawing
4457XContextualDrawing.restype = c_int
4458XContextualDrawing.argtypes = [XFontSet]
4459
4460# /usr/include/X11/Xlib.h:3658
4461XExtentsOfFontSet = _lib.XExtentsOfFontSet
4462XExtentsOfFontSet.restype = POINTER(XFontSetExtents)
4463XExtentsOfFontSet.argtypes = [XFontSet]
4464
4465# /usr/include/X11/Xlib.h:3662
4466XmbTextEscapement = _lib.XmbTextEscapement
4467XmbTextEscapement.restype = c_int
4468XmbTextEscapement.argtypes = [XFontSet, c_char_p, c_int]
4469
4470# /usr/include/X11/Xlib.h:3668
4471XwcTextEscapement = _lib.XwcTextEscapement
4472XwcTextEscapement.restype = c_int
4473XwcTextEscapement.argtypes = [XFontSet, c_wchar_p, c_int]
4474
4475# /usr/include/X11/Xlib.h:3674
4476Xutf8TextEscapement = _lib.Xutf8TextEscapement
4477Xutf8TextEscapement.restype = c_int
4478Xutf8TextEscapement.argtypes = [XFontSet, c_char_p, c_int]
4479
4480# /usr/include/X11/Xlib.h:3680
4481XmbTextExtents = _lib.XmbTextExtents
4482XmbTextExtents.restype = c_int
4483XmbTextExtents.argtypes = [XFontSet, c_char_p, c_int, POINTER(XRectangle), POINTER(XRectangle)]
4484
4485# /usr/include/X11/Xlib.h:3688
4486XwcTextExtents = _lib.XwcTextExtents
4487XwcTextExtents.restype = c_int
4488XwcTextExtents.argtypes = [XFontSet, c_wchar_p, c_int, POINTER(XRectangle), POINTER(XRectangle)]
4489
4490# /usr/include/X11/Xlib.h:3696
4491Xutf8TextExtents = _lib.Xutf8TextExtents
4492Xutf8TextExtents.restype = c_int
4493Xutf8TextExtents.argtypes = [XFontSet, c_char_p, c_int, POINTER(XRectangle), POINTER(XRectangle)]
4494
4495# /usr/include/X11/Xlib.h:3704
4496XmbTextPerCharExtents = _lib.XmbTextPerCharExtents
4497XmbTextPerCharExtents.restype = c_int
4498XmbTextPerCharExtents.argtypes = [XFontSet, c_char_p, c_int, POINTER(XRectangle), POINTER(XRectangle), c_int, POINTER(c_int), POINTER(XRectangle), POINTER(XRectangle)]
4499
4500# /usr/include/X11/Xlib.h:3716
4501XwcTextPerCharExtents = _lib.XwcTextPerCharExtents
4502XwcTextPerCharExtents.restype = c_int
4503XwcTextPerCharExtents.argtypes = [XFontSet, c_wchar_p, c_int, POINTER(XRectangle), POINTER(XRectangle), c_int, POINTER(c_int), POINTER(XRectangle), POINTER(XRectangle)]
4504
4505# /usr/include/X11/Xlib.h:3728
4506Xutf8TextPerCharExtents = _lib.Xutf8TextPerCharExtents
4507Xutf8TextPerCharExtents.restype = c_int
4508Xutf8TextPerCharExtents.argtypes = [XFontSet, c_char_p, c_int, POINTER(XRectangle), POINTER(XRectangle), c_int, POINTER(c_int), POINTER(XRectangle), POINTER(XRectangle)]
4509
4510# /usr/include/X11/Xlib.h:3740
4511XmbDrawText = _lib.XmbDrawText
4512XmbDrawText.restype = None
4513XmbDrawText.argtypes = [POINTER(Display), Drawable, GC, c_int, c_int, POINTER(XmbTextItem), c_int]
4514
4515# /usr/include/X11/Xlib.h:3750
4516XwcDrawText = _lib.XwcDrawText
4517XwcDrawText.restype = None
4518XwcDrawText.argtypes = [POINTER(Display), Drawable, GC, c_int, c_int, POINTER(XwcTextItem), c_int]
4519
4520# /usr/include/X11/Xlib.h:3760
4521Xutf8DrawText = _lib.Xutf8DrawText
4522Xutf8DrawText.restype = None
4523Xutf8DrawText.argtypes = [POINTER(Display), Drawable, GC, c_int, c_int, POINTER(XmbTextItem), c_int]
4524
4525# /usr/include/X11/Xlib.h:3770
4526XmbDrawString = _lib.XmbDrawString
4527XmbDrawString.restype = None
4528XmbDrawString.argtypes = [POINTER(Display), Drawable, XFontSet, GC, c_int, c_int, c_char_p, c_int]
4529
4530# /usr/include/X11/Xlib.h:3781
4531XwcDrawString = _lib.XwcDrawString
4532XwcDrawString.restype = None
4533XwcDrawString.argtypes = [POINTER(Display), Drawable, XFontSet, GC, c_int, c_int, c_wchar_p, c_int]
4534
4535# /usr/include/X11/Xlib.h:3792
4536Xutf8DrawString = _lib.Xutf8DrawString
4537Xutf8DrawString.restype = None
4538Xutf8DrawString.argtypes = [POINTER(Display), Drawable, XFontSet, GC, c_int, c_int, c_char_p, c_int]
4539
4540# /usr/include/X11/Xlib.h:3803
4541XmbDrawImageString = _lib.XmbDrawImageString
4542XmbDrawImageString.restype = None
4543XmbDrawImageString.argtypes = [POINTER(Display), Drawable, XFontSet, GC, c_int, c_int, c_char_p, c_int]
4544
4545# /usr/include/X11/Xlib.h:3814
4546XwcDrawImageString = _lib.XwcDrawImageString
4547XwcDrawImageString.restype = None
4548XwcDrawImageString.argtypes = [POINTER(Display), Drawable, XFontSet, GC, c_int, c_int, c_wchar_p, c_int]
4549
4550# /usr/include/X11/Xlib.h:3825
4551Xutf8DrawImageString = _lib.Xutf8DrawImageString
4552Xutf8DrawImageString.restype = None
4553Xutf8DrawImageString.argtypes = [POINTER(Display), Drawable, XFontSet, GC, c_int, c_int, c_char_p, c_int]
4554
4555class struct__XrmHashBucketRec(Structure):
4556    __slots__ = [
4557    ]
4558struct__XrmHashBucketRec._fields_ = [
4559    ('_opaque_struct', c_int)
4560]
4561
4562# /usr/include/X11/Xlib.h:3836
4563XOpenIM = _lib.XOpenIM
4564XOpenIM.restype = XIM
4565XOpenIM.argtypes = [POINTER(Display), POINTER(struct__XrmHashBucketRec), c_char_p, c_char_p]
4566
4567# /usr/include/X11/Xlib.h:3843
4568XCloseIM = _lib.XCloseIM
4569XCloseIM.restype = c_int
4570XCloseIM.argtypes = [XIM]
4571
4572# /usr/include/X11/Xlib.h:3847
4573XGetIMValues = _lib.XGetIMValues
4574XGetIMValues.restype = c_char_p
4575XGetIMValues.argtypes = [XIM]
4576
4577# /usr/include/X11/Xlib.h:3851
4578XSetIMValues = _lib.XSetIMValues
4579XSetIMValues.restype = c_char_p
4580XSetIMValues.argtypes = [XIM]
4581
4582# /usr/include/X11/Xlib.h:3855
4583XDisplayOfIM = _lib.XDisplayOfIM
4584XDisplayOfIM.restype = POINTER(Display)
4585XDisplayOfIM.argtypes = [XIM]
4586
4587# /usr/include/X11/Xlib.h:3859
4588XLocaleOfIM = _lib.XLocaleOfIM
4589XLocaleOfIM.restype = c_char_p
4590XLocaleOfIM.argtypes = [XIM]
4591
4592# /usr/include/X11/Xlib.h:3863
4593XCreateIC = _lib.XCreateIC
4594XCreateIC.restype = XIC
4595XCreateIC.argtypes = [XIM]
4596
4597# /usr/include/X11/Xlib.h:3867
4598XDestroyIC = _lib.XDestroyIC
4599XDestroyIC.restype = None
4600XDestroyIC.argtypes = [XIC]
4601
4602# /usr/include/X11/Xlib.h:3871
4603XSetICFocus = _lib.XSetICFocus
4604XSetICFocus.restype = None
4605XSetICFocus.argtypes = [XIC]
4606
4607# /usr/include/X11/Xlib.h:3875
4608XUnsetICFocus = _lib.XUnsetICFocus
4609XUnsetICFocus.restype = None
4610XUnsetICFocus.argtypes = [XIC]
4611
4612# /usr/include/X11/Xlib.h:3879
4613XwcResetIC = _lib.XwcResetIC
4614XwcResetIC.restype = c_wchar_p
4615XwcResetIC.argtypes = [XIC]
4616
4617# /usr/include/X11/Xlib.h:3883
4618XmbResetIC = _lib.XmbResetIC
4619XmbResetIC.restype = c_char_p
4620XmbResetIC.argtypes = [XIC]
4621
4622# /usr/include/X11/Xlib.h:3887
4623Xutf8ResetIC = _lib.Xutf8ResetIC
4624Xutf8ResetIC.restype = c_char_p
4625Xutf8ResetIC.argtypes = [XIC]
4626
4627# /usr/include/X11/Xlib.h:3891
4628XSetICValues = _lib.XSetICValues
4629XSetICValues.restype = c_char_p
4630XSetICValues.argtypes = [XIC]
4631
4632# /usr/include/X11/Xlib.h:3895
4633XGetICValues = _lib.XGetICValues
4634XGetICValues.restype = c_char_p
4635XGetICValues.argtypes = [XIC]
4636
4637# /usr/include/X11/Xlib.h:3899
4638XIMOfIC = _lib.XIMOfIC
4639XIMOfIC.restype = XIM
4640XIMOfIC.argtypes = [XIC]
4641
4642# /usr/include/X11/Xlib.h:3903
4643XFilterEvent = _lib.XFilterEvent
4644XFilterEvent.restype = c_int
4645XFilterEvent.argtypes = [POINTER(XEvent), Window]
4646
4647# /usr/include/X11/Xlib.h:3908
4648XmbLookupString = _lib.XmbLookupString
4649XmbLookupString.restype = c_int
4650XmbLookupString.argtypes = [XIC, POINTER(XKeyPressedEvent), c_char_p, c_int, POINTER(KeySym), POINTER(c_int)]
4651
4652# /usr/include/X11/Xlib.h:3917
4653XwcLookupString = _lib.XwcLookupString
4654XwcLookupString.restype = c_int
4655XwcLookupString.argtypes = [XIC, POINTER(XKeyPressedEvent), c_wchar_p, c_int, POINTER(KeySym), POINTER(c_int)]
4656
4657# /usr/include/X11/Xlib.h:3926
4658Xutf8LookupString = _lib.Xutf8LookupString
4659Xutf8LookupString.restype = c_int
4660Xutf8LookupString.argtypes = [XIC, POINTER(XKeyPressedEvent), c_char_p, c_int, POINTER(KeySym), POINTER(c_int)]
4661
4662# /usr/include/X11/Xlib.h:3935
4663XVaCreateNestedList = _lib.XVaCreateNestedList
4664XVaCreateNestedList.restype = XVaNestedList
4665XVaCreateNestedList.argtypes = [c_int]
4666
4667class struct__XrmHashBucketRec(Structure):
4668    __slots__ = [
4669    ]
4670struct__XrmHashBucketRec._fields_ = [
4671    ('_opaque_struct', c_int)
4672]
4673
4674# /usr/include/X11/Xlib.h:3941
4675XRegisterIMInstantiateCallback = _lib.XRegisterIMInstantiateCallback
4676XRegisterIMInstantiateCallback.restype = c_int
4677XRegisterIMInstantiateCallback.argtypes = [POINTER(Display), POINTER(struct__XrmHashBucketRec), c_char_p, c_char_p, XIDProc, XPointer]
4678
4679class struct__XrmHashBucketRec(Structure):
4680    __slots__ = [
4681    ]
4682struct__XrmHashBucketRec._fields_ = [
4683    ('_opaque_struct', c_int)
4684]
4685
4686# /usr/include/X11/Xlib.h:3950
4687XUnregisterIMInstantiateCallback = _lib.XUnregisterIMInstantiateCallback
4688XUnregisterIMInstantiateCallback.restype = c_int
4689XUnregisterIMInstantiateCallback.argtypes = [POINTER(Display), POINTER(struct__XrmHashBucketRec), c_char_p, c_char_p, XIDProc, XPointer]
4690
4691XConnectionWatchProc = CFUNCTYPE(None, POINTER(Display), XPointer, c_int, c_int, POINTER(XPointer)) 	# /usr/include/X11/Xlib.h:3959
4692# /usr/include/X11/Xlib.h:3968
4693XInternalConnectionNumbers = _lib.XInternalConnectionNumbers
4694XInternalConnectionNumbers.restype = c_int
4695XInternalConnectionNumbers.argtypes = [POINTER(Display), POINTER(POINTER(c_int)), POINTER(c_int)]
4696
4697# /usr/include/X11/Xlib.h:3974
4698XProcessInternalConnection = _lib.XProcessInternalConnection
4699XProcessInternalConnection.restype = None
4700XProcessInternalConnection.argtypes = [POINTER(Display), c_int]
4701
4702# /usr/include/X11/Xlib.h:3979
4703XAddConnectionWatch = _lib.XAddConnectionWatch
4704XAddConnectionWatch.restype = c_int
4705XAddConnectionWatch.argtypes = [POINTER(Display), XConnectionWatchProc, XPointer]
4706
4707# /usr/include/X11/Xlib.h:3985
4708XRemoveConnectionWatch = _lib.XRemoveConnectionWatch
4709XRemoveConnectionWatch.restype = None
4710XRemoveConnectionWatch.argtypes = [POINTER(Display), XConnectionWatchProc, XPointer]
4711
4712# /usr/include/X11/Xlib.h:3991
4713XSetAuthorization = _lib.XSetAuthorization
4714XSetAuthorization.restype = None
4715XSetAuthorization.argtypes = [c_char_p, c_int, c_char_p, c_int]
4716
4717# /usr/include/X11/Xlib.h:3998
4718_Xmbtowc = _lib._Xmbtowc
4719_Xmbtowc.restype = c_int
4720_Xmbtowc.argtypes = [c_wchar_p, c_char_p, c_int]
4721
4722# /usr/include/X11/Xlib.h:4009
4723_Xwctomb = _lib._Xwctomb
4724_Xwctomb.restype = c_int
4725_Xwctomb.argtypes = [c_char_p, c_wchar]
4726
4727# /usr/include/X11/Xlib.h:4014
4728XGetEventData = _lib.XGetEventData
4729XGetEventData.restype = c_int
4730XGetEventData.argtypes = [POINTER(Display), POINTER(XGenericEventCookie)]
4731
4732# /usr/include/X11/Xlib.h:4019
4733XFreeEventData = _lib.XFreeEventData
4734XFreeEventData.restype = None
4735XFreeEventData.argtypes = [POINTER(Display), POINTER(XGenericEventCookie)]
4736
4737NoValue = 0 	# /usr/include/X11/Xutil.h:4805
4738XValue = 1 	# /usr/include/X11/Xutil.h:4806
4739YValue = 2 	# /usr/include/X11/Xutil.h:4807
4740WidthValue = 4 	# /usr/include/X11/Xutil.h:4808
4741HeightValue = 8 	# /usr/include/X11/Xutil.h:4809
4742AllValues = 15 	# /usr/include/X11/Xutil.h:4810
4743XNegative = 16 	# /usr/include/X11/Xutil.h:4811
4744YNegative = 32 	# /usr/include/X11/Xutil.h:4812
4745class struct_anon_95(Structure):
4746    __slots__ = [
4747        'flags',
4748        'x',
4749        'y',
4750        'width',
4751        'height',
4752        'min_width',
4753        'min_height',
4754        'max_width',
4755        'max_height',
4756        'width_inc',
4757        'height_inc',
4758        'min_aspect',
4759        'max_aspect',
4760        'base_width',
4761        'base_height',
4762        'win_gravity',
4763    ]
4764class struct_anon_96(Structure):
4765    __slots__ = [
4766        'x',
4767        'y',
4768    ]
4769struct_anon_96._fields_ = [
4770    ('x', c_int),
4771    ('y', c_int),
4772]
4773
4774class struct_anon_97(Structure):
4775    __slots__ = [
4776        'x',
4777        'y',
4778    ]
4779struct_anon_97._fields_ = [
4780    ('x', c_int),
4781    ('y', c_int),
4782]
4783
4784struct_anon_95._fields_ = [
4785    ('flags', c_long),
4786    ('x', c_int),
4787    ('y', c_int),
4788    ('width', c_int),
4789    ('height', c_int),
4790    ('min_width', c_int),
4791    ('min_height', c_int),
4792    ('max_width', c_int),
4793    ('max_height', c_int),
4794    ('width_inc', c_int),
4795    ('height_inc', c_int),
4796    ('min_aspect', struct_anon_96),
4797    ('max_aspect', struct_anon_97),
4798    ('base_width', c_int),
4799    ('base_height', c_int),
4800    ('win_gravity', c_int),
4801]
4802
4803XSizeHints = struct_anon_95 	# /usr/include/X11/Xutil.h:4831
4804USPosition = 1 	# /usr/include/X11/Xutil.h:4839
4805USSize = 2 	# /usr/include/X11/Xutil.h:4840
4806PPosition = 4 	# /usr/include/X11/Xutil.h:4842
4807PSize = 8 	# /usr/include/X11/Xutil.h:4843
4808PMinSize = 16 	# /usr/include/X11/Xutil.h:4844
4809PMaxSize = 32 	# /usr/include/X11/Xutil.h:4845
4810PResizeInc = 64 	# /usr/include/X11/Xutil.h:4846
4811PAspect = 128 	# /usr/include/X11/Xutil.h:4847
4812PBaseSize = 256 	# /usr/include/X11/Xutil.h:4848
4813PWinGravity = 512 	# /usr/include/X11/Xutil.h:4849
4814PAllHints = 252 	# /usr/include/X11/Xutil.h:4852
4815class struct_anon_98(Structure):
4816    __slots__ = [
4817        'flags',
4818        'input',
4819        'initial_state',
4820        'icon_pixmap',
4821        'icon_window',
4822        'icon_x',
4823        'icon_y',
4824        'icon_mask',
4825        'window_group',
4826    ]
4827struct_anon_98._fields_ = [
4828    ('flags', c_long),
4829    ('input', c_int),
4830    ('initial_state', c_int),
4831    ('icon_pixmap', Pixmap),
4832    ('icon_window', Window),
4833    ('icon_x', c_int),
4834    ('icon_y', c_int),
4835    ('icon_mask', Pixmap),
4836    ('window_group', XID),
4837]
4838
4839XWMHints = struct_anon_98 	# /usr/include/X11/Xutil.h:4867
4840InputHint = 1 	# /usr/include/X11/Xutil.h:4871
4841StateHint = 2 	# /usr/include/X11/Xutil.h:4872
4842IconPixmapHint = 4 	# /usr/include/X11/Xutil.h:4873
4843IconWindowHint = 8 	# /usr/include/X11/Xutil.h:4874
4844IconPositionHint = 16 	# /usr/include/X11/Xutil.h:4875
4845IconMaskHint = 32 	# /usr/include/X11/Xutil.h:4876
4846WindowGroupHint = 64 	# /usr/include/X11/Xutil.h:4877
4847AllHints = 127 	# /usr/include/X11/Xutil.h:4878
4848XUrgencyHint = 256 	# /usr/include/X11/Xutil.h:4880
4849WithdrawnState = 0 	# /usr/include/X11/Xutil.h:4883
4850NormalState = 1 	# /usr/include/X11/Xutil.h:4884
4851IconicState = 3 	# /usr/include/X11/Xutil.h:4885
4852DontCareState = 0 	# /usr/include/X11/Xutil.h:4890
4853ZoomState = 2 	# /usr/include/X11/Xutil.h:4891
4854InactiveState = 4 	# /usr/include/X11/Xutil.h:4892
4855class struct_anon_99(Structure):
4856    __slots__ = [
4857        'value',
4858        'encoding',
4859        'format',
4860        'nitems',
4861    ]
4862struct_anon_99._fields_ = [
4863    ('value', POINTER(c_ubyte)),
4864    ('encoding', Atom),
4865    ('format', c_int),
4866    ('nitems', c_ulong),
4867]
4868
4869XTextProperty = struct_anon_99 	# /usr/include/X11/Xutil.h:4905
4870XNoMemory = -1 	# /usr/include/X11/Xutil.h:4907
4871XLocaleNotSupported = -2 	# /usr/include/X11/Xutil.h:4908
4872XConverterNotFound = -3 	# /usr/include/X11/Xutil.h:4909
4873enum_anon_100 = c_int
4874XStringStyle = 0
4875XCompoundTextStyle = 1
4876XTextStyle = 2
4877XStdICCTextStyle = 3
4878XUTF8StringStyle = 4
4879XICCEncodingStyle = enum_anon_100 	# /usr/include/X11/Xutil.h:4918
4880class struct_anon_101(Structure):
4881    __slots__ = [
4882        'min_width',
4883        'min_height',
4884        'max_width',
4885        'max_height',
4886        'width_inc',
4887        'height_inc',
4888    ]
4889struct_anon_101._fields_ = [
4890    ('min_width', c_int),
4891    ('min_height', c_int),
4892    ('max_width', c_int),
4893    ('max_height', c_int),
4894    ('width_inc', c_int),
4895    ('height_inc', c_int),
4896]
4897
4898XIconSize = struct_anon_101 	# /usr/include/X11/Xutil.h:4924
4899class struct_anon_102(Structure):
4900    __slots__ = [
4901        'res_name',
4902        'res_class',
4903    ]
4904struct_anon_102._fields_ = [
4905    ('res_name', c_char_p),
4906    ('res_class', c_char_p),
4907]
4908
4909XClassHint = struct_anon_102 	# /usr/include/X11/Xutil.h:4929
4910class struct__XComposeStatus(Structure):
4911    __slots__ = [
4912        'compose_ptr',
4913        'chars_matched',
4914    ]
4915struct__XComposeStatus._fields_ = [
4916    ('compose_ptr', XPointer),
4917    ('chars_matched', c_int),
4918]
4919
4920XComposeStatus = struct__XComposeStatus 	# /usr/include/X11/Xutil.h:4971
4921class struct__XRegion(Structure):
4922    __slots__ = [
4923    ]
4924struct__XRegion._fields_ = [
4925    ('_opaque_struct', c_int)
4926]
4927
4928class struct__XRegion(Structure):
4929    __slots__ = [
4930    ]
4931struct__XRegion._fields_ = [
4932    ('_opaque_struct', c_int)
4933]
4934
4935Region = POINTER(struct__XRegion) 	# /usr/include/X11/Xutil.h:5010
4936RectangleOut = 0 	# /usr/include/X11/Xutil.h:5014
4937RectangleIn = 1 	# /usr/include/X11/Xutil.h:5015
4938RectanglePart = 2 	# /usr/include/X11/Xutil.h:5016
4939class struct_anon_103(Structure):
4940    __slots__ = [
4941        'visual',
4942        'visualid',
4943        'screen',
4944        'depth',
4945        'class',
4946        'red_mask',
4947        'green_mask',
4948        'blue_mask',
4949        'colormap_size',
4950        'bits_per_rgb',
4951    ]
4952struct_anon_103._fields_ = [
4953    ('visual', POINTER(Visual)),
4954    ('visualid', VisualID),
4955    ('screen', c_int),
4956    ('depth', c_int),
4957    ('class', c_int),
4958    ('red_mask', c_ulong),
4959    ('green_mask', c_ulong),
4960    ('blue_mask', c_ulong),
4961    ('colormap_size', c_int),
4962    ('bits_per_rgb', c_int),
4963]
4964
4965XVisualInfo = struct_anon_103 	# /usr/include/X11/Xutil.h:5039
4966VisualNoMask = 0 	# /usr/include/X11/Xutil.h:5041
4967VisualIDMask = 1 	# /usr/include/X11/Xutil.h:5042
4968VisualScreenMask = 2 	# /usr/include/X11/Xutil.h:5043
4969VisualDepthMask = 4 	# /usr/include/X11/Xutil.h:5044
4970VisualClassMask = 8 	# /usr/include/X11/Xutil.h:5045
4971VisualRedMaskMask = 16 	# /usr/include/X11/Xutil.h:5046
4972VisualGreenMaskMask = 32 	# /usr/include/X11/Xutil.h:5047
4973VisualBlueMaskMask = 64 	# /usr/include/X11/Xutil.h:5048
4974VisualColormapSizeMask = 128 	# /usr/include/X11/Xutil.h:5049
4975VisualBitsPerRGBMask = 256 	# /usr/include/X11/Xutil.h:5050
4976VisualAllMask = 511 	# /usr/include/X11/Xutil.h:5051
4977class struct_anon_104(Structure):
4978    __slots__ = [
4979        'colormap',
4980        'red_max',
4981        'red_mult',
4982        'green_max',
4983        'green_mult',
4984        'blue_max',
4985        'blue_mult',
4986        'base_pixel',
4987        'visualid',
4988        'killid',
4989    ]
4990struct_anon_104._fields_ = [
4991    ('colormap', Colormap),
4992    ('red_max', c_ulong),
4993    ('red_mult', c_ulong),
4994    ('green_max', c_ulong),
4995    ('green_mult', c_ulong),
4996    ('blue_max', c_ulong),
4997    ('blue_mult', c_ulong),
4998    ('base_pixel', c_ulong),
4999    ('visualid', VisualID),
5000    ('killid', XID),
5001]
5002
5003XStandardColormap = struct_anon_104 	# /usr/include/X11/Xutil.h:5068
5004BitmapSuccess = 0 	# /usr/include/X11/Xutil.h:5076
5005BitmapOpenFailed = 1 	# /usr/include/X11/Xutil.h:5077
5006BitmapFileInvalid = 2 	# /usr/include/X11/Xutil.h:5078
5007BitmapNoMemory = 3 	# /usr/include/X11/Xutil.h:5079
5008XCSUCCESS = 0 	# /usr/include/X11/Xutil.h:5090
5009XCNOMEM = 1 	# /usr/include/X11/Xutil.h:5091
5010XCNOENT = 2 	# /usr/include/X11/Xutil.h:5092
5011XContext = c_int 	# /usr/include/X11/Xutil.h:5094
5012# /usr/include/X11/Xutil.h:5103
5013XAllocClassHint = _lib.XAllocClassHint
5014XAllocClassHint.restype = POINTER(XClassHint)
5015XAllocClassHint.argtypes = []
5016
5017# /usr/include/X11/Xutil.h:5107
5018XAllocIconSize = _lib.XAllocIconSize
5019XAllocIconSize.restype = POINTER(XIconSize)
5020XAllocIconSize.argtypes = []
5021
5022# /usr/include/X11/Xutil.h:5111
5023XAllocSizeHints = _lib.XAllocSizeHints
5024XAllocSizeHints.restype = POINTER(XSizeHints)
5025XAllocSizeHints.argtypes = []
5026
5027# /usr/include/X11/Xutil.h:5115
5028XAllocStandardColormap = _lib.XAllocStandardColormap
5029XAllocStandardColormap.restype = POINTER(XStandardColormap)
5030XAllocStandardColormap.argtypes = []
5031
5032# /usr/include/X11/Xutil.h:5119
5033XAllocWMHints = _lib.XAllocWMHints
5034XAllocWMHints.restype = POINTER(XWMHints)
5035XAllocWMHints.argtypes = []
5036
5037# /usr/include/X11/Xutil.h:5123
5038XClipBox = _lib.XClipBox
5039XClipBox.restype = c_int
5040XClipBox.argtypes = [Region, POINTER(XRectangle)]
5041
5042# /usr/include/X11/Xutil.h:5128
5043XCreateRegion = _lib.XCreateRegion
5044XCreateRegion.restype = Region
5045XCreateRegion.argtypes = []
5046
5047# /usr/include/X11/Xutil.h:5132
5048XDefaultString = _lib.XDefaultString
5049XDefaultString.restype = c_char_p
5050XDefaultString.argtypes = []
5051
5052# /usr/include/X11/Xutil.h:5134
5053XDeleteContext = _lib.XDeleteContext
5054XDeleteContext.restype = c_int
5055XDeleteContext.argtypes = [POINTER(Display), XID, XContext]
5056
5057# /usr/include/X11/Xutil.h:5140
5058XDestroyRegion = _lib.XDestroyRegion
5059XDestroyRegion.restype = c_int
5060XDestroyRegion.argtypes = [Region]
5061
5062# /usr/include/X11/Xutil.h:5144
5063XEmptyRegion = _lib.XEmptyRegion
5064XEmptyRegion.restype = c_int
5065XEmptyRegion.argtypes = [Region]
5066
5067# /usr/include/X11/Xutil.h:5148
5068XEqualRegion = _lib.XEqualRegion
5069XEqualRegion.restype = c_int
5070XEqualRegion.argtypes = [Region, Region]
5071
5072# /usr/include/X11/Xutil.h:5153
5073XFindContext = _lib.XFindContext
5074XFindContext.restype = c_int
5075XFindContext.argtypes = [POINTER(Display), XID, XContext, POINTER(XPointer)]
5076
5077# /usr/include/X11/Xutil.h:5160
5078XGetClassHint = _lib.XGetClassHint
5079XGetClassHint.restype = c_int
5080XGetClassHint.argtypes = [POINTER(Display), Window, POINTER(XClassHint)]
5081
5082# /usr/include/X11/Xutil.h:5166
5083XGetIconSizes = _lib.XGetIconSizes
5084XGetIconSizes.restype = c_int
5085XGetIconSizes.argtypes = [POINTER(Display), Window, POINTER(POINTER(XIconSize)), POINTER(c_int)]
5086
5087# /usr/include/X11/Xutil.h:5173
5088XGetNormalHints = _lib.XGetNormalHints
5089XGetNormalHints.restype = c_int
5090XGetNormalHints.argtypes = [POINTER(Display), Window, POINTER(XSizeHints)]
5091
5092# /usr/include/X11/Xutil.h:5179
5093XGetRGBColormaps = _lib.XGetRGBColormaps
5094XGetRGBColormaps.restype = c_int
5095XGetRGBColormaps.argtypes = [POINTER(Display), Window, POINTER(POINTER(XStandardColormap)), POINTER(c_int), Atom]
5096
5097# /usr/include/X11/Xutil.h:5187
5098XGetSizeHints = _lib.XGetSizeHints
5099XGetSizeHints.restype = c_int
5100XGetSizeHints.argtypes = [POINTER(Display), Window, POINTER(XSizeHints), Atom]
5101
5102# /usr/include/X11/Xutil.h:5194
5103XGetStandardColormap = _lib.XGetStandardColormap
5104XGetStandardColormap.restype = c_int
5105XGetStandardColormap.argtypes = [POINTER(Display), Window, POINTER(XStandardColormap), Atom]
5106
5107# /usr/include/X11/Xutil.h:5201
5108XGetTextProperty = _lib.XGetTextProperty
5109XGetTextProperty.restype = c_int
5110XGetTextProperty.argtypes = [POINTER(Display), Window, POINTER(XTextProperty), Atom]
5111
5112# /usr/include/X11/Xutil.h:5208
5113XGetVisualInfo = _lib.XGetVisualInfo
5114XGetVisualInfo.restype = POINTER(XVisualInfo)
5115XGetVisualInfo.argtypes = [POINTER(Display), c_long, POINTER(XVisualInfo), POINTER(c_int)]
5116
5117# /usr/include/X11/Xutil.h:5215
5118XGetWMClientMachine = _lib.XGetWMClientMachine
5119XGetWMClientMachine.restype = c_int
5120XGetWMClientMachine.argtypes = [POINTER(Display), Window, POINTER(XTextProperty)]
5121
5122# /usr/include/X11/Xutil.h:5221
5123XGetWMHints = _lib.XGetWMHints
5124XGetWMHints.restype = POINTER(XWMHints)
5125XGetWMHints.argtypes = [POINTER(Display), Window]
5126
5127# /usr/include/X11/Xutil.h:5226
5128XGetWMIconName = _lib.XGetWMIconName
5129XGetWMIconName.restype = c_int
5130XGetWMIconName.argtypes = [POINTER(Display), Window, POINTER(XTextProperty)]
5131
5132# /usr/include/X11/Xutil.h:5232
5133XGetWMName = _lib.XGetWMName
5134XGetWMName.restype = c_int
5135XGetWMName.argtypes = [POINTER(Display), Window, POINTER(XTextProperty)]
5136
5137# /usr/include/X11/Xutil.h:5238
5138XGetWMNormalHints = _lib.XGetWMNormalHints
5139XGetWMNormalHints.restype = c_int
5140XGetWMNormalHints.argtypes = [POINTER(Display), Window, POINTER(XSizeHints), POINTER(c_long)]
5141
5142# /usr/include/X11/Xutil.h:5245
5143XGetWMSizeHints = _lib.XGetWMSizeHints
5144XGetWMSizeHints.restype = c_int
5145XGetWMSizeHints.argtypes = [POINTER(Display), Window, POINTER(XSizeHints), POINTER(c_long), Atom]
5146
5147# /usr/include/X11/Xutil.h:5253
5148XGetZoomHints = _lib.XGetZoomHints
5149XGetZoomHints.restype = c_int
5150XGetZoomHints.argtypes = [POINTER(Display), Window, POINTER(XSizeHints)]
5151
5152# /usr/include/X11/Xutil.h:5259
5153XIntersectRegion = _lib.XIntersectRegion
5154XIntersectRegion.restype = c_int
5155XIntersectRegion.argtypes = [Region, Region, Region]
5156
5157# /usr/include/X11/Xutil.h:5265
5158XConvertCase = _lib.XConvertCase
5159XConvertCase.restype = None
5160XConvertCase.argtypes = [KeySym, POINTER(KeySym), POINTER(KeySym)]
5161
5162# /usr/include/X11/Xutil.h:5271
5163XLookupString = _lib.XLookupString
5164XLookupString.restype = c_int
5165XLookupString.argtypes = [POINTER(XKeyEvent), c_char_p, c_int, POINTER(KeySym), POINTER(XComposeStatus)]
5166
5167# /usr/include/X11/Xutil.h:5279
5168XMatchVisualInfo = _lib.XMatchVisualInfo
5169XMatchVisualInfo.restype = c_int
5170XMatchVisualInfo.argtypes = [POINTER(Display), c_int, c_int, c_int, POINTER(XVisualInfo)]
5171
5172# /usr/include/X11/Xutil.h:5287
5173XOffsetRegion = _lib.XOffsetRegion
5174XOffsetRegion.restype = c_int
5175XOffsetRegion.argtypes = [Region, c_int, c_int]
5176
5177# /usr/include/X11/Xutil.h:5293
5178XPointInRegion = _lib.XPointInRegion
5179XPointInRegion.restype = c_int
5180XPointInRegion.argtypes = [Region, c_int, c_int]
5181
5182# /usr/include/X11/Xutil.h:5299
5183XPolygonRegion = _lib.XPolygonRegion
5184XPolygonRegion.restype = Region
5185XPolygonRegion.argtypes = [POINTER(XPoint), c_int, c_int]
5186
5187# /usr/include/X11/Xutil.h:5305
5188XRectInRegion = _lib.XRectInRegion
5189XRectInRegion.restype = c_int
5190XRectInRegion.argtypes = [Region, c_int, c_int, c_uint, c_uint]
5191
5192# /usr/include/X11/Xutil.h:5313
5193XSaveContext = _lib.XSaveContext
5194XSaveContext.restype = c_int
5195XSaveContext.argtypes = [POINTER(Display), XID, XContext, c_char_p]
5196
5197# /usr/include/X11/Xutil.h:5320
5198XSetClassHint = _lib.XSetClassHint
5199XSetClassHint.restype = c_int
5200XSetClassHint.argtypes = [POINTER(Display), Window, POINTER(XClassHint)]
5201
5202# /usr/include/X11/Xutil.h:5326
5203XSetIconSizes = _lib.XSetIconSizes
5204XSetIconSizes.restype = c_int
5205XSetIconSizes.argtypes = [POINTER(Display), Window, POINTER(XIconSize), c_int]
5206
5207# /usr/include/X11/Xutil.h:5333
5208XSetNormalHints = _lib.XSetNormalHints
5209XSetNormalHints.restype = c_int
5210XSetNormalHints.argtypes = [POINTER(Display), Window, POINTER(XSizeHints)]
5211
5212# /usr/include/X11/Xutil.h:5339
5213XSetRGBColormaps = _lib.XSetRGBColormaps
5214XSetRGBColormaps.restype = None
5215XSetRGBColormaps.argtypes = [POINTER(Display), Window, POINTER(XStandardColormap), c_int, Atom]
5216
5217# /usr/include/X11/Xutil.h:5347
5218XSetSizeHints = _lib.XSetSizeHints
5219XSetSizeHints.restype = c_int
5220XSetSizeHints.argtypes = [POINTER(Display), Window, POINTER(XSizeHints), Atom]
5221
5222# /usr/include/X11/Xutil.h:5354
5223XSetStandardProperties = _lib.XSetStandardProperties
5224XSetStandardProperties.restype = c_int
5225XSetStandardProperties.argtypes = [POINTER(Display), Window, c_char_p, c_char_p, Pixmap, POINTER(c_char_p), c_int, POINTER(XSizeHints)]
5226
5227# /usr/include/X11/Xutil.h:5365
5228XSetTextProperty = _lib.XSetTextProperty
5229XSetTextProperty.restype = None
5230XSetTextProperty.argtypes = [POINTER(Display), Window, POINTER(XTextProperty), Atom]
5231
5232# /usr/include/X11/Xutil.h:5372
5233XSetWMClientMachine = _lib.XSetWMClientMachine
5234XSetWMClientMachine.restype = None
5235XSetWMClientMachine.argtypes = [POINTER(Display), Window, POINTER(XTextProperty)]
5236
5237# /usr/include/X11/Xutil.h:5378
5238XSetWMHints = _lib.XSetWMHints
5239XSetWMHints.restype = c_int
5240XSetWMHints.argtypes = [POINTER(Display), Window, POINTER(XWMHints)]
5241
5242# /usr/include/X11/Xutil.h:5384
5243XSetWMIconName = _lib.XSetWMIconName
5244XSetWMIconName.restype = None
5245XSetWMIconName.argtypes = [POINTER(Display), Window, POINTER(XTextProperty)]
5246
5247# /usr/include/X11/Xutil.h:5390
5248XSetWMName = _lib.XSetWMName
5249XSetWMName.restype = None
5250XSetWMName.argtypes = [POINTER(Display), Window, POINTER(XTextProperty)]
5251
5252# /usr/include/X11/Xutil.h:5396
5253XSetWMNormalHints = _lib.XSetWMNormalHints
5254XSetWMNormalHints.restype = None
5255XSetWMNormalHints.argtypes = [POINTER(Display), Window, POINTER(XSizeHints)]
5256
5257# /usr/include/X11/Xutil.h:5402
5258XSetWMProperties = _lib.XSetWMProperties
5259XSetWMProperties.restype = None
5260XSetWMProperties.argtypes = [POINTER(Display), Window, POINTER(XTextProperty), POINTER(XTextProperty), POINTER(c_char_p), c_int, POINTER(XSizeHints), POINTER(XWMHints), POINTER(XClassHint)]
5261
5262# /usr/include/X11/Xutil.h:5414
5263XmbSetWMProperties = _lib.XmbSetWMProperties
5264XmbSetWMProperties.restype = None
5265XmbSetWMProperties.argtypes = [POINTER(Display), Window, c_char_p, c_char_p, POINTER(c_char_p), c_int, POINTER(XSizeHints), POINTER(XWMHints), POINTER(XClassHint)]
5266
5267# /usr/include/X11/Xutil.h:5426
5268Xutf8SetWMProperties = _lib.Xutf8SetWMProperties
5269Xutf8SetWMProperties.restype = None
5270Xutf8SetWMProperties.argtypes = [POINTER(Display), Window, c_char_p, c_char_p, POINTER(c_char_p), c_int, POINTER(XSizeHints), POINTER(XWMHints), POINTER(XClassHint)]
5271
5272# /usr/include/X11/Xutil.h:5438
5273XSetWMSizeHints = _lib.XSetWMSizeHints
5274XSetWMSizeHints.restype = None
5275XSetWMSizeHints.argtypes = [POINTER(Display), Window, POINTER(XSizeHints), Atom]
5276
5277# /usr/include/X11/Xutil.h:5445
5278XSetRegion = _lib.XSetRegion
5279XSetRegion.restype = c_int
5280XSetRegion.argtypes = [POINTER(Display), GC, Region]
5281
5282# /usr/include/X11/Xutil.h:5451
5283XSetStandardColormap = _lib.XSetStandardColormap
5284XSetStandardColormap.restype = None
5285XSetStandardColormap.argtypes = [POINTER(Display), Window, POINTER(XStandardColormap), Atom]
5286
5287# /usr/include/X11/Xutil.h:5458
5288XSetZoomHints = _lib.XSetZoomHints
5289XSetZoomHints.restype = c_int
5290XSetZoomHints.argtypes = [POINTER(Display), Window, POINTER(XSizeHints)]
5291
5292# /usr/include/X11/Xutil.h:5464
5293XShrinkRegion = _lib.XShrinkRegion
5294XShrinkRegion.restype = c_int
5295XShrinkRegion.argtypes = [Region, c_int, c_int]
5296
5297# /usr/include/X11/Xutil.h:5470
5298XStringListToTextProperty = _lib.XStringListToTextProperty
5299XStringListToTextProperty.restype = c_int
5300XStringListToTextProperty.argtypes = [POINTER(c_char_p), c_int, POINTER(XTextProperty)]
5301
5302# /usr/include/X11/Xutil.h:5476
5303XSubtractRegion = _lib.XSubtractRegion
5304XSubtractRegion.restype = c_int
5305XSubtractRegion.argtypes = [Region, Region, Region]
5306
5307# /usr/include/X11/Xutil.h:5482
5308XmbTextListToTextProperty = _lib.XmbTextListToTextProperty
5309XmbTextListToTextProperty.restype = c_int
5310XmbTextListToTextProperty.argtypes = [POINTER(Display), POINTER(c_char_p), c_int, XICCEncodingStyle, POINTER(XTextProperty)]
5311
5312# /usr/include/X11/Xutil.h:5490
5313XwcTextListToTextProperty = _lib.XwcTextListToTextProperty
5314XwcTextListToTextProperty.restype = c_int
5315XwcTextListToTextProperty.argtypes = [POINTER(Display), POINTER(c_wchar_p), c_int, XICCEncodingStyle, POINTER(XTextProperty)]
5316
5317# /usr/include/X11/Xutil.h:5498
5318Xutf8TextListToTextProperty = _lib.Xutf8TextListToTextProperty
5319Xutf8TextListToTextProperty.restype = c_int
5320Xutf8TextListToTextProperty.argtypes = [POINTER(Display), POINTER(c_char_p), c_int, XICCEncodingStyle, POINTER(XTextProperty)]
5321
5322# /usr/include/X11/Xutil.h:5506
5323XwcFreeStringList = _lib.XwcFreeStringList
5324XwcFreeStringList.restype = None
5325XwcFreeStringList.argtypes = [POINTER(c_wchar_p)]
5326
5327# /usr/include/X11/Xutil.h:5510
5328XTextPropertyToStringList = _lib.XTextPropertyToStringList
5329XTextPropertyToStringList.restype = c_int
5330XTextPropertyToStringList.argtypes = [POINTER(XTextProperty), POINTER(POINTER(c_char_p)), POINTER(c_int)]
5331
5332# /usr/include/X11/Xutil.h:5516
5333XmbTextPropertyToTextList = _lib.XmbTextPropertyToTextList
5334XmbTextPropertyToTextList.restype = c_int
5335XmbTextPropertyToTextList.argtypes = [POINTER(Display), POINTER(XTextProperty), POINTER(POINTER(c_char_p)), POINTER(c_int)]
5336
5337# /usr/include/X11/Xutil.h:5523
5338XwcTextPropertyToTextList = _lib.XwcTextPropertyToTextList
5339XwcTextPropertyToTextList.restype = c_int
5340XwcTextPropertyToTextList.argtypes = [POINTER(Display), POINTER(XTextProperty), POINTER(POINTER(c_wchar_p)), POINTER(c_int)]
5341
5342# /usr/include/X11/Xutil.h:5530
5343Xutf8TextPropertyToTextList = _lib.Xutf8TextPropertyToTextList
5344Xutf8TextPropertyToTextList.restype = c_int
5345Xutf8TextPropertyToTextList.argtypes = [POINTER(Display), POINTER(XTextProperty), POINTER(POINTER(c_char_p)), POINTER(c_int)]
5346
5347# /usr/include/X11/Xutil.h:5537
5348XUnionRectWithRegion = _lib.XUnionRectWithRegion
5349XUnionRectWithRegion.restype = c_int
5350XUnionRectWithRegion.argtypes = [POINTER(XRectangle), Region, Region]
5351
5352# /usr/include/X11/Xutil.h:5543
5353XUnionRegion = _lib.XUnionRegion
5354XUnionRegion.restype = c_int
5355XUnionRegion.argtypes = [Region, Region, Region]
5356
5357# /usr/include/X11/Xutil.h:5549
5358XWMGeometry = _lib.XWMGeometry
5359XWMGeometry.restype = c_int
5360XWMGeometry.argtypes = [POINTER(Display), c_int, c_char_p, c_char_p, c_uint, POINTER(XSizeHints), POINTER(c_int), POINTER(c_int), POINTER(c_int), POINTER(c_int), POINTER(c_int)]
5361
5362# /usr/include/X11/Xutil.h:5563
5363XXorRegion = _lib.XXorRegion
5364XXorRegion.restype = c_int
5365XXorRegion.argtypes = [Region, Region, Region]
5366
5367
5368__all__ = ['XlibSpecificationRelease', 'X_PROTOCOL', 'X_PROTOCOL_REVISION',
5369'XID', 'Mask', 'Atom', 'VisualID', 'Time', 'Window', 'Drawable', 'Font',
5370'Pixmap', 'Cursor', 'Colormap', 'GContext', 'KeySym', 'KeyCode', 'None_',
5371'ParentRelative', 'CopyFromParent', 'PointerWindow', 'InputFocus',
5372'PointerRoot', 'AnyPropertyType', 'AnyKey', 'AnyButton', 'AllTemporary',
5373'CurrentTime', 'NoSymbol', 'NoEventMask', 'KeyPressMask', 'KeyReleaseMask',
5374'ButtonPressMask', 'ButtonReleaseMask', 'EnterWindowMask', 'LeaveWindowMask',
5375'PointerMotionMask', 'PointerMotionHintMask', 'Button1MotionMask',
5376'Button2MotionMask', 'Button3MotionMask', 'Button4MotionMask',
5377'Button5MotionMask', 'ButtonMotionMask', 'KeymapStateMask', 'ExposureMask',
5378'VisibilityChangeMask', 'StructureNotifyMask', 'ResizeRedirectMask',
5379'SubstructureNotifyMask', 'SubstructureRedirectMask', 'FocusChangeMask',
5380'PropertyChangeMask', 'ColormapChangeMask', 'OwnerGrabButtonMask', 'KeyPress',
5381'KeyRelease', 'ButtonPress', 'ButtonRelease', 'MotionNotify', 'EnterNotify',
5382'LeaveNotify', 'FocusIn', 'FocusOut', 'KeymapNotify', 'Expose',
5383'GraphicsExpose', 'NoExpose', 'VisibilityNotify', 'CreateNotify',
5384'DestroyNotify', 'UnmapNotify', 'MapNotify', 'MapRequest', 'ReparentNotify',
5385'ConfigureNotify', 'ConfigureRequest', 'GravityNotify', 'ResizeRequest',
5386'CirculateNotify', 'CirculateRequest', 'PropertyNotify', 'SelectionClear',
5387'SelectionRequest', 'SelectionNotify', 'ColormapNotify', 'ClientMessage',
5388'MappingNotify', 'GenericEvent', 'LASTEvent', 'ShiftMask', 'LockMask',
5389'ControlMask', 'Mod1Mask', 'Mod2Mask', 'Mod3Mask', 'Mod4Mask', 'Mod5Mask',
5390'ShiftMapIndex', 'LockMapIndex', 'ControlMapIndex', 'Mod1MapIndex',
5391'Mod2MapIndex', 'Mod3MapIndex', 'Mod4MapIndex', 'Mod5MapIndex', 'Button1Mask',
5392'Button2Mask', 'Button3Mask', 'Button4Mask', 'Button5Mask', 'AnyModifier',
5393'Button1', 'Button2', 'Button3', 'Button4', 'Button5', 'NotifyNormal',
5394'NotifyGrab', 'NotifyUngrab', 'NotifyWhileGrabbed', 'NotifyHint',
5395'NotifyAncestor', 'NotifyVirtual', 'NotifyInferior', 'NotifyNonlinear',
5396'NotifyNonlinearVirtual', 'NotifyPointer', 'NotifyPointerRoot',
5397'NotifyDetailNone', 'VisibilityUnobscured', 'VisibilityPartiallyObscured',
5398'VisibilityFullyObscured', 'PlaceOnTop', 'PlaceOnBottom', 'FamilyInternet',
5399'FamilyDECnet', 'FamilyChaos', 'FamilyInternet6', 'FamilyServerInterpreted',
5400'PropertyNewValue', 'PropertyDelete', 'ColormapUninstalled',
5401'ColormapInstalled', 'GrabModeSync', 'GrabModeAsync', 'GrabSuccess',
5402'AlreadyGrabbed', 'GrabInvalidTime', 'GrabNotViewable', 'GrabFrozen',
5403'AsyncPointer', 'SyncPointer', 'ReplayPointer', 'AsyncKeyboard',
5404'SyncKeyboard', 'ReplayKeyboard', 'AsyncBoth', 'SyncBoth', 'RevertToParent',
5405'Success', 'BadRequest', 'BadValue', 'BadWindow', 'BadPixmap', 'BadAtom',
5406'BadCursor', 'BadFont', 'BadMatch', 'BadDrawable', 'BadAccess', 'BadAlloc',
5407'BadColor', 'BadGC', 'BadIDChoice', 'BadName', 'BadLength',
5408'BadImplementation', 'FirstExtensionError', 'LastExtensionError',
5409'InputOutput', 'InputOnly', 'CWBackPixmap', 'CWBackPixel', 'CWBorderPixmap',
5410'CWBorderPixel', 'CWBitGravity', 'CWWinGravity', 'CWBackingStore',
5411'CWBackingPlanes', 'CWBackingPixel', 'CWOverrideRedirect', 'CWSaveUnder',
5412'CWEventMask', 'CWDontPropagate', 'CWColormap', 'CWCursor', 'CWX', 'CWY',
5413'CWWidth', 'CWHeight', 'CWBorderWidth', 'CWSibling', 'CWStackMode',
5414'ForgetGravity', 'NorthWestGravity', 'NorthGravity', 'NorthEastGravity',
5415'WestGravity', 'CenterGravity', 'EastGravity', 'SouthWestGravity',
5416'SouthGravity', 'SouthEastGravity', 'StaticGravity', 'UnmapGravity',
5417'NotUseful', 'WhenMapped', 'Always', 'IsUnmapped', 'IsUnviewable',
5418'IsViewable', 'SetModeInsert', 'SetModeDelete', 'DestroyAll',
5419'RetainPermanent', 'RetainTemporary', 'Above', 'Below', 'TopIf', 'BottomIf',
5420'Opposite', 'RaiseLowest', 'LowerHighest', 'PropModeReplace',
5421'PropModePrepend', 'PropModeAppend', 'GXclear', 'GXand', 'GXandReverse',
5422'GXcopy', 'GXandInverted', 'GXnoop', 'GXxor', 'GXor', 'GXnor', 'GXequiv',
5423'GXinvert', 'GXorReverse', 'GXcopyInverted', 'GXorInverted', 'GXnand',
5424'GXset', 'LineSolid', 'LineOnOffDash', 'LineDoubleDash', 'CapNotLast',
5425'CapButt', 'CapRound', 'CapProjecting', 'JoinMiter', 'JoinRound', 'JoinBevel',
5426'FillSolid', 'FillTiled', 'FillStippled', 'FillOpaqueStippled', 'EvenOddRule',
5427'WindingRule', 'ClipByChildren', 'IncludeInferiors', 'Unsorted', 'YSorted',
5428'YXSorted', 'YXBanded', 'CoordModeOrigin', 'CoordModePrevious', 'Complex',
5429'Nonconvex', 'Convex', 'ArcChord', 'ArcPieSlice', 'GCFunction', 'GCPlaneMask',
5430'GCForeground', 'GCBackground', 'GCLineWidth', 'GCLineStyle', 'GCCapStyle',
5431'GCJoinStyle', 'GCFillStyle', 'GCFillRule', 'GCTile', 'GCStipple',
5432'GCTileStipXOrigin', 'GCTileStipYOrigin', 'GCFont', 'GCSubwindowMode',
5433'GCGraphicsExposures', 'GCClipXOrigin', 'GCClipYOrigin', 'GCClipMask',
5434'GCDashOffset', 'GCDashList', 'GCArcMode', 'GCLastBit', 'FontLeftToRight',
5435'FontRightToLeft', 'FontChange', 'XYBitmap', 'XYPixmap', 'ZPixmap',
5436'AllocNone', 'AllocAll', 'DoRed', 'DoGreen', 'DoBlue', 'CursorShape',
5437'TileShape', 'StippleShape', 'AutoRepeatModeOff', 'AutoRepeatModeOn',
5438'AutoRepeatModeDefault', 'LedModeOff', 'LedModeOn', 'KBKeyClickPercent',
5439'KBBellPercent', 'KBBellPitch', 'KBBellDuration', 'KBLed', 'KBLedMode',
5440'KBKey', 'KBAutoRepeatMode', 'MappingSuccess', 'MappingBusy', 'MappingFailed',
5441'MappingModifier', 'MappingKeyboard', 'MappingPointer', 'DontPreferBlanking',
5442'PreferBlanking', 'DefaultBlanking', 'DisableScreenSaver',
5443'DisableScreenInterval', 'DontAllowExposures', 'AllowExposures',
5444'DefaultExposures', 'ScreenSaverReset', 'ScreenSaverActive', 'HostInsert',
5445'HostDelete', 'EnableAccess', 'DisableAccess', 'StaticGray', 'GrayScale',
5446'StaticColor', 'PseudoColor', 'TrueColor', 'DirectColor', 'LSBFirst',
5447'MSBFirst', '_Xmblen', 'X_HAVE_UTF8_STRING', 'XPointer', 'Bool', 'Status',
5448'True_', 'False_', 'QueuedAlready', 'QueuedAfterReading', 'QueuedAfterFlush',
5449'XExtData', 'XExtCodes', 'XPixmapFormatValues', 'XGCValues', 'GC', 'Visual',
5450'Depth', 'Screen', 'ScreenFormat', 'XSetWindowAttributes',
5451'XWindowAttributes', 'XHostAddress', 'XServerInterpretedAddress', 'XImage',
5452'XWindowChanges', 'XColor', 'XSegment', 'XPoint', 'XRectangle', 'XArc',
5453'XKeyboardControl', 'XKeyboardState', 'XTimeCoord', 'XModifierKeymap',
5454'Display', '_XPrivDisplay', 'XKeyEvent', 'XKeyPressedEvent',
5455'XKeyReleasedEvent', 'XButtonEvent', 'XButtonPressedEvent',
5456'XButtonReleasedEvent', 'XMotionEvent', 'XPointerMovedEvent',
5457'XCrossingEvent', 'XEnterWindowEvent', 'XLeaveWindowEvent',
5458'XFocusChangeEvent', 'XFocusInEvent', 'XFocusOutEvent', 'XKeymapEvent',
5459'XExposeEvent', 'XGraphicsExposeEvent', 'XNoExposeEvent', 'XVisibilityEvent',
5460'XCreateWindowEvent', 'XDestroyWindowEvent', 'XUnmapEvent', 'XMapEvent',
5461'XMapRequestEvent', 'XReparentEvent', 'XConfigureEvent', 'XGravityEvent',
5462'XResizeRequestEvent', 'XConfigureRequestEvent', 'XCirculateEvent',
5463'XCirculateRequestEvent', 'XPropertyEvent', 'XSelectionClearEvent',
5464'XSelectionRequestEvent', 'XSelectionEvent', 'XColormapEvent',
5465'XClientMessageEvent', 'XMappingEvent', 'XErrorEvent', 'XAnyEvent',
5466'XGenericEvent', 'XGenericEventCookie', 'XEvent', 'XCharStruct', 'XFontProp',
5467'XFontStruct', 'XTextItem', 'XChar2b', 'XTextItem16', 'XEDataObject',
5468'XFontSetExtents', 'XOM', 'XOC', 'XFontSet', 'XmbTextItem', 'XwcTextItem',
5469'XOMCharSetList', 'XOrientation', 'XOMOrientation_LTR_TTB',
5470'XOMOrientation_RTL_TTB', 'XOMOrientation_TTB_LTR', 'XOMOrientation_TTB_RTL',
5471'XOMOrientation_Context', 'XOMOrientation', 'XOMFontInfo', 'XIM', 'XIC',
5472'XIMProc', 'XICProc', 'XIDProc', 'XIMStyle', 'XIMStyles', 'XIMPreeditArea',
5473'XIMPreeditCallbacks', 'XIMPreeditPosition', 'XIMPreeditNothing',
5474'XIMPreeditNone', 'XIMStatusArea', 'XIMStatusCallbacks', 'XIMStatusNothing',
5475'XIMStatusNone', 'XBufferOverflow', 'XLookupNone', 'XLookupChars',
5476'XLookupKeySym', 'XLookupBoth', 'XVaNestedList', 'XIMCallback', 'XICCallback',
5477'XIMFeedback', 'XIMReverse', 'XIMUnderline', 'XIMHighlight', 'XIMPrimary',
5478'XIMSecondary', 'XIMTertiary', 'XIMVisibleToForward', 'XIMVisibleToBackword',
5479'XIMVisibleToCenter', 'XIMText', 'XIMPreeditState', 'XIMPreeditUnKnown',
5480'XIMPreeditEnable', 'XIMPreeditDisable',
5481'XIMPreeditStateNotifyCallbackStruct', 'XIMResetState', 'XIMInitialState',
5482'XIMPreserveState', 'XIMStringConversionFeedback',
5483'XIMStringConversionLeftEdge', 'XIMStringConversionRightEdge',
5484'XIMStringConversionTopEdge', 'XIMStringConversionBottomEdge',
5485'XIMStringConversionConcealed', 'XIMStringConversionWrapped',
5486'XIMStringConversionText', 'XIMStringConversionPosition',
5487'XIMStringConversionType', 'XIMStringConversionBuffer',
5488'XIMStringConversionLine', 'XIMStringConversionWord',
5489'XIMStringConversionChar', 'XIMStringConversionOperation',
5490'XIMStringConversionSubstitution', 'XIMStringConversionRetrieval',
5491'XIMCaretDirection', 'XIMForwardChar', 'XIMBackwardChar', 'XIMForwardWord',
5492'XIMBackwardWord', 'XIMCaretUp', 'XIMCaretDown', 'XIMNextLine',
5493'XIMPreviousLine', 'XIMLineStart', 'XIMLineEnd', 'XIMAbsolutePosition',
5494'XIMDontChange', 'XIMStringConversionCallbackStruct',
5495'XIMPreeditDrawCallbackStruct', 'XIMCaretStyle', 'XIMIsInvisible',
5496'XIMIsPrimary', 'XIMIsSecondary', 'XIMPreeditCaretCallbackStruct',
5497'XIMStatusDataType', 'XIMTextType', 'XIMBitmapType',
5498'XIMStatusDrawCallbackStruct', 'XIMHotKeyTrigger', 'XIMHotKeyTriggers',
5499'XIMHotKeyState', 'XIMHotKeyStateON', 'XIMHotKeyStateOFF', 'XIMValuesList',
5500'XLoadQueryFont', 'XQueryFont', 'XGetMotionEvents', 'XDeleteModifiermapEntry',
5501'XGetModifierMapping', 'XInsertModifiermapEntry', 'XNewModifiermap',
5502'XCreateImage', 'XInitImage', 'XGetImage', 'XGetSubImage', 'XOpenDisplay',
5503'XrmInitialize', 'XFetchBytes', 'XFetchBuffer', 'XGetAtomName',
5504'XGetAtomNames', 'XGetDefault', 'XDisplayName', 'XKeysymToString',
5505'XSynchronize', 'XSetAfterFunction', 'XInternAtom', 'XInternAtoms',
5506'XCopyColormapAndFree', 'XCreateColormap', 'XCreatePixmapCursor',
5507'XCreateGlyphCursor', 'XCreateFontCursor', 'XLoadFont', 'XCreateGC',
5508'XGContextFromGC', 'XFlushGC', 'XCreatePixmap', 'XCreateBitmapFromData',
5509'XCreatePixmapFromBitmapData', 'XCreateSimpleWindow', 'XGetSelectionOwner',
5510'XCreateWindow', 'XListInstalledColormaps', 'XListFonts',
5511'XListFontsWithInfo', 'XGetFontPath', 'XListExtensions', 'XListProperties',
5512'XListHosts', 'XKeycodeToKeysym', 'XLookupKeysym', 'XGetKeyboardMapping',
5513'XStringToKeysym', 'XMaxRequestSize', 'XExtendedMaxRequestSize',
5514'XResourceManagerString', 'XScreenResourceString', 'XDisplayMotionBufferSize',
5515'XVisualIDFromVisual', 'XInitThreads', 'XLockDisplay', 'XUnlockDisplay',
5516'XInitExtension', 'XAddExtension', 'XFindOnExtensionList',
5517'XEHeadOfExtensionList', 'XRootWindow', 'XDefaultRootWindow',
5518'XRootWindowOfScreen', 'XDefaultVisual', 'XDefaultVisualOfScreen',
5519'XDefaultGC', 'XDefaultGCOfScreen', 'XBlackPixel', 'XWhitePixel',
5520'XAllPlanes', 'XBlackPixelOfScreen', 'XWhitePixelOfScreen', 'XNextRequest',
5521'XLastKnownRequestProcessed', 'XServerVendor', 'XDisplayString',
5522'XDefaultColormap', 'XDefaultColormapOfScreen', 'XDisplayOfScreen',
5523'XScreenOfDisplay', 'XDefaultScreenOfDisplay', 'XEventMaskOfScreen',
5524'XScreenNumberOfScreen', 'XErrorHandler', 'XSetErrorHandler',
5525'XIOErrorHandler', 'XSetIOErrorHandler', 'XListPixmapFormats', 'XListDepths',
5526'XReconfigureWMWindow', 'XGetWMProtocols', 'XSetWMProtocols',
5527'XIconifyWindow', 'XWithdrawWindow', 'XGetCommand', 'XGetWMColormapWindows',
5528'XSetWMColormapWindows', 'XFreeStringList', 'XSetTransientForHint',
5529'XActivateScreenSaver', 'XAddHost', 'XAddHosts', 'XAddToExtensionList',
5530'XAddToSaveSet', 'XAllocColor', 'XAllocColorCells', 'XAllocColorPlanes',
5531'XAllocNamedColor', 'XAllowEvents', 'XAutoRepeatOff', 'XAutoRepeatOn',
5532'XBell', 'XBitmapBitOrder', 'XBitmapPad', 'XBitmapUnit', 'XCellsOfScreen',
5533'XChangeActivePointerGrab', 'XChangeGC', 'XChangeKeyboardControl',
5534'XChangeKeyboardMapping', 'XChangePointerControl', 'XChangeProperty',
5535'XChangeSaveSet', 'XChangeWindowAttributes', 'XCheckIfEvent',
5536'XCheckMaskEvent', 'XCheckTypedEvent', 'XCheckTypedWindowEvent',
5537'XCheckWindowEvent', 'XCirculateSubwindows', 'XCirculateSubwindowsDown',
5538'XCirculateSubwindowsUp', 'XClearArea', 'XClearWindow', 'XCloseDisplay',
5539'XConfigureWindow', 'XConnectionNumber', 'XConvertSelection', 'XCopyArea',
5540'XCopyGC', 'XCopyPlane', 'XDefaultDepth', 'XDefaultDepthOfScreen',
5541'XDefaultScreen', 'XDefineCursor', 'XDeleteProperty', 'XDestroyWindow',
5542'XDestroySubwindows', 'XDoesBackingStore', 'XDoesSaveUnders',
5543'XDisableAccessControl', 'XDisplayCells', 'XDisplayHeight',
5544'XDisplayHeightMM', 'XDisplayKeycodes', 'XDisplayPlanes', 'XDisplayWidth',
5545'XDisplayWidthMM', 'XDrawArc', 'XDrawArcs', 'XDrawImageString',
5546'XDrawImageString16', 'XDrawLine', 'XDrawLines', 'XDrawPoint', 'XDrawPoints',
5547'XDrawRectangle', 'XDrawRectangles', 'XDrawSegments', 'XDrawString',
5548'XDrawString16', 'XDrawText', 'XDrawText16', 'XEnableAccessControl',
5549'XEventsQueued', 'XFetchName', 'XFillArc', 'XFillArcs', 'XFillPolygon',
5550'XFillRectangle', 'XFillRectangles', 'XFlush', 'XForceScreenSaver', 'XFree',
5551'XFreeColormap', 'XFreeColors', 'XFreeCursor', 'XFreeExtensionList',
5552'XFreeFont', 'XFreeFontInfo', 'XFreeFontNames', 'XFreeFontPath', 'XFreeGC',
5553'XFreeModifiermap', 'XFreePixmap', 'XGeometry', 'XGetErrorDatabaseText',
5554'XGetErrorText', 'XGetFontProperty', 'XGetGCValues', 'XGetGeometry',
5555'XGetIconName', 'XGetInputFocus', 'XGetKeyboardControl', 'XGetPointerControl',
5556'XGetPointerMapping', 'XGetScreenSaver', 'XGetTransientForHint',
5557'XGetWindowProperty', 'XGetWindowAttributes', 'XGrabButton', 'XGrabKey',
5558'XGrabKeyboard', 'XGrabPointer', 'XGrabServer', 'XHeightMMOfScreen',
5559'XHeightOfScreen', 'XIfEvent', 'XImageByteOrder', 'XInstallColormap',
5560'XKeysymToKeycode', 'XKillClient', 'XLookupColor', 'XLowerWindow',
5561'XMapRaised', 'XMapSubwindows', 'XMapWindow', 'XMaskEvent',
5562'XMaxCmapsOfScreen', 'XMinCmapsOfScreen', 'XMoveResizeWindow', 'XMoveWindow',
5563'XNextEvent', 'XNoOp', 'XParseColor', 'XParseGeometry', 'XPeekEvent',
5564'XPeekIfEvent', 'XPending', 'XPlanesOfScreen', 'XProtocolRevision',
5565'XProtocolVersion', 'XPutBackEvent', 'XPutImage', 'XQLength',
5566'XQueryBestCursor', 'XQueryBestSize', 'XQueryBestStipple', 'XQueryBestTile',
5567'XQueryColor', 'XQueryColors', 'XQueryExtension', 'XQueryKeymap',
5568'XQueryPointer', 'XQueryTextExtents', 'XQueryTextExtents16', 'XQueryTree',
5569'XRaiseWindow', 'XReadBitmapFile', 'XReadBitmapFileData', 'XRebindKeysym',
5570'XRecolorCursor', 'XRefreshKeyboardMapping', 'XRemoveFromSaveSet',
5571'XRemoveHost', 'XRemoveHosts', 'XReparentWindow', 'XResetScreenSaver',
5572'XResizeWindow', 'XRestackWindows', 'XRotateBuffers',
5573'XRotateWindowProperties', 'XScreenCount', 'XSelectInput', 'XSendEvent',
5574'XSetAccessControl', 'XSetArcMode', 'XSetBackground', 'XSetClipMask',
5575'XSetClipOrigin', 'XSetClipRectangles', 'XSetCloseDownMode', 'XSetCommand',
5576'XSetDashes', 'XSetFillRule', 'XSetFillStyle', 'XSetFont', 'XSetFontPath',
5577'XSetForeground', 'XSetFunction', 'XSetGraphicsExposures', 'XSetIconName',
5578'XSetInputFocus', 'XSetLineAttributes', 'XSetModifierMapping',
5579'XSetPlaneMask', 'XSetPointerMapping', 'XSetScreenSaver',
5580'XSetSelectionOwner', 'XSetState', 'XSetStipple', 'XSetSubwindowMode',
5581'XSetTSOrigin', 'XSetTile', 'XSetWindowBackground',
5582'XSetWindowBackgroundPixmap', 'XSetWindowBorder', 'XSetWindowBorderPixmap',
5583'XSetWindowBorderWidth', 'XSetWindowColormap', 'XStoreBuffer', 'XStoreBytes',
5584'XStoreColor', 'XStoreColors', 'XStoreName', 'XStoreNamedColor', 'XSync',
5585'XTextExtents', 'XTextExtents16', 'XTextWidth', 'XTextWidth16',
5586'XTranslateCoordinates', 'XUndefineCursor', 'XUngrabButton', 'XUngrabKey',
5587'XUngrabKeyboard', 'XUngrabPointer', 'XUngrabServer', 'XUninstallColormap',
5588'XUnloadFont', 'XUnmapSubwindows', 'XUnmapWindow', 'XVendorRelease',
5589'XWarpPointer', 'XWidthMMOfScreen', 'XWidthOfScreen', 'XWindowEvent',
5590'XWriteBitmapFile', 'XSupportsLocale', 'XSetLocaleModifiers', 'XOpenOM',
5591'XCloseOM', 'XSetOMValues', 'XGetOMValues', 'XDisplayOfOM', 'XLocaleOfOM',
5592'XCreateOC', 'XDestroyOC', 'XOMOfOC', 'XSetOCValues', 'XGetOCValues',
5593'XCreateFontSet', 'XFreeFontSet', 'XFontsOfFontSet',
5594'XBaseFontNameListOfFontSet', 'XLocaleOfFontSet', 'XContextDependentDrawing',
5595'XDirectionalDependentDrawing', 'XContextualDrawing', 'XExtentsOfFontSet',
5596'XmbTextEscapement', 'XwcTextEscapement', 'Xutf8TextEscapement',
5597'XmbTextExtents', 'XwcTextExtents', 'Xutf8TextExtents',
5598'XmbTextPerCharExtents', 'XwcTextPerCharExtents', 'Xutf8TextPerCharExtents',
5599'XmbDrawText', 'XwcDrawText', 'Xutf8DrawText', 'XmbDrawString',
5600'XwcDrawString', 'Xutf8DrawString', 'XmbDrawImageString',
5601'XwcDrawImageString', 'Xutf8DrawImageString', 'XOpenIM', 'XCloseIM',
5602'XGetIMValues', 'XSetIMValues', 'XDisplayOfIM', 'XLocaleOfIM', 'XCreateIC',
5603'XDestroyIC', 'XSetICFocus', 'XUnsetICFocus', 'XwcResetIC', 'XmbResetIC',
5604'Xutf8ResetIC', 'XSetICValues', 'XGetICValues', 'XIMOfIC', 'XFilterEvent',
5605'XmbLookupString', 'XwcLookupString', 'Xutf8LookupString',
5606'XVaCreateNestedList', 'XRegisterIMInstantiateCallback',
5607'XUnregisterIMInstantiateCallback', 'XConnectionWatchProc',
5608'XInternalConnectionNumbers', 'XProcessInternalConnection',
5609'XAddConnectionWatch', 'XRemoveConnectionWatch', 'XSetAuthorization',
5610'_Xmbtowc', '_Xwctomb', 'XGetEventData', 'XFreeEventData', 'NoValue',
5611'XValue', 'YValue', 'WidthValue', 'HeightValue', 'AllValues', 'XNegative',
5612'YNegative', 'XSizeHints', 'USPosition', 'USSize', 'PPosition', 'PSize',
5613'PMinSize', 'PMaxSize', 'PResizeInc', 'PAspect', 'PBaseSize', 'PWinGravity',
5614'PAllHints', 'XWMHints', 'InputHint', 'StateHint', 'IconPixmapHint',
5615'IconWindowHint', 'IconPositionHint', 'IconMaskHint', 'WindowGroupHint',
5616'AllHints', 'XUrgencyHint', 'WithdrawnState', 'NormalState', 'IconicState',
5617'DontCareState', 'ZoomState', 'InactiveState', 'XTextProperty', 'XNoMemory',
5618'XLocaleNotSupported', 'XConverterNotFound', 'XICCEncodingStyle',
5619'XStringStyle', 'XCompoundTextStyle', 'XTextStyle', 'XStdICCTextStyle',
5620'XUTF8StringStyle', 'XIconSize', 'XClassHint', 'XComposeStatus', 'Region',
5621'RectangleOut', 'RectangleIn', 'RectanglePart', 'XVisualInfo', 'VisualNoMask',
5622'VisualIDMask', 'VisualScreenMask', 'VisualDepthMask', 'VisualClassMask',
5623'VisualRedMaskMask', 'VisualGreenMaskMask', 'VisualBlueMaskMask',
5624'VisualColormapSizeMask', 'VisualBitsPerRGBMask', 'VisualAllMask',
5625'XStandardColormap', 'BitmapSuccess', 'BitmapOpenFailed', 'BitmapFileInvalid',
5626'BitmapNoMemory', 'XCSUCCESS', 'XCNOMEM', 'XCNOENT', 'XContext',
5627'XAllocClassHint', 'XAllocIconSize', 'XAllocSizeHints',
5628'XAllocStandardColormap', 'XAllocWMHints', 'XClipBox', 'XCreateRegion',
5629'XDefaultString', 'XDeleteContext', 'XDestroyRegion', 'XEmptyRegion',
5630'XEqualRegion', 'XFindContext', 'XGetClassHint', 'XGetIconSizes',
5631'XGetNormalHints', 'XGetRGBColormaps', 'XGetSizeHints',
5632'XGetStandardColormap', 'XGetTextProperty', 'XGetVisualInfo',
5633'XGetWMClientMachine', 'XGetWMHints', 'XGetWMIconName', 'XGetWMName',
5634'XGetWMNormalHints', 'XGetWMSizeHints', 'XGetZoomHints', 'XIntersectRegion',
5635'XConvertCase', 'XLookupString', 'XMatchVisualInfo', 'XOffsetRegion',
5636'XPointInRegion', 'XPolygonRegion', 'XRectInRegion', 'XSaveContext',
5637'XSetClassHint', 'XSetIconSizes', 'XSetNormalHints', 'XSetRGBColormaps',
5638'XSetSizeHints', 'XSetStandardProperties', 'XSetTextProperty',
5639'XSetWMClientMachine', 'XSetWMHints', 'XSetWMIconName', 'XSetWMName',
5640'XSetWMNormalHints', 'XSetWMProperties', 'XmbSetWMProperties',
5641'Xutf8SetWMProperties', 'XSetWMSizeHints', 'XSetRegion',
5642'XSetStandardColormap', 'XSetZoomHints', 'XShrinkRegion',
5643'XStringListToTextProperty', 'XSubtractRegion', 'XmbTextListToTextProperty',
5644'XwcTextListToTextProperty', 'Xutf8TextListToTextProperty',
5645'XwcFreeStringList', 'XTextPropertyToStringList', 'XmbTextPropertyToTextList',
5646'XwcTextPropertyToTextList', 'Xutf8TextPropertyToTextList',
5647'XUnionRectWithRegion', 'XUnionRegion', 'XWMGeometry', 'XXorRegion']
5648