home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / X / mit / doc / Xlib / AppA < prev    next >
Encoding:
Text File  |  1991-07-30  |  13.4 KB  |  565 lines

  1. \&
  2. .sp 1
  3. .ce 3
  4. \s+1\fBAppendix A\fP\s-1
  5.  
  6. \s+1\fBXlib Functions and Protocol Requests\fP\s-1
  7. .sp 2
  8. .na
  9. .LP
  10. .XS
  11. Appendix A: Xlib Functions and Protocol Requests
  12. .XE
  13. This appendix provides two tables that relate to Xlib functions 
  14. and the X protocol.
  15. The following table lists each Xlib function (in alphabetical order)
  16. and the corresponding protocol request that it generates.
  17. .LP
  18. .TS H
  19. lw(2.5i) lw(2.5i).
  20. _
  21. .sp 6p
  22. .TB
  23. Xlib Function    Protocol Request
  24. .sp 6p
  25. _
  26. .sp 6p
  27. .TH
  28. .R
  29. XActivateScreenSaver    ForceScreenSaver
  30. XAddHost    ChangeHosts
  31. XAddHosts    ChangeHosts
  32. XAddToSaveSet    ChangeSaveSet
  33. XAllocColor    AllocColor
  34. XAllocColorCells    AllocColorCells
  35. XAllocColorPlanes    AllocColorPlanes
  36. XAllocNamedColor    AllocNamedColor
  37. XAllowEvents    AllowEvents
  38. XAutoRepeatOff    ChangeKeyboardControl
  39. XAutoRepeatOn    ChangeKeyboardControl
  40. XBell    Bell
  41. XChangeActivePointerGrab    ChangeActivePointerGrab
  42. XChangeGC    ChangeGC
  43. XChangeKeyboardControl    ChangeKeyboardControl
  44. XChangeKeyboardMapping    ChangeKeyboardMapping
  45. XChangePointerControl    ChangePointerControl
  46. XChangeProperty    ChangeProperty
  47. XChangeSaveSet    ChangeSaveSet
  48. XChangeWindowAttributes    ChangeWindowAttributes
  49. XCirculateSubwindows    CirculateWindow
  50. XCirculateSubwindowsDown    CirculateWindow
  51. XCirculateSubwindowsUp    CirculateWindow
  52. XClearArea    ClearArea
  53. XClearWindow    ClearArea
  54. XConfigureWindow    ConfigureWindow
  55. XConvertSelection    ConvertSelection
  56. XCopyArea    CopyArea
  57. XCopyColormapAndFree    CopyColormapAndFree
  58. XCopyGC    CopyGC
  59. XCopyPlane    CopyPlane
  60. XCreateBitmapFromData    CreateGC
  61.     CreatePixmap
  62.     FreeGC
  63.     PutImage
  64. XCreateColormap    CreateColormap
  65. XCreateFontCursor    CreateGlyphCursor
  66. XCreateGC    CreateGC
  67. XCreateGlyphCursor    CreateGlyphCursor
  68. XCreatePixmap    CreatePixmap
  69. XCreatePixmapCursor    CreateCursor
  70. XCreatePixmapFromData    CreateGC
  71.     CreatePixmap
  72.     FreeGC
  73.     PutImage
  74. XCreateSimpleWindow    CreateWindow
  75. XCreateWindow    CreateWindow
  76. XDefineCursor    ChangeWindowAttributes
  77. XDeleteProperty    DeleteProperty
  78. XDestroySubwindows    DestroySubwindows
  79. XDestroyWindow    DestroyWindow
  80. XDisableAccessControl    SetAccessControl
  81. XDrawArc    PolyArc
  82. XDrawArcs    PolyArc
  83. XDrawImageString    ImageText8
  84. XDrawImageString16    ImageText16
  85. XDrawLine    PolySegment
  86. XDrawLines    PolyLine
  87. XDrawPoint    PolyPoint 
  88. XDrawPoints    PolyPoint
  89. XDrawRectangle    PolyRectangle
  90. XDrawRectangles    PolyRectangle
  91. XDrawSegments    PolySegment
  92. XDrawString    PolyText8
  93. XDrawString16    PolyText16
  94. XDrawText    PolyText8
  95. XDrawText16    PolyText16
  96. XEnableAccessControl    SetAccessControl
  97. XFetchBytes    GetProperty
  98. XFetchName    GetProperty
  99. XFillArc    PolyFillArc
  100. XFillArcs    PolyFillArc
  101. XFillPolygon    FillPoly
  102. XFillRectangle    PolyFillRectangle
  103. XFillRectangles    PolyFillRectangle
  104. XForceScreenSaver    ForceScreenSaver
  105. XFreeColormap    FreeColormap
  106. XFreeColors    FreeColors
  107. XFreeCursor    FreeCursor
  108. XFreeFont    CloseFont
  109. XFreeGC    FreeGC
  110. XFreePixmap    FreePixmap
  111. XGetAtomName    GetAtomName
  112. XGetClassHint    GetProperty
  113. XGetFontPath    GetFontPath
  114. XGetGeometry    GetGeometry
  115. XGetIconName    GetProperty
  116. XGetIconSizes    GetProperty
  117. XGetImage    GetImage
  118. XGetInputFocus    GetInputFocus
  119. XGetKeyboardControl    GetKeyboardControl
  120. XGetKeyboardMapping    GetKeyboardMapping
  121. XGetModifierMapping    GetModifierMapping
  122. XGetMotionEvents    GetMotionEvents
  123. XGetModifierMapping    GetModifierMapping
  124. XGetNormalHints    GetProperty
  125. XGetPointerControl    GetPointerControl
  126. XGetPointerMapping    GetPointerMapping
  127. XGetRGBColormaps    GetProperty
  128. XGetScreenSaver    GetScreenSaver
  129. XGetSelectionOwner    GetSelectionOwner
  130. XGetSizeHints    GetProperty
  131. XGetTextProperty    GetProperty
  132. XGetTransientForHint    GetProperty
  133. XGetWMClientMachine    GetProperty
  134. XGetWMColormapWindows    GetProperty
  135.     InternAtom
  136. XGetWMHints    GetProperty
  137. XGetWMIconName    GetProperty
  138. XGetWMName    GetProperty
  139. XGetWMNormalHints    GetProperty
  140. XGetWMProtocols    GetProperty
  141.     InternAtom
  142. XGetWMSizeHints    GetProperty
  143. XGetWindowAttributes    GetWindowAttributes
  144.     GetGeometry
  145. XGetWindowProperty    GetProperty
  146. XGetZoomHints    GetProperty
  147. XGrabButton    GrabButton
  148. XGrabKey    GrabKey
  149. XGrabKeyboard    GrabKeyboard
  150. XGrabPointer    GrabPointer
  151. XGrabServer    GrabServer
  152. XIconifyWindow    InternAtom
  153.     SendEvent
  154. XInitExtension    QueryExtension
  155. XInstallColormap    InstallColormap
  156. XInternAtom    InternAtom
  157. XKillClient    KillClient
  158. XListExtensions    ListExtensions
  159. XListFonts    ListFonts
  160. XListFontsWithInfo    ListFontsWithInfo
  161. XListHosts    ListHosts
  162. XListInstalledColormaps    ListInstalledColormaps
  163. XListProperties    ListProperties
  164. XLoadFont    OpenFont
  165. XLoadQueryFont    OpenFont
  166.     QueryFont
  167. XLookupColor    LookupColor
  168. XLowerWindow    ConfigureWindow
  169. XMapRaised    ConfigureWindow
  170.     MapWindow
  171. XMapSubwindows    MapSubwindows
  172. XMapWindow    MapWindow
  173. XMoveResizeWindow    ConfigureWindow
  174. XMoveWindow    ConfigureWindow
  175. XNoOp    NoOperation
  176. XOpenDisplay    CreateGC
  177. XParseColor    LookupColor
  178. XPutImage    PutImage
  179. XQueryBestCursor    QueryBestSize
  180. XQueryBestSize    QueryBestSize
  181. XQueryBestStipple    QueryBestSize
  182. XQueryBestTile    QueryBestSize
  183. XQueryColor    QueryColors 
  184. XQueryColors    QueryColors
  185. XQueryExtension    QueryExtension
  186. XQueryFont    QueryFont
  187. XQueryKeymap    QueryKeymap
  188. XQueryPointer    QueryPointer
  189. XQueryTextExtents    QueryTextExtents
  190. XQueryTextExtents16    QueryTextExtents
  191. XQueryTree    QueryTree
  192. XRaiseWindow    ConfigureWindow
  193. XReadBitmapFile    CreateGC
  194.     CreatePixmap
  195.     FreeGC
  196.     PutImage
  197. XRecolorCursor    RecolorCursor
  198. XReconfigureWMWindow    ConfigureWindow
  199.     SendEvent
  200. XRemoveFromSaveSet    ChangeSaveSet
  201. XRemoveHost    ChangeHosts
  202. XRemoveHosts    ChangeHosts
  203. XReparentWindow    ReparentWindow
  204. XResetScreenSaver    ForceScreenSaver
  205. XResizeWindow    ConfigureWindow 
  206. XRestackWindows        ConfigureWindow
  207. XRotateBuffers    RotateProperties
  208. XRotateWindowProperties    RotateProperties
  209. XSelectInput    ChangeWindowAttributes
  210. XSendEvent    SendEvent
  211. XSetAccessControl    SetAccessControl
  212. XSetArcMode    ChangeGC
  213. XSetBackground    ChangeGC 
  214. XSetClassHint    ChangeProperty
  215. XSetClipMask    ChangeGC
  216. XSetClipOrigin    ChangeGC
  217. XSetClipRectangles    SetClipRectangles
  218. XSetCloseDownMode    SetCloseDownMode
  219. XSetCommand    ChangeProperty
  220. XSetDashes    SetDashes
  221. XSetFillRule    ChangeGC
  222. XSetFillStyle    ChangeGC
  223. XSetFont    ChangeGC 
  224. XSetFontPath    SetFontPath
  225. XSetForeground    ChangeGC 
  226. XSetFunction    ChangeGC 
  227. XSetGraphicsExposures    ChangeGC
  228. XSetIconName    ChangeProperty
  229. XSetIconSizes    ChangeProperty
  230. XSetInputFocus    SetInputFocus
  231. XSetLineAttributes    ChangeGC
  232. XSetModifierMapping    SetModifierMapping
  233. XSetNormalHints    ChangeProperty
  234. XSetPlaneMask    ChangeGC 
  235. XSetPointerMapping    SetPointerMapping
  236. XSetRGBColormaps    ChangeProperty
  237. XSetScreenSaver    SetScreenSaver
  238. XSetSelectionOwner    SetSelectionOwner
  239. XSetSizeHints    ChangeProperty
  240. XSetStandardProperties    ChangeProperty
  241. XSetState    ChangeGC
  242. XSetStipple    ChangeGC
  243. XSetSubwindowMode    ChangeGC
  244. XSetTextProperty    ChangeProperty
  245. XSetTile    ChangeGC
  246. XSetTransientForHint    ChangeProperty
  247. XSetTSOrigin    ChangeGC
  248. XSetWMClientMachine    ChangeProperty
  249. XSetWMColormapWindows    ChangeProperty
  250.     InternAtom
  251. XSetWMHints    ChangeProperty
  252. XSetWMIconName    ChangeProperty
  253. XSetWMName    ChangeProperty
  254. XSetWMNormalHints    ChangeProperty
  255. XSetWMProperties    ChangeProperty
  256. XSetWMProtocols    ChangeProperty
  257.     InternAtom
  258. XSetWMSizeHints    ChangeProperty
  259. XSetWindowBackground    ChangeWindowAttributes
  260. XSetWindowBackgroundPixmap    ChangeWindowAttributes
  261. XSetWindowBorder    ChangeWindowAttributes
  262. XSetWindowBorderPixmap    ChangeWindowAttributes
  263. XSetWindowBorderWidth    ConfigureWindow
  264. XSetWindowColormap    ChangeWindowAttributes
  265. XSetZoomHints    ChangeProperty
  266. XStoreBuffer    ChangeProperty
  267. XStoreBytes    ChangeProperty
  268. XStoreColor    StoreColors 
  269. XStoreColors    StoreColors
  270. XStoreName    ChangeProperty
  271. XStoreNamedColor    StoreNamedColor
  272. XSync    GetInputFocus
  273. XSynchronize    GetInputFocus
  274. XTranslateCoordinates    TranslateCoordinates
  275. XUndefineCursor    ChangeWindowAttributes
  276. XUngrabButton    UngrabButton
  277. XUngrabKey    UngrabKey
  278. XUngrabKeyboard    UngrabKeyboard
  279. XUngrabPointer    UngrabPointer
  280. XUngrabServer    UngrabServer
  281. XUninstallColormap    UninstallColormap
  282. XUnloadFont    CloseFont
  283. XUnmapSubwindows    UnmapSubwindows
  284. XUnmapWindow    UnmapWindow
  285. XWarpPointer    WarpPointer
  286. XWithdrawWindow    SendEvent
  287.     UnmapWindow
  288. .TE
  289. .bp
  290. .LP
  291. The following table lists each X protocol request (in alphabetical
  292. order) and the Xlib functions that reference it.
  293. .TS H
  294. lw(2.5i) lw(2.5i).
  295. _
  296. .sp 6p
  297. .TB
  298. Protocol Request    Xlib Function
  299. .sp 6p
  300. _
  301. .sp 6p
  302. .TH
  303. .R
  304. AllocColor    XAllocColor
  305. AllocColorCells    XAllocColorCells
  306. AllocColorPlanes    XAllocColorPlanes
  307. AllocNamedColor    XAllocNamedColor
  308. AllowEvents    XAllowEvents
  309. Bell    XBell
  310. SetAccessControl    XDisableAccessControl
  311.     XEnableAccessControl
  312.     XSetAccessControl
  313. ChangeActivePointerGrab    XChangeActivePointerGrab
  314. SetCloseDownMode    XSetCloseDownMode
  315. ChangeGC    XChangeGC
  316.     XSetArcMode
  317.     XSetBackground
  318.     XSetClipMask
  319.     XSetClipOrigin
  320.     XSetFillRule
  321.     XSetFillStyle
  322.     XSetFont
  323.     XSetForeground
  324.     XSetFunction
  325.     XSetGraphicsExposures
  326.     XSetLineAttributes
  327.     XSetPlaneMask
  328.     XSetState
  329.     XSetStipple
  330.     XSetSubwindowMode
  331.     XSetTile
  332.     XSetTSOrigin
  333. ChangeHosts    XAddHost
  334.     XAddHosts
  335.     XRemoveHost
  336.     XRemoveHosts
  337. ChangeKeyboardControl    XAutoRepeatOff
  338.     XAutoRepeatOn
  339.     XChangeKeyboardControl
  340. ChangeKeyboardMapping    XChangeKeyboardMapping
  341. ChangePointerControl    XChangePointerControl
  342. ChangeProperty    XChangeProperty
  343.     XSetClassHint
  344.     XSetCommand
  345.     XSetIconName
  346.     XSetIconSizes
  347.     XSetNormalHints
  348.     XSetRGBColormaps
  349.     XSetSizeHints
  350.     XSetStandardProperties
  351.     XSetTextProperty
  352.     XSetTransientForHint
  353.     XSetWMClientMachine
  354.     XSetWMColormapWindows
  355.     XSetWMHints
  356.     XSetWMIconName
  357.     XSetWMName
  358.     XSetWMNormalHints
  359.     XSetWMProperties
  360.     XSetWMProtocols
  361.     XSetWMSizeHints
  362.     XSetZoomHints
  363.     XStoreBuffer
  364.     XStoreBytes
  365.     XStoreName
  366. ChangeSaveSet    XAddToSaveSet
  367.     XChangeSaveSet
  368.     XRemoveFromSaveSet
  369. ChangeWindowAttributes    XChangeWindowAttributes
  370.     XDefineCursor
  371.     XSelectInput
  372.     XSetWindowBackground
  373.     XSetWindowBackgroundPixmap
  374.     XSetWindowBorder
  375.     XSetWindowBorderPixmap
  376.     XSetWindowColormap
  377.     XUndefineCursor
  378. CirculateWindow    XCirculateSubwindowsDown
  379.     XCirculateSubwindowsUp
  380.     XCirculateSubwindows
  381. ClearArea    XClearArea
  382.     XClearWindow
  383. CloseFont    XFreeFont
  384.     XUnloadFont
  385. ConfigureWindow    XConfigureWindow
  386.     XLowerWindow
  387.     XMapRaised
  388.     XMoveResizeWindow
  389.     XMoveWindow
  390.     XRaiseWindow
  391.     XReconfigureWMWindow
  392.     XResizeWindow
  393.     XRestackWindows
  394.     XSetWindowBorderWidth
  395. ConvertSelection    XConvertSelection
  396. CopyArea    XCopyArea
  397. CopyColormapAndFree    XCopyColormapAndFree
  398. CopyGC    XCopyGC
  399. CopyPlane    XCopyPlane
  400. CreateColormap    XCreateColormap
  401. CreateCursor    XCreatePixmapCursor
  402. CreateGC    XCreateGC
  403.     XCreateBitmapFromData
  404.     XCreatePixmapFromData
  405.     XOpenDisplay
  406.     XReadBitmapFile
  407. CreateGlyphCursor    XCreateFontCursor
  408.     XCreateGlyphCursor
  409. CreatePixmap    XCreatePixmap
  410.     XCreateBitmapFromData
  411.     XCreatePixmapFromData
  412.     XReadBitmapFile
  413. CreateWindow    XCreateSimpleWindow
  414.     XCreateWindow
  415. DeleteProperty    XDeleteProperty
  416. DestroySubwindows    XDestroySubwindows
  417. DestroyWindow    XDestroyWindow
  418. FillPoly    XFillPolygon
  419. ForceScreenSaver    XActivateScreenSaver
  420.     XForceScreenSaver
  421.     XResetScreenSaver
  422. FreeColormap    XFreeColormap
  423. FreeColors    XFreeColors
  424. FreeCursor    XFreeCursor
  425. FreeGC    XFreeGC
  426.     XCreateBitmapFromData
  427.     XCreatePixmapFromData
  428.     XReadBitmapFile
  429. FreePixmap    XFreePixmap
  430. GetAtomName    XGetAtomName
  431. GetFontPath    XGetFontPath
  432. GetGeometry    XGetGeometry
  433.     XGetWindowAttributes
  434. GetImage    XGetImage
  435. GetInputFocus    XGetInputFocus
  436.     XSync
  437.     XSynchronize
  438. GetKeyboardControl    XGetKeyboardControl
  439. GetKeyboardMapping    XGetKeyboardMapping
  440. GetModifierMapping    XGetModifierMapping
  441. GetMotionEvents    XGetMotionEvents
  442. GetPointerControl    XGetPointerControl
  443. GetPointerMapping    XGetPointerMapping
  444. GetProperty    XFetchBytes
  445.     XFetchName
  446.     XGetClassHint
  447.     XGetIconName
  448.     XGetIconSizes
  449.     XGetNormalHints
  450.     XGetRGBColormaps
  451.     XGetSizeHints
  452.     XGetTextProperty
  453.     XGetTransientForHint
  454.     XGetWMClientMachine
  455.     XGetWMColormapWindows
  456.     XGetWMHints
  457.     XGetWMIconName
  458.     XGetWMName
  459.     XGetWMNormalHints
  460.     XGetWMProtocols
  461.     XGetWMSizeHints
  462.     XGetWindowProperty
  463.     XGetZoomHints
  464. GetSelectionOwner    XGetSelectionOwner
  465. GetWindowAttributes    XGetWindowAttributes
  466. GrabButton    XGrabButton
  467. GrabKey    XGrabKey
  468. GrabKeyboard    XGrabKeyboard
  469. GrabPointer    XGrabPointer
  470. GrabServer    XGrabServer
  471. ImageText16    XDrawImageString16
  472. ImageText8    XDrawImageString
  473. InstallColormap    XInstallColormap
  474. InternAtom    XGetWMColormapWindows
  475.     XGetWMProtocols
  476.     XIconifyWindow
  477.     XInternAtom
  478.     XSetWMColormapWindows
  479.     XSetWMProtocols
  480. KillClient    XKillClient
  481. ListExtensions    XListExtensions
  482. ListFonts    XListFonts
  483. ListFontsWithInfo    XListFontsWithInfo
  484. ListHosts    XListHosts
  485. ListInstalledColormaps    XListInstalledColormaps
  486. ListProperties    XListProperties
  487. LookupColor    XLookupColor
  488.     XParseColor
  489. MapSubwindows    XMapSubwindows
  490. MapWindow    XMapRaised
  491.     XMapWindow
  492. NoOperation    XNoOp
  493. OpenFont    XLoadFont
  494.     XLoadQueryFont
  495. PolyArc    XDrawArc
  496.     XDrawArcs
  497. PolyFillArc    XFillArc
  498.     XFillArcs
  499. PolyFillRectangle    XFillRectangle
  500.     XFillRectangles
  501. PolyLine    XDrawLines
  502. PolyPoint    XDrawPoint
  503.     XDrawPoints
  504. PolyRectangle    XDrawRectangle
  505.     XDrawRectangles
  506. PolySegment    XDrawLine
  507.     XDrawSegments
  508. PolyText16    XDrawString16
  509.     XDrawText16
  510. PolyText8    XDrawString
  511.     XDrawText
  512. PutImage    XPutImage
  513.     XCreateBitmapFromData
  514.     XCreatePixmapFromData
  515.     XReadBitmapFile
  516. QueryBestSize    XQueryBestCursor
  517.     XQueryBestSize
  518.     XQueryBestStipple
  519.     XQueryBestTile
  520. QueryColors    XQueryColor
  521.     XQueryColors
  522. QueryExtension    XInitExtension
  523.     XQueryExtension
  524. QueryFont    XLoadQueryFont
  525.     XQueryFont
  526. QueryKeymap    XQueryKeymap
  527. QueryPointer    XQueryPointer
  528. QueryTextExtents    XQueryTextExtents
  529.     XQueryTextExtents16
  530. QueryTree    XQueryTree
  531. RecolorCursor    XRecolorCursor
  532. ReparentWindow    XReparentWindow
  533. RotateProperties    XRotateBuffers
  534.     XRotateWindowProperties
  535. SendEvent    XIconifyWindow
  536.     XReconfigureWMWindow
  537.     XSendEvent
  538.     XWithdrawWindow
  539. SetClipRectangles    XSetClipRectangles
  540. SetCloseDownMode    XSetCloseDownMode
  541. SetDashes    XSetDashes
  542. SetFontPath    XSetFontPath
  543. SetInputFocus    XSetInputFocus
  544. SetModifierMapping    XSetModifierMapping
  545. SetPointerMapping    XSetPointerMapping
  546. SetScreenSaver    XGetScreenSaver
  547.     XSetScreenSaver
  548. SetSelectionOwner    XSetSelectionOwner
  549. StoreColors    XStoreColor
  550.     XStoreColors
  551. StoreNamedColor    XStoreNamedColor
  552. TranslateCoordinates    XTranslateCoordinates
  553. UngrabButton    XUngrabButton
  554. UngrabKey    XUngrabKey
  555. UngrabKeyboard    XUngrabKeyboard
  556. UngrabPointer    XUngrabPointer
  557. UngrabServer    XUngrabServer
  558. UninstallColormap    XUninstallColormap
  559. UnmapSubwindows    XUnmapSubWindows
  560. UnmapWindow    XUnmapWindow
  561.     XWithdrawWindow
  562. WarpPointer    XWarpPointer
  563. .TE
  564. .bp
  565.