Consts
Above = 0
AllocAll = 1
AllocNone = 0
AllowExposures = 1
AllTemporary = 0
AlreadyGrabbed = 1
Always = 2
AnyButton = 0
AnyKey = 0
AnyModifier = 32768
AnyPropertyType = 0
ArcChord = 0
ArcPieSlice = 1
AsyncBoth = 6
AsyncKeyboard = 3
AsyncPointer = 0
AutoRepeatModeOn = 1
BadAccess = 10
BadAlloc = 11
BadAtom = 5
BadColor = 12
BadCursor = 6
BadDrawable = 9
BadFont = 7
BadGC = 13
BadIDChoice = 14
BadImplementation = 17
BadLength = 16
BadMatch = 8
BadName = 15
BadPixmap = 4
BadRequest = 1
BadValue = 2
BadWindow = 3
Below = 1
BottomIf = 3
Button1 = 1
Button1Mask = 256
Button1MotionMask = 256
Button2 = 2
Button2Mask = 512
Button2MotionMask = 512
Button3 = 3
Button3Mask = 1024
Button3MotionMask = 1024
Button4 = 4
Button4Mask = 2048
Button4MotionMask = 2048
Button5 = 5
Button5Mask = 4096
Button5MotionMask = 4096
ButtonMotionMask = 8192
ButtonPress = 4
ButtonPressMask = 4
ButtonRelease = 5
CapButt = 1
CapNotLast = 0
CapProjecting = 3
CapRound = 2
CenterGravity = 5
CirculateNotify = 26
CirculateRequest = 27
ClientMessage = 33
ClipByChildren = 0
ColormapChangeMask = 8388608
ColormapNotify = 32
Complex = 0
ConfigureNotify = 22
ConfigureRequest = 23
ControlMapIndex = 2
ControlMask = 4
Convex = 2
CoordModeOrigin = 0
CopyFromParent = 0
CreateNotify = 16
CurrentTime = 0
CursorShape = 0
CWBackingPixel = 256
CWBackingPlanes = 128
CWBackingStore = 64
CWBackPixel = 2
CWBackPixmap = 1
CWBitGravity = 16
CWBorderPixel = 8
CWBorderPixmap = 4
CWBorderWidth = 16
CWColormap = 8192
CWCursor = 16384
CWDontPropagate = 4096
CWEventMask = 2048
CWHeight = 8
CWOverrideRedirect = 512
CWSaveUnder = 1024
CWSibling = 32
CWStackMode = 64
CWWidth = 4
CWWinGravity = 32
CWX = 1
CWY = 2
DefaultBlanking = 2
DefaultExposures = 2
DestroyAll = 0
DestroyNotify = 17
DirectColor = 5
DisableAccess = 0
DoBlue = 4
DoGreen = 2
DoRed = 1
EastGravity = 6
EnableAccess = 1
EnterNotify = 7
EnterWindowMask = 16
EvenOddRule = 0
Expose = 12
ExposureMask = 32768
FamilyChaos = 2
FamilyDECnet = 1
FamilyInternet = 0
FamilyInternet6 = 6
FillSolid = 0
FillStippled = 2
FillTiled = 1
FirstExtensionError = 128
FocusChangeMask = 2097152
FocusIn = 9
FocusOut = 10
FontChange = 255
FontLeftToRight = 0
FontRightToLeft = 1
ForgetGravity = 0
GCArcMode = 4194304
GCBackground = 8
GCCapStyle = 64
GCClipMask = 524288
GCClipXOrigin = 131072
GCClipYOrigin = 262144
GCDashList = 2097152
GCDashOffset = 1048576
GCFillRule = 512
GCFillStyle = 256
GCFont = 16384
GCForeground = 4
GCFunction = 1
GCGraphicsExposures = 65536
GCJoinStyle = 128
GCLastBit = 22
GCLineStyle = 32
GCLineWidth = 16
GCPlaneMask = 2
GCStipple = 2048
GCSubwindowMode = 32768
GCTile = 1024
GCTileStipXOrigin = 4096
GCTileStipYOrigin = 8192
GenericEvent = 35
GrabFrozen = 4
GrabInvalidTime = 2
GrabModeAsync = 1
GrabModeSync = 0
GrabNotViewable = 3
GrabSuccess = 0
GraphicsExpose = 13
GravityNotify = 24
GrayScale = 1
GXand = 0x00000001
GXandInverted = 0x00000004
GXandReverse = 0x00000002
GXclear = 0x00000000
GXcopy = 0x00000003
GXcopyInverted = 0x0000000C
GXequiv = 0x00000009
GXinvert = 0x0000000A
GXnand = 0x0000000E
GXnoop = 0x00000005
GXnor = 0x00000008
GXor = 0x00000007
GXorInverted = 0x0000000D
GXorReverse = 0x0000000B
GXset = 0x0000000F
GXxor = 0x00000006
HostDelete = 1
HostInsert = 0
IncludeInferiors = 1
InputFocus = 1
InputOnly = 2
InputOutput = 1
IsUnmapped = 0
IsUnviewable = 1
IsViewable = 2
JoinBevel = 2
JoinMiter = 0
JoinRound = 1
KBAutoRepeatMode = 128
KBBellDuration = 8
KBBellPercent = 2
KBBellPitch = 4
KBKey = 64
KBLed = 16
KBLedMode = 32
KeymapNotify = 11
KeymapStateMask = 16384
KeyPress = 2
KeyPressMask = 1
KeyRelease = 3
KeyReleaseMask = 2
LASTEvent = 36
LastExtensionError = 255
LeaveNotify = 8
LeaveWindowMask = 32
LedModeOff = 0
LedModeOn = 1
LineDoubleDash = 2
LineOnOffDash = 1
LineSolid = 0
LockMapIndex = 1
LockMask = 2
LowerHighest = 1
LSBFirst = 0
MapNotify = 19
MappingBusy = 1
MappingFailed = 2
MappingKeyboard = 1
MappingModifier = 0
MappingNotify = 34
MappingPointer = 2
MappingSuccess = 0
MapRequest = 20
Mod1MapIndex = 3
Mod1Mask = 8
Mod2MapIndex = 4
Mod2Mask = 16
Mod3MapIndex = 5
Mod3Mask = 32
Mod4MapIndex = 6
Mod4Mask = 64
Mod5MapIndex = 7
Mod5Mask = 128
MotionNotify = 6
MSBFirst = 1
NoEventMask = 0
NoExpose = 14
Nonconvex = 1
None = 0
NorthEastGravity = 3
NorthGravity = 2
NorthWestGravity = 1
NoSymbol = 0
NotifyAncestor = 0
NotifyDetailNone = 7
NotifyGrab = 1
NotifyHint = 1
NotifyInferior = 2
NotifyNonlinear = 3
NotifyNormal = 0
NotifyPointer = 5
NotifyUngrab = 2
NotifyVirtual = 1
NotUseful = 0
Opposite = 4
OwnerGrabButtonMask = 16777216
ParentRelative = 1
PlaceOnBottom = 1
PlaceOnTop = 0
PointerMotionHintMask = 128
PointerMotionMask = 64
PointerRoot = 1
PointerWindow = 0
PreferBlanking = 1
PropertyChangeMask = 4194304
PropertyDelete = 1
PropertyNewValue = 0
PropertyNotify = 28
PropModeAppend = 2
PropModePrepend = 1
PropModeReplace = 0
PseudoColor = 3
RaiseLowest = 0
ReparentNotify = 21
ReplayKeyboard = 5
ReplayPointer = 2
ResizeRedirectMask = 262144
ResizeRequest = 25
RetainPermanent = 1
RetainTemporary = 2
RevertToNone = 0
RevertToParent = 2
ScreenSaverReset = 0
SelectionClear = 29
SelectionNotify = 31
SelectionRequest = 30
SetModeDelete = 1
SetModeInsert = 0
ShiftMapIndex = 0
ShiftMask = 1
SouthEastGravity = 9
SouthGravity = 8
SouthWestGravity = 7
StaticColor = 2
StaticGravity = 10
StaticGray = 0
StippleShape = 2
StructureNotifyMask = 131072
SubstructureNotifyMask = 524288
SubstructureRedirectMask = 1048576
Success = 0
SyncBoth = 7
SyncKeyboard = 4
SyncPointer = 1
TileShape = 1
TopIf = 2
TrueColor = 4
UnmapGravity = 0
UnmapNotify = 18
Unsorted = 0
VisibilityChangeMask = 65536
VisibilityNotify = 15
WestGravity = 4
WhenMapped = 1
WindingRule = 1
X_PROTOCOL = 11
XYBitmap = 0
XYPixmap = 1
YSorted = 1
YXBanded = 3
YXSorted = 2
ZPixmap = 2