Module xproto

Source
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§

AccessControl
AllocColorCellsReply
AllocColorCellsRequest
AllocColorPlanesReply
AllocColorPlanesRequest
AllocColorReply
AllocColorRequest
Allocate a color.
AllocNamedColorReply
AllocNamedColorRequest
Allow
Fields
AllowEventsRequest
release queued events.
Arc
ArcMode
AtomEnum
AutoRepeatMode
BackPixmap
BackingStore
BellRequest
Blanking
ButtonIndex
Fields
ButtonMask
ButtonPressEvent
a mouse button was pressed/released.
CW
Fields
CapStyle
ChangeActivePointerGrabRequest
ChangeGCAux
Auxiliary and optional information for the change_gc function
ChangeGCRequest
change graphics context components.
ChangeHostsRequest
ChangeKeyboardControlAux
Auxiliary and optional information for the change_keyboard_control function
ChangeKeyboardControlRequest
ChangeKeyboardMappingRequest
ChangePointerControlRequest
ChangePropertyRequest
Changes a window property.
ChangeSaveSetRequest
Changes a client’s save set.
ChangeWindowAttributesAux
Auxiliary and optional information for the change_window_attributes function
ChangeWindowAttributesRequest
change window attributes.
Char2b
Charinfo
Circulate
CirculateNotifyEvent
NOT YET DOCUMENTED.
CirculateWindowRequest
Change window stacking order.
ClearAreaRequest
ClientMessageData
ClientMessageEvent
NOT YET DOCUMENTED.
ClipOrdering
CloseDown
CloseFontRequest
ColorFlag
Coloritem
ColormapAlloc
ColormapEnum
ColormapNotifyEvent
the colormap for some window changed.
ColormapState
Fields
ConfigWindow
ConfigureNotifyEvent
NOT YET DOCUMENTED.
ConfigureRequestEvent
ConfigureWindowAux
Auxiliary and optional information for the configure_window function
ConfigureWindowRequest
Configures window attributes.
ConvertSelectionRequest
CoordMode
Fields
CopyAreaRequest
copy areas.
CopyColormapAndFreeRequest
CopyGCRequest
CopyPlaneRequest
CreateColormapRequest
CreateCursorRequest
CreateGCAux
Auxiliary and optional information for the create_gc function
CreateGCRequest
Creates a graphics context.
CreateGlyphCursorRequest
create cursor.
CreateNotifyEvent
CreatePixmapRequest
Creates a pixmap.
CreateWindowAux
Auxiliary and optional information for the create_window function
CreateWindowRequest
Creates a window.
CursorEnum
DeletePropertyRequest
Depth
DestroyNotifyEvent
a window is destroyed.
DestroySubwindowsRequest
DestroyWindowRequest
Destroys a window.
EnterNotifyEvent
the pointer is in a different window.
EventMask
ExposeEvent
NOT YET DOCUMENTED.
Exposures
Family
FillPolyRequest
FillRule
FillStyle
FocusInEvent
NOT YET DOCUMENTED.
FontDraw
FontEnum
Fontprop
ForceScreenSaverRequest
Format
FreeColormapRequest
FreeColorsRequest
FreeCursorRequest
Deletes a cursor.
FreeGCRequest
Destroys a graphics context.
FreePixmapRequest
Destroys a pixmap.
GC
Fields
GX
GeGenericEvent
generic event (with length).
GetAtomNameReply
GetAtomNameRequest
GetFontPathReply
GetFontPathRequest
GetGeometryReply
Fields
GetGeometryRequest
Get current window geometry.
GetImageReply
GetImageRequest
GetInputFocusReply
GetInputFocusRequest
GetKeyboardControlReply
GetKeyboardControlRequest
GetKeyboardMappingReply
GetKeyboardMappingRequest
GetModifierMappingReply
GetModifierMappingRequest
GetMotionEventsReply
GetMotionEventsRequest
GetPointerControlReply
GetPointerControlRequest
GetPointerMappingReply
GetPointerMappingRequest
GetPropertyReply
Fields
GetPropertyRequest
Gets a window property.
GetPropertyType
GetScreenSaverReply
GetScreenSaverRequest
GetSelectionOwnerReply
Fields
GetSelectionOwnerRequest
Gets the owner of a selection.
GetWindowAttributesReply
Fields
GetWindowAttributesRequest
Gets window attributes.
Grab
GrabButtonRequest
Grab pointer button(s).
GrabKeyRequest
Grab keyboard key(s).
GrabKeyboardReply
GrabKeyboardRequest
Grab the keyboard.
GrabMode
Fields
GrabPointerReply
GrabPointerRequest
Grab the pointer.
GrabServerRequest
GrabStatus
GraphicsExposureEvent
Gravity
GravityNotifyEvent
Host
HostMode
ImageFormat
ImageOrder
ImageText8Request
Draws text.
ImageText16Request
Draws text.
InputFocus
Fields
InstallColormapRequest
InternAtomReply
InternAtomRequest
Get atom identifier by name.
JoinStyle
KB
KeyButMask
KeyPressEvent
a key was pressed/released.
KeymapNotifyEvent
Kill
KillClientRequest
kills a client.
LedMode
LineStyle
ListExtensionsReply
ListExtensionsRequest
ListFontsReply
Fields
ListFontsRequest
get matching font names.
ListFontsWithInfoReply
Fields
ListFontsWithInfoRequest
get matching font names and information.
ListHostsReply
ListHostsRequest
ListInstalledColormapsReply
ListInstalledColormapsRequest
ListPropertiesReply
ListPropertiesRequest
LookupColorReply
LookupColorRequest
MapIndex
MapNotifyEvent
a window was mapped.
MapRequestEvent
window wants to be mapped.
MapState
MapSubwindowsRequest
MapWindowRequest
Makes a window visible.
Mapping
MappingNotifyEvent
keyboard mapping changed.
MappingStatus
ModMask
Motion
MotionNotifyEvent
a key was pressed.
NoExposureEvent
NoOperationRequest
NotifyDetail
NotifyMode
OpenFontRequest
opens a font.
PixmapEnum
Place
Fields
Point
PolyArcRequest
PolyFillArcRequest
PolyFillRectangleRequest
Fills rectangles.
PolyLineRequest
draw lines.
PolyPointRequest
PolyRectangleRequest
PolySegmentRequest
draw lines.
PolyShape
PolyText8Request
PolyText16Request
PropMode
Fields
Property
PropertyNotifyEvent
a window property changed.
PutImageRequest
QueryBestSizeReply
QueryBestSizeRequest
QueryColorsReply
QueryColorsRequest
QueryExtensionReply
Fields
QueryExtensionRequest
check if extension is present.
QueryFontReply
Fields
QueryFontRequest
query font metrics.
QueryKeymapReply
QueryKeymapRequest
QueryPointerReply
Fields
QueryPointerRequest
get pointer coordinates.
QueryShapeOf
QueryTextExtentsReply
QueryTextExtentsRequest
get text extents.
QueryTreeReply
Fields
QueryTreeRequest
query the window tree.
RecolorCursorRequest
Rectangle
ReparentNotifyEvent
ReparentWindowRequest
Reparents a window.
ResizeRequestEvent
Rgb
RotatePropertiesRequest
Screen
ScreenSaver
Segment
SelectionClearEvent
SelectionNotifyEvent
SelectionRequestEvent
SendEventDest
SendEventRequest
send an event.
SetAccessControlRequest
SetClipRectanglesRequest
SetCloseDownModeRequest
SetDashesRequest
SetFontPathRequest
SetInputFocusRequest
Sets input focus.
SetMode
SetModifierMappingReply
SetModifierMappingRequest
SetPointerMappingReply
SetPointerMappingRequest
SetScreenSaverRequest
SetSelectionOwnerRequest
Sets the owner of a selection.
Setup
SetupAuthenticate
SetupFailed
SetupRequest
StackMode
StoreColorsRequest
StoreNamedColorRequest
Str
SubwindowMode
Time
Timecoord
TranslateCoordinatesReply
TranslateCoordinatesRequest
UngrabButtonRequest
UngrabKeyRequest
release a key combination.
UngrabKeyboardRequest
UngrabPointerRequest
release the pointer.
UngrabServerRequest
UninstallColormapRequest
UnmapNotifyEvent
a window is unmapped.
UnmapSubwindowsRequest
UnmapWindowRequest
Makes a window invisible.
Visibility
VisibilityNotifyEvent
VisualClass
Visualtype
WarpPointerRequest
move mouse pointer.
WindowClass
WindowEnum

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

Type Aliases§

Atom
Bool32
Button
ButtonReleaseEvent
CirculateRequestEvent
Colormap
Cursor
Drawable
FocusOutEvent
Font
Fontable
Gcontext
KeyReleaseEvent
Keycode
Keycode32
Keysym
LeaveNotifyEvent
Pixmap
Timestamp
Visualid
Window