Expand description
Bindings to the core X11 protocol.
For more documentation on the X11 protocol, see the protocol reference manual. This is especially recommended for looking up the exact semantics of specific errors, events, or requests.
Structs§
- Access
Control - Alloc
Color Cells Reply - Alloc
Color Cells Request - Alloc
Color Planes Reply - Alloc
Color Planes Request - Alloc
Color Reply - Alloc
Color Request - Allocate a color.
- Alloc
Named Color Reply - Alloc
Named Color Request - Allow
- Fields
- Allow
Events Request - release queued events.
- Arc
- ArcMode
- Atom
Enum - Auto
Repeat Mode - Back
Pixmap - Backing
Store - Bell
Request - Blanking
- Button
Index - Fields
- Button
Mask - Button
Press Event - a mouse button was pressed/released.
- CW
- Fields
- CapStyle
- Change
Active Pointer Grab Request - ChangeGC
Aux - Auxiliary and optional information for the
change_gc
function - ChangeGC
Request - change graphics context components.
- Change
Hosts Request - Change
Keyboard Control Aux - Auxiliary and optional information for the
change_keyboard_control
function - Change
Keyboard Control Request - Change
Keyboard Mapping Request - Change
Pointer Control Request - Change
Property Request - Changes a window property.
- Change
Save SetRequest - Changes a client’s save set.
- Change
Window Attributes Aux - Auxiliary and optional information for the
change_window_attributes
function - Change
Window Attributes Request - change window attributes.
- Char2b
- Charinfo
- Circulate
- Circulate
Notify Event - NOT YET DOCUMENTED.
- Circulate
Window Request - Change window stacking order.
- Clear
Area Request - Client
Message Data - Client
Message Event - NOT YET DOCUMENTED.
- Clip
Ordering - Close
Down - Close
Font Request - Color
Flag - Coloritem
- Colormap
Alloc - Colormap
Enum - Colormap
Notify Event - the colormap for some window changed.
- Colormap
State - Fields
- Config
Window - Configure
Notify Event - NOT YET DOCUMENTED.
- Configure
Request Event - Configure
Window Aux - Auxiliary and optional information for the
configure_window
function - Configure
Window Request - Configures window attributes.
- Convert
Selection Request - Coord
Mode - Fields
- Copy
Area Request - copy areas.
- Copy
Colormap AndFree Request - CopyGC
Request - Copy
Plane Request - Create
Colormap Request - Create
Cursor Request - CreateGC
Aux - Auxiliary and optional information for the
create_gc
function - CreateGC
Request - Creates a graphics context.
- Create
Glyph Cursor Request - create cursor.
- Create
Notify Event - Create
Pixmap Request - Creates a pixmap.
- Create
Window Aux - Auxiliary and optional information for the
create_window
function - Create
Window Request - Creates a window.
- Cursor
Enum - Delete
Property Request - Depth
- Destroy
Notify Event - a window is destroyed.
- Destroy
Subwindows Request - Destroy
Window Request - Destroys a window.
- Enter
Notify Event - the pointer is in a different window.
- Event
Mask - Expose
Event - NOT YET DOCUMENTED.
- Exposures
- Family
- Fill
Poly Request - Fill
Rule - Fill
Style - Focus
InEvent - NOT YET DOCUMENTED.
- Font
Draw - Font
Enum - Fontprop
- Force
Screen Saver Request - Format
- Free
Colormap Request - Free
Colors Request - Free
Cursor Request - Deletes a cursor.
- FreeGC
Request - Destroys a graphics context.
- Free
Pixmap Request - Destroys a pixmap.
- GC
- Fields
- GX
- GeGeneric
Event - generic event (with length).
- GetAtom
Name Reply - GetAtom
Name Request - GetFont
Path Reply - GetFont
Path Request - GetGeometry
Reply - Fields
- GetGeometry
Request - Get current window geometry.
- GetImage
Reply - GetImage
Request - GetInput
Focus Reply - GetInput
Focus Request - GetKeyboard
Control Reply - GetKeyboard
Control Request - GetKeyboard
Mapping Reply - GetKeyboard
Mapping Request - GetModifier
Mapping Reply - GetModifier
Mapping Request - GetMotion
Events Reply - GetMotion
Events Request - GetPointer
Control Reply - GetPointer
Control Request - GetPointer
Mapping Reply - GetPointer
Mapping Request - GetProperty
Reply - Fields
- GetProperty
Request - Gets a window property.
- GetProperty
Type - GetScreen
Saver Reply - GetScreen
Saver Request - GetSelection
Owner Reply - Fields
- GetSelection
Owner Request - Gets the owner of a selection.
- GetWindow
Attributes Reply - Fields
- GetWindow
Attributes Request - Gets window attributes.
- Grab
- Grab
Button Request - Grab pointer button(s).
- Grab
KeyRequest - Grab keyboard key(s).
- Grab
Keyboard Reply - Grab
Keyboard Request - Grab the keyboard.
- Grab
Mode - Fields
- Grab
Pointer Reply - Grab
Pointer Request - Grab the pointer.
- Grab
Server Request - Grab
Status - Graphics
Exposure Event - Gravity
- Gravity
Notify Event - Host
- Host
Mode - Image
Format - Image
Order - Image
Text8 Request - Draws text.
- Image
Text16 Request - Draws text.
- Input
Focus - Fields
- Install
Colormap Request - Intern
Atom Reply - Intern
Atom Request - Get atom identifier by name.
- Join
Style - KB
- KeyBut
Mask - KeyPress
Event - a key was pressed/released.
- Keymap
Notify Event - Kill
- Kill
Client Request - kills a client.
- LedMode
- Line
Style - List
Extensions Reply - List
Extensions Request - List
Fonts Reply - Fields
- List
Fonts Request - get matching font names.
- List
Fonts With Info Reply - Fields
- List
Fonts With Info Request - get matching font names and information.
- List
Hosts Reply - List
Hosts Request - List
Installed Colormaps Reply - List
Installed Colormaps Request - List
Properties Reply - List
Properties Request - Lookup
Color Reply - Lookup
Color Request - MapIndex
- MapNotify
Event - a window was mapped.
- MapRequest
Event - window wants to be mapped.
- MapState
- MapSubwindows
Request - MapWindow
Request - Makes a window visible.
- Mapping
- Mapping
Notify Event - keyboard mapping changed.
- Mapping
Status - ModMask
- Motion
- Motion
Notify Event - a key was pressed.
- NoExposure
Event - NoOperation
Request - Notify
Detail - Notify
Mode - Open
Font Request - opens a font.
- Pixmap
Enum - Place
- Fields
- Point
- Poly
ArcRequest - Poly
Fill ArcRequest - Poly
Fill Rectangle Request - Fills rectangles.
- Poly
Line Request - draw lines.
- Poly
Point Request - Poly
Rectangle Request - Poly
Segment Request - draw lines.
- Poly
Shape - Poly
Text8 Request - Poly
Text16 Request - Prop
Mode - Fields
- Property
- Property
Notify Event - a window property changed.
- PutImage
Request - Query
Best Size Reply - Query
Best Size Request - Query
Colors Reply - Query
Colors Request - Query
Extension Reply - Fields
- Query
Extension Request - check if extension is present.
- Query
Font Reply - Fields
- Query
Font Request - query font metrics.
- Query
Keymap Reply - Query
Keymap Request - Query
Pointer Reply - Fields
- Query
Pointer Request - get pointer coordinates.
- Query
Shape Of - Query
Text Extents Reply - Query
Text Extents Request - get text extents.
- Query
Tree Reply - Fields
- Query
Tree Request - query the window tree.
- Recolor
Cursor Request - Rectangle
- Reparent
Notify Event - Reparent
Window Request - Reparents a window.
- Resize
Request Event - Rgb
- Rotate
Properties Request - Screen
- Screen
Saver - Segment
- Selection
Clear Event - Selection
Notify Event - Selection
Request Event - Send
Event Dest - Send
Event Request - send an event.
- SetAccess
Control Request - SetClip
Rectangles Request - SetClose
Down Mode Request - SetDashes
Request - SetFont
Path Request - SetInput
Focus Request - Sets input focus.
- SetMode
- SetModifier
Mapping Reply - SetModifier
Mapping Request - SetPointer
Mapping Reply - SetPointer
Mapping Request - SetScreen
Saver Request - SetSelection
Owner Request - Sets the owner of a selection.
- Setup
- Setup
Authenticate - Setup
Failed - Setup
Request - Stack
Mode - Store
Colors Request - Store
Named Color Request - Str
- Subwindow
Mode - Time
- Timecoord
- Translate
Coordinates Reply - Translate
Coordinates Request - Ungrab
Button Request - Ungrab
KeyRequest - release a key combination.
- Ungrab
Keyboard Request - Ungrab
Pointer Request - release the pointer.
- Ungrab
Server Request - Uninstall
Colormap Request - Unmap
Notify Event - a window is unmapped.
- Unmap
Subwindows Request - Unmap
Window Request - Makes a window invisible.
- Visibility
- Visibility
Notify Event - Visual
Class - Visualtype
- Warp
Pointer Request - move mouse pointer.
- Window
Class - Window
Enum
Constants§
- ACCESS_
ERROR - Opcode for the Access error
- ALLOC_
COLOR_ CELLS_ REQUEST - Opcode for the AllocColorCells request
- ALLOC_
COLOR_ PLANES_ REQUEST - Opcode for the AllocColorPlanes request
- ALLOC_
COLOR_ REQUEST - Opcode for the AllocColor request
- ALLOC_
ERROR - Opcode for the Alloc error
- ALLOC_
NAMED_ COLOR_ REQUEST - Opcode for the AllocNamedColor request
- ALLOW_
EVENTS_ REQUEST - Opcode for the AllowEvents request
- ATOM_
ERROR - Opcode for the Atom error
- BELL_
REQUEST - Opcode for the Bell request
- BUTTON_
PRESS_ EVENT - Opcode for the ButtonPress event
- BUTTON_
RELEASE_ EVENT - Opcode for the ButtonRelease event
- CHANGE_
ACTIVE_ POINTER_ GRAB_ REQUEST - Opcode for the ChangeActivePointerGrab request
- CHANGE_
GC_ REQUEST - Opcode for the ChangeGC request
- CHANGE_
HOSTS_ REQUEST - Opcode for the ChangeHosts request
- CHANGE_
KEYBOARD_ CONTROL_ REQUEST - Opcode for the ChangeKeyboardControl request
- CHANGE_
KEYBOARD_ MAPPING_ REQUEST - Opcode for the ChangeKeyboardMapping request
- CHANGE_
POINTER_ CONTROL_ REQUEST - Opcode for the ChangePointerControl request
- CHANGE_
PROPERTY_ REQUEST - Opcode for the ChangeProperty request
- CHANGE_
SAVE_ SET_ REQUEST - Opcode for the ChangeSaveSet request
- CHANGE_
WINDOW_ ATTRIBUTES_ REQUEST - Opcode for the ChangeWindowAttributes request
- CIRCULATE_
NOTIFY_ EVENT - Opcode for the CirculateNotify event
- CIRCULATE_
REQUEST_ EVENT - Opcode for the CirculateRequest event
- CIRCULATE_
WINDOW_ REQUEST - Opcode for the CirculateWindow request
- CLEAR_
AREA_ REQUEST - Opcode for the ClearArea request
- CLIENT_
MESSAGE_ EVENT - Opcode for the ClientMessage event
- CLOSE_
FONT_ REQUEST - Opcode for the CloseFont request
- COLORMAP_
ERROR - Opcode for the Colormap error
- COLORMAP_
NOTIFY_ EVENT - Opcode for the ColormapNotify event
- CONFIGURE_
NOTIFY_ EVENT - Opcode for the ConfigureNotify event
- CONFIGURE_
REQUEST_ EVENT - Opcode for the ConfigureRequest event
- CONFIGURE_
WINDOW_ REQUEST - Opcode for the ConfigureWindow request
- CONVERT_
SELECTION_ REQUEST - Opcode for the ConvertSelection request
- COPY_
AREA_ REQUEST - Opcode for the CopyArea request
- COPY_
COLORMAP_ AND_ FREE_ REQUEST - Opcode for the CopyColormapAndFree request
- COPY_
GC_ REQUEST - Opcode for the CopyGC request
- COPY_
PLANE_ REQUEST - Opcode for the CopyPlane request
- CREATE_
COLORMAP_ REQUEST - Opcode for the CreateColormap request
- CREATE_
CURSOR_ REQUEST - Opcode for the CreateCursor request
- CREATE_
GC_ REQUEST - Opcode for the CreateGC request
- CREATE_
GLYPH_ CURSOR_ REQUEST - Opcode for the CreateGlyphCursor request
- CREATE_
NOTIFY_ EVENT - Opcode for the CreateNotify event
- CREATE_
PIXMAP_ REQUEST - Opcode for the CreatePixmap request
- CREATE_
WINDOW_ REQUEST - Opcode for the CreateWindow request
- CURSOR_
ERROR - Opcode for the Cursor error
- DELETE_
PROPERTY_ REQUEST - Opcode for the DeleteProperty request
- DESTROY_
NOTIFY_ EVENT - Opcode for the DestroyNotify event
- DESTROY_
SUBWINDOWS_ REQUEST - Opcode for the DestroySubwindows request
- DESTROY_
WINDOW_ REQUEST - Opcode for the DestroyWindow request
- DRAWABLE_
ERROR - Opcode for the Drawable error
- ENTER_
NOTIFY_ EVENT - Opcode for the EnterNotify event
- EXPOSE_
EVENT - Opcode for the Expose event
- FILL_
POLY_ REQUEST - Opcode for the FillPoly request
- FOCUS_
IN_ EVENT - Opcode for the FocusIn event
- FOCUS_
OUT_ EVENT - Opcode for the FocusOut event
- FONT_
ERROR - Opcode for the Font error
- FORCE_
SCREEN_ SAVER_ REQUEST - Opcode for the ForceScreenSaver request
- FREE_
COLORMAP_ REQUEST - Opcode for the FreeColormap request
- FREE_
COLORS_ REQUEST - Opcode for the FreeColors request
- FREE_
CURSOR_ REQUEST - Opcode for the FreeCursor request
- FREE_
GC_ REQUEST - Opcode for the FreeGC request
- FREE_
PIXMAP_ REQUEST - Opcode for the FreePixmap request
- GET_
ATOM_ NAME_ REQUEST - Opcode for the GetAtomName request
- GET_
FONT_ PATH_ REQUEST - Opcode for the GetFontPath request
- GET_
GEOMETRY_ REQUEST - Opcode for the GetGeometry request
- GET_
IMAGE_ REQUEST - Opcode for the GetImage request
- GET_
INPUT_ FOCUS_ REQUEST - Opcode for the GetInputFocus request
- GET_
KEYBOARD_ CONTROL_ REQUEST - Opcode for the GetKeyboardControl request
- GET_
KEYBOARD_ MAPPING_ REQUEST - Opcode for the GetKeyboardMapping request
- GET_
MODIFIER_ MAPPING_ REQUEST - Opcode for the GetModifierMapping request
- GET_
MOTION_ EVENTS_ REQUEST - Opcode for the GetMotionEvents request
- GET_
POINTER_ CONTROL_ REQUEST - Opcode for the GetPointerControl request
- GET_
POINTER_ MAPPING_ REQUEST - Opcode for the GetPointerMapping request
- GET_
PROPERTY_ REQUEST - Opcode for the GetProperty request
- GET_
SCREEN_ SAVER_ REQUEST - Opcode for the GetScreenSaver request
- GET_
SELECTION_ OWNER_ REQUEST - Opcode for the GetSelectionOwner request
- GET_
WINDOW_ ATTRIBUTES_ REQUEST - Opcode for the GetWindowAttributes request
- GE_
GENERIC_ EVENT - Opcode for the GeGeneric event
- GRAB_
BUTTON_ REQUEST - Opcode for the GrabButton request
- GRAB_
KEYBOARD_ REQUEST - Opcode for the GrabKeyboard request
- GRAB_
KEY_ REQUEST - Opcode for the GrabKey request
- GRAB_
POINTER_ REQUEST - Opcode for the GrabPointer request
- GRAB_
SERVER_ REQUEST - Opcode for the GrabServer request
- GRAPHICS_
EXPOSURE_ EVENT - Opcode for the GraphicsExposure event
- GRAVITY_
NOTIFY_ EVENT - Opcode for the GravityNotify event
- G_
CONTEXT_ ERROR - Opcode for the GContext error
- ID_
CHOICE_ ERROR - Opcode for the IDChoice error
- IMAGE_
TEXT8_ REQUEST - Opcode for the ImageText8 request
- IMAGE_
TEXT16_ REQUEST - Opcode for the ImageText16 request
- IMPLEMENTATION_
ERROR - Opcode for the Implementation error
- INSTALL_
COLORMAP_ REQUEST - Opcode for the InstallColormap request
- INTERN_
ATOM_ REQUEST - Opcode for the InternAtom request
- KEYMAP_
NOTIFY_ EVENT - Opcode for the KeymapNotify event
- KEY_
PRESS_ EVENT - Opcode for the KeyPress event
- KEY_
RELEASE_ EVENT - Opcode for the KeyRelease event
- KILL_
CLIENT_ REQUEST - Opcode for the KillClient request
- LEAVE_
NOTIFY_ EVENT - Opcode for the LeaveNotify event
- LENGTH_
ERROR - Opcode for the Length error
- LIST_
EXTENSIONS_ REQUEST - Opcode for the ListExtensions request
- LIST_
FONTS_ REQUEST - Opcode for the ListFonts request
- LIST_
FONTS_ WITH_ INFO_ REQUEST - Opcode for the ListFontsWithInfo request
- LIST_
HOSTS_ REQUEST - Opcode for the ListHosts request
- LIST_
INSTALLED_ COLORMAPS_ REQUEST - Opcode for the ListInstalledColormaps request
- LIST_
PROPERTIES_ REQUEST - Opcode for the ListProperties request
- LOOKUP_
COLOR_ REQUEST - Opcode for the LookupColor request
- MAPPING_
NOTIFY_ EVENT - Opcode for the MappingNotify event
- MAP_
NOTIFY_ EVENT - Opcode for the MapNotify event
- MAP_
REQUEST_ EVENT - Opcode for the MapRequest event
- MAP_
SUBWINDOWS_ REQUEST - Opcode for the MapSubwindows request
- MAP_
WINDOW_ REQUEST - Opcode for the MapWindow request
- MATCH_
ERROR - Opcode for the Match error
- MOTION_
NOTIFY_ EVENT - Opcode for the MotionNotify event
- NAME_
ERROR - Opcode for the Name error
- NO_
EXPOSURE_ EVENT - Opcode for the NoExposure event
- NO_
OPERATION_ REQUEST - Opcode for the NoOperation request
- OPEN_
FONT_ REQUEST - Opcode for the OpenFont request
- PIXMAP_
ERROR - Opcode for the Pixmap error
- POLY_
ARC_ REQUEST - Opcode for the PolyArc request
- POLY_
FILL_ ARC_ REQUEST - Opcode for the PolyFillArc request
- POLY_
FILL_ RECTANGLE_ REQUEST - Opcode for the PolyFillRectangle request
- POLY_
LINE_ REQUEST - Opcode for the PolyLine request
- POLY_
POINT_ REQUEST - Opcode for the PolyPoint request
- POLY_
RECTANGLE_ REQUEST - Opcode for the PolyRectangle request
- POLY_
SEGMENT_ REQUEST - Opcode for the PolySegment request
- POLY_
TEXT8_ REQUEST - Opcode for the PolyText8 request
- POLY_
TEXT16_ REQUEST - Opcode for the PolyText16 request
- PROPERTY_
NOTIFY_ EVENT - Opcode for the PropertyNotify event
- PUT_
IMAGE_ REQUEST - Opcode for the PutImage request
- QUERY_
BEST_ SIZE_ REQUEST - Opcode for the QueryBestSize request
- QUERY_
COLORS_ REQUEST - Opcode for the QueryColors request
- QUERY_
EXTENSION_ REQUEST - Opcode for the QueryExtension request
- QUERY_
FONT_ REQUEST - Opcode for the QueryFont request
- QUERY_
KEYMAP_ REQUEST - Opcode for the QueryKeymap request
- QUERY_
POINTER_ REQUEST - Opcode for the QueryPointer request
- QUERY_
TEXT_ EXTENTS_ REQUEST - Opcode for the QueryTextExtents request
- QUERY_
TREE_ REQUEST - Opcode for the QueryTree request
- RECOLOR_
CURSOR_ REQUEST - Opcode for the RecolorCursor request
- REPARENT_
NOTIFY_ EVENT - Opcode for the ReparentNotify event
- REPARENT_
WINDOW_ REQUEST - Opcode for the ReparentWindow request
- REQUEST_
ERROR - Opcode for the Request error
- RESIZE_
REQUEST_ EVENT - Opcode for the ResizeRequest event
- ROTATE_
PROPERTIES_ REQUEST - Opcode for the RotateProperties request
- SELECTION_
CLEAR_ EVENT - Opcode for the SelectionClear event
- SELECTION_
NOTIFY_ EVENT - Opcode for the SelectionNotify event
- SELECTION_
REQUEST_ EVENT - Opcode for the SelectionRequest event
- SEND_
EVENT_ REQUEST - Opcode for the SendEvent request
- SET_
ACCESS_ CONTROL_ REQUEST - Opcode for the SetAccessControl request
- SET_
CLIP_ RECTANGLES_ REQUEST - Opcode for the SetClipRectangles request
- SET_
CLOSE_ DOWN_ MODE_ REQUEST - Opcode for the SetCloseDownMode request
- SET_
DASHES_ REQUEST - Opcode for the SetDashes request
- SET_
FONT_ PATH_ REQUEST - Opcode for the SetFontPath request
- SET_
INPUT_ FOCUS_ REQUEST - Opcode for the SetInputFocus request
- SET_
MODIFIER_ MAPPING_ REQUEST - Opcode for the SetModifierMapping request
- SET_
POINTER_ MAPPING_ REQUEST - Opcode for the SetPointerMapping request
- SET_
SCREEN_ SAVER_ REQUEST - Opcode for the SetScreenSaver request
- SET_
SELECTION_ OWNER_ REQUEST - Opcode for the SetSelectionOwner request
- STORE_
COLORS_ REQUEST - Opcode for the StoreColors request
- STORE_
NAMED_ COLOR_ REQUEST - Opcode for the StoreNamedColor request
- TRANSLATE_
COORDINATES_ REQUEST - Opcode for the TranslateCoordinates request
- UNGRAB_
BUTTON_ REQUEST - Opcode for the UngrabButton request
- UNGRAB_
KEYBOARD_ REQUEST - Opcode for the UngrabKeyboard request
- UNGRAB_
KEY_ REQUEST - Opcode for the UngrabKey request
- UNGRAB_
POINTER_ REQUEST - Opcode for the UngrabPointer request
- UNGRAB_
SERVER_ REQUEST - Opcode for the UngrabServer request
- UNINSTALL_
COLORMAP_ REQUEST - Opcode for the UninstallColormap request
- UNMAP_
NOTIFY_ EVENT - Opcode for the UnmapNotify event
- UNMAP_
SUBWINDOWS_ REQUEST - Opcode for the UnmapSubwindows request
- UNMAP_
WINDOW_ REQUEST - Opcode for the UnmapWindow request
- VALUE_
ERROR - Opcode for the Value error
- VISIBILITY_
NOTIFY_ EVENT - Opcode for the VisibilityNotify event
- WARP_
POINTER_ REQUEST - Opcode for the WarpPointer request
- WINDOW_
ERROR - Opcode for the Window error