📄 a.html
字号:
<HTML><HEAD><TITLE>Xlib Programming Manual: Xlib Functions and Protocol Requests</TITLE></HEAD><BODY><H1 ALIGN=center>Appendix A: Xlib Functions and Protocol Requests</H1>This appendix provides two tables that relate to Xlib functions and the X protocol.The following table lists each Xlib function (in alphabetical order)and the corresponding protocol request that it generates.<TABLE><TR><TD COLSPAN=2><HR><TR><TD><B>Xlib Function <TD><B>Protocol Request<TR><TD COLSPAN=2><HR><TR><TD><B><A HREF="../window-and-session-manager/XActivateScreenSaver.html">XActivateScreenSaver()</A></B> <TD><B><A HREF="#ForceScreenSaver">ForceScreenSaver</A></B><TR><TD><B><A HREF="../window-and-session-manager/controlling-host-access/XAddHost.html">XAddHost()</A></B> <TD><B><A HREF="#ChangeHosts">ChangeHosts</A></B><TR><TD><B><A HREF="../window-and-session-manager/controlling-host-access/XAddHosts.html">XAddHosts()</A></B> <TD><B><A HREF="#ChangeHosts">ChangeHosts</A></B><TR><TD><B><A HREF="../window-and-session-manager/XAddToSaveSet.html">XAddToSaveSet()</A></B> <TD><B><A HREF="#ChangeSaveSet">ChangeSaveSet</A></B><TR><TD><B><A HREF="../color/XAllocColor.html">XAllocColor()</A></B> <TD><B><A HREF="#AllocColor">AllocColor</A></B><TR><TD><B><A HREF="../color/XAllocColorCells.html">XAllocColorCells()</A></B> <TD><B><A HREF="#AllocColorCells">AllocColorCells</A></B><TR><TD><B><A HREF="../color/XAllocColorPlanes.html">XAllocColorPlanes()</A></B> <TD><B><A HREF="#AllocColorPlanes">AllocColorPlanes</A></B><TR><TD><B><A HREF="../color/XAllocNamedColor.html">XAllocNamedColor()</A></B> <TD><B><A HREF="#AllocNamedColor">AllocNamedColor</A></B><TR><TD><B><A HREF="../input/XAllowEvents.html">XAllowEvents()</A></B> <TD><B><A HREF="#AllowEvents">AllowEvents</A></B><TR><TD><B><A HREF="../input/XAutoRepeatOff.html">XAutoRepeatOff()</A></B> <TD><B><A HREF="#ChangeKeyboardControl">ChangeKeyboardControl</A></B><TR><TD><B><A HREF="../input/XAutoRepeatOn.html">XAutoRepeatOn()</A></B> <TD><B><A HREF="#ChangeKeyboardControl">ChangeKeyboardControl</A></B><TR><TD><B><A HREF="../input/XBell.html">XBell()</A></B> <TD><B><A HREF="#Bell">Bell</A></B><TR><TD><B><A HREF="../input/XChangeActivePointerGrab.html">XChangeActivePointerGrab()</A></B> <TD><B><A HREF="#ChangeActivePointerGrab">ChangeActivePointerGrab</A></B><TR><TD><B><A HREF="../GC/XChangeGC.html">XChangeGC()</A></B> <TD><B><A HREF="#ChangeGC">ChangeGC</A></B><TR><TD><B><A HREF="../input/XChangeKeyboardControl.html">XChangeKeyboardControl()</A></B> <TD><B><A HREF="#ChangeKeyboardControl">ChangeKeyboardControl</A></B><TR><TD><B><A HREF="../input/XChangeKeyboardMapping.html">XChangeKeyboardMapping()</A></B> <TD><B><A HREF="#ChangeKeyboardMapping">ChangeKeyboardMapping</A></B><TR><TD><B><A HREF="../input/XChangePointerControl.html">XChangePointerControl()</A></B> <TD><B><A HREF="#ChangePointerControl">ChangePointerControl</A></B><TR><TD><B><A HREF="../window-information/XChangeProperty.html">XChangeProperty()</A></B> <TD><B><A HREF="#ChangeProperty">ChangeProperty</A></B><TR><TD><B><A HREF="../window-and-session-manager/XChangeSaveSet.html">XChangeSaveSet()</A></B> <TD><B><A HREF="#ChangeSaveSet">ChangeSaveSet</A></B><TR><TD><B><A HREF="../window/XChangeWindowAttributes.html">XChangeWindowAttributes()</A></B> <TD><B><A HREF="#ChangeWindowAttributes">ChangeWindowAttributes</A></B><TR><TD><B><A HREF="../window/XCirculateSubwindows.html">XCirculateSubwindows()</A></B> <TD><B><A HREF="#CirculateWindow">CirculateWindow</A></B><TR><TD><B><A HREF="../window/XCirculateSubwindowsDown.html">XCirculateSubwindowsDown()</A></B> <TD><B><A HREF="#CirculateWindow">CirculateWindow</A></B><TR><TD><B><A HREF="../window/XCirculateSubwindowsUp.html">XCirculateSubwindowsUp()</A></B> <TD><B><A HREF="#CirculateWindow">CirculateWindow</A></B><TR><TD><B><A HREF="../graphics/XClearArea.html">XClearArea()</A></B> <TD><B><A HREF="#ClearArea">ClearArea</A></B><TR><TD><B><A HREF="../graphics/XClearWindow.html">XClearWindow()</A></B> <TD><B><A HREF="#ClearArea">ClearArea</A></B><TR><TD><B><A HREF="../window/XConfigureWindow.html">XConfigureWindow()</A></B> <TD><B><A HREF="#ConfigureWindow">ConfigureWindow</A></B><TR><TD><B><A HREF="../window-information/XConvertSelection.html">XConvertSelection()</A></B> <TD><B><A HREF="#ConvertSelection">ConvertSelection</A></B><TR><TD><B><A HREF="../graphics/XCopyArea.html">XCopyArea()</A></B> <TD><B><A HREF="#CopyArea">CopyArea</A></B><TR><TD><B><A HREF="../color/XCopyColormapAndFree.html">XCopyColormapAndFree()</A></B> <TD><B><A HREF="#CopyColormapAndFree">CopyColormapAndFree</A></B><TR><TD><B><A HREF="../GC/XCopyGC.html">XCopyGC()</A></B> <TD><B><A HREF="#CopyGC">CopyGC</A></B><TR><TD><B><A HREF="../graphics/XCopyPlane.html">XCopyPlane()</A></B> <TD><B><A HREF="#CopyPlane">CopyPlane</A></B><TR><TD VALIGN=top><B><A HREF="../utilities/XCreateBitmapFromData.html">XCreateBitmapFromData()</A></B> <TD><B><A HREF="#CreateGC">CreateGC</A></B><BR> <B><A HREF="#CreatePixmap">CreatePixmap</A></B><BR> <B><A HREF="#FreeGC">FreeGC</A></B><BR> <B><A HREF="#PutImage">PutImage</A></B><TR><TD><B><A HREF="../color/XCreateColormap.html">XCreateColormap()</A></B> <TD><B><A HREF="#CreateColormap">CreateColormap</A></B><TR><TD><B><A HREF="../pixmap-and-cursor/XCreateFontCursor.html">XCreateFontCursor()</A></B> <TD><B><A HREF="#CreateGlyphCursor">CreateGlyphCursor</A></B><TR><TD><B><A HREF="../GC/XCreateGC.html">XCreateGC()</A></B> <TD><B><A HREF="#CreateGC">CreateGC</A></B><TR><TD><B><A HREF="../pixmap-and-cursor/XCreateGlyphCursor.html">XCreateGlyphCursor()</A></B> <TD><B><A HREF="#CreateGlyphCursor">CreateGlyphCursor</A></B><TR><TD><B><A HREF="../pixmap-and-cursor/XCreatePixmap.html">XCreatePixmap()</A></B> <TD><B><A HREF="#CreatePixmap">CreatePixmap</A></B><TR><TD><B><A HREF="../pixmap-and-cursor/XCreatePixmapCursor.html">XCreatePixmapCursor()</A></B> <TD><B><A HREF="#CreateCursor">CreateCursor</A></B><TR><TD VALIGN=top><B>XCreatePixmapFromData()</B> <TD><B><A HREF="#CreateGC">CreateGC</A><BR> <B><A HREF="#CreatePixmap">CreatePixmap</A><BR> <B><A HREF="#FreeGC">FreeGC</A><BR> <B><A HREF="#PutImage">PutImage</A><BR><TR><TD><B><A HREF="../window/XCreateWindow.html">XCreateSimpleWindow()</A></B> <TD><B><A HREF="#CreateWindow">CreateWindow</A></B><TR><TD><B><A HREF="../window/XCreateWindow.html">XCreateWindow()</A></B> <TD><B><A HREF="#CreateWindow">CreateWindow</A></B><TR><TD><B><A HREF="../window/XDefineCursor.html">XDefineCursor()</A></B> <TD><B><A HREF="#ChangeWindowAttributes">ChangeWindowAttributes</A></B><TR><TD><B><A HREF="../window-information/XDeleteProperty.html">XDeleteProperty()</A></B> <TD><B><A HREF="#DeleteProperty">DeleteProperty</A></B><TR><TD><B><A HREF="../window/XDestroySubWindows.html">XDestroySubwindows()</A></B> <TD><B><A HREF="#DestroySubwindows">DestroySubwindows</A></B><TR><TD><B><A HREF="../window/XDestroyWindow.html">XDestroyWindow()</A></B> <TD><B><A HREF="#DestroyWindow">DestroyWindow</A></B><TR><TD><B><A HREF="../window-and-session-manager/controlling-host-access/XDisableAccessControl.html">XDisableAccessControl()</A></B> <TD><B><A HREF="#SetAccessControl">SetAccessControl</A></B><TR><TD><B><A HREF="../graphics/drawing/XDrawArc.html">XDrawArc()</A></B> <TD><B><A HREF="#PolyArc">PolyArc</A></B><TR><TD><B><A HREF="../graphics/drawing/XDrawArcs.html">XDrawArcs()</A></B> <TD><B><A HREF="#PolyArc">PolyArc</A></B><TR><TD><B><A HREF="../graphics/drawing-text/XDrawImageString.html">XDrawImageString()</A></B> <TD><B><A HREF="#ImageText8">ImageText8</A></B><TR><TD><B><A HREF="../graphics/drawing-text/XDrawImageString16.html">XDrawImageString16()</A></B> <TD><B><A HREF="#ImageText16">ImageText16</A></B><TR><TD><B><A HREF="../graphics/drawing/XDrawLine.html">XDrawLine()</A></B> <TD><B><A HREF="#PolySegment">PolySegment</A></B><TR><TD><B><A HREF="../graphics/drawing/XDrawLines.html">XDrawLines()</A></B> <TD><B><A HREF="#PolyLine">PolyLine</A></B><TR><TD><B><A HREF="../graphics/drawing/XDrawPoint.html">XDrawPoint()</A></B> <TD><B><A HREF="#PolyPoint ">PolyPoint </A></B><TR><TD><B><A HREF="../graphics/drawing/XDrawPoints.html">XDrawPoints()</A></B> <TD><B><A HREF="#PolyPoint">PolyPoint</A></B><TR><TD><B><A HREF="../graphics/drawing/XDrawRectangle.html">XDrawRectangle()</A></B> <TD><B><A HREF="#PolyRectangle">PolyRectangle</A></B><TR><TD><B><A HREF="../graphics/drawing/XDrawRectangles.html">XDrawRectangles()</A></B> <TD><B><A HREF="#PolyRectangle">PolyRectangle</A></B><TR><TD><B><A HREF="../graphics/drawing/XDrawSegments.html">XDrawSegments()</A></B> <TD><B><A HREF="#PolySegment">PolySegment</A></B><TR><TD><B><A HREF="../graphics/drawing-text/XDrawString.html">XDrawString()</A></B> <TD><B><A HREF="#PolyText8">PolyText8</A></B><TR><TD><B><A HREF="../graphics/drawing-text/XDrawString16.html">XDrawString16()</A></B> <TD><B><A HREF="#PolyText16">PolyText16</A></B><TR><TD><B><A HREF="../graphics/drawing-text/XDrawText.html">XDrawText()</A></B> <TD><B><A HREF="#PolyText8">PolyText8</A></B><TR><TD><B><A HREF="../graphics/drawing-text/XDrawText16.html">XDrawText16()</A></B> <TD><B><A HREF="#PolyText16">PolyText16</A></B><TR><TD><B><A HREF="../window-and-session-manager/controlling-host-access/XEnableAccessControl.html">XEnableAccessControl()</A></B> <TD><B><A HREF="#SetAccessControl">SetAccessControl</A></B><TR><TD><B><A HREF="../utilities/XFetchBytes.html">XFetchBytes()</A></B> <TD><B><A HREF="#GetProperty">GetProperty</A></B><TR><TD><B><A HREF="../ICC/client-to-window-manager/XFetchName.html">XFetchName()</A></B> <TD><B><A HREF="#GetProperty">GetProperty</A></B><TR><TD><B><A HREF="../graphics/filling-areas/XFillArc.html">XFillArc()</A></B> <TD><B><A HREF="#PolyFillArc">PolyFillArc</A></B><TR><TD><B><A HREF="../graphics/filling-areas/XFillArcs.html">XFillArcs()</A></B> <TD><B><A HREF="#PolyFillArc">PolyFillArc</A></B><TR><TD><B><A HREF="../graphics/filling-areas/XFillPolygon.html">XFillPolygon()</A></B> <TD><B><A HREF="#FillPoly">FillPoly</A></B><TR><TD><B><A HREF="../graphics/filling-areas/XFillRectangle.html">XFillRectangle()</A></B> <TD><B><A HREF="#PolyFillRectangle">PolyFillRectangle</A></B><TR><TD><B><A HREF="../graphics/filling-areas/XFillRectangles.html">XFillRectangles()</A></B> <TD><B><A HREF="#PolyFillRectangle">PolyFillRectangle</A></B><TR><TD><B><A HREF="../window-and-session-manager/XForceScreenSaver.html">XForceScreenSaver()</A></B> <TD><B><A HREF="#ForceScreenSaver">ForceScreenSaver</A></B><TR><TD><B><A HREF="../color/XFreeColormap.html">XFreeColormap()</A></B> <TD><B><A HREF="#FreeColormap">FreeColormap</A></B><TR><TD><B><A HREF="../color/XFreeColors.html">XFreeColors()</A></B> <TD><B><A HREF="#FreeColors">FreeColors</A></B><TR><TD><B><A HREF="../pixmap-and-cursor/XFreeCursor.html">XFreeCursor()</A></B> <TD><B><A HREF="#FreeCursor">FreeCursor</A></B><TR><TD><B><A HREF="../graphics/font-metrics/XFreeFont.html">XFreeFont()</A></B> <TD><B><A HREF="#CloseFont">CloseFont</A></B><TR><TD><B><A HREF="../GC/XFreeGC.html">XFreeGC()</A></B> <TD><B><A HREF="#FreeGC">FreeGC</A></B><TR><TD><B><A HREF="../pixmap-and-cursor/XFreePixmap.html">XFreePixmap()</A></B> <TD><B><A HREF="#FreePixmap">FreePixmap</A></B><TR><TD><B><A HREF="../window-information/XGetAtomName.html">XGetAtomName()</A></B> <TD><B><A HREF="#GetAtomName">GetAtomName</A></B><TR><TD><B><A HREF="../ICC/client-to-window-manager/XGetClassHint.html">XGetClassHint()</A></B> <TD><B><A HREF="#GetProperty">GetProperty</A></B><TR><TD><B><A HREF="../window-and-session-manager/XGetFontPath.html">XGetFontPath()</A></B> <TD><B><A HREF="#GetFontPath">GetFontPath</A></B><TR><TD><B><A HREF="../window-information/XGetGeometry.html">XGetGeometry()</A></B> <TD><B><A HREF="#GetGeometry">GetGeometry</A></B><TR><TD><B><A HREF="../ICC/client-to-window-manager/XGetIconName.html">XGetIconName()</A></B> <TD><B><A HREF="#GetProperty">GetProperty</A></B><TR><TD><B><A HREF="../ICC/client-to-window-manager/XGetIconSizes.html">XGetIconSizes()</A></B> <TD><B><A HREF="#GetProperty">GetProperty</A></B><TR><TD><B><A HREF="../graphics/XGetImage.html">XGetImage()</A></B> <TD><B><A HREF="#GetImage">GetImage</A></B><TR><TD><B><A HREF="../input/XGetInputFocus.html">XGetInputFocus()</A></B> <TD><B><A HREF="#GetInputFocus">GetInputFocus</A></B><TR><TD><B><A HREF="../input/XGetKeyboardControl.html">XGetKeyboardControl()</A></B> <TD><B><A HREF="#GetKeyboardControl">GetKeyboardControl</A></B><TR><TD><B><A HREF="../input/XGetKeyboardMapping.html">XGetKeyboardMapping()</A></B> <TD><B><A HREF="#GetKeyboardMapping">GetKeyboardMapping</A></B><TR><TD><B><A HREF="../input/XGetModifierMapping.html">XGetModifierMapping()</A></B> <TD><B><A HREF="#GetModifierMapping">GetModifierMapping</A></B>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -