Package libX11-devel

Development files for libX11

http://www.x.org

X.Org X11 libX11 development package

Library Functions (Section 3)
AllPlanes
The AllPlanes macro returns a value with all bits set to 1 suitable for use in a plane argument to a procedure. The BlackPixel macro returns the black pixel...
BlackPixelOfScreen
The BlackPixelOfScreen macro returns the black pixel value of the specified screen. The WhitePixelOfScreen macro returns the white pixel value of the specified...
DisplayOfCCC
The DisplayOfCCC macro returns the display associated with the specified CCC. The VisualOfCCC macro returns the visual associated with the specified CCC. The...
ImageByteOrder
The XListPixmapFormats function returns an array of XPixmapFormatValues structures that describe the types of Z format images supported by the specified...
IsCursorKey
The IsCursorKey macro returns True if the specified KeySym is a cursor key. The IsFunctionKey macro returns True if the KeySym is a function key. The...
XAddConnectionWatch
The XAddConnectionWatch function registers a procedure to be called each time Xlib opens or closes an internal connection for the specified display. The...
XAddHost
The XAddHost function adds the specified host to the access control list for that display. The server must be on the same host as the client issuing the...
XAllocClassHint
The XAllocClassHint function allocates and returns a pointer to a XClassHint structure. Note that the pointer fields in the XClassHint structure are initially...
XAllocColor
The XAllocColor function allocates a read-only colormap entry corresponding to the closest RGB value supported by the hardware. XAllocColor returns the pixel...
XAllocIconSize
The XAllocIconSize function allocates and returns a pointer to a XIconSize structure. Note that all fields in the XIconSize structure are initially set to zero...
XAllocSizeHints
The XAllocSizeHints function allocates and returns a pointer to a XSizeHints structure. Note that all fields in the XSizeHints structure are initially set to...
XAllocStandardColormap
The XAllocStandardColormap function allocates and returns a pointer to a XStandardColormap structure. Note that all fields in the XStandardColormap structure...
XAllocWMHints
The XAllocWMHints function allocates and returns a pointer to a XWMHints structure. Note that all fields in the XWMHints structure are initially set to zero. If...
XAllowEvents
The XAllowEvents function releases some queued events if the client has caused a device to freeze. It has no effect if the specified time is earlier than the...
XAnyEvent
generic X event structures
XButtonEvent
KeyPress, KeyRelease, ButtonPress, ButtonRelease, and MotionNotify event structures
XChangeKeyboardControl
The XChangeKeyboardControl function controls the keyboard characteristics defined by the XKeyboardControl structure. The value_mask argument specifies which...
XChangeKeyboardMapping
The XChangeKeyboardMapping function defines the symbols for the specified number of KeyCodes starting with first_keycode. The symbols for KeyCodes outside this...
XChangePointerControl
The XChangePointerControl function defines how the pointing device moves. The acceleration, expressed as a fraction, is a multiplier for movement. For example...
XChangeSaveSet
Depending on the specified mode, XChangeSaveSet either inserts or deletes the specified window from the client's save-set. The specified window must have been...
XChangeWindowAttributes
Depending on the valuemask, the XChangeWindowAttributes function uses the window attributes in the XSetWindowAttributes structure to change the specified window...
XCirculateEvent
CirculateNotify event structure
XCirculateRequestEvent
CirculateRequest event structure
XClearArea
The XClearArea function paints a rectangular area in the specified window according to the specified dimensions with the window's background pixel or pixmap...
XClientMessageEvent
ClientMessage event structure
XcmsAllocColor
The XcmsAllocColor function is similar to XAllocColor except the color can be specified in any format. The XcmsAllocColor function ultimately calls XAllocColor...
XcmsCCCOfColormap
The XcmsCCCOfColormap function returns the CCC associated with the specified colormap. Once obtained, the CCC attributes can be queried or modified. Unless the...
XcmsCIELabQueryMaxC
The XcmsCIELabQueryMaxC function, given a hue angle and lightness, finds the point of maximum chroma displayable by the screen. It returns this point in CIE...
XcmsCIELuvQueryMaxC
The XcmsCIELuvQueryMaxC function, given a hue angle and lightness, finds the point of maximum chroma displayable by the screen. It returns this point in CIE...
XcmsColor
The XcmsColor structure contains a union of substructures, each supporting color specification encoding for a particular color space.
XcmsConvertColors
The XcmsConvertColors function converts the color specifications in the specified array of XcmsColor structures from their current format to a single target...
XcmsCreateCCC
The XcmsCreateCCC function creates a CCC for the specified display, screen, and visual. The XcmsFreeCCC function frees the memory used for the specified CCC...
XcmsDefaultCCC
The XcmsDefaultCCC function returns the default CCC for the specified screen. Its visual is the default visual of the screen. Its initial gamut compression and...
XcmsQueryBlack
The XcmsQueryBlack function returns the color specification in the specified target format for zero-intensity red, green, and blue. The XcmsQueryBlue function...
XcmsQueryColor
The XcmsQueryColor function obtains the RGB value for the pixel value in the pixel member of the specified XcmsColor structure and then converts the value to...
XcmsSetWhitePoint
The XcmsSetWhitePoint function changes the Client White Point in the specified CCC. Note that the pixel member is ignored and that the color specification is...
XcmsStoreColor
The XcmsStoreColor function converts the color specified in the XcmsColor structure into RGB values. It then uses this RGB specification in an XColor structure...
XcmsTekHVCQueryMaxC
The XcmsTekHVCQueryMaxC function, given a Hue and Value, determines the maximum Chroma in TekHVC color space displayable by the screen. It returns the maximum...
XColormapEvent
ColormapNotify event structure
XConfigureEvent
ConfigureNotify event structure
XConfigureRequestEvent
ConfigureRequest event structure
XConfigureWindow
The XConfigureWindow function uses the values specified in the XWindowChanges structure to reconfigure a window's size, position, border, and stacking order...
XCopyArea
The XCopyArea function combines the specified rectangle of src with the specified rectangle of dest. The drawables must have the same root and depth, or a...
XCreateColormap
The XCreateColormap function creates a colormap of the specified visual type for the screen on which the specified window resides and returns the colormap ID...
XCreateFontCursor
X provides a set of standard cursor shapes in a special font named cursor. Applications are encouraged to use this interface for their cursors because the font...
XCreateFontSet
The XCreateFontSet function creates a font set for the specified display. The font set is bound to the current locale when XCreateFontSet is called. The font...
XCreateGC
The XCreateGC function creates a graphics context and returns a GC. The GC can be used with any destination drawable having the same root and depth as the...
XCreateIC
The XCreateIC function creates a context within the specified input method. Some of the arguments are mandatory at creation time, and the input context will not...
XCreateOC
The XCreateOC function creates an output context within the specified output method. The base font names argument is mandatory at creation time, and the output...
XCreatePixmap
The XCreatePixmap function creates a pixmap of the width, height, and depth you specified and returns a pixmap ID that identifies it. It is valid to pass an...
XCreateRegion
The XCreateRegion function creates a new empty region. The XSetRegion function sets the clip-mask in the GC to the specified region. The region is specified...
XCreateWindow
The XCreateWindow function creates an unmapped subwindow for a specified parent window, returns the window ID of the created window, and causes the X server to...
XCreateWindowEvent
CreateNotify event structure
XCrossingEvent
EnterNotify and LeaveNotify event structure
XDefineCursor
If a cursor is set, it will be used when the pointer is in the window. If the cursor is None, it is equivalent to XUndefineCursor. XDefineCursor can generate...
XDestroyWindow
The XDestroyWindow function destroys the specified window as well as all of its subwindows and causes the X server to generate a DestroyNotify event for each...
XDestroyWindowEvent
DestroyNotify event structure
XDrawArc
XDrawArc draws a single circular or elliptical arc, and XDrawArcs draws multiple circular or elliptical arcs. Each arc is specified by a rectangle and two...
XDrawImageString
The XDrawImageString16 function is similar to XDrawImageString except that it uses 2-byte or 16-bit characters. Both functions also use both the foreground and...
XDrawLine
The XDrawLine function uses the components of the specified GC to draw a line between the specified set of points (x1, y1) and (x2, y2). It does not perform...
XDrawPoint
The XDrawPoint function uses the foreground pixel and function components of the GC to draw a single point into the specified drawable; XDrawPoints draws...
XDrawRectangle
The XDrawRectangle and XDrawRectangles functions draw the outlines of the specified rectangle or rectangles as if a five-point PolyLine protocol request were...
XDrawString
Each character image, as defined by the font in the GC, is treated as an additional mask for a fill operation on the drawable. The drawable is modified only...
XDrawText
The XDrawText16 function is similar to XDrawText except that it uses 2-byte or 16-bit characters. Both functions allow complex spacing and font shifts between...
XEmptyRegion
The XEmptyRegion function returns True if the region is empty. The XEqualRegion function returns True if the two regions have the same offset, size, and shape...
XErrorEvent
X error event structure
XExposeEvent
Expose event structure
XExtentsOfFontSet
The XExtentsOfFontSet function returns an XFontSetExtents structure for the fonts used by the Xmb and Xwc layers for the given font set. The XFontSetExtents...
XFillRectangle
fill rectangles, polygons, or arcs
XFilterEvent
If the window argument is None, XFilterEvent applies the filter to the window specified in the XEvent structure. The window argument is provided so that layers...
XFlush
The XFlush function flushes the output buffer. Most client applications need not use this function because the output buffer is automatically flushed as needed...
XFocusChangeEvent
FocusIn and FocusOut event structure
XFontSetExtents
XFontSetExtents structure
XFontsOfFontSet
The XFontsOfFontSet function returns a list of one or more XFontStructs and font names for the fonts used by the Xmb and Xwc layers for the given font set. A...
XFree
The XFree function is a general-purpose Xlib routine that frees the specified data. You must use it to free any objects that were allocated by Xlib, unless an...
XGetEventData
Some extension XGenericEvents require additional memory to store information. For these events, the library returns a XGenericEventCookie with a token...
XGetVisualInfo
The XGetVisualInfo function returns a list of visual structures that have attributes equal to the attributes specified by vinfo_template. If no visual...
XGetWindowAttributes
The XGetWindowAttributes function returns the current attributes for the specified window to an XWindowAttributes structure. It returns a nonzero status on...
XGetWindowProperty
The XGetWindowProperty function returns the actual type of the property; the actual format of the property; the number of 8-bit, 16-bit, or 32-bit items...
XGetXCBConnection
The XGetXCBConnection function returns the XCB connection associated with an Xlib Display. Clients can use this XCB connection with functions from the XCB...
XGrabButton
The XGrabButton function establishes a passive grab.
XGrabKey
The XGrabKey function establishes a passive grab on the keyboard.
XGrabKeyboard
The XGrabKeyboard function actively grabs control of the keyboard and generates FocusIn and FocusOut events. Further key events are reported only to the...
XGrabPointer
The XGrabPointer function actively grabs control of the pointer and returns GrabSuccess if the grab was successful. Further pointer events are reported only to...
XGrabServer
The XGrabServer function disables processing of requests and close downs on all other connections than the one this request arrived on. You should not grab the...
XGraphicsExposeEvent
GraphicsExpose and NoExpose event structures
XGravityEvent
GravityNotify event structure
XIconifyWindow
The XIconifyWindow function sends a WM_CHANGE_STATE ClientMessage event with a format of 32 and a first data element of IconicState (as described in section...
XIfEvent
The XIfEvent function completes only when the specified predicate procedure returns True for an event, which indicates an event in the queue matches. XIfEvent...
XInitImage
The XInitImage function initializes the internal image manipulation routines of an image structure, based on the values of the various structure members. All...
XInitThreads
The XInitThreads function initializes Xlib support for concurrent threads. This function must be the first Xlib function a multi-threaded program calls, and it...
XInstallColormap
The XInstallColormap function installs the specified colormap for its associated screen. All windows associated with this colormap immediately display with true...
XInternAtom
The XInternAtom function returns the atom identifier associated with the specified atom_name string. If only_if_exists is False, the atom is created if it does...
XIntersectRegion
The XIntersectRegion function computes the intersection of two regions. The XUnionRegion function computes the union of two regions. The XUnionRectWithRegion...
XkbActionCtrls
Actions associated with the XkbCtrlsAction structure change the state of the boolean controls. The type field can have any one of the values shown in Table 1.
XkbAddDeviceLedInfo
XkbAddDeviceLedInfo first checks to see whether an entry matching led_class and led_id already exists in the device_info->leds array. If it finds a matching...
XkbAddGeomColor
Xkb provides functions to add a single new element to the top-level keyboard geometry. In each case the num_ * fields of the corresponding structure is...
XkbAddGeomDoodad
Xkb provides functions to add a single new element to the top-level keyboard geometry. In each case the num_ * fields of the corresponding structure is...
XkbAddGeomKey
Xkb provides functions to add a single new element to the top-level keyboard geometry. In each case the num_ * fields of the corresponding structure is...
XkbAddGeomKeyAlias
Xkb provides functions to add a single new element to the top-level keyboard geometry. In each case the num_ * fields of the corresponding structure is...
XkbAddGeomOutline
Xkb provides functions to add a single new element to the top-level keyboard geometry. In each case the num_ * fields of the corresponding structure is...
XkbAddGeomOverlay
Xkb provides functions to add a single new element to the top-level keyboard geometry. In each case the num_ * fields of the corresponding structure is...
XkbAddGeomOverlayKey
Xkb provides functions to add a single new element to the top-level keyboard geometry. In each case the num_ * fields of the corresponding structure is...
XkbAddGeomOverlayRow
Xkb provides functions to add a single new element to the top-level keyboard geometry. In each case the num_ * fields of the corresponding structure is...
XkbAddGeomProperty
Xkb provides functions to add a single new element to the top-level keyboard geometry. In each case the num_ * fields of the corresponding structure is...
XkbAddGeomRow
Xkb provides functions to add a single new element to the top-level keyboard geometry. In each case the num_ * fields of the corresponding structure is...
XkbAddGeomSection
Xkb provides functions to add a single new element to the top-level keyboard geometry. In each case the num_ * fields of the corresponding structure is...
XkbAddGeomShape
Xkb provides functions to add a single new element to the top-level keyboard geometry. In each case the num_ * fields of the corresponding structure is...
XkbAddSymInterpret
XkbAddSymInterpret adds si to the list of symbol interpretations in xkb. If updateMap is True, it (re)applies the compatibility map to all of the keys on the...
XkbAllocClientMap
Calling XkbGetMap should be sufficient for most applications to get client and server maps. As a result, most applications do not need to directly allocate...
XkbAllocCompatMap
xkb specifies the keyboard description for which compatibility maps are to be allocated. The compatibility map is the compat field in this structure. which...
XkbAllocControls
The need to allocate an XkbControlsRec structure seldom arises; Xkb creates one when an application calls XkbGetControls or a related function. For those...
XkbAllocDeviceInfo
XkbAllocDeviceInfo allocates space for an XkbDeviceInfoRec structure and initializes that structure's device_spec field with the device ID specified by...
XkbAllocDeviceLedInfo
XkbAllocDeviceLedInfo allocates space for an XkbDeviceLedInfoRec and places it in device_info. If num_needed is nonzero, num_needed XkbIndicatorMapRec...
XkbAllocGeomColors
Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify keyboard geometries. Note...
XkbAllocGeomDoodads
Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify keyboard geometries. Note...
XkbAllocGeometry
Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify keyboard geometries. Note...
XkbAllocGeomKeyAliases
Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify keyboard geometries. Note...
XkbAllocGeomKeys
Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify keyboard geometries. Note...
XkbAllocGeomOutlines
Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify keyboard geometries. Note...
XkbAllocGeomOverlayKey
Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify keyboard geometries. Note...
XkbAllocGeomOverlayRows
Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify keyboard geometries. Note...
XkbAllocGeomOverlays
Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify keyboard geometries. Note...
XkbAllocGeomPoints
Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify keyboard geometries. Note...
XkbAllocGeomProps
Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify keyboard geometries. Note...
XkbAllocGeomRows
Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify keyboard geometries. Note...
XkbAllocGeomSectionDoodads
Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify keyboard geometries. Note...
XkbAllocGeomSections
Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify keyboard geometries. Note...
XkbAllocGeomShapes
Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify keyboard geometries. Note...
XkbAllocIndicatorMaps
The xkb parameter must point to a valid keyboard description. If it doesn't, XkbAllocIndicatorMaps returns a BadMatch error. Otherwise, XkbAllocIndicatorMaps...
XkbAllocKeyboard
Applications seldom need to directly allocate a keyboard description; calling XkbGetKeyboard usually suffices. In the event you need to create a keyboard...
XkbAllocNames
Most applications do not need to directly allocate symbolic names structures. Do not allocate a names structure directly using malloc or Xmalloc if your...
XkbAllocServerMap
XkbAllocServerMap allocates and initializes an empty server map in the server field of the keyboard description specified by xkb. The which parameter specifies...
XkbApplyCompatMapToKey
XkbApplyCompatMapToKey essentially performs the operation described in Core Keyboard Mapping to Xkb Keyboard Mapping Transformation to a specific key. This...
XkbBell
The core X protocol allows only applications to explicitly sound the system bell with a given duration, pitch, and volume. Xkb extends this capability by...
XkbBellEvent
The core X protocol allows only applications to explicitly sound the system bell with a given duration, pitch, and volume. Xkb extends this capability by...
XkbChangeControls
The XkbControlsChangesRec structure allows applications to track modifications to an XkbControlsRec structure and thereby reduce the amount of traffic sent to...
XkbChangeDeviceInfo
XkbChangeDeviceInfo updates the server's description of the device specified in device_info->device_spec with the changes specified in changes and contained in...
XkbChangeEnabledControls
The EnabledControls control is a bit mask where each bit that is turned on means the corresponding control is enabled, and when turned off, disabled. It...
XkbChangeIndicators
The XkbIndicatorChangesRec identifies small modifications to the indicator map. Use it with the function XkbChangeIndicators to reduce the amount of traffic...
XkbChangeMap
To update only partial components of a keyboard description, modify the appropriate fields in the server and map components of a local copy of the keyboard...
XkbChangeNames
XkbChangeNames provides a more flexible method for changing symbolic names than XkbSetNames and requires the use of an XkbNameChangesRec structure...
XkbChangeTypesOfKey
XkbChangeTypesOfKey reallocates the symbols and actions bound to the key, if necessary, and initializes any new symbols or actions to NoSymbol or NoAction, as...
XkbComputeRowBounds
XkbComputeRowBounds checks the bounds of all keys in the row and updates the bounding box of the row if necessary. XkbComputeRowBounds returns False if any of...
XkbComputeSectionBounds
If you add or delete a row to or from a section, or if you change the geometry of any of the rows in that section, you may need to update the bounding box for...
XkbComputeShapeBounds
Xkb provides a number of convenience functions to help use a keyboard geometry. These include functions to return the bounding box of a shape's top surface and...
XkbComputeShapeTop
Xkb provides a number of convenience functions to help use a keyboard geometry. These include functions to return the bounding box of a shape's top surface and...
XkbCopyKeyType
XkbCopyKeyType copies the key type specified by from to the key type specified by into. Both must point to legal XkbKeyTypeRec structures. Xkb assumes from and...
XkbCopyKeyTypes
XkbCopyKeyTypes copies num_types XkbKeyTypeRec structures from the array specified by from into the array specified by into. It is intended for copying between...
XkbDeviceBell
The core X protocol allows only applications to explicitly sound the system bell with a given duration, pitch, and volume. Xkb extends this capability by...
XkbDeviceBellEvent
The core X protocol allows only applications to explicitly sound the system bell with a given duration, pitch, and volume. Xkb extends this capability by...
XkbFindOverlayForKey
Keys that can generate multiple keycodes may be associated with multiple names. Such keys have a primary name and an alternate name. XkbFindOverlayForKey uses...
XkbForceBell
The core X protocol allows only applications to explicitly sound the system bell with a given duration, pitch, and volume. Xkb extends this capability by...
XkbForceDeviceBell
The core X protocol allows only applications to explicitly sound the system bell with a given duration, pitch, and volume. Xkb extends this capability by...
XkbFreeClientMap
XkbFreeClientMap frees the components of client map specified by which in the XkbDescRec structure specified by the xkb parameter and sets the corresponding...
XkbFreeCompatMap
which specifies the compatibility map components to be freed (see XkbGetCompatMap). which is an inclusive OR of the bits shown in Table 1.
XkbFreeComponentList
When you are done using the structure returned by XkbListComponents, free it using XkbFreeComponentList.
XkbFreeControls
XkbFreeControls frees the specified components of the ctrls field in the xkb keyboard description and sets the corresponding structure component values to NULL...
XkbFreeDeviceInfo
If free_all is True, the XkbFreeDeviceInfo frees all components of device_info and the XkbDeviceInfoRec structure pointed to by device_info itself. If free_all...
XkbFreeGeomColors
Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify keyboard geometries. Note...
XkbFreeGeomDoodads
Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify keyboard geometries. Note...
XkbFreeGeometry
Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify keyboard geometries. Note...
XkbFreeGeomKeyAliases
Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify keyboard geometries. Note...
XkbFreeGeomKeys
If free_all is True, all keys are freed regardless of the value of first or count. Otherwise, count keys are freed beginning with the one specified by first.
XkbFreeGeomOutlines
If free_all is True, all outlines are freed regardless of the value of first or count. Otherwise, count outlines are freed beginning with the one specified by...
XkbFreeGeomOverlayKeys
Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify keyboard geometries. Note...
XkbFreeGeomOverlayRows
Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify keyboard geometries. Note...
XkbFreeGeomOverlays
Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify keyboard geometries. Note...
XkbFreeGeomPoints
Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify keyboard geometries. Note...
XkbFreeGeomProperties
Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify keyboard geometries. Note...
XkbFreeGeomRows
Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify keyboard geometries. Note...
XkbFreeGeomSections
Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify keyboard geometries. Note...
XkbFreeGeomShapes
Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify keyboard geometries. Note...
XkbFreeIndicatorMaps
If the indicators member of the keyboard description record pointed to by xkb is not NULL, XkbFreeIndicatorMaps frees the memory associated with the indicators...
XkbFreeKeyboard
XkbFreeKeyboard frees the components of xkb specified by which and sets the corresponding values to NULL. If free_all is True, XkbFreeKeyboard frees every...
XkbFreeNames
Do not free symbolic names structures directly using free or XFree. Use XkbFreeNames instead. The which parameter is the bitwise inclusive OR of the valid names...
XkbFreeServerMap
The XkbFreeServerMap function frees the specified components of server map in the XkbDescRec structure specified by the xkb parameter and sets the corresponding...
XkbGetAccessXTimeout
In environments where computers are shared, features such as SlowKeys present a problem: if SlowKeys is on, the keyboard can appear to be unresponsive because...
XkbGetAutoRepeatRate
The core protocol allows only control over whether or not the entire keyboard or individual keys should auto-repeat when held down. RepeatKeys is a boolean...
XkbGetAutoResetControls
You can configure the boolean controls to automatically be enabled or disabled when a program exits. This capability is controlled via two masks maintained in...
XkbGetBounceKeysDelay
The server can generate XkbAccessXNotify events for some of the global keyboard controls. The detail field describes what AccessX event just occurred and can be...
XkbGetCompatMap
When another client modifies the compatibility map, you are notified if you have selected for XkbCompatMapNotify events. XkbGetCompatMap is particularly useful...
XkbGetControls
XkbGetControls queries the server for the requested control information, waits for a reply, and then copies the server's values for the requested information...
XkbGetControlsChanges
Whenever a field in the controls structure changes in the server's keyboard description, the server sends an XkbControlsNotify event to all interested...
XkbGetDetectableAutoRepeat
Auto-repeat is the generation of multiple key events by a keyboard when the user presses a key and holds it down. Keyboard hardware and device-dependent X...
XkbGetDeviceButtonActions
XkbGetDeviceButtonActions queries the server for the desired button information for the device indicated by the device_spec field of device_info and waits for a...
XkbGetDeviceInfo
To determine whether the X server allows Xkb access to particular capabilities of input devices other than the core X keyboard, or to determine the status of...
XkbGetDeviceInfoChanges
The changes->changed field indicates which attributes of the device specified in changes->device have changed. The parameters describing the changes are...
XkbGetDeviceLedInfo
XkbGetDeviceLedInfo queries the server for the desired LED information for the feedback specified by led_class and led_id for the X input extension device...
XkbGetGeometry
You can load a keyboard geometry as part of the keyboard description returned by XkbGetKeyboard. However, if a keyboard description has been previously loaded...
XkbGetIndicatorChanges
Whenever an indicator changes state, the server sends XkbIndicatorStateNotify events to all interested clients. Similarly, whenever an indicator's map changes...
XkbGetIndicatorMap
Xkb allows applications to obtain information about indicators using two different methods. The first method, which is similar to the core X implementation...
XkbGetIndicatorState
Xkb allows applications to obtain information about indicators using two different methods. The first method, which is similar to the core X implementation...
XkbGetKeyActions
XkbGetKeyActions sends a request to the server to obtain the actions for num keys on the keyboard starting with key first. It waits for a reply and returns the...
XkbGetKeyBehaviors
XkbGetKeyBehaviors sends a request to the server to obtain the behaviors for num keys on the keyboard starting with the key whose keycode is first. It waits for...
XkbGetKeyboard
XkbGetKeyboard allocates and returns a pointer to a keyboard description. It queries the server for those components specified in the which parameter for device...
XkbGetKeyboardByName
A client may request that the server fetch one or more components from its database and use those components to build a new server keyboard description. The new...
XkbGetKeyExplicitComponents
Whenever a client remaps the keyboard using core protocol requests, Xkb examines the map to determine likely default values for the components that cannot be...
XkbGetKeyModifierMap
The modmap entry of the client map is an array, indexed by keycode, specifying the real modifiers bound to a key. Each entry is a mask composed of a bitwise...
XkbGetKeySyms
XkbGetKeySyms sends a request to the server to obtain the set of keysyms bound to num keys starting with the key whose keycode is first. It waits for a reply...
XkbGetKeyTypes
XkbGetKeyTypes queries the server for the desired types, waits for a reply, and returns the desired types in the xkb->map->types. If successful, it returns...
XkbGetKeyVirtualModMap
XkbGetKeyVirutalModmap sends a request to the server to obtain the virtual modifier mappings for num keys on the keyboard starting with key first. It waits for...
XkbGetMap
Xkb provides two functions to obtain the keyboard mapping components from the server. The first function, XkbGetMap, allocates an XkbDescRec structure...
XkbGetNameChanges
XkbGetNameChanges examines the changes parameter, retrieves the necessary information from the server, and places the results into the xkb keyboard description...
XkbGetNamedGeometry
It is also possible to load a keyboard geometry by name. The X server maintains a database of keyboard components (see below). XkbGetNamedGeometry can return...
XkbGetNamedIndicator
Xkb also allows applications to refer to indicators by name. Use XkbGetNames to get the indicator names. Using names eliminates the need for hard-coding bitmask...
XkbGetNames
XkbGetNames retrieves symbolic names for the components of the keyboard extension from the X server. The which parameter specifies the name components to be...
XkbGetSlowKeysDelay
Some users may accidentally bump keys while moving a hand or typing stick toward the key they want. Usually, the keys that are accidentally bumped are just hit...
XkbGetState
The XkbGetState function queries the server for the current keyboard state, waits for a reply, and then backfills state_return with the results. All group...
XkbGetStickyKeysOptions
The StickyKeys control has two options that can be accessed via the ax_options of an XkbControlsRec structure. The first option, TwoKeys, specifies whether...
XkbGetUpdatedMap
The which parameter is a bitwise inclusive OR of the masks in Table 1. If the needed components of the xkb structure are not already allocated, XkbGetUpdatedMap...
XkbGetVirtualMods
XkbGetVirtualMods sends a request to the server to obtain the vmods entries for the virtual modifiers specified in the mask, which, and waits for a reply...
XkbGetXlibControls
XkbGetXlibControls returns the current state of the Library Controls as a bit mask that is an inclusive OR of the control masks from Table 1 for the controls...
XkbIgnoreExtension
If a server supports the Xkb extension, the X library normally implements preXkb keyboard functions using the Xkb keyboard description and state. The server Xkb...
XkbInitCanonicalKeyTypes
XkbInitCanonicalKeyTypes initializes the first XkbNumRequiredTypes key types of the keyboard specified by the xkb parameter to their default values. The which...
XkbKeyAction
A key action defines the effect key presses and releases have on the internal state of the server. For example, the expected key action associated with pressing...
XkbKeyActionEntry
A key action defines the effect key presses and releases have on the internal state of the server. For example, the expected key action associated with pressing...
XkbKeyActionsPtr
A key action defines the effect key presses and releases have on the internal state of the server. For example, the expected key action associated with pressing...
XkbKeycodeToKeysym
XkbKeycodeToKeysym returns the keysym bound to a particular group and shift level for a particular key on the core keyboard. If kc is not a legal keycode for...
XkbKeyGroupInfo
The group_info field of an XkbSymMapRec is an encoded value containing the number of groups of symbols bound to the key as well as the specification of the...
XkbKeyGroupsWidth
The key width and number of groups associated with a key are used to form a small two-dimensional array of KeySyms for a key. This array may be different sizes...
XkbKeyGroupWidth
The key width and number of groups associated with a key are used to form a small two-dimensional array of KeySyms for a key. This array may be different sizes...
XkbKeyHasActions
A key action defines the effect key presses and releases have on the internal state of the server. For example, the expected key action associated with pressing...
XkbKeyNumActions
A key action defines the effect key presses and releases have on the internal state of the server. For example, the expected key action associated with pressing...
XkbKeyNumGroups
The group_info field of an XkbSymMapRec is an encoded value containing the number of groups of symbols bound to the key as well as the specification of the...
XkbKeyNumSyms
The key width and number of groups associated with a key are used to form a small two-dimensional array of KeySyms for a key. This array may be different sizes...
XkbKeySymEntry
The key width and number of groups associated with a key are used to form a small two-dimensional array of KeySyms for a key. This array may be different sizes...
XkbKeySymsOffset
The key width and number of groups associated with a key are used to form a small two-dimensional array of KeySyms for a key. This array may be different sizes...
XkbKeySymsPtr
The key width and number of groups associated with a key are used to form a small two-dimensional array of KeySyms for a key. This array may be different sizes...
XkbKeysymToModifiers
XkbKeysymToModifiers finds the set of modifiers currently bound to the keysym ks on the core keyboard. The value returned is the mask of modifiers bound to the...
XkbKeyType
XkbKeyType returns a pointer to the key type in the types vector of the client map in xkb corresponding to the given keycode and group index.
XkbKeyTypeIndex
XkbKeyTypeIndex computes an index into the types vector of the client map in xkb from the given keycode and group index.
XkbKeyTypesForCoreSymbols
XkbKeyTypesForCoreSymbols expands the symbols in core_syms and types in types_inout, then chooses canonical key types (canonical key types are defined The...
XkbLatchGroup
XkbLatchGroup sends a request to the server to latch the specified group and does not wait for a reply. It returns True if the request was sent and False...
XkbLatchModifiers
XkbLatchModifiers sends a request to the server to latch the real modifiers selected by both affect and values and to unlatch the real modifiers selected by...
XkbLibraryVersion
If an application is dynamically linked, both the X server and the client-side X library must contain the Xkb extension in order for the client to use the Xkb...
XkbListComponents
You may ask the server for a list of components for one or more component types. The request takes the form of a set of patterns, one pattern for each of the...
XkbLockGroup
XkbLockGroup sends a request to the server to lock the specified group and does not wait for a reply. It returns True if the request was sent and False...
XkbLockModifiers
XkbLockModifiers sends a request to the server to lock the real modifiers selected by both affect and values and to unlock the real modifiers selected by...
XkbLookupKeyBinding
XkbLookupKeyBinding is the equivalent of the core XLookupString function. XRebindKeysym binds an ASCII string to a specified keysym, so that the string and...
XkbLookupKeySym
XkbLookupKeySym is the equivalent of the core XLookupKeySym function. For the core keyboard, given a keycode key and an Xkb state state, XkbLookupKeySym returns...
XkbModActionVMods
XkbModActionVMods returns the vmods1 and vmods2 fields of act converted to the vmods format of an Xkb modifier description.
XkbNoteControlsChanges
Whenever a field in the controls structure changes in the server's keyboard description, the server sends an XkbControlsNotify event to all interested...
XkbNoteDeviceChanges
The wanted field specifies the changes that should be noted in old, and is composed of the bitwise inclusive OR of one or more of the masks from Table 1. The...
XkbNoteIndicatorChanges
Whenever an indicator changes state, the server sends XkbIndicatorStateNotify events to all interested clients. Similarly, whenever an indicator's map changes...
XkbNoteNameChanges
When your application receives a XkbNamesNotify event, you can note the changed names in a changes structure using XkbNoteNameChanges. The wanted parameter is...
XkbOpenDisplay
As a convenience, you can use the function XkbOpenDisplay to perform these three tasks at once: open a connection to an X server, check for a compatible version...
XkbOutOfRangeGroupInfo
XkbOutOfRangeGroupInfo returns only the out-of-range processing information from the group_info field of an XkbSymMapRec structure. The group_info field of an...
XkbOutOfRangeGroupNumber
XkbOutOfRangeGroupNumber returns the out-of-range group number, represented as a group index, from the group_info field of an XkbSymMapRec structure. The...
XkbPtrActionX
Actions associated with the XkbPtrAction structure move the pointer when keys are pressed and released. If the MouseKeys control is not enabled, KeyPress and...
XkbPtrActionY
Actions associated with the XkbPtrAction structure move the pointer when keys are pressed and released. If the MouseKeys control is not enabled, KeyPress and...
XkbQueryExtension
Call XkbQueryExtension to check for the presence and compatibility of the extension in the server and to initialize the extension. Because of potential version...
XkbRefreshKeyboardMapping
XkbRefreshKeyboardMapping is the Xkb equivalent of the core XRefreshKeyboardMapping function. It requests that the X server send the current key mapping...
XkbResizeDeviceButtonActions
XkbResizeDeviceButtonActions reallocates space, if necessary, to make sure there is room for a total of new_total button actions in the device_info structure...
XkbResizeKeyActions
The xkb parameter points to the keyboard description containing the key whose number of actions is to be changed. The key parameter is the keycode of the key to...
XkbResizeKeySyms
XkbResizeKeySyms reserves the space needed for needed keysyms and returns a pointer to the beginning of the new array that holds the keysyms. It adjusts the...
XkbResizeKeyType
XkbResizeKeyType changes the type specified by xkb->map->types[type_ndx], and reallocates the symbols and actions bound to all keys that use the type, if...
XkbSAActionSetCtrls
Actions associated with the XkbCtrlsAction structure change the state of the boolean controls. The type field can have any one of the values shown in Table 1.
XkbSAGroup
XkbSAGroup returns the group_XXX field of act converted to a signed int.
XkbSAPtrDfltValue
Actions associated with the XkbPtrDfltAction structure change the mk_dflt_btn attribute of the MouseKeys control. If the MouseKeys control is not enabled...
XkbSARedirectSetVMods
Actions associated with the XkbRedirectKeyAction structure generate KeyPress and KeyRelease events containing a keycode different from the key that was pressed...
XkbSARedirectSetVModsMask
Actions associated with the XkbRedirectKeyAction structure generate KeyPress and KeyRelease events containing a keycode different from the key that was pressed...
XkbSARedirectVMods
Actions associated with the XkbRedirectKeyAction structure generate KeyPress and KeyRelease events containing a keycode different from the key that was pressed...
XkbSARedirectVModsMask
Actions associated with the XkbRedirectKeyAction structure generate KeyPress and KeyRelease events containing a keycode different from the key that was pressed...
XkbSAScreen
Actions associated with the XkbSwitchScreen action structure change the active screen on a multiscreen display. The type field of the XkbSwitchScreenAction...
XkbSASetGroup
XkbSASetGroup sets the group_XXX field of act from the group index grp.
XkbSASetPtrDfltValue
Actions associated with the XkbPtrDfltAction structure change the mk_dflt_btn attribute of the MouseKeys control. If the MouseKeys control is not enabled...
XkbSASetScreen
Actions associated with the XkbSwitchScreen action structure change the active screen on a multiscreen display. The type field of the XkbSwitchScreenAction...
XkbSelectEventDetails
Xkb events are selected using an event mask, much the same as normal core X events are selected. However, unlike selecting core X events, where you must specify...
XkbSelectEvents
Xkb events are selected using an event mask, much the same as normal core X events are selected. However, unlike selecting core X events, where you must specify...
XkbSetAccessXTimeout
In environments where computers are shared, features such as SlowKeys present a problem: if SlowKeys is on, the keyboard can appear to be unresponsive because...
XkbSetAutoRepeatRate
The core protocol allows only control over whether or not the entire keyboard or individual keys should auto-repeat when held down. RepeatKeys is a boolean...
XkbSetAutoResetControls
XkbSetAutoResetControls changes the auto-reset status and associated auto-reset values for the controls selected by changes. For any control selected by...
XkbSetBounceKeysDelay
The server can generate XkbAccessXNotify events for some of the global keyboard controls. The detail field describes what AccessX event just occurred and can be...
XkbSetCompatMap
To modify the server's compatibility map, first modify a local copy of the Xkb compatibility map, then call XkbSetCompatMap. You may allocate a new...
XkbSetControls
For each bit that is set in the which parameter, XkbSetControls sends the corresponding values from the xkb->ctrls field to the server. Valid values for which...
XkbSetDebuggingFlags
The debugging aids are intended for use primarily by Xkb implementors and are optional in any implementation. There are two bitmasks that may be used to control...
XkbSetDetectableAutoRepeat
Auto-repeat is the generation of multiple key events by a keyboard when the user presses a key and holds it down. Keyboard hardware and device-dependent X...
XkbSetDeviceButtonActions
XkbSetDeviceButtonActions assigns actions to the buttons of the device specified in device_info->device_spec. Actions are assigned to num_buttons buttons...
XkbSetDeviceInfo
To change characteristics of an X Input Extension device in the server, first modify a local copy of the device structure and then use either XkbSetDeviceInfo...
XkbSetIgnoreLockMods
The core protocol does not provide a way to exclude specific modifiers from grab calculations, with the result that locking modifiers sometimes have...
XkbSetIndicatorMap
This section discusses the effects of explicitly changing indicators depending upon different settings in the indicator map. See Tables 1 and Table 2 for...
XkbSetMap
There are two ways to make changes to map components: either change a local copy of the keyboard map and call XkbSetMap to send the modified map to the server...
XkbSetModActionVMods
XkbSetModActionVMods sets the vmods1 and vmods2 fields of act using the vmods format of an Xkb modifier description.
XkbSetNamedIndicator
If a compatible version of the Xkb extension is not available in the server, XkbSetNamedIndicator returns False. Otherwise, it sends a request to the X server...
XkbSetNames
To change the symbolic names in the server, first modify a local copy of the keyboard description and then use either XkbSetNames, or, to save network traffic...
XkbSetPtrActionX
Actions associated with the XkbPtrAction structure move the pointer when keys are pressed and released. If the MouseKeys control is not enabled, KeyPress and...
XkbSetPtrActionY
Actions associated with the XkbPtrAction structure move the pointer when keys are pressed and released. If the MouseKeys control is not enabled, KeyPress and...
XkbSetServerInternalMods
The core protocol does not provide any means to prevent a modifier from being reported in events sent to clients; Xkb, however makes this possible via the...
XkbSetXlibControls
XkbSetXlibControls modifies the state of the controls selected by bits_to_change; only the controls selected by bits_to_change are modified. If the bit...
XkbTranslateKeyCode
mods_rtrn is backfilled with the modifiers consumed by the translation process. mods is a bitwise inclusive OR of the legal modifier masks: ShiftMask, LockMask...
XkbTranslateKeySym
XkbTranslateKeySym applies the transformations specified in mods to the symbol specified by sym_inout. It returns in buf the string, if any, associated with the...
XkbUpdateMapFromCore
Xkb provides several functions that make it easier to apply the compatibility map to configure a client-side Xkb keyboard mapping, given a core protocol...
XkbVirtualModsToReal
Xkb maintains a virtual modifier mapping, which lists the virtual modifiers associated with, or bound to, each key. The real modifiers bound to a virtual...
XKeymapEvent
KeymapNotify event structure
XListFonts
The XListFonts function returns an array of available font names (as controlled by the font search path; see XSetFontPath) that match the string you passed to...
XLoadFont
The XLoadFont function loads the specified font and returns its associated font ID. If the font name is not in the Host Portable Character Encoding, the result...
XLookupKeysym
The XLookupKeysym function uses a given keyboard event and the index you specified to return the KeySym from the list that corresponds to the KeyCode member in...
XMapEvent
MapNotify and MappingNotify event structures
XMapRequestEvent
MapRequest event structure
XMapWindow
The XMapWindow function maps the window and all of its subwindows that have had map requests. Mapping a window that has an unmapped ancestor does not display...
XmbDrawImageString
The XmbDrawImageString, XwcDrawImageString and Xutf8DrawImageString functions fill a destination rectangle with the background pixel defined in the GC and then...
XmbDrawString
The XmbDrawString, XwcDrawString and Xutf8DrawString functions draw the specified text with the foreground pixel. When the XFontSet has missing charsets, each...
XmbDrawText
The XmbDrawText, XwcDrawText and Xutf8DrawText functions allow complex spacing and font set shifts between text strings. Each text item is processed in turn...
XmbLookupString
The XmbLookupString, XwcLookupString and Xutf8LookupString functions return the string from the input method specified in the buffer_return argument. If no...
XmbResetIC
When XNResetState is set to XIMInitialState, XmbResetIC, XwcResetIC and Xutf8ResetIC reset an input context to its initial state; when XNResetState is set to...
XmbTextEscapement
The XmbTextEscapement, XwcTextEscapement and Xutf8TextEscapement functions return the escapement in pixels of the specified string as a value, using the fonts...
XmbTextExtents
The XmbTextExtents, XwcTextExtents and Xutf8TextExtents functions set the components of the specified overall_ink_return and overall_logical_return arguments to...
XmbTextListToTextProperty
The XmbTextListToTextProperty, XwcTextListToTextProperty and Xutf8TextListToTextProperty functions set the specified XTextProperty value to a set of...
XmbTextPerCharExtents
The XmbTextPerCharExtents, XwcTextPerCharExtents and Xutf8TextPerCharExtents functions return the text dimensions of each character of the specified text, using...
XNextEvent
The XNextEvent function copies the first event from the event queue into the specified XEvent structure and then removes it from the queue. If the event queue...
XNoOp
The XNoOp function sends a NoOperation protocol request to the X server, thereby exercising the connection.
XOpenDisplay
The XOpenDisplay function returns a Display structure that serves as the connection to the X server and that contains all the information about that X server...
XOpenIM
The XOpenIM function opens an input method, matching the current locale and modifiers specification. Current locale and modifiers are bound to the input method...
XOpenOM
The XOpenOM function opens an output method matching the current locale and modifiers specification. The current locale and modifiers are bound to the output...
XParseGeometry
By convention, X applications use a standard string to indicate window size and placement. XParseGeometry makes it easier to conform to this standard because it...
XPolygonRegion
The XPolygonRegion function returns a region for the polygon defined by the points array. For an explanation of fill_rule, see XCreateGC. The XClipBox function...
XPropertyEvent
PropertyNotify event structure
XPutBackEvent
The XPutBackEvent function pushes an event back onto the head of the display's event queue by copying the event into the queue. This can be useful if you read...
XPutImage
The XPutImage function combines an image with a rectangle of the specified drawable. The section of the image defined by the src_x, src_y, width, and height...
XQueryBestSize
The XQueryBestSize function returns the best or closest size to the specified size. For CursorShape, this is the largest size that can be fully displayed on the...
XQueryColor
The XQueryColor function returns the current RGB value for the pixel in the XColor structure and sets the DoRed, DoGreen, and DoBlue flags. The XQueryColors...
XQueryExtension
The XQueryExtension function determines if the named extension is present. If the extension is not present, XQueryExtension returns False; otherwise, it returns...
XQueryPointer
The XQueryPointer function returns the root window the pointer is logically on and the pointer coordinates relative to the root window's origin. If...
XQueryTree
The XQueryTree function returns the root ID, the parent window ID, a pointer to the list of children windows (NULL when there are no children), and the number...
XRaiseWindow
The XRaiseWindow function raises the specified window to the top of the stack so that no sibling window obscures it. If the windows are regarded as overlapping...
XReadBitmapFile
The XReadBitmapFile function reads in a file containing a bitmap. The file is parsed in the encoding of the current locale. The ability to read other than the...
XRecolorCursor
The XRecolorCursor function changes the color of the specified cursor, and if the cursor is being displayed on a screen, the change is visible immediately. The...
XReparentEvent
ReparentNotify event structure
XReparentWindow
If the specified window is mapped, XReparentWindow automatically performs an UnmapWindow request on it, removes it from its current position in the hierarchy...
XResizeRequestEvent
ResizeRequest event structure
XResourceManagerString
The XResourceManagerString function returns the RESOURCE_MANAGER property from the server's root window of screen zero, which was returned when the connection...
XrmEnumerateDatabase
The XrmEnumerateDatabase function calls the specified procedure for each resource in the database that would match some completion of the given name/class...
XrmGetFileDatabase
The XrmGetFileDatabase function opens the specified file, creates a new resource database, and loads it with the specifications read in from the specified file...
XrmGetResource
The XrmGetResource and XrmQGetResource functions retrieve a resource from the specified database. Both take a fully qualified name/class pair, a destination...
XrmInitialize
The XrmInitialize function initialize the resource manager. It must be called before any other Xrm functions are used. The XrmParseCommand function parses an...
XrmMergeDatabases
Calling the XrmMergeDatabases function is equivalent to calling the XrmCombineDatabase function with an override argument of True. The XrmCombineDatabase...
XrmPutResource
If database contains NULL, XrmPutResource creates a new database and returns a pointer to it.
XrmUniqueQuark
The XrmUniqueQuark function allocates a quark that is guaranteed not to represent any string that is known to the resource manager. These functions can be used...
XSaveContext
If an entry with the specified resource ID and type already exists, XSaveContext overrides it with the specified context. The XSaveContext function returns a...
XSelectInput
The XSelectInput function requests that the X server report the events associated with the specified event mask. Initially, X will not report any of these...
XSelectionClearEvent
SelectionClear event structure
XSelectionEvent
SelectionNotify event structure
XSelectionRequestEvent
SelectionRequest event structure
XSendEvent
The XSendEvent function identifies the destination window, determines which clients should receive the specified events, and ignores any active grabs. This...
XSetArcMode
The XSetArcMode function sets the arc mode in the specified GC. XSetArcMode can generate BadAlloc, BadGC, and BadValue errors. The XSetSubwindowMode function...
XSetClipOrigin
The XSetClipOrigin function sets the clip origin in the specified GC. The clip-mask origin is interpreted relative to the origin of whatever destination...
XSetCloseDownMode
The XSetCloseDownMode defines what will happen to the client's resources at connection close. A connection starts in DestroyAll mode. For information on what...
XSetCommand
The XSetCommand function sets the command and arguments used to invoke the application. (Typically, argv is the argv array of your main program.) If the strings...
XSetErrorHandler
Xlib generally calls the program's supplied error handler whenever an error is received. It is not called on BadName errors from OpenFont, LookupColor, or...
XSetEventQueueOwner
While a client using Xlib/XCB can issue requests and handle their replies or errors with either Xlib or XCB, only one can own and handle the event queue. By...
XSetFillStyle
The XSetFillStyle function sets the fill-style in the specified GC. XSetFillStyle can generate BadAlloc, BadGC, and BadValue errors. The XSetFillRule function...
XSetFont
The XSetFont function sets the current font in the specified GC. XSetFont can generate BadAlloc, BadFont, and BadGC errors.
XSetFontPath
The XSetFontPath function defines the directory search path for font lookup. There is only one search path per X server, not one per client. The encoding and...
XSetICFocus
The XSetICFocus function allows a client to notify an input method that the focus window attached to the specified input context has received keyboard focus...
XSetICValues
The XSetICValues function returns NULL if no error occurred; otherwise, it returns the name of the first argument that could not be set.
XSetInputFocus
The XSetInputFocus function changes the input focus and the last-focus-change time. It has no effect if the specified time is earlier than the current...
XSetLineAttributes
The XSetLineAttributes function sets the line drawing components in the specified GC. XSetLineAttributes can generate BadAlloc, BadGC, and BadValue errors. The...
XSetPointerMapping
The XSetPointerMapping function sets the mapping of the pointer. If it succeeds, the X server generates a MappingNotify event, and XSetPointerMapping returns...
XSetScreenSaver
Timeout and interval are specified in seconds. A timeout of 0 disables the screen saver (but an activated screen saver is not deactivated), and a timeout of -1...
XSetSelectionOwner
The XSetSelectionOwner function changes the owner and last-change time for the specified selection and has no effect if the specified time is earlier than the...
XSetState
The XSetState function sets the foreground, background, plane mask, and function components for the specified GC. XSetState can generate BadAlloc, BadGC, and...
XSetTextProperty
The XSetTextProperty function replaces the existing specified property for the named window with the data, type, format, and number of items determined by the...
XSetTile
The XSetTile function sets the fill tile in the specified GC. The tile and GC must have the same depth, or a BadMatch error results. XSetTile can generate...
XSetTransientForHint
The XSetTransientForHint function sets the WM_TRANSIENT_FOR property of the specified window to the specified prop_window. XSetTransientForHint can generate...
XSetWMClientMachine
The XSetWMClientMachine convenience function calls XSetTextProperty to set the WM_CLIENT_MACHINE property. The XGetWMClientMachine convenience function performs...
XSetWMColormapWindows
The XSetWMColormapWindows function replaces the WM_COLORMAP_WINDOWS property on the specified window with the list of windows specified by the colormap_windows...
XSetWMIconName
The XSetWMIconName convenience function calls XSetTextProperty to set the WM_ICON_NAME property. The XGetWMIconName convenience function calls XGetTextProperty...
XSetWMName
The XSetWMName convenience function calls XSetTextProperty to set the WM_NAME property. The XGetWMName convenience function calls XGetTextProperty to obtain the...
XSetWMProperties
The XSetWMProperties convenience function provides a single programming interface for setting those essential window properties that are used for communicating...
XSetWMProtocols
The XSetWMProtocols function replaces the WM_PROTOCOLS property on the specified window with the list of atoms specified by the protocols argument. If the...
XStoreBytes
The data can have embedded null characters and need not be null-terminated. The cut buffer's contents can be retrieved later by any client calling XFetchBytes...
XStoreColors
The XStoreColors function changes the colormap entries of the pixel values specified in the pixel members of the XColor structures. You specify which color...
XStringListToTextProperty
The XStringListToTextProperty function sets the specified XTextProperty to be of type STRING (format 8) with a value representing the concatenation of the...
XStringToKeysym
Standard KeySym names are obtained from <X11/keysymdef.h> by removing the XK_ prefix from each name. KeySyms that are not part of the Xlib standard also may be...
XSupportsLocale
The XSupportsLocale function returns True if Xlib functions are capable of operating under the current locale. If it returns False, Xlib locale-dependent...
XSynchronize
The XSynchronize function returns the previous after function. If onoff is True, XSynchronize turns on synchronous behavior. If onoff is False, XSynchronize...
XTextExtents
The XTextExtents and XTextExtents16 functions perform the size computation locally and, thereby, avoid the round-trip overhead of XQueryTextExtents and...
XTextWidth
The XTextWidth and XTextWidth16 functions return the width of the specified 8-bit or 2-byte character strings.
XTranslateCoordinates
If XTranslateCoordinates returns True, it takes the src_x and src_y coordinates relative to the source window's origin and returns these coordinates to...
XUnmapEvent
UnmapNotify event structure
XUnmapWindow
The XUnmapWindow function unmaps the specified window and causes the X server to generate an UnmapNotify event. If the specified window is already unmapped...
XVaCreateNestedList
The XVaCreateNestedList function allocates memory and copies its arguments into a single list pointer, which may be used as a value for arguments requiring a...
XVisibilityEvent
VisibilityNotify event structure
XWarpPointer
If dest_w is None, XWarpPointer moves the pointer by the offsets (dest_x, dest_y) relative to the current position of the pointer. If dest_w is a window...
File Formats (Section 5)
Compose
The X library, libX11, provides a simple input method for characters beyond those represented on typical keyboards using sequences of key strokes that are...