gtksourceview3 2.2.4-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (334) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +59 -0
  3. data/ext/gtksourceview3/depend +6 -0
  4. data/ext/gtksourceview3/extconf.rb +67 -0
  5. data/ext/gtksourceview3/gtksourceview3.def +2 -0
  6. data/ext/gtksourceview3/rbgtksource.c +53 -0
  7. data/ext/gtksourceview3/rbgtksourcebuffer.c +318 -0
  8. data/ext/gtksourceview3/rbgtksourcegutter.c +82 -0
  9. data/ext/gtksourceview3/rbgtksourcegutterrenderer.c +143 -0
  10. data/ext/gtksourceview3/rbgtksourcegutterrendererpixbuf.c +42 -0
  11. data/ext/gtksourceview3/rbgtksourcegutterrenderertext.c +40 -0
  12. data/ext/gtksourceview3/rbgtksourcelanguage.c +124 -0
  13. data/ext/gtksourceview3/rbgtksourcelanguagemanager.c +114 -0
  14. data/ext/gtksourceview3/rbgtksourcemark.c +85 -0
  15. data/ext/gtksourceview3/rbgtksourcemarkattributes.c +77 -0
  16. data/ext/gtksourceview3/rbgtksourceprintcompositor.c +171 -0
  17. data/ext/gtksourceview3/rbgtksourcestyle.c +42 -0
  18. data/ext/gtksourceview3/rbgtksourcestylescheme.c +72 -0
  19. data/ext/gtksourceview3/rbgtksourcestyleschememanager.c +140 -0
  20. data/ext/gtksourceview3/rbgtksourceundomanager.c +83 -0
  21. data/ext/gtksourceview3/rbgtksourceview.c +94 -0
  22. data/ext/gtksourceview3/rbgtksourceview3conversions.h +50 -0
  23. data/ext/gtksourceview3/rbgtksourceview3private.h +53 -0
  24. data/extconf.rb +49 -0
  25. data/lib/2.0/gtksourceview3.so +0 -0
  26. data/lib/2.1/gtksourceview3.so +0 -0
  27. data/lib/2.2/gtksourceview3.so +0 -0
  28. data/lib/gtksourceview3.rb +20 -0
  29. data/lib/gtksourceview3/deprecated.rb +47 -0
  30. data/sample/sourcelanguagemanager.rb +21 -0
  31. data/sample/test.rb +32 -0
  32. data/test/run-test.rb +44 -0
  33. data/test/test_mark_attributes.rb +26 -0
  34. data/test/test_source_gutter_renderer.rb +33 -0
  35. data/test/test_source_language_manager.rb +46 -0
  36. data/test/test_source_view.rb +57 -0
  37. data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
  38. data/vendor/local/include/gtksourceview-3.0/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +65 -0
  39. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +54 -0
  40. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +213 -0
  41. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletion.h +142 -0
  42. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioncontext.h +95 -0
  43. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioninfo.h +78 -0
  44. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionitem.h +70 -0
  45. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionproposal.h +97 -0
  46. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionprovider.h +137 -0
  47. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceencoding.h +54 -0
  48. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefile.h +115 -0
  49. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefileloader.h +122 -0
  50. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefilesaver.h +147 -0
  51. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutter.h +90 -0
  52. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderer.h +229 -0
  53. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrendererpixbuf.h +87 -0
  54. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderertext.h +83 -0
  55. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguage.h +85 -0
  56. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguagemanager.h +84 -0
  57. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemark.h +71 -0
  58. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemarkattributes.h +100 -0
  59. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceprintcompositor.h +175 -0
  60. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchcontext.h +133 -0
  61. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchsettings.h +85 -0
  62. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyle.h +45 -0
  63. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestylescheme.h +109 -0
  64. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschememanager.h +86 -0
  65. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +101 -0
  66. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceundomanager.h +75 -0
  67. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceutils.h +34 -0
  68. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-typebuiltins.h +88 -0
  69. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview.h +213 -0
  70. data/vendor/local/lib/girepository-1.0/GtkSource-3.0.typelib +0 -0
  71. data/vendor/local/lib/libgtksourceview-3.0.dll.a +0 -0
  72. data/vendor/local/lib/libgtksourceview-3.0.la +41 -0
  73. data/vendor/local/lib/locale/ar/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  74. data/vendor/local/lib/locale/as/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  75. data/vendor/local/lib/locale/ast/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  76. data/vendor/local/lib/locale/az/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  77. data/vendor/local/lib/locale/be/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  78. data/vendor/local/lib/locale/bg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  79. data/vendor/local/lib/locale/bn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  80. data/vendor/local/lib/locale/bn_IN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  81. data/vendor/local/lib/locale/bs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  82. data/vendor/local/lib/locale/ca/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  83. data/vendor/local/lib/locale/ca@valencia/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  84. data/vendor/local/lib/locale/cs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  85. data/vendor/local/lib/locale/cy/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  86. data/vendor/local/lib/locale/da/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  87. data/vendor/local/lib/locale/de/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  88. data/vendor/local/lib/locale/dz/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  89. data/vendor/local/lib/locale/el/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  90. data/vendor/local/lib/locale/en@shaw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  91. data/vendor/local/lib/locale/en_CA/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  92. data/vendor/local/lib/locale/en_GB/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  93. data/vendor/local/lib/locale/eo/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  94. data/vendor/local/lib/locale/es/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  95. data/vendor/local/lib/locale/et/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  96. data/vendor/local/lib/locale/eu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  97. data/vendor/local/lib/locale/fa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  98. data/vendor/local/lib/locale/fi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  99. data/vendor/local/lib/locale/fr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  100. data/vendor/local/lib/locale/ga/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  101. data/vendor/local/lib/locale/gl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  102. data/vendor/local/lib/locale/gu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  103. data/vendor/local/lib/locale/he/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  104. data/vendor/local/lib/locale/hi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  105. data/vendor/local/lib/locale/hr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  106. data/vendor/local/lib/locale/hu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  107. data/vendor/local/lib/locale/id/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  108. data/vendor/local/lib/locale/it/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  109. data/vendor/local/lib/locale/ja/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  110. data/vendor/local/lib/locale/kn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  111. data/vendor/local/lib/locale/ko/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  112. data/vendor/local/lib/locale/lt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  113. data/vendor/local/lib/locale/lv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  114. data/vendor/local/lib/locale/mai/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  115. data/vendor/local/lib/locale/mg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  116. data/vendor/local/lib/locale/mk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  117. data/vendor/local/lib/locale/ml/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  118. data/vendor/local/lib/locale/mn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  119. data/vendor/local/lib/locale/mr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  120. data/vendor/local/lib/locale/ms/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  121. data/vendor/local/lib/locale/nb/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  122. data/vendor/local/lib/locale/ne/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  123. data/vendor/local/lib/locale/nl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  124. data/vendor/local/lib/locale/nn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  125. data/vendor/local/lib/locale/oc/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  126. data/vendor/local/lib/locale/or/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  127. data/vendor/local/lib/locale/pa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  128. data/vendor/local/lib/locale/pl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  129. data/vendor/local/lib/locale/pt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  130. data/vendor/local/lib/locale/pt_BR/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  131. data/vendor/local/lib/locale/ro/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  132. data/vendor/local/lib/locale/ru/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  133. data/vendor/local/lib/locale/rw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  134. data/vendor/local/lib/locale/si/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  135. data/vendor/local/lib/locale/sk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  136. data/vendor/local/lib/locale/sl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  137. data/vendor/local/lib/locale/sq/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  138. data/vendor/local/lib/locale/sr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  139. data/vendor/local/lib/locale/sr@latin/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  140. data/vendor/local/lib/locale/sv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  141. data/vendor/local/lib/locale/ta/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  142. data/vendor/local/lib/locale/te/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  143. data/vendor/local/lib/locale/tg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  144. data/vendor/local/lib/locale/th/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  145. data/vendor/local/lib/locale/tr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  146. data/vendor/local/lib/locale/ug/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  147. data/vendor/local/lib/locale/uk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  148. data/vendor/local/lib/locale/vi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  149. data/vendor/local/lib/locale/xh/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  150. data/vendor/local/lib/locale/zh_CN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  151. data/vendor/local/lib/locale/zh_HK/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  152. data/vendor/local/lib/locale/zh_TW/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  153. data/vendor/local/lib/pkgconfig/gtksourceview-3.0.pc +12 -0
  154. data/vendor/local/share/gir-1.0/GtkSource-3.0.gir +11360 -0
  155. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +2143 -0
  156. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +1129 -0
  157. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +397 -0
  158. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +348 -0
  159. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +367 -0
  160. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +572 -0
  161. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +750 -0
  162. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +345 -0
  163. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceEncoding.html +366 -0
  164. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFile.html +563 -0
  165. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileLoader.html +769 -0
  166. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileSaver.html +962 -0
  167. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +490 -0
  168. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +1700 -0
  169. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +468 -0
  170. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +228 -0
  171. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +584 -0
  172. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +476 -0
  173. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +310 -0
  174. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +897 -0
  175. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +2149 -0
  176. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +1116 -0
  177. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +606 -0
  178. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +358 -0
  179. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +398 -0
  180. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +463 -0
  181. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +462 -0
  182. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +1990 -0
  183. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +81 -0
  184. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +43 -0
  185. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-10.html +195 -0
  186. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-12.html +39 -0
  187. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-14.html +299 -0
  188. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-4.html +35 -0
  189. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +95 -0
  190. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +2187 -0
  191. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +119 -0
  192. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +47 -0
  193. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html +154 -0
  194. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +601 -0
  195. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/home.png +0 -0
  196. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +146 -0
  197. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.sgml +882 -0
  198. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +873 -0
  199. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +654 -0
  200. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/left-insensitive.png +0 -0
  201. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/left.png +0 -0
  202. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +71 -0
  203. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/right-insensitive.png +0 -0
  204. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/right.png +0 -0
  205. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +283 -0
  206. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style.css +476 -0
  207. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/up-insensitive.png +0 -0
  208. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/up.png +0 -0
  209. data/vendor/local/share/gtksourceview-3.0/language-specs/R.lang +2199 -0
  210. data/vendor/local/share/gtksourceview-3.0/language-specs/actionscript.lang +268 -0
  211. data/vendor/local/share/gtksourceview-3.0/language-specs/ada.lang +221 -0
  212. data/vendor/local/share/gtksourceview-3.0/language-specs/ansforth94.lang +729 -0
  213. data/vendor/local/share/gtksourceview-3.0/language-specs/asp.lang +1097 -0
  214. data/vendor/local/share/gtksourceview-3.0/language-specs/automake.lang +330 -0
  215. data/vendor/local/share/gtksourceview-3.0/language-specs/awk.lang +138 -0
  216. data/vendor/local/share/gtksourceview-3.0/language-specs/bennugd.lang +267 -0
  217. data/vendor/local/share/gtksourceview-3.0/language-specs/bibtex.lang +93 -0
  218. data/vendor/local/share/gtksourceview-3.0/language-specs/bluespec.lang +188 -0
  219. data/vendor/local/share/gtksourceview-3.0/language-specs/boo.lang +257 -0
  220. data/vendor/local/share/gtksourceview-3.0/language-specs/c.lang +332 -0
  221. data/vendor/local/share/gtksourceview-3.0/language-specs/cg.lang +232 -0
  222. data/vendor/local/share/gtksourceview-3.0/language-specs/changelog.lang +93 -0
  223. data/vendor/local/share/gtksourceview-3.0/language-specs/chdr.lang +43 -0
  224. data/vendor/local/share/gtksourceview-3.0/language-specs/cmake.lang +408 -0
  225. data/vendor/local/share/gtksourceview-3.0/language-specs/cobol.lang +647 -0
  226. data/vendor/local/share/gtksourceview-3.0/language-specs/cpp.lang +120 -0
  227. data/vendor/local/share/gtksourceview-3.0/language-specs/csharp.lang +282 -0
  228. data/vendor/local/share/gtksourceview-3.0/language-specs/css.lang +542 -0
  229. data/vendor/local/share/gtksourceview-3.0/language-specs/cuda.lang +292 -0
  230. data/vendor/local/share/gtksourceview-3.0/language-specs/d.lang +318 -0
  231. data/vendor/local/share/gtksourceview-3.0/language-specs/def.lang +262 -0
  232. data/vendor/local/share/gtksourceview-3.0/language-specs/desktop.lang +300 -0
  233. data/vendor/local/share/gtksourceview-3.0/language-specs/diff.lang +85 -0
  234. data/vendor/local/share/gtksourceview-3.0/language-specs/docbook.lang +476 -0
  235. data/vendor/local/share/gtksourceview-3.0/language-specs/dosbatch.lang +167 -0
  236. data/vendor/local/share/gtksourceview-3.0/language-specs/dot.lang +140 -0
  237. data/vendor/local/share/gtksourceview-3.0/language-specs/dpatch.lang +48 -0
  238. data/vendor/local/share/gtksourceview-3.0/language-specs/dtd.lang +140 -0
  239. data/vendor/local/share/gtksourceview-3.0/language-specs/eiffel.lang +239 -0
  240. data/vendor/local/share/gtksourceview-3.0/language-specs/erlang.lang +258 -0
  241. data/vendor/local/share/gtksourceview-3.0/language-specs/fcl.lang +113 -0
  242. data/vendor/local/share/gtksourceview-3.0/language-specs/forth.lang +235 -0
  243. data/vendor/local/share/gtksourceview-3.0/language-specs/fortran.lang +591 -0
  244. data/vendor/local/share/gtksourceview-3.0/language-specs/fsharp.lang +325 -0
  245. data/vendor/local/share/gtksourceview-3.0/language-specs/gap.lang +85 -0
  246. data/vendor/local/share/gtksourceview-3.0/language-specs/gdb-log.lang +152 -0
  247. data/vendor/local/share/gtksourceview-3.0/language-specs/glsl.lang +483 -0
  248. data/vendor/local/share/gtksourceview-3.0/language-specs/go.lang +275 -0
  249. data/vendor/local/share/gtksourceview-3.0/language-specs/gtk-doc.lang +91 -0
  250. data/vendor/local/share/gtksourceview-3.0/language-specs/gtkrc.lang +116 -0
  251. data/vendor/local/share/gtksourceview-3.0/language-specs/haddock.lang +162 -0
  252. data/vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang +59 -0
  253. data/vendor/local/share/gtksourceview-3.0/language-specs/haskell.lang +228 -0
  254. data/vendor/local/share/gtksourceview-3.0/language-specs/html.lang +281 -0
  255. data/vendor/local/share/gtksourceview-3.0/language-specs/idl-exelis.lang +620 -0
  256. data/vendor/local/share/gtksourceview-3.0/language-specs/idl.lang +154 -0
  257. data/vendor/local/share/gtksourceview-3.0/language-specs/imagej.lang +784 -0
  258. data/vendor/local/share/gtksourceview-3.0/language-specs/ini.lang +95 -0
  259. data/vendor/local/share/gtksourceview-3.0/language-specs/j.lang +240 -0
  260. data/vendor/local/share/gtksourceview-3.0/language-specs/java.lang +190 -0
  261. data/vendor/local/share/gtksourceview-3.0/language-specs/javascript.lang +339 -0
  262. data/vendor/local/share/gtksourceview-3.0/language-specs/json.lang +123 -0
  263. data/vendor/local/share/gtksourceview-3.0/language-specs/julia.lang +378 -0
  264. data/vendor/local/share/gtksourceview-3.0/language-specs/language.dtd +73 -0
  265. data/vendor/local/share/gtksourceview-3.0/language-specs/language.rng +373 -0
  266. data/vendor/local/share/gtksourceview-3.0/language-specs/language2.rng +482 -0
  267. data/vendor/local/share/gtksourceview-3.0/language-specs/latex.lang +600 -0
  268. data/vendor/local/share/gtksourceview-3.0/language-specs/lex.lang +209 -0
  269. data/vendor/local/share/gtksourceview-3.0/language-specs/libtool.lang +56 -0
  270. data/vendor/local/share/gtksourceview-3.0/language-specs/llvm.lang +315 -0
  271. data/vendor/local/share/gtksourceview-3.0/language-specs/lua.lang +157 -0
  272. data/vendor/local/share/gtksourceview-3.0/language-specs/m4.lang +1375 -0
  273. data/vendor/local/share/gtksourceview-3.0/language-specs/makefile.lang +193 -0
  274. data/vendor/local/share/gtksourceview-3.0/language-specs/mallard.lang +124 -0
  275. data/vendor/local/share/gtksourceview-3.0/language-specs/markdown.lang +402 -0
  276. data/vendor/local/share/gtksourceview-3.0/language-specs/matlab.lang +171 -0
  277. data/vendor/local/share/gtksourceview-3.0/language-specs/mediawiki.lang +327 -0
  278. data/vendor/local/share/gtksourceview-3.0/language-specs/modelica.lang +262 -0
  279. data/vendor/local/share/gtksourceview-3.0/language-specs/mxml.lang +65 -0
  280. data/vendor/local/share/gtksourceview-3.0/language-specs/nemerle.lang +263 -0
  281. data/vendor/local/share/gtksourceview-3.0/language-specs/netrexx.lang +319 -0
  282. data/vendor/local/share/gtksourceview-3.0/language-specs/nsis.lang +88 -0
  283. data/vendor/local/share/gtksourceview-3.0/language-specs/objc.lang +120 -0
  284. data/vendor/local/share/gtksourceview-3.0/language-specs/objj.lang +128 -0
  285. data/vendor/local/share/gtksourceview-3.0/language-specs/ocaml.lang +302 -0
  286. data/vendor/local/share/gtksourceview-3.0/language-specs/ocl.lang +139 -0
  287. data/vendor/local/share/gtksourceview-3.0/language-specs/octave.lang +859 -0
  288. data/vendor/local/share/gtksourceview-3.0/language-specs/ooc.lang +265 -0
  289. data/vendor/local/share/gtksourceview-3.0/language-specs/opal.lang +343 -0
  290. data/vendor/local/share/gtksourceview-3.0/language-specs/opencl.lang +600 -0
  291. data/vendor/local/share/gtksourceview-3.0/language-specs/pascal.lang +268 -0
  292. data/vendor/local/share/gtksourceview-3.0/language-specs/perl.lang +1045 -0
  293. data/vendor/local/share/gtksourceview-3.0/language-specs/php.lang +363 -0
  294. data/vendor/local/share/gtksourceview-3.0/language-specs/pkgconfig.lang +62 -0
  295. data/vendor/local/share/gtksourceview-3.0/language-specs/po.lang +94 -0
  296. data/vendor/local/share/gtksourceview-3.0/language-specs/prolog.lang +249 -0
  297. data/vendor/local/share/gtksourceview-3.0/language-specs/protobuf.lang +101 -0
  298. data/vendor/local/share/gtksourceview-3.0/language-specs/puppet.lang +697 -0
  299. data/vendor/local/share/gtksourceview-3.0/language-specs/python.lang +472 -0
  300. data/vendor/local/share/gtksourceview-3.0/language-specs/python3.lang +192 -0
  301. data/vendor/local/share/gtksourceview-3.0/language-specs/rpmspec.lang +212 -0
  302. data/vendor/local/share/gtksourceview-3.0/language-specs/rst.lang +142 -0
  303. data/vendor/local/share/gtksourceview-3.0/language-specs/ruby.lang +750 -0
  304. data/vendor/local/share/gtksourceview-3.0/language-specs/scala.lang +384 -0
  305. data/vendor/local/share/gtksourceview-3.0/language-specs/scheme.lang +302 -0
  306. data/vendor/local/share/gtksourceview-3.0/language-specs/scilab.lang +209 -0
  307. data/vendor/local/share/gtksourceview-3.0/language-specs/sh.lang +499 -0
  308. data/vendor/local/share/gtksourceview-3.0/language-specs/sml.lang +201 -0
  309. data/vendor/local/share/gtksourceview-3.0/language-specs/sparql.lang +448 -0
  310. data/vendor/local/share/gtksourceview-3.0/language-specs/sql.lang +618 -0
  311. data/vendor/local/share/gtksourceview-3.0/language-specs/sweave.lang +67 -0
  312. data/vendor/local/share/gtksourceview-3.0/language-specs/systemverilog.lang +263 -0
  313. data/vendor/local/share/gtksourceview-3.0/language-specs/t2t.lang +150 -0
  314. data/vendor/local/share/gtksourceview-3.0/language-specs/tcl.lang +146 -0
  315. data/vendor/local/share/gtksourceview-3.0/language-specs/texinfo.lang +448 -0
  316. data/vendor/local/share/gtksourceview-3.0/language-specs/vala.lang +365 -0
  317. data/vendor/local/share/gtksourceview-3.0/language-specs/vbnet.lang +245 -0
  318. data/vendor/local/share/gtksourceview-3.0/language-specs/verilog.lang +476 -0
  319. data/vendor/local/share/gtksourceview-3.0/language-specs/vhdl.lang +248 -0
  320. data/vendor/local/share/gtksourceview-3.0/language-specs/xml.lang +220 -0
  321. data/vendor/local/share/gtksourceview-3.0/language-specs/xslt.lang +108 -0
  322. data/vendor/local/share/gtksourceview-3.0/language-specs/yacc.lang +177 -0
  323. data/vendor/local/share/gtksourceview-3.0/language-specs/yaml.lang +214 -0
  324. data/vendor/local/share/gtksourceview-3.0/styles/classic.xml +121 -0
  325. data/vendor/local/share/gtksourceview-3.0/styles/cobalt.xml +148 -0
  326. data/vendor/local/share/gtksourceview-3.0/styles/kate.xml +171 -0
  327. data/vendor/local/share/gtksourceview-3.0/styles/oblivion.xml +129 -0
  328. data/vendor/local/share/gtksourceview-3.0/styles/solarized-dark.xml +101 -0
  329. data/vendor/local/share/gtksourceview-3.0/styles/solarized-light.xml +101 -0
  330. data/vendor/local/share/gtksourceview-3.0/styles/styles.rng +142 -0
  331. data/vendor/local/share/gtksourceview-3.0/styles/tango.xml +130 -0
  332. data/vendor/local/share/license/gtksourceview/AUTHORS +13 -0
  333. data/vendor/local/share/license/gtksourceview/COPYING +504 -0
  334. metadata +389 -0
