gtk2 1.1.4-x86-mingw32 → 1.1.5-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (393) hide show
  1. data/Rakefile +2 -1
  2. data/ext/gtk2/rbgtk.c +40 -0
  3. data/ext/gtk2/rbgtktreestore.c +6 -5
  4. data/lib/1.8/gtk2.so +0 -0
  5. data/lib/1.9/gtk2.so +0 -0
  6. data/vendor/local/bin/gtk-demo.exe +0 -0
  7. data/vendor/local/bin/gtk-query-immodules-2.0.exe +0 -0
  8. data/vendor/local/bin/gtk-update-icon-cache.exe +0 -0
  9. data/vendor/local/bin/libgailutil-18.dll +0 -0
  10. data/vendor/local/bin/libgdk-win32-2.0-0.dll +0 -0
  11. data/vendor/local/bin/libgtk-win32-2.0-0.dll +0 -0
  12. data/vendor/local/etc/gtk-2.0/gtk.immodules +1 -1
  13. data/vendor/local/include/gtk-2.0/gtk/gtkprivate.h +17 -0
  14. data/vendor/local/include/gtk-2.0/gtk/gtkversion.h +3 -3
  15. data/vendor/local/lib/gailutil.lib +0 -0
  16. data/vendor/local/lib/gdk-win32-2.0.lib +0 -0
  17. data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll +0 -0
  18. data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll +0 -0
  19. data/vendor/local/lib/gtk-2.0/modules/libgail.dll +0 -0
  20. data/vendor/local/lib/gtk-win32-2.0.lib +0 -0
  21. data/vendor/local/lib/libgailutil.dll.a +0 -0
  22. data/vendor/local/lib/libgdk-win32-2.0.dll.a +0 -0
  23. data/vendor/local/lib/libgtk-win32-2.0.dll.a +0 -0
  24. data/vendor/local/lib/pkgconfig/gail.pc +1 -1
  25. data/vendor/local/lib/pkgconfig/gdk-2.0.pc +1 -1
  26. data/vendor/local/lib/pkgconfig/gdk-win32-2.0.pc +1 -1
  27. data/vendor/local/lib/pkgconfig/gtk+-2.0.pc +1 -1
  28. data/vendor/local/lib/pkgconfig/gtk+-win32-2.0.pc +1 -1
  29. data/vendor/local/manifest/{gtk+-dev_2.24.8-1_win32.mft → gtk+-dev_2.24.10-1_win32.mft} +5 -7
  30. data/vendor/local/manifest/{gtk+_2.24.8-1_win32.mft → gtk+_2.24.10-1_win32.mft} +2 -2
  31. data/vendor/local/share/doc/{gtk+-2.24.8 → gtk+-2.24.10}/COPYING +0 -0
  32. data/vendor/local/share/doc/{gtk+-dev-2.24.8 → gtk+-dev-2.24.10}/COPYING +0 -0
  33. data/vendor/local/share/gtk-2.0/demo/drawingarea.c +1 -1
  34. data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailMisc.html +18 -18
  35. data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailTextUtil.html +9 -10
  36. data/vendor/local/share/gtk-doc/html/gail-libgail-util/index.html +3 -3
  37. data/vendor/local/share/gtk-doc/html/gail-libgail-util/libgail-util-main.html +2 -2
  38. data/vendor/local/share/gtk-doc/html/gdk/GdkDisplay.html +3 -3
  39. data/vendor/local/share/gtk-doc/html/gdk/GdkDisplayManager.html +2 -2
  40. data/vendor/local/share/gtk-doc/html/gdk/GdkScreen.html +2 -2
  41. data/vendor/local/share/gtk-doc/html/gdk/annotation-glossary.html +2 -2
  42. data/vendor/local/share/gtk-doc/html/gdk/api-index-2-10.html +3 -3
  43. data/vendor/local/share/gtk-doc/html/gdk/api-index-2-12.html +4 -4
  44. data/vendor/local/share/gtk-doc/html/gdk/api-index-2-14.html +3 -3
  45. data/vendor/local/share/gtk-doc/html/gdk/api-index-2-16.html +2 -2
  46. data/vendor/local/share/gtk-doc/html/gdk/api-index-2-18.html +2 -2
  47. data/vendor/local/share/gtk-doc/html/gdk/api-index-2-2.html +21 -21
  48. data/vendor/local/share/gtk-doc/html/gdk/api-index-2-20.html +2 -2
  49. data/vendor/local/share/gtk-doc/html/gdk/api-index-2-22.html +2 -2
  50. data/vendor/local/share/gtk-doc/html/gdk/api-index-2-4.html +3 -3
  51. data/vendor/local/share/gtk-doc/html/gdk/api-index-2-6.html +3 -3
  52. data/vendor/local/share/gtk-doc/html/gdk/api-index-2-8.html +5 -5
  53. data/vendor/local/share/gtk-doc/html/gdk/api-index-deprecated.html +22 -22
  54. data/vendor/local/share/gtk-doc/html/gdk/api-index-full.html +93 -93
  55. data/vendor/local/share/gtk-doc/html/gdk/gdk-Application-launching.html +5 -5
  56. data/vendor/local/share/gtk-doc/html/gdk/gdk-Bitmaps-and-Pixmaps.html +2 -2
  57. data/vendor/local/share/gtk-doc/html/gdk/gdk-Cairo-Interaction.html +4 -4
  58. data/vendor/local/share/gtk-doc/html/gdk/gdk-Colormaps-and-Colors.html +3 -3
  59. data/vendor/local/share/gtk-doc/html/gdk/gdk-Cursors.html +4 -5
  60. data/vendor/local/share/gtk-doc/html/gdk/gdk-Drag-and-Drop.html +5 -7
  61. data/vendor/local/share/gtk-doc/html/gdk/gdk-Drawing-Primitives.html +10 -10
  62. data/vendor/local/share/gtk-doc/html/gdk/gdk-Event-Structures.html +12 -20
  63. data/vendor/local/share/gtk-doc/html/gdk/gdk-Events.html +7 -9
  64. data/vendor/local/share/gtk-doc/html/gdk/gdk-Fonts.html +3 -4
  65. data/vendor/local/share/gtk-doc/html/gdk/gdk-GdkRGB.html +16 -17
  66. data/vendor/local/share/gtk-doc/html/gdk/gdk-General.html +21 -22
  67. data/vendor/local/share/gtk-doc/html/gdk/gdk-Graphics-Contexts.html +9 -16
  68. data/vendor/local/share/gtk-doc/html/gdk/gdk-Images.html +3 -4
  69. data/vendor/local/share/gtk-doc/html/gdk/gdk-Input-Devices.html +9 -13
  70. data/vendor/local/share/gtk-doc/html/gdk/gdk-Input.html +3 -4
  71. data/vendor/local/share/gtk-doc/html/gdk/gdk-Keyboard-Handling.html +2 -2
  72. data/vendor/local/share/gtk-doc/html/gdk/gdk-Pango-Interaction.html +9 -9
  73. data/vendor/local/share/gtk-doc/html/gdk/gdk-Pixbufs.html +2 -2
  74. data/vendor/local/share/gtk-doc/html/gdk/gdk-Points-Rectangles-and-Regions.html +4 -6
  75. data/vendor/local/share/gtk-doc/html/gdk/gdk-Properties-and-Atoms.html +6 -7
  76. data/vendor/local/share/gtk-doc/html/gdk/gdk-Selections.html +3 -3
  77. data/vendor/local/share/gtk-doc/html/gdk/gdk-Testing.html +4 -4
  78. data/vendor/local/share/gtk-doc/html/gdk/gdk-Threads.html +23 -23
  79. data/vendor/local/share/gtk-doc/html/gdk/gdk-Visuals.html +4 -6
  80. data/vendor/local/share/gtk-doc/html/gdk/gdk-Windows.html +88 -98
  81. data/vendor/local/share/gtk-doc/html/gdk/gdk-X-Window-System-Interaction.html +2486 -0
  82. data/vendor/local/share/gtk-doc/html/gdk/gdk.devhelp2 +92 -0
  83. data/vendor/local/share/gtk-doc/html/gdk/index.html +5 -2
  84. data/vendor/local/share/gtk-doc/html/gdk/index.sgml +95 -0
  85. data/vendor/local/share/gtk-doc/html/gdk/multihead.html +10 -10
  86. data/vendor/local/share/gtk-doc/html/gdk/reference.html +5 -3
  87. data/vendor/local/share/gtk-doc/html/gtk/AbstractObjects.html +2 -2
  88. data/vendor/local/share/gtk-doc/html/gtk/Actions.html +2 -2
  89. data/vendor/local/share/gtk-doc/html/gtk/Builder.html +2 -2
  90. data/vendor/local/share/gtk-doc/html/gtk/ButtonWidgets.html +2 -2
  91. data/vendor/local/share/gtk-doc/html/gtk/DeprecatedObjects.html +2 -2
  92. data/vendor/local/share/gtk-doc/html/gtk/DisplayWidgets.html +2 -2
  93. data/vendor/local/share/gtk-doc/html/gtk/GtkAboutDialog.html +26 -36
  94. data/vendor/local/share/gtk-doc/html/gtk/GtkAccelLabel.html +4 -4
  95. data/vendor/local/share/gtk-doc/html/gtk/GtkAccessible.html +2 -2
  96. data/vendor/local/share/gtk-doc/html/gtk/GtkAction.html +12 -12
  97. data/vendor/local/share/gtk-doc/html/gtk/GtkActionGroup.html +3 -3
  98. data/vendor/local/share/gtk-doc/html/gtk/GtkActivatable.html +5 -5
  99. data/vendor/local/share/gtk-doc/html/gtk/GtkAdjustment.html +2 -2
  100. data/vendor/local/share/gtk-doc/html/gtk/GtkAlignment.html +2 -2
  101. data/vendor/local/share/gtk-doc/html/gtk/GtkArrow.html +2 -2
  102. data/vendor/local/share/gtk-doc/html/gtk/GtkAspectFrame.html +2 -2
  103. data/vendor/local/share/gtk-doc/html/gtk/GtkAssistant.html +7 -8
  104. data/vendor/local/share/gtk-doc/html/gtk/GtkBin.html +2 -2
  105. data/vendor/local/share/gtk-doc/html/gtk/GtkBox.html +2 -2
  106. data/vendor/local/share/gtk-doc/html/gtk/GtkBuildable.html +2 -2
  107. data/vendor/local/share/gtk-doc/html/gtk/GtkBuilder.html +6 -7
  108. data/vendor/local/share/gtk-doc/html/gtk/GtkButton.html +8 -8
  109. data/vendor/local/share/gtk-doc/html/gtk/GtkButtonBox.html +2 -2
  110. data/vendor/local/share/gtk-doc/html/gtk/GtkCList.html +37 -40
  111. data/vendor/local/share/gtk-doc/html/gtk/GtkCTree.html +54 -58
  112. data/vendor/local/share/gtk-doc/html/gtk/GtkCalendar.html +5 -6
  113. data/vendor/local/share/gtk-doc/html/gtk/GtkCellEditable.html +6 -6
  114. data/vendor/local/share/gtk-doc/html/gtk/GtkCellLayout.html +3 -7
  115. data/vendor/local/share/gtk-doc/html/gtk/GtkCellRenderer.html +33 -35
  116. data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererAccel.html +6 -7
  117. data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererCombo.html +2 -2
  118. data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererPixbuf.html +2 -2
  119. data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererProgress.html +3 -3
  120. data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererSpin.html +2 -2
  121. data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererSpinner.html +2 -2
  122. data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererText.html +6 -6
  123. data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererToggle.html +2 -2
  124. data/vendor/local/share/gtk-doc/html/gtk/GtkCellView.html +6 -6
  125. data/vendor/local/share/gtk-doc/html/gtk/GtkCheckButton.html +2 -2
  126. data/vendor/local/share/gtk-doc/html/gtk/GtkColorButton.html +13 -13
  127. data/vendor/local/share/gtk-doc/html/gtk/GtkColorSelection.html +32 -32
  128. data/vendor/local/share/gtk-doc/html/gtk/GtkColorSelectionDialog.html +2 -2
  129. data/vendor/local/share/gtk-doc/html/gtk/GtkCombo.html +3 -3
  130. data/vendor/local/share/gtk-doc/html/gtk/GtkComboBox.html +4 -4
  131. data/vendor/local/share/gtk-doc/html/gtk/GtkComboBoxEntry.html +2 -2
  132. data/vendor/local/share/gtk-doc/html/gtk/GtkComboBoxText.html +3 -3
  133. data/vendor/local/share/gtk-doc/html/gtk/GtkContainer.html +7 -25
  134. data/vendor/local/share/gtk-doc/html/gtk/GtkCurve.html +4 -4
  135. data/vendor/local/share/gtk-doc/html/gtk/GtkDialog.html +9 -24
  136. data/vendor/local/share/gtk-doc/html/gtk/GtkDrawingArea.html +8 -8
  137. data/vendor/local/share/gtk-doc/html/gtk/GtkEditable.html +3 -3
  138. data/vendor/local/share/gtk-doc/html/gtk/GtkEntry.html +17 -18
  139. data/vendor/local/share/gtk-doc/html/gtk/GtkEntryBuffer.html +6 -6
  140. data/vendor/local/share/gtk-doc/html/gtk/GtkEntryCompletion.html +2 -2
  141. data/vendor/local/share/gtk-doc/html/gtk/GtkEventBox.html +4 -4
  142. data/vendor/local/share/gtk-doc/html/gtk/GtkExpander.html +5 -5
  143. data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooser.html +10 -12
  144. data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooserButton.html +11 -13
  145. data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooserDialog.html +2 -12
  146. data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooserWidget.html +2 -2
  147. data/vendor/local/share/gtk-doc/html/gtk/GtkFileSelection.html +3 -3
  148. data/vendor/local/share/gtk-doc/html/gtk/GtkFixed.html +5 -5
  149. data/vendor/local/share/gtk-doc/html/gtk/GtkFontButton.html +6 -6
  150. data/vendor/local/share/gtk-doc/html/gtk/GtkFontSelection.html +7 -7
  151. data/vendor/local/share/gtk-doc/html/gtk/GtkFontSelectionDialog.html +7 -7
  152. data/vendor/local/share/gtk-doc/html/gtk/GtkFrame.html +3 -3
  153. data/vendor/local/share/gtk-doc/html/gtk/GtkGammaCurve.html +2 -2
  154. data/vendor/local/share/gtk-doc/html/gtk/GtkHBox.html +2 -2
  155. data/vendor/local/share/gtk-doc/html/gtk/GtkHButtonBox.html +2 -2
  156. data/vendor/local/share/gtk-doc/html/gtk/GtkHPaned.html +2 -2
  157. data/vendor/local/share/gtk-doc/html/gtk/GtkHRuler.html +2 -2
  158. data/vendor/local/share/gtk-doc/html/gtk/GtkHSV.html +2 -2
  159. data/vendor/local/share/gtk-doc/html/gtk/GtkHScale.html +2 -2
  160. data/vendor/local/share/gtk-doc/html/gtk/GtkHScrollbar.html +2 -2
  161. data/vendor/local/share/gtk-doc/html/gtk/GtkHSeparator.html +2 -2
  162. data/vendor/local/share/gtk-doc/html/gtk/GtkHandleBox.html +2 -2
  163. data/vendor/local/share/gtk-doc/html/gtk/GtkIMContext.html +10 -10
  164. data/vendor/local/share/gtk-doc/html/gtk/GtkIMContextSimple.html +2 -2
  165. data/vendor/local/share/gtk-doc/html/gtk/GtkIMMulticontext.html +2 -2
  166. data/vendor/local/share/gtk-doc/html/gtk/GtkIconTheme.html +25 -26
  167. data/vendor/local/share/gtk-doc/html/gtk/GtkIconView.html +14 -15
  168. data/vendor/local/share/gtk-doc/html/gtk/GtkImage.html +63 -64
  169. data/vendor/local/share/gtk-doc/html/gtk/GtkImageMenuItem.html +2 -2
  170. data/vendor/local/share/gtk-doc/html/gtk/GtkInfoBar.html +3 -3
  171. data/vendor/local/share/gtk-doc/html/gtk/GtkInputDialog.html +7 -7
  172. data/vendor/local/share/gtk-doc/html/gtk/GtkInvisible.html +15 -15
  173. data/vendor/local/share/gtk-doc/html/gtk/GtkItem.html +2 -2
  174. data/vendor/local/share/gtk-doc/html/gtk/GtkItemFactory.html +20 -22
  175. data/vendor/local/share/gtk-doc/html/gtk/GtkLabel.html +16 -16
  176. data/vendor/local/share/gtk-doc/html/gtk/GtkLayout.html +5 -5
  177. data/vendor/local/share/gtk-doc/html/gtk/GtkLinkButton.html +10 -10
  178. data/vendor/local/share/gtk-doc/html/gtk/GtkList.html +2 -2
  179. data/vendor/local/share/gtk-doc/html/gtk/GtkListItem.html +2 -2
  180. data/vendor/local/share/gtk-doc/html/gtk/GtkListStore.html +5 -17
  181. data/vendor/local/share/gtk-doc/html/gtk/GtkMenu.html +11 -11
  182. data/vendor/local/share/gtk-doc/html/gtk/GtkMenuBar.html +3 -4
  183. data/vendor/local/share/gtk-doc/html/gtk/GtkMenuItem.html +3 -3
  184. data/vendor/local/share/gtk-doc/html/gtk/GtkMenuShell.html +4 -5
  185. data/vendor/local/share/gtk-doc/html/gtk/GtkMenuToolButton.html +3 -3
  186. data/vendor/local/share/gtk-doc/html/gtk/GtkMessageDialog.html +6 -28
  187. data/vendor/local/share/gtk-doc/html/gtk/GtkMisc.html +2 -2
  188. data/vendor/local/share/gtk-doc/html/gtk/GtkNotebook.html +3 -3
  189. data/vendor/local/share/gtk-doc/html/gtk/GtkObject.html +9 -26
  190. data/vendor/local/share/gtk-doc/html/gtk/GtkOffscreenWindow.html +7 -7
  191. data/vendor/local/share/gtk-doc/html/gtk/GtkOldEditable.html +2 -2
  192. data/vendor/local/share/gtk-doc/html/gtk/GtkOptionMenu.html +2 -2
  193. data/vendor/local/share/gtk-doc/html/gtk/GtkPageSetup.html +3 -3
  194. data/vendor/local/share/gtk-doc/html/gtk/GtkPageSetupUnixDialog.html +2 -2
  195. data/vendor/local/share/gtk-doc/html/gtk/GtkPaned.html +6 -6
  196. data/vendor/local/share/gtk-doc/html/gtk/GtkPaperSize.html +3 -4
  197. data/vendor/local/share/gtk-doc/html/gtk/GtkPixmap.html +22 -22
  198. data/vendor/local/share/gtk-doc/html/gtk/GtkPlug.html +22 -22
  199. data/vendor/local/share/gtk-doc/html/gtk/GtkPreview.html +16 -16
  200. data/vendor/local/share/gtk-doc/html/gtk/GtkPrintContext.html +3 -3
  201. data/vendor/local/share/gtk-doc/html/gtk/GtkPrintJob.html +4 -4
  202. data/vendor/local/share/gtk-doc/html/gtk/GtkPrintSettings.html +22 -38
  203. data/vendor/local/share/gtk-doc/html/gtk/GtkPrintUnixDialog.html +14 -17
  204. data/vendor/local/share/gtk-doc/html/gtk/GtkPrinter.html +14 -14
  205. data/vendor/local/share/gtk-doc/html/gtk/GtkProgress.html +2 -2
  206. data/vendor/local/share/gtk-doc/html/gtk/GtkProgressBar.html +8 -10
  207. data/vendor/local/share/gtk-doc/html/gtk/GtkRadioAction.html +2 -2
  208. data/vendor/local/share/gtk-doc/html/gtk/GtkRadioButton.html +3 -3
  209. data/vendor/local/share/gtk-doc/html/gtk/GtkRadioMenuItem.html +3 -3
  210. data/vendor/local/share/gtk-doc/html/gtk/GtkRadioToolButton.html +2 -2
  211. data/vendor/local/share/gtk-doc/html/gtk/GtkRange.html +7 -8
  212. data/vendor/local/share/gtk-doc/html/gtk/GtkRecentAction.html +2 -2
  213. data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooser.html +6 -8
  214. data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooserDialog.html +2 -14
  215. data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooserMenu.html +2 -2
  216. data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooserWidget.html +2 -2
  217. data/vendor/local/share/gtk-doc/html/gtk/GtkRecentFilter.html +8 -8
  218. data/vendor/local/share/gtk-doc/html/gtk/GtkRecentManager.html +32 -33
  219. data/vendor/local/share/gtk-doc/html/gtk/GtkRuler.html +2 -2
  220. data/vendor/local/share/gtk-doc/html/gtk/GtkScale.html +2 -2
  221. data/vendor/local/share/gtk-doc/html/gtk/GtkScaleButton.html +2 -2
  222. data/vendor/local/share/gtk-doc/html/gtk/GtkScrollbar.html +2 -2
  223. data/vendor/local/share/gtk-doc/html/gtk/GtkScrolledWindow.html +6 -6
  224. data/vendor/local/share/gtk-doc/html/gtk/GtkSeparator.html +2 -2
  225. data/vendor/local/share/gtk-doc/html/gtk/GtkSeparatorMenuItem.html +2 -2
  226. data/vendor/local/share/gtk-doc/html/gtk/GtkSeparatorToolItem.html +2 -2
  227. data/vendor/local/share/gtk-doc/html/gtk/GtkSettings.html +12 -12
  228. data/vendor/local/share/gtk-doc/html/gtk/GtkSizeGroup.html +3 -3
  229. data/vendor/local/share/gtk-doc/html/gtk/GtkSocket.html +11 -11
  230. data/vendor/local/share/gtk-doc/html/gtk/GtkSpinButton.html +14 -16
  231. data/vendor/local/share/gtk-doc/html/gtk/GtkSpinner.html +2 -2
  232. data/vendor/local/share/gtk-doc/html/gtk/GtkStatusIcon.html +28 -28
  233. data/vendor/local/share/gtk-doc/html/gtk/GtkStatusbar.html +2 -2
  234. data/vendor/local/share/gtk-doc/html/gtk/GtkStyle.html +222 -222
  235. data/vendor/local/share/gtk-doc/html/gtk/GtkTable.html +2 -2
  236. data/vendor/local/share/gtk-doc/html/gtk/GtkTearoffMenuItem.html +2 -2
  237. data/vendor/local/share/gtk-doc/html/gtk/GtkText.html +9 -9
  238. data/vendor/local/share/gtk-doc/html/gtk/GtkTextBuffer.html +38 -52
  239. data/vendor/local/share/gtk-doc/html/gtk/GtkTextIter.html +11 -5
  240. data/vendor/local/share/gtk-doc/html/gtk/GtkTextMark.html +8 -8
  241. data/vendor/local/share/gtk-doc/html/gtk/GtkTextTag.html +21 -22
  242. data/vendor/local/share/gtk-doc/html/gtk/GtkTextTagTable.html +3 -3
  243. data/vendor/local/share/gtk-doc/html/gtk/GtkTextView.html +23 -24
  244. data/vendor/local/share/gtk-doc/html/gtk/GtkTipsQuery.html +5 -5
  245. data/vendor/local/share/gtk-doc/html/gtk/GtkToggleAction.html +2 -2
  246. data/vendor/local/share/gtk-doc/html/gtk/GtkToggleButton.html +3 -3
  247. data/vendor/local/share/gtk-doc/html/gtk/GtkToggleToolButton.html +2 -2
  248. data/vendor/local/share/gtk-doc/html/gtk/GtkToolButton.html +12 -12
  249. data/vendor/local/share/gtk-doc/html/gtk/GtkToolItem.html +2 -2
  250. data/vendor/local/share/gtk-doc/html/gtk/GtkToolItemGroup.html +10 -14
  251. data/vendor/local/share/gtk-doc/html/gtk/GtkToolPalette.html +24 -36
  252. data/vendor/local/share/gtk-doc/html/gtk/GtkToolShell.html +2 -2
  253. data/vendor/local/share/gtk-doc/html/gtk/GtkToolbar.html +4 -6
  254. data/vendor/local/share/gtk-doc/html/gtk/GtkTooltip.html +8 -8
  255. data/vendor/local/share/gtk-doc/html/gtk/GtkTooltips.html +5 -5
  256. data/vendor/local/share/gtk-doc/html/gtk/GtkTree.html +3 -4
  257. data/vendor/local/share/gtk-doc/html/gtk/GtkTreeItem.html +2 -2
  258. data/vendor/local/share/gtk-doc/html/gtk/GtkTreeModel.html +14 -17
  259. data/vendor/local/share/gtk-doc/html/gtk/GtkTreeModelFilter.html +2 -2
  260. data/vendor/local/share/gtk-doc/html/gtk/GtkTreeModelSort.html +4 -4
  261. data/vendor/local/share/gtk-doc/html/gtk/GtkTreeSelection.html +4 -4
  262. data/vendor/local/share/gtk-doc/html/gtk/GtkTreeSortable.html +2 -2
  263. data/vendor/local/share/gtk-doc/html/gtk/GtkTreeStore.html +3 -15
  264. data/vendor/local/share/gtk-doc/html/gtk/GtkTreeView.html +35 -41
  265. data/vendor/local/share/gtk-doc/html/gtk/GtkTreeViewColumn.html +9 -20
  266. data/vendor/local/share/gtk-doc/html/gtk/GtkUIManager.html +6 -6
  267. data/vendor/local/share/gtk-doc/html/gtk/GtkVBox.html +2 -2
  268. data/vendor/local/share/gtk-doc/html/gtk/GtkVButtonBox.html +2 -2
  269. data/vendor/local/share/gtk-doc/html/gtk/GtkVPaned.html +2 -2
  270. data/vendor/local/share/gtk-doc/html/gtk/GtkVRuler.html +2 -2
  271. data/vendor/local/share/gtk-doc/html/gtk/GtkVScale.html +2 -2
  272. data/vendor/local/share/gtk-doc/html/gtk/GtkVScrollbar.html +2 -2
  273. data/vendor/local/share/gtk-doc/html/gtk/GtkVSeparator.html +2 -2
  274. data/vendor/local/share/gtk-doc/html/gtk/GtkViewport.html +8 -8
  275. data/vendor/local/share/gtk-doc/html/gtk/GtkVolumeButton.html +4 -4
  276. data/vendor/local/share/gtk-doc/html/gtk/GtkWidget.html +312 -309
  277. data/vendor/local/share/gtk-doc/html/gtk/GtkWindow.html +62 -62
  278. data/vendor/local/share/gtk-doc/html/gtk/GtkWindowGroup.html +2 -2
  279. data/vendor/local/share/gtk-doc/html/gtk/LayoutContainers.html +2 -2
  280. data/vendor/local/share/gtk-doc/html/gtk/MenusAndCombos.html +2 -2
  281. data/vendor/local/share/gtk-doc/html/gtk/MiscObjects.html +2 -2
  282. data/vendor/local/share/gtk-doc/html/gtk/NumericEntry.html +2 -2
  283. data/vendor/local/share/gtk-doc/html/gtk/Ornaments.html +2 -2
  284. data/vendor/local/share/gtk-doc/html/gtk/PlugSocket.html +2 -2
  285. data/vendor/local/share/gtk-doc/html/gtk/Printing.html +2 -2
  286. data/vendor/local/share/gtk-doc/html/gtk/RecentDocuments.html +2 -2
  287. data/vendor/local/share/gtk-doc/html/gtk/ScrollingWidgets.html +2 -2
  288. data/vendor/local/share/gtk-doc/html/gtk/SelectorWidgets.html +2 -2
  289. data/vendor/local/share/gtk-doc/html/gtk/SpecialObjects.html +2 -2
  290. data/vendor/local/share/gtk-doc/html/gtk/TextWidget.html +8 -8
  291. data/vendor/local/share/gtk-doc/html/gtk/TextWidgetObjects.html +2 -2
  292. data/vendor/local/share/gtk-doc/html/gtk/TreeWidget.html +8 -8
  293. data/vendor/local/share/gtk-doc/html/gtk/TreeWidgetObjects.html +2 -2
  294. data/vendor/local/share/gtk-doc/html/gtk/WindowWidgets.html +2 -2
  295. data/vendor/local/share/gtk-doc/html/gtk/annotation-glossary.html +2 -2
  296. data/vendor/local/share/gtk-doc/html/gtk/api-index-2-10.html +2 -2
  297. data/vendor/local/share/gtk-doc/html/gtk/api-index-2-12.html +2 -2
  298. data/vendor/local/share/gtk-doc/html/gtk/api-index-2-14.html +2 -2
  299. data/vendor/local/share/gtk-doc/html/gtk/api-index-2-16.html +2 -2
  300. data/vendor/local/share/gtk-doc/html/gtk/api-index-2-18.html +2 -2
  301. data/vendor/local/share/gtk-doc/html/gtk/api-index-2-2.html +2 -2
  302. data/vendor/local/share/gtk-doc/html/gtk/api-index-2-20.html +2 -2
  303. data/vendor/local/share/gtk-doc/html/gtk/api-index-2-22.html +2 -2
  304. data/vendor/local/share/gtk-doc/html/gtk/api-index-2-24.html +2 -2
  305. data/vendor/local/share/gtk-doc/html/gtk/api-index-2-4.html +2 -2
  306. data/vendor/local/share/gtk-doc/html/gtk/api-index-2-6.html +2 -2
  307. data/vendor/local/share/gtk-doc/html/gtk/api-index-2-8.html +2 -2
  308. data/vendor/local/share/gtk-doc/html/gtk/api-index-deprecated.html +2 -2
  309. data/vendor/local/share/gtk-doc/html/gtk/api-index-full.html +2 -2
  310. data/vendor/local/share/gtk-doc/html/gtk/ch01.html +3 -3
  311. data/vendor/local/share/gtk-doc/html/gtk/ch02.html +3 -3
  312. data/vendor/local/share/gtk-doc/html/gtk/chap-drawing-model.html +7 -7
  313. data/vendor/local/share/gtk-doc/html/gtk/checklist-gdkeventexpose-region.html +3 -3
  314. data/vendor/local/share/gtk-doc/html/gtk/checklist-modifiers.html +2 -2
  315. data/vendor/local/share/gtk-doc/html/gtk/checklist-named-icons.html +2 -2
  316. data/vendor/local/share/gtk-doc/html/gtk/decorating-the-assistant-pages.html +2 -2
  317. data/vendor/local/share/gtk-doc/html/gtk/glossary.html +2 -2
  318. data/vendor/local/share/gtk-doc/html/gtk/gtk-Accelerator-Maps.html +9 -9
  319. data/vendor/local/share/gtk-doc/html/gtk/gtk-Bindings.html +30 -35
  320. data/vendor/local/share/gtk-doc/html/gtk/gtk-Clipboards.html +40 -40
  321. data/vendor/local/share/gtk-doc/html/gtk/gtk-Drag-and-Drop.html +71 -71
  322. data/vendor/local/share/gtk-doc/html/gtk/gtk-Feature-Test-Macros.html +10 -10
  323. data/vendor/local/share/gtk-doc/html/gtk/gtk-Filesystem-utilities.html +15 -15
  324. data/vendor/local/share/gtk-doc/html/gtk/gtk-General.html +31 -31
  325. data/vendor/local/share/gtk-doc/html/gtk/gtk-Graphics-Contexts.html +27 -27
  326. data/vendor/local/share/gtk-doc/html/gtk/gtk-GtkTreeView-drag-and-drop.html +2 -2
  327. data/vendor/local/share/gtk-doc/html/gtk/gtk-High-level-Printing-API.html +14 -15
  328. data/vendor/local/share/gtk-doc/html/gtk/gtk-Keyboard-Accelerators.html +48 -48
  329. data/vendor/local/share/gtk-doc/html/gtk/gtk-Orientable.html +2 -2
  330. data/vendor/local/share/gtk-doc/html/gtk/gtk-Resource-Files.html +26 -27
  331. data/vendor/local/share/gtk-doc/html/gtk/gtk-Selections.html +60 -56
  332. data/vendor/local/share/gtk-doc/html/gtk/gtk-Signals.html +7 -22
  333. data/vendor/local/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html +43 -84
  334. data/vendor/local/share/gtk-doc/html/gtk/gtk-Stock-Items.html +3 -3
  335. data/vendor/local/share/gtk-doc/html/gtk/gtk-Testing.html +8 -18
  336. data/vendor/local/share/gtk-doc/html/gtk/gtk-Themeable-Stock-Images.html +9 -10
  337. data/vendor/local/share/gtk-doc/html/gtk/gtk-Types.html +10 -10
  338. data/vendor/local/share/gtk-doc/html/gtk/gtk-builder-convert.html +5 -5
  339. data/vendor/local/share/gtk-doc/html/gtk/gtk-building.html +2 -2
  340. data/vendor/local/share/gtk-doc/html/gtk/gtk-changes-1-2.html +3 -3
  341. data/vendor/local/share/gtk-doc/html/gtk/gtk-changes-2-0.html +3 -3
  342. data/vendor/local/share/gtk-doc/html/gtk/gtk-compiling.html +5 -5
  343. data/vendor/local/share/gtk-doc/html/gtk/gtk-directfb.html +4 -4
  344. data/vendor/local/share/gtk-doc/html/gtk/gtk-gtkcheckmenuitem.html +2 -2
  345. data/vendor/local/share/gtk-doc/html/gtk/gtk-gtkfilefilter.html +6 -6
  346. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-ClientSideWindows.html +12 -12
  347. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkAboutDialog.html +3 -3
  348. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkAction.html +2 -2
  349. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkAssistant.html +2 -2
  350. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkBuilder.html +3 -3
  351. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkColorButton.html +5 -5
  352. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkComboBox.html +6 -6
  353. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkFileChooser.html +2 -2
  354. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkIconView.html +8 -8
  355. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkLinkButton.html +3 -3
  356. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkRecentChooser.html +2 -2
  357. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-checklist.html +2 -2
  358. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-entry-icons.html +3 -3
  359. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-label-links.html +2 -2
  360. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-tooltips.html +2 -2
  361. data/vendor/local/share/gtk-doc/html/gtk/gtk-osx.html +3 -3
  362. data/vendor/local/share/gtk-doc/html/gtk/gtk-query-immodules-2.0.html +5 -5
  363. data/vendor/local/share/gtk-doc/html/gtk/gtk-question-index.html +62 -62
  364. data/vendor/local/share/gtk-doc/html/gtk/gtk-resources.html +5 -5
  365. data/vendor/local/share/gtk-doc/html/gtk/gtk-running.html +5 -5
  366. data/vendor/local/share/gtk-doc/html/gtk/gtk-update-icon-cache.html +5 -5
  367. data/vendor/local/share/gtk-doc/html/gtk/gtk-windows.html +3 -3
  368. data/vendor/local/share/gtk-doc/html/gtk/gtk-x11.html +4 -4
  369. data/vendor/local/share/gtk-doc/html/gtk/gtk.devhelp2 +27 -27
  370. data/vendor/local/share/gtk-doc/html/gtk/gtk.html +2 -2
  371. data/vendor/local/share/gtk-doc/html/gtk/gtkbase.html +2 -2
  372. data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-installing-extra-widgets.html +2 -2
  373. data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-installing-preview.html +2 -2
  374. data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-new-features.html +2 -2
  375. data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-selection-modes.html +2 -2
  376. data/vendor/local/share/gtk-doc/html/gtk/gtkobjects.html +2 -2
  377. data/vendor/local/share/gtk-doc/html/gtk/gtkrecent-advanced.html +2 -2
  378. data/vendor/local/share/gtk-doc/html/gtk/gtkrecent-chooser.html +2 -2
  379. data/vendor/local/share/gtk-doc/html/gtk/index.html +2 -2
  380. data/vendor/local/share/gtk-doc/html/gtk/migrating-GtkCombo.html +6 -6
  381. data/vendor/local/share/gtk-doc/html/gtk/migrating-gnomeuiinfo.html +6 -6
  382. data/vendor/local/share/gtk-doc/html/gtk/migrating.html +2 -2
  383. data/vendor/local/share/gtk-doc/html/gtk/new-features-GtkComboBox.html +2 -2
  384. data/vendor/local/share/gtk-doc/html/gtk/pt05.html +3 -3
  385. data/vendor/local/share/gtk-doc/html/gtk/setting-the-page-flow.html +2 -2
  386. data/vendor/local/share/gtk-doc/html/gtk/ui-manager.html +2 -2
  387. data/vendor/local/src/dieterv/packaging/gtk+_2.24.10-1_win32.log +4954 -0
  388. data/vendor/local/src/dieterv/packaging/{gtk+_2.24.8-1_win32.sh → gtk+_2.24.10-1_win32.sh} +16 -1
  389. metadata +20 -22
  390. data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util.devhelp +0 -27
  391. data/vendor/local/share/gtk-doc/html/gdk/gdk.devhelp +0 -858
  392. data/vendor/local/share/gtk-doc/html/gtk/gtk.devhelp +0 -6126
  393. data/vendor/local/src/dieterv/packaging/gtk+_2.24.8-1_win32.log +0 -4937
