gobject-introspection 2.0.0-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (268) hide show
  1. data/Rakefile +118 -0
  2. data/ext/gobject-introspection/depend +10 -0
  3. data/ext/gobject-introspection/extconf.rb +97 -0
  4. data/ext/gobject-introspection/gobject_introspection.def +5 -0
  5. data/ext/gobject-introspection/rb-gi-arg-info.c +151 -0
  6. data/ext/gobject-introspection/rb-gi-argument.c +1015 -0
  7. data/ext/gobject-introspection/rb-gi-base-info.c +218 -0
  8. data/ext/gobject-introspection/rb-gi-boxed-info.c +48 -0
  9. data/ext/gobject-introspection/rb-gi-callable-info.c +104 -0
  10. data/ext/gobject-introspection/rb-gi-callback-info.c +48 -0
  11. data/ext/gobject-introspection/rb-gi-constant-info.c +77 -0
  12. data/ext/gobject-introspection/rb-gi-constructor-info.c +120 -0
  13. data/ext/gobject-introspection/rb-gi-conversions.h +116 -0
  14. data/ext/gobject-introspection/rb-gi-enum-info.c +145 -0
  15. data/ext/gobject-introspection/rb-gi-field-info.c +153 -0
  16. data/ext/gobject-introspection/rb-gi-flags-info.c +48 -0
  17. data/ext/gobject-introspection/rb-gi-function-info.c +658 -0
  18. data/ext/gobject-introspection/rb-gi-interface-info.c +222 -0
  19. data/ext/gobject-introspection/rb-gi-loader.c +162 -0
  20. data/ext/gobject-introspection/rb-gi-method-info.c +109 -0
  21. data/ext/gobject-introspection/rb-gi-object-info.c +345 -0
  22. data/ext/gobject-introspection/rb-gi-private.h +110 -0
  23. data/ext/gobject-introspection/rb-gi-property-info.c +77 -0
  24. data/ext/gobject-introspection/rb-gi-registered-type-info.c +86 -0
  25. data/ext/gobject-introspection/rb-gi-repository.c +164 -0
  26. data/ext/gobject-introspection/rb-gi-signal-info.c +77 -0
  27. data/ext/gobject-introspection/rb-gi-struct-info.c +190 -0
  28. data/ext/gobject-introspection/rb-gi-type-info.c +143 -0
  29. data/ext/gobject-introspection/rb-gi-type-tag.c +43 -0
  30. data/ext/gobject-introspection/rb-gi-types.h +71 -0
  31. data/ext/gobject-introspection/rb-gi-union-info.c +206 -0
  32. data/ext/gobject-introspection/rb-gi-unresolved-info.c +48 -0
  33. data/ext/gobject-introspection/rb-gi-value-info.c +57 -0
  34. data/ext/gobject-introspection/rb-gi-vfunc-info.c +91 -0
  35. data/ext/gobject-introspection/rb-gobject-introspection.c +44 -0
  36. data/ext/gobject-introspection/rb-gobject-introspection.h +57 -0
  37. data/extconf.rb +71 -0
  38. data/lib/1.9/gobject_introspection.so +0 -0
  39. data/lib/2.0/gobject_introspection.so +0 -0
  40. data/lib/gobject-introspection.rb +52 -0
  41. data/lib/gobject-introspection/callable-info.rb +91 -0
  42. data/lib/gobject-introspection/collection-reader.rb +34 -0
  43. data/lib/gobject-introspection/interface-info.rb +32 -0
  44. data/lib/gobject-introspection/loader.rb +328 -0
  45. data/lib/gobject-introspection/object-info.rb +33 -0
  46. data/lib/gobject-introspection/repository.rb +32 -0
  47. data/lib/gobject-introspection/struct-info.rb +28 -0
  48. data/lib/gobject-introspection/union-info.rb +28 -0
  49. data/test/gobject-introspection-test-utils.rb +26 -0
  50. data/test/run-test.rb +45 -0
  51. data/test/test-arg-info.rb +68 -0
  52. data/test/test-base-info.rb +31 -0
  53. data/test/test-boxed-info.rb +21 -0
  54. data/test/test-callable-info.rb +49 -0
  55. data/test/test-callback-info.rb +29 -0
  56. data/test/test-constant-info.rb +24 -0
  57. data/test/test-enum-info.rb +56 -0
  58. data/test/test-field-type.rb +42 -0
  59. data/test/test-flags-info.rb +27 -0
  60. data/test/test-function-info.rb +37 -0
  61. data/test/test-interface-info.rb +97 -0
  62. data/test/test-loader.rb +30 -0
  63. data/test/test-object-info.rb +131 -0
  64. data/test/test-property-info.rb +38 -0
  65. data/test/test-registered-type-info.rb +35 -0
  66. data/test/test-repository.rb +59 -0
  67. data/test/test-signal-info.rb +37 -0
  68. data/test/test-struct-info.rb +57 -0
  69. data/test/test-type-info.rb +62 -0
  70. data/test/test-type-tag.rb +29 -0
  71. data/test/test-union-info.rb +21 -0
  72. data/test/test-value-info.rb +28 -0
  73. data/test/test-vfunc-info.rb +42 -0
  74. data/vendor/local/bin/g-ir-compiler.exe +0 -0
  75. data/vendor/local/bin/g-ir-generate.exe +0 -0
  76. data/vendor/local/bin/libgirepository-1.0-1.dll +0 -0
  77. data/vendor/local/include/gobject-introspection-1.0/giarginfo.h +52 -0
  78. data/vendor/local/include/gobject-introspection-1.0/gibaseinfo.h +89 -0
  79. data/vendor/local/include/gobject-introspection-1.0/gicallableinfo.h +74 -0
  80. data/vendor/local/include/gobject-introspection-1.0/giconstantinfo.h +46 -0
  81. data/vendor/local/include/gobject-introspection-1.0/gienuminfo.h +56 -0
  82. data/vendor/local/include/gobject-introspection-1.0/gifieldinfo.h +52 -0
  83. data/vendor/local/include/gobject-introspection-1.0/gifunctioninfo.h +77 -0
  84. data/vendor/local/include/gobject-introspection-1.0/giinterfaceinfo.h +68 -0
  85. data/vendor/local/include/gobject-introspection-1.0/giobjectinfo.h +137 -0
  86. data/vendor/local/include/gobject-introspection-1.0/gipropertyinfo.h +44 -0
  87. data/vendor/local/include/gobject-introspection-1.0/giregisteredtypeinfo.h +53 -0
  88. data/vendor/local/include/gobject-introspection-1.0/girepository.h +179 -0
  89. data/vendor/local/include/gobject-introspection-1.0/girffi.h +80 -0
  90. data/vendor/local/include/gobject-introspection-1.0/gisignalinfo.h +45 -0
  91. data/vendor/local/include/gobject-introspection-1.0/gistructinfo.h +53 -0
  92. data/vendor/local/include/gobject-introspection-1.0/gitypeinfo.h +56 -0
  93. data/vendor/local/include/gobject-introspection-1.0/gitypelib.h +55 -0
  94. data/vendor/local/include/gobject-introspection-1.0/gitypes.h +453 -0
  95. data/vendor/local/include/gobject-introspection-1.0/giunioninfo.h +57 -0
  96. data/vendor/local/include/gobject-introspection-1.0/givfuncinfo.h +56 -0
  97. data/vendor/local/lib/girepository-1.0/DBus-1.0.typelib +0 -0
  98. data/vendor/local/lib/girepository-1.0/DBusGLib-1.0.typelib +0 -0
  99. data/vendor/local/lib/girepository-1.0/GIRepository-2.0.typelib +0 -0
  100. data/vendor/local/lib/girepository-1.0/GL-1.0.typelib +0 -0
  101. data/vendor/local/lib/girepository-1.0/GLib-2.0.typelib +0 -0
  102. data/vendor/local/lib/girepository-1.0/GModule-2.0.typelib +0 -0
  103. data/vendor/local/lib/girepository-1.0/GObject-2.0.typelib +0 -0
  104. data/vendor/local/lib/girepository-1.0/Gio-2.0.typelib +0 -0
  105. data/vendor/local/lib/girepository-1.0/cairo-1.0.typelib +0 -0
  106. data/vendor/local/lib/girepository-1.0/fontconfig-2.0.typelib +0 -0
  107. data/vendor/local/lib/girepository-1.0/freetype2-2.0.typelib +0 -0
  108. data/vendor/local/lib/girepository-1.0/libxml2-2.0.typelib +0 -0
  109. data/vendor/local/lib/girepository-1.0/xfixes-4.0.typelib +0 -0
  110. data/vendor/local/lib/girepository-1.0/xft-2.0.typelib +0 -0
  111. data/vendor/local/lib/girepository-1.0/xlib-2.0.typelib +0 -0
  112. data/vendor/local/lib/girepository-1.0/xrandr-1.3.typelib +0 -0
  113. data/vendor/local/lib/gobject-introspection/giscanner/__init__.py +24 -0
  114. data/vendor/local/lib/gobject-introspection/giscanner/__init__.pyc +0 -0
  115. data/vendor/local/lib/gobject-introspection/giscanner/__init__.pyo +0 -0
  116. data/vendor/local/lib/gobject-introspection/giscanner/annotationmain.py +74 -0
  117. data/vendor/local/lib/gobject-introspection/giscanner/annotationmain.pyc +0 -0
  118. data/vendor/local/lib/gobject-introspection/giscanner/annotationmain.pyo +0 -0
  119. data/vendor/local/lib/gobject-introspection/giscanner/annotationparser.py +1204 -0
  120. data/vendor/local/lib/gobject-introspection/giscanner/annotationparser.pyc +0 -0
  121. data/vendor/local/lib/gobject-introspection/giscanner/annotationparser.pyo +0 -0
  122. data/vendor/local/lib/gobject-introspection/giscanner/ast.py +1100 -0
  123. data/vendor/local/lib/gobject-introspection/giscanner/ast.pyc +0 -0
  124. data/vendor/local/lib/gobject-introspection/giscanner/ast.pyo +0 -0
  125. data/vendor/local/lib/gobject-introspection/giscanner/cachestore.py +196 -0
  126. data/vendor/local/lib/gobject-introspection/giscanner/cachestore.pyc +0 -0
  127. data/vendor/local/lib/gobject-introspection/giscanner/cachestore.pyo +0 -0
  128. data/vendor/local/lib/gobject-introspection/giscanner/codegen.py +140 -0
  129. data/vendor/local/lib/gobject-introspection/giscanner/codegen.pyc +0 -0
  130. data/vendor/local/lib/gobject-introspection/giscanner/codegen.pyo +0 -0
  131. data/vendor/local/lib/gobject-introspection/giscanner/docmain.py +60 -0
  132. data/vendor/local/lib/gobject-introspection/giscanner/docmain.pyc +0 -0
  133. data/vendor/local/lib/gobject-introspection/giscanner/docmain.pyo +0 -0
  134. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/class.tmpl +2 -0
  135. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/constructor.tmpl +1 -0
  136. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/default.tmpl +1 -0
  137. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/enum.tmpl +2 -0
  138. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/function.tmpl +61 -0
  139. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/method.tmpl +1 -0
  140. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/namespace.tmpl +1 -0
  141. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/property.tmpl +5 -0
  142. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/record.tmpl +1 -0
  143. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/signal.tmpl +5 -0
  144. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/vfunc.tmpl +4 -0
  145. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/class.tmpl +18 -0
  146. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/constructor.tmpl +1 -0
  147. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/default.tmpl +1 -0
  148. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/enum.tmpl +13 -0
  149. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/function.tmpl +48 -0
  150. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/method.tmpl +1 -0
  151. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/namespace.tmpl +2 -0
  152. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/property.tmpl +10 -0
  153. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/record.tmpl +2 -0
  154. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/signal.tmpl +37 -0
  155. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/vfunc.tmpl +27 -0
  156. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/class.tmpl +17 -0
  157. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/constructor.tmpl +1 -0
  158. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/default.tmpl +1 -0
  159. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/enum.tmpl +13 -0
  160. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/function.tmpl +53 -0
  161. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/method.tmpl +1 -0
  162. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/namespace.tmpl +2 -0
  163. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/property.tmpl +10 -0
  164. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/record.tmpl +2 -0
  165. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/signal.tmpl +42 -0
  166. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/vfunc.tmpl +33 -0
  167. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/base.tmpl +29 -0
  168. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/class.tmpl +40 -0
  169. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/namespace.tmpl +19 -0
  170. data/vendor/local/lib/gobject-introspection/giscanner/docwriter.py +635 -0
  171. data/vendor/local/lib/gobject-introspection/giscanner/docwriter.pyc +0 -0
  172. data/vendor/local/lib/gobject-introspection/giscanner/docwriter.pyo +0 -0
  173. data/vendor/local/lib/gobject-introspection/giscanner/dumper.py +363 -0
  174. data/vendor/local/lib/gobject-introspection/giscanner/dumper.pyc +0 -0
  175. data/vendor/local/lib/gobject-introspection/giscanner/dumper.pyo +0 -0
  176. data/vendor/local/lib/gobject-introspection/giscanner/gdumpparser.py +551 -0
  177. data/vendor/local/lib/gobject-introspection/giscanner/gdumpparser.pyc +0 -0
  178. data/vendor/local/lib/gobject-introspection/giscanner/gdumpparser.pyo +0 -0
  179. data/vendor/local/lib/gobject-introspection/giscanner/girparser.py +581 -0
  180. data/vendor/local/lib/gobject-introspection/giscanner/girparser.pyc +0 -0
  181. data/vendor/local/lib/gobject-introspection/giscanner/girparser.pyo +0 -0
  182. data/vendor/local/lib/gobject-introspection/giscanner/girwriter.py +584 -0
  183. data/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyc +0 -0
  184. data/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyo +0 -0
  185. data/vendor/local/lib/gobject-introspection/giscanner/introspectablepass.py +236 -0
  186. data/vendor/local/lib/gobject-introspection/giscanner/introspectablepass.pyc +0 -0
  187. data/vendor/local/lib/gobject-introspection/giscanner/introspectablepass.pyo +0 -0
  188. data/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.py +76 -0
  189. data/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.pyc +0 -0
  190. data/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.pyo +0 -0
  191. data/vendor/local/lib/gobject-introspection/giscanner/maintransformer.py +1337 -0
  192. data/vendor/local/lib/gobject-introspection/giscanner/maintransformer.pyc +0 -0
  193. data/vendor/local/lib/gobject-introspection/giscanner/maintransformer.pyo +0 -0
  194. data/vendor/local/lib/gobject-introspection/giscanner/message.py +185 -0
  195. data/vendor/local/lib/gobject-introspection/giscanner/message.pyc +0 -0
  196. data/vendor/local/lib/gobject-introspection/giscanner/message.pyo +0 -0
  197. data/vendor/local/lib/gobject-introspection/giscanner/odict.py +50 -0
  198. data/vendor/local/lib/gobject-introspection/giscanner/odict.pyc +0 -0
  199. data/vendor/local/lib/gobject-introspection/giscanner/odict.pyo +0 -0
  200. data/vendor/local/lib/gobject-introspection/giscanner/scannermain.py +497 -0
  201. data/vendor/local/lib/gobject-introspection/giscanner/scannermain.pyc +0 -0
  202. data/vendor/local/lib/gobject-introspection/giscanner/scannermain.pyo +0 -0
  203. data/vendor/local/lib/gobject-introspection/giscanner/sectionparser.py +78 -0
  204. data/vendor/local/lib/gobject-introspection/giscanner/sectionparser.pyc +0 -0
  205. data/vendor/local/lib/gobject-introspection/giscanner/sectionparser.pyo +0 -0
  206. data/vendor/local/lib/gobject-introspection/giscanner/shlibs.py +132 -0
  207. data/vendor/local/lib/gobject-introspection/giscanner/shlibs.pyc +0 -0
  208. data/vendor/local/lib/gobject-introspection/giscanner/shlibs.pyo +0 -0
  209. data/vendor/local/lib/gobject-introspection/giscanner/sourcescanner.py +324 -0
  210. data/vendor/local/lib/gobject-introspection/giscanner/sourcescanner.pyc +0 -0
  211. data/vendor/local/lib/gobject-introspection/giscanner/sourcescanner.pyo +0 -0
  212. data/vendor/local/lib/gobject-introspection/giscanner/testcodegen.py +119 -0
  213. data/vendor/local/lib/gobject-introspection/giscanner/testcodegen.pyc +0 -0
  214. data/vendor/local/lib/gobject-introspection/giscanner/testcodegen.pyo +0 -0
  215. data/vendor/local/lib/gobject-introspection/giscanner/transformer.py +999 -0
  216. data/vendor/local/lib/gobject-introspection/giscanner/transformer.pyc +0 -0
  217. data/vendor/local/lib/gobject-introspection/giscanner/transformer.pyo +0 -0
  218. data/vendor/local/lib/gobject-introspection/giscanner/utils.py +141 -0
  219. data/vendor/local/lib/gobject-introspection/giscanner/utils.pyc +0 -0
  220. data/vendor/local/lib/gobject-introspection/giscanner/utils.pyo +0 -0
  221. data/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.py +197 -0
  222. data/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyc +0 -0
  223. data/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyo +0 -0
  224. data/vendor/local/lib/libgirepository-1.0.a +0 -0
  225. data/vendor/local/lib/libgirepository-1.0.dll.a +0 -0
  226. data/vendor/local/lib/libgirepository-1.0.la +41 -0
  227. data/vendor/local/lib/pkgconfig/gobject-introspection-1.0.pc +26 -0
  228. data/vendor/local/lib/pkgconfig/gobject-introspection-no-export-1.0.pc +23 -0
  229. data/vendor/local/share/aclocal/introspection.m4 +96 -0
  230. data/vendor/local/share/gir-1.0/DBus-1.0.gir +32 -0
  231. data/vendor/local/share/gir-1.0/DBusGLib-1.0.gir +18 -0
  232. data/vendor/local/share/gir-1.0/GIRepository-2.0.gir +3833 -0
  233. data/vendor/local/share/gir-1.0/GL-1.0.gir +31 -0
  234. data/vendor/local/share/gir-1.0/GLib-2.0.gir +44304 -0
  235. data/vendor/local/share/gir-1.0/GModule-2.0.gir +184 -0
  236. data/vendor/local/share/gir-1.0/GObject-2.0.gir +13947 -0
  237. data/vendor/local/share/gir-1.0/Gio-2.0.gir +73619 -0
  238. data/vendor/local/share/gir-1.0/cairo-1.0.gir +70 -0
  239. data/vendor/local/share/gir-1.0/fontconfig-2.0.gir +18 -0
  240. data/vendor/local/share/gir-1.0/freetype2-2.0.gir +22 -0
  241. data/vendor/local/share/gir-1.0/libxml2-2.0.gir +25 -0
  242. data/vendor/local/share/gir-1.0/xfixes-4.0.gir +10 -0
  243. data/vendor/local/share/gir-1.0/xft-2.0.gir +23 -0
  244. data/vendor/local/share/gir-1.0/xlib-2.0.gir +67 -0
  245. data/vendor/local/share/gir-1.0/xrandr-1.3.gir +16 -0
  246. data/vendor/local/share/gobject-introspection-1.0/Makefile.introspection +166 -0
  247. data/vendor/local/share/gobject-introspection-1.0/gdump.c +564 -0
  248. data/vendor/local/share/gobject-introspection-1.0/tests/annotation.c +835 -0
  249. data/vendor/local/share/gobject-introspection-1.0/tests/annotation.h +198 -0
  250. data/vendor/local/share/gobject-introspection-1.0/tests/drawable.c +55 -0
  251. data/vendor/local/share/gobject-introspection-1.0/tests/drawable.h +33 -0
  252. data/vendor/local/share/gobject-introspection-1.0/tests/everything.c +1473 -0
  253. data/vendor/local/share/gobject-introspection-1.0/tests/everything.h +428 -0
  254. data/vendor/local/share/gobject-introspection-1.0/tests/foo.c +790 -0
  255. data/vendor/local/share/gobject-introspection-1.0/tests/foo.h +437 -0
  256. data/vendor/local/share/gobject-introspection-1.0/tests/gimarshallingtests.c +5256 -0
  257. data/vendor/local/share/gobject-introspection-1.0/tests/gimarshallingtests.h +1158 -0
  258. data/vendor/local/share/gobject-introspection-1.0/tests/regress.c +4009 -0
  259. data/vendor/local/share/gobject-introspection-1.0/tests/regress.h +944 -0
  260. data/vendor/local/share/gobject-introspection-1.0/tests/utility.c +45 -0
  261. data/vendor/local/share/gobject-introspection-1.0/tests/utility.h +95 -0
  262. data/vendor/local/share/gobject-introspection-1.0/tests/warnlib.c +33 -0
  263. data/vendor/local/share/gobject-introspection-1.0/tests/warnlib.h +36 -0
  264. data/vendor/local/share/license/gobject-introspection/AUTHORS +9 -0
  265. data/vendor/local/share/license/gobject-introspection/COPYING +12 -0
  266. data/vendor/local/share/man/man1/g-ir-compiler.1 +51 -0
  267. data/vendor/local/share/man/man1/g-ir-generate.1 +29 -0
  268. metadata +343 -0