@@ -0,0 +1,2149 @@
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>GtkSourceView 3 Reference Manual: GtkSourcePrintCompositor</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
+ <link rel="home" href="index.html" title="GtkSourceView 3 Reference Manual">
8
+ <link rel="up" href="ch01.html" title="API reference">
9
+ <link rel="prev" href="GtkSourceMarkAttributes.html" title="GtkSourceMarkAttributes">
10
+ <link rel="next" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext">
11
+ <meta name="generator" content="GTK-Doc V1.21.1 (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="5"><tr valign="middle">
16
+ <td width="100%" align="left" class="shortcuts">
17
+ <a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
18
+ <a href="#GtkSourcePrintCompositor.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
19
+ <a href="#GtkSourcePrintCompositor.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties">  <span class="dim">|</span> 
20
+ <a href="#GtkSourcePrintCompositor.properties" class="shortcut">Properties</a></span>
21
+ </td>
22
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
23
+ <td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
24
+ <td><a accesskey="p" href="GtkSourceMarkAttributes.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
25
+ <td><a accesskey="n" href="GtkSourceSearchContext.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
26
+ </tr></table>
27
+ <div class="refentry">
28
+ <a name="GtkSourcePrintCompositor"></a><div class="titlepage"></div>
29
+ <div class="refnamediv"><table width="100%"><tr>
30
+ <td valign="top">
31
+ <h2><span class="refentrytitle"><a name="GtkSourcePrintCompositor.top_of_page"></a>GtkSourcePrintCompositor</span></h2>
32
+ <p>GtkSourcePrintCompositor — Compose a GtkSourceBuffer for printing</p>
33
+ </td>
34
+ <td class="gallery_image" valign="top" align="right"></td>
35
+ </tr></table></div>
36
+ <div class="refsect1">
37
+ <a name="GtkSourcePrintCompositor.functions"></a><h2>Functions</h2>
38
+ <div class="informaltable"><table width="100%" border="0">
39
+ <colgroup>
40
+ <col width="150px" class="functions_return">
41
+ <col class="functions_name">
42
+ </colgroup>
43
+ <tbody>
44
+ <tr>
45
+ <td class="function_type">
46
+ <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="returnvalue">GtkSourcePrintCompositor</span></a> *
47
+ </td>
48
+ <td class="function_name">
49
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-new" title="gtk_source_print_compositor_new ()">gtk_source_print_compositor_new</a> <span class="c_punctuation">()</span>
50
+ </td>
51
+ </tr>
52
+ <tr>
53
+ <td class="function_type">
54
+ <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="returnvalue">GtkSourcePrintCompositor</span></a> *
55
+ </td>
56
+ <td class="function_name">
57
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-new-from-view" title="gtk_source_print_compositor_new_from_view ()">gtk_source_print_compositor_new_from_view</a> <span class="c_punctuation">()</span>
58
+ </td>
59
+ </tr>
60
+ <tr>
61
+ <td class="function_type">
62
+ <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="returnvalue">GtkSourceBuffer</span></a> *
63
+ </td>
64
+ <td class="function_name">
65
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-buffer" title="gtk_source_print_compositor_get_buffer ()">gtk_source_print_compositor_get_buffer</a> <span class="c_punctuation">()</span>
66
+ </td>
67
+ </tr>
68
+ <tr>
69
+ <td class="function_type">
70
+ <span class="returnvalue">void</span>
71
+ </td>
72
+ <td class="function_name">
73
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-tab-width" title="gtk_source_print_compositor_set_tab_width ()">gtk_source_print_compositor_set_tab_width</a> <span class="c_punctuation">()</span>
74
+ </td>
75
+ </tr>
76
+ <tr>
77
+ <td class="function_type">
78
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
79
+ </td>
80
+ <td class="function_name">
81
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-tab-width" title="gtk_source_print_compositor_get_tab_width ()">gtk_source_print_compositor_get_tab_width</a> <span class="c_punctuation">()</span>
82
+ </td>
83
+ </tr>
84
+ <tr>
85
+ <td class="function_type">
86
+ <span class="returnvalue">void</span>
87
+ </td>
88
+ <td class="function_name">
89
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-wrap-mode" title="gtk_source_print_compositor_set_wrap_mode ()">gtk_source_print_compositor_set_wrap_mode</a> <span class="c_punctuation">()</span>
90
+ </td>
91
+ </tr>
92
+ <tr>
93
+ <td class="function_type">
94
+ <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextView.html#GtkWrapMode"><span class="returnvalue">GtkWrapMode</span></a>
95
+ </td>
96
+ <td class="function_name">
97
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-wrap-mode" title="gtk_source_print_compositor_get_wrap_mode ()">gtk_source_print_compositor_get_wrap_mode</a> <span class="c_punctuation">()</span>
98
+ </td>
99
+ </tr>
100
+ <tr>
101
+ <td class="function_type">
102
+ <span class="returnvalue">void</span>
103
+ </td>
104
+ <td class="function_name">
105
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-highlight-syntax" title="gtk_source_print_compositor_set_highlight_syntax ()">gtk_source_print_compositor_set_highlight_syntax</a> <span class="c_punctuation">()</span>
106
+ </td>
107
+ </tr>
108
+ <tr>
109
+ <td class="function_type">
110
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
111
+ </td>
112
+ <td class="function_name">
113
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-highlight-syntax" title="gtk_source_print_compositor_get_highlight_syntax ()">gtk_source_print_compositor_get_highlight_syntax</a> <span class="c_punctuation">()</span>
114
+ </td>
115
+ </tr>
116
+ <tr>
117
+ <td class="function_type">
118
+ <span class="returnvalue">void</span>
119
+ </td>
120
+ <td class="function_name">
121
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-print-line-numbers" title="gtk_source_print_compositor_set_print_line_numbers ()">gtk_source_print_compositor_set_print_line_numbers</a> <span class="c_punctuation">()</span>
122
+ </td>
123
+ </tr>
124
+ <tr>
125
+ <td class="function_type">
126
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
127
+ </td>
128
+ <td class="function_name">
129
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-print-line-numbers" title="gtk_source_print_compositor_get_print_line_numbers ()">gtk_source_print_compositor_get_print_line_numbers</a> <span class="c_punctuation">()</span>
130
+ </td>
131
+ </tr>
132
+ <tr>
133
+ <td class="function_type">
134
+ <span class="returnvalue">void</span>
135
+ </td>
136
+ <td class="function_name">
137
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-body-font-name" title="gtk_source_print_compositor_set_body_font_name ()">gtk_source_print_compositor_set_body_font_name</a> <span class="c_punctuation">()</span>
138
+ </td>
139
+ </tr>
140
+ <tr>
141
+ <td class="function_type">
142
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
143
+ </td>
144
+ <td class="function_name">
145
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-body-font-name" title="gtk_source_print_compositor_get_body_font_name ()">gtk_source_print_compositor_get_body_font_name</a> <span class="c_punctuation">()</span>
146
+ </td>
147
+ </tr>
148
+ <tr>
149
+ <td class="function_type">
150
+ <span class="returnvalue">void</span>
151
+ </td>
152
+ <td class="function_name">
153
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-line-numbers-font-name" title="gtk_source_print_compositor_set_line_numbers_font_name ()">gtk_source_print_compositor_set_line_numbers_font_name</a> <span class="c_punctuation">()</span>
154
+ </td>
155
+ </tr>
156
+ <tr>
157
+ <td class="function_type">
158
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
159
+ </td>
160
+ <td class="function_name">
161
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-line-numbers-font-name" title="gtk_source_print_compositor_get_line_numbers_font_name ()">gtk_source_print_compositor_get_line_numbers_font_name</a> <span class="c_punctuation">()</span>
162
+ </td>
163
+ </tr>
164
+ <tr>
165
+ <td class="function_type">
166
+ <span class="returnvalue">void</span>
167
+ </td>
168
+ <td class="function_name">
169
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-header-font-name" title="gtk_source_print_compositor_set_header_font_name ()">gtk_source_print_compositor_set_header_font_name</a> <span class="c_punctuation">()</span>
170
+ </td>
171
+ </tr>
172
+ <tr>
173
+ <td class="function_type">
174
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
175
+ </td>
176
+ <td class="function_name">
177
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-header-font-name" title="gtk_source_print_compositor_get_header_font_name ()">gtk_source_print_compositor_get_header_font_name</a> <span class="c_punctuation">()</span>
178
+ </td>
179
+ </tr>
180
+ <tr>
181
+ <td class="function_type">
182
+ <span class="returnvalue">void</span>
183
+ </td>
184
+ <td class="function_name">
185
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-footer-font-name" title="gtk_source_print_compositor_set_footer_font_name ()">gtk_source_print_compositor_set_footer_font_name</a> <span class="c_punctuation">()</span>
186
+ </td>
187
+ </tr>
188
+ <tr>
189
+ <td class="function_type">
190
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
191
+ </td>
192
+ <td class="function_name">
193
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-footer-font-name" title="gtk_source_print_compositor_get_footer_font_name ()">gtk_source_print_compositor_get_footer_font_name</a> <span class="c_punctuation">()</span>
194
+ </td>
195
+ </tr>
196
+ <tr>
197
+ <td class="function_type">
198
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
199
+ </td>
200
+ <td class="function_name">
201
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-top-margin" title="gtk_source_print_compositor_get_top_margin ()">gtk_source_print_compositor_get_top_margin</a> <span class="c_punctuation">()</span>
202
+ </td>
203
+ </tr>
204
+ <tr>
205
+ <td class="function_type">
206
+ <span class="returnvalue">void</span>
207
+ </td>
208
+ <td class="function_name">
209
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-top-margin" title="gtk_source_print_compositor_set_top_margin ()">gtk_source_print_compositor_set_top_margin</a> <span class="c_punctuation">()</span>
210
+ </td>
211
+ </tr>
212
+ <tr>
213
+ <td class="function_type">
214
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
215
+ </td>
216
+ <td class="function_name">
217
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-bottom-margin" title="gtk_source_print_compositor_get_bottom_margin ()">gtk_source_print_compositor_get_bottom_margin</a> <span class="c_punctuation">()</span>
218
+ </td>
219
+ </tr>
220
+ <tr>
221
+ <td class="function_type">
222
+ <span class="returnvalue">void</span>
223
+ </td>
224
+ <td class="function_name">
225
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-bottom-margin" title="gtk_source_print_compositor_set_bottom_margin ()">gtk_source_print_compositor_set_bottom_margin</a> <span class="c_punctuation">()</span>
226
+ </td>
227
+ </tr>
228
+ <tr>
229
+ <td class="function_type">
230
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
231
+ </td>
232
+ <td class="function_name">
233
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-left-margin" title="gtk_source_print_compositor_get_left_margin ()">gtk_source_print_compositor_get_left_margin</a> <span class="c_punctuation">()</span>
234
+ </td>
235
+ </tr>
236
+ <tr>
237
+ <td class="function_type">
238
+ <span class="returnvalue">void</span>
239
+ </td>
240
+ <td class="function_name">
241
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-left-margin" title="gtk_source_print_compositor_set_left_margin ()">gtk_source_print_compositor_set_left_margin</a> <span class="c_punctuation">()</span>
242
+ </td>
243
+ </tr>
244
+ <tr>
245
+ <td class="function_type">
246
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
247
+ </td>
248
+ <td class="function_name">
249
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-right-margin" title="gtk_source_print_compositor_get_right_margin ()">gtk_source_print_compositor_get_right_margin</a> <span class="c_punctuation">()</span>
250
+ </td>
251
+ </tr>
252
+ <tr>
253
+ <td class="function_type">
254
+ <span class="returnvalue">void</span>
255
+ </td>
256
+ <td class="function_name">
257
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-right-margin" title="gtk_source_print_compositor_set_right_margin ()">gtk_source_print_compositor_set_right_margin</a> <span class="c_punctuation">()</span>
258
+ </td>
259
+ </tr>
260
+ <tr>
261
+ <td class="function_type">
262
+ <span class="returnvalue">void</span>
263
+ </td>
264
+ <td class="function_name">
265
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-print-header" title="gtk_source_print_compositor_set_print_header ()">gtk_source_print_compositor_set_print_header</a> <span class="c_punctuation">()</span>
266
+ </td>
267
+ </tr>
268
+ <tr>
269
+ <td class="function_type">
270
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
271
+ </td>
272
+ <td class="function_name">
273
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-print-header" title="gtk_source_print_compositor_get_print_header ()">gtk_source_print_compositor_get_print_header</a> <span class="c_punctuation">()</span>
274
+ </td>
275
+ </tr>
276
+ <tr>
277
+ <td class="function_type">
278
+ <span class="returnvalue">void</span>
279
+ </td>
280
+ <td class="function_name">
281
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-print-footer" title="gtk_source_print_compositor_set_print_footer ()">gtk_source_print_compositor_set_print_footer</a> <span class="c_punctuation">()</span>
282
+ </td>
283
+ </tr>
284
+ <tr>
285
+ <td class="function_type">
286
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
287
+ </td>
288
+ <td class="function_name">
289
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-print-footer" title="gtk_source_print_compositor_get_print_footer ()">gtk_source_print_compositor_get_print_footer</a> <span class="c_punctuation">()</span>
290
+ </td>
291
+ </tr>
292
+ <tr>
293
+ <td class="function_type">
294
+ <span class="returnvalue">void</span>
295
+ </td>
296
+ <td class="function_name">
297
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-header-format" title="gtk_source_print_compositor_set_header_format ()">gtk_source_print_compositor_set_header_format</a> <span class="c_punctuation">()</span>
298
+ </td>
299
+ </tr>
300
+ <tr>
301
+ <td class="function_type">
302
+ <span class="returnvalue">void</span>
303
+ </td>
304
+ <td class="function_name">
305
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-footer-format" title="gtk_source_print_compositor_set_footer_format ()">gtk_source_print_compositor_set_footer_format</a> <span class="c_punctuation">()</span>
306
+ </td>
307
+ </tr>
308
+ <tr>
309
+ <td class="function_type">
310
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
311
+ </td>
312
+ <td class="function_name">
313
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-n-pages" title="gtk_source_print_compositor_get_n_pages ()">gtk_source_print_compositor_get_n_pages</a> <span class="c_punctuation">()</span>
314
+ </td>
315
+ </tr>
316
+ <tr>
317
+ <td class="function_type">
318
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
319
+ </td>
320
+ <td class="function_name">
321
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()">gtk_source_print_compositor_paginate</a> <span class="c_punctuation">()</span>
322
+ </td>
323
+ </tr>
324
+ <tr>
325
+ <td class="function_type">
326
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
327
+ </td>
328
+ <td class="function_name">
329
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-pagination-progress" title="gtk_source_print_compositor_get_pagination_progress ()">gtk_source_print_compositor_get_pagination_progress</a> <span class="c_punctuation">()</span>
330
+ </td>
331
+ </tr>
332
+ <tr>
333
+ <td class="function_type">
334
+ <span class="returnvalue">void</span>
335
+ </td>
336
+ <td class="function_name">
337
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-draw-page" title="gtk_source_print_compositor_draw_page ()">gtk_source_print_compositor_draw_page</a> <span class="c_punctuation">()</span>
338
+ </td>
339
+ </tr>
340
+ </tbody>
341
+ </table></div>
342
+ </div>
343
+ <div class="refsect1">
344
+ <a name="GtkSourcePrintCompositor.properties"></a><h2>Properties</h2>
345
+ <div class="informaltable"><table border="0">
346
+ <colgroup>
347
+ <col width="150px" class="properties_type">
348
+ <col width="300px" class="properties_name">
349
+ <col width="200px" class="properties_flags">
350
+ </colgroup>
351
+ <tbody>
352
+ <tr>
353
+ <td class="property_type">
354
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
355
+ <td class="property_name"><a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--body-font-name" title="The “body-font-name” property">body-font-name</a></td>
356
+ <td class="property_flags">Read / Write</td>
357
+ </tr>
358
+ <tr>
359
+ <td class="property_type">
360
+ <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *</td>
361
+ <td class="property_name"><a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--buffer" title="The “buffer” property">buffer</a></td>
362
+ <td class="property_flags">Read / Write / Construct Only</td>
363
+ </tr>
364
+ <tr>
365
+ <td class="property_type">
366
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
367
+ <td class="property_name"><a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--footer-font-name" title="The “footer-font-name” property">footer-font-name</a></td>
368
+ <td class="property_flags">Read / Write</td>
369
+ </tr>
370
+ <tr>
371
+ <td class="property_type">
372
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
373
+ <td class="property_name"><a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--header-font-name" title="The “header-font-name” property">header-font-name</a></td>
374
+ <td class="property_flags">Read / Write</td>
375
+ </tr>
376
+ <tr>
377
+ <td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
378
+ <td class="property_name"><a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--highlight-syntax" title="The “highlight-syntax” property">highlight-syntax</a></td>
379
+ <td class="property_flags">Read / Write</td>
380
+ </tr>
381
+ <tr>
382
+ <td class="property_type">
383
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
384
+ <td class="property_name"><a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--line-numbers-font-name" title="The “line-numbers-font-name” property">line-numbers-font-name</a></td>
385
+ <td class="property_flags">Read / Write</td>
386
+ </tr>
387
+ <tr>
388
+ <td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
389
+ <td class="property_name"><a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--n-pages" title="The “n-pages” property">n-pages</a></td>
390
+ <td class="property_flags">Read</td>
391
+ </tr>
392
+ <tr>
393
+ <td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
394
+ <td class="property_name"><a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--print-footer" title="The “print-footer” property">print-footer</a></td>
395
+ <td class="property_flags">Read / Write</td>
396
+ </tr>
397
+ <tr>
398
+ <td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
399
+ <td class="property_name"><a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--print-header" title="The “print-header” property">print-header</a></td>
400
+ <td class="property_flags">Read / Write</td>
401
+ </tr>
402
+ <tr>
403
+ <td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
404
+ <td class="property_name"><a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--print-line-numbers" title="The “print-line-numbers” property">print-line-numbers</a></td>
405
+ <td class="property_flags">Read / Write</td>
406
+ </tr>
407
+ <tr>
408
+ <td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
409
+ <td class="property_name"><a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--tab-width" title="The “tab-width” property">tab-width</a></td>
410
+ <td class="property_flags">Read / Write</td>
411
+ </tr>
412
+ <tr>
413
+ <td class="property_type"><a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextView.html#GtkWrapMode"><span class="type">GtkWrapMode</span></a></td>
414
+ <td class="property_name"><a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--wrap-mode" title="The “wrap-mode” property">wrap-mode</a></td>
415
+ <td class="property_flags">Read / Write</td>
416
+ </tr>
417
+ </tbody>
418
+ </table></div>
419
+ </div>
420
+ <div class="refsect1">
421
+ <a name="GtkSourcePrintCompositor.other"></a><h2>Types and Values</h2>
422
+ <div class="informaltable"><table width="100%" border="0">
423
+ <colgroup>
424
+ <col width="150px" class="name">
425
+ <col class="description">
426
+ </colgroup>
427
+ <tbody><tr>
428
+ <td class="datatype_keyword"> </td>
429
+ <td class="function_name"><a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor-struct" title="GtkSourcePrintCompositor">GtkSourcePrintCompositor</a></td>
430
+ </tr></tbody>
431
+ </table></div>
432
+ </div>
433
+ <div class="refsect1">
434
+ <a name="GtkSourcePrintCompositor.object-hierarchy"></a><h2>Object Hierarchy</h2>
435
+ <pre class="screen"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
436
+ <span class="lineart">╰──</span> GtkSourcePrintCompositor
437
+ </pre>
438
+ </div>
439
+ <div class="refsect1">
440
+ <a name="GtkSourcePrintCompositor.includes"></a><h2>Includes</h2>
441
+ <pre class="synopsis">#include &lt;gtksourceview/gtksource.h&gt;
442
+ </pre>
443
+ </div>
444
+ <div class="refsect1">
445
+ <a name="GtkSourcePrintCompositor.description"></a><h2>Description</h2>
446
+ <p>The <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> object is used to compose a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>
447
+ for printing. You can set various configuration options to customize the
448
+ printed output. <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> is designed to be used with the
449
+ high-level printing API of gtk+, i.e. <a href="/opt/gnome/share/gtk-doc/html/gtk3/gtk3-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>.</p>
450
+ <p>The margins specified in this object are the layout margins: they define the
451
+ blank space bordering the printed area of the pages. They must not be
452
+ confused with the "print margins", i.e. the parts of the page that the
453
+ printer cannot print on, defined in the <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkPageSetup.html"><span class="type">GtkPageSetup</span></a> objects. If the
454
+ specified layout margins are smaller than the "print margins", the latter
455
+ ones are used as a fallback by the <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> object, so that
456
+ the printed area is not clipped.</p>
457
+ </div>
458
+ <div class="refsect1">
459
+ <a name="GtkSourcePrintCompositor.functions_details"></a><h2>Functions</h2>
460
+ <div class="refsect2">
461
+ <a name="gtk-source-print-compositor-new"></a><h3>gtk_source_print_compositor_new ()</h3>
462
+ <pre class="programlisting"><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="returnvalue">GtkSourcePrintCompositor</span></a> *
463
+ gtk_source_print_compositor_new (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
464
+ <p>Creates a new print compositor that can be used to print <em class="parameter"><code>buffer</code></em>
465
+ .</p>
466
+ <div class="refsect3">
467
+ <a name="id-1.2.22.9.2.5"></a><h4>Parameters</h4>
468
+ <div class="informaltable"><table width="100%" border="0">
469
+ <colgroup>
470
+ <col width="150px" class="parameters_name">
471
+ <col class="parameters_description">
472
+ <col width="200px" class="parameters_annotations">
473
+ </colgroup>
474
+ <tbody><tr>
475
+ <td class="parameter_name"><p>buffer</p></td>
476
+ <td class="parameter_description"><p>the <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> to print.</p></td>
477
+ <td class="parameter_annotations"> </td>
478
+ </tr></tbody>
479
+ </table></div>
480
+ </div>
481
+ <div class="refsect3">
482
+ <a name="id-1.2.22.9.2.6"></a><h4>Returns</h4>
483
+ <p> a new print compositor object.</p>
484
+ <p></p>
485
+ </div>
486
+ <p class="since">Since 2.2</p>
487
+ </div>
488
+ <hr>
489
+ <div class="refsect2">
490
+ <a name="gtk-source-print-compositor-new-from-view"></a><h3>gtk_source_print_compositor_new_from_view ()</h3>
491
+ <pre class="programlisting"><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="returnvalue">GtkSourcePrintCompositor</span></a> *
492
+ gtk_source_print_compositor_new_from_view
493
+ (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
494
+ <p>Creates a new print compositor that can be used to print the buffer
495
+ associated with <em class="parameter"><code>view</code></em>
496
+ .
497
+ This constructor sets some configuration properties to make the
498
+ printed output match <em class="parameter"><code>view</code></em>
499
+ as much as possible. The properties set are
500
+ <a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--tab-width" title="The “tab-width” property"><span class="type">“tab-width”</span></a>, <a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--highlight-syntax" title="The “highlight-syntax” property"><span class="type">“highlight-syntax”</span></a>,
501
+ <a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--wrap-mode" title="The “wrap-mode” property"><span class="type">“wrap-mode”</span></a>, <a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--body-font-name" title="The “body-font-name” property"><span class="type">“body-font-name”</span></a> and
502
+ <a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--print-line-numbers" title="The “print-line-numbers” property"><span class="type">“print-line-numbers”</span></a>.</p>
503
+ <div class="refsect3">
504
+ <a name="id-1.2.22.9.3.5"></a><h4>Parameters</h4>
505
+ <div class="informaltable"><table width="100%" border="0">
506
+ <colgroup>
507
+ <col width="150px" class="parameters_name">
508
+ <col class="parameters_description">
509
+ <col width="200px" class="parameters_annotations">
510
+ </colgroup>
511
+ <tbody><tr>
512
+ <td class="parameter_name"><p>view</p></td>
513
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> to get configuration from.</p></td>
514
+ <td class="parameter_annotations"> </td>
515
+ </tr></tbody>
516
+ </table></div>
517
+ </div>
518
+ <div class="refsect3">
519
+ <a name="id-1.2.22.9.3.6"></a><h4>Returns</h4>
520
+ <p> a new print compositor object.</p>
521
+ <p></p>
522
+ </div>
523
+ <p class="since">Since 2.2</p>
524
+ </div>
525
+ <hr>
526
+ <div class="refsect2">
527
+ <a name="gtk-source-print-compositor-get-buffer"></a><h3>gtk_source_print_compositor_get_buffer ()</h3>
528
+ <pre class="programlisting"><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="returnvalue">GtkSourceBuffer</span></a> *
529
+ gtk_source_print_compositor_get_buffer
530
+ (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
531
+ <p>Gets the <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> associated with the compositor. The returned
532
+ object reference is owned by the compositor object and
533
+ should not be unreferenced.</p>
534
+ <div class="refsect3">
535
+ <a name="id-1.2.22.9.4.5"></a><h4>Parameters</h4>
536
+ <div class="informaltable"><table width="100%" border="0">
537
+ <colgroup>
538
+ <col width="150px" class="parameters_name">
539
+ <col class="parameters_description">
540
+ <col width="200px" class="parameters_annotations">
541
+ </colgroup>
542
+ <tbody><tr>
543
+ <td class="parameter_name"><p>compositor</p></td>
544
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
545
+ <td class="parameter_annotations"> </td>
546
+ </tr></tbody>
547
+ </table></div>
548
+ </div>
549
+ <div class="refsect3">
550
+ <a name="id-1.2.22.9.4.6"></a><h4>Returns</h4>
551
+ <p> the <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> associated with the compositor. </p>
552
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
553
+ </div>
554
+ <p class="since">Since 2.2</p>
555
+ </div>
556
+ <hr>
557
+ <div class="refsect2">
558
+ <a name="gtk-source-print-compositor-set-tab-width"></a><h3>gtk_source_print_compositor_set_tab_width ()</h3>
559
+ <pre class="programlisting"><span class="returnvalue">void</span>
560
+ gtk_source_print_compositor_set_tab_width
561
+ (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
562
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> width</code></em>);</pre>
563
+ <p>Sets the width of tabulation in characters for printed text.</p>
564
+ <p>This function cannot be called anymore after the first call to the
565
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
566
+ <div class="refsect3">
567
+ <a name="id-1.2.22.9.5.6"></a><h4>Parameters</h4>
568
+ <div class="informaltable"><table width="100%" border="0">
569
+ <colgroup>
570
+ <col width="150px" class="parameters_name">
571
+ <col class="parameters_description">
572
+ <col width="200px" class="parameters_annotations">
573
+ </colgroup>
574
+ <tbody>
575
+ <tr>
576
+ <td class="parameter_name"><p>compositor</p></td>
577
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
578
+ <td class="parameter_annotations"> </td>
579
+ </tr>
580
+ <tr>
581
+ <td class="parameter_name"><p>width</p></td>
582
+ <td class="parameter_description"><p>width of tab in characters.</p></td>
583
+ <td class="parameter_annotations"> </td>
584
+ </tr>
585
+ </tbody>
586
+ </table></div>
587
+ </div>
588
+ <p class="since">Since 2.2</p>
589
+ </div>
590
+ <hr>
591
+ <div class="refsect2">
592
+ <a name="gtk-source-print-compositor-get-tab-width"></a><h3>gtk_source_print_compositor_get_tab_width ()</h3>
593
+ <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
594
+ gtk_source_print_compositor_get_tab_width
595
+ (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
596
+ <p>Returns the width of tabulation in characters for printed text.</p>
597
+ <div class="refsect3">
598
+ <a name="id-1.2.22.9.6.5"></a><h4>Parameters</h4>
599
+ <div class="informaltable"><table width="100%" border="0">
600
+ <colgroup>
601
+ <col width="150px" class="parameters_name">
602
+ <col class="parameters_description">
603
+ <col width="200px" class="parameters_annotations">
604
+ </colgroup>
605
+ <tbody><tr>
606
+ <td class="parameter_name"><p>compositor</p></td>
607
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
608
+ <td class="parameter_annotations"> </td>
609
+ </tr></tbody>
610
+ </table></div>
611
+ </div>
612
+ <div class="refsect3">
613
+ <a name="id-1.2.22.9.6.6"></a><h4>Returns</h4>
614
+ <p> width of tab.</p>
615
+ <p></p>
616
+ </div>
617
+ <p class="since">Since 2.2</p>
618
+ </div>
619
+ <hr>
620
+ <div class="refsect2">
621
+ <a name="gtk-source-print-compositor-set-wrap-mode"></a><h3>gtk_source_print_compositor_set_wrap_mode ()</h3>
622
+ <pre class="programlisting"><span class="returnvalue">void</span>
623
+ gtk_source_print_compositor_set_wrap_mode
624
+ (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
625
+ <em class="parameter"><code><a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextView.html#GtkWrapMode"><span class="type">GtkWrapMode</span></a> wrap_mode</code></em>);</pre>
626
+ <p>Sets the line wrapping mode for the printed text.</p>
627
+ <p>This function cannot be called anymore after the first call to the
628
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
629
+ <div class="refsect3">
630
+ <a name="id-1.2.22.9.7.6"></a><h4>Parameters</h4>
631
+ <div class="informaltable"><table width="100%" border="0">
632
+ <colgroup>
633
+ <col width="150px" class="parameters_name">
634
+ <col class="parameters_description">
635
+ <col width="200px" class="parameters_annotations">
636
+ </colgroup>
637
+ <tbody>
638
+ <tr>
639
+ <td class="parameter_name"><p>compositor</p></td>
640
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
641
+ <td class="parameter_annotations"> </td>
642
+ </tr>
643
+ <tr>
644
+ <td class="parameter_name"><p>wrap_mode</p></td>
645
+ <td class="parameter_description"><p>a <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextView.html#GtkWrapMode"><span class="type">GtkWrapMode</span></a>.</p></td>
646
+ <td class="parameter_annotations"> </td>
647
+ </tr>
648
+ </tbody>
649
+ </table></div>
650
+ </div>
651
+ <p class="since">Since 2.2</p>
652
+ </div>
653
+ <hr>
654
+ <div class="refsect2">
655
+ <a name="gtk-source-print-compositor-get-wrap-mode"></a><h3>gtk_source_print_compositor_get_wrap_mode ()</h3>
656
+ <pre class="programlisting"><a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextView.html#GtkWrapMode"><span class="returnvalue">GtkWrapMode</span></a>
657
+ gtk_source_print_compositor_get_wrap_mode
658
+ (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
659
+ <p>Gets the line wrapping mode for the printed text.</p>
660
+ <div class="refsect3">
661
+ <a name="id-1.2.22.9.8.5"></a><h4>Parameters</h4>
662
+ <div class="informaltable"><table width="100%" border="0">
663
+ <colgroup>
664
+ <col width="150px" class="parameters_name">
665
+ <col class="parameters_description">
666
+ <col width="200px" class="parameters_annotations">
667
+ </colgroup>
668
+ <tbody><tr>
669
+ <td class="parameter_name"><p>compositor</p></td>
670
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
671
+ <td class="parameter_annotations"> </td>
672
+ </tr></tbody>
673
+ </table></div>
674
+ </div>
675
+ <div class="refsect3">
676
+ <a name="id-1.2.22.9.8.6"></a><h4>Returns</h4>
677
+ <p> the line wrap mode.</p>
678
+ <p></p>
679
+ </div>
680
+ <p class="since">Since 2.2</p>
681
+ </div>
682
+ <hr>
683
+ <div class="refsect2">
684
+ <a name="gtk-source-print-compositor-set-highlight-syntax"></a><h3>gtk_source_print_compositor_set_highlight_syntax ()</h3>
685
+ <pre class="programlisting"><span class="returnvalue">void</span>
686
+ gtk_source_print_compositor_set_highlight_syntax
687
+ (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
688
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> highlight</code></em>);</pre>
689
+ <p>Sets whether the printed text will be highlighted according to the
690
+ buffer rules. Both color and font style are applied.</p>
691
+ <p>This function cannot be called anymore after the first call to the
692
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
693
+ <div class="refsect3">
694
+ <a name="id-1.2.22.9.9.6"></a><h4>Parameters</h4>
695
+ <div class="informaltable"><table width="100%" border="0">
696
+ <colgroup>
697
+ <col width="150px" class="parameters_name">
698
+ <col class="parameters_description">
699
+ <col width="200px" class="parameters_annotations">
700
+ </colgroup>
701
+ <tbody>
702
+ <tr>
703
+ <td class="parameter_name"><p>compositor</p></td>
704
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
705
+ <td class="parameter_annotations"> </td>
706
+ </tr>
707
+ <tr>
708
+ <td class="parameter_name"><p>highlight</p></td>
709
+ <td class="parameter_description"><p>whether syntax should be highlighted.</p></td>
710
+ <td class="parameter_annotations"> </td>
711
+ </tr>
712
+ </tbody>
713
+ </table></div>
714
+ </div>
715
+ <p class="since">Since 2.2</p>
716
+ </div>
717
+ <hr>
718
+ <div class="refsect2">
719
+ <a name="gtk-source-print-compositor-get-highlight-syntax"></a><h3>gtk_source_print_compositor_get_highlight_syntax ()</h3>
720
+ <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
721
+ gtk_source_print_compositor_get_highlight_syntax
722
+ (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
723
+ <p>Determines whether the printed text will be highlighted according to the
724
+ buffer rules. Note that highlighting will happen
725
+ only if the buffer to print has highlighting activated.</p>
726
+ <div class="refsect3">
727
+ <a name="id-1.2.22.9.10.5"></a><h4>Parameters</h4>
728
+ <div class="informaltable"><table width="100%" border="0">
729
+ <colgroup>
730
+ <col width="150px" class="parameters_name">
731
+ <col class="parameters_description">
732
+ <col width="200px" class="parameters_annotations">
733
+ </colgroup>
734
+ <tbody><tr>
735
+ <td class="parameter_name"><p>compositor</p></td>
736
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
737
+ <td class="parameter_annotations"> </td>
738
+ </tr></tbody>
739
+ </table></div>
740
+ </div>
741
+ <div class="refsect3">
742
+ <a name="id-1.2.22.9.10.6"></a><h4>Returns</h4>
743
+ <p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the printed output will be highlighted.</p>
744
+ <p></p>
745
+ </div>
746
+ <p class="since">Since 2.2</p>
747
+ </div>
748
+ <hr>
749
+ <div class="refsect2">
750
+ <a name="gtk-source-print-compositor-set-print-line-numbers"></a><h3>gtk_source_print_compositor_set_print_line_numbers ()</h3>
751
+ <pre class="programlisting"><span class="returnvalue">void</span>
752
+ gtk_source_print_compositor_set_print_line_numbers
753
+ (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
754
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> interval</code></em>);</pre>
755
+ <p>Sets the interval for printed line numbers. If <em class="parameter"><code>interval</code></em>
756
+ is 0 no
757
+ numbers will be printed. If greater than 0, a number will be
758
+ printed every <em class="parameter"><code>interval</code></em>
759
+ lines (i.e. 1 will print all line numbers).</p>
760
+ <p>Maximum accepted value for <em class="parameter"><code>interval</code></em>
761
+ is 100.</p>
762
+ <p>This function cannot be called anymore after the first call to the
763
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
764
+ <div class="refsect3">
765
+ <a name="id-1.2.22.9.11.7"></a><h4>Parameters</h4>
766
+ <div class="informaltable"><table width="100%" border="0">
767
+ <colgroup>
768
+ <col width="150px" class="parameters_name">
769
+ <col class="parameters_description">
770
+ <col width="200px" class="parameters_annotations">
771
+ </colgroup>
772
+ <tbody>
773
+ <tr>
774
+ <td class="parameter_name"><p>compositor</p></td>
775
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
776
+ <td class="parameter_annotations"> </td>
777
+ </tr>
778
+ <tr>
779
+ <td class="parameter_name"><p>interval</p></td>
780
+ <td class="parameter_description"><p>interval for printed line numbers.</p></td>
781
+ <td class="parameter_annotations"> </td>
782
+ </tr>
783
+ </tbody>
784
+ </table></div>
785
+ </div>
786
+ <p class="since">Since 2.2</p>
787
+ </div>
788
+ <hr>
789
+ <div class="refsect2">
790
+ <a name="gtk-source-print-compositor-get-print-line-numbers"></a><h3>gtk_source_print_compositor_get_print_line_numbers ()</h3>
791
+ <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
792
+ gtk_source_print_compositor_get_print_line_numbers
793
+ (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
794
+ <p>Returns the interval used for line number printing. If the
795
+ value is 0, no line numbers will be printed. The default value is
796
+ 1 (i.e. numbers printed in all lines).</p>
797
+ <div class="refsect3">
798
+ <a name="id-1.2.22.9.12.5"></a><h4>Parameters</h4>
799
+ <div class="informaltable"><table width="100%" border="0">
800
+ <colgroup>
801
+ <col width="150px" class="parameters_name">
802
+ <col class="parameters_description">
803
+ <col width="200px" class="parameters_annotations">
804
+ </colgroup>
805
+ <tbody><tr>
806
+ <td class="parameter_name"><p>compositor</p></td>
807
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
808
+ <td class="parameter_annotations"> </td>
809
+ </tr></tbody>
810
+ </table></div>
811
+ </div>
812
+ <div class="refsect3">
813
+ <a name="id-1.2.22.9.12.6"></a><h4>Returns</h4>
814
+ <p> the interval of printed line numbers.</p>
815
+ <p></p>
816
+ </div>
817
+ <p class="since">Since 2.2</p>
818
+ </div>
819
+ <hr>
820
+ <div class="refsect2">
821
+ <a name="gtk-source-print-compositor-set-body-font-name"></a><h3>gtk_source_print_compositor_set_body_font_name ()</h3>
822
+ <pre class="programlisting"><span class="returnvalue">void</span>
823
+ gtk_source_print_compositor_set_body_font_name
824
+ (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
825
+ <em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *font_name</code></em>);</pre>
826
+ <p>Sets the default font for the printed text.</p>
827
+ <p><em class="parameter"><code>font_name</code></em>
828
+ should be a
829
+ string representation of a font description Pango can understand.
830
+ (e.g. "Monospace 10"). See <a href="/opt/gnome/share/gtk-doc/html/pango/pango-Fonts.html#pango-font-description-from-string"><code class="function">pango_font_description_from_string()</code></a>
831
+ for a description of the format of the string representation.</p>
832
+ <p>This function cannot be called anymore after the first call to the
833
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
834
+ <div class="refsect3">
835
+ <a name="id-1.2.22.9.13.7"></a><h4>Parameters</h4>
836
+ <div class="informaltable"><table width="100%" border="0">
837
+ <colgroup>
838
+ <col width="150px" class="parameters_name">
839
+ <col class="parameters_description">
840
+ <col width="200px" class="parameters_annotations">
841
+ </colgroup>
842
+ <tbody>
843
+ <tr>
844
+ <td class="parameter_name"><p>compositor</p></td>
845
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
846
+ <td class="parameter_annotations"> </td>
847
+ </tr>
848
+ <tr>
849
+ <td class="parameter_name"><p>font_name</p></td>
850
+ <td class="parameter_description"><p>the name of the default font for the body text.</p></td>
851
+ <td class="parameter_annotations"> </td>
852
+ </tr>
853
+ </tbody>
854
+ </table></div>
855
+ </div>
856
+ <p class="since">Since 2.2</p>
857
+ </div>
858
+ <hr>
859
+ <div class="refsect2">
860
+ <a name="gtk-source-print-compositor-get-body-font-name"></a><h3>gtk_source_print_compositor_get_body_font_name ()</h3>
861
+ <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
862
+ gtk_source_print_compositor_get_body_font_name
863
+ (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
864
+ <p>Returns the name of the font used to print the text body. The returned string
865
+ must be freed with <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
866
+ <div class="refsect3">
867
+ <a name="id-1.2.22.9.14.5"></a><h4>Parameters</h4>
868
+ <div class="informaltable"><table width="100%" border="0">
869
+ <colgroup>
870
+ <col width="150px" class="parameters_name">
871
+ <col class="parameters_description">
872
+ <col width="200px" class="parameters_annotations">
873
+ </colgroup>
874
+ <tbody><tr>
875
+ <td class="parameter_name"><p>compositor</p></td>
876
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
877
+ <td class="parameter_annotations"> </td>
878
+ </tr></tbody>
879
+ </table></div>
880
+ </div>
881
+ <div class="refsect3">
882
+ <a name="id-1.2.22.9.14.6"></a><h4>Returns</h4>
883
+ <p> a new string containing the name of the font used to print the
884
+ text body.</p>
885
+ <p></p>
886
+ </div>
887
+ <p class="since">Since 2.2</p>
888
+ </div>
889
+ <hr>
890
+ <div class="refsect2">
891
+ <a name="gtk-source-print-compositor-set-line-numbers-font-name"></a><h3>gtk_source_print_compositor_set_line_numbers_font_name ()</h3>
892
+ <pre class="programlisting"><span class="returnvalue">void</span>
893
+ gtk_source_print_compositor_set_line_numbers_font_name
894
+ (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
895
+ <em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *font_name</code></em>);</pre>
896
+ <p>Sets the font for printing line numbers on the left margin. If
897
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is supplied, the default font (i.e. the one being used for the
898
+ text) will be used instead.</p>
899
+ <p><em class="parameter"><code>font_name</code></em>
900
+ should be a
901
+ string representation of a font description Pango can understand.
902
+ (e.g. "Monospace 10"). See <a href="/opt/gnome/share/gtk-doc/html/pango/pango-Fonts.html#pango-font-description-from-string"><code class="function">pango_font_description_from_string()</code></a>
903
+ for a description of the format of the string representation.</p>
904
+ <p>This function cannot be called anymore after the first call to the
905
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
906
+ <div class="refsect3">
907
+ <a name="id-1.2.22.9.15.7"></a><h4>Parameters</h4>
908
+ <div class="informaltable"><table width="100%" border="0">
909
+ <colgroup>
910
+ <col width="150px" class="parameters_name">
911
+ <col class="parameters_description">
912
+ <col width="200px" class="parameters_annotations">
913
+ </colgroup>
914
+ <tbody>
915
+ <tr>
916
+ <td class="parameter_name"><p>compositor</p></td>
917
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
918
+ <td class="parameter_annotations"> </td>
919
+ </tr>
920
+ <tr>
921
+ <td class="parameter_name"><p>font_name</p></td>
922
+ <td class="parameter_description"><p> the name of the font for line numbers, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
923
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
924
+ </tr>
925
+ </tbody>
926
+ </table></div>
927
+ </div>
928
+ <p class="since">Since 2.2</p>
929
+ </div>
930
+ <hr>
931
+ <div class="refsect2">
932
+ <a name="gtk-source-print-compositor-get-line-numbers-font-name"></a><h3>gtk_source_print_compositor_get_line_numbers_font_name ()</h3>
933
+ <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
934
+ gtk_source_print_compositor_get_line_numbers_font_name
935
+ (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
936
+ <p>Returns the name of the font used to print line numbers on the left margin.
937
+ The returned string must be freed with <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
938
+ <div class="refsect3">
939
+ <a name="id-1.2.22.9.16.5"></a><h4>Parameters</h4>
940
+ <div class="informaltable"><table width="100%" border="0">
941
+ <colgroup>
942
+ <col width="150px" class="parameters_name">
943
+ <col class="parameters_description">
944
+ <col width="200px" class="parameters_annotations">
945
+ </colgroup>
946
+ <tbody><tr>
947
+ <td class="parameter_name"><p>compositor</p></td>
948
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
949
+ <td class="parameter_annotations"> </td>
950
+ </tr></tbody>
951
+ </table></div>
952
+ </div>
953
+ <div class="refsect3">
954
+ <a name="id-1.2.22.9.16.6"></a><h4>Returns</h4>
955
+ <p> a new string containing the name of the font used to print
956
+ line numbers on the left margin.</p>
957
+ <p></p>
958
+ </div>
959
+ <p class="since">Since 2.2</p>
960
+ </div>
961
+ <hr>
962
+ <div class="refsect2">
963
+ <a name="gtk-source-print-compositor-set-header-font-name"></a><h3>gtk_source_print_compositor_set_header_font_name ()</h3>
964
+ <pre class="programlisting"><span class="returnvalue">void</span>
965
+ gtk_source_print_compositor_set_header_font_name
966
+ (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
967
+ <em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *font_name</code></em>);</pre>
968
+ <p>Sets the font for printing the page header. If
969
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is supplied, the default font (i.e. the one being used for the
970
+ text) will be used instead.</p>
971
+ <p><em class="parameter"><code>font_name</code></em>
972
+ should be a
973
+ string representation of a font description Pango can understand.
974
+ (e.g. "Monospace 10"). See <a href="/opt/gnome/share/gtk-doc/html/pango/pango-Fonts.html#pango-font-description-from-string"><code class="function">pango_font_description_from_string()</code></a>
975
+ for a description of the format of the string representation.</p>
976
+ <p>This function cannot be called anymore after the first call to the
977
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
978
+ <div class="refsect3">
979
+ <a name="id-1.2.22.9.17.7"></a><h4>Parameters</h4>
980
+ <div class="informaltable"><table width="100%" border="0">
981
+ <colgroup>
982
+ <col width="150px" class="parameters_name">
983
+ <col class="parameters_description">
984
+ <col width="200px" class="parameters_annotations">
985
+ </colgroup>
986
+ <tbody>
987
+ <tr>
988
+ <td class="parameter_name"><p>compositor</p></td>
989
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
990
+ <td class="parameter_annotations"> </td>
991
+ </tr>
992
+ <tr>
993
+ <td class="parameter_name"><p>font_name</p></td>
994
+ <td class="parameter_description"><p> the name of the font for header text, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
995
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
996
+ </tr>
997
+ </tbody>
998
+ </table></div>
999
+ </div>
1000
+ <p class="since">Since 2.2</p>
1001
+ </div>
1002
+ <hr>
1003
+ <div class="refsect2">
1004
+ <a name="gtk-source-print-compositor-get-header-font-name"></a><h3>gtk_source_print_compositor_get_header_font_name ()</h3>
1005
+ <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
1006
+ gtk_source_print_compositor_get_header_font_name
1007
+ (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
1008
+ <p>Returns the name of the font used to print the page header.
1009
+ The returned string must be freed with <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
1010
+ <div class="refsect3">
1011
+ <a name="id-1.2.22.9.18.5"></a><h4>Parameters</h4>
1012
+ <div class="informaltable"><table width="100%" border="0">
1013
+ <colgroup>
1014
+ <col width="150px" class="parameters_name">
1015
+ <col class="parameters_description">
1016
+ <col width="200px" class="parameters_annotations">
1017
+ </colgroup>
1018
+ <tbody><tr>
1019
+ <td class="parameter_name"><p>compositor</p></td>
1020
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
1021
+ <td class="parameter_annotations"> </td>
1022
+ </tr></tbody>
1023
+ </table></div>
1024
+ </div>
1025
+ <div class="refsect3">
1026
+ <a name="id-1.2.22.9.18.6"></a><h4>Returns</h4>
1027
+ <p> a new string containing the name of the font used to print
1028
+ the page header.</p>
1029
+ <p></p>
1030
+ </div>
1031
+ <p class="since">Since 2.2</p>
1032
+ </div>
1033
+ <hr>
1034
+ <div class="refsect2">
1035
+ <a name="gtk-source-print-compositor-set-footer-font-name"></a><h3>gtk_source_print_compositor_set_footer_font_name ()</h3>
1036
+ <pre class="programlisting"><span class="returnvalue">void</span>
1037
+ gtk_source_print_compositor_set_footer_font_name
1038
+ (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
1039
+ <em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *font_name</code></em>);</pre>
1040
+ <p>Sets the font for printing the page footer. If
1041
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is supplied, the default font (i.e. the one being used for the
1042
+ text) will be used instead.</p>
1043
+ <p><em class="parameter"><code>font_name</code></em>
1044
+ should be a
1045
+ string representation of a font description Pango can understand.
1046
+ (e.g. "Monospace 10"). See <a href="/opt/gnome/share/gtk-doc/html/pango/pango-Fonts.html#pango-font-description-from-string"><code class="function">pango_font_description_from_string()</code></a>
1047
+ for a description of the format of the string representation.</p>
1048
+ <p>This function cannot be called anymore after the first call to the
1049
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
1050
+ <div class="refsect3">
1051
+ <a name="id-1.2.22.9.19.7"></a><h4>Parameters</h4>
1052
+ <div class="informaltable"><table width="100%" border="0">
1053
+ <colgroup>
1054
+ <col width="150px" class="parameters_name">
1055
+ <col class="parameters_description">
1056
+ <col width="200px" class="parameters_annotations">
1057
+ </colgroup>
1058
+ <tbody>
1059
+ <tr>
1060
+ <td class="parameter_name"><p>compositor</p></td>
1061
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
1062
+ <td class="parameter_annotations"> </td>
1063
+ </tr>
1064
+ <tr>
1065
+ <td class="parameter_name"><p>font_name</p></td>
1066
+ <td class="parameter_description"><p> the name of the font for the footer text, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
1067
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
1068
+ </tr>
1069
+ </tbody>
1070
+ </table></div>
1071
+ </div>
1072
+ <p class="since">Since 2.2</p>
1073
+ </div>
1074
+ <hr>
1075
+ <div class="refsect2">
1076
+ <a name="gtk-source-print-compositor-get-footer-font-name"></a><h3>gtk_source_print_compositor_get_footer_font_name ()</h3>
1077
+ <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
1078
+ gtk_source_print_compositor_get_footer_font_name
1079
+ (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
1080
+ <p>Returns the name of the font used to print the page footer.
1081
+ The returned string must be freed with <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
1082
+ <div class="refsect3">
1083
+ <a name="id-1.2.22.9.20.5"></a><h4>Parameters</h4>
1084
+ <div class="informaltable"><table width="100%" border="0">
1085
+ <colgroup>
1086
+ <col width="150px" class="parameters_name">
1087
+ <col class="parameters_description">
1088
+ <col width="200px" class="parameters_annotations">
1089
+ </colgroup>
1090
+ <tbody><tr>
1091
+ <td class="parameter_name"><p>compositor</p></td>
1092
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
1093
+ <td class="parameter_annotations"> </td>
1094
+ </tr></tbody>
1095
+ </table></div>
1096
+ </div>
1097
+ <div class="refsect3">
1098
+ <a name="id-1.2.22.9.20.6"></a><h4>Returns</h4>
1099
+ <p> a new string containing the name of the font used to print
1100
+ the page footer.</p>
1101
+ <p></p>
1102
+ </div>
1103
+ <p class="since">Since 2.2</p>
1104
+ </div>
1105
+ <hr>
1106
+ <div class="refsect2">
1107
+ <a name="gtk-source-print-compositor-get-top-margin"></a><h3>gtk_source_print_compositor_get_top_margin ()</h3>
1108
+ <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
1109
+ gtk_source_print_compositor_get_top_margin
1110
+ (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
1111
+ <em class="parameter"><code><a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
1112
+ <p>Gets the top margin in units of <em class="parameter"><code>unit</code></em>
1113
+ .</p>
1114
+ <div class="refsect3">
1115
+ <a name="id-1.2.22.9.21.5"></a><h4>Parameters</h4>
1116
+ <div class="informaltable"><table width="100%" border="0">
1117
+ <colgroup>
1118
+ <col width="150px" class="parameters_name">
1119
+ <col class="parameters_description">
1120
+ <col width="200px" class="parameters_annotations">
1121
+ </colgroup>
1122
+ <tbody>
1123
+ <tr>
1124
+ <td class="parameter_name"><p>compositor</p></td>
1125
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
1126
+ <td class="parameter_annotations"> </td>
1127
+ </tr>
1128
+ <tr>
1129
+ <td class="parameter_name"><p>unit</p></td>
1130
+ <td class="parameter_description"><p>the unit for the return value.</p></td>
1131
+ <td class="parameter_annotations"> </td>
1132
+ </tr>
1133
+ </tbody>
1134
+ </table></div>
1135
+ </div>
1136
+ <div class="refsect3">
1137
+ <a name="id-1.2.22.9.21.6"></a><h4>Returns</h4>
1138
+ <p> the top margin.</p>
1139
+ <p></p>
1140
+ </div>
1141
+ <p class="since">Since 2.2</p>
1142
+ </div>
1143
+ <hr>
1144
+ <div class="refsect2">
1145
+ <a name="gtk-source-print-compositor-set-top-margin"></a><h3>gtk_source_print_compositor_set_top_margin ()</h3>
1146
+ <pre class="programlisting"><span class="returnvalue">void</span>
1147
+ gtk_source_print_compositor_set_top_margin
1148
+ (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
1149
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> margin</code></em>,
1150
+ <em class="parameter"><code><a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
1151
+ <p>Sets the top margin used by <em class="parameter"><code>compositor</code></em>
1152
+ .</p>
1153
+ <div class="refsect3">
1154
+ <a name="id-1.2.22.9.22.5"></a><h4>Parameters</h4>
1155
+ <div class="informaltable"><table width="100%" border="0">
1156
+ <colgroup>
1157
+ <col width="150px" class="parameters_name">
1158
+ <col class="parameters_description">
1159
+ <col width="200px" class="parameters_annotations">
1160
+ </colgroup>
1161
+ <tbody>
1162
+ <tr>
1163
+ <td class="parameter_name"><p>compositor</p></td>
1164
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
1165
+ <td class="parameter_annotations"> </td>
1166
+ </tr>
1167
+ <tr>
1168
+ <td class="parameter_name"><p>margin</p></td>
1169
+ <td class="parameter_description"><p>the new top margin in units of <em class="parameter"><code>unit</code></em>
1170
+ </p></td>
1171
+ <td class="parameter_annotations"> </td>
1172
+ </tr>
1173
+ <tr>
1174
+ <td class="parameter_name"><p>unit</p></td>
1175
+ <td class="parameter_description"><p>the units for <em class="parameter"><code>margin</code></em>
1176
+ </p></td>
1177
+ <td class="parameter_annotations"> </td>
1178
+ </tr>
1179
+ </tbody>
1180
+ </table></div>
1181
+ </div>
1182
+ <p class="since">Since 2.2</p>
1183
+ </div>
1184
+ <hr>
1185
+ <div class="refsect2">
1186
+ <a name="gtk-source-print-compositor-get-bottom-margin"></a><h3>gtk_source_print_compositor_get_bottom_margin ()</h3>
1187
+ <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
1188
+ gtk_source_print_compositor_get_bottom_margin
1189
+ (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
1190
+ <em class="parameter"><code><a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
1191
+ <p>Gets the bottom margin in units of <em class="parameter"><code>unit</code></em>
1192
+ .</p>
1193
+ <div class="refsect3">
1194
+ <a name="id-1.2.22.9.23.5"></a><h4>Parameters</h4>
1195
+ <div class="informaltable"><table width="100%" border="0">
1196
+ <colgroup>
1197
+ <col width="150px" class="parameters_name">
1198
+ <col class="parameters_description">
1199
+ <col width="200px" class="parameters_annotations">
1200
+ </colgroup>
1201
+ <tbody>
1202
+ <tr>
1203
+ <td class="parameter_name"><p>compositor</p></td>
1204
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
1205
+ <td class="parameter_annotations"> </td>
1206
+ </tr>
1207
+ <tr>
1208
+ <td class="parameter_name"><p>unit</p></td>
1209
+ <td class="parameter_description"><p>the unit for the return value.</p></td>
1210
+ <td class="parameter_annotations"> </td>
1211
+ </tr>
1212
+ </tbody>
1213
+ </table></div>
1214
+ </div>
1215
+ <div class="refsect3">
1216
+ <a name="id-1.2.22.9.23.6"></a><h4>Returns</h4>
1217
+ <p> the bottom margin.</p>
1218
+ <p></p>
1219
+ </div>
1220
+ <p class="since">Since 2.2</p>
1221
+ </div>
1222
+ <hr>
1223
+ <div class="refsect2">
1224
+ <a name="gtk-source-print-compositor-set-bottom-margin"></a><h3>gtk_source_print_compositor_set_bottom_margin ()</h3>
1225
+ <pre class="programlisting"><span class="returnvalue">void</span>
1226
+ gtk_source_print_compositor_set_bottom_margin
1227
+ (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
1228
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> margin</code></em>,
1229
+ <em class="parameter"><code><a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
1230
+ <p>Sets the bottom margin used by <em class="parameter"><code>compositor</code></em>
1231
+ .</p>
1232
+ <div class="refsect3">
1233
+ <a name="id-1.2.22.9.24.5"></a><h4>Parameters</h4>
1234
+ <div class="informaltable"><table width="100%" border="0">
1235
+ <colgroup>
1236
+ <col width="150px" class="parameters_name">
1237
+ <col class="parameters_description">
1238
+ <col width="200px" class="parameters_annotations">
1239
+ </colgroup>
1240
+ <tbody>
1241
+ <tr>
1242
+ <td class="parameter_name"><p>compositor</p></td>
1243
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
1244
+ <td class="parameter_annotations"> </td>
1245
+ </tr>
1246
+ <tr>
1247
+ <td class="parameter_name"><p>margin</p></td>
1248
+ <td class="parameter_description"><p>the new bottom margin in units of <em class="parameter"><code>unit</code></em>
1249
+ .</p></td>
1250
+ <td class="parameter_annotations"> </td>
1251
+ </tr>
1252
+ <tr>
1253
+ <td class="parameter_name"><p>unit</p></td>
1254
+ <td class="parameter_description"><p>the units for <em class="parameter"><code>margin</code></em>
1255
+ .</p></td>
1256
+ <td class="parameter_annotations"> </td>
1257
+ </tr>
1258
+ </tbody>
1259
+ </table></div>
1260
+ </div>
1261
+ <p class="since">Since 2.2</p>
1262
+ </div>
1263
+ <hr>
1264
+ <div class="refsect2">
1265
+ <a name="gtk-source-print-compositor-get-left-margin"></a><h3>gtk_source_print_compositor_get_left_margin ()</h3>
1266
+ <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
1267
+ gtk_source_print_compositor_get_left_margin
1268
+ (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
1269
+ <em class="parameter"><code><a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
1270
+ <p>Gets the left margin in units of <em class="parameter"><code>unit</code></em>
1271
+ .</p>
1272
+ <div class="refsect3">
1273
+ <a name="id-1.2.22.9.25.5"></a><h4>Parameters</h4>
1274
+ <div class="informaltable"><table width="100%" border="0">
1275
+ <colgroup>
1276
+ <col width="150px" class="parameters_name">
1277
+ <col class="parameters_description">
1278
+ <col width="200px" class="parameters_annotations">
1279
+ </colgroup>
1280
+ <tbody>
1281
+ <tr>
1282
+ <td class="parameter_name"><p>compositor</p></td>
1283
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
1284
+ <td class="parameter_annotations"> </td>
1285
+ </tr>
1286
+ <tr>
1287
+ <td class="parameter_name"><p>unit</p></td>
1288
+ <td class="parameter_description"><p>the unit for the return value.</p></td>
1289
+ <td class="parameter_annotations"> </td>
1290
+ </tr>
1291
+ </tbody>
1292
+ </table></div>
1293
+ </div>
1294
+ <div class="refsect3">
1295
+ <a name="id-1.2.22.9.25.6"></a><h4>Returns</h4>
1296
+ <p> the left margin</p>
1297
+ <p></p>
1298
+ </div>
1299
+ <p class="since">Since 2.2</p>
1300
+ </div>
1301
+ <hr>
1302
+ <div class="refsect2">
1303
+ <a name="gtk-source-print-compositor-set-left-margin"></a><h3>gtk_source_print_compositor_set_left_margin ()</h3>
1304
+ <pre class="programlisting"><span class="returnvalue">void</span>
1305
+ gtk_source_print_compositor_set_left_margin
1306
+ (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
1307
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> margin</code></em>,
1308
+ <em class="parameter"><code><a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
1309
+ <p>Sets the left margin used by <em class="parameter"><code>compositor</code></em>
1310
+ .</p>
1311
+ <div class="refsect3">
1312
+ <a name="id-1.2.22.9.26.5"></a><h4>Parameters</h4>
1313
+ <div class="informaltable"><table width="100%" border="0">
1314
+ <colgroup>
1315
+ <col width="150px" class="parameters_name">
1316
+ <col class="parameters_description">
1317
+ <col width="200px" class="parameters_annotations">
1318
+ </colgroup>
1319
+ <tbody>
1320
+ <tr>
1321
+ <td class="parameter_name"><p>compositor</p></td>
1322
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
1323
+ <td class="parameter_annotations"> </td>
1324
+ </tr>
1325
+ <tr>
1326
+ <td class="parameter_name"><p>margin</p></td>
1327
+ <td class="parameter_description"><p>the new left margin in units of <em class="parameter"><code>unit</code></em>
1328
+ .</p></td>
1329
+ <td class="parameter_annotations"> </td>
1330
+ </tr>
1331
+ <tr>
1332
+ <td class="parameter_name"><p>unit</p></td>
1333
+ <td class="parameter_description"><p>the units for <em class="parameter"><code>margin</code></em>
1334
+ .</p></td>
1335
+ <td class="parameter_annotations"> </td>
1336
+ </tr>
1337
+ </tbody>
1338
+ </table></div>
1339
+ </div>
1340
+ <p class="since">Since 2.2</p>
1341
+ </div>
1342
+ <hr>
1343
+ <div class="refsect2">
1344
+ <a name="gtk-source-print-compositor-get-right-margin"></a><h3>gtk_source_print_compositor_get_right_margin ()</h3>
1345
+ <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
1346
+ gtk_source_print_compositor_get_right_margin
1347
+ (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
1348
+ <em class="parameter"><code><a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
1349
+ <p>Gets the right margin in units of <em class="parameter"><code>unit</code></em>
1350
+ .</p>
1351
+ <div class="refsect3">
1352
+ <a name="id-1.2.22.9.27.5"></a><h4>Parameters</h4>
1353
+ <div class="informaltable"><table width="100%" border="0">
1354
+ <colgroup>
1355
+ <col width="150px" class="parameters_name">
1356
+ <col class="parameters_description">
1357
+ <col width="200px" class="parameters_annotations">
1358
+ </colgroup>
1359
+ <tbody>
1360
+ <tr>
1361
+ <td class="parameter_name"><p>compositor</p></td>
1362
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
1363
+ <td class="parameter_annotations"> </td>
1364
+ </tr>
1365
+ <tr>
1366
+ <td class="parameter_name"><p>unit</p></td>
1367
+ <td class="parameter_description"><p>the unit for the return value.</p></td>
1368
+ <td class="parameter_annotations"> </td>
1369
+ </tr>
1370
+ </tbody>
1371
+ </table></div>
1372
+ </div>
1373
+ <div class="refsect3">
1374
+ <a name="id-1.2.22.9.27.6"></a><h4>Returns</h4>
1375
+ <p> the right margin.</p>
1376
+ <p></p>
1377
+ </div>
1378
+ <p class="since">Since 2.2</p>
1379
+ </div>
1380
+ <hr>
1381
+ <div class="refsect2">
1382
+ <a name="gtk-source-print-compositor-set-right-margin"></a><h3>gtk_source_print_compositor_set_right_margin ()</h3>
1383
+ <pre class="programlisting"><span class="returnvalue">void</span>
1384
+ gtk_source_print_compositor_set_right_margin
1385
+ (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
1386
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> margin</code></em>,
1387
+ <em class="parameter"><code><a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkPaperSize.html#GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
1388
+ <p>Sets the right margin used by <em class="parameter"><code>compositor</code></em>
1389
+ .</p>
1390
+ <div class="refsect3">
1391
+ <a name="id-1.2.22.9.28.5"></a><h4>Parameters</h4>
1392
+ <div class="informaltable"><table width="100%" border="0">
1393
+ <colgroup>
1394
+ <col width="150px" class="parameters_name">
1395
+ <col class="parameters_description">
1396
+ <col width="200px" class="parameters_annotations">
1397
+ </colgroup>
1398
+ <tbody>
1399
+ <tr>
1400
+ <td class="parameter_name"><p>compositor</p></td>
1401
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
1402
+ <td class="parameter_annotations"> </td>
1403
+ </tr>
1404
+ <tr>
1405
+ <td class="parameter_name"><p>margin</p></td>
1406
+ <td class="parameter_description"><p>the new right margin in units of <em class="parameter"><code>unit</code></em>
1407
+ .</p></td>
1408
+ <td class="parameter_annotations"> </td>
1409
+ </tr>
1410
+ <tr>
1411
+ <td class="parameter_name"><p>unit</p></td>
1412
+ <td class="parameter_description"><p>the units for <em class="parameter"><code>margin</code></em>
1413
+ .</p></td>
1414
+ <td class="parameter_annotations"> </td>
1415
+ </tr>
1416
+ </tbody>
1417
+ </table></div>
1418
+ </div>
1419
+ <p class="since">Since 2.2</p>
1420
+ </div>
1421
+ <hr>
1422
+ <div class="refsect2">
1423
+ <a name="gtk-source-print-compositor-set-print-header"></a><h3>gtk_source_print_compositor_set_print_header ()</h3>
1424
+ <pre class="programlisting"><span class="returnvalue">void</span>
1425
+ gtk_source_print_compositor_set_print_header
1426
+ (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
1427
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> print</code></em>);</pre>
1428
+ <p>Sets whether you want to print a header in each page. The
1429
+ header consists of three pieces of text and an optional line
1430
+ separator, configurable with
1431
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-header-format" title="gtk_source_print_compositor_set_header_format ()"><code class="function">gtk_source_print_compositor_set_header_format()</code></a>.</p>
1432
+ <p>Note that by default the header format is unspecified, and if it's
1433
+ empty it will not be printed, regardless of this setting.</p>
1434
+ <p>This function cannot be called anymore after the first call to the
1435
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
1436
+ <div class="refsect3">
1437
+ <a name="id-1.2.22.9.29.7"></a><h4>Parameters</h4>
1438
+ <div class="informaltable"><table width="100%" border="0">
1439
+ <colgroup>
1440
+ <col width="150px" class="parameters_name">
1441
+ <col class="parameters_description">
1442
+ <col width="200px" class="parameters_annotations">
1443
+ </colgroup>
1444
+ <tbody>
1445
+ <tr>
1446
+ <td class="parameter_name"><p>compositor</p></td>
1447
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
1448
+ <td class="parameter_annotations"> </td>
1449
+ </tr>
1450
+ <tr>
1451
+ <td class="parameter_name"><p>print</p></td>
1452
+ <td class="parameter_description"><p><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if you want the header to be printed.</p></td>
1453
+ <td class="parameter_annotations"> </td>
1454
+ </tr>
1455
+ </tbody>
1456
+ </table></div>
1457
+ </div>
1458
+ <p class="since">Since 2.2</p>
1459
+ </div>
1460
+ <hr>
1461
+ <div class="refsect2">
1462
+ <a name="gtk-source-print-compositor-get-print-header"></a><h3>gtk_source_print_compositor_get_print_header ()</h3>
1463
+ <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1464
+ gtk_source_print_compositor_get_print_header
1465
+ (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
1466
+ <p>Determines if a header is set to be printed for each page. A
1467
+ header will be printed if this function returns <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>
1468
+ <span class="emphasis"><em>and</em></span> some format strings have been specified
1469
+ with <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-header-format" title="gtk_source_print_compositor_set_header_format ()"><code class="function">gtk_source_print_compositor_set_header_format()</code></a>.</p>
1470
+ <div class="refsect3">
1471
+ <a name="id-1.2.22.9.30.5"></a><h4>Parameters</h4>
1472
+ <div class="informaltable"><table width="100%" border="0">
1473
+ <colgroup>
1474
+ <col width="150px" class="parameters_name">
1475
+ <col class="parameters_description">
1476
+ <col width="200px" class="parameters_annotations">
1477
+ </colgroup>
1478
+ <tbody><tr>
1479
+ <td class="parameter_name"><p>compositor</p></td>
1480
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
1481
+ <td class="parameter_annotations"> </td>
1482
+ </tr></tbody>
1483
+ </table></div>
1484
+ </div>
1485
+ <div class="refsect3">
1486
+ <a name="id-1.2.22.9.30.6"></a><h4>Returns</h4>
1487
+ <p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the header is set to be printed.</p>
1488
+ <p></p>
1489
+ </div>
1490
+ <p class="since">Since 2.2</p>
1491
+ </div>
1492
+ <hr>
1493
+ <div class="refsect2">
1494
+ <a name="gtk-source-print-compositor-set-print-footer"></a><h3>gtk_source_print_compositor_set_print_footer ()</h3>
1495
+ <pre class="programlisting"><span class="returnvalue">void</span>
1496
+ gtk_source_print_compositor_set_print_footer
1497
+ (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
1498
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> print</code></em>);</pre>
1499
+ <p>Sets whether you want to print a footer in each page. The
1500
+ footer consists of three pieces of text and an optional line
1501
+ separator, configurable with
1502
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-footer-format" title="gtk_source_print_compositor_set_footer_format ()"><code class="function">gtk_source_print_compositor_set_footer_format()</code></a>.</p>
1503
+ <p>Note that by default the footer format is unspecified, and if it's
1504
+ empty it will not be printed, regardless of this setting.</p>
1505
+ <p>This function cannot be called anymore after the first call to the
1506
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
1507
+ <div class="refsect3">
1508
+ <a name="id-1.2.22.9.31.7"></a><h4>Parameters</h4>
1509
+ <div class="informaltable"><table width="100%" border="0">
1510
+ <colgroup>
1511
+ <col width="150px" class="parameters_name">
1512
+ <col class="parameters_description">
1513
+ <col width="200px" class="parameters_annotations">
1514
+ </colgroup>
1515
+ <tbody>
1516
+ <tr>
1517
+ <td class="parameter_name"><p>compositor</p></td>
1518
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
1519
+ <td class="parameter_annotations"> </td>
1520
+ </tr>
1521
+ <tr>
1522
+ <td class="parameter_name"><p>print</p></td>
1523
+ <td class="parameter_description"><p><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if you want the footer to be printed.</p></td>
1524
+ <td class="parameter_annotations"> </td>
1525
+ </tr>
1526
+ </tbody>
1527
+ </table></div>
1528
+ </div>
1529
+ <p class="since">Since 2.2</p>
1530
+ </div>
1531
+ <hr>
1532
+ <div class="refsect2">
1533
+ <a name="gtk-source-print-compositor-get-print-footer"></a><h3>gtk_source_print_compositor_get_print_footer ()</h3>
1534
+ <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1535
+ gtk_source_print_compositor_get_print_footer
1536
+ (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
1537
+ <p>Determines if a footer is set to be printed for each page. A
1538
+ footer will be printed if this function returns <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>
1539
+ <span class="emphasis"><em>and</em></span> some format strings have been specified
1540
+ with <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-footer-format" title="gtk_source_print_compositor_set_footer_format ()"><code class="function">gtk_source_print_compositor_set_footer_format()</code></a>.</p>
1541
+ <div class="refsect3">
1542
+ <a name="id-1.2.22.9.32.5"></a><h4>Parameters</h4>
1543
+ <div class="informaltable"><table width="100%" border="0">
1544
+ <colgroup>
1545
+ <col width="150px" class="parameters_name">
1546
+ <col class="parameters_description">
1547
+ <col width="200px" class="parameters_annotations">
1548
+ </colgroup>
1549
+ <tbody><tr>
1550
+ <td class="parameter_name"><p>compositor</p></td>
1551
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
1552
+ <td class="parameter_annotations"> </td>
1553
+ </tr></tbody>
1554
+ </table></div>
1555
+ </div>
1556
+ <div class="refsect3">
1557
+ <a name="id-1.2.22.9.32.6"></a><h4>Returns</h4>
1558
+ <p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the footer is set to be printed.</p>
1559
+ <p></p>
1560
+ </div>
1561
+ <p class="since">Since 2.2</p>
1562
+ </div>
1563
+ <hr>
1564
+ <div class="refsect2">
1565
+ <a name="gtk-source-print-compositor-set-header-format"></a><h3>gtk_source_print_compositor_set_header_format ()</h3>
1566
+ <pre class="programlisting"><span class="returnvalue">void</span>
1567
+ gtk_source_print_compositor_set_header_format
1568
+ (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
1569
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> separator</code></em>,
1570
+ <em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *left</code></em>,
1571
+ <em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *center</code></em>,
1572
+ <em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *right</code></em>);</pre>
1573
+ <p>Sets strftime like header format strings, to be printed on the
1574
+ left, center and right of the top of each page. The strings may
1575
+ include strftime(3) codes which will be expanded at print time.
1576
+ All <code class="function">strftime()</code> codes are accepted, with the addition of #N for the
1577
+ page number and #Q for the page count.</p>
1578
+ <p><em class="parameter"><code>separator</code></em>
1579
+ specifies if a solid line should be drawn to separate
1580
+ the header from the document text.</p>
1581
+ <p>If <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is given for any of the three arguments, that particular
1582
+ string will not be printed.</p>
1583
+ <p>For the header to be printed, in
1584
+ addition to specifying format strings, you need to enable header
1585
+ printing with <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-print-header" title="gtk_source_print_compositor_set_print_header ()"><code class="function">gtk_source_print_compositor_set_print_header()</code></a>.</p>
1586
+ <p>This function cannot be called anymore after the first call to the
1587
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
1588
+ <div class="refsect3">
1589
+ <a name="id-1.2.22.9.33.9"></a><h4>Parameters</h4>
1590
+ <div class="informaltable"><table width="100%" border="0">
1591
+ <colgroup>
1592
+ <col width="150px" class="parameters_name">
1593
+ <col class="parameters_description">
1594
+ <col width="200px" class="parameters_annotations">
1595
+ </colgroup>
1596
+ <tbody>
1597
+ <tr>
1598
+ <td class="parameter_name"><p>compositor</p></td>
1599
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
1600
+ <td class="parameter_annotations"> </td>
1601
+ </tr>
1602
+ <tr>
1603
+ <td class="parameter_name"><p>separator</p></td>
1604
+ <td class="parameter_description"><p><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if you want a separator line to be printed.</p></td>
1605
+ <td class="parameter_annotations"> </td>
1606
+ </tr>
1607
+ <tr>
1608
+ <td class="parameter_name"><p>left</p></td>
1609
+ <td class="parameter_description"><p> a format string to print on the left of the header. </p></td>
1610
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
1611
+ </tr>
1612
+ <tr>
1613
+ <td class="parameter_name"><p>center</p></td>
1614
+ <td class="parameter_description"><p> a format string to print on the center of the header. </p></td>
1615
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
1616
+ </tr>
1617
+ <tr>
1618
+ <td class="parameter_name"><p>right</p></td>
1619
+ <td class="parameter_description"><p> a format string to print on the right of the header. </p></td>
1620
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
1621
+ </tr>
1622
+ </tbody>
1623
+ </table></div>
1624
+ </div>
1625
+ <p class="since">Since 2.2</p>
1626
+ </div>
1627
+ <hr>
1628
+ <div class="refsect2">
1629
+ <a name="gtk-source-print-compositor-set-footer-format"></a><h3>gtk_source_print_compositor_set_footer_format ()</h3>
1630
+ <pre class="programlisting"><span class="returnvalue">void</span>
1631
+ gtk_source_print_compositor_set_footer_format
1632
+ (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
1633
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> separator</code></em>,
1634
+ <em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *left</code></em>,
1635
+ <em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *center</code></em>,
1636
+ <em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *right</code></em>);</pre>
1637
+ <p>Sets strftime like header format strings, to be printed on the
1638
+ left, center and right of the bottom of each page. The strings may
1639
+ include strftime(3) codes which will be expanded at print time.
1640
+ All <code class="function">strftime()</code> codes are accepted, with the addition of #N for the
1641
+ page number and #Q for the page count.</p>
1642
+ <p><em class="parameter"><code>separator</code></em>
1643
+ specifies if a solid line should be drawn to separate
1644
+ the footer from the document text.</p>
1645
+ <p>If <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is given for any of the three arguments, that particular
1646
+ string will not be printed.</p>
1647
+ <p>For the footer to be printed, in
1648
+ addition to specifying format strings, you need to enable footer
1649
+ printing with <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-print-footer" title="gtk_source_print_compositor_set_print_footer ()"><code class="function">gtk_source_print_compositor_set_print_footer()</code></a>.</p>
1650
+ <p>This function cannot be called anymore after the first call to the
1651
+ <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
1652
+ <div class="refsect3">
1653
+ <a name="id-1.2.22.9.34.9"></a><h4>Parameters</h4>
1654
+ <div class="informaltable"><table width="100%" border="0">
1655
+ <colgroup>
1656
+ <col width="150px" class="parameters_name">
1657
+ <col class="parameters_description">
1658
+ <col width="200px" class="parameters_annotations">
1659
+ </colgroup>
1660
+ <tbody>
1661
+ <tr>
1662
+ <td class="parameter_name"><p>compositor</p></td>
1663
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
1664
+ <td class="parameter_annotations"> </td>
1665
+ </tr>
1666
+ <tr>
1667
+ <td class="parameter_name"><p>separator</p></td>
1668
+ <td class="parameter_description"><p><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if you want a separator line to be printed.</p></td>
1669
+ <td class="parameter_annotations"> </td>
1670
+ </tr>
1671
+ <tr>
1672
+ <td class="parameter_name"><p>left</p></td>
1673
+ <td class="parameter_description"><p> a format string to print on the left of the footer. </p></td>
1674
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
1675
+ </tr>
1676
+ <tr>
1677
+ <td class="parameter_name"><p>center</p></td>
1678
+ <td class="parameter_description"><p> a format string to print on the center of the footer. </p></td>
1679
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
1680
+ </tr>
1681
+ <tr>
1682
+ <td class="parameter_name"><p>right</p></td>
1683
+ <td class="parameter_description"><p> a format string to print on the right of the footer. </p></td>
1684
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
1685
+ </tr>
1686
+ </tbody>
1687
+ </table></div>
1688
+ </div>
1689
+ <p class="since">Since 2.2</p>
1690
+ </div>
1691
+ <hr>
1692
+ <div class="refsect2">
1693
+ <a name="gtk-source-print-compositor-get-n-pages"></a><h3>gtk_source_print_compositor_get_n_pages ()</h3>
1694
+ <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
1695
+ gtk_source_print_compositor_get_n_pages
1696
+ (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
1697
+ <p>Returns the number of pages in the document or <code class="code">-1</code> if the
1698
+ document has not been completely paginated.</p>
1699
+ <div class="refsect3">
1700
+ <a name="id-1.2.22.9.35.5"></a><h4>Parameters</h4>
1701
+ <div class="informaltable"><table width="100%" border="0">
1702
+ <colgroup>
1703
+ <col width="150px" class="parameters_name">
1704
+ <col class="parameters_description">
1705
+ <col width="200px" class="parameters_annotations">
1706
+ </colgroup>
1707
+ <tbody><tr>
1708
+ <td class="parameter_name"><p>compositor</p></td>
1709
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
1710
+ <td class="parameter_annotations"> </td>
1711
+ </tr></tbody>
1712
+ </table></div>
1713
+ </div>
1714
+ <div class="refsect3">
1715
+ <a name="id-1.2.22.9.35.6"></a><h4>Returns</h4>
1716
+ <p> the number of pages in the document or <code class="code">-1</code> if the
1717
+ document has not been completely paginated.</p>
1718
+ <p></p>
1719
+ </div>
1720
+ <p class="since">Since 2.2</p>
1721
+ </div>
1722
+ <hr>
1723
+ <div class="refsect2">
1724
+ <a name="gtk-source-print-compositor-paginate"></a><h3>gtk_source_print_compositor_paginate ()</h3>
1725
+ <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1726
+ gtk_source_print_compositor_paginate (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
1727
+ <em class="parameter"><code><a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkPrintContext.html"><span class="type">GtkPrintContext</span></a> *context</code></em>);</pre>
1728
+ <p>Paginate the document associated with the <em class="parameter"><code>compositor</code></em>
1729
+ .</p>
1730
+ <p>In order to support non-blocking pagination, document is paginated in small chunks.
1731
+ Each time <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> is invoked, a chunk of the document
1732
+ is paginated. To paginate the entire document, <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a>
1733
+ must be invoked multiple times.
1734
+ It returns <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the document has been completely paginated, otherwise it returns <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p>
1735
+ <p>This method has been designed to be invoked in the handler of the <a href="/opt/gnome/share/gtk-doc/html/gtk3/gtk3-High-level-Printing-API.html#GtkPrintOperation-paginate"><span class="type">“paginate”</span></a> signal,
1736
+ as shown in the following example:</p>
1737
+ <div class="informalexample">
1738
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
1739
+ <tbody>
1740
+ <tr>
1741
+ <td class="listing_lines" align="right"><pre>1
1742
+ 2
1743
+ 3
1744
+ 4
1745
+ 5
1746
+ 6
1747
+ 7
1748
+ 8
1749
+ 9
1750
+ 10
1751
+ 11
1752
+ 12
1753
+ 13
1754
+ 14
1755
+ 15
1756
+ 16
1757
+ 17
1758
+ 18
1759
+ 19
1760
+ 20
1761
+ 21
1762
+ 22
1763
+ 23</pre></td>
1764
+ <td class="listing_code"><pre class="programlisting"><span class="comment">// Signal handler for the GtkPrintOperation::paginate signal</span>
1765
+
1766
+ <span class="keyword">static</span><span class="normal"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a></span>
1767
+ <span class="function">paginate</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkPrintOperation</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">operation</span><span class="symbol">,</span>
1768
+ <span class="normal"> </span><span class="usertype">GtkPrintContext</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">context</span><span class="symbol">,</span>
1769
+ <span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
1770
+ <span class="cbracket">{</span>
1771
+ <span class="normal"> </span><span class="usertype">GtkSourcePrintCompositor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">compositor</span><span class="symbol">;</span>
1772
+
1773
+ <span class="normal"> compositor </span><span class="symbol">=</span><span class="normal"> </span><span class="function">GTK_SOURCE_PRINT_COMPOSITOR</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">user_data</span><span class="symbol">);</span>
1774
+
1775
+ <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate">gtk_source_print_compositor_paginate</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">compositor</span><span class="symbol">,</span><span class="normal"> context</span><span class="symbol">))</span>
1776
+ <span class="normal"> </span><span class="cbracket">{</span>
1777
+ <span class="normal"> </span><span class="usertype">gint</span><span class="normal"> n_pages</span><span class="symbol">;</span>
1778
+
1779
+ <span class="normal"> n_pages </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-n-pages">gtk_source_print_compositor_get_n_pages</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">compositor</span><span class="symbol">);</span>
1780
+ <span class="normal"> </span><span class="function"><a href="/opt/gnome/share/gtk-doc/html/gtk3/gtk3-High-level-Printing-API.html#gtk-print-operation-set-n-pages">gtk_print_operation_set_n_pages</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">operation</span><span class="symbol">,</span><span class="normal"> n_pages</span><span class="symbol">);</span>
1781
+
1782
+ <span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS">TRUE</a></span><span class="symbol">;</span>
1783
+ <span class="normal"> </span><span class="cbracket">}</span>
1784
+
1785
+ <span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">;</span>
1786
+ <span class="cbracket">}</span></pre></td>
1787
+ </tr>
1788
+ </tbody>
1789
+ </table>
1790
+ </div>
1791
+
1792
+ <p>If you don't need to do pagination in chunks, you can simply do it all in the
1793
+ <a href="/opt/gnome/share/gtk-doc/html/gtk3/gtk3-High-level-Printing-API.html#GtkPrintOperation-begin-print"><span class="type">“begin-print”</span></a> handler, and set the number of pages from there, like
1794
+ in the following example:</p>
1795
+ <div class="informalexample">
1796
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
1797
+ <tbody>
1798
+ <tr>
1799
+ <td class="listing_lines" align="right"><pre>1
1800
+ 2
1801
+ 3
1802
+ 4
1803
+ 5
1804
+ 6
1805
+ 7
1806
+ 8
1807
+ 9
1808
+ 10
1809
+ 11
1810
+ 12
1811
+ 13
1812
+ 14
1813
+ 15
1814
+ 16
1815
+ 17</pre></td>
1816
+ <td class="listing_code"><pre class="programlisting"><span class="comment">// Signal handler for the GtkPrintOperation::begin-print signal</span>
1817
+
1818
+ <span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
1819
+ <span class="function">begin_print</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkPrintOperation</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">operation</span><span class="symbol">,</span>
1820
+ <span class="normal"> </span><span class="usertype">GtkPrintContext</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">context</span><span class="symbol">,</span>
1821
+ <span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
1822
+ <span class="cbracket">{</span>
1823
+ <span class="normal"> </span><span class="usertype">GtkSourcePrintCompositor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">compositor</span><span class="symbol">;</span>
1824
+ <span class="normal"> </span><span class="usertype">gint</span><span class="normal"> n_pages</span><span class="symbol">;</span>
1825
+
1826
+ <span class="normal"> compositor </span><span class="symbol">=</span><span class="normal"> </span><span class="function">GTK_SOURCE_PRINT_COMPOSITOR</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">user_data</span><span class="symbol">);</span>
1827
+
1828
+ <span class="normal"> </span><span class="keyword">while</span><span class="normal"> </span><span class="symbol">(!</span><span class="function"><a href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate">gtk_source_print_compositor_paginate</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">compositor</span><span class="symbol">,</span><span class="normal"> context</span><span class="symbol">));</span>
1829
+
1830
+ <span class="normal"> n_pages </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-n-pages">gtk_source_print_compositor_get_n_pages</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">compositor</span><span class="symbol">);</span>
1831
+ <span class="normal"> </span><span class="function"><a href="/opt/gnome/share/gtk-doc/html/gtk3/gtk3-High-level-Printing-API.html#gtk-print-operation-set-n-pages">gtk_print_operation_set_n_pages</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">operation</span><span class="symbol">,</span><span class="normal"> n_pages</span><span class="symbol">);</span>
1832
+ <span class="cbracket">}</span></pre></td>
1833
+ </tr>
1834
+ </tbody>
1835
+ </table>
1836
+ </div>
1837
+
1838
+ <div class="refsect3">
1839
+ <a name="id-1.2.22.9.36.10"></a><h4>Parameters</h4>
1840
+ <div class="informaltable"><table width="100%" border="0">
1841
+ <colgroup>
1842
+ <col width="150px" class="parameters_name">
1843
+ <col class="parameters_description">
1844
+ <col width="200px" class="parameters_annotations">
1845
+ </colgroup>
1846
+ <tbody>
1847
+ <tr>
1848
+ <td class="parameter_name"><p>compositor</p></td>
1849
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
1850
+ <td class="parameter_annotations"> </td>
1851
+ </tr>
1852
+ <tr>
1853
+ <td class="parameter_name"><p>context</p></td>
1854
+ <td class="parameter_description"><p>the <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkPrintContext.html"><span class="type">GtkPrintContext</span></a> whose parameters (e.g. paper size, print margins, etc.)
1855
+ are used by the the <em class="parameter"><code>compositor</code></em>
1856
+ to paginate the document.</p></td>
1857
+ <td class="parameter_annotations"> </td>
1858
+ </tr>
1859
+ </tbody>
1860
+ </table></div>
1861
+ </div>
1862
+ <div class="refsect3">
1863
+ <a name="id-1.2.22.9.36.11"></a><h4>Returns</h4>
1864
+ <p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the document has been completely paginated, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
1865
+ <p></p>
1866
+ </div>
1867
+ <p class="since">Since 2.2</p>
1868
+ </div>
1869
+ <hr>
1870
+ <div class="refsect2">
1871
+ <a name="gtk-source-print-compositor-get-pagination-progress"></a><h3>gtk_source_print_compositor_get_pagination_progress ()</h3>
1872
+ <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
1873
+ gtk_source_print_compositor_get_pagination_progress
1874
+ (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
1875
+ <p>Returns the current fraction of the document pagination that has been completed.</p>
1876
+ <div class="refsect3">
1877
+ <a name="id-1.2.22.9.37.5"></a><h4>Parameters</h4>
1878
+ <div class="informaltable"><table width="100%" border="0">
1879
+ <colgroup>
1880
+ <col width="150px" class="parameters_name">
1881
+ <col class="parameters_description">
1882
+ <col width="200px" class="parameters_annotations">
1883
+ </colgroup>
1884
+ <tbody><tr>
1885
+ <td class="parameter_name"><p>compositor</p></td>
1886
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
1887
+ <td class="parameter_annotations"> </td>
1888
+ </tr></tbody>
1889
+ </table></div>
1890
+ </div>
1891
+ <div class="refsect3">
1892
+ <a name="id-1.2.22.9.37.6"></a><h4>Returns</h4>
1893
+ <p> a fraction from 0.0 to 1.0 inclusive.</p>
1894
+ <p></p>
1895
+ </div>
1896
+ <p class="since">Since 2.2</p>
1897
+ </div>
1898
+ <hr>
1899
+ <div class="refsect2">
1900
+ <a name="gtk-source-print-compositor-draw-page"></a><h3>gtk_source_print_compositor_draw_page ()</h3>
1901
+ <pre class="programlisting"><span class="returnvalue">void</span>
1902
+ gtk_source_print_compositor_draw_page (<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
1903
+ <em class="parameter"><code><a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkPrintContext.html"><span class="type">GtkPrintContext</span></a> *context</code></em>,
1904
+ <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> page_nr</code></em>);</pre>
1905
+ <p>Draw page <em class="parameter"><code>page_nr</code></em>
1906
+ for printing on the the Cairo context encapsuled in <em class="parameter"><code>context</code></em>
1907
+ .</p>
1908
+ <p>This method has been designed to be called in the handler of the <a href="/opt/gnome/share/gtk-doc/html/gtk3/gtk3-High-level-Printing-API.html#GtkPrintOperation-draw-page"><span class="type">“draw_page”</span></a> signal
1909
+ as shown in the following example:</p>
1910
+ <div class="informalexample">
1911
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
1912
+ <tbody>
1913
+ <tr>
1914
+ <td class="listing_lines" align="right"><pre>1
1915
+ 2
1916
+ 3
1917
+ 4
1918
+ 5
1919
+ 6
1920
+ 7
1921
+ 8
1922
+ 9
1923
+ 10
1924
+ 11
1925
+ 12
1926
+ 13
1927
+ 14
1928
+ 15
1929
+ 16</pre></td>
1930
+ <td class="listing_code"><pre class="programlisting"><span class="comment">// Signal handler for the GtkPrintOperation::draw_page signal</span>
1931
+
1932
+ <span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
1933
+ <span class="function">draw_page</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkPrintOperation</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">operation</span><span class="symbol">,</span>
1934
+ <span class="normal"> </span><span class="usertype">GtkPrintContext</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">context</span><span class="symbol">,</span>
1935
+ <span class="normal"> </span><span class="usertype">gint</span><span class="normal"> page_nr</span><span class="symbol">,</span>
1936
+ <span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
1937
+ <span class="cbracket">{</span>
1938
+ <span class="normal"> </span><span class="usertype">GtkSourcePrintCompositor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">compositor</span><span class="symbol">;</span>
1939
+
1940
+ <span class="normal"> compositor </span><span class="symbol">=</span><span class="normal"> </span><span class="function">GTK_SOURCE_PRINT_COMPOSITOR</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">user_data</span><span class="symbol">);</span>
1941
+
1942
+ <span class="normal"> </span><span class="function"><a href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-draw-page">gtk_source_print_compositor_draw_page</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">compositor</span><span class="symbol">,</span>
1943
+ <span class="normal"> context</span><span class="symbol">,</span>
1944
+ <span class="normal"> page_nr</span><span class="symbol">);</span>
1945
+ <span class="cbracket">}</span></pre></td>
1946
+ </tr>
1947
+ </tbody>
1948
+ </table>
1949
+ </div>
1950
+
1951
+ <div class="refsect3">
1952
+ <a name="id-1.2.22.9.38.7"></a><h4>Parameters</h4>
1953
+ <div class="informaltable"><table width="100%" border="0">
1954
+ <colgroup>
1955
+ <col width="150px" class="parameters_name">
1956
+ <col class="parameters_description">
1957
+ <col width="200px" class="parameters_annotations">
1958
+ </colgroup>
1959
+ <tbody>
1960
+ <tr>
1961
+ <td class="parameter_name"><p>compositor</p></td>
1962
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a>.</p></td>
1963
+ <td class="parameter_annotations"> </td>
1964
+ </tr>
1965
+ <tr>
1966
+ <td class="parameter_name"><p>context</p></td>
1967
+ <td class="parameter_description"><p>the <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkPrintContext.html"><span class="type">GtkPrintContext</span></a> encapsulating the context information that is required when
1968
+ drawing the page for printing.</p></td>
1969
+ <td class="parameter_annotations"> </td>
1970
+ </tr>
1971
+ <tr>
1972
+ <td class="parameter_name"><p>page_nr</p></td>
1973
+ <td class="parameter_description"><p>the number of the page to print.</p></td>
1974
+ <td class="parameter_annotations"> </td>
1975
+ </tr>
1976
+ </tbody>
1977
+ </table></div>
1978
+ </div>
1979
+ </div>
1980
+ </div>
1981
+ <div class="refsect1">
1982
+ <a name="GtkSourcePrintCompositor.other_details"></a><h2>Types and Values</h2>
1983
+ <div class="refsect2">
1984
+ <a name="GtkSourcePrintCompositor-struct"></a><h3>GtkSourcePrintCompositor</h3>
1985
+ <pre class="programlisting">typedef struct _GtkSourcePrintCompositor GtkSourcePrintCompositor;</pre>
1986
+ </div>
1987
+ </div>
1988
+ <div class="refsect1">
1989
+ <a name="GtkSourcePrintCompositor.property-details"></a><h2>Property Details</h2>
1990
+ <div class="refsect2">
1991
+ <a name="GtkSourcePrintCompositor--body-font-name"></a><h3>The <code class="literal">“body-font-name”</code> property</h3>
1992
+ <pre class="programlisting"> “body-font-name” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
1993
+ <p>Name of the font used for the text body.</p>
1994
+ <p>Accepted values are strings representing a font description Pango can understand.
1995
+ (e.g. "Monospace 10"). See <a href="/opt/gnome/share/gtk-doc/html/pango/pango-Fonts.html#pango-font-description-from-string"><code class="function">pango_font_description_from_string()</code></a>
1996
+ for a description of the format of the string representation.</p>
1997
+ <p>The value of this property cannot be changed anymore after the first
1998
+ call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
1999
+ <p>Flags: Read / Write</p>
2000
+ <p>Default value: NULL</p>
2001
+ <p class="since">Since 2.2</p>
2002
+ </div>
2003
+ <hr>
2004
+ <div class="refsect2">
2005
+ <a name="GtkSourcePrintCompositor--buffer"></a><h3>The <code class="literal">“buffer”</code> property</h3>
2006
+ <pre class="programlisting"> “buffer” <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *</pre>
2007
+ <p>The GtkSourceBuffer object to print.</p>
2008
+ <p>Flags: Read / Write / Construct Only</p>
2009
+ <p class="since">Since 2.2</p>
2010
+ </div>
2011
+ <hr>
2012
+ <div class="refsect2">
2013
+ <a name="GtkSourcePrintCompositor--footer-font-name"></a><h3>The <code class="literal">“footer-font-name”</code> property</h3>
2014
+ <pre class="programlisting"> “footer-font-name” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
2015
+ <p>Name of the font used to print page footer.
2016
+ If this property is unspecified, the text body font is used.</p>
2017
+ <p>Accepted values are strings representing a font description Pango can understand.
2018
+ (e.g. "Monospace 10"). See <a href="/opt/gnome/share/gtk-doc/html/pango/pango-Fonts.html#pango-font-description-from-string"><code class="function">pango_font_description_from_string()</code></a>
2019
+ for a description of the format of the string representation.</p>
2020
+ <p>The value of this property cannot be changed anymore after the first
2021
+ call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
2022
+ <p>Flags: Read / Write</p>
2023
+ <p>Default value: NULL</p>
2024
+ <p class="since">Since 2.2</p>
2025
+ </div>
2026
+ <hr>
2027
+ <div class="refsect2">
2028
+ <a name="GtkSourcePrintCompositor--header-font-name"></a><h3>The <code class="literal">“header-font-name”</code> property</h3>
2029
+ <pre class="programlisting"> “header-font-name” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
2030
+ <p>Name of the font used to print page header.
2031
+ If this property is unspecified, the text body font is used.</p>
2032
+ <p>Accepted values are strings representing a font description Pango can understand.
2033
+ (e.g. "Monospace 10"). See <a href="/opt/gnome/share/gtk-doc/html/pango/pango-Fonts.html#pango-font-description-from-string"><code class="function">pango_font_description_from_string()</code></a>
2034
+ for a description of the format of the string representation.</p>
2035
+ <p>The value of this property cannot be changed anymore after the first
2036
+ call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
2037
+ <p>Flags: Read / Write</p>
2038
+ <p>Default value: NULL</p>
2039
+ <p class="since">Since 2.2</p>
2040
+ </div>
2041
+ <hr>
2042
+ <div class="refsect2">
2043
+ <a name="GtkSourcePrintCompositor--highlight-syntax"></a><h3>The <code class="literal">“highlight-syntax”</code> property</h3>
2044
+ <pre class="programlisting"> “highlight-syntax” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
2045
+ <p>Whether to print the document with highlighted syntax.</p>
2046
+ <p>The value of this property cannot be changed anymore after the first
2047
+ call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
2048
+ <p>Flags: Read / Write</p>
2049
+ <p>Default value: TRUE</p>
2050
+ <p class="since">Since 2.2</p>
2051
+ </div>
2052
+ <hr>
2053
+ <div class="refsect2">
2054
+ <a name="GtkSourcePrintCompositor--line-numbers-font-name"></a><h3>The <code class="literal">“line-numbers-font-name”</code> property</h3>
2055
+ <pre class="programlisting"> “line-numbers-font-name” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
2056
+ <p>Name of the font used to print line numbers on the left margin.
2057
+ If this property is unspecified, the text body font is used.</p>
2058
+ <p>Accepted values are strings representing a font description Pango can understand.
2059
+ (e.g. "Monospace 10"). See <a href="/opt/gnome/share/gtk-doc/html/pango/pango-Fonts.html#pango-font-description-from-string"><code class="function">pango_font_description_from_string()</code></a>
2060
+ for a description of the format of the string representation.</p>
2061
+ <p>The value of this property cannot be changed anymore after the first
2062
+ call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
2063
+ <p>Flags: Read / Write</p>
2064
+ <p>Default value: NULL</p>
2065
+ <p class="since">Since 2.2</p>
2066
+ </div>
2067
+ <hr>
2068
+ <div class="refsect2">
2069
+ <a name="GtkSourcePrintCompositor--n-pages"></a><h3>The <code class="literal">“n-pages”</code> property</h3>
2070
+ <pre class="programlisting"> “n-pages” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
2071
+ <p>The number of pages in the document or <code class="code">-1</code> if the
2072
+ document has not been completely paginated.</p>
2073
+ <p>Flags: Read</p>
2074
+ <p>Allowed values: &gt;= -1</p>
2075
+ <p>Default value: -1</p>
2076
+ <p class="since">Since 2.2</p>
2077
+ </div>
2078
+ <hr>
2079
+ <div class="refsect2">
2080
+ <a name="GtkSourcePrintCompositor--print-footer"></a><h3>The <code class="literal">“print-footer”</code> property</h3>
2081
+ <pre class="programlisting"> “print-footer” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
2082
+ <p>Whether to print a footer in each page.</p>
2083
+ <p>Note that by default the footer format is unspecified, and if it is
2084
+ unspecified the footer will not be printed, regardless of the value of
2085
+ this property.</p>
2086
+ <p>The value of this property cannot be changed anymore after the first
2087
+ call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
2088
+ <p>Flags: Read / Write</p>
2089
+ <p>Default value: FALSE</p>
2090
+ <p class="since">Since 2.2</p>
2091
+ </div>
2092
+ <hr>
2093
+ <div class="refsect2">
2094
+ <a name="GtkSourcePrintCompositor--print-header"></a><h3>The <code class="literal">“print-header”</code> property</h3>
2095
+ <pre class="programlisting"> “print-header” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
2096
+ <p>Whether to print a header in each page.</p>
2097
+ <p>Note that by default the header format is unspecified, and if it is
2098
+ unspecified the header will not be printed, regardless of the value of
2099
+ this property.</p>
2100
+ <p>The value of this property cannot be changed anymore after the first
2101
+ call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
2102
+ <p>Flags: Read / Write</p>
2103
+ <p>Default value: FALSE</p>
2104
+ <p class="since">Since 2.2</p>
2105
+ </div>
2106
+ <hr>
2107
+ <div class="refsect2">
2108
+ <a name="GtkSourcePrintCompositor--print-line-numbers"></a><h3>The <code class="literal">“print-line-numbers”</code> property</h3>
2109
+ <pre class="programlisting"> “print-line-numbers” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
2110
+ <p>Interval of printed line numbers. If this property is set to 0 no
2111
+ numbers will be printed. If greater than 0, a number will be
2112
+ printed every "print-line-numbers" lines (i.e. 1 will print all line numbers).</p>
2113
+ <p>The value of this property cannot be changed anymore after the first
2114
+ call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
2115
+ <p>Flags: Read / Write</p>
2116
+ <p>Allowed values: &lt;= 100</p>
2117
+ <p>Default value: 1</p>
2118
+ <p class="since">Since 2.2</p>
2119
+ </div>
2120
+ <hr>
2121
+ <div class="refsect2">
2122
+ <a name="GtkSourcePrintCompositor--tab-width"></a><h3>The <code class="literal">“tab-width”</code> property</h3>
2123
+ <pre class="programlisting"> “tab-width” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
2124
+ <p>Width of a tab character expressed in spaces.</p>
2125
+ <p>The value of this property cannot be changed anymore after the first
2126
+ call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
2127
+ <p>Flags: Read / Write</p>
2128
+ <p>Allowed values: [1,32]</p>
2129
+ <p>Default value: 8</p>
2130
+ <p class="since">Since 2.2</p>
2131
+ </div>
2132
+ <hr>
2133
+ <div class="refsect2">
2134
+ <a name="GtkSourcePrintCompositor--wrap-mode"></a><h3>The <code class="literal">“wrap-mode”</code> property</h3>
2135
+ <pre class="programlisting"> “wrap-mode” <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextView.html#GtkWrapMode"><span class="type">GtkWrapMode</span></a></pre>
2136
+ <p>Whether to wrap lines never, at word boundaries, or at character boundaries.</p>
2137
+ <p>The value of this property cannot be changed anymore after the first
2138
+ call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-paginate" title="gtk_source_print_compositor_paginate ()"><code class="function">gtk_source_print_compositor_paginate()</code></a> function.</p>
2139
+ <p>Flags: Read / Write</p>
2140
+ <p>Default value: GTK_WRAP_NONE</p>
2141
+ <p class="since">Since 2.2</p>
2142
+ </div>
2143
+ </div>
2144
+ </div>
2145
+ <div class="footer">
2146
+ <hr>
2147
+ Generated by GTK-Doc V1.21.1</div>
2148
+ </body>
2149
+ </html>