Module: X11::Form

Defined in:
lib/X11/form.rb

Defined Under Namespace

Modules: Atoms Classes: AtomName, BaseForm, ButtonPress, ButtonRelease, ChangeGC, ChangeProperty, ChangeSaveSet, ChangeWindowAttributes, ClearArea, ClientHandshake, ClientMessage, ConfigureNotify, ConfigureRequest, ConfigureWindow, CopyArea, CreateColormap, CreateGC, CreateNotify, CreatePixmap, CreateWindow, DepthInfo, DestroyNotify, DestroyWindow, DirectFormat, DisplayInfo, EnterLeaveNotify, EnterNotify, Error, Event, Expose, FocusIn, FocusOut, Form, FormatInfo, FreePixmap, Geometry, GetAtomName, GetGeometry, GetKeyboardMapping, GetKeyboardMappingReply, GetProperty, GetWindowAttributes, GlyphElt32, GlyphInfo, GrabButton, GrabKey, ImageText16, ImageText8, InputEvent, InternAtom, InternAtomReply, KeyPress, KeyRelease, LeaveNotify, ListFonts, ListFontsReply, MapNotify, MapRequest, MapWindow, MotionNotify, NoExposure, OpenFont, PictDepth, PictFormInfo, PictScreen, PictVisual, PolyFillRectangle, PressEvent, Property, PropertyNotify, PutImage, QueryExtension, QueryExtensionReply, QueryPointer, QueryPointerReply, QueryTree, QueryTreeReply, Rectangle, ReparentNotify, ReparentWindow, Reply, ScreenInfo, SendEvent, SimpleEvent, Str, UnmapNotify, UnmapWindow, VisualInfo, WindowAttributes, XRenderAddGlyphs, XRenderColor, XRenderCompositeGlyphs32, XRenderCreateGlyphSet, XRenderCreatePicture, XRenderCreateSolidFill, XRenderFillRectangles, XRenderFreePicture, XRenderQueryPictFormats, XRenderQueryPictFormatsReply, XRenderQueryVersion, XRenderQueryVersionReply

Constant Summary collapse

PointerWindow =
0
InputFocus =
1
AtomAtom =

FIXME: Deprecated in favour of the Constants module

4
CardinalAtom =
6
WindowAtom =
33
CopyFromParent =

Constants, p112 onwards

0
InputOutput =
1
InputOnly =
2
CWBackPixmap =
0x0001
CWBackPixel =
0x0002
CWBorderPixmap =
0x0004
CWBorderPixel =
0x0008
CWBitGravity =
0x0010
CWWinGravity =
0x0020
CWBackingStore =
0x0040
CWBackingPlanes =
0x0080
CWBackingPixel =
0x0100
CWOverrideRedirect =
0x0200
CWSaveUnder =
0x0400
CWEventMask =
0x0800
CWColorMap =
0x2000
KeyPressMask =
0x000001
KeyReleaseMask =
0x000002
ButtonPressMask =
0x000004
ButtonReleaseMask =
0x000008
EnterWindowMask =
0x000010
LeaveWindowMask =
0x000020
PointerMotionMask =
0x000040
PointerMotionHintMask =
0x000080
Button1MotionMask =
0x000100
ExposureMask =

0x200 .. 0x40000; page 113

0x008000
VisibilityChangeMask =
0x010000
StructureNotifyMask =
0x020000
ResizeRedirectMask =
0x040000
SubstructureNotifyMask =
0x080000
SubstructureRedirectMask =
0x100000
FocusChangeMask =
0x200000
PropertyChangeMask =
0x400000
ColormapChangeMask =
0x800000
OwnerGrabButtonMask =
0x100000
Replace =
0
Prepend =
1
Append =
2
FunctionMask =
0x1
PlaneMask =
0x2
ForegroundMask =
0x04
BackgroundMask =
0x08
FontMask =
0x4000
GraphicsExposures =
0x10000
Bitmap =
0
XYPixmap =
1
ZPixmap =
2
Shift =

Events (page ~157) FIXME: Events have quite a bit of redundancy, but unfortunately BaseForm can’t handle subclassing well.

0x0001
Lock =
0x0002
Control =
0x0004
Mod1 =
0x0008
Mod2 =
0x0010
Mod3 =
0x0020
Mod4 =
0x0040
Mod5 =
0x0080
Button1 =
0x0100
Button2 =
0x0200
Button3 =
0x0400
Button4 =
0x0800
Button5 =
0x1000