@@ -0,0 +1,2486 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
+ <title>X Window System Interaction</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7
+ <link rel="home" href="index.html" title="GDK 2 Reference Manual">
8
+ <link rel="up" href="reference.html" title="API Reference">
9
+ <link rel="prev" href="gdk-Cairo-Interaction.html" title="Cairo Interaction">
10
+ <link rel="next" href="gdk-Application-launching.html" title="Application launching">
11
+ <meta name="generator" content="GTK-Doc V1.18 (XML mode)">
12
+ <link rel="stylesheet" href="style.css" type="text/css">
13
+ </head>
14
+ <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
+ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
16
+ <tr valign="middle">
17
+ <td><a accesskey="p" href="gdk-Cairo-Interaction.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
+ <td><a accesskey="u" href="reference.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
+ <th width="100%" align="center">GDK 2 Reference Manual</th>
21
+ <td><a accesskey="n" href="gdk-Application-launching.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
22
+ </tr>
23
+ <tr><td colspan="5" class="shortcuts">
24
+ <a href="#gdk-X-Window-System-Interaction.synopsis" class="shortcut">Top</a>
25
+  | 
26
+ <a href="#gdk-X-Window-System-Interaction.description" class="shortcut">Description</a>
27
+ </td></tr>
28
+ </table>
29
+ <div class="refentry">
30
+ <a name="gdk-X-Window-System-Interaction"></a><div class="titlepage"></div>
31
+ <div class="refnamediv"><table width="100%"><tr>
32
+ <td valign="top">
33
+ <h2><span class="refentrytitle"><a name="gdk-X-Window-System-Interaction.top_of_page"></a>X Window System Interaction</span></h2>
34
+ <p>X Window System Interaction — X backend-specific functions</p>
35
+ </td>
36
+ <td valign="top" align="right"></td>
37
+ </tr></table></div>
38
+ <div class="refsynopsisdiv">
39
+ <a name="gdk-X-Window-System-Interaction.synopsis"></a><h2>Synopsis</h2>
40
+ <pre class="synopsis">
41
+ #include &lt;gdk/gdkx.h&gt;
42
+
43
+ #define <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-ROOT-WINDOW:CAPS" title="GDK_ROOT_WINDOW">GDK_ROOT_WINDOW</a>
44
+ #define <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-ROOT-PARENT:CAPS" title="GDK_ROOT_PARENT">GDK_ROOT_PARENT</a>
45
+ #define <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-DISPLAY:CAPS" title="GDK_DISPLAY">GDK_DISPLAY</a>
46
+ #define <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-WINDOW-XDISPLAY:CAPS" title="GDK_WINDOW_XDISPLAY()">GDK_WINDOW_XDISPLAY</a> (win)
47
+ #define <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-WINDOW-XID:CAPS" title="GDK_WINDOW_XID()">GDK_WINDOW_XID</a> (win)
48
+ #define <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-PIXMAP-XDISPLAY:CAPS" title="GDK_PIXMAP_XDISPLAY()">GDK_PIXMAP_XDISPLAY</a> (pix)
49
+ #define <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-PIXMAP-XID:CAPS" title="GDK_PIXMAP_XID()">GDK_PIXMAP_XID</a> (pix)
50
+ #define <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-DISPLAY-XDISPLAY:CAPS" title="GDK_DISPLAY_XDISPLAY()">GDK_DISPLAY_XDISPLAY</a> (display)
51
+ #define <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-DRAWABLE-XDISPLAY:CAPS" title="GDK_DRAWABLE_XDISPLAY()">GDK_DRAWABLE_XDISPLAY</a> (win)
52
+ #define <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-DRAWABLE-XID:CAPS" title="GDK_DRAWABLE_XID()">GDK_DRAWABLE_XID</a> (win)
53
+ #define <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-IMAGE-XDISPLAY:CAPS" title="GDK_IMAGE_XDISPLAY()">GDK_IMAGE_XDISPLAY</a> (image)
54
+ #define <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-IMAGE-XIMAGE:CAPS" title="GDK_IMAGE_XIMAGE()">GDK_IMAGE_XIMAGE</a> (image)
55
+ #define <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-GC-XDISPLAY:CAPS" title="GDK_GC_XDISPLAY()">GDK_GC_XDISPLAY</a> (gc)
56
+ #define <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-COLORMAP-XDISPLAY:CAPS" title="GDK_COLORMAP_XDISPLAY()">GDK_COLORMAP_XDISPLAY</a> (cmap)
57
+ #define <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-COLORMAP-XCOLORMAP:CAPS" title="GDK_COLORMAP_XCOLORMAP()">GDK_COLORMAP_XCOLORMAP</a> (cmap)
58
+ #define <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-SCREEN-XDISPLAY:CAPS" title="GDK_SCREEN_XDISPLAY()">GDK_SCREEN_XDISPLAY</a> (screen)
59
+ #define <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-SCREEN-XNUMBER:CAPS" title="GDK_SCREEN_XNUMBER()">GDK_SCREEN_XNUMBER</a> (screen)
60
+ #define <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-SCREEN-XSCREEN:CAPS" title="GDK_SCREEN_XSCREEN()">GDK_SCREEN_XSCREEN</a> (screen)
61
+ #define <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-VISUAL-XVISUAL:CAPS" title="GDK_VISUAL_XVISUAL()">GDK_VISUAL_XVISUAL</a> (vis)
62
+ #define <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-FONT-XDISPLAY:CAPS" title="GDK_FONT_XDISPLAY()">GDK_FONT_XDISPLAY</a> (font)
63
+ #define <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-FONT-XFONT:CAPS" title="GDK_FONT_XFONT()">GDK_FONT_XFONT</a> (font)
64
+ #define <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-CURSOR-XCURSOR:CAPS" title="GDK_CURSOR_XCURSOR()">GDK_CURSOR_XCURSOR</a> (cursor)
65
+ #define <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-CURSOR-XDISPLAY:CAPS" title="GDK_CURSOR_XDISPLAY()">GDK_CURSOR_XDISPLAY</a> (cursor)
66
+ #define <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-GC-XGC:CAPS" title="GDK_GC_XGC()">GDK_GC_XGC</a> (gc)
67
+ #define <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-GC-GET-XGC:CAPS" title="GDK_GC_GET_XGC()">GDK_GC_GET_XGC</a> (gc)
68
+ #define <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-WINDOW-XWINDOW:CAPS" title="GDK_WINDOW_XWINDOW">GDK_WINDOW_XWINDOW</a>
69
+ <a class="link" href="gdk-Visuals.html#GdkVisual" title="GdkVisual"><span class="returnvalue">GdkVisual</span></a> * <a class="link" href="gdk-X-Window-System-Interaction.html#gdkx-visual-get" title="gdkx_visual_get ()">gdkx_visual_get</a> (<em class="parameter"><code><span class="type">VisualID</span> xvisualid</code></em>);
70
+ <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="returnvalue">GdkColormap</span></a> * <a class="link" href="gdk-X-Window-System-Interaction.html#gdkx-colormap-get" title="gdkx_colormap_get ()">gdkx_colormap_get</a> (<em class="parameter"><code><span class="type">Colormap</span> xcolormap</code></em>);
71
+ <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="returnvalue">GdkPixmap</span></a> * <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-pixmap-foreign-new" title="gdk_pixmap_foreign_new ()">gdk_pixmap_foreign_new</a> (<em class="parameter"><code><a class="link" href="gdk-Event-Structures.html#GdkNativeWindow" title="GdkNativeWindow"><span class="type">GdkNativeWindow</span></a> anid</code></em>);
72
+ <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="returnvalue">GdkPixmap</span></a> * <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-pixmap-foreign-new-for-display" title="gdk_pixmap_foreign_new_for_display ()">gdk_pixmap_foreign_new_for_display</a> (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
73
+ <em class="parameter"><code><a class="link" href="gdk-Event-Structures.html#GdkNativeWindow" title="GdkNativeWindow"><span class="type">GdkNativeWindow</span></a> anid</code></em>);
74
+ <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="returnvalue">GdkPixmap</span></a> * <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-pixmap-foreign-new-for-screen" title="gdk_pixmap_foreign_new_for_screen ()">gdk_pixmap_foreign_new_for_screen</a> (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>,
75
+ <em class="parameter"><code><a class="link" href="gdk-Event-Structures.html#GdkNativeWindow" title="GdkNativeWindow"><span class="type">GdkNativeWindow</span></a> anid</code></em>,
76
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
77
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>,
78
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> depth</code></em>);
79
+ <a class="link" href="gdk-Windows.html#GdkWindow"><span class="returnvalue">GdkWindow</span></a> * <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-window-foreign-new" title="gdk_window_foreign_new ()">gdk_window_foreign_new</a> (<em class="parameter"><code><a class="link" href="gdk-Event-Structures.html#GdkNativeWindow" title="GdkNativeWindow"><span class="type">GdkNativeWindow</span></a> anid</code></em>);
80
+ <a class="link" href="gdk-Windows.html#GdkWindow"><span class="returnvalue">GdkWindow</span></a> * <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-window-foreign-new-for-display" title="gdk_window_foreign_new_for_display ()">gdk_window_foreign_new_for_display</a> (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
81
+ <em class="parameter"><code><a class="link" href="gdk-Event-Structures.html#GdkNativeWindow" title="GdkNativeWindow"><span class="type">GdkNativeWindow</span></a> anid</code></em>);
82
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-xid-table-lookup" title="gdk_xid_table_lookup ()">gdk_xid_table_lookup</a> (<em class="parameter"><code><span class="type">XID</span> xid</code></em>);
83
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-xid-table-lookup-for-display" title="gdk_xid_table_lookup_for_display ()">gdk_xid_table_lookup_for_display</a> (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
84
+ <em class="parameter"><code><span class="type">XID</span> xid</code></em>);
85
+ <a class="link" href="gdk-Windows.html#GdkWindow"><span class="returnvalue">GdkWindow</span></a> * <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-window-lookup" title="gdk_window_lookup ()">gdk_window_lookup</a> (<em class="parameter"><code><a class="link" href="gdk-Event-Structures.html#GdkNativeWindow" title="GdkNativeWindow"><span class="type">GdkNativeWindow</span></a> anid</code></em>);
86
+ <a class="link" href="gdk-Windows.html#GdkWindow"><span class="returnvalue">GdkWindow</span></a> * <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-window-lookup-for-display" title="gdk_window_lookup_for_display ()">gdk_window_lookup_for_display</a> (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
87
+ <em class="parameter"><code><a class="link" href="gdk-Event-Structures.html#GdkNativeWindow" title="GdkNativeWindow"><span class="type">GdkNativeWindow</span></a> anid</code></em>);
88
+ <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="returnvalue">GdkPixmap</span></a> * <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-pixmap-lookup" title="gdk_pixmap_lookup ()">gdk_pixmap_lookup</a> (<em class="parameter"><code><a class="link" href="gdk-Event-Structures.html#GdkNativeWindow" title="GdkNativeWindow"><span class="type">GdkNativeWindow</span></a> anid</code></em>);
89
+ <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="returnvalue">GdkPixmap</span></a> * <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-pixmap-lookup-for-display" title="gdk_pixmap_lookup_for_display ()">gdk_pixmap_lookup_for_display</a> (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
90
+ <em class="parameter"><code><a class="link" href="gdk-Event-Structures.html#GdkNativeWindow" title="GdkNativeWindow"><span class="type">GdkNativeWindow</span></a> anid</code></em>);
91
+ #define <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-font-lookup" title="gdk_font_lookup()">gdk_font_lookup</a> (xid)
92
+ #define <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-font-lookup-for-display" title="gdk_font_lookup_for_display()">gdk_font_lookup_for_display</a> (display,
93
+ xid)
94
+ <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="returnvalue">GdkDisplay</span></a> * <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-lookup-xdisplay" title="gdk_x11_lookup_xdisplay ()">gdk_x11_lookup_xdisplay</a> (<em class="parameter"><code><span class="type">Display</span> *xdisplay</code></em>);
95
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-get-server-time" title="gdk_x11_get_server_time ()">gdk_x11_get_server_time</a> (<em class="parameter"><code><a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);
96
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-net-wm-supports" title="gdk_net_wm_supports ()">gdk_net_wm_supports</a> (<em class="parameter"><code><a class="link" href="gdk-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> property</code></em>);
97
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-screen-supports-net-wm-hint" title="gdk_x11_screen_supports_net_wm_hint ()">gdk_x11_screen_supports_net_wm_hint</a> (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>,
98
+ <em class="parameter"><code><a class="link" href="gdk-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> property</code></em>);
99
+ const <span class="returnvalue">char</span> * <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-screen-get-window-manager-name" title="gdk_x11_screen_get_window_manager_name ()">gdk_x11_screen_get_window_manager_name</a>
100
+ (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>);
101
+ <span class="returnvalue">XID</span> <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-screen-get-monitor-output" title="gdk_x11_screen_get_monitor_output ()">gdk_x11_screen_get_monitor_output</a> (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>,
102
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> monitor_num</code></em>);
103
+ <a class="link" href="gdk-Visuals.html#GdkVisual" title="GdkVisual"><span class="returnvalue">GdkVisual</span></a> * <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-screen-lookup-visual" title="gdk_x11_screen_lookup_visual ()">gdk_x11_screen_lookup_visual</a> (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>,
104
+ <em class="parameter"><code><span class="type">VisualID</span> xvisualid</code></em>);
105
+ <span class="returnvalue">void</span> <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-window-set-user-time" title="gdk_x11_window_set_user_time ()">gdk_x11_window_set_user_time</a> (<em class="parameter"><code><a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
106
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> timestamp</code></em>);
107
+ <span class="returnvalue">void</span> <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-window-move-to-current-desktop" title="gdk_x11_window_move_to_current_desktop ()">gdk_x11_window_move_to_current_desktop</a>
108
+ (<em class="parameter"><code><a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);
109
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-display-get-user-time" title="gdk_x11_display_get_user_time ()">gdk_x11_display_get_user_time</a> (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>);
110
+ <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="returnvalue">GdkColormap</span></a> * <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-colormap-foreign-new" title="gdk_x11_colormap_foreign_new ()">gdk_x11_colormap_foreign_new</a> (<em class="parameter"><code><a class="link" href="gdk-Visuals.html#GdkVisual" title="GdkVisual"><span class="type">GdkVisual</span></a> *visual</code></em>,
111
+ <em class="parameter"><code><span class="type">Colormap</span> xcolormap</code></em>);
112
+ <span class="returnvalue">Colormap</span> <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-colormap-get-xcolormap" title="gdk_x11_colormap_get_xcolormap ()">gdk_x11_colormap_get_xcolormap</a> (<em class="parameter"><code><a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>);
113
+ <span class="returnvalue">Display</span> * <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-colormap-get-xdisplay" title="gdk_x11_colormap_get_xdisplay ()">gdk_x11_colormap_get_xdisplay</a> (<em class="parameter"><code><a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>);
114
+ <span class="returnvalue">Cursor</span> <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-cursor-get-xcursor" title="gdk_x11_cursor_get_xcursor ()">gdk_x11_cursor_get_xcursor</a> (<em class="parameter"><code><a class="link" href="gdk-Cursors.html#GdkCursor" title="GdkCursor"><span class="type">GdkCursor</span></a> *cursor</code></em>);
115
+ <span class="returnvalue">Display</span> * <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-cursor-get-xdisplay" title="gdk_x11_cursor_get_xdisplay ()">gdk_x11_cursor_get_xdisplay</a> (<em class="parameter"><code><a class="link" href="gdk-Cursors.html#GdkCursor" title="GdkCursor"><span class="type">GdkCursor</span></a> *cursor</code></em>);
116
+ <span class="returnvalue">void</span> <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-display-broadcast-startup-message" title="gdk_x11_display_broadcast_startup_message ()">gdk_x11_display_broadcast_startup_message</a>
117
+ (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
118
+ <em class="parameter"><code>const <span class="type">char</span> *message_type</code></em>,
119
+ <em class="parameter"><code>...</code></em>);
120
+ const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-display-get-startup-notification-id" title="gdk_x11_display_get_startup_notification_id ()">gdk_x11_display_get_startup_notification_id</a>
121
+ (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>);
122
+ <span class="returnvalue">Display</span> * <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-display-get-xdisplay" title="gdk_x11_display_get_xdisplay ()">gdk_x11_display_get_xdisplay</a> (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>);
123
+ <span class="returnvalue">void</span> <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-display-grab" title="gdk_x11_display_grab ()">gdk_x11_display_grab</a> (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>);
124
+ <span class="returnvalue">void</span> <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-display-ungrab" title="gdk_x11_display_ungrab ()">gdk_x11_display_ungrab</a> (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>);
125
+ <span class="returnvalue">void</span> <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-display-set-cursor-theme" title="gdk_x11_display_set_cursor_theme ()">gdk_x11_display_set_cursor_theme</a> (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
126
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *theme</code></em>,
127
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> size</code></em>);
128
+ <span class="returnvalue">void</span> <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-register-standard-event-type" title="gdk_x11_register_standard_event_type ()">gdk_x11_register_standard_event_type</a>
129
+ (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
130
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> event_base</code></em>,
131
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_events</code></em>);
132
+ <span class="returnvalue">Display</span> * <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-drawable-get-xdisplay" title="gdk_x11_drawable_get_xdisplay ()">gdk_x11_drawable_get_xdisplay</a> (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>);
133
+ <span class="returnvalue">XID</span> <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-drawable-get-xid" title="gdk_x11_drawable_get_xid ()">gdk_x11_drawable_get_xid</a> (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>);
134
+ const <span class="returnvalue">char</span> * <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-font-get-name" title="gdk_x11_font_get_name ()">gdk_x11_font_get_name</a> (<em class="parameter"><code><a class="link" href="gdk-Fonts.html#GdkFont" title="GdkFont"><span class="type">GdkFont</span></a> *font</code></em>);
135
+ <span class="returnvalue">Display</span> * <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-font-get-xdisplay" title="gdk_x11_font_get_xdisplay ()">gdk_x11_font_get_xdisplay</a> (<em class="parameter"><code><a class="link" href="gdk-Fonts.html#GdkFont" title="GdkFont"><span class="type">GdkFont</span></a> *font</code></em>);
136
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-font-get-xfont" title="gdk_x11_font_get_xfont ()">gdk_x11_font_get_xfont</a> (<em class="parameter"><code><a class="link" href="gdk-Fonts.html#GdkFont" title="GdkFont"><span class="type">GdkFont</span></a> *font</code></em>);
137
+ <span class="returnvalue">Display</span> * <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-gc-get-xdisplay" title="gdk_x11_gc_get_xdisplay ()">gdk_x11_gc_get_xdisplay</a> (<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>);
138
+ <span class="returnvalue">GC</span> <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-gc-get-xgc" title="gdk_x11_gc_get_xgc ()">gdk_x11_gc_get_xgc</a> (<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>);
139
+ <span class="returnvalue">Window</span> <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-get-default-root-xwindow" title="gdk_x11_get_default_root_xwindow ()">gdk_x11_get_default_root_xwindow</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
140
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-get-default-screen" title="gdk_x11_get_default_screen ()">gdk_x11_get_default_screen</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
141
+ <span class="returnvalue">Display</span> * <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-get-default-xdisplay" title="gdk_x11_get_default_xdisplay ()">gdk_x11_get_default_xdisplay</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
142
+ <span class="returnvalue">void</span> <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-grab-server" title="gdk_x11_grab_server ()">gdk_x11_grab_server</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
143
+ <span class="returnvalue">Display</span> * <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-image-get-xdisplay" title="gdk_x11_image_get_xdisplay ()">gdk_x11_image_get_xdisplay</a> (<em class="parameter"><code><a class="link" href="gdk-Images.html#GdkImage" title="GdkImage"><span class="type">GdkImage</span></a> *image</code></em>);
144
+ <span class="returnvalue">XImage</span> * <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-image-get-ximage" title="gdk_x11_image_get_ximage ()">gdk_x11_image_get_ximage</a> (<em class="parameter"><code><a class="link" href="gdk-Images.html#GdkImage" title="GdkImage"><span class="type">GdkImage</span></a> *image</code></em>);
145
+ <span class="returnvalue">int</span> <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-screen-get-screen-number" title="gdk_x11_screen_get_screen_number ()">gdk_x11_screen_get_screen_number</a> (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>);
146
+ <span class="returnvalue">Screen</span> * <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-screen-get-xscreen" title="gdk_x11_screen_get_xscreen ()">gdk_x11_screen_get_xscreen</a> (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>);
147
+ <span class="returnvalue">void</span> <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-ungrab-server" title="gdk_x11_ungrab_server ()">gdk_x11_ungrab_server</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
148
+ <span class="returnvalue">Visual</span> * <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-visual-get-xvisual" title="gdk_x11_visual_get_xvisual ()">gdk_x11_visual_get_xvisual</a> (<em class="parameter"><code><a class="link" href="gdk-Visuals.html#GdkVisual" title="GdkVisual"><span class="type">GdkVisual</span></a> *visual</code></em>);
149
+ <span class="returnvalue">Atom</span> <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-atom-to-xatom" title="gdk_x11_atom_to_xatom ()">gdk_x11_atom_to_xatom</a> (<em class="parameter"><code><a class="link" href="gdk-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> atom</code></em>);
150
+ <span class="returnvalue">Atom</span> <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-atom-to-xatom-for-display" title="gdk_x11_atom_to_xatom_for_display ()">gdk_x11_atom_to_xatom_for_display</a> (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
151
+ <em class="parameter"><code><a class="link" href="gdk-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> atom</code></em>);
152
+ <a class="link" href="gdk-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="returnvalue">GdkAtom</span></a> <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-xatom-to-atom" title="gdk_x11_xatom_to_atom ()">gdk_x11_xatom_to_atom</a> (<em class="parameter"><code><span class="type">Atom</span> xatom</code></em>);
153
+ <a class="link" href="gdk-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="returnvalue">GdkAtom</span></a> <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-xatom-to-atom-for-display" title="gdk_x11_xatom_to_atom_for_display ()">gdk_x11_xatom_to_atom_for_display</a> (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
154
+ <em class="parameter"><code><span class="type">Atom</span> xatom</code></em>);
155
+ <span class="returnvalue">Atom</span> <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-get-xatom-by-name" title="gdk_x11_get_xatom_by_name ()">gdk_x11_get_xatom_by_name</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *atom_name</code></em>);
156
+ <span class="returnvalue">Atom</span> <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-get-xatom-by-name-for-display" title="gdk_x11_get_xatom_by_name_for_display ()">gdk_x11_get_xatom_by_name_for_display</a>
157
+ (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
158
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *atom_name</code></em>);
159
+ const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-get-xatom-name" title="gdk_x11_get_xatom_name ()">gdk_x11_get_xatom_name</a> (<em class="parameter"><code><span class="type">Atom</span> xatom</code></em>);
160
+ const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-get-xatom-name-for-display" title="gdk_x11_get_xatom_name_for_display ()">gdk_x11_get_xatom_name_for_display</a> (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
161
+ <em class="parameter"><code><span class="type">Atom</span> xatom</code></em>);
162
+ <span class="returnvalue">void</span> <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-set-sm-client-id" title="gdk_x11_set_sm_client_id ()">gdk_x11_set_sm_client_id</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *sm_client_id</code></em>);
163
+ <a class="link" href="gdk-Windows.html#GdkWindow"><span class="returnvalue">GdkWindow</span></a> * <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-window-foreign-new-for-display" title="gdk_x11_window_foreign_new_for_display ()">gdk_x11_window_foreign_new_for_display</a>
164
+ (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
165
+ <em class="parameter"><code><span class="type">Window</span> window</code></em>);
166
+ <a class="link" href="gdk-Windows.html#GdkWindow"><span class="returnvalue">GdkWindow</span></a> * <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-window-lookup-for-display" title="gdk_x11_window_lookup_for_display ()">gdk_x11_window_lookup_for_display</a> (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
167
+ <em class="parameter"><code><span class="type">Window</span> window</code></em>);
168
+ </pre>
169
+ </div>
170
+ <div class="refsect1">
171
+ <a name="gdk-X-Window-System-Interaction.description"></a><h2>Description</h2>
172
+ <p>
173
+ </p>
174
+ </div>
175
+ <div class="refsect1">
176
+ <a name="gdk-X-Window-System-Interaction.details"></a><h2>Details</h2>
177
+ <div class="refsect2">
178
+ <a name="GDK-ROOT-WINDOW:CAPS"></a><h3>GDK_ROOT_WINDOW</h3>
179
+ <pre class="programlisting">#define GDK_ROOT_WINDOW() (gdk_x11_get_default_root_xwindow ())
180
+ </pre>
181
+ <p>
182
+ Obtains the Xlib window id of the root window of the current screen.
183
+ </p>
184
+ </div>
185
+ <hr>
186
+ <div class="refsect2">
187
+ <a name="GDK-ROOT-PARENT:CAPS"></a><h3>GDK_ROOT_PARENT</h3>
188
+ <pre class="programlisting">#define GDK_ROOT_PARENT() (gdk_get_default_root_window ())
189
+ </pre>
190
+ <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
191
+ <h3 class="title">Warning</h3>
192
+ <p><code class="literal">GDK_ROOT_PARENT</code> is deprecated and should not be used in newly-written code.</p>
193
+ </div>
194
+ <p>
195
+ Obtains the Xlib window id of the root window of the default screen.
196
+ </p>
197
+ </div>
198
+ <hr>
199
+ <div class="refsect2">
200
+ <a name="GDK-DISPLAY:CAPS"></a><h3>GDK_DISPLAY</h3>
201
+ <pre class="programlisting">#define GDK_DISPLAY() gdk_display
202
+ </pre>
203
+ <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
204
+ <h3 class="title">Warning</h3>
205
+ <p><code class="literal">GDK_DISPLAY</code> has been deprecated since version 2.22 and should not be used in newly-written code. Use <a class="link" href="GdkDisplay.html#gdk-display-get-default" title="gdk_display_get_default ()"><code class="function">gdk_display_get_default()</code></a> to get the default <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> or <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-get-default-xdisplay" title="gdk_x11_get_default_xdisplay ()"><code class="function">gdk_x11_get_default_xdisplay()</code></a> to get the corresponding Xlib Display *</p>
206
+ </div>
207
+ <p>
208
+ The current display.
209
+ </p>
210
+ <div class="variablelist"><table border="0">
211
+ <col align="left" valign="top">
212
+ <tbody><tr>
213
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
214
+ <td>an Xlib <span class="type">Display*</span>.</td>
215
+ </tr></tbody>
216
+ </table></div>
217
+ </div>
218
+ <hr>
219
+ <div class="refsect2">
220
+ <a name="GDK-WINDOW-XDISPLAY:CAPS"></a><h3>GDK_WINDOW_XDISPLAY()</h3>
221
+ <pre class="programlisting">#define GDK_WINDOW_XDISPLAY(win) (GDK_SCREEN_X11 (GDK_WINDOW_SCREEN (win))-&gt;xdisplay)
222
+ </pre>
223
+ <p>
224
+ Returns the display of a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a>.
225
+ </p>
226
+ <div class="variablelist"><table border="0">
227
+ <col align="left" valign="top">
228
+ <tbody>
229
+ <tr>
230
+ <td><p><span class="term"><em class="parameter"><code>win</code></em> :</span></p></td>
231
+ <td>a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a>.</td>
232
+ </tr>
233
+ <tr>
234
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
235
+ <td>an Xlib <span class="type">Display*</span>.</td>
236
+ </tr>
237
+ </tbody>
238
+ </table></div>
239
+ </div>
240
+ <hr>
241
+ <div class="refsect2">
242
+ <a name="GDK-WINDOW-XID:CAPS"></a><h3>GDK_WINDOW_XID()</h3>
243
+ <pre class="programlisting">#define GDK_WINDOW_XID(win) (GDK_DRAWABLE_IMPL_X11(((GdkWindowObject *)win)-&gt;impl)-&gt;xid)
244
+ </pre>
245
+ <p>
246
+ Returns the X window belonging to a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a>.
247
+ </p>
248
+ <div class="variablelist"><table border="0">
249
+ <col align="left" valign="top">
250
+ <tbody>
251
+ <tr>
252
+ <td><p><span class="term"><em class="parameter"><code>win</code></em> :</span></p></td>
253
+ <td>a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a>.</td>
254
+ </tr>
255
+ <tr>
256
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
257
+ <td>the Xlib <span class="type">Window</span> of <em class="parameter"><code>win</code></em>.</td>
258
+ </tr>
259
+ </tbody>
260
+ </table></div>
261
+ </div>
262
+ <hr>
263
+ <div class="refsect2">
264
+ <a name="GDK-PIXMAP-XDISPLAY:CAPS"></a><h3>GDK_PIXMAP_XDISPLAY()</h3>
265
+ <pre class="programlisting">#define GDK_PIXMAP_XDISPLAY(pix) (GDK_SCREEN_X11 (GDK_PIXMAP_SCREEN (pix))-&gt;xdisplay)
266
+ </pre>
267
+ <p>
268
+ Returns the display of a <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>.
269
+ </p>
270
+ <div class="variablelist"><table border="0">
271
+ <col align="left" valign="top">
272
+ <tbody>
273
+ <tr>
274
+ <td><p><span class="term"><em class="parameter"><code>pix</code></em> :</span></p></td>
275
+ <td>a <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>.</td>
276
+ </tr>
277
+ <tr>
278
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
279
+ <td>an Xlib <span class="type">Display*</span>.</td>
280
+ </tr>
281
+ </tbody>
282
+ </table></div>
283
+ </div>
284
+ <hr>
285
+ <div class="refsect2">
286
+ <a name="GDK-PIXMAP-XID:CAPS"></a><h3>GDK_PIXMAP_XID()</h3>
287
+ <pre class="programlisting">#define GDK_PIXMAP_XID(pix) (GDK_DRAWABLE_IMPL_X11(((GdkPixmapObject *)pix)-&gt;impl)-&gt;xid)
288
+ </pre>
289
+ <p>
290
+ Returns the X pixmap belonging to a <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>.
291
+ </p>
292
+ <div class="variablelist"><table border="0">
293
+ <col align="left" valign="top">
294
+ <tbody>
295
+ <tr>
296
+ <td><p><span class="term"><em class="parameter"><code>pix</code></em> :</span></p></td>
297
+ <td>a <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>.</td>
298
+ </tr>
299
+ <tr>
300
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
301
+ <td>the Xlib <span class="type">XPixmap</span> of <em class="parameter"><code>win</code></em>.</td>
302
+ </tr>
303
+ </tbody>
304
+ </table></div>
305
+ </div>
306
+ <hr>
307
+ <div class="refsect2">
308
+ <a name="GDK-DISPLAY-XDISPLAY:CAPS"></a><h3>GDK_DISPLAY_XDISPLAY()</h3>
309
+ <pre class="programlisting">#define GDK_DISPLAY_XDISPLAY(display) (GDK_DISPLAY_X11(display)-&gt;xdisplay)
310
+ </pre>
311
+ <p>
312
+ Returns the display of a <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a>.
313
+ </p>
314
+ <div class="variablelist"><table border="0">
315
+ <col align="left" valign="top">
316
+ <tbody><tr>
317
+ <td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
318
+ <td>a <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a>.</td>
319
+ </tr></tbody>
320
+ </table></div>
321
+ </div>
322
+ <hr>
323
+ <div class="refsect2">
324
+ <a name="GDK-DRAWABLE-XDISPLAY:CAPS"></a><h3>GDK_DRAWABLE_XDISPLAY()</h3>
325
+ <pre class="programlisting">#define GDK_DRAWABLE_XDISPLAY(win) (GDK_IS_WINDOW (win) ? GDK_WINDOW_XDISPLAY (win) : GDK_PIXMAP_XDISPLAY (win))
326
+ </pre>
327
+ <p>
328
+ Returns the display of a <a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a>.
329
+ </p>
330
+ <div class="variablelist"><table border="0">
331
+ <col align="left" valign="top">
332
+ <tbody>
333
+ <tr>
334
+ <td><p><span class="term"><em class="parameter"><code>win</code></em> :</span></p></td>
335
+ <td>a <a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a>.</td>
336
+ </tr>
337
+ <tr>
338
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
339
+ <td>an Xlib <span class="type">Display*</span>.</td>
340
+ </tr>
341
+ </tbody>
342
+ </table></div>
343
+ </div>
344
+ <hr>
345
+ <div class="refsect2">
346
+ <a name="GDK-DRAWABLE-XID:CAPS"></a><h3>GDK_DRAWABLE_XID()</h3>
347
+ <pre class="programlisting">#define GDK_DRAWABLE_XID(win) (GDK_IS_WINDOW (win) ? GDK_WINDOW_XID (win) : GDK_PIXMAP_XID (win))
348
+ </pre>
349
+ <p>
350
+ Returns the X resource (window or pixmap) belonging to a <a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a>.
351
+ </p>
352
+ <div class="variablelist"><table border="0">
353
+ <col align="left" valign="top">
354
+ <tbody>
355
+ <tr>
356
+ <td><p><span class="term"><em class="parameter"><code>win</code></em> :</span></p></td>
357
+ <td>a <a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a>.</td>
358
+ </tr>
359
+ <tr>
360
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
361
+ <td>the ID of <em class="parameter"><code>win</code></em>'s X resource.</td>
362
+ </tr>
363
+ </tbody>
364
+ </table></div>
365
+ </div>
366
+ <hr>
367
+ <div class="refsect2">
368
+ <a name="GDK-IMAGE-XDISPLAY:CAPS"></a><h3>GDK_IMAGE_XDISPLAY()</h3>
369
+ <pre class="programlisting">#define GDK_IMAGE_XDISPLAY(image) (gdk_x11_image_get_xdisplay (image))
370
+ </pre>
371
+ <p>
372
+ Returns the display of a <a class="link" href="gdk-Images.html#GdkImage" title="GdkImage"><span class="type">GdkImage</span></a>.
373
+ </p>
374
+ <div class="variablelist"><table border="0">
375
+ <col align="left" valign="top">
376
+ <tbody>
377
+ <tr>
378
+ <td><p><span class="term"><em class="parameter"><code>image</code></em> :</span></p></td>
379
+ <td>a <a class="link" href="gdk-Images.html#GdkImage" title="GdkImage"><span class="type">GdkImage</span></a>.</td>
380
+ </tr>
381
+ <tr>
382
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
383
+ <td>an Xlib <span class="type">Display*</span>.</td>
384
+ </tr>
385
+ </tbody>
386
+ </table></div>
387
+ </div>
388
+ <hr>
389
+ <div class="refsect2">
390
+ <a name="GDK-IMAGE-XIMAGE:CAPS"></a><h3>GDK_IMAGE_XIMAGE()</h3>
391
+ <pre class="programlisting">#define GDK_IMAGE_XIMAGE(image) (gdk_x11_image_get_ximage (image))
392
+ </pre>
393
+ <p>
394
+ Returns the X image belonging to a <a class="link" href="gdk-Images.html#GdkImage" title="GdkImage"><span class="type">GdkImage</span></a>.
395
+ </p>
396
+ <div class="variablelist"><table border="0">
397
+ <col align="left" valign="top">
398
+ <tbody>
399
+ <tr>
400
+ <td><p><span class="term"><em class="parameter"><code>image</code></em> :</span></p></td>
401
+ <td>a <a class="link" href="gdk-Images.html#GdkImage" title="GdkImage"><span class="type">GdkImage</span></a>.</td>
402
+ </tr>
403
+ <tr>
404
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
405
+ <td>an <span class="type">XImage*</span>.</td>
406
+ </tr>
407
+ </tbody>
408
+ </table></div>
409
+ </div>
410
+ <hr>
411
+ <div class="refsect2">
412
+ <a name="GDK-GC-XDISPLAY:CAPS"></a><h3>GDK_GC_XDISPLAY()</h3>
413
+ <pre class="programlisting">#define GDK_GC_XDISPLAY(gc) (GDK_SCREEN_XDISPLAY(GDK_GC_X11(gc)-&gt;screen))
414
+ </pre>
415
+ <p>
416
+ Returns the display of a <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a>.
417
+ </p>
418
+ <div class="variablelist"><table border="0">
419
+ <col align="left" valign="top">
420
+ <tbody>
421
+ <tr>
422
+ <td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
423
+ <td>a <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a>.</td>
424
+ </tr>
425
+ <tr>
426
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
427
+ <td>an Xlib <span class="type">Display*</span>.</td>
428
+ </tr>
429
+ </tbody>
430
+ </table></div>
431
+ </div>
432
+ <hr>
433
+ <div class="refsect2">
434
+ <a name="GDK-COLORMAP-XDISPLAY:CAPS"></a><h3>GDK_COLORMAP_XDISPLAY()</h3>
435
+ <pre class="programlisting">#define GDK_COLORMAP_XDISPLAY(cmap) (gdk_x11_colormap_get_xdisplay (cmap))
436
+ </pre>
437
+ <p>
438
+ Returns the display of a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a>.
439
+ </p>
440
+ <div class="variablelist"><table border="0">
441
+ <col align="left" valign="top">
442
+ <tbody>
443
+ <tr>
444
+ <td><p><span class="term"><em class="parameter"><code>cmap</code></em> :</span></p></td>
445
+ <td>a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a>.</td>
446
+ </tr>
447
+ <tr>
448
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
449
+ <td>an Xlib <span class="type">Display*</span>.</td>
450
+ </tr>
451
+ </tbody>
452
+ </table></div>
453
+ </div>
454
+ <hr>
455
+ <div class="refsect2">
456
+ <a name="GDK-COLORMAP-XCOLORMAP:CAPS"></a><h3>GDK_COLORMAP_XCOLORMAP()</h3>
457
+ <pre class="programlisting">#define GDK_COLORMAP_XCOLORMAP(cmap) (gdk_x11_colormap_get_xcolormap (cmap))
458
+ </pre>
459
+ <p>
460
+ Returns the X colormap belonging to a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a>.
461
+ </p>
462
+ <div class="variablelist"><table border="0">
463
+ <col align="left" valign="top">
464
+ <tbody>
465
+ <tr>
466
+ <td><p><span class="term"><em class="parameter"><code>cmap</code></em> :</span></p></td>
467
+ <td>a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a>.</td>
468
+ </tr>
469
+ <tr>
470
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
471
+ <td>an Xlib <span class="type">Colormap</span>.</td>
472
+ </tr>
473
+ </tbody>
474
+ </table></div>
475
+ </div>
476
+ <hr>
477
+ <div class="refsect2">
478
+ <a name="GDK-SCREEN-XDISPLAY:CAPS"></a><h3>GDK_SCREEN_XDISPLAY()</h3>
479
+ <pre class="programlisting">#define GDK_SCREEN_XDISPLAY(screen) (GDK_SCREEN_X11 (screen)-&gt;xdisplay)
480
+ </pre>
481
+ <p>
482
+ Returns the display of a <a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a>.
483
+ </p>
484
+ <div class="variablelist"><table border="0">
485
+ <col align="left" valign="top">
486
+ <tbody>
487
+ <tr>
488
+ <td><p><span class="term"><em class="parameter"><code>screen</code></em> :</span></p></td>
489
+ <td>a <a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a>.</td>
490
+ </tr>
491
+ <tr>
492
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
493
+ <td>an Xlib <span class="type">Display*</span>.</td>
494
+ </tr>
495
+ </tbody>
496
+ </table></div>
497
+ </div>
498
+ <hr>
499
+ <div class="refsect2">
500
+ <a name="GDK-SCREEN-XNUMBER:CAPS"></a><h3>GDK_SCREEN_XNUMBER()</h3>
501
+ <pre class="programlisting">#define GDK_SCREEN_XNUMBER(screen) (GDK_SCREEN_X11 (screen)-&gt;screen_num)
502
+ </pre>
503
+ <p>
504
+ Returns the index of a <a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a>.
505
+ </p>
506
+ <div class="variablelist"><table border="0">
507
+ <col align="left" valign="top">
508
+ <tbody>
509
+ <tr>
510
+ <td><p><span class="term"><em class="parameter"><code>screen</code></em> :</span></p></td>
511
+ <td>a <a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a>
512
+ </td>
513
+ </tr>
514
+ <tr>
515
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
516
+ <td>the position of <em class="parameter"><code>screen</code></em> among the screens of
517
+ its display.</td>
518
+ </tr>
519
+ </tbody>
520
+ </table></div>
521
+ </div>
522
+ <hr>
523
+ <div class="refsect2">
524
+ <a name="GDK-SCREEN-XSCREEN:CAPS"></a><h3>GDK_SCREEN_XSCREEN()</h3>
525
+ <pre class="programlisting">#define GDK_SCREEN_XSCREEN(screen) (GDK_SCREEN_X11 (screen)-&gt;xscreen)
526
+ </pre>
527
+ <p>
528
+ Returns the screen of a <a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a>.
529
+ </p>
530
+ <div class="variablelist"><table border="0">
531
+ <col align="left" valign="top">
532
+ <tbody>
533
+ <tr>
534
+ <td><p><span class="term"><em class="parameter"><code>screen</code></em> :</span></p></td>
535
+ <td>a <a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a>
536
+ </td>
537
+ </tr>
538
+ <tr>
539
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
540
+ <td>an Xlib <span class="type">Screen*</span>.</td>
541
+ </tr>
542
+ </tbody>
543
+ </table></div>
544
+ </div>
545
+ <hr>
546
+ <div class="refsect2">
547
+ <a name="GDK-VISUAL-XVISUAL:CAPS"></a><h3>GDK_VISUAL_XVISUAL()</h3>
548
+ <pre class="programlisting">#define GDK_VISUAL_XVISUAL(vis) (((GdkVisualPrivate *) vis)-&gt;xvisual)
549
+ </pre>
550
+ <p>
551
+ Returns the X visual belonging to a <a class="link" href="gdk-Visuals.html#GdkVisual" title="GdkVisual"><span class="type">GdkVisual</span></a>.
552
+ </p>
553
+ <div class="variablelist"><table border="0">
554
+ <col align="left" valign="top">
555
+ <tbody>
556
+ <tr>
557
+ <td><p><span class="term"><em class="parameter"><code>vis</code></em> :</span></p></td>
558
+ <td>a <a class="link" href="gdk-Visuals.html#GdkVisual" title="GdkVisual"><span class="type">GdkVisual</span></a>.</td>
559
+ </tr>
560
+ <tr>
561
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
562
+ <td>an Xlib <span class="type">Visual*</span>.</td>
563
+ </tr>
564
+ </tbody>
565
+ </table></div>
566
+ </div>
567
+ <hr>
568
+ <div class="refsect2">
569
+ <a name="GDK-FONT-XDISPLAY:CAPS"></a><h3>GDK_FONT_XDISPLAY()</h3>
570
+ <pre class="programlisting">#define GDK_FONT_XDISPLAY(font) (gdk_x11_font_get_xdisplay (font))
571
+ </pre>
572
+ <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
573
+ <h3 class="title">Warning</h3>
574
+ <p><code class="literal">GDK_FONT_XDISPLAY</code> is deprecated and should not be used in newly-written code.</p>
575
+ </div>
576
+ <p>
577
+ Returns the display of a <a class="link" href="gdk-Fonts.html#GdkFont" title="GdkFont"><span class="type">GdkFont</span></a>.
578
+ </p>
579
+ <div class="variablelist"><table border="0">
580
+ <col align="left" valign="top">
581
+ <tbody>
582
+ <tr>
583
+ <td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
584
+ <td>a <a class="link" href="gdk-Fonts.html#GdkFont" title="GdkFont"><span class="type">GdkFont</span></a>.</td>
585
+ </tr>
586
+ <tr>
587
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
588
+ <td>an Xlib <span class="type">Display*</span>.</td>
589
+ </tr>
590
+ </tbody>
591
+ </table></div>
592
+ </div>
593
+ <hr>
594
+ <div class="refsect2">
595
+ <a name="GDK-FONT-XFONT:CAPS"></a><h3>GDK_FONT_XFONT()</h3>
596
+ <pre class="programlisting">#define GDK_FONT_XFONT(font) (gdk_x11_font_get_xfont (font))
597
+ </pre>
598
+ <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
599
+ <h3 class="title">Warning</h3>
600
+ <p><code class="literal">GDK_FONT_XFONT</code> is deprecated and should not be used in newly-written code.</p>
601
+ </div>
602
+ <p>
603
+ Returns the X font belonging to a <a class="link" href="gdk-Fonts.html#GdkFont" title="GdkFont"><span class="type">GdkFont</span></a>.
604
+ </p>
605
+ <div class="variablelist"><table border="0">
606
+ <col align="left" valign="top">
607
+ <tbody>
608
+ <tr>
609
+ <td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
610
+ <td>a <a class="link" href="gdk-Fonts.html#GdkFont" title="GdkFont"><span class="type">GdkFont</span></a>.</td>
611
+ </tr>
612
+ <tr>
613
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
614
+ <td>an Xlib <span class="type">XFontStruct*</span> or an <span class="type">XFontSet</span>.</td>
615
+ </tr>
616
+ </tbody>
617
+ </table></div>
618
+ </div>
619
+ <hr>
620
+ <div class="refsect2">
621
+ <a name="GDK-CURSOR-XCURSOR:CAPS"></a><h3>GDK_CURSOR_XCURSOR()</h3>
622
+ <pre class="programlisting">#define GDK_CURSOR_XCURSOR(cursor) (gdk_x11_cursor_get_xcursor (cursor))
623
+ </pre>
624
+ <p>
625
+ Returns the X cursor belonging to a <a class="link" href="gdk-Cursors.html#GdkCursor" title="GdkCursor"><span class="type">GdkCursor</span></a>.
626
+ </p>
627
+ <div class="variablelist"><table border="0">
628
+ <col align="left" valign="top">
629
+ <tbody>
630
+ <tr>
631
+ <td><p><span class="term"><em class="parameter"><code>cursor</code></em> :</span></p></td>
632
+ <td>a <a class="link" href="gdk-Cursors.html#GdkCursor" title="GdkCursor"><span class="type">GdkCursor</span></a>.</td>
633
+ </tr>
634
+ <tr>
635
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
636
+ <td>an Xlib <span class="type">Cursor</span>.</td>
637
+ </tr>
638
+ </tbody>
639
+ </table></div>
640
+ </div>
641
+ <hr>
642
+ <div class="refsect2">
643
+ <a name="GDK-CURSOR-XDISPLAY:CAPS"></a><h3>GDK_CURSOR_XDISPLAY()</h3>
644
+ <pre class="programlisting">#define GDK_CURSOR_XDISPLAY(cursor) (gdk_x11_cursor_get_xdisplay (cursor))
645
+ </pre>
646
+ <p>
647
+ Returns the display of a <a class="link" href="gdk-Cursors.html#GdkCursor" title="GdkCursor"><span class="type">GdkCursor</span></a>.
648
+ </p>
649
+ <div class="variablelist"><table border="0">
650
+ <col align="left" valign="top">
651
+ <tbody>
652
+ <tr>
653
+ <td><p><span class="term"><em class="parameter"><code>cursor</code></em> :</span></p></td>
654
+ <td>a <a class="link" href="gdk-Cursors.html#GdkCursor" title="GdkCursor"><span class="type">GdkCursor</span></a>.</td>
655
+ </tr>
656
+ <tr>
657
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
658
+ <td>an Xlib <span class="type">Display*</span>.</td>
659
+ </tr>
660
+ </tbody>
661
+ </table></div>
662
+ </div>
663
+ <hr>
664
+ <div class="refsect2">
665
+ <a name="GDK-GC-XGC:CAPS"></a><h3>GDK_GC_XGC()</h3>
666
+ <pre class="programlisting">#define GDK_GC_XGC(gc) (GDK_GC_X11(gc)-&gt;xgc)
667
+ </pre>
668
+ <p>
669
+ Returns the X GC of a <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a>.
670
+ </p>
671
+ <div class="variablelist"><table border="0">
672
+ <col align="left" valign="top">
673
+ <tbody>
674
+ <tr>
675
+ <td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
676
+ <td>a <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a>.</td>
677
+ </tr>
678
+ <tr>
679
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
680
+ <td>an Xlib <span class="type">GC</span>.</td>
681
+ </tr>
682
+ </tbody>
683
+ </table></div>
684
+ </div>
685
+ <hr>
686
+ <div class="refsect2">
687
+ <a name="GDK-GC-GET-XGC:CAPS"></a><h3>GDK_GC_GET_XGC()</h3>
688
+ <pre class="programlisting">#define GDK_GC_GET_XGC(gc) (GDK_GC_X11(gc)-&gt;dirty_mask ? _gdk_x11_gc_flush (gc) : ((GdkGCX11 *)(gc))-&gt;xgc)
689
+ </pre>
690
+ <p>
691
+ Returns the X GC of a <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a>.
692
+ </p>
693
+ <div class="variablelist"><table border="0">
694
+ <col align="left" valign="top">
695
+ <tbody>
696
+ <tr>
697
+ <td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
698
+ <td>a <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a>.</td>
699
+ </tr>
700
+ <tr>
701
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
702
+ <td>an Xlib <span class="type">GC</span>.</td>
703
+ </tr>
704
+ </tbody>
705
+ </table></div>
706
+ </div>
707
+ <hr>
708
+ <div class="refsect2">
709
+ <a name="GDK-WINDOW-XWINDOW:CAPS"></a><h3>GDK_WINDOW_XWINDOW</h3>
710
+ <pre class="programlisting">#define GDK_WINDOW_XWINDOW GDK_DRAWABLE_XID
711
+ </pre>
712
+ <p>
713
+ Another name for <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-DRAWABLE-XID:CAPS" title="GDK_DRAWABLE_XID()"><code class="function">GDK_DRAWABLE_XID()</code></a>.
714
+ </p>
715
+ </div>
716
+ <hr>
717
+ <div class="refsect2">
718
+ <a name="gdkx-visual-get"></a><h3>gdkx_visual_get ()</h3>
719
+ <pre class="programlisting"><a class="link" href="gdk-Visuals.html#GdkVisual" title="GdkVisual"><span class="returnvalue">GdkVisual</span></a> * gdkx_visual_get (<em class="parameter"><code><span class="type">VisualID</span> xvisualid</code></em>);</pre>
720
+ <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
721
+ <h3 class="title">Warning</h3>
722
+ <p><code class="literal">gdkx_visual_get</code> has been deprecated since version 2.24 and should not be used in newly-written code. Use <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-screen-lookup-visual" title="gdk_x11_screen_lookup_visual ()"><code class="function">gdk_x11_screen_lookup_visual()</code></a> instead</p>
723
+ </div>
724
+ <p>
725
+ Returns a <a class="link" href="gdk-Visuals.html#GdkVisual" title="GdkVisual"><span class="type">GdkVisual</span></a> corresponding to a X visual.
726
+ </p>
727
+ <div class="variablelist"><table border="0">
728
+ <col align="left" valign="top">
729
+ <tbody>
730
+ <tr>
731
+ <td><p><span class="term"><em class="parameter"><code>xvisualid</code></em> :</span></p></td>
732
+ <td>a X visual id.</td>
733
+ </tr>
734
+ <tr>
735
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
736
+ <td>the <a class="link" href="gdk-Visuals.html#GdkVisual" title="GdkVisual"><span class="type">GdkVisual</span></a>.</td>
737
+ </tr>
738
+ </tbody>
739
+ </table></div>
740
+ </div>
741
+ <hr>
742
+ <div class="refsect2">
743
+ <a name="gdkx-colormap-get"></a><h3>gdkx_colormap_get ()</h3>
744
+ <pre class="programlisting"><a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="returnvalue">GdkColormap</span></a> * gdkx_colormap_get (<em class="parameter"><code><span class="type">Colormap</span> xcolormap</code></em>);</pre>
745
+ <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
746
+ <h3 class="title">Warning</h3>
747
+ <p><code class="literal">gdkx_colormap_get</code> is deprecated and should not be used in newly-written code.</p>
748
+ </div>
749
+ <p>
750
+ Returns a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> corresponding to a X colormap;
751
+ this function only works if the colormap is already
752
+ known to GTK+ (a colormap created by GTK+ or the default
753
+ colormap for the screen), since GTK+
754
+ </p>
755
+ <p>
756
+ Always use <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-colormap-foreign-new" title="gdk_x11_colormap_foreign_new ()"><code class="function">gdk_x11_colormap_foreign_new()</code></a> instead.
757
+ </p>
758
+ <div class="variablelist"><table border="0">
759
+ <col align="left" valign="top">
760
+ <tbody>
761
+ <tr>
762
+ <td><p><span class="term"><em class="parameter"><code>xcolormap</code></em> :</span></p></td>
763
+ <td>the XID of a colormap for the default screen.</td>
764
+ </tr>
765
+ <tr>
766
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
767
+ <td>the existing <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> object if it was
768
+ already known to GTK+, otherwise warns and return
769
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
770
+ </tr>
771
+ </tbody>
772
+ </table></div>
773
+ </div>
774
+ <hr>
775
+ <div class="refsect2">
776
+ <a name="gdk-pixmap-foreign-new"></a><h3>gdk_pixmap_foreign_new ()</h3>
777
+ <pre class="programlisting"><a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="returnvalue">GdkPixmap</span></a> * gdk_pixmap_foreign_new (<em class="parameter"><code><a class="link" href="gdk-Event-Structures.html#GdkNativeWindow" title="GdkNativeWindow"><span class="type">GdkNativeWindow</span></a> anid</code></em>);</pre>
778
+ <p>
779
+ Wraps a native window for the default display in a <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>.
780
+ This may fail if the pixmap has been destroyed.
781
+ </p>
782
+ <p>
783
+ For example in the X backend, a native pixmap handle is an Xlib
784
+ <span class="type">XID</span>.
785
+ </p>
786
+ <div class="variablelist"><table border="0">
787
+ <col align="left" valign="top">
788
+ <tbody>
789
+ <tr>
790
+ <td><p><span class="term"><em class="parameter"><code>anid</code></em> :</span></p></td>
791
+ <td>a native pixmap handle.</td>
792
+ </tr>
793
+ <tr>
794
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
795
+ <td>the newly-created <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a> wrapper for the
796
+ native pixmap or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the pixmap has been destroyed.</td>
797
+ </tr>
798
+ </tbody>
799
+ </table></div>
800
+ </div>
801
+ <hr>
802
+ <div class="refsect2">
803
+ <a name="gdk-pixmap-foreign-new-for-display"></a><h3>gdk_pixmap_foreign_new_for_display ()</h3>
804
+ <pre class="programlisting"><a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="returnvalue">GdkPixmap</span></a> * gdk_pixmap_foreign_new_for_display (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
805
+ <em class="parameter"><code><a class="link" href="gdk-Event-Structures.html#GdkNativeWindow" title="GdkNativeWindow"><span class="type">GdkNativeWindow</span></a> anid</code></em>);</pre>
806
+ <p>
807
+ Wraps a native pixmap in a <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>.
808
+ This may fail if the pixmap has been destroyed.
809
+ </p>
810
+ <p>
811
+ For example in the X backend, a native pixmap handle is an Xlib
812
+ <span class="type">XID</span>.
813
+ </p>
814
+ <div class="variablelist"><table border="0">
815
+ <col align="left" valign="top">
816
+ <tbody>
817
+ <tr>
818
+ <td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
819
+ <td>The <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> where <em class="parameter"><code>anid</code></em> is located.</td>
820
+ </tr>
821
+ <tr>
822
+ <td><p><span class="term"><em class="parameter"><code>anid</code></em> :</span></p></td>
823
+ <td>a native pixmap handle.</td>
824
+ </tr>
825
+ <tr>
826
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
827
+ <td>the newly-created <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a> wrapper for the
828
+ native pixmap or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the pixmap has been destroyed.</td>
829
+ </tr>
830
+ </tbody>
831
+ </table></div>
832
+ <p class="since">Since 2.2</p>
833
+ </div>
834
+ <hr>
835
+ <div class="refsect2">
836
+ <a name="gdk-pixmap-foreign-new-for-screen"></a><h3>gdk_pixmap_foreign_new_for_screen ()</h3>
837
+ <pre class="programlisting"><a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="returnvalue">GdkPixmap</span></a> * gdk_pixmap_foreign_new_for_screen (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>,
838
+ <em class="parameter"><code><a class="link" href="gdk-Event-Structures.html#GdkNativeWindow" title="GdkNativeWindow"><span class="type">GdkNativeWindow</span></a> anid</code></em>,
839
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
840
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>,
841
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> depth</code></em>);</pre>
842
+ <p>
843
+ Wraps a native pixmap in a <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>.
844
+ This may fail if the pixmap has been destroyed.
845
+ </p>
846
+ <p>
847
+ For example in the X backend, a native pixmap handle is an Xlib
848
+ <span class="type">XID</span>.
849
+ </p>
850
+ <p>
851
+ This function is an alternative to <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-pixmap-foreign-new-for-display" title="gdk_pixmap_foreign_new_for_display ()"><code class="function">gdk_pixmap_foreign_new_for_display()</code></a>
852
+ for cases where the dimensions of the pixmap are known. For the X
853
+ backend, this avoids a roundtrip to the server.
854
+ </p>
855
+ <div class="variablelist"><table border="0">
856
+ <col align="left" valign="top">
857
+ <tbody>
858
+ <tr>
859
+ <td><p><span class="term"><em class="parameter"><code>screen</code></em> :</span></p></td>
860
+ <td>a <a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a>
861
+ </td>
862
+ </tr>
863
+ <tr>
864
+ <td><p><span class="term"><em class="parameter"><code>anid</code></em> :</span></p></td>
865
+ <td>a native pixmap handle</td>
866
+ </tr>
867
+ <tr>
868
+ <td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
869
+ <td>the width of the pixmap identified by <em class="parameter"><code>anid</code></em>
870
+ </td>
871
+ </tr>
872
+ <tr>
873
+ <td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
874
+ <td>the height of the pixmap identified by <em class="parameter"><code>anid</code></em>
875
+ </td>
876
+ </tr>
877
+ <tr>
878
+ <td><p><span class="term"><em class="parameter"><code>depth</code></em> :</span></p></td>
879
+ <td>the depth of the pixmap identified by <em class="parameter"><code>anid</code></em>
880
+ </td>
881
+ </tr>
882
+ <tr>
883
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
884
+ <td>the newly-created <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a> wrapper for the
885
+ native pixmap or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the pixmap has been destroyed.</td>
886
+ </tr>
887
+ </tbody>
888
+ </table></div>
889
+ <p class="since">Since 2.10</p>
890
+ </div>
891
+ <hr>
892
+ <div class="refsect2">
893
+ <a name="gdk-window-foreign-new"></a><h3>gdk_window_foreign_new ()</h3>
894
+ <pre class="programlisting"><a class="link" href="gdk-Windows.html#GdkWindow"><span class="returnvalue">GdkWindow</span></a> * gdk_window_foreign_new (<em class="parameter"><code><a class="link" href="gdk-Event-Structures.html#GdkNativeWindow" title="GdkNativeWindow"><span class="type">GdkNativeWindow</span></a> anid</code></em>);</pre>
895
+ <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
896
+ <h3 class="title">Warning</h3>
897
+ <p><code class="literal">gdk_window_foreign_new</code> is deprecated and should not be used in newly-written code.</p>
898
+ </div>
899
+ <p>
900
+ Wraps a native window for the default display in a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a>.
901
+ This may fail if the window has been destroyed.
902
+ </p>
903
+ <p>
904
+ For example in the X backend, a native window handle is an Xlib
905
+ <span class="type">XID</span>.
906
+ </p>
907
+ <div class="variablelist"><table border="0">
908
+ <col align="left" valign="top">
909
+ <tbody>
910
+ <tr>
911
+ <td><p><span class="term"><em class="parameter"><code>anid</code></em> :</span></p></td>
912
+ <td>a native window handle.</td>
913
+ </tr>
914
+ <tr>
915
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
916
+ <td>the newly-created <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> wrapper for the
917
+ native window or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the window has been destroyed.</td>
918
+ </tr>
919
+ </tbody>
920
+ </table></div>
921
+ </div>
922
+ <hr>
923
+ <div class="refsect2">
924
+ <a name="gdk-window-foreign-new-for-display"></a><h3>gdk_window_foreign_new_for_display ()</h3>
925
+ <pre class="programlisting"><a class="link" href="gdk-Windows.html#GdkWindow"><span class="returnvalue">GdkWindow</span></a> * gdk_window_foreign_new_for_display (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
926
+ <em class="parameter"><code><a class="link" href="gdk-Event-Structures.html#GdkNativeWindow" title="GdkNativeWindow"><span class="type">GdkNativeWindow</span></a> anid</code></em>);</pre>
927
+ <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
928
+ <h3 class="title">Warning</h3>
929
+ <p><code class="literal">gdk_window_foreign_new_for_display</code> has been deprecated since version 2.24 and should not be used in newly-written code. Use <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-window-foreign-new-for-display" title="gdk_x11_window_foreign_new_for_display ()"><code class="function">gdk_x11_window_foreign_new_for_display()</code></a> or
930
+ equivalent backend-specific API instead</p>
931
+ </div>
932
+ <p>
933
+ Wraps a native window in a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a>.
934
+ This may fail if the window has been destroyed. If the window
935
+ was already known to GDK, a new reference to the existing
936
+ <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> is returned.
937
+ </p>
938
+ <p>
939
+ For example in the X backend, a native window handle is an Xlib
940
+ <span class="type">XID</span>.
941
+ </p>
942
+ <div class="variablelist"><table border="0">
943
+ <col align="left" valign="top">
944
+ <tbody>
945
+ <tr>
946
+ <td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
947
+ <td>the <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> where the window handle comes from.</td>
948
+ </tr>
949
+ <tr>
950
+ <td><p><span class="term"><em class="parameter"><code>anid</code></em> :</span></p></td>
951
+ <td>a native window handle.</td>
952
+ </tr>
953
+ <tr>
954
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
955
+ <td>a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> wrapper for the native window or
956
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the window has been destroyed. The wrapper will be
957
+ newly created, if one doesn't exist already.</td>
958
+ </tr>
959
+ </tbody>
960
+ </table></div>
961
+ <p class="since">Since 2.2</p>
962
+ </div>
963
+ <hr>
964
+ <div class="refsect2">
965
+ <a name="gdk-xid-table-lookup"></a><h3>gdk_xid_table_lookup ()</h3>
966
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> gdk_xid_table_lookup (<em class="parameter"><code><span class="type">XID</span> xid</code></em>);</pre>
967
+ <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
968
+ <h3 class="title">Warning</h3>
969
+ <p><code class="literal">gdk_xid_table_lookup</code> has been deprecated since version 2.24 and should not be used in newly-written code. This function will be removed in GTK+ 3.0. GTK+
970
+ only stores windows in its X id table nowadays, so use
971
+ <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-window-lookup-for-display" title="gdk_x11_window_lookup_for_display ()"><code class="function">gdk_x11_window_lookup_for_display()</code></a> instead.</p>
972
+ </div>
973
+ <p>
974
+ Returns the Gdk object associated with the given X id for the default
975
+ display.
976
+ </p>
977
+ <div class="variablelist"><table border="0">
978
+ <col align="left" valign="top">
979
+ <tbody>
980
+ <tr>
981
+ <td><p><span class="term"><em class="parameter"><code>xid</code></em> :</span></p></td>
982
+ <td>an X id.</td>
983
+ </tr>
984
+ <tr>
985
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
986
+ <td>the associated Gdk object, which may be a <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>,
987
+ a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> or a <a class="link" href="gdk-Fonts.html#GdkFont" title="GdkFont"><span class="type">GdkFont</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no object is associated
988
+ with the X id.</td>
989
+ </tr>
990
+ </tbody>
991
+ </table></div>
992
+ </div>
993
+ <hr>
994
+ <div class="refsect2">
995
+ <a name="gdk-xid-table-lookup-for-display"></a><h3>gdk_xid_table_lookup_for_display ()</h3>
996
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> gdk_xid_table_lookup_for_display (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
997
+ <em class="parameter"><code><span class="type">XID</span> xid</code></em>);</pre>
998
+ <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
999
+ <h3 class="title">Warning</h3>
1000
+ <p><code class="literal">gdk_xid_table_lookup_for_display</code> has been deprecated since version 2.24 and should not be used in newly-written code. This function will be removed in GTK+ 3.0. GTK+
1001
+ only stores windows in its X id table nowadays, so use
1002
+ <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-window-lookup-for-display" title="gdk_x11_window_lookup_for_display ()"><code class="function">gdk_x11_window_lookup_for_display()</code></a> instead.</p>
1003
+ </div>
1004
+ <p>
1005
+ Returns the GDK object associated with the given X id.
1006
+ </p>
1007
+ <div class="variablelist"><table border="0">
1008
+ <col align="left" valign="top">
1009
+ <tbody>
1010
+ <tr>
1011
+ <td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
1012
+ <td>the <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a>.</td>
1013
+ </tr>
1014
+ <tr>
1015
+ <td><p><span class="term"><em class="parameter"><code>xid</code></em> :</span></p></td>
1016
+ <td>an X id.</td>
1017
+ </tr>
1018
+ <tr>
1019
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1020
+ <td>the associated Gdk object, which may be a <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>,
1021
+ a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> or a <a class="link" href="gdk-Fonts.html#GdkFont" title="GdkFont"><span class="type">GdkFont</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no object is associated
1022
+ with the X id.</td>
1023
+ </tr>
1024
+ </tbody>
1025
+ </table></div>
1026
+ <p class="since">Since 2.2</p>
1027
+ </div>
1028
+ <hr>
1029
+ <div class="refsect2">
1030
+ <a name="gdk-window-lookup"></a><h3>gdk_window_lookup ()</h3>
1031
+ <pre class="programlisting"><a class="link" href="gdk-Windows.html#GdkWindow"><span class="returnvalue">GdkWindow</span></a> * gdk_window_lookup (<em class="parameter"><code><a class="link" href="gdk-Event-Structures.html#GdkNativeWindow" title="GdkNativeWindow"><span class="type">GdkNativeWindow</span></a> anid</code></em>);</pre>
1032
+ <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1033
+ <h3 class="title">Warning</h3>
1034
+ <p><code class="literal">gdk_window_lookup</code> has been deprecated since version 2.24 and should not be used in newly-written code. Use <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-window-lookup-for-display" title="gdk_x11_window_lookup_for_display ()"><code class="function">gdk_x11_window_lookup_for_display()</code></a> or equivalent
1035
+ backend-specific functionality instead</p>
1036
+ </div>
1037
+ <p>
1038
+ Looks up the <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> that wraps the given native window handle.
1039
+ </p>
1040
+ <p>
1041
+ For example in the X backend, a native window handle is an Xlib
1042
+ <span class="type">XID</span>.
1043
+ </p>
1044
+ <div class="variablelist"><table border="0">
1045
+ <col align="left" valign="top">
1046
+ <tbody>
1047
+ <tr>
1048
+ <td><p><span class="term"><em class="parameter"><code>anid</code></em> :</span></p></td>
1049
+ <td>a native window handle.</td>
1050
+ </tr>
1051
+ <tr>
1052
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1053
+ <td>the <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> wrapper for the native window,
1054
+ or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there is none.</td>
1055
+ </tr>
1056
+ </tbody>
1057
+ </table></div>
1058
+ </div>
1059
+ <hr>
1060
+ <div class="refsect2">
1061
+ <a name="gdk-window-lookup-for-display"></a><h3>gdk_window_lookup_for_display ()</h3>
1062
+ <pre class="programlisting"><a class="link" href="gdk-Windows.html#GdkWindow"><span class="returnvalue">GdkWindow</span></a> * gdk_window_lookup_for_display (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
1063
+ <em class="parameter"><code><a class="link" href="gdk-Event-Structures.html#GdkNativeWindow" title="GdkNativeWindow"><span class="type">GdkNativeWindow</span></a> anid</code></em>);</pre>
1064
+ <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1065
+ <h3 class="title">Warning</h3>
1066
+ <p><code class="literal">gdk_window_lookup_for_display</code> has been deprecated since version 2.24 and should not be used in newly-written code. Use <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-window-lookup-for-display" title="gdk_x11_window_lookup_for_display ()"><code class="function">gdk_x11_window_lookup_for_display()</code></a> instead</p>
1067
+ </div>
1068
+ <p>
1069
+ Looks up the <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> that wraps the given native window handle.
1070
+ </p>
1071
+ <p>
1072
+ For example in the X backend, a native window handle is an Xlib
1073
+ <span class="type">XID</span>.
1074
+ </p>
1075
+ <div class="variablelist"><table border="0">
1076
+ <col align="left" valign="top">
1077
+ <tbody>
1078
+ <tr>
1079
+ <td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
1080
+ <td>the <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> corresponding to the window handle</td>
1081
+ </tr>
1082
+ <tr>
1083
+ <td><p><span class="term"><em class="parameter"><code>anid</code></em> :</span></p></td>
1084
+ <td>a native window handle.</td>
1085
+ </tr>
1086
+ <tr>
1087
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1088
+ <td>the <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> wrapper for the native window,
1089
+ or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there is none.</td>
1090
+ </tr>
1091
+ </tbody>
1092
+ </table></div>
1093
+ <p class="since">Since 2.2</p>
1094
+ </div>
1095
+ <hr>
1096
+ <div class="refsect2">
1097
+ <a name="gdk-pixmap-lookup"></a><h3>gdk_pixmap_lookup ()</h3>
1098
+ <pre class="programlisting"><a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="returnvalue">GdkPixmap</span></a> * gdk_pixmap_lookup (<em class="parameter"><code><a class="link" href="gdk-Event-Structures.html#GdkNativeWindow" title="GdkNativeWindow"><span class="type">GdkNativeWindow</span></a> anid</code></em>);</pre>
1099
+ <p>
1100
+ Looks up the <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a> that wraps the given native pixmap handle.
1101
+ </p>
1102
+ <p>
1103
+ For example in the X backend, a native pixmap handle is an Xlib
1104
+ <span class="type">XID</span>.
1105
+ </p>
1106
+ <div class="variablelist"><table border="0">
1107
+ <col align="left" valign="top">
1108
+ <tbody>
1109
+ <tr>
1110
+ <td><p><span class="term"><em class="parameter"><code>anid</code></em> :</span></p></td>
1111
+ <td>a native pixmap handle.</td>
1112
+ </tr>
1113
+ <tr>
1114
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1115
+ <td>the <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a> wrapper for the native pixmap,
1116
+ or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there is none.</td>
1117
+ </tr>
1118
+ </tbody>
1119
+ </table></div>
1120
+ </div>
1121
+ <hr>
1122
+ <div class="refsect2">
1123
+ <a name="gdk-pixmap-lookup-for-display"></a><h3>gdk_pixmap_lookup_for_display ()</h3>
1124
+ <pre class="programlisting"><a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="returnvalue">GdkPixmap</span></a> * gdk_pixmap_lookup_for_display (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
1125
+ <em class="parameter"><code><a class="link" href="gdk-Event-Structures.html#GdkNativeWindow" title="GdkNativeWindow"><span class="type">GdkNativeWindow</span></a> anid</code></em>);</pre>
1126
+ <p>
1127
+ Looks up the <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a> that wraps the given native pixmap handle.
1128
+ </p>
1129
+ <p>
1130
+ For example in the X backend, a native pixmap handle is an Xlib
1131
+ <span class="type">XID</span>.
1132
+ </p>
1133
+ <div class="variablelist"><table border="0">
1134
+ <col align="left" valign="top">
1135
+ <tbody>
1136
+ <tr>
1137
+ <td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
1138
+ <td>the <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> associated with <em class="parameter"><code>anid</code></em>
1139
+ </td>
1140
+ </tr>
1141
+ <tr>
1142
+ <td><p><span class="term"><em class="parameter"><code>anid</code></em> :</span></p></td>
1143
+ <td>a native pixmap handle.</td>
1144
+ </tr>
1145
+ <tr>
1146
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1147
+ <td>the <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a> wrapper for the native pixmap,
1148
+ or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there is none.</td>
1149
+ </tr>
1150
+ </tbody>
1151
+ </table></div>
1152
+ <p class="since">Since 2.2</p>
1153
+ </div>
1154
+ <hr>
1155
+ <div class="refsect2">
1156
+ <a name="gdk-font-lookup"></a><h3>gdk_font_lookup()</h3>
1157
+ <pre class="programlisting">#define gdk_font_lookup(xid) ((GdkFont*) gdk_xid_table_lookup (xid))
1158
+ </pre>
1159
+ <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1160
+ <h3 class="title">Warning</h3>
1161
+ <p><code class="literal">gdk_font_lookup</code> is deprecated and should not be used in newly-written code.</p>
1162
+ </div>
1163
+ <p>
1164
+ Obtains the <a class="link" href="gdk-Fonts.html#GdkFont" title="GdkFont"><span class="type">GdkFont</span></a> for the given Xlib font ID, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no <a class="link" href="gdk-Fonts.html#GdkFont" title="GdkFont"><span class="type">GdkFont</span></a> has
1165
+ been created for <em class="parameter"><code>xid</code></em>.
1166
+ </p>
1167
+ <div class="variablelist"><table border="0">
1168
+ <col align="left" valign="top">
1169
+ <tbody><tr>
1170
+ <td><p><span class="term"><em class="parameter"><code>xid</code></em> :</span></p></td>
1171
+ <td>an Xlib font ID</td>
1172
+ </tr></tbody>
1173
+ </table></div>
1174
+ </div>
1175
+ <hr>
1176
+ <div class="refsect2">
1177
+ <a name="gdk-font-lookup-for-display"></a><h3>gdk_font_lookup_for_display()</h3>
1178
+ <pre class="programlisting">#define gdk_font_lookup_for_display(display, xid) ((GdkFont*) gdk_xid_table_lookup_for_display (display, ((xid)|XID_FONT_BIT)))
1179
+ </pre>
1180
+ <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1181
+ <h3 class="title">Warning</h3>
1182
+ <p><code class="literal">gdk_font_lookup_for_display</code> is deprecated and should not be used in newly-written code.</p>
1183
+ </div>
1184
+ <p>
1185
+ Obtains the <a class="link" href="gdk-Fonts.html#GdkFont" title="GdkFont"><span class="type">GdkFont</span></a> for the given Xlib font ID on <em class="parameter"><code>display</code></em>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no
1186
+ <a class="link" href="gdk-Fonts.html#GdkFont" title="GdkFont"><span class="type">GdkFont</span></a> has been created for <em class="parameter"><code>xid</code></em>.
1187
+ </p>
1188
+ <div class="variablelist"><table border="0">
1189
+ <col align="left" valign="top">
1190
+ <tbody>
1191
+ <tr>
1192
+ <td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
1193
+ <td>a <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a>
1194
+ </td>
1195
+ </tr>
1196
+ <tr>
1197
+ <td><p><span class="term"><em class="parameter"><code>xid</code></em> :</span></p></td>
1198
+ <td>an Xlib font ID
1199
+ Since: 2.2</td>
1200
+ </tr>
1201
+ </tbody>
1202
+ </table></div>
1203
+ </div>
1204
+ <hr>
1205
+ <div class="refsect2">
1206
+ <a name="gdk-x11-lookup-xdisplay"></a><h3>gdk_x11_lookup_xdisplay ()</h3>
1207
+ <pre class="programlisting"><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="returnvalue">GdkDisplay</span></a> * gdk_x11_lookup_xdisplay (<em class="parameter"><code><span class="type">Display</span> *xdisplay</code></em>);</pre>
1208
+ <p>
1209
+ Find the <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> corresponding to <em class="parameter"><code>display</code></em>, if any exists.
1210
+ </p>
1211
+ <div class="variablelist"><table border="0">
1212
+ <col align="left" valign="top">
1213
+ <tbody>
1214
+ <tr>
1215
+ <td><p><span class="term"><em class="parameter"><code>xdisplay</code></em> :</span></p></td>
1216
+ <td>a pointer to an X Display</td>
1217
+ </tr>
1218
+ <tr>
1219
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1220
+ <td>the <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a>, if found, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
1221
+ </tr>
1222
+ </tbody>
1223
+ </table></div>
1224
+ <p class="since">Since 2.2</p>
1225
+ </div>
1226
+ <hr>
1227
+ <div class="refsect2">
1228
+ <a name="gdk-x11-get-server-time"></a><h3>gdk_x11_get_server_time ()</h3>
1229
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> gdk_x11_get_server_time (<em class="parameter"><code><a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);</pre>
1230
+ <p>
1231
+ Routine to get the current X server time stamp.
1232
+ </p>
1233
+ <div class="variablelist"><table border="0">
1234
+ <col align="left" valign="top">
1235
+ <tbody>
1236
+ <tr>
1237
+ <td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
1238
+ <td>a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a>, used for communication with the server.
1239
+ The window must have GDK_PROPERTY_CHANGE_MASK in its
1240
+ events mask or a hang will result.</td>
1241
+ </tr>
1242
+ <tr>
1243
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1244
+ <td>the time stamp.</td>
1245
+ </tr>
1246
+ </tbody>
1247
+ </table></div>
1248
+ </div>
1249
+ <hr>
1250
+ <div class="refsect2">
1251
+ <a name="gdk-net-wm-supports"></a><h3>gdk_net_wm_supports ()</h3>
1252
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gdk_net_wm_supports (<em class="parameter"><code><a class="link" href="gdk-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> property</code></em>);</pre>
1253
+ <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1254
+ <h3 class="title">Warning</h3>
1255
+ <p><code class="literal">gdk_net_wm_supports</code> has been deprecated since version 2.24 and should not be used in newly-written code. Use <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-screen-supports-net-wm-hint" title="gdk_x11_screen_supports_net_wm_hint ()"><code class="function">gdk_x11_screen_supports_net_wm_hint()</code></a> instead</p>
1256
+ </div>
1257
+ <p>
1258
+ This function is specific to the X11 backend of GDK, and indicates
1259
+ whether the window manager for the default screen supports a certain
1260
+ hint from the Extended Window Manager Hints Specification. See
1261
+ <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-screen-supports-net-wm-hint" title="gdk_x11_screen_supports_net_wm_hint ()"><code class="function">gdk_x11_screen_supports_net_wm_hint()</code></a> for complete details.
1262
+ </p>
1263
+ <div class="variablelist"><table border="0">
1264
+ <col align="left" valign="top">
1265
+ <tbody>
1266
+ <tr>
1267
+ <td><p><span class="term"><em class="parameter"><code>property</code></em> :</span></p></td>
1268
+ <td>a property atom.</td>
1269
+ </tr>
1270
+ <tr>
1271
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1272
+ <td>
1273
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the window manager supports <em class="parameter"><code>property</code></em>
1274
+ </td>
1275
+ </tr>
1276
+ </tbody>
1277
+ </table></div>
1278
+ </div>
1279
+ <hr>
1280
+ <div class="refsect2">
1281
+ <a name="gdk-x11-screen-supports-net-wm-hint"></a><h3>gdk_x11_screen_supports_net_wm_hint ()</h3>
1282
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gdk_x11_screen_supports_net_wm_hint (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>,
1283
+ <em class="parameter"><code><a class="link" href="gdk-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> property</code></em>);</pre>
1284
+ <p>
1285
+ This function is specific to the X11 backend of GDK, and indicates
1286
+ whether the window manager supports a certain hint from the
1287
+ Extended Window Manager Hints Specification. You can find this
1288
+ specification on
1289
+ <a class="ulink" href="http://www.freedesktop.org" target="_top">http://www.freedesktop.org</a>.
1290
+ </p>
1291
+ <p>
1292
+ When using this function, keep in mind that the window manager
1293
+ can change over time; so you shouldn't use this function in
1294
+ a way that impacts persistent application state. A common bug
1295
+ is that your application can start up before the window manager
1296
+ does when the user logs in, and before the window manager starts
1297
+ <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-screen-supports-net-wm-hint" title="gdk_x11_screen_supports_net_wm_hint ()"><code class="function">gdk_x11_screen_supports_net_wm_hint()</code></a> will return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> for every property.
1298
+ You can monitor the window_manager_changed signal on <a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> to detect
1299
+ a window manager change.
1300
+ </p>
1301
+ <div class="variablelist"><table border="0">
1302
+ <col align="left" valign="top">
1303
+ <tbody>
1304
+ <tr>
1305
+ <td><p><span class="term"><em class="parameter"><code>screen</code></em> :</span></p></td>
1306
+ <td>the relevant <a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a>.</td>
1307
+ </tr>
1308
+ <tr>
1309
+ <td><p><span class="term"><em class="parameter"><code>property</code></em> :</span></p></td>
1310
+ <td>a property atom.</td>
1311
+ </tr>
1312
+ <tr>
1313
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1314
+ <td>
1315
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the window manager supports <em class="parameter"><code>property</code></em>
1316
+ </td>
1317
+ </tr>
1318
+ </tbody>
1319
+ </table></div>
1320
+ <p class="since">Since 2.2</p>
1321
+ </div>
1322
+ <hr>
1323
+ <div class="refsect2">
1324
+ <a name="gdk-x11-screen-get-window-manager-name"></a><h3>gdk_x11_screen_get_window_manager_name ()</h3>
1325
+ <pre class="programlisting">const <span class="returnvalue">char</span> * gdk_x11_screen_get_window_manager_name
1326
+ (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
1327
+ <p>
1328
+ Returns the name of the window manager for <em class="parameter"><code>screen</code></em>.
1329
+ </p>
1330
+ <div class="variablelist"><table border="0">
1331
+ <col align="left" valign="top">
1332
+ <tbody>
1333
+ <tr>
1334
+ <td><p><span class="term"><em class="parameter"><code>screen</code></em> :</span></p></td>
1335
+ <td>a <a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a>
1336
+ </td>
1337
+ </tr>
1338
+ <tr>
1339
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1340
+ <td>the name of the window manager screen <em class="parameter"><code>screen</code></em>, or
1341
+ "unknown" if the window manager is unknown. The string is owned by GDK
1342
+ and should not be freed.</td>
1343
+ </tr>
1344
+ </tbody>
1345
+ </table></div>
1346
+ <p class="since">Since 2.2</p>
1347
+ </div>
1348
+ <hr>
1349
+ <div class="refsect2">
1350
+ <a name="gdk-x11-screen-get-monitor-output"></a><h3>gdk_x11_screen_get_monitor_output ()</h3>
1351
+ <pre class="programlisting"><span class="returnvalue">XID</span> gdk_x11_screen_get_monitor_output (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>,
1352
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> monitor_num</code></em>);</pre>
1353
+ <p>
1354
+ Gets the XID of the specified output/monitor.
1355
+ If the X server does not support version 1.2 of the RANDR
1356
+ extension, 0 is returned.
1357
+ </p>
1358
+ <div class="variablelist"><table border="0">
1359
+ <col align="left" valign="top">
1360
+ <tbody>
1361
+ <tr>
1362
+ <td><p><span class="term"><em class="parameter"><code>screen</code></em> :</span></p></td>
1363
+ <td>a <a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a>
1364
+ </td>
1365
+ </tr>
1366
+ <tr>
1367
+ <td><p><span class="term"><em class="parameter"><code>monitor_num</code></em> :</span></p></td>
1368
+ <td>number of the monitor, between 0 and gdk_screen_get_n_monitors (screen)</td>
1369
+ </tr>
1370
+ <tr>
1371
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1372
+ <td>the XID of the monitor</td>
1373
+ </tr>
1374
+ </tbody>
1375
+ </table></div>
1376
+ <p class="since">Since 2.14</p>
1377
+ </div>
1378
+ <hr>
1379
+ <div class="refsect2">
1380
+ <a name="gdk-x11-screen-lookup-visual"></a><h3>gdk_x11_screen_lookup_visual ()</h3>
1381
+ <pre class="programlisting"><a class="link" href="gdk-Visuals.html#GdkVisual" title="GdkVisual"><span class="returnvalue">GdkVisual</span></a> * gdk_x11_screen_lookup_visual (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>,
1382
+ <em class="parameter"><code><span class="type">VisualID</span> xvisualid</code></em>);</pre>
1383
+ <p>
1384
+ Looks up the <a class="link" href="gdk-Visuals.html#GdkVisual" title="GdkVisual"><span class="type">GdkVisual</span></a> for a particular screen and X Visual ID.
1385
+ </p>
1386
+ <div class="variablelist"><table border="0">
1387
+ <col align="left" valign="top">
1388
+ <tbody>
1389
+ <tr>
1390
+ <td><p><span class="term"><em class="parameter"><code>screen</code></em> :</span></p></td>
1391
+ <td>a <a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a>.</td>
1392
+ </tr>
1393
+ <tr>
1394
+ <td><p><span class="term"><em class="parameter"><code>xvisualid</code></em> :</span></p></td>
1395
+ <td>an X Visual ID.</td>
1396
+ </tr>
1397
+ <tr>
1398
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1399
+ <td>the <a class="link" href="gdk-Visuals.html#GdkVisual" title="GdkVisual"><span class="type">GdkVisual</span></a> (owned by the screen
1400
+ object), or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the visual ID wasn't found. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
1401
+ </td>
1402
+ </tr>
1403
+ </tbody>
1404
+ </table></div>
1405
+ <p class="since">Since 2.2</p>
1406
+ </div>
1407
+ <hr>
1408
+ <div class="refsect2">
1409
+ <a name="gdk-x11-window-set-user-time"></a><h3>gdk_x11_window_set_user_time ()</h3>
1410
+ <pre class="programlisting"><span class="returnvalue">void</span> gdk_x11_window_set_user_time (<em class="parameter"><code><a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
1411
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> timestamp</code></em>);</pre>
1412
+ <p>
1413
+ The application can use this call to update the _NET_WM_USER_TIME
1414
+ property on a toplevel window. This property stores an Xserver
1415
+ time which represents the time of the last user input event
1416
+ received for this window. This property may be used by the window
1417
+ manager to alter the focus, stacking, and/or placement behavior of
1418
+ windows when they are mapped depending on whether the new window
1419
+ was created by a user action or is a "pop-up" window activated by a
1420
+ timer or some other event.
1421
+ </p>
1422
+ <p>
1423
+ Note that this property is automatically updated by GDK, so this
1424
+ function should only be used by applications which handle input
1425
+ events bypassing GDK.
1426
+ </p>
1427
+ <div class="variablelist"><table border="0">
1428
+ <col align="left" valign="top">
1429
+ <tbody>
1430
+ <tr>
1431
+ <td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
1432
+ <td>A toplevel <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a>
1433
+ </td>
1434
+ </tr>
1435
+ <tr>
1436
+ <td><p><span class="term"><em class="parameter"><code>timestamp</code></em> :</span></p></td>
1437
+ <td>An XServer timestamp to which the property should be set</td>
1438
+ </tr>
1439
+ </tbody>
1440
+ </table></div>
1441
+ <p class="since">Since 2.6</p>
1442
+ </div>
1443
+ <hr>
1444
+ <div class="refsect2">
1445
+ <a name="gdk-x11-window-move-to-current-desktop"></a><h3>gdk_x11_window_move_to_current_desktop ()</h3>
1446
+ <pre class="programlisting"><span class="returnvalue">void</span> gdk_x11_window_move_to_current_desktop
1447
+ (<em class="parameter"><code><a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);</pre>
1448
+ <p>
1449
+ Moves the window to the correct workspace when running under a
1450
+ window manager that supports multiple workspaces, as described
1451
+ in the <a class="ulink" href="http://www.freedesktop.org/Standards/wm-spec" target="_top">Extended
1452
+ Window Manager Hints</a>. Will not do anything if the
1453
+ window is already on all workspaces.
1454
+ </p>
1455
+ <div class="variablelist"><table border="0">
1456
+ <col align="left" valign="top">
1457
+ <tbody><tr>
1458
+ <td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
1459
+ <td>a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a>
1460
+ </td>
1461
+ </tr></tbody>
1462
+ </table></div>
1463
+ <p class="since">Since 2.8</p>
1464
+ </div>
1465
+ <hr>
1466
+ <div class="refsect2">
1467
+ <a name="gdk-x11-display-get-user-time"></a><h3>gdk_x11_display_get_user_time ()</h3>
1468
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> gdk_x11_display_get_user_time (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>);</pre>
1469
+ <p>
1470
+ Returns the timestamp of the last user interaction on
1471
+ <em class="parameter"><code>display</code></em>. The timestamp is taken from events caused
1472
+ by user interaction such as key presses or pointer
1473
+ movements. See <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-window-set-user-time" title="gdk_x11_window_set_user_time ()"><code class="function">gdk_x11_window_set_user_time()</code></a>.
1474
+ </p>
1475
+ <div class="variablelist"><table border="0">
1476
+ <col align="left" valign="top">
1477
+ <tbody>
1478
+ <tr>
1479
+ <td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
1480
+ <td>a <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a>
1481
+ </td>
1482
+ </tr>
1483
+ <tr>
1484
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1485
+ <td>the timestamp of the last user interaction</td>
1486
+ </tr>
1487
+ </tbody>
1488
+ </table></div>
1489
+ <p class="since">Since 2.8</p>
1490
+ </div>
1491
+ <hr>
1492
+ <div class="refsect2">
1493
+ <a name="gdk-x11-colormap-foreign-new"></a><h3>gdk_x11_colormap_foreign_new ()</h3>
1494
+ <pre class="programlisting"><a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="returnvalue">GdkColormap</span></a> * gdk_x11_colormap_foreign_new (<em class="parameter"><code><a class="link" href="gdk-Visuals.html#GdkVisual" title="GdkVisual"><span class="type">GdkVisual</span></a> *visual</code></em>,
1495
+ <em class="parameter"><code><span class="type">Colormap</span> xcolormap</code></em>);</pre>
1496
+ <p>
1497
+ If xcolormap refers to a colormap previously known to GTK+,
1498
+ returns a new reference to the existing <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> object,
1499
+ otherwise creates a new GdkColormap object and returns that
1500
+ </p>
1501
+ <div class="variablelist"><table border="0">
1502
+ <col align="left" valign="top">
1503
+ <tbody>
1504
+ <tr>
1505
+ <td><p><span class="term"><em class="parameter"><code>visual</code></em> :</span></p></td>
1506
+ <td>a <a class="link" href="gdk-Visuals.html#GdkVisual" title="GdkVisual"><span class="type">GdkVisual</span></a>
1507
+ </td>
1508
+ </tr>
1509
+ <tr>
1510
+ <td><p><span class="term"><em class="parameter"><code>xcolormap</code></em> :</span></p></td>
1511
+ <td>The XID of a colormap with visual <em class="parameter"><code>visual</code></em>
1512
+ </td>
1513
+ </tr>
1514
+ <tr>
1515
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1516
+ <td>the <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> object for <em class="parameter"><code>xcolormap</code></em>.
1517
+ Free with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. Note that for colormap created
1518
+ with <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-colormap-foreign-new" title="gdk_x11_colormap_foreign_new ()"><code class="function">gdk_x11_colormap_foreign_new()</code></a>, unref'ing the last
1519
+ reference to the object will only free the <span class="type">GdkColoramp</span>
1520
+ object and not call <code class="function">XFreeColormap()</code>
1521
+ </td>
1522
+ </tr>
1523
+ </tbody>
1524
+ </table></div>
1525
+ <p class="since">Since 2.2</p>
1526
+ </div>
1527
+ <hr>
1528
+ <div class="refsect2">
1529
+ <a name="gdk-x11-colormap-get-xcolormap"></a><h3>gdk_x11_colormap_get_xcolormap ()</h3>
1530
+ <pre class="programlisting"><span class="returnvalue">Colormap</span> gdk_x11_colormap_get_xcolormap (<em class="parameter"><code><a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>);</pre>
1531
+ <p>
1532
+ Returns the X colormap belonging to a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a>.
1533
+ </p>
1534
+ <div class="variablelist"><table border="0">
1535
+ <col align="left" valign="top">
1536
+ <tbody>
1537
+ <tr>
1538
+ <td><p><span class="term"><em class="parameter"><code>colormap</code></em> :</span></p></td>
1539
+ <td>a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a>.</td>
1540
+ </tr>
1541
+ <tr>
1542
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1543
+ <td>an Xlib <span class="type">Colormap</span>.</td>
1544
+ </tr>
1545
+ </tbody>
1546
+ </table></div>
1547
+ </div>
1548
+ <hr>
1549
+ <div class="refsect2">
1550
+ <a name="gdk-x11-colormap-get-xdisplay"></a><h3>gdk_x11_colormap_get_xdisplay ()</h3>
1551
+ <pre class="programlisting"><span class="returnvalue">Display</span> * gdk_x11_colormap_get_xdisplay (<em class="parameter"><code><a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>);</pre>
1552
+ <p>
1553
+ Returns the display of a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a>.
1554
+ </p>
1555
+ <div class="variablelist"><table border="0">
1556
+ <col align="left" valign="top">
1557
+ <tbody>
1558
+ <tr>
1559
+ <td><p><span class="term"><em class="parameter"><code>colormap</code></em> :</span></p></td>
1560
+ <td>a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a>.</td>
1561
+ </tr>
1562
+ <tr>
1563
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1564
+ <td>an Xlib <span class="type">Display*</span>.</td>
1565
+ </tr>
1566
+ </tbody>
1567
+ </table></div>
1568
+ </div>
1569
+ <hr>
1570
+ <div class="refsect2">
1571
+ <a name="gdk-x11-cursor-get-xcursor"></a><h3>gdk_x11_cursor_get_xcursor ()</h3>
1572
+ <pre class="programlisting"><span class="returnvalue">Cursor</span> gdk_x11_cursor_get_xcursor (<em class="parameter"><code><a class="link" href="gdk-Cursors.html#GdkCursor" title="GdkCursor"><span class="type">GdkCursor</span></a> *cursor</code></em>);</pre>
1573
+ <p>
1574
+ Returns the X cursor belonging to a <a class="link" href="gdk-Cursors.html#GdkCursor" title="GdkCursor"><span class="type">GdkCursor</span></a>.
1575
+ </p>
1576
+ <div class="variablelist"><table border="0">
1577
+ <col align="left" valign="top">
1578
+ <tbody>
1579
+ <tr>
1580
+ <td><p><span class="term"><em class="parameter"><code>cursor</code></em> :</span></p></td>
1581
+ <td>a <a class="link" href="gdk-Cursors.html#GdkCursor" title="GdkCursor"><span class="type">GdkCursor</span></a>.</td>
1582
+ </tr>
1583
+ <tr>
1584
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1585
+ <td>an Xlib <span class="type">Cursor</span>.</td>
1586
+ </tr>
1587
+ </tbody>
1588
+ </table></div>
1589
+ </div>
1590
+ <hr>
1591
+ <div class="refsect2">
1592
+ <a name="gdk-x11-cursor-get-xdisplay"></a><h3>gdk_x11_cursor_get_xdisplay ()</h3>
1593
+ <pre class="programlisting"><span class="returnvalue">Display</span> * gdk_x11_cursor_get_xdisplay (<em class="parameter"><code><a class="link" href="gdk-Cursors.html#GdkCursor" title="GdkCursor"><span class="type">GdkCursor</span></a> *cursor</code></em>);</pre>
1594
+ <p>
1595
+ Returns the display of a <a class="link" href="gdk-Cursors.html#GdkCursor" title="GdkCursor"><span class="type">GdkCursor</span></a>.
1596
+ </p>
1597
+ <div class="variablelist"><table border="0">
1598
+ <col align="left" valign="top">
1599
+ <tbody>
1600
+ <tr>
1601
+ <td><p><span class="term"><em class="parameter"><code>cursor</code></em> :</span></p></td>
1602
+ <td>a <a class="link" href="gdk-Cursors.html#GdkCursor" title="GdkCursor"><span class="type">GdkCursor</span></a>.</td>
1603
+ </tr>
1604
+ <tr>
1605
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1606
+ <td>an Xlib <span class="type">Display*</span>.</td>
1607
+ </tr>
1608
+ </tbody>
1609
+ </table></div>
1610
+ </div>
1611
+ <hr>
1612
+ <div class="refsect2">
1613
+ <a name="gdk-x11-display-broadcast-startup-message"></a><h3>gdk_x11_display_broadcast_startup_message ()</h3>
1614
+ <pre class="programlisting"><span class="returnvalue">void</span> gdk_x11_display_broadcast_startup_message
1615
+ (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
1616
+ <em class="parameter"><code>const <span class="type">char</span> *message_type</code></em>,
1617
+ <em class="parameter"><code>...</code></em>);</pre>
1618
+ <p>
1619
+ Sends a startup notification message of type <em class="parameter"><code>message_type</code></em> to
1620
+ <em class="parameter"><code>display</code></em>.
1621
+ </p>
1622
+ <p>
1623
+ This is a convenience function for use by code that implements the
1624
+ freedesktop startup notification specification. Applications should
1625
+ not normally need to call it directly. See the <a class="ulink" href="http://standards.freedesktop.org/startup-notification-spec/startup-notification-latest.txt" target="_top">Startup
1626
+ Notification Protocol specification</a> for
1627
+ definitions of the message types and keys that can be used.
1628
+ </p>
1629
+ <div class="variablelist"><table border="0">
1630
+ <col align="left" valign="top">
1631
+ <tbody>
1632
+ <tr>
1633
+ <td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
1634
+ <td>a <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a>
1635
+ </td>
1636
+ </tr>
1637
+ <tr>
1638
+ <td><p><span class="term"><em class="parameter"><code>message_type</code></em> :</span></p></td>
1639
+ <td>startup notification message type ("new", "change",
1640
+ or "remove")</td>
1641
+ </tr>
1642
+ <tr>
1643
+ <td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
1644
+ <td>a list of key/value pairs (as strings), terminated by a
1645
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> key. (A <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> value for a key will cause that key to be
1646
+ skipped in the output.)</td>
1647
+ </tr>
1648
+ </tbody>
1649
+ </table></div>
1650
+ <p class="since">Since 2.12</p>
1651
+ </div>
1652
+ <hr>
1653
+ <div class="refsect2">
1654
+ <a name="gdk-x11-display-get-startup-notification-id"></a><h3>gdk_x11_display_get_startup_notification_id ()</h3>
1655
+ <pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gdk_x11_display_get_startup_notification_id
1656
+ (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>);</pre>
1657
+ <p>
1658
+ Gets the startup notification ID for a display.
1659
+ </p>
1660
+ <div class="variablelist"><table border="0">
1661
+ <col align="left" valign="top">
1662
+ <tbody>
1663
+ <tr>
1664
+ <td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
1665
+ <td>a <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a>
1666
+ </td>
1667
+ </tr>
1668
+ <tr>
1669
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1670
+ <td>the startup notification ID for <em class="parameter"><code>display</code></em>
1671
+ </td>
1672
+ </tr>
1673
+ </tbody>
1674
+ </table></div>
1675
+ <p class="since">Since 2.12</p>
1676
+ </div>
1677
+ <hr>
1678
+ <div class="refsect2">
1679
+ <a name="gdk-x11-display-get-xdisplay"></a><h3>gdk_x11_display_get_xdisplay ()</h3>
1680
+ <pre class="programlisting"><span class="returnvalue">Display</span> * gdk_x11_display_get_xdisplay (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>);</pre>
1681
+ <p>
1682
+ Returns the X display of a <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a>.
1683
+ </p>
1684
+ <div class="variablelist"><table border="0">
1685
+ <col align="left" valign="top">
1686
+ <tbody>
1687
+ <tr>
1688
+ <td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
1689
+ <td>a <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a>
1690
+ </td>
1691
+ </tr>
1692
+ <tr>
1693
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1694
+ <td>an X display.</td>
1695
+ </tr>
1696
+ </tbody>
1697
+ </table></div>
1698
+ <p class="since">Since 2.2</p>
1699
+ </div>
1700
+ <hr>
1701
+ <div class="refsect2">
1702
+ <a name="gdk-x11-display-grab"></a><h3>gdk_x11_display_grab ()</h3>
1703
+ <pre class="programlisting"><span class="returnvalue">void</span> gdk_x11_display_grab (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>);</pre>
1704
+ <p>
1705
+ Call <code class="function">XGrabServer()</code> on <em class="parameter"><code>display</code></em>.
1706
+ To ungrab the display again, use <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-display-ungrab" title="gdk_x11_display_ungrab ()"><code class="function">gdk_x11_display_ungrab()</code></a>.
1707
+ </p>
1708
+ <p>
1709
+ <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-display-grab" title="gdk_x11_display_grab ()"><code class="function">gdk_x11_display_grab()</code></a>/<a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-display-ungrab" title="gdk_x11_display_ungrab ()"><code class="function">gdk_x11_display_ungrab()</code></a> calls can be nested.
1710
+ </p>
1711
+ <div class="variablelist"><table border="0">
1712
+ <col align="left" valign="top">
1713
+ <tbody><tr>
1714
+ <td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
1715
+ <td>a <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a>
1716
+ </td>
1717
+ </tr></tbody>
1718
+ </table></div>
1719
+ <p class="since">Since 2.2</p>
1720
+ </div>
1721
+ <hr>
1722
+ <div class="refsect2">
1723
+ <a name="gdk-x11-display-ungrab"></a><h3>gdk_x11_display_ungrab ()</h3>
1724
+ <pre class="programlisting"><span class="returnvalue">void</span> gdk_x11_display_ungrab (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>);</pre>
1725
+ <p>
1726
+ Ungrab <em class="parameter"><code>display</code></em> after it has been grabbed with
1727
+ <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-display-grab" title="gdk_x11_display_grab ()"><code class="function">gdk_x11_display_grab()</code></a>.
1728
+ </p>
1729
+ <div class="variablelist"><table border="0">
1730
+ <col align="left" valign="top">
1731
+ <tbody><tr>
1732
+ <td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
1733
+ <td>a <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a>
1734
+ </td>
1735
+ </tr></tbody>
1736
+ </table></div>
1737
+ <p class="since">Since 2.2</p>
1738
+ </div>
1739
+ <hr>
1740
+ <div class="refsect2">
1741
+ <a name="gdk-x11-display-set-cursor-theme"></a><h3>gdk_x11_display_set_cursor_theme ()</h3>
1742
+ <pre class="programlisting"><span class="returnvalue">void</span> gdk_x11_display_set_cursor_theme (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
1743
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *theme</code></em>,
1744
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> size</code></em>);</pre>
1745
+ <p>
1746
+ Sets the cursor theme from which the images for cursor
1747
+ should be taken.
1748
+ </p>
1749
+ <p>
1750
+ If the windowing system supports it, existing cursors created
1751
+ with <a class="link" href="gdk-Cursors.html#gdk-cursor-new" title="gdk_cursor_new ()"><code class="function">gdk_cursor_new()</code></a>, <a class="link" href="gdk-Cursors.html#gdk-cursor-new-for-display" title="gdk_cursor_new_for_display ()"><code class="function">gdk_cursor_new_for_display()</code></a> and
1752
+ <code class="function">gdk_cursor_new_for_name()</code> are updated to reflect the theme
1753
+ change. Custom cursors constructed with <a class="link" href="gdk-Cursors.html#gdk-cursor-new-from-pixmap" title="gdk_cursor_new_from_pixmap ()"><code class="function">gdk_cursor_new_from_pixmap()</code></a>
1754
+ or <a class="link" href="gdk-Cursors.html#gdk-cursor-new-from-pixbuf" title="gdk_cursor_new_from_pixbuf ()"><code class="function">gdk_cursor_new_from_pixbuf()</code></a> will have to be handled
1755
+ by the application (GTK+ applications can learn about
1756
+ cursor theme changes by listening for change notification
1757
+ for the corresponding <span class="type">GtkSetting</span>).
1758
+ </p>
1759
+ <div class="variablelist"><table border="0">
1760
+ <col align="left" valign="top">
1761
+ <tbody>
1762
+ <tr>
1763
+ <td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
1764
+ <td>a <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a>
1765
+ </td>
1766
+ </tr>
1767
+ <tr>
1768
+ <td><p><span class="term"><em class="parameter"><code>theme</code></em> :</span></p></td>
1769
+ <td>the name of the cursor theme to use, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset
1770
+ a previously set value</td>
1771
+ </tr>
1772
+ <tr>
1773
+ <td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
1774
+ <td>the cursor size to use, or 0 to keep the previous size</td>
1775
+ </tr>
1776
+ </tbody>
1777
+ </table></div>
1778
+ <p class="since">Since 2.8</p>
1779
+ </div>
1780
+ <hr>
1781
+ <div class="refsect2">
1782
+ <a name="gdk-x11-register-standard-event-type"></a><h3>gdk_x11_register_standard_event_type ()</h3>
1783
+ <pre class="programlisting"><span class="returnvalue">void</span> gdk_x11_register_standard_event_type
1784
+ (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
1785
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> event_base</code></em>,
1786
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_events</code></em>);</pre>
1787
+ <p>
1788
+ Registers interest in receiving extension events with type codes
1789
+ between <em class="parameter"><code>event_base</code></em> and <code class="literal">event_base + n_events - 1</code>.
1790
+ The registered events must have the window field in the same place
1791
+ as core X events (this is not the case for e.g. XKB extension events).
1792
+ </p>
1793
+ <p>
1794
+ If an event type is registered, events of this type will go through
1795
+ global and window-specific filters (see <a class="link" href="gdk-Windows.html#gdk-window-add-filter" title="gdk_window_add_filter ()"><code class="function">gdk_window_add_filter()</code></a>).
1796
+ Unregistered events will only go through global filters.
1797
+ GDK may register the events of some X extensions on its own.
1798
+ </p>
1799
+ <p>
1800
+ This function should only be needed in unusual circumstances, e.g.
1801
+ when filtering XInput extension events on the root window.
1802
+ </p>
1803
+ <div class="variablelist"><table border="0">
1804
+ <col align="left" valign="top">
1805
+ <tbody>
1806
+ <tr>
1807
+ <td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
1808
+ <td>a <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a>
1809
+ </td>
1810
+ </tr>
1811
+ <tr>
1812
+ <td><p><span class="term"><em class="parameter"><code>event_base</code></em> :</span></p></td>
1813
+ <td>first event type code to register</td>
1814
+ </tr>
1815
+ <tr>
1816
+ <td><p><span class="term"><em class="parameter"><code>n_events</code></em> :</span></p></td>
1817
+ <td>number of event type codes to register</td>
1818
+ </tr>
1819
+ </tbody>
1820
+ </table></div>
1821
+ <p class="since">Since 2.4</p>
1822
+ </div>
1823
+ <hr>
1824
+ <div class="refsect2">
1825
+ <a name="gdk-x11-drawable-get-xdisplay"></a><h3>gdk_x11_drawable_get_xdisplay ()</h3>
1826
+ <pre class="programlisting"><span class="returnvalue">Display</span> * gdk_x11_drawable_get_xdisplay (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>);</pre>
1827
+ <p>
1828
+ Returns the display of a <a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a>.
1829
+ </p>
1830
+ <div class="variablelist"><table border="0">
1831
+ <col align="left" valign="top">
1832
+ <tbody>
1833
+ <tr>
1834
+ <td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
1835
+ <td>a <a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a>.</td>
1836
+ </tr>
1837
+ <tr>
1838
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1839
+ <td>an Xlib <span class="type">Display*</span>.</td>
1840
+ </tr>
1841
+ </tbody>
1842
+ </table></div>
1843
+ </div>
1844
+ <hr>
1845
+ <div class="refsect2">
1846
+ <a name="gdk-x11-drawable-get-xid"></a><h3>gdk_x11_drawable_get_xid ()</h3>
1847
+ <pre class="programlisting"><span class="returnvalue">XID</span> gdk_x11_drawable_get_xid (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>);</pre>
1848
+ <p>
1849
+ Returns the X resource (window or pixmap) belonging to a <a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a>.
1850
+ </p>
1851
+ <div class="variablelist"><table border="0">
1852
+ <col align="left" valign="top">
1853
+ <tbody>
1854
+ <tr>
1855
+ <td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
1856
+ <td>a <a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a>.</td>
1857
+ </tr>
1858
+ <tr>
1859
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1860
+ <td>the ID of <em class="parameter"><code>drawable</code></em>'s X resource.</td>
1861
+ </tr>
1862
+ </tbody>
1863
+ </table></div>
1864
+ </div>
1865
+ <hr>
1866
+ <div class="refsect2">
1867
+ <a name="gdk-x11-font-get-name"></a><h3>gdk_x11_font_get_name ()</h3>
1868
+ <pre class="programlisting">const <span class="returnvalue">char</span> * gdk_x11_font_get_name (<em class="parameter"><code><a class="link" href="gdk-Fonts.html#GdkFont" title="GdkFont"><span class="type">GdkFont</span></a> *font</code></em>);</pre>
1869
+ <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1870
+ <h3 class="title">Warning</h3>
1871
+ <p><code class="literal">gdk_x11_font_get_name</code> is deprecated and should not be used in newly-written code.</p>
1872
+ </div>
1873
+ <p>
1874
+ Return the X Logical Font Description (for font-&gt;type == GDK_FONT_FONT)
1875
+ or comma separated list of XLFDs (for font-&gt;type == GDK_FONT_FONTSET)
1876
+ that was used to load the font. If the same font was loaded
1877
+ via multiple names, which name is returned is undefined.
1878
+ </p>
1879
+ <div class="variablelist"><table border="0">
1880
+ <col align="left" valign="top">
1881
+ <tbody>
1882
+ <tr>
1883
+ <td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
1884
+ <td>a <a class="link" href="gdk-Fonts.html#GdkFont" title="GdkFont"><span class="type">GdkFont</span></a>.</td>
1885
+ </tr>
1886
+ <tr>
1887
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1888
+ <td>the name of the font. This string is owned
1889
+ by GDK and must not be modified or freed.</td>
1890
+ </tr>
1891
+ </tbody>
1892
+ </table></div>
1893
+ </div>
1894
+ <hr>
1895
+ <div class="refsect2">
1896
+ <a name="gdk-x11-font-get-xdisplay"></a><h3>gdk_x11_font_get_xdisplay ()</h3>
1897
+ <pre class="programlisting"><span class="returnvalue">Display</span> * gdk_x11_font_get_xdisplay (<em class="parameter"><code><a class="link" href="gdk-Fonts.html#GdkFont" title="GdkFont"><span class="type">GdkFont</span></a> *font</code></em>);</pre>
1898
+ <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1899
+ <h3 class="title">Warning</h3>
1900
+ <p><code class="literal">gdk_x11_font_get_xdisplay</code> is deprecated and should not be used in newly-written code.</p>
1901
+ </div>
1902
+ <p>
1903
+ Returns the display of a <a class="link" href="gdk-Fonts.html#GdkFont" title="GdkFont"><span class="type">GdkFont</span></a>.
1904
+ </p>
1905
+ <div class="variablelist"><table border="0">
1906
+ <col align="left" valign="top">
1907
+ <tbody>
1908
+ <tr>
1909
+ <td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
1910
+ <td>a <a class="link" href="gdk-Fonts.html#GdkFont" title="GdkFont"><span class="type">GdkFont</span></a>.</td>
1911
+ </tr>
1912
+ <tr>
1913
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1914
+ <td>an Xlib <span class="type">Display*</span>.</td>
1915
+ </tr>
1916
+ </tbody>
1917
+ </table></div>
1918
+ </div>
1919
+ <hr>
1920
+ <div class="refsect2">
1921
+ <a name="gdk-x11-font-get-xfont"></a><h3>gdk_x11_font_get_xfont ()</h3>
1922
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> gdk_x11_font_get_xfont (<em class="parameter"><code><a class="link" href="gdk-Fonts.html#GdkFont" title="GdkFont"><span class="type">GdkFont</span></a> *font</code></em>);</pre>
1923
+ <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1924
+ <h3 class="title">Warning</h3>
1925
+ <p><code class="literal">gdk_x11_font_get_xfont</code> is deprecated and should not be used in newly-written code.</p>
1926
+ </div>
1927
+ <p>
1928
+ Returns the X font belonging to a <a class="link" href="gdk-Fonts.html#GdkFont" title="GdkFont"><span class="type">GdkFont</span></a>.
1929
+ </p>
1930
+ <div class="variablelist"><table border="0">
1931
+ <col align="left" valign="top">
1932
+ <tbody>
1933
+ <tr>
1934
+ <td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
1935
+ <td>a <a class="link" href="gdk-Fonts.html#GdkFont" title="GdkFont"><span class="type">GdkFont</span></a>.</td>
1936
+ </tr>
1937
+ <tr>
1938
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1939
+ <td>an Xlib <span class="type">XFontStruct*</span> or an <span class="type">XFontSet</span>.</td>
1940
+ </tr>
1941
+ </tbody>
1942
+ </table></div>
1943
+ </div>
1944
+ <hr>
1945
+ <div class="refsect2">
1946
+ <a name="gdk-x11-gc-get-xdisplay"></a><h3>gdk_x11_gc_get_xdisplay ()</h3>
1947
+ <pre class="programlisting"><span class="returnvalue">Display</span> * gdk_x11_gc_get_xdisplay (<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>);</pre>
1948
+ <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1949
+ <h3 class="title">Warning</h3>
1950
+ <p><code class="literal">gdk_x11_gc_get_xdisplay</code> has been deprecated since version 2.22 and should not be used in newly-written code. <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> has been replaced by <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a>.</p>
1951
+ </div>
1952
+ <p>
1953
+ Returns the display of a <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a>.
1954
+ </p>
1955
+ <div class="variablelist"><table border="0">
1956
+ <col align="left" valign="top">
1957
+ <tbody>
1958
+ <tr>
1959
+ <td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
1960
+ <td>a <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a>.</td>
1961
+ </tr>
1962
+ <tr>
1963
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1964
+ <td>an Xlib <span class="type">Display*</span>.</td>
1965
+ </tr>
1966
+ </tbody>
1967
+ </table></div>
1968
+ </div>
1969
+ <hr>
1970
+ <div class="refsect2">
1971
+ <a name="gdk-x11-gc-get-xgc"></a><h3>gdk_x11_gc_get_xgc ()</h3>
1972
+ <pre class="programlisting"><span class="returnvalue">GC</span> gdk_x11_gc_get_xgc (<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>);</pre>
1973
+ <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1974
+ <h3 class="title">Warning</h3>
1975
+ <p><code class="literal">gdk_x11_gc_get_xgc</code> has been deprecated since version 2.22 and should not be used in newly-written code. <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> has been replaced by <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a>.</p>
1976
+ </div>
1977
+ <p>
1978
+ Returns the X GC of a <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a>.
1979
+ </p>
1980
+ <div class="variablelist"><table border="0">
1981
+ <col align="left" valign="top">
1982
+ <tbody>
1983
+ <tr>
1984
+ <td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
1985
+ <td>a <a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a>.</td>
1986
+ </tr>
1987
+ <tr>
1988
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1989
+ <td>an Xlib <span class="type">GC</span>.</td>
1990
+ </tr>
1991
+ </tbody>
1992
+ </table></div>
1993
+ </div>
1994
+ <hr>
1995
+ <div class="refsect2">
1996
+ <a name="gdk-x11-get-default-root-xwindow"></a><h3>gdk_x11_get_default_root_xwindow ()</h3>
1997
+ <pre class="programlisting"><span class="returnvalue">Window</span> gdk_x11_get_default_root_xwindow (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
1998
+ <p>
1999
+ Gets the root window of the default screen
2000
+ (see <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-get-default-screen" title="gdk_x11_get_default_screen ()"><code class="function">gdk_x11_get_default_screen()</code></a>).
2001
+ </p>
2002
+ <div class="variablelist"><table border="0">
2003
+ <col align="left" valign="top">
2004
+ <tbody><tr>
2005
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2006
+ <td>an Xlib <span class="type">Window</span>.</td>
2007
+ </tr></tbody>
2008
+ </table></div>
2009
+ </div>
2010
+ <hr>
2011
+ <div class="refsect2">
2012
+ <a name="gdk-x11-get-default-screen"></a><h3>gdk_x11_get_default_screen ()</h3>
2013
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gdk_x11_get_default_screen (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
2014
+ <p>
2015
+ Gets the default GTK+ screen number.
2016
+ </p>
2017
+ <div class="variablelist"><table border="0">
2018
+ <col align="left" valign="top">
2019
+ <tbody><tr>
2020
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2021
+ <td>returns the screen number specified by
2022
+ the --display command line option or the DISPLAY environment
2023
+ variable when <a class="link" href="gdk-General.html#gdk-init" title="gdk_init ()"><code class="function">gdk_init()</code></a> calls <code class="function">XOpenDisplay()</code>.</td>
2024
+ </tr></tbody>
2025
+ </table></div>
2026
+ </div>
2027
+ <hr>
2028
+ <div class="refsect2">
2029
+ <a name="gdk-x11-get-default-xdisplay"></a><h3>gdk_x11_get_default_xdisplay ()</h3>
2030
+ <pre class="programlisting"><span class="returnvalue">Display</span> * gdk_x11_get_default_xdisplay (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
2031
+ <p>
2032
+ Gets the default GTK+ display.
2033
+ </p>
2034
+ <div class="variablelist"><table border="0">
2035
+ <col align="left" valign="top">
2036
+ <tbody><tr>
2037
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2038
+ <td>the Xlib <span class="type">Display*</span> for the display
2039
+ specified in the <code class="option">--display</code> command line option
2040
+ or the <code class="envar">DISPLAY</code> environment variable.</td>
2041
+ </tr></tbody>
2042
+ </table></div>
2043
+ </div>
2044
+ <hr>
2045
+ <div class="refsect2">
2046
+ <a name="gdk-x11-grab-server"></a><h3>gdk_x11_grab_server ()</h3>
2047
+ <pre class="programlisting"><span class="returnvalue">void</span> gdk_x11_grab_server (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
2048
+ <p>
2049
+ Call <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-display-grab" title="gdk_x11_display_grab ()"><code class="function">gdk_x11_display_grab()</code></a> on the default display.
2050
+ To ungrab the server again, use <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-ungrab-server" title="gdk_x11_ungrab_server ()"><code class="function">gdk_x11_ungrab_server()</code></a>.
2051
+ </p>
2052
+ <p>
2053
+ <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-grab-server" title="gdk_x11_grab_server ()"><code class="function">gdk_x11_grab_server()</code></a>/<a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-ungrab-server" title="gdk_x11_ungrab_server ()"><code class="function">gdk_x11_ungrab_server()</code></a> calls can be nested.
2054
+ </p>
2055
+ </div>
2056
+ <hr>
2057
+ <div class="refsect2">
2058
+ <a name="gdk-x11-image-get-xdisplay"></a><h3>gdk_x11_image_get_xdisplay ()</h3>
2059
+ <pre class="programlisting"><span class="returnvalue">Display</span> * gdk_x11_image_get_xdisplay (<em class="parameter"><code><a class="link" href="gdk-Images.html#GdkImage" title="GdkImage"><span class="type">GdkImage</span></a> *image</code></em>);</pre>
2060
+ <p>
2061
+ Returns the display of a <a class="link" href="gdk-Images.html#GdkImage" title="GdkImage"><span class="type">GdkImage</span></a>.
2062
+ </p>
2063
+ <div class="variablelist"><table border="0">
2064
+ <col align="left" valign="top">
2065
+ <tbody>
2066
+ <tr>
2067
+ <td><p><span class="term"><em class="parameter"><code>image</code></em> :</span></p></td>
2068
+ <td>a <a class="link" href="gdk-Images.html#GdkImage" title="GdkImage"><span class="type">GdkImage</span></a>.</td>
2069
+ </tr>
2070
+ <tr>
2071
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2072
+ <td>an Xlib <span class="type">Display*</span>.</td>
2073
+ </tr>
2074
+ </tbody>
2075
+ </table></div>
2076
+ </div>
2077
+ <hr>
2078
+ <div class="refsect2">
2079
+ <a name="gdk-x11-image-get-ximage"></a><h3>gdk_x11_image_get_ximage ()</h3>
2080
+ <pre class="programlisting"><span class="returnvalue">XImage</span> * gdk_x11_image_get_ximage (<em class="parameter"><code><a class="link" href="gdk-Images.html#GdkImage" title="GdkImage"><span class="type">GdkImage</span></a> *image</code></em>);</pre>
2081
+ <p>
2082
+ Returns the X image belonging to a <a class="link" href="gdk-Images.html#GdkImage" title="GdkImage"><span class="type">GdkImage</span></a>.
2083
+ </p>
2084
+ <div class="variablelist"><table border="0">
2085
+ <col align="left" valign="top">
2086
+ <tbody>
2087
+ <tr>
2088
+ <td><p><span class="term"><em class="parameter"><code>image</code></em> :</span></p></td>
2089
+ <td>a <a class="link" href="gdk-Images.html#GdkImage" title="GdkImage"><span class="type">GdkImage</span></a>.</td>
2090
+ </tr>
2091
+ <tr>
2092
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2093
+ <td>an <span class="type">XImage*</span>.</td>
2094
+ </tr>
2095
+ </tbody>
2096
+ </table></div>
2097
+ </div>
2098
+ <hr>
2099
+ <div class="refsect2">
2100
+ <a name="gdk-x11-screen-get-screen-number"></a><h3>gdk_x11_screen_get_screen_number ()</h3>
2101
+ <pre class="programlisting"><span class="returnvalue">int</span> gdk_x11_screen_get_screen_number (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
2102
+ <p>
2103
+ Returns the index of a <a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a>.
2104
+ </p>
2105
+ <div class="variablelist"><table border="0">
2106
+ <col align="left" valign="top">
2107
+ <tbody>
2108
+ <tr>
2109
+ <td><p><span class="term"><em class="parameter"><code>screen</code></em> :</span></p></td>
2110
+ <td>a <a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a>.</td>
2111
+ </tr>
2112
+ <tr>
2113
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2114
+ <td>the position of <em class="parameter"><code>screen</code></em> among the screens of
2115
+ its display.</td>
2116
+ </tr>
2117
+ </tbody>
2118
+ </table></div>
2119
+ <p class="since">Since 2.2</p>
2120
+ </div>
2121
+ <hr>
2122
+ <div class="refsect2">
2123
+ <a name="gdk-x11-screen-get-xscreen"></a><h3>gdk_x11_screen_get_xscreen ()</h3>
2124
+ <pre class="programlisting"><span class="returnvalue">Screen</span> * gdk_x11_screen_get_xscreen (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
2125
+ <p>
2126
+ Returns the screen of a <a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a>.
2127
+ </p>
2128
+ <div class="variablelist"><table border="0">
2129
+ <col align="left" valign="top">
2130
+ <tbody>
2131
+ <tr>
2132
+ <td><p><span class="term"><em class="parameter"><code>screen</code></em> :</span></p></td>
2133
+ <td>a <a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a>.</td>
2134
+ </tr>
2135
+ <tr>
2136
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2137
+ <td>an Xlib <span class="type">Screen*</span>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
2138
+ </td>
2139
+ </tr>
2140
+ </tbody>
2141
+ </table></div>
2142
+ <p class="since">Since 2.2</p>
2143
+ </div>
2144
+ <hr>
2145
+ <div class="refsect2">
2146
+ <a name="gdk-x11-ungrab-server"></a><h3>gdk_x11_ungrab_server ()</h3>
2147
+ <pre class="programlisting"><span class="returnvalue">void</span> gdk_x11_ungrab_server (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
2148
+ <p>
2149
+ Ungrab the default display after it has been grabbed with
2150
+ <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-grab-server" title="gdk_x11_grab_server ()"><code class="function">gdk_x11_grab_server()</code></a>.
2151
+ </p>
2152
+ </div>
2153
+ <hr>
2154
+ <div class="refsect2">
2155
+ <a name="gdk-x11-visual-get-xvisual"></a><h3>gdk_x11_visual_get_xvisual ()</h3>
2156
+ <pre class="programlisting"><span class="returnvalue">Visual</span> * gdk_x11_visual_get_xvisual (<em class="parameter"><code><a class="link" href="gdk-Visuals.html#GdkVisual" title="GdkVisual"><span class="type">GdkVisual</span></a> *visual</code></em>);</pre>
2157
+ <p>
2158
+ Returns the X visual belonging to a <a class="link" href="gdk-Visuals.html#GdkVisual" title="GdkVisual"><span class="type">GdkVisual</span></a>.
2159
+ </p>
2160
+ <div class="variablelist"><table border="0">
2161
+ <col align="left" valign="top">
2162
+ <tbody>
2163
+ <tr>
2164
+ <td><p><span class="term"><em class="parameter"><code>visual</code></em> :</span></p></td>
2165
+ <td>a <a class="link" href="gdk-Visuals.html#GdkVisual" title="GdkVisual"><span class="type">GdkVisual</span></a>.</td>
2166
+ </tr>
2167
+ <tr>
2168
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2169
+ <td>an Xlib <span class="type">Visual*</span>.</td>
2170
+ </tr>
2171
+ </tbody>
2172
+ </table></div>
2173
+ </div>
2174
+ <hr>
2175
+ <div class="refsect2">
2176
+ <a name="gdk-x11-atom-to-xatom"></a><h3>gdk_x11_atom_to_xatom ()</h3>
2177
+ <pre class="programlisting"><span class="returnvalue">Atom</span> gdk_x11_atom_to_xatom (<em class="parameter"><code><a class="link" href="gdk-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> atom</code></em>);</pre>
2178
+ <p>
2179
+ Converts from a <a class="link" href="gdk-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> to the X atom for the default GDK display
2180
+ with the same string value.
2181
+ </p>
2182
+ <div class="variablelist"><table border="0">
2183
+ <col align="left" valign="top">
2184
+ <tbody>
2185
+ <tr>
2186
+ <td><p><span class="term"><em class="parameter"><code>atom</code></em> :</span></p></td>
2187
+ <td>A <a class="link" href="gdk-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a>
2188
+ </td>
2189
+ </tr>
2190
+ <tr>
2191
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2192
+ <td>the X atom corresponding to <em class="parameter"><code>atom</code></em>.</td>
2193
+ </tr>
2194
+ </tbody>
2195
+ </table></div>
2196
+ </div>
2197
+ <hr>
2198
+ <div class="refsect2">
2199
+ <a name="gdk-x11-atom-to-xatom-for-display"></a><h3>gdk_x11_atom_to_xatom_for_display ()</h3>
2200
+ <pre class="programlisting"><span class="returnvalue">Atom</span> gdk_x11_atom_to_xatom_for_display (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
2201
+ <em class="parameter"><code><a class="link" href="gdk-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> atom</code></em>);</pre>
2202
+ <p>
2203
+ Converts from a <a class="link" href="gdk-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> to the X atom for a <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a>
2204
+ with the same string value. The special value <a class="link" href="gdk-Properties-and-Atoms.html#GDK-NONE:CAPS" title="GDK_NONE"><code class="literal">GDK_NONE</code></a>
2205
+ is converted to <code class="literal">None</code>.
2206
+ </p>
2207
+ <div class="variablelist"><table border="0">
2208
+ <col align="left" valign="top">
2209
+ <tbody>
2210
+ <tr>
2211
+ <td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
2212
+ <td>A <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a>
2213
+ </td>
2214
+ </tr>
2215
+ <tr>
2216
+ <td><p><span class="term"><em class="parameter"><code>atom</code></em> :</span></p></td>
2217
+ <td>A <a class="link" href="gdk-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a>, or <a class="link" href="gdk-Properties-and-Atoms.html#GDK-NONE:CAPS" title="GDK_NONE"><code class="literal">GDK_NONE</code></a>
2218
+ </td>
2219
+ </tr>
2220
+ <tr>
2221
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2222
+ <td>the X atom corresponding to <em class="parameter"><code>atom</code></em>, or <code class="literal">None</code>
2223
+ </td>
2224
+ </tr>
2225
+ </tbody>
2226
+ </table></div>
2227
+ <p class="since">Since 2.2</p>
2228
+ </div>
2229
+ <hr>
2230
+ <div class="refsect2">
2231
+ <a name="gdk-x11-xatom-to-atom"></a><h3>gdk_x11_xatom_to_atom ()</h3>
2232
+ <pre class="programlisting"><a class="link" href="gdk-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="returnvalue">GdkAtom</span></a> gdk_x11_xatom_to_atom (<em class="parameter"><code><span class="type">Atom</span> xatom</code></em>);</pre>
2233
+ <p>
2234
+ Convert from an X atom for the default display to the corresponding
2235
+ <a class="link" href="gdk-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a>.
2236
+ </p>
2237
+ <div class="variablelist"><table border="0">
2238
+ <col align="left" valign="top">
2239
+ <tbody>
2240
+ <tr>
2241
+ <td><p><span class="term"><em class="parameter"><code>xatom</code></em> :</span></p></td>
2242
+ <td>an X atom for the default GDK display</td>
2243
+ </tr>
2244
+ <tr>
2245
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2246
+ <td>the corresponding G<span class="type">dkAtom</span>.</td>
2247
+ </tr>
2248
+ </tbody>
2249
+ </table></div>
2250
+ </div>
2251
+ <hr>
2252
+ <div class="refsect2">
2253
+ <a name="gdk-x11-xatom-to-atom-for-display"></a><h3>gdk_x11_xatom_to_atom_for_display ()</h3>
2254
+ <pre class="programlisting"><a class="link" href="gdk-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="returnvalue">GdkAtom</span></a> gdk_x11_xatom_to_atom_for_display (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
2255
+ <em class="parameter"><code><span class="type">Atom</span> xatom</code></em>);</pre>
2256
+ <p>
2257
+ Convert from an X atom for a <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> to the corresponding
2258
+ <a class="link" href="gdk-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a>.
2259
+ </p>
2260
+ <div class="variablelist"><table border="0">
2261
+ <col align="left" valign="top">
2262
+ <tbody>
2263
+ <tr>
2264
+ <td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
2265
+ <td>A <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a>
2266
+ </td>
2267
+ </tr>
2268
+ <tr>
2269
+ <td><p><span class="term"><em class="parameter"><code>xatom</code></em> :</span></p></td>
2270
+ <td>an X atom</td>
2271
+ </tr>
2272
+ <tr>
2273
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2274
+ <td>the corresponding <a class="link" href="gdk-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a>.</td>
2275
+ </tr>
2276
+ </tbody>
2277
+ </table></div>
2278
+ <p class="since">Since 2.2</p>
2279
+ </div>
2280
+ <hr>
2281
+ <div class="refsect2">
2282
+ <a name="gdk-x11-get-xatom-by-name"></a><h3>gdk_x11_get_xatom_by_name ()</h3>
2283
+ <pre class="programlisting"><span class="returnvalue">Atom</span> gdk_x11_get_xatom_by_name (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *atom_name</code></em>);</pre>
2284
+ <p>
2285
+ Returns the X atom for GDK's default display corresponding to <em class="parameter"><code>atom_name</code></em>.
2286
+ This function caches the result, so if called repeatedly it is much
2287
+ faster than <code class="function">XInternAtom()</code>, which is a round trip to the server each time.
2288
+ </p>
2289
+ <div class="variablelist"><table border="0">
2290
+ <col align="left" valign="top">
2291
+ <tbody>
2292
+ <tr>
2293
+ <td><p><span class="term"><em class="parameter"><code>atom_name</code></em> :</span></p></td>
2294
+ <td>a string</td>
2295
+ </tr>
2296
+ <tr>
2297
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2298
+ <td>a X atom for GDK's default display.</td>
2299
+ </tr>
2300
+ </tbody>
2301
+ </table></div>
2302
+ </div>
2303
+ <hr>
2304
+ <div class="refsect2">
2305
+ <a name="gdk-x11-get-xatom-by-name-for-display"></a><h3>gdk_x11_get_xatom_by_name_for_display ()</h3>
2306
+ <pre class="programlisting"><span class="returnvalue">Atom</span> gdk_x11_get_xatom_by_name_for_display
2307
+ (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
2308
+ <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *atom_name</code></em>);</pre>
2309
+ <p>
2310
+ Returns the X atom for a <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> corresponding to <em class="parameter"><code>atom_name</code></em>.
2311
+ This function caches the result, so if called repeatedly it is much
2312
+ faster than <code class="function">XInternAtom()</code>, which is a round trip to the server each time.
2313
+ </p>
2314
+ <div class="variablelist"><table border="0">
2315
+ <col align="left" valign="top">
2316
+ <tbody>
2317
+ <tr>
2318
+ <td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
2319
+ <td>a <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a>
2320
+ </td>
2321
+ </tr>
2322
+ <tr>
2323
+ <td><p><span class="term"><em class="parameter"><code>atom_name</code></em> :</span></p></td>
2324
+ <td>a string</td>
2325
+ </tr>
2326
+ <tr>
2327
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2328
+ <td>a X atom for a <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a>
2329
+ </td>
2330
+ </tr>
2331
+ </tbody>
2332
+ </table></div>
2333
+ <p class="since">Since 2.2</p>
2334
+ </div>
2335
+ <hr>
2336
+ <div class="refsect2">
2337
+ <a name="gdk-x11-get-xatom-name"></a><h3>gdk_x11_get_xatom_name ()</h3>
2338
+ <pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gdk_x11_get_xatom_name (<em class="parameter"><code><span class="type">Atom</span> xatom</code></em>);</pre>
2339
+ <p>
2340
+ Returns the name of an X atom for GDK's default display. This
2341
+ function is meant mainly for debugging, so for convenience, unlike
2342
+ <code class="function"><code class="function">XAtomName()</code></code> and <a class="link" href="gdk-Properties-and-Atoms.html#gdk-atom-name" title="gdk_atom_name ()"><code class="function">gdk_atom_name()</code></a>, the result
2343
+ doesn't need to be freed. Also, this function will never return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>,
2344
+ even if <em class="parameter"><code>xatom</code></em> is invalid.
2345
+ </p>
2346
+ <div class="variablelist"><table border="0">
2347
+ <col align="left" valign="top">
2348
+ <tbody>
2349
+ <tr>
2350
+ <td><p><span class="term"><em class="parameter"><code>xatom</code></em> :</span></p></td>
2351
+ <td>an X atom for GDK's default display</td>
2352
+ </tr>
2353
+ <tr>
2354
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2355
+ <td>name of the X atom; this string is owned by GTK+,
2356
+ so it shouldn't be modifed or freed.</td>
2357
+ </tr>
2358
+ </tbody>
2359
+ </table></div>
2360
+ </div>
2361
+ <hr>
2362
+ <div class="refsect2">
2363
+ <a name="gdk-x11-get-xatom-name-for-display"></a><h3>gdk_x11_get_xatom_name_for_display ()</h3>
2364
+ <pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gdk_x11_get_xatom_name_for_display (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
2365
+ <em class="parameter"><code><span class="type">Atom</span> xatom</code></em>);</pre>
2366
+ <p>
2367
+ Returns the name of an X atom for its display. This
2368
+ function is meant mainly for debugging, so for convenience, unlike
2369
+ <code class="function">XAtomName()</code> and <a class="link" href="gdk-Properties-and-Atoms.html#gdk-atom-name" title="gdk_atom_name ()"><code class="function">gdk_atom_name()</code></a>, the result doesn't need to
2370
+ be freed.
2371
+ </p>
2372
+ <div class="variablelist"><table border="0">
2373
+ <col align="left" valign="top">
2374
+ <tbody>
2375
+ <tr>
2376
+ <td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
2377
+ <td>the <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> where <em class="parameter"><code>xatom</code></em> is defined</td>
2378
+ </tr>
2379
+ <tr>
2380
+ <td><p><span class="term"><em class="parameter"><code>xatom</code></em> :</span></p></td>
2381
+ <td>an X atom</td>
2382
+ </tr>
2383
+ <tr>
2384
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2385
+ <td>name of the X atom; this string is owned by GDK,
2386
+ so it shouldn't be modifed or freed.</td>
2387
+ </tr>
2388
+ </tbody>
2389
+ </table></div>
2390
+ <p class="since">Since 2.2</p>
2391
+ </div>
2392
+ <hr>
2393
+ <div class="refsect2">
2394
+ <a name="gdk-x11-set-sm-client-id"></a><h3>gdk_x11_set_sm_client_id ()</h3>
2395
+ <pre class="programlisting"><span class="returnvalue">void</span> gdk_x11_set_sm_client_id (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *sm_client_id</code></em>);</pre>
2396
+ <p>
2397
+ Sets the <code class="literal">SM_CLIENT_ID</code> property on the application's leader window so that
2398
+ the window manager can save the application's state using the X11R6 ICCCM
2399
+ session management protocol.
2400
+ </p>
2401
+ <p>
2402
+ See the X Session Management Library documentation for more information on
2403
+ session management and the Inter-Client Communication Conventions Manual
2404
+ </p>
2405
+ <div class="variablelist"><table border="0">
2406
+ <col align="left" valign="top">
2407
+ <tbody><tr>
2408
+ <td><p><span class="term"><em class="parameter"><code>sm_client_id</code></em> :</span></p></td>
2409
+ <td>the client id assigned by the session manager when the
2410
+ connection was opened, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to remove the property.</td>
2411
+ </tr></tbody>
2412
+ </table></div>
2413
+ <p class="since">Since 2.24</p>
2414
+ </div>
2415
+ <hr>
2416
+ <div class="refsect2">
2417
+ <a name="gdk-x11-window-foreign-new-for-display"></a><h3>gdk_x11_window_foreign_new_for_display ()</h3>
2418
+ <pre class="programlisting"><a class="link" href="gdk-Windows.html#GdkWindow"><span class="returnvalue">GdkWindow</span></a> * gdk_x11_window_foreign_new_for_display
2419
+ (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
2420
+ <em class="parameter"><code><span class="type">Window</span> window</code></em>);</pre>
2421
+ <p>
2422
+ Wraps a native window in a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a>.
2423
+ </p>
2424
+ <p>
2425
+ This may fail if the window has been destroyed. If the window
2426
+ was already known to GDK, a new reference to the existing
2427
+ <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> is returned.
2428
+ </p>
2429
+ <div class="variablelist"><table border="0">
2430
+ <col align="left" valign="top">
2431
+ <tbody>
2432
+ <tr>
2433
+ <td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
2434
+ <td>the <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> where the window handle comes from.</td>
2435
+ </tr>
2436
+ <tr>
2437
+ <td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
2438
+ <td>an XLib <span class="type">Window</span>
2439
+ </td>
2440
+ </tr>
2441
+ <tr>
2442
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2443
+ <td>a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> wrapper for the native window or
2444
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the window has been destroyed. The wrapper will be
2445
+ newly created, if one doesn't exist already.</td>
2446
+ </tr>
2447
+ </tbody>
2448
+ </table></div>
2449
+ <p class="since">Since 2.24</p>
2450
+ </div>
2451
+ <hr>
2452
+ <div class="refsect2">
2453
+ <a name="gdk-x11-window-lookup-for-display"></a><h3>gdk_x11_window_lookup_for_display ()</h3>
2454
+ <pre class="programlisting"><a class="link" href="gdk-Windows.html#GdkWindow"><span class="returnvalue">GdkWindow</span></a> * gdk_x11_window_lookup_for_display (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
2455
+ <em class="parameter"><code><span class="type">Window</span> window</code></em>);</pre>
2456
+ <p>
2457
+ Looks up the <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> that wraps the given native window handle.
2458
+ </p>
2459
+ <div class="variablelist"><table border="0">
2460
+ <col align="left" valign="top">
2461
+ <tbody>
2462
+ <tr>
2463
+ <td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
2464
+ <td>the <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> corresponding to the window handle</td>
2465
+ </tr>
2466
+ <tr>
2467
+ <td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
2468
+ <td>an XLib <span class="type">Window</span>
2469
+ </td>
2470
+ </tr>
2471
+ <tr>
2472
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2473
+ <td>the <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> wrapper for the native window,
2474
+ or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there is none.</td>
2475
+ </tr>
2476
+ </tbody>
2477
+ </table></div>
2478
+ <p class="since">Since 2.24</p>
2479
+ </div>
2480
+ </div>
2481
+ </div>
2482
+ <div class="footer">
2483
+ <hr>
2484
+ Generated by GTK-Doc V1.18</div>
2485
+ </body>
2486
+ </html>