@@ -0,0 +1 @@
1
+ <%inherit file="./function.tmpl"/>
@@ -0,0 +1 @@
1
+ <%inherit file="/namespace.tmpl"/>
@@ -0,0 +1,5 @@
1
+ <%inherit file="/base.tmpl"/>
2
+ <%block name="info">
3
+ ${formatter.format_xref(node.parent, type="guide", group=page_kind)}
4
+ <title type="link" role="topic">${node.name}</title>
5
+ </%block>
@@ -0,0 +1 @@
1
+ <%inherit file="/base.tmpl"/>
@@ -0,0 +1,5 @@
1
+ <%inherit file="./function.tmpl"/>
2
+ <%block name="info">
3
+ ${formatter.format_xref(node.parent, type="guide", group=page_kind)}
4
+ <title type="link" role="topic">${node.name}</title>
5
+ </%block>
@@ -0,0 +1,4 @@
1
+ <%inherit file="./function.tmpl"/>
2
+ <%block name="info">
3
+ ${formatter.format_xref(node.parent, type="guide", group=page_kind)}
4
+ </%block>
@@ -0,0 +1,18 @@
1
+ <%inherit file="/class.tmpl"/>
2
+ <%block name="synopsis">
3
+ <synopsis><code>
4
+ const ${namespace.name} = imports.gi.${namespace.name};
5
+
6
+ let ${formatter.to_underscores(node.name).lower()} = new ${namespace.name}.${node.name}(\
7
+ % if len(node.properties) > 0:
8
+ {
9
+ % for ix, property_ in enumerate(node.properties):
10
+ % if property_.construct or property_.construct_only or property_.writable:
11
+ <link xref='${namespace.name}.${node.name}-${property_.name}'>${property_.name.replace('-', '_')}</link>: value,
12
+ % endif
13
+ % endfor
14
+ }\
15
+ % endif
16
+ );
17
+ </code></synopsis>
18
+ </%block>
@@ -0,0 +1 @@
1
+ <%inherit file="./function.tmpl"/>
@@ -0,0 +1 @@
1
+ <%inherit file="/base.tmpl"/>
@@ -0,0 +1,13 @@
1
+ <%inherit file="/base.tmpl"/>
2
+ <%block name="details">
3
+ % if node.members:
4
+ <terms>
5
+ % for member in node.members:
6
+ <item>
7
+ <title><code>${node.name}.${member.name.upper()}</code></title>
8
+ ${formatter.format(node, member.doc)}
9
+ </item>
10
+ % endfor
11
+ </terms>
12
+ % endif
13
+ </%block>
@@ -0,0 +1,48 @@
1
+ <%inherit file="/base.tmpl"/>
2
+ <%block name="info">
3
+ ${formatter.format_xref(node.parent, type="guide", group=page_kind)}
4
+ <api:function>
5
+ <api:returns>
6
+ <api:type>${formatter.format_type(node.retval.type) | x}</api:type>
7
+ </api:returns>
8
+ <api:name>${node.symbol}</api:name>
9
+ % for arg in formatter.get_parameters(node):
10
+ % if arg.type.ctype == '<varargs>':
11
+ <api:varargs/>
12
+ % else:
13
+ <api:arg>
14
+ <api:type>${formatter.format_type(arg.type) | x}</api:type>
15
+ <api:name>${formatter.format_parameter_name(node, arg)}</api:name>
16
+ </api:arg>
17
+ % endif
18
+ % endfor
19
+ </api:function>
20
+ </%block>
21
+ <%block name="synopsis">
22
+ <synopsis><code mime="text/x-gjs">
23
+ function \
24
+ ${node.name}(\
25
+ ${', '.join('%s:%s' % (arg.argname, formatter.format_type(arg.type)) for arg in formatter.get_parameters(node))}\
26
+ ):${formatter.format_type(node.retval.type)} {
27
+ // Gjs wrapper for ${node.symbol}()
28
+ }
29
+ </code></synopsis>
30
+ </%block>
31
+ <%block name="details">
32
+ % if formatter.get_parameters(node) or node.retval:
33
+ <terms>
34
+ % for arg in formatter.get_parameters(node):
35
+ <item>
36
+ <title><code>${arg.argname}</code></title>
37
+ ${formatter.format(node, arg.doc)}
38
+ </item>
39
+ % endfor
40
+ % if node.retval and node.retval.type.ctype != 'void':
41
+ <item>
42
+ <title><code>Returns</code></title>
43
+ ${formatter.format(node, node.retval.doc)}
44
+ </item>
45
+ % endif
46
+ </terms>
47
+ % endif
48
+ </%block>
@@ -0,0 +1 @@
1
+ <%inherit file="./function.tmpl"/>
@@ -0,0 +1,2 @@
1
+ <%! page_type="guide" %>\
2
+ <%inherit file="/namespace.tmpl"/>
@@ -0,0 +1,10 @@
1
+ <%inherit file="/base.tmpl"/>
2
+ <%block name="info">
3
+ ${formatter.format_xref(node.parent, type="guide", group=page_kind)}
4
+ <title type="link" role="topic">${node.name}</title>
5
+ </%block>
6
+ <%block name="synopsis">
7
+ <synopsis><code mime="text/x-python">
8
+ "${node.name}" ${formatter.format_type(node.type)} : ${formatter.format_property_flags(node)}
9
+ </code></synopsis>
10
+ </%block>
@@ -0,0 +1,2 @@
1
+ <%! page_type="guide" %>\
2
+ <%inherit file="/base.tmpl"/>
@@ -0,0 +1,37 @@
1
+ <%inherit file="/base.tmpl"/>
2
+ <%block name="info">
3
+ ${formatter.format_xref(node.parent, type="guide", group=page_kind)}
4
+ <title type="link" role="topic">${node.name}</title>
5
+ </%block>
6
+ <%block name="synopsis">
7
+ <synopsis><code mime="text/x-python">
8
+ function callback(${formatter.to_underscores(node.parent.name).lower()}, \
9
+ % for arg in formatter.get_parameters(node):
10
+ ${arg.argname}:${formatter.format_type(arg.type)}, \
11
+ % endfor
12
+ ):${formatter.format_type(node.retval.type)};
13
+ </code></synopsis>
14
+ </%block>
15
+ <%block name="details">
16
+ <terms>
17
+ <item>
18
+ <title><code>${formatter.to_underscores(node.parent.name).lower()}</code></title>
19
+ <p>instance of ${formatter.format_xref(node.parent)} that is emitting the signal</p>
20
+ </item>
21
+ % for arg in formatter.get_parameters(node):
22
+ <item>
23
+ <title><code>${arg.argname}</code></title>
24
+ ${formatter.format(node, arg.doc)}
25
+ </item>
26
+ % endfor
27
+ % if node.retval and \
28
+ node.retval.type.ctype != 'void' and \
29
+ node.retval.type.ctype is not None:
30
+ <item>
31
+ <title><code>Returns</code></title>
32
+ ${formatter.format(node, node.retval.doc)}
33
+ </item>
34
+ % endif
35
+ </terms>
36
+ </%block>
37
+
@@ -0,0 +1,27 @@
1
+ <%inherit file="/base.tmpl"/>
2
+ <%block name="synopsis">
3
+ <synopsis><code mime="text/x-gjs">
4
+ function vfunc_${node.name}(\
5
+ ${', '.join('%s:%s' % (arg.argname, formatter.format_type(arg.type)) for arg in formatter.get_parameters(node))}\
6
+ ):${formatter.format_type(node.retval.type)} {
7
+ }
8
+ </code></synopsis>
9
+ </%block>
10
+ <%block name="details">
11
+ % if formatter.get_parameters(node) or node.retval:
12
+ <terms>
13
+ % for arg in formatter.get_parameters(node):
14
+ <item>
15
+ <title><code>${arg.argname}</code></title>
16
+ ${formatter.format(node, arg.doc)}
17
+ </item>
18
+ % endfor
19
+ % if node.retval and node.retval.type.ctype != 'void':
20
+ <item>
21
+ <title><code>Returns</code></title>
22
+ ${formatter.format(node, node.retval.doc)}
23
+ </item>
24
+ % endif
25
+ </terms>
26
+ % endif
27
+ </%block>
@@ -0,0 +1,17 @@
1
+ <%inherit file="/class.tmpl"/>
2
+ <%block name="synopsis">
3
+ <synopsis><code>
4
+ from gi.repository import ${namespace.name}
5
+
6
+ ${formatter.to_underscores(node.name).lower()} = ${namespace.name}.${node.name}(\
7
+ % for ix, property_ in enumerate(node.properties):
8
+ % if property_.construct or property_.construct_only or property_.writable:
9
+ <link xref='${namespace.name}.${node.name}-${property_.name}'>${property_.name.replace('-', '_')}</link>=value\
10
+ % if ix != len(node.properties) - 1:
11
+ , \
12
+ % endif
13
+ % endif
14
+ % endfor
15
+ )\
16
+ </code></synopsis>
17
+ </%block>
@@ -0,0 +1 @@
1
+ <%inherit file="./function.tmpl"/>
@@ -0,0 +1 @@
1
+ <%inherit file="/base.tmpl"/>
@@ -0,0 +1,13 @@
1
+ <%inherit file="/base.tmpl"/>
2
+ <%block name="details">
3
+ % if node.members:
4
+ <terms>
5
+ % for member in node.members:
6
+ <item>
7
+ <title><code>${node.name}.${member.name.upper()}</code></title>
8
+ ${formatter.format(node, member.doc)}
9
+ </item>
10
+ % endfor
11
+ </terms>
12
+ % endif
13
+ </%block>
@@ -0,0 +1,53 @@
1
+ <%inherit file="/base.tmpl"/>
2
+ <%block name="info">
3
+ ${formatter.format_xref(node.parent, type="guide", group=page_kind)}
4
+ <api:function>
5
+ <api:returns>
6
+ <api:type>${formatter.format_type(node.retval.type) | x}</api:type>
7
+ </api:returns>
8
+ <api:name>${node.symbol}</api:name>
9
+ % for arg in formatter.get_parameters(node):
10
+ % if arg.type.ctype == '<varargs>':
11
+ <api:varargs/>
12
+ % else:
13
+ <api:arg>
14
+ <api:type>${formatter.format_type(arg.type) | x}</api:type>
15
+ <api:name>${formatter.format_parameter_name(node, arg)}</api:name>
16
+ </api:arg>
17
+ % endif
18
+ % endfor
19
+ </api:function>
20
+ </%block>
21
+ <%block name="synopsis">
22
+ <synopsis><code mime="text/x-python">
23
+ % if formatter.get_parameters(node):
24
+ @accepts(\
25
+ ${', '.join((formatter.format_type(arg.type) for arg in formatter.get_parameters(node)))}\
26
+ )
27
+ % endif
28
+ @returns(${formatter.format_type(node.retval.type) | x})
29
+ def \
30
+ ${node.name}(\
31
+ ${', '.join((formatter.format_parameter_name(node, arg) for arg in formatter.get_parameters(node)))}\
32
+ ):
33
+ # Python wrapper for ${node.symbol}()
34
+ </code></synopsis>
35
+ </%block>
36
+ <%block name="details">
37
+ % if formatter.get_parameters(node) or node.retval:
38
+ <terms>
39
+ % for ix, arg in enumerate(formatter.get_parameters(node)):
40
+ <item>
41
+ <title><code>${formatter.format_parameter_name(node, arg)}</code></title>
42
+ ${formatter.format(node, arg.doc)}
43
+ </item>
44
+ % endfor
45
+ % if node.retval and node.retval.type.ctype != 'void':
46
+ <item>
47
+ <title><code>Returns</code></title>
48
+ {formatter.format(node, node.retval.doc)}
49
+ </item>
50
+ % endif
51
+ </terms>
52
+ % endif
53
+ </%block>
@@ -0,0 +1 @@
1
+ <%inherit file="./function.tmpl"/>
@@ -0,0 +1,2 @@
1
+ <%! page_type="guide" %>\
2
+ <%inherit file="/namespace.tmpl"/>
@@ -0,0 +1,10 @@
1
+ <%inherit file="/base.tmpl"/>
2
+ <%block name="info">
3
+ ${formatter.format_xref(node.parent, type="guide", group=page_kind)}
4
+ <title type="link" role="topic">${node.name}</title>
5
+ </%block>
6
+ <%block name="synopsis">
7
+ <synopsis><code mime="text/x-python">
8
+ "${node.name}" ${formatter.format_type(node.type)} : ${formatter.format_property_flags(node)}
9
+ </code></synopsis>
10
+ </%block>
@@ -0,0 +1,2 @@
1
+ <%! page_type="guide" %>\
2
+ <%inherit file="/base.tmpl"/>
@@ -0,0 +1,42 @@
1
+ <%inherit file="/base.tmpl"/>
2
+ <%block name="info">
3
+ ${formatter.format_xref(node.parent, type="guide", group=page_kind)}
4
+ <title type="link" role="topic">${node.name}</title>
5
+ </%block>
6
+ <%block name="synopsis">
7
+ <synopsis><code mime="text/x-python">
8
+ def callback(${formatter.to_underscores(node.parent.name).lower()}, \
9
+ % for arg in formatter.get_parameters(node):
10
+ ${arg.argname}, \
11
+ % endfor
12
+ user_param1, ...)
13
+ </code></synopsis>
14
+ </%block>
15
+ <%block name="details">
16
+ <terms>
17
+ <item>
18
+ <title><code>${formatter.to_underscores(node.parent.name).lower()}</code></title>
19
+ <p>instance of ${formatter.format_xref(node.parent)} that is emitting the signal</p>
20
+ </item>
21
+ % for arg in formatter.get_parameters(node):
22
+ <item>
23
+ <title><code>${arg.argname}</code></title>
24
+ ${formatter.format(node, arg.doc)}
25
+ </item>
26
+ % endfor
27
+ <title><code>user_param1</code></title>
28
+ <p>first user parameter (if any) specified with the connect() method</p>
29
+ <item>
30
+ <title><code>...</code></title>
31
+ <p>additional user parameters (if any)</p>
32
+ </item>
33
+ % if node.retval and \
34
+ node.retval.type.ctype != 'void' and \
35
+ node.retval.type.ctype is not None:
36
+ <item>
37
+ <title><code>Returns</code></title>
38
+ ${formatter.format(node, node.retval.doc)}
39
+ </item>
40
+ % endif
41
+ </terms>
42
+ </%block>
@@ -0,0 +1,33 @@
1
+ <%inherit file="/base.tmpl"/>
2
+ <%block name="synopsis">
3
+ <synopsis><code mime="text/x-python">
4
+ % if formatter.get_parameters(node):
5
+ @accepts(\
6
+ ${', '.join((formatter.format_type(arg.type) for arg in formatter.get_parameters(node)))}\
7
+ )
8
+ % endif
9
+ @returns(${formatter.format_type(node.retval.type) | x})
10
+ def \
11
+ do_${node.name}(\
12
+ ${', '.join((arg.argname for arg in formatter.get_parameters(node)))}\
13
+ ):
14
+ </code></synopsis>
15
+ </%block>
16
+ <%block name="details">
17
+ % if formatter.get_parameters(node) or node.retval:
18
+ <terms>
19
+ % for arg in formatter.get_parameters(node):
20
+ <item>
21
+ <title><code>${arg.argname}</code></title>
22
+ ${formatter.format(node, arg.doc)}
23
+ </item>
24
+ % endfor
25
+ % if node.retval and node.retval.type.ctype != 'void':
26
+ <item>
27
+ <title><code>Returns</code></title>
28
+ ${formatter.format(node, node.retval.doc)}
29
+ </item>
30
+ % endif
31
+ </terms>
32
+ % endif
33
+ </%block>
@@ -0,0 +1,29 @@
1
+ <%! page_type="topic" %>\
2
+ <?xml version="1.0"?>
3
+ <page id="${page_id}"
4
+ type="${self.attr.page_type}"
5
+ style="${page_kind}"
6
+ xmlns="http://projectmallard.org/1.0/"
7
+ xmlns:api="http://projectmallard.org/experimental/api/"
8
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
9
+ <info>
10
+ <%block name="info">
11
+ ${formatter.format_xref(node.parent, type="guide", group=page_kind)}
12
+ </%block>
13
+ </info>
14
+ <title><%block name="title">${formatter.format_page_name(node)}</%block></title>
15
+ <%block name="synopsis">
16
+ </%block>
17
+ <%block name="doc">
18
+ ${formatter.format(node, node.doc)}
19
+ </%block>
20
+ <%block name="since_version">
21
+ % if node.version:
22
+ <p>Since ${node.version}</p>
23
+ % endif
24
+ </%block>
25
+ <%block name="details">
26
+ </%block>
27
+ <%block name="links">
28
+ </%block>
29
+ </page>
@@ -0,0 +1,40 @@
1
+ <%! page_type="guide" %>\
2
+ <%inherit file="/base.tmpl"/>
3
+ <%block name="details">
4
+ <synopsis>
5
+ <title>Hierarchy</title>
6
+ <tree>
7
+ % for class_ in formatter.get_class_hierarchy(node):
8
+ <item>
9
+ <code>${class_.namespace.name}.${class_.name}</code>
10
+ % endfor
11
+ % for class_ in formatter.get_class_hierarchy(node):
12
+ </item>
13
+ % endfor
14
+ </tree>
15
+ </synopsis>
16
+ </%block>
17
+ <%block name="links">
18
+ <links type="topic" ui:expanded="true"
19
+ api:type="function" api:mime="${formatter.mime_type}"
20
+ groups="method" style="linklist">
21
+ <title>Methods</title>
22
+ </links>
23
+ <links type="topic" ui:expanded="true"
24
+ api:type="function" api:mime="${formatter.mime_type}"
25
+ groups="function" style="linklist">
26
+ <title>Functions</title>
27
+ </links>
28
+ <links type="topic" ui:expanded="true" groups="property" style="linklist">
29
+ <title>Properties</title>
30
+ </links>
31
+ <links type="topic" ui:expanded="true" groups="signal" style="linklist">
32
+ <title>Signals</title>
33
+ </links>
34
+ <links type="topic" ui:expanded="true" groups="vfunc" style="linklist">
35
+ <title>Virtual functions</title>
36
+ </links>
37
+ <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist">
38
+ <title>Other</title>
39
+ </links>
40
+ </%block>