clutter 2.2.4-x64-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (744) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +147 -0
  3. data/lib/clutter.rb +169 -0
  4. data/lib/clutter/actor-iter.rb +33 -0
  5. data/lib/clutter/actor.rb +34 -0
  6. data/lib/clutter/animatable.rb +26 -0
  7. data/lib/clutter/brightness-contrast-effect.rb +44 -0
  8. data/lib/clutter/cairo.rb +24 -0
  9. data/lib/clutter/clutter.rb +25 -0
  10. data/lib/clutter/color.rb +83 -0
  11. data/lib/clutter/event.rb +21 -0
  12. data/lib/clutter/point.rb +25 -0
  13. data/lib/clutter/text-buffer.rb +36 -0
  14. data/lib/clutter/text.rb +23 -0
  15. data/lib/clutter/threads.rb +38 -0
  16. data/sample/basic-actor.rb +123 -0
  17. data/sample/bin-layout.rb +213 -0
  18. data/sample/box-layout.rb +194 -0
  19. data/sample/canvas.rb +115 -0
  20. data/sample/constraints.rb +79 -0
  21. data/sample/drag-action.rb +175 -0
  22. data/sample/drop-action.rb +196 -0
  23. data/sample/easing-modes.rb +141 -0
  24. data/sample/flow-layout.rb +119 -0
  25. data/sample/grid-layout.rb +237 -0
  26. data/sample/image-content.rb +86 -0
  27. data/sample/pan-action.rb +98 -0
  28. data/sample/redhand.png +0 -0
  29. data/sample/rounded-rectangle.rb +88 -0
  30. data/sample/scroll-actor.rb +103 -0
  31. data/test/clutter-test-utils.rb +38 -0
  32. data/test/run-test.rb +59 -0
  33. data/test/test-clutter-actor.rb +242 -0
  34. data/test/test-clutter-blur-effect.rb +27 -0
  35. data/test/test-clutter-brightness-contrast-effect.rb +56 -0
  36. data/test/test-clutter-canvas.rb +43 -0
  37. data/test/test-clutter-color.rb +50 -0
  38. data/test/test-clutter-colorize-effect.rb +31 -0
  39. data/test/test-clutter-desaturate-effect.rb +30 -0
  40. data/test/test-clutter-feature.rb +34 -0
  41. data/test/test-clutter-flow-layout.rb +83 -0
  42. data/test/test-clutter-page-turn-effect.rb +46 -0
  43. data/test/test-clutter-property-transiton.rb +30 -0
  44. data/test/test-clutter-shader-effect.rb +65 -0
  45. data/test/test-clutter-text-buffer.rb +72 -0
  46. data/test/test-clutter-timeline.rb +59 -0
  47. data/vendor/local/bin/json-glib-format.exe +0 -0
  48. data/vendor/local/bin/json-glib-validate.exe +0 -0
  49. data/vendor/local/bin/libclutter-1.0-0.dll +0 -0
  50. data/vendor/local/bin/libcogl-20.dll +0 -0
  51. data/vendor/local/bin/libcogl-pango-20.dll +0 -0
  52. data/vendor/local/bin/libcogl-path-20.dll +0 -0
  53. data/vendor/local/bin/libjson-glib-1.0-0.dll +0 -0
  54. data/vendor/local/include/clutter-1.0/cally/cally-actor.h +160 -0
  55. data/vendor/local/include/clutter-1.0/cally/cally-clone.h +84 -0
  56. data/vendor/local/include/clutter-1.0/cally/cally-factory.h +117 -0
  57. data/vendor/local/include/clutter-1.0/cally/cally-group.h +87 -0
  58. data/vendor/local/include/clutter-1.0/cally/cally-main.h +44 -0
  59. data/vendor/local/include/clutter-1.0/cally/cally-rectangle.h +84 -0
  60. data/vendor/local/include/clutter-1.0/cally/cally-root.h +84 -0
  61. data/vendor/local/include/clutter-1.0/cally/cally-stage.h +84 -0
  62. data/vendor/local/include/clutter-1.0/cally/cally-text.h +84 -0
  63. data/vendor/local/include/clutter-1.0/cally/cally-texture.h +84 -0
  64. data/vendor/local/include/clutter-1.0/cally/cally-util.h +84 -0
  65. data/vendor/local/include/clutter-1.0/cally/cally.h +40 -0
  66. data/vendor/local/include/clutter-1.0/clutter/clutter-action.h +111 -0
  67. data/vendor/local/include/clutter-1.0/clutter/clutter-actor-meta.h +119 -0
  68. data/vendor/local/include/clutter-1.0/clutter/clutter-actor.h +836 -0
  69. data/vendor/local/include/clutter-1.0/clutter/clutter-align-constraint.h +77 -0
  70. data/vendor/local/include/clutter-1.0/clutter/clutter-animatable.h +121 -0
  71. data/vendor/local/include/clutter-1.0/clutter/clutter-backend.h +83 -0
  72. data/vendor/local/include/clutter-1.0/clutter/clutter-bin-layout.h +86 -0
  73. data/vendor/local/include/clutter-1.0/clutter/clutter-bind-constraint.h +77 -0
  74. data/vendor/local/include/clutter-1.0/clutter/clutter-binding-pool.h +135 -0
  75. data/vendor/local/include/clutter-1.0/clutter/clutter-blur-effect.h +59 -0
  76. data/vendor/local/include/clutter-1.0/clutter/clutter-box-layout.h +168 -0
  77. data/vendor/local/include/clutter-1.0/clutter/clutter-brightness-contrast-effect.h +88 -0
  78. data/vendor/local/include/clutter-1.0/clutter/clutter-cairo.h +61 -0
  79. data/vendor/local/include/clutter-1.0/clutter/clutter-canvas.h +106 -0
  80. data/vendor/local/include/clutter-1.0/clutter/clutter-child-meta.h +122 -0
  81. data/vendor/local/include/clutter-1.0/clutter/clutter-click-action.h +120 -0
  82. data/vendor/local/include/clutter-1.0/clutter/clutter-clone.h +94 -0
  83. data/vendor/local/include/clutter-1.0/clutter/clutter-cogl-compat.h +52 -0
  84. data/vendor/local/include/clutter-1.0/clutter/clutter-color-static.h +79 -0
  85. data/vendor/local/include/clutter-1.0/clutter/clutter-color.h +200 -0
  86. data/vendor/local/include/clutter-1.0/clutter/clutter-colorize-effect.h +67 -0
  87. data/vendor/local/include/clutter-1.0/clutter/clutter-config.h +19 -0
  88. data/vendor/local/include/clutter-1.0/clutter/clutter-constraint.h +120 -0
  89. data/vendor/local/include/clutter-1.0/clutter/clutter-container.h +196 -0
  90. data/vendor/local/include/clutter-1.0/clutter/clutter-content.h +103 -0
  91. data/vendor/local/include/clutter-1.0/clutter/clutter-deform-effect.h +117 -0
  92. data/vendor/local/include/clutter-1.0/clutter/clutter-deprecated.h +44 -0
  93. data/vendor/local/include/clutter-1.0/clutter/clutter-desaturate-effect.h +65 -0
  94. data/vendor/local/include/clutter-1.0/clutter/clutter-device-manager.h +110 -0
  95. data/vendor/local/include/clutter-1.0/clutter/clutter-drag-action.h +152 -0
  96. data/vendor/local/include/clutter-1.0/clutter/clutter-drop-action.h +115 -0
  97. data/vendor/local/include/clutter-1.0/clutter/clutter-effect.h +130 -0
  98. data/vendor/local/include/clutter-1.0/clutter/clutter-enum-types.h +190 -0
  99. data/vendor/local/include/clutter-1.0/clutter/clutter-enums.h +1385 -0
  100. data/vendor/local/include/clutter-1.0/clutter/clutter-event.h +588 -0
  101. data/vendor/local/include/clutter-1.0/clutter/clutter-feature.h +42 -0
  102. data/vendor/local/include/clutter-1.0/clutter/clutter-fixed-layout.h +82 -0
  103. data/vendor/local/include/clutter-1.0/clutter/clutter-flow-layout.h +129 -0
  104. data/vendor/local/include/clutter-1.0/clutter/clutter-gesture-action.h +179 -0
  105. data/vendor/local/include/clutter-1.0/clutter/clutter-grid-layout.h +161 -0
  106. data/vendor/local/include/clutter-1.0/clutter/clutter-group.h +96 -0
  107. data/vendor/local/include/clutter-1.0/clutter/clutter-image.h +141 -0
  108. data/vendor/local/include/clutter-1.0/clutter/clutter-input-device.h +140 -0
  109. data/vendor/local/include/clutter-1.0/clutter/clutter-interval.h +159 -0
  110. data/vendor/local/include/clutter-1.0/clutter/clutter-keyframe-transition.h +120 -0
  111. data/vendor/local/include/clutter-1.0/clutter/clutter-keysyms.h +2304 -0
  112. data/vendor/local/include/clutter-1.0/clutter/clutter-layout-manager.h +227 -0
  113. data/vendor/local/include/clutter-1.0/clutter/clutter-layout-meta.h +103 -0
  114. data/vendor/local/include/clutter-1.0/clutter/clutter-list-model.h +91 -0
  115. data/vendor/local/include/clutter-1.0/clutter/clutter-macros.h +327 -0
  116. data/vendor/local/include/clutter-1.0/clutter/clutter-main.h +184 -0
  117. data/vendor/local/include/clutter-1.0/clutter/clutter-marshal.h +273 -0
  118. data/vendor/local/include/clutter-1.0/clutter/clutter-model.h +422 -0
  119. data/vendor/local/include/clutter-1.0/clutter/clutter-offscreen-effect.h +122 -0
  120. data/vendor/local/include/clutter-1.0/clutter/clutter-page-turn-effect.h +80 -0
  121. data/vendor/local/include/clutter-1.0/clutter/clutter-paint-node.h +102 -0
  122. data/vendor/local/include/clutter-1.0/clutter/clutter-paint-nodes.h +150 -0
  123. data/vendor/local/include/clutter-1.0/clutter/clutter-pan-action.h +147 -0
  124. data/vendor/local/include/clutter-1.0/clutter/clutter-path-constraint.h +72 -0
  125. data/vendor/local/include/clutter-1.0/clutter/clutter-path.h +181 -0
  126. data/vendor/local/include/clutter-1.0/clutter/clutter-property-transition.h +91 -0
  127. data/vendor/local/include/clutter-1.0/clutter/clutter-rotate-action.h +100 -0
  128. data/vendor/local/include/clutter-1.0/clutter/clutter-script.h +220 -0
  129. data/vendor/local/include/clutter-1.0/clutter/clutter-scriptable.h +112 -0
  130. data/vendor/local/include/clutter-1.0/clutter/clutter-scroll-actor.h +97 -0
  131. data/vendor/local/include/clutter-1.0/clutter/clutter-settings.h +27 -0
  132. data/vendor/local/include/clutter-1.0/clutter/clutter-shader-effect.h +121 -0
  133. data/vendor/local/include/clutter-1.0/clutter/clutter-shader-types.h +104 -0
  134. data/vendor/local/include/clutter-1.0/clutter/clutter-snap-constraint.h +81 -0
  135. data/vendor/local/include/clutter-1.0/clutter/clutter-stage-manager.h +86 -0
  136. data/vendor/local/include/clutter-1.0/clutter/clutter-stage.h +250 -0
  137. data/vendor/local/include/clutter-1.0/clutter/clutter-swipe-action.h +109 -0
  138. data/vendor/local/include/clutter-1.0/clutter/clutter-tap-action.h +102 -0
  139. data/vendor/local/include/clutter-1.0/clutter/clutter-test-utils.h +164 -0
  140. data/vendor/local/include/clutter-1.0/clutter/clutter-text-buffer.h +172 -0
  141. data/vendor/local/include/clutter-1.0/clutter/clutter-text.h +307 -0
  142. data/vendor/local/include/clutter-1.0/clutter/clutter-texture.h +130 -0
  143. data/vendor/local/include/clutter-1.0/clutter/clutter-timeline.h +226 -0
  144. data/vendor/local/include/clutter-1.0/clutter/clutter-transition-group.h +91 -0
  145. data/vendor/local/include/clutter-1.0/clutter/clutter-transition.h +132 -0
  146. data/vendor/local/include/clutter-1.0/clutter/clutter-types.h +773 -0
  147. data/vendor/local/include/clutter-1.0/clutter/clutter-units.h +184 -0
  148. data/vendor/local/include/clutter-1.0/clutter/clutter-version.h +329 -0
  149. data/vendor/local/include/clutter-1.0/clutter/clutter-zoom-action.h +114 -0
  150. data/vendor/local/include/clutter-1.0/clutter/clutter.h +117 -0
  151. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-actor.h +161 -0
  152. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-alpha.h +144 -0
  153. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-animatable.h +47 -0
  154. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-animation.h +206 -0
  155. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-animator.h +186 -0
  156. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-backend.h +64 -0
  157. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-depth.h +101 -0
  158. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-ellipse.h +159 -0
  159. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-opacity.h +115 -0
  160. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-path.h +135 -0
  161. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-rotate.h +119 -0
  162. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-scale.h +107 -0
  163. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour.h +170 -0
  164. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-bin-layout.h +56 -0
  165. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-box.h +143 -0
  166. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-cairo-texture.h +139 -0
  167. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-container.h +93 -0
  168. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-fixed.h +98 -0
  169. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-frame-source.h +49 -0
  170. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-group.h +62 -0
  171. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-input-device.h +41 -0
  172. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-keysyms.h +2306 -0
  173. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-main.h +96 -0
  174. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-media.h +121 -0
  175. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-rectangle.h +117 -0
  176. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-score.h +144 -0
  177. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-shader.h +182 -0
  178. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-stage-manager.h +42 -0
  179. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-stage.h +102 -0
  180. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-state.h +187 -0
  181. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-table-layout.h +172 -0
  182. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-texture.h +138 -0
  183. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-timeline.h +41 -0
  184. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-timeout-pool.h +69 -0
  185. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-util.h +40 -0
  186. data/vendor/local/include/clutter-1.0/clutter/win32/clutter-win32.h +63 -0
  187. data/vendor/local/include/cogl/cogl-pango/cogl-pango.h +298 -0
  188. data/vendor/local/include/cogl/cogl-path/cogl-path-enum-types.h +20 -0
  189. data/vendor/local/include/cogl/cogl-path/cogl-path-types.h +85 -0
  190. data/vendor/local/include/cogl/cogl-path/cogl-path.h +68 -0
  191. data/vendor/local/include/cogl/cogl-path/cogl1-path-functions.h +467 -0
  192. data/vendor/local/include/cogl/cogl-path/cogl2-path-functions.h +545 -0
  193. data/vendor/local/include/cogl/cogl/cogl-atlas-texture.h +258 -0
  194. data/vendor/local/include/cogl/cogl/cogl-attribute-buffer.h +152 -0
  195. data/vendor/local/include/cogl/cogl/cogl-attribute.h +558 -0
  196. data/vendor/local/include/cogl/cogl/cogl-auto-texture.h +221 -0
  197. data/vendor/local/include/cogl/cogl/cogl-bitmap.h +336 -0
  198. data/vendor/local/include/cogl/cogl/cogl-buffer.h +324 -0
  199. data/vendor/local/include/cogl/cogl/cogl-clip-state.h +266 -0
  200. data/vendor/local/include/cogl/cogl/cogl-clutter.h +54 -0
  201. data/vendor/local/include/cogl/cogl/cogl-color.h +604 -0
  202. data/vendor/local/include/cogl/cogl/cogl-context.h +401 -0
  203. data/vendor/local/include/cogl/cogl/cogl-defines.h +58 -0
  204. data/vendor/local/include/cogl/cogl/cogl-deprecated.h +43 -0
  205. data/vendor/local/include/cogl/cogl/cogl-depth-state.h +270 -0
  206. data/vendor/local/include/cogl/cogl/cogl-display.h +234 -0
  207. data/vendor/local/include/cogl/cogl/cogl-enum-types.h +99 -0
  208. data/vendor/local/include/cogl/cogl/cogl-error.h +185 -0
  209. data/vendor/local/include/cogl/cogl/cogl-euler.h +269 -0
  210. data/vendor/local/include/cogl/cogl/cogl-fence.h +143 -0
  211. data/vendor/local/include/cogl/cogl/cogl-fixed.h +811 -0
  212. data/vendor/local/include/cogl/cogl/cogl-frame-info.h +148 -0
  213. data/vendor/local/include/cogl/cogl/cogl-framebuffer-deprecated.h +264 -0
  214. data/vendor/local/include/cogl/cogl/cogl-framebuffer.h +1818 -0
  215. data/vendor/local/include/cogl/cogl/cogl-gles2-types.h +474 -0
  216. data/vendor/local/include/cogl/cogl/cogl-gles2.h +420 -0
  217. data/vendor/local/include/cogl/cogl/cogl-glib-source.h +97 -0
  218. data/vendor/local/include/cogl/cogl/cogl-index-buffer.h +107 -0
  219. data/vendor/local/include/cogl/cogl/cogl-indices.h +165 -0
  220. data/vendor/local/include/cogl/cogl/cogl-macros.h +273 -0
  221. data/vendor/local/include/cogl/cogl/cogl-material-compat.h +1391 -0
  222. data/vendor/local/include/cogl/cogl/cogl-matrix-stack.h +645 -0
  223. data/vendor/local/include/cogl/cogl/cogl-matrix.h +821 -0
  224. data/vendor/local/include/cogl/cogl/cogl-meta-texture.h +194 -0
  225. data/vendor/local/include/cogl/cogl/cogl-object.h +251 -0
  226. data/vendor/local/include/cogl/cogl/cogl-offscreen.h +172 -0
  227. data/vendor/local/include/cogl/cogl/cogl-onscreen-template.h +125 -0
  228. data/vendor/local/include/cogl/cogl/cogl-onscreen.h +1012 -0
  229. data/vendor/local/include/cogl/cogl/cogl-output.h +261 -0
  230. data/vendor/local/include/cogl/cogl/cogl-pango.h +40 -0
  231. data/vendor/local/include/cogl/cogl/cogl-pipeline-layer-state.h +620 -0
  232. data/vendor/local/include/cogl/cogl/cogl-pipeline-state.h +980 -0
  233. data/vendor/local/include/cogl/cogl/cogl-pipeline.h +194 -0
  234. data/vendor/local/include/cogl/cogl/cogl-pixel-buffer.h +138 -0
  235. data/vendor/local/include/cogl/cogl/cogl-poll.h +200 -0
  236. data/vendor/local/include/cogl/cogl/cogl-primitive-texture.h +111 -0
  237. data/vendor/local/include/cogl/cogl/cogl-primitive.h +942 -0
  238. data/vendor/local/include/cogl/cogl/cogl-primitives.h +197 -0
  239. data/vendor/local/include/cogl/cogl/cogl-quaternion.h +564 -0
  240. data/vendor/local/include/cogl/cogl/cogl-renderer.h +446 -0
  241. data/vendor/local/include/cogl/cogl/cogl-shader.h +704 -0
  242. data/vendor/local/include/cogl/cogl/cogl-snippet.h +866 -0
  243. data/vendor/local/include/cogl/cogl/cogl-sub-texture.h +136 -0
  244. data/vendor/local/include/cogl/cogl/cogl-swap-chain.h +71 -0
  245. data/vendor/local/include/cogl/cogl/cogl-texture-2d-gl.h +78 -0
  246. data/vendor/local/include/cogl/cogl/cogl-texture-2d-sliced.h +301 -0
  247. data/vendor/local/include/cogl/cogl/cogl-texture-2d.h +234 -0
  248. data/vendor/local/include/cogl/cogl/cogl-texture-3d.h +204 -0
  249. data/vendor/local/include/cogl/cogl/cogl-texture-deprecated.h +105 -0
  250. data/vendor/local/include/cogl/cogl/cogl-texture-rectangle.h +218 -0
  251. data/vendor/local/include/cogl/cogl/cogl-texture.h +524 -0
  252. data/vendor/local/include/cogl/cogl/cogl-type-casts.h +53 -0
  253. data/vendor/local/include/cogl/cogl/cogl-types.h +925 -0
  254. data/vendor/local/include/cogl/cogl/cogl-vector.h +356 -0
  255. data/vendor/local/include/cogl/cogl/cogl-version.h +348 -0
  256. data/vendor/local/include/cogl/cogl/cogl-vertex-buffer.h +451 -0
  257. data/vendor/local/include/cogl/cogl/cogl-win32-renderer.h +123 -0
  258. data/vendor/local/include/cogl/cogl/cogl.h +194 -0
  259. data/vendor/local/include/cogl/cogl/cogl1-context.h +862 -0
  260. data/vendor/local/include/cogl/cogl/cogl2-experimental.h +37 -0
  261. data/vendor/local/include/cogl/cogl/deprecated/cogl-auto-texture.h +221 -0
  262. data/vendor/local/include/cogl/cogl/deprecated/cogl-clip-state.h +266 -0
  263. data/vendor/local/include/cogl/cogl/deprecated/cogl-clutter.h +54 -0
  264. data/vendor/local/include/cogl/cogl/deprecated/cogl-fixed.h +811 -0
  265. data/vendor/local/include/cogl/cogl/deprecated/cogl-framebuffer-deprecated.h +264 -0
  266. data/vendor/local/include/cogl/cogl/deprecated/cogl-material-compat.h +1391 -0
  267. data/vendor/local/include/cogl/cogl/deprecated/cogl-shader.h +704 -0
  268. data/vendor/local/include/cogl/cogl/deprecated/cogl-texture-deprecated.h +105 -0
  269. data/vendor/local/include/cogl/cogl/deprecated/cogl-type-casts.h +53 -0
  270. data/vendor/local/include/cogl/cogl/deprecated/cogl-vertex-buffer.h +451 -0
  271. data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-core-functions.h +198 -0
  272. data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-gles2-functions.h +43 -0
  273. data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-glsl-functions.h +286 -0
  274. data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles-core-functions.h +148 -0
  275. data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles2-core-functions.h +186 -0
  276. data/vendor/local/include/json-glib-1.0/json-glib/json-builder.h +120 -0
  277. data/vendor/local/include/json-glib-1.0/json-glib/json-enum-types.h +41 -0
  278. data/vendor/local/include/json-glib-1.0/json-glib/json-generator.h +120 -0
  279. data/vendor/local/include/json-glib-1.0/json-glib/json-glib.h +47 -0
  280. data/vendor/local/include/json-glib-1.0/json-glib/json-gobject.h +199 -0
  281. data/vendor/local/include/json-glib-1.0/json-glib/json-gvariant.h +53 -0
  282. data/vendor/local/include/json-glib-1.0/json-glib/json-parser.h +188 -0
  283. data/vendor/local/include/json-glib-1.0/json-glib/json-path.h +102 -0
  284. data/vendor/local/include/json-glib-1.0/json-glib/json-reader.h +171 -0
  285. data/vendor/local/include/json-glib-1.0/json-glib/json-types.h +445 -0
  286. data/vendor/local/include/json-glib-1.0/json-glib/json-version-macros.h +135 -0
  287. data/vendor/local/include/json-glib-1.0/json-glib/json-version.h +102 -0
  288. data/vendor/local/lib/girepository-1.0/Cally-1.0.typelib +0 -0
  289. data/vendor/local/lib/girepository-1.0/Clutter-1.0.typelib +0 -0
  290. data/vendor/local/lib/girepository-1.0/Cogl-1.0.typelib +0 -0
  291. data/vendor/local/lib/girepository-1.0/Cogl-2.0.typelib +0 -0
  292. data/vendor/local/lib/girepository-1.0/CoglPango-1.0.typelib +0 -0
  293. data/vendor/local/lib/girepository-1.0/CoglPango-2.0.typelib +0 -0
  294. data/vendor/local/lib/girepository-1.0/Json-1.0.typelib +0 -0
  295. data/vendor/local/lib/libclutter-1.0.dll.a +0 -0
  296. data/vendor/local/lib/libclutter-1.0.la +41 -0
  297. data/vendor/local/lib/libcogl-pango.dll.a +0 -0
  298. data/vendor/local/lib/libcogl-pango.la +41 -0
  299. data/vendor/local/lib/libcogl-path.dll.a +0 -0
  300. data/vendor/local/lib/libcogl-path.la +41 -0
  301. data/vendor/local/lib/libcogl.dll.a +0 -0
  302. data/vendor/local/lib/libcogl.la +41 -0
  303. data/vendor/local/lib/libjson-glib-1.0.dll.a +0 -0
  304. data/vendor/local/lib/libjson-glib-1.0.la +41 -0
  305. data/vendor/local/lib/pkgconfig/cally-1.0.pc +13 -0
  306. data/vendor/local/lib/pkgconfig/clutter-1.0.pc +24 -0
  307. data/vendor/local/lib/pkgconfig/clutter-win32-1.0.pc +24 -0
  308. data/vendor/local/lib/pkgconfig/cogl-1.0.pc +13 -0
  309. data/vendor/local/lib/pkgconfig/cogl-2.0-experimental.pc +13 -0
  310. data/vendor/local/lib/pkgconfig/cogl-gl-1.0.pc +13 -0
  311. data/vendor/local/lib/pkgconfig/cogl-pango-1.0.pc +13 -0
  312. data/vendor/local/lib/pkgconfig/cogl-pango-2.0-experimental.pc +13 -0
  313. data/vendor/local/lib/pkgconfig/cogl-path-1.0.pc +13 -0
  314. data/vendor/local/lib/pkgconfig/cogl-path-2.0-experimental.pc +13 -0
  315. data/vendor/local/lib/pkgconfig/json-glib-1.0.pc +11 -0
  316. data/vendor/local/share/cogl/examples-data/crate.jpg +0 -0
  317. data/vendor/local/share/gir-1.0/Cally-1.0.gir +681 -0
  318. data/vendor/local/share/gir-1.0/Clutter-1.0.gir +70493 -0
  319. data/vendor/local/share/gir-1.0/Cogl-1.0.gir +8197 -0
  320. data/vendor/local/share/gir-1.0/Cogl-2.0.gir +20369 -0
  321. data/vendor/local/share/gir-1.0/CoglPango-1.0.gir +333 -0
  322. data/vendor/local/share/gir-1.0/CoglPango-2.0.gir +331 -0
  323. data/vendor/local/share/gir-1.0/Json-1.0.gir +4742 -0
  324. data/vendor/local/share/gtk-doc/html/cally/CallyActor.html +509 -0
  325. data/vendor/local/share/gtk-doc/html/cally/CallyClone.html +155 -0
  326. data/vendor/local/share/gtk-doc/html/cally/CallyGroup.html +154 -0
  327. data/vendor/local/share/gtk-doc/html/cally/CallyRectangle.html +154 -0
  328. data/vendor/local/share/gtk-doc/html/cally/CallyRoot.html +133 -0
  329. data/vendor/local/share/gtk-doc/html/cally/CallyStage.html +159 -0
  330. data/vendor/local/share/gtk-doc/html/cally/CallyText.html +154 -0
  331. data/vendor/local/share/gtk-doc/html/cally/CallyTexture.html +154 -0
  332. data/vendor/local/share/gtk-doc/html/cally/CallyUtil.html +102 -0
  333. data/vendor/local/share/gtk-doc/html/cally/cally-General-API.html +187 -0
  334. data/vendor/local/share/gtk-doc/html/cally/cally.devhelp2 +73 -0
  335. data/vendor/local/share/gtk-doc/html/cally/callyannotationglossary.html +41 -0
  336. data/vendor/local/share/gtk-doc/html/cally/callybase.html +71 -0
  337. data/vendor/local/share/gtk-doc/html/cally/callyobjecthierarchy.html +45 -0
  338. data/vendor/local/share/gtk-doc/html/cally/callyobjectindex.html +64 -0
  339. data/vendor/local/share/gtk-doc/html/cally/callyobjects.html +39 -0
  340. data/vendor/local/share/gtk-doc/html/cally/ch01.html +53 -0
  341. data/vendor/local/share/gtk-doc/html/cally/ch02.html +41 -0
  342. data/vendor/local/share/gtk-doc/html/cally/clutter-overview.html +96 -0
  343. data/vendor/local/share/gtk-doc/html/cally/home.png +0 -0
  344. data/vendor/local/share/gtk-doc/html/cally/index.html +103 -0
  345. data/vendor/local/share/gtk-doc/html/cally/index.sgml +121 -0
  346. data/vendor/local/share/gtk-doc/html/cally/ix01.html +193 -0
  347. data/vendor/local/share/gtk-doc/html/cally/ix02.html +31 -0
  348. data/vendor/local/share/gtk-doc/html/cally/ix03.html +185 -0
  349. data/vendor/local/share/gtk-doc/html/cally/ix04.html +39 -0
  350. data/vendor/local/share/gtk-doc/html/cally/left-insensitive.png +0 -0
  351. data/vendor/local/share/gtk-doc/html/cally/left.png +0 -0
  352. data/vendor/local/share/gtk-doc/html/cally/license.html +58 -0
  353. data/vendor/local/share/gtk-doc/html/cally/right-insensitive.png +0 -0
  354. data/vendor/local/share/gtk-doc/html/cally/right.png +0 -0
  355. data/vendor/local/share/gtk-doc/html/cally/style.css +476 -0
  356. data/vendor/local/share/gtk-doc/html/cally/up-insensitive.png +0 -0
  357. data/vendor/local/share/gtk-doc/html/cally/up.png +0 -0
  358. data/vendor/local/share/gtk-doc/html/clutter/ClutterAction.html +109 -0
  359. data/vendor/local/share/gtk-doc/html/clutter/ClutterActor.html +15797 -0
  360. data/vendor/local/share/gtk-doc/html/clutter/ClutterActorMeta.html +396 -0
  361. data/vendor/local/share/gtk-doc/html/clutter/ClutterAlignConstraint.html +494 -0
  362. data/vendor/local/share/gtk-doc/html/clutter/ClutterAlpha.html +816 -0
  363. data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimatable.html +497 -0
  364. data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimator.html +1406 -0
  365. data/vendor/local/share/gtk-doc/html/clutter/ClutterBackend.html +855 -0
  366. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviour.html +802 -0
  367. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourDepth.html +313 -0
  368. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourEllipse.html +1041 -0
  369. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourOpacity.html +319 -0
  370. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourPath.html +502 -0
  371. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourRotate.html +744 -0
  372. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourScale.html +476 -0
  373. data/vendor/local/share/gtk-doc/html/clutter/ClutterBinLayout.html +481 -0
  374. data/vendor/local/share/gtk-doc/html/clutter/ClutterBindConstraint.html +598 -0
  375. data/vendor/local/share/gtk-doc/html/clutter/ClutterBlurEffect.html +116 -0
  376. data/vendor/local/share/gtk-doc/html/clutter/ClutterBox.html +726 -0
  377. data/vendor/local/share/gtk-doc/html/clutter/ClutterBoxLayout.html +1471 -0
  378. data/vendor/local/share/gtk-doc/html/clutter/ClutterBrightnessContrastEffect.html +480 -0
  379. data/vendor/local/share/gtk-doc/html/clutter/ClutterCairoTexture.html +873 -0
  380. data/vendor/local/share/gtk-doc/html/clutter/ClutterCanvas.html +488 -0
  381. data/vendor/local/share/gtk-doc/html/clutter/ClutterChildMeta.html +287 -0
  382. data/vendor/local/share/gtk-doc/html/clutter/ClutterClickAction.html +667 -0
  383. data/vendor/local/share/gtk-doc/html/clutter/ClutterClone.html +258 -0
  384. data/vendor/local/share/gtk-doc/html/clutter/ClutterColorizeEffect.html +239 -0
  385. data/vendor/local/share/gtk-doc/html/clutter/ClutterConstraint.html +208 -0
  386. data/vendor/local/share/gtk-doc/html/clutter/ClutterContainer.html +1611 -0
  387. data/vendor/local/share/gtk-doc/html/clutter/ClutterContent.html +367 -0
  388. data/vendor/local/share/gtk-doc/html/clutter/ClutterDeformEffect.html +418 -0
  389. data/vendor/local/share/gtk-doc/html/clutter/ClutterDesaturateEffect.html +242 -0
  390. data/vendor/local/share/gtk-doc/html/clutter/ClutterDeviceManager.html +492 -0
  391. data/vendor/local/share/gtk-doc/html/clutter/ClutterDragAction.html +1120 -0
  392. data/vendor/local/share/gtk-doc/html/clutter/ClutterDropAction.html +498 -0
  393. data/vendor/local/share/gtk-doc/html/clutter/ClutterEffect.html +469 -0
  394. data/vendor/local/share/gtk-doc/html/clutter/ClutterFixedLayout.html +125 -0
  395. data/vendor/local/share/gtk-doc/html/clutter/ClutterFlowLayout.html +928 -0
  396. data/vendor/local/share/gtk-doc/html/clutter/ClutterGestureAction.html +1321 -0
  397. data/vendor/local/share/gtk-doc/html/clutter/ClutterGridLayout.html +1020 -0
  398. data/vendor/local/share/gtk-doc/html/clutter/ClutterGroup.html +272 -0
  399. data/vendor/local/share/gtk-doc/html/clutter/ClutterImage.html +527 -0
  400. data/vendor/local/share/gtk-doc/html/clutter/ClutterInputDevice.html +1805 -0
  401. data/vendor/local/share/gtk-doc/html/clutter/ClutterKeyframeTransition.html +616 -0
  402. data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutManager.html +1280 -0
  403. data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutMeta.html +189 -0
  404. data/vendor/local/share/gtk-doc/html/clutter/ClutterListModel.html +222 -0
  405. data/vendor/local/share/gtk-doc/html/clutter/ClutterMedia.html +1053 -0
  406. data/vendor/local/share/gtk-doc/html/clutter/ClutterModel.html +2052 -0
  407. data/vendor/local/share/gtk-doc/html/clutter/ClutterModelIter.html +779 -0
  408. data/vendor/local/share/gtk-doc/html/clutter/ClutterOffscreenEffect.html +452 -0
  409. data/vendor/local/share/gtk-doc/html/clutter/ClutterPageTurnEffect.html +428 -0
  410. data/vendor/local/share/gtk-doc/html/clutter/ClutterPaintNode.html +671 -0
  411. data/vendor/local/share/gtk-doc/html/clutter/ClutterPanAction.html +946 -0
  412. data/vendor/local/share/gtk-doc/html/clutter/ClutterPath.html +1576 -0
  413. data/vendor/local/share/gtk-doc/html/clutter/ClutterPathConstraint.html +407 -0
  414. data/vendor/local/share/gtk-doc/html/clutter/ClutterPropertyTransition.html +261 -0
  415. data/vendor/local/share/gtk-doc/html/clutter/ClutterRectangle.html +484 -0
  416. data/vendor/local/share/gtk-doc/html/clutter/ClutterRotateAction.html +216 -0
  417. data/vendor/local/share/gtk-doc/html/clutter/ClutterScore.html +1018 -0
  418. data/vendor/local/share/gtk-doc/html/clutter/ClutterScript.html +1421 -0
  419. data/vendor/local/share/gtk-doc/html/clutter/ClutterScriptable.html +364 -0
  420. data/vendor/local/share/gtk-doc/html/clutter/ClutterScrollActor.html +385 -0
  421. data/vendor/local/share/gtk-doc/html/clutter/ClutterSettings.html +376 -0
  422. data/vendor/local/share/gtk-doc/html/clutter/ClutterShaderEffect.html +693 -0
  423. data/vendor/local/share/gtk-doc/html/clutter/ClutterSnapConstraint.html +526 -0
  424. data/vendor/local/share/gtk-doc/html/clutter/ClutterStage.html +2751 -0
  425. data/vendor/local/share/gtk-doc/html/clutter/ClutterState.html +1823 -0
  426. data/vendor/local/share/gtk-doc/html/clutter/ClutterSwipeAction.html +333 -0
  427. data/vendor/local/share/gtk-doc/html/clutter/ClutterTableLayout.html +1393 -0
  428. data/vendor/local/share/gtk-doc/html/clutter/ClutterTapAction.html +219 -0
  429. data/vendor/local/share/gtk-doc/html/clutter/ClutterText.html +3871 -0
  430. data/vendor/local/share/gtk-doc/html/clutter/ClutterTextBuffer.html +906 -0
  431. data/vendor/local/share/gtk-doc/html/clutter/ClutterTexture.html +2085 -0
  432. data/vendor/local/share/gtk-doc/html/clutter/ClutterTimeline.html +2864 -0
  433. data/vendor/local/share/gtk-doc/html/clutter/ClutterTransition.html +684 -0
  434. data/vendor/local/share/gtk-doc/html/clutter/ClutterTransitionGroup.html +264 -0
  435. data/vendor/local/share/gtk-doc/html/clutter/ClutterZoomAction.html +474 -0
  436. data/vendor/local/share/gtk-doc/html/clutter/actor-box.png +0 -0
  437. data/vendor/local/share/gtk-doc/html/clutter/actor-example.png +0 -0
  438. data/vendor/local/share/gtk-doc/html/clutter/animator-key-frames.png +0 -0
  439. data/vendor/local/share/gtk-doc/html/clutter/annotation-glossary.html +95 -0
  440. data/vendor/local/share/gtk-doc/html/clutter/bin-layout.png +0 -0
  441. data/vendor/local/share/gtk-doc/html/clutter/box-layout.png +0 -0
  442. data/vendor/local/share/gtk-doc/html/clutter/building-clutter.html +275 -0
  443. data/vendor/local/share/gtk-doc/html/clutter/ch01.html +65 -0
  444. data/vendor/local/share/gtk-doc/html/clutter/ch02.html +44 -0
  445. data/vendor/local/share/gtk-doc/html/clutter/ch03.html +47 -0
  446. data/vendor/local/share/gtk-doc/html/clutter/ch04.html +59 -0
  447. data/vendor/local/share/gtk-doc/html/clutter/ch05.html +44 -0
  448. data/vendor/local/share/gtk-doc/html/clutter/ch06.html +57 -0
  449. data/vendor/local/share/gtk-doc/html/clutter/ch07.html +38 -0
  450. data/vendor/local/share/gtk-doc/html/clutter/ch08.html +38 -0
  451. data/vendor/local/share/gtk-doc/html/clutter/ch09.html +53 -0
  452. data/vendor/local/share/gtk-doc/html/clutter/ch10.html +78 -0
  453. data/vendor/local/share/gtk-doc/html/clutter/ch11.html +38 -0
  454. data/vendor/local/share/gtk-doc/html/clutter/ch12.html +41 -0
  455. data/vendor/local/share/gtk-doc/html/clutter/clutter-Base-geometric-types.html +4244 -0
  456. data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterGLXTexturePixmap.html +268 -0
  457. data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterWaylandSurface.html +454 -0
  458. data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterX11TexturePixmap.html +442 -0
  459. data/vendor/local/share/gtk-doc/html/clutter/clutter-Colors.html +1644 -0
  460. data/vendor/local/share/gtk-doc/html/clutter/clutter-EGL-Specific-Support.html +211 -0
  461. data/vendor/local/share/gtk-doc/html/clutter/clutter-Events.html +3454 -0
  462. data/vendor/local/share/gtk-doc/html/clutter/clutter-Features.html +232 -0
  463. data/vendor/local/share/gtk-doc/html/clutter/clutter-GDK-Specific-Support.html +297 -0
  464. data/vendor/local/share/gtk-doc/html/clutter/clutter-General.html +2112 -0
  465. data/vendor/local/share/gtk-doc/html/clutter/clutter-Implicit-Animations.html +2213 -0
  466. data/vendor/local/share/gtk-doc/html/clutter/clutter-Intel-CE3100-CE4100-Specific-Support.html +200 -0
  467. data/vendor/local/share/gtk-doc/html/clutter/clutter-Key-Bindings.html +992 -0
  468. data/vendor/local/share/gtk-doc/html/clutter/clutter-Paint-Nodes.html +411 -0
  469. data/vendor/local/share/gtk-doc/html/clutter/clutter-Shaders.html +1236 -0
  470. data/vendor/local/share/gtk-doc/html/clutter/clutter-Stage-Manager.html +418 -0
  471. data/vendor/local/share/gtk-doc/html/clutter/clutter-Unit-conversion.html +1006 -0
  472. data/vendor/local/share/gtk-doc/html/clutter/clutter-Utilities.html +661 -0
  473. data/vendor/local/share/gtk-doc/html/clutter/clutter-Value-intervals.html +1221 -0
  474. data/vendor/local/share/gtk-doc/html/clutter/clutter-Versioning-Macros.html +578 -0
  475. data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-compositor-specific-support.html +106 -0
  476. data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-specific-support.html +289 -0
  477. data/vendor/local/share/gtk-doc/html/clutter/clutter-Win32-Specific-Support.html +241 -0
  478. data/vendor/local/share/gtk-doc/html/clutter/clutter-X11-Specific-Support.html +916 -0
  479. data/vendor/local/share/gtk-doc/html/clutter/clutter-overview.html +77 -0
  480. data/vendor/local/share/gtk-doc/html/clutter/clutter.devhelp2 +2403 -0
  481. data/vendor/local/share/gtk-doc/html/clutter/clutteranimation.html +65 -0
  482. data/vendor/local/share/gtk-doc/html/clutter/clutterbackends.html +74 -0
  483. data/vendor/local/share/gtk-doc/html/clutter/clutterbase.html +195 -0
  484. data/vendor/local/share/gtk-doc/html/clutter/clutterglossary.html +37 -0
  485. data/vendor/local/share/gtk-doc/html/clutter/clutterobjecthierarchy.html +118 -0
  486. data/vendor/local/share/gtk-doc/html/clutter/clutterobjectindex.html +184 -0
  487. data/vendor/local/share/gtk-doc/html/clutter/clutterobjects.html +37 -0
  488. data/vendor/local/share/gtk-doc/html/clutter/cluttertools.html +105 -0
  489. data/vendor/local/share/gtk-doc/html/clutter/constraints-example.png +0 -0
  490. data/vendor/local/share/gtk-doc/html/clutter/deprecated.html +93 -0
  491. data/vendor/local/share/gtk-doc/html/clutter/easing-modes.png +0 -0
  492. data/vendor/local/share/gtk-doc/html/clutter/event-flow.png +0 -0
  493. data/vendor/local/share/gtk-doc/html/clutter/flow-layout.png +0 -0
  494. data/vendor/local/share/gtk-doc/html/clutter/go01.html +126 -0
  495. data/vendor/local/share/gtk-doc/html/clutter/home.png +0 -0
  496. data/vendor/local/share/gtk-doc/html/clutter/index.html +454 -0
  497. data/vendor/local/share/gtk-doc/html/clutter/index.sgml +3165 -0
  498. data/vendor/local/share/gtk-doc/html/clutter/iterating-paths.html +56 -0
  499. data/vendor/local/share/gtk-doc/html/clutter/ix01.html +8982 -0
  500. data/vendor/local/share/gtk-doc/html/clutter/ix02.html +2198 -0
  501. data/vendor/local/share/gtk-doc/html/clutter/ix03.html +457 -0
  502. data/vendor/local/share/gtk-doc/html/clutter/ix04.html +578 -0
  503. data/vendor/local/share/gtk-doc/html/clutter/ix05.html +952 -0
  504. data/vendor/local/share/gtk-doc/html/clutter/ix06.html +637 -0
  505. data/vendor/local/share/gtk-doc/html/clutter/ix07.html +1525 -0
  506. data/vendor/local/share/gtk-doc/html/clutter/ix08.html +815 -0
  507. data/vendor/local/share/gtk-doc/html/clutter/ix09.html +1000 -0
  508. data/vendor/local/share/gtk-doc/html/clutter/ix10.html +364 -0
  509. data/vendor/local/share/gtk-doc/html/clutter/ix11.html +361 -0
  510. data/vendor/local/share/gtk-doc/html/clutter/ix12.html +1085 -0
  511. data/vendor/local/share/gtk-doc/html/clutter/ix13.html +979 -0
  512. data/vendor/local/share/gtk-doc/html/clutter/ix14.html +101 -0
  513. data/vendor/local/share/gtk-doc/html/clutter/left-insensitive.png +0 -0
  514. data/vendor/local/share/gtk-doc/html/clutter/left.png +0 -0
  515. data/vendor/local/share/gtk-doc/html/clutter/license.html +58 -0
  516. data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterAnimation.html +223 -0
  517. data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterBehaviour.html +197 -0
  518. data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterEffect.html +154 -0
  519. data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterPath.html +155 -0
  520. data/vendor/local/share/gtk-doc/html/clutter/migration.html +49 -0
  521. data/vendor/local/share/gtk-doc/html/clutter/offscreen-redirect.png +0 -0
  522. data/vendor/local/share/gtk-doc/html/clutter/path-alpha-func.png +0 -0
  523. data/vendor/local/share/gtk-doc/html/clutter/pt09.html +31 -0
  524. data/vendor/local/share/gtk-doc/html/clutter/right-insensitive.png +0 -0
  525. data/vendor/local/share/gtk-doc/html/clutter/right.png +0 -0
  526. data/vendor/local/share/gtk-doc/html/clutter/running-clutter.html +378 -0
  527. data/vendor/local/share/gtk-doc/html/clutter/style.css +476 -0
  528. data/vendor/local/share/gtk-doc/html/clutter/table-layout.png +0 -0
  529. data/vendor/local/share/gtk-doc/html/clutter/up-insensitive.png +0 -0
  530. data/vendor/local/share/gtk-doc/html/clutter/up.png +0 -0
  531. data/vendor/local/share/gtk-doc/html/clutter/using-cairo.html +36 -0
  532. data/vendor/local/share/gtk-doc/html/json-glib/JsonBuilder.html +676 -0
  533. data/vendor/local/share/gtk-doc/html/json-glib/JsonGenerator.html +660 -0
  534. data/vendor/local/share/gtk-doc/html/json-glib/JsonParser.html +1144 -0
  535. data/vendor/local/share/gtk-doc/html/json-glib/JsonPath.html +512 -0
  536. data/vendor/local/share/gtk-doc/html/json-glib/JsonReader.html +1140 -0
  537. data/vendor/local/share/gtk-doc/html/json-glib/annotation-glossary.html +66 -0
  538. data/vendor/local/share/gtk-doc/html/json-glib/ch01.html +41 -0
  539. data/vendor/local/share/gtk-doc/html/json-glib/ch02.html +41 -0
  540. data/vendor/local/share/gtk-doc/html/json-glib/ch03.html +38 -0
  541. data/vendor/local/share/gtk-doc/html/json-glib/ch05.html +40 -0
  542. data/vendor/local/share/gtk-doc/html/json-glib/home.png +0 -0
  543. data/vendor/local/share/gtk-doc/html/json-glib/index.html +134 -0
  544. data/vendor/local/share/gtk-doc/html/json-glib/index.sgml +327 -0
  545. data/vendor/local/share/gtk-doc/html/json-glib/ix01.html +965 -0
  546. data/vendor/local/share/gtk-doc/html/json-glib/ix02.html +49 -0
  547. data/vendor/local/share/gtk-doc/html/json-glib/ix03.html +56 -0
  548. data/vendor/local/share/gtk-doc/html/json-glib/ix04.html +49 -0
  549. data/vendor/local/share/gtk-doc/html/json-glib/ix05.html +181 -0
  550. data/vendor/local/share/gtk-doc/html/json-glib/ix06.html +116 -0
  551. data/vendor/local/share/gtk-doc/html/json-glib/ix07.html +156 -0
  552. data/vendor/local/share/gtk-doc/html/json-glib/ix08.html +132 -0
  553. data/vendor/local/share/gtk-doc/html/json-glib/json-advanced.html +50 -0
  554. data/vendor/local/share/gtk-doc/html/json-glib/json-base.html +61 -0
  555. data/vendor/local/share/gtk-doc/html/json-glib/json-format-tool.html +84 -0
  556. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Boxed-Types-Serialization.html +491 -0
  557. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html +385 -0
  558. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Array.html +1188 -0
  559. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-GVariant-Integration.html +318 -0
  560. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Node.html +1803 -0
  561. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Object.html +1369 -0
  562. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Serializable-Interface.html +582 -0
  563. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html +215 -0
  564. data/vendor/local/share/gtk-doc/html/json-glib/json-glib.devhelp2 +277 -0
  565. data/vendor/local/share/gtk-doc/html/json-glib/json-glib.html +38 -0
  566. data/vendor/local/share/gtk-doc/html/json-glib/json-streams.html +63 -0
  567. data/vendor/local/share/gtk-doc/html/json-glib/json-tools.html +45 -0
  568. data/vendor/local/share/gtk-doc/html/json-glib/json-validate-tool.html +72 -0
  569. data/vendor/local/share/gtk-doc/html/json-glib/left-insensitive.png +0 -0
  570. data/vendor/local/share/gtk-doc/html/json-glib/left.png +0 -0
  571. data/vendor/local/share/gtk-doc/html/json-glib/license.html +58 -0
  572. data/vendor/local/share/gtk-doc/html/json-glib/right-insensitive.png +0 -0
  573. data/vendor/local/share/gtk-doc/html/json-glib/right.png +0 -0
  574. data/vendor/local/share/gtk-doc/html/json-glib/style.css +476 -0
  575. data/vendor/local/share/gtk-doc/html/json-glib/tools.html +38 -0
  576. data/vendor/local/share/gtk-doc/html/json-glib/up-insensitive.png +0 -0
  577. data/vendor/local/share/gtk-doc/html/json-glib/up.png +0 -0
  578. data/vendor/local/share/license/clutter/COPYING +502 -0
  579. data/vendor/local/share/license/cogl/COPYING +107 -0
  580. data/vendor/local/share/license/json-glib/COPYING +504 -0
  581. data/vendor/local/share/locale/an/LC_MESSAGES/clutter-1.0.mo +0 -0
  582. data/vendor/local/share/locale/an/LC_MESSAGES/cogl.mo +0 -0
  583. data/vendor/local/share/locale/ar/LC_MESSAGES/clutter-1.0.mo +0 -0
  584. data/vendor/local/share/locale/ar/LC_MESSAGES/cogl.mo +0 -0
  585. data/vendor/local/share/locale/as/LC_MESSAGES/clutter-1.0.mo +0 -0
  586. data/vendor/local/share/locale/as/LC_MESSAGES/cogl.mo +0 -0
  587. data/vendor/local/share/locale/as/LC_MESSAGES/json-glib-1.0.mo +0 -0
  588. data/vendor/local/share/locale/ast/LC_MESSAGES/clutter-1.0.mo +0 -0
  589. data/vendor/local/share/locale/ast/LC_MESSAGES/cogl.mo +0 -0
  590. data/vendor/local/share/locale/az_IR/LC_MESSAGES/clutter-1.0.mo +0 -0
  591. data/vendor/local/share/locale/be/LC_MESSAGES/clutter-1.0.mo +0 -0
  592. data/vendor/local/share/locale/be/LC_MESSAGES/cogl.mo +0 -0
  593. data/vendor/local/share/locale/bg/LC_MESSAGES/clutter-1.0.mo +0 -0
  594. data/vendor/local/share/locale/bg/LC_MESSAGES/cogl.mo +0 -0
  595. data/vendor/local/share/locale/bg/LC_MESSAGES/json-glib-1.0.mo +0 -0
  596. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/json-glib-1.0.mo +0 -0
  597. data/vendor/local/share/locale/ca/LC_MESSAGES/clutter-1.0.mo +0 -0
  598. data/vendor/local/share/locale/ca/LC_MESSAGES/cogl.mo +0 -0
  599. data/vendor/local/share/locale/ca/LC_MESSAGES/json-glib-1.0.mo +0 -0
  600. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/clutter-1.0.mo +0 -0
  601. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/cogl.mo +0 -0
  602. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/json-glib-1.0.mo +0 -0
  603. data/vendor/local/share/locale/cs/LC_MESSAGES/clutter-1.0.mo +0 -0
  604. data/vendor/local/share/locale/cs/LC_MESSAGES/cogl.mo +0 -0
  605. data/vendor/local/share/locale/cs/LC_MESSAGES/json-glib-1.0.mo +0 -0
  606. data/vendor/local/share/locale/da/LC_MESSAGES/clutter-1.0.mo +0 -0
  607. data/vendor/local/share/locale/da/LC_MESSAGES/cogl.mo +0 -0
  608. data/vendor/local/share/locale/da/LC_MESSAGES/json-glib-1.0.mo +0 -0
  609. data/vendor/local/share/locale/de/LC_MESSAGES/clutter-1.0.mo +0 -0
  610. data/vendor/local/share/locale/de/LC_MESSAGES/cogl.mo +0 -0
  611. data/vendor/local/share/locale/de/LC_MESSAGES/json-glib-1.0.mo +0 -0
  612. data/vendor/local/share/locale/el/LC_MESSAGES/clutter-1.0.mo +0 -0
  613. data/vendor/local/share/locale/el/LC_MESSAGES/cogl.mo +0 -0
  614. data/vendor/local/share/locale/el/LC_MESSAGES/json-glib-1.0.mo +0 -0
  615. data/vendor/local/share/locale/en_CA/LC_MESSAGES/cogl.mo +0 -0
  616. data/vendor/local/share/locale/en_GB/LC_MESSAGES/clutter-1.0.mo +0 -0
  617. data/vendor/local/share/locale/en_GB/LC_MESSAGES/cogl.mo +0 -0
  618. data/vendor/local/share/locale/en_GB/LC_MESSAGES/json-glib-1.0.mo +0 -0
  619. data/vendor/local/share/locale/eo/LC_MESSAGES/clutter-1.0.mo +0 -0
  620. data/vendor/local/share/locale/eo/LC_MESSAGES/cogl.mo +0 -0
  621. data/vendor/local/share/locale/eo/LC_MESSAGES/json-glib-1.0.mo +0 -0
  622. data/vendor/local/share/locale/es/LC_MESSAGES/clutter-1.0.mo +0 -0
  623. data/vendor/local/share/locale/es/LC_MESSAGES/cogl.mo +0 -0
  624. data/vendor/local/share/locale/es/LC_MESSAGES/json-glib-1.0.mo +0 -0
  625. data/vendor/local/share/locale/et/LC_MESSAGES/json-glib-1.0.mo +0 -0
  626. data/vendor/local/share/locale/eu/LC_MESSAGES/clutter-1.0.mo +0 -0
  627. data/vendor/local/share/locale/eu/LC_MESSAGES/cogl.mo +0 -0
  628. data/vendor/local/share/locale/eu/LC_MESSAGES/json-glib-1.0.mo +0 -0
  629. data/vendor/local/share/locale/fa/LC_MESSAGES/clutter-1.0.mo +0 -0
  630. data/vendor/local/share/locale/fa/LC_MESSAGES/cogl.mo +0 -0
  631. data/vendor/local/share/locale/fi/LC_MESSAGES/clutter-1.0.mo +0 -0
  632. data/vendor/local/share/locale/fr/LC_MESSAGES/clutter-1.0.mo +0 -0
  633. data/vendor/local/share/locale/fr/LC_MESSAGES/cogl.mo +0 -0
  634. data/vendor/local/share/locale/fr/LC_MESSAGES/json-glib-1.0.mo +0 -0
  635. data/vendor/local/share/locale/fur/LC_MESSAGES/json-glib-1.0.mo +0 -0
  636. data/vendor/local/share/locale/gl/LC_MESSAGES/clutter-1.0.mo +0 -0
  637. data/vendor/local/share/locale/gl/LC_MESSAGES/cogl.mo +0 -0
  638. data/vendor/local/share/locale/gl/LC_MESSAGES/json-glib-1.0.mo +0 -0
  639. data/vendor/local/share/locale/he/LC_MESSAGES/clutter-1.0.mo +0 -0
  640. data/vendor/local/share/locale/he/LC_MESSAGES/cogl.mo +0 -0
  641. data/vendor/local/share/locale/he/LC_MESSAGES/json-glib-1.0.mo +0 -0
  642. data/vendor/local/share/locale/hi/LC_MESSAGES/clutter-1.0.mo +0 -0
  643. data/vendor/local/share/locale/hi/LC_MESSAGES/cogl.mo +0 -0
  644. data/vendor/local/share/locale/hi/LC_MESSAGES/json-glib-1.0.mo +0 -0
  645. data/vendor/local/share/locale/hu/LC_MESSAGES/clutter-1.0.mo +0 -0
  646. data/vendor/local/share/locale/hu/LC_MESSAGES/cogl.mo +0 -0
  647. data/vendor/local/share/locale/hu/LC_MESSAGES/json-glib-1.0.mo +0 -0
  648. data/vendor/local/share/locale/id/LC_MESSAGES/clutter-1.0.mo +0 -0
  649. data/vendor/local/share/locale/id/LC_MESSAGES/cogl.mo +0 -0
  650. data/vendor/local/share/locale/id/LC_MESSAGES/json-glib-1.0.mo +0 -0
  651. data/vendor/local/share/locale/it/LC_MESSAGES/clutter-1.0.mo +0 -0
  652. data/vendor/local/share/locale/it/LC_MESSAGES/cogl.mo +0 -0
  653. data/vendor/local/share/locale/it/LC_MESSAGES/json-glib-1.0.mo +0 -0
  654. data/vendor/local/share/locale/ja/LC_MESSAGES/clutter-1.0.mo +0 -0
  655. data/vendor/local/share/locale/ja/LC_MESSAGES/cogl.mo +0 -0
  656. data/vendor/local/share/locale/ja/LC_MESSAGES/json-glib-1.0.mo +0 -0
  657. data/vendor/local/share/locale/km/LC_MESSAGES/clutter-1.0.mo +0 -0
  658. data/vendor/local/share/locale/km/LC_MESSAGES/cogl.mo +0 -0
  659. data/vendor/local/share/locale/kn/LC_MESSAGES/clutter-1.0.mo +0 -0
  660. data/vendor/local/share/locale/kn/LC_MESSAGES/cogl.mo +0 -0
  661. data/vendor/local/share/locale/ko/LC_MESSAGES/clutter-1.0.mo +0 -0
  662. data/vendor/local/share/locale/ko/LC_MESSAGES/cogl.mo +0 -0
  663. data/vendor/local/share/locale/ko/LC_MESSAGES/json-glib-1.0.mo +0 -0
  664. data/vendor/local/share/locale/ky/LC_MESSAGES/json-glib-1.0.mo +0 -0
  665. data/vendor/local/share/locale/lt/LC_MESSAGES/clutter-1.0.mo +0 -0
  666. data/vendor/local/share/locale/lt/LC_MESSAGES/cogl.mo +0 -0
  667. data/vendor/local/share/locale/lt/LC_MESSAGES/json-glib-1.0.mo +0 -0
  668. data/vendor/local/share/locale/lv/LC_MESSAGES/clutter-1.0.mo +0 -0
  669. data/vendor/local/share/locale/lv/LC_MESSAGES/cogl.mo +0 -0
  670. data/vendor/local/share/locale/lv/LC_MESSAGES/json-glib-1.0.mo +0 -0
  671. data/vendor/local/share/locale/mk/LC_MESSAGES/clutter-1.0.mo +0 -0
  672. data/vendor/local/share/locale/ml/LC_MESSAGES/clutter-1.0.mo +0 -0
  673. data/vendor/local/share/locale/ml/LC_MESSAGES/cogl.mo +0 -0
  674. data/vendor/local/share/locale/ml/LC_MESSAGES/json-glib-1.0.mo +0 -0
  675. data/vendor/local/share/locale/nb/LC_MESSAGES/clutter-1.0.mo +0 -0
  676. data/vendor/local/share/locale/nb/LC_MESSAGES/cogl.mo +0 -0
  677. data/vendor/local/share/locale/nb/LC_MESSAGES/json-glib-1.0.mo +0 -0
  678. data/vendor/local/share/locale/nl/LC_MESSAGES/clutter-1.0.mo +0 -0
  679. data/vendor/local/share/locale/nl/LC_MESSAGES/cogl.mo +0 -0
  680. data/vendor/local/share/locale/or/LC_MESSAGES/clutter-1.0.mo +0 -0
  681. data/vendor/local/share/locale/or/LC_MESSAGES/cogl.mo +0 -0
  682. data/vendor/local/share/locale/or/LC_MESSAGES/json-glib-1.0.mo +0 -0
  683. data/vendor/local/share/locale/pa/LC_MESSAGES/clutter-1.0.mo +0 -0
  684. data/vendor/local/share/locale/pa/LC_MESSAGES/cogl.mo +0 -0
  685. data/vendor/local/share/locale/pa/LC_MESSAGES/json-glib-1.0.mo +0 -0
  686. data/vendor/local/share/locale/pl/LC_MESSAGES/clutter-1.0.mo +0 -0
  687. data/vendor/local/share/locale/pl/LC_MESSAGES/cogl.mo +0 -0
  688. data/vendor/local/share/locale/pl/LC_MESSAGES/json-glib-1.0.mo +0 -0
  689. data/vendor/local/share/locale/ps/LC_MESSAGES/clutter-1.0.mo +0 -0
  690. data/vendor/local/share/locale/pt/LC_MESSAGES/clutter-1.0.mo +0 -0
  691. data/vendor/local/share/locale/pt/LC_MESSAGES/cogl.mo +0 -0
  692. data/vendor/local/share/locale/pt/LC_MESSAGES/json-glib-1.0.mo +0 -0
  693. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/clutter-1.0.mo +0 -0
  694. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/cogl.mo +0 -0
  695. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/json-glib-1.0.mo +0 -0
  696. data/vendor/local/share/locale/ro/LC_MESSAGES/clutter-1.0.mo +0 -0
  697. data/vendor/local/share/locale/ru/LC_MESSAGES/clutter-1.0.mo +0 -0
  698. data/vendor/local/share/locale/ru/LC_MESSAGES/cogl.mo +0 -0
  699. data/vendor/local/share/locale/ru/LC_MESSAGES/json-glib-1.0.mo +0 -0
  700. data/vendor/local/share/locale/sk/LC_MESSAGES/clutter-1.0.mo +0 -0
  701. data/vendor/local/share/locale/sk/LC_MESSAGES/cogl.mo +0 -0
  702. data/vendor/local/share/locale/sk/LC_MESSAGES/json-glib-1.0.mo +0 -0
  703. data/vendor/local/share/locale/sl/LC_MESSAGES/clutter-1.0.mo +0 -0
  704. data/vendor/local/share/locale/sl/LC_MESSAGES/cogl.mo +0 -0
  705. data/vendor/local/share/locale/sl/LC_MESSAGES/json-glib-1.0.mo +0 -0
  706. data/vendor/local/share/locale/sr/LC_MESSAGES/clutter-1.0.mo +0 -0
  707. data/vendor/local/share/locale/sr/LC_MESSAGES/cogl.mo +0 -0
  708. data/vendor/local/share/locale/sr/LC_MESSAGES/json-glib-1.0.mo +0 -0
  709. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/clutter-1.0.mo +0 -0
  710. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/cogl.mo +0 -0
  711. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/json-glib-1.0.mo +0 -0
  712. data/vendor/local/share/locale/sv/LC_MESSAGES/clutter-1.0.mo +0 -0
  713. data/vendor/local/share/locale/sv/LC_MESSAGES/cogl.mo +0 -0
  714. data/vendor/local/share/locale/sv/LC_MESSAGES/json-glib-1.0.mo +0 -0
  715. data/vendor/local/share/locale/ta/LC_MESSAGES/clutter-1.0.mo +0 -0
  716. data/vendor/local/share/locale/ta/LC_MESSAGES/cogl.mo +0 -0
  717. data/vendor/local/share/locale/te/LC_MESSAGES/clutter-1.0.mo +0 -0
  718. data/vendor/local/share/locale/te/LC_MESSAGES/cogl.mo +0 -0
  719. data/vendor/local/share/locale/te/LC_MESSAGES/json-glib-1.0.mo +0 -0
  720. data/vendor/local/share/locale/tg/LC_MESSAGES/json-glib-1.0.mo +0 -0
  721. data/vendor/local/share/locale/th/LC_MESSAGES/cogl.mo +0 -0
  722. data/vendor/local/share/locale/tr/LC_MESSAGES/clutter-1.0.mo +0 -0
  723. data/vendor/local/share/locale/tr/LC_MESSAGES/cogl.mo +0 -0
  724. data/vendor/local/share/locale/tr/LC_MESSAGES/json-glib-1.0.mo +0 -0
  725. data/vendor/local/share/locale/ug/LC_MESSAGES/clutter-1.0.mo +0 -0
  726. data/vendor/local/share/locale/ug/LC_MESSAGES/cogl.mo +0 -0
  727. data/vendor/local/share/locale/ug/LC_MESSAGES/json-glib-1.0.mo +0 -0
  728. data/vendor/local/share/locale/uk/LC_MESSAGES/clutter-1.0.mo +0 -0
  729. data/vendor/local/share/locale/uk/LC_MESSAGES/cogl.mo +0 -0
  730. data/vendor/local/share/locale/uk/LC_MESSAGES/json-glib-1.0.mo +0 -0
  731. data/vendor/local/share/locale/ur/LC_MESSAGES/clutter-1.0.mo +0 -0
  732. data/vendor/local/share/locale/vi/LC_MESSAGES/cogl.mo +0 -0
  733. data/vendor/local/share/locale/vi/LC_MESSAGES/json-glib-1.0.mo +0 -0
  734. data/vendor/local/share/locale/yi/LC_MESSAGES/clutter-1.0.mo +0 -0
  735. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/clutter-1.0.mo +0 -0
  736. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/cogl.mo +0 -0
  737. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/json-glib-1.0.mo +0 -0
  738. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/clutter-1.0.mo +0 -0
  739. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/cogl.mo +0 -0
  740. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/json-glib-1.0.mo +0 -0
  741. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/clutter-1.0.mo +0 -0
  742. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/cogl.mo +0 -0
  743. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/json-glib-1.0.mo +0 -0
  744. metadata +869 -0
@@ -0,0 +1,1421 @@
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>Clutter Reference Manual: ClutterScript</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
+ <link rel="home" href="index.html" title="Clutter Reference Manual">
8
+ <link rel="up" href="ch11.html" title="User interface definition">
9
+ <link rel="prev" href="ch11.html" title="User interface definition">
10
+ <link rel="next" href="ClutterScriptable.html" title="ClutterScriptable">
11
+ <meta name="generator" content="GTK-Doc V1.20.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="#ClutterScript.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
19
+ <a href="#ClutterScript.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties">  <span class="dim">|</span> 
20
+ <a href="#ClutterScript.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="ch11.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
24
+ <td><a accesskey="p" href="ch11.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
25
+ <td><a accesskey="n" href="ClutterScriptable.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="ClutterScript"></a><div class="titlepage"></div>
29
+ <div class="refnamediv"><table width="100%"><tr>
30
+ <td valign="top">
31
+ <h2><span class="refentrytitle"><a name="ClutterScript.top_of_page"></a>ClutterScript</span></h2>
32
+ <p>ClutterScript — Loads a scene from UI definition data</p>
33
+ </td>
34
+ <td class="gallery_image" valign="top" align="right"></td>
35
+ </tr></table></div>
36
+ <div class="refsect1">
37
+ <a name="ClutterScript.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="ClutterScript.html" title="ClutterScript"><span class="returnvalue">ClutterScript</span></a> *
47
+ </td>
48
+ <td class="function_name">
49
+ <a class="link" href="ClutterScript.html#clutter-script-new" title="clutter_script_new ()">clutter_script_new</a> <span class="c_punctuation">()</span>
50
+ </td>
51
+ </tr>
52
+ <tr>
53
+ <td class="function_type">
54
+ <span class="returnvalue">guint</span>
55
+ </td>
56
+ <td class="function_name">
57
+ <a class="link" href="ClutterScript.html#clutter-script-load-from-data" title="clutter_script_load_from_data ()">clutter_script_load_from_data</a> <span class="c_punctuation">()</span>
58
+ </td>
59
+ </tr>
60
+ <tr>
61
+ <td class="function_type">
62
+ <span class="returnvalue">guint</span>
63
+ </td>
64
+ <td class="function_name">
65
+ <a class="link" href="ClutterScript.html#clutter-script-load-from-file" title="clutter_script_load_from_file ()">clutter_script_load_from_file</a> <span class="c_punctuation">()</span>
66
+ </td>
67
+ </tr>
68
+ <tr>
69
+ <td class="function_type">
70
+ <span class="returnvalue">guint</span>
71
+ </td>
72
+ <td class="function_name">
73
+ <a class="link" href="ClutterScript.html#clutter-script-load-from-resource" title="clutter_script_load_from_resource ()">clutter_script_load_from_resource</a> <span class="c_punctuation">()</span>
74
+ </td>
75
+ </tr>
76
+ <tr>
77
+ <td class="function_type">
78
+ <span class="returnvalue">void</span>
79
+ </td>
80
+ <td class="function_name">
81
+ <a class="link" href="ClutterScript.html#clutter-script-add-search-paths" title="clutter_script_add_search_paths ()">clutter_script_add_search_paths</a> <span class="c_punctuation">()</span>
82
+ </td>
83
+ </tr>
84
+ <tr>
85
+ <td class="function_type">
86
+ <span class="returnvalue">gchar</span> *
87
+ </td>
88
+ <td class="function_name">
89
+ <a class="link" href="ClutterScript.html#clutter-script-lookup-filename" title="clutter_script_lookup_filename ()">clutter_script_lookup_filename</a> <span class="c_punctuation">()</span>
90
+ </td>
91
+ </tr>
92
+ <tr>
93
+ <td class="function_type">
94
+ <span class="returnvalue">GObject</span> *
95
+ </td>
96
+ <td class="function_name">
97
+ <a class="link" href="ClutterScript.html#clutter-script-get-object" title="clutter_script_get_object ()">clutter_script_get_object</a> <span class="c_punctuation">()</span>
98
+ </td>
99
+ </tr>
100
+ <tr>
101
+ <td class="function_type">
102
+ <span class="returnvalue">gint</span>
103
+ </td>
104
+ <td class="function_name">
105
+ <a class="link" href="ClutterScript.html#clutter-script-get-objects" title="clutter_script_get_objects ()">clutter_script_get_objects</a> <span class="c_punctuation">()</span>
106
+ </td>
107
+ </tr>
108
+ <tr>
109
+ <td class="function_type">
110
+ <span class="returnvalue">void</span>
111
+ </td>
112
+ <td class="function_name">
113
+ <a class="link" href="ClutterScript.html#clutter-script-unmerge-objects" title="clutter_script_unmerge_objects ()">clutter_script_unmerge_objects</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="ClutterScript.html#clutter-script-ensure-objects" title="clutter_script_ensure_objects ()">clutter_script_ensure_objects</a> <span class="c_punctuation">()</span>
122
+ </td>
123
+ </tr>
124
+ <tr>
125
+ <td class="function_type">
126
+ <span class="returnvalue">GList</span> *
127
+ </td>
128
+ <td class="function_name">
129
+ <a class="link" href="ClutterScript.html#clutter-script-list-objects" title="clutter_script_list_objects ()">clutter_script_list_objects</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
+ <span class="c_punctuation">(</span><a class="link" href="ClutterScript.html#ClutterScriptConnectFunc" title="ClutterScriptConnectFunc ()">*ClutterScriptConnectFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
138
+ </td>
139
+ </tr>
140
+ <tr>
141
+ <td class="function_type">
142
+ <span class="returnvalue">void</span>
143
+ </td>
144
+ <td class="function_name">
145
+ <a class="link" href="ClutterScript.html#clutter-script-connect-signals" title="clutter_script_connect_signals ()">clutter_script_connect_signals</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="ClutterScript.html#clutter-script-connect-signals-full" title="clutter_script_connect_signals_full ()">clutter_script_connect_signals_full</a> <span class="c_punctuation">()</span>
154
+ </td>
155
+ </tr>
156
+ <tr>
157
+ <td class="function_type">
158
+ <span class="returnvalue">void</span>
159
+ </td>
160
+ <td class="function_name">
161
+ <a class="link" href="ClutterScript.html#clutter-script-add-states" title="clutter_script_add_states ()">clutter_script_add_states</a> <span class="c_punctuation">()</span>
162
+ </td>
163
+ </tr>
164
+ <tr>
165
+ <td class="function_type">
166
+ <a class="link" href="ClutterState.html" title="ClutterState"><span class="returnvalue">ClutterState</span></a> *
167
+ </td>
168
+ <td class="function_name">
169
+ <a class="link" href="ClutterScript.html#clutter-script-get-states" title="clutter_script_get_states ()">clutter_script_get_states</a> <span class="c_punctuation">()</span>
170
+ </td>
171
+ </tr>
172
+ <tr>
173
+ <td class="function_type">
174
+ <span class="returnvalue">GType</span>
175
+ </td>
176
+ <td class="function_name">
177
+ <a class="link" href="ClutterScript.html#clutter-script-get-type-from-name" title="clutter_script_get_type_from_name ()">clutter_script_get_type_from_name</a> <span class="c_punctuation">()</span>
178
+ </td>
179
+ </tr>
180
+ <tr>
181
+ <td class="function_type">const <span class="returnvalue">gchar</span> *
182
+ </td>
183
+ <td class="function_name">
184
+ <a class="link" href="ClutterScript.html#clutter-get-script-id" title="clutter_get_script_id ()">clutter_get_script_id</a> <span class="c_punctuation">()</span>
185
+ </td>
186
+ </tr>
187
+ <tr>
188
+ <td class="function_type">const <span class="returnvalue">gchar</span> *
189
+ </td>
190
+ <td class="function_name">
191
+ <a class="link" href="ClutterScript.html#clutter-script-get-translation-domain" title="clutter_script_get_translation_domain ()">clutter_script_get_translation_domain</a> <span class="c_punctuation">()</span>
192
+ </td>
193
+ </tr>
194
+ <tr>
195
+ <td class="function_type">
196
+ <span class="returnvalue">void</span>
197
+ </td>
198
+ <td class="function_name">
199
+ <a class="link" href="ClutterScript.html#clutter-script-set-translation-domain" title="clutter_script_set_translation_domain ()">clutter_script_set_translation_domain</a> <span class="c_punctuation">()</span>
200
+ </td>
201
+ </tr>
202
+ </tbody>
203
+ </table></div>
204
+ </div>
205
+ <div class="refsect1">
206
+ <a name="ClutterScript.properties"></a><h2>Properties</h2>
207
+ <div class="informaltable"><table border="0">
208
+ <colgroup>
209
+ <col width="150px" class="properties_type">
210
+ <col width="300px" class="properties_name">
211
+ <col width="200px" class="properties_flags">
212
+ </colgroup>
213
+ <tbody>
214
+ <tr>
215
+ <td class="property_type">
216
+ <span class="type">gchar</span> *</td>
217
+ <td class="property_name"><a class="link" href="ClutterScript.html#ClutterScript--filename" title="The “filename” property">filename</a></td>
218
+ <td class="property_flags">Read</td>
219
+ </tr>
220
+ <tr>
221
+ <td class="property_type"><span class="type">gboolean</span></td>
222
+ <td class="property_name"><a class="link" href="ClutterScript.html#ClutterScript--filename-set" title="The “filename-set” property">filename-set</a></td>
223
+ <td class="property_flags">Read</td>
224
+ </tr>
225
+ <tr>
226
+ <td class="property_type">
227
+ <span class="type">gchar</span> *</td>
228
+ <td class="property_name"><a class="link" href="ClutterScript.html#ClutterScript--translation-domain" title="The “translation-domain” property">translation-domain</a></td>
229
+ <td class="property_flags">Read / Write</td>
230
+ </tr>
231
+ </tbody>
232
+ </table></div>
233
+ </div>
234
+ <div class="refsect1">
235
+ <a name="ClutterScript.other"></a><h2>Types and Values</h2>
236
+ <div class="informaltable"><table width="100%" border="0">
237
+ <colgroup>
238
+ <col width="150px" class="name">
239
+ <col class="description">
240
+ </colgroup>
241
+ <tbody>
242
+ <tr>
243
+ <td class="datatype_keyword">struct</td>
244
+ <td class="function_name"><a class="link" href="ClutterScript.html#ClutterScript-struct" title="struct ClutterScript">ClutterScript</a></td>
245
+ </tr>
246
+ <tr>
247
+ <td class="datatype_keyword">struct</td>
248
+ <td class="function_name"><a class="link" href="ClutterScript.html#ClutterScriptClass" title="struct ClutterScriptClass">ClutterScriptClass</a></td>
249
+ </tr>
250
+ <tr>
251
+ <td class="datatype_keyword">enum</td>
252
+ <td class="function_name"><a class="link" href="ClutterScript.html#ClutterScriptError" title="enum ClutterScriptError">ClutterScriptError</a></td>
253
+ </tr>
254
+ </tbody>
255
+ </table></div>
256
+ </div>
257
+ <div class="refsect1">
258
+ <a name="ClutterScript.object-hierarchy"></a><h2>Object Hierarchy</h2>
259
+ <pre class="screen"> GObject
260
+ <span class="lineart">╰──</span> ClutterScript
261
+ </pre>
262
+ </div>
263
+ <div class="refsect1">
264
+ <a name="ClutterScript.description"></a><h2>Description</h2>
265
+ <p><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> is an object used for loading and building parts or a
266
+ complete scenegraph from external definition data in forms of string
267
+ buffers or files.</p>
268
+ <p>The UI definition format is JSON, the JavaScript Object Notation as
269
+ described by RFC 4627. <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> can load a JSON data stream,
270
+ parse it and build all the objects defined into it. Each object must
271
+ have an "id" and a "type" properties defining the name to be used
272
+ to retrieve it from <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> with <a class="link" href="ClutterScript.html#clutter-script-get-object" title="clutter_script_get_object ()"><code class="function">clutter_script_get_object()</code></a>,
273
+ and the class type to be instanciated. Every other attribute will
274
+ be mapped to the class properties.</p>
275
+ <p>A <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> holds a reference on every object it creates from
276
+ the definition data, except for the stage. Every non-actor object
277
+ will be finalized when the <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> instance holding it will
278
+ be finalized, so they need to be referenced using <code class="function">g_object_ref()</code> in
279
+ order for them to survive.</p>
280
+ <p>A simple object might be defined as:</p>
281
+ <p>&lt;informalexample&gt;&lt;programlisting&gt;&lt;![CDATA[
282
+ {
283
+ "id" : "red-button",
284
+ "type" : "ClutterRectangle",
285
+ "width" : 100,
286
+ "height" : 100,
287
+ "color" : "#ff0000ff"
288
+ }
289
+ ]]&gt;&lt;/programlisting&gt;&lt;/informalexample&gt;</p>
290
+ <p>This will produce a red <a class="link" href="ClutterRectangle.html" title="ClutterRectangle"><span class="type">ClutterRectangle</span></a>, 100x100 pixels wide, and
291
+ with a ClutterScript id of "red-button"; it can be retrieved by calling:</p>
292
+ <div class="informalexample">
293
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
294
+ <tbody>
295
+ <tr>
296
+ <td class="listing_lines" align="right"><pre>1
297
+ 2
298
+ 3</pre></td>
299
+ <td class="listing_code"><pre class="programlisting"><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">red_button</span><span class="symbol">;</span>
300
+
301
+ <span class="normal">red_button </span><span class="symbol">=</span><span class="normal"> </span><span class="function">CLUTTER_ACTOR</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="ClutterScript.html#clutter-script-get-object">clutter_script_get_object</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">script</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"red-button"</span><span class="symbol">));</span></pre></td>
302
+ </tr>
303
+ </tbody>
304
+ </table>
305
+ </div>
306
+
307
+ <p></p>
308
+ <p>and then manipulated with the Clutter API. For every object created
309
+ using ClutterScript it is possible to check the id by calling
310
+ <a class="link" href="ClutterScript.html#clutter-get-script-id" title="clutter_get_script_id ()"><code class="function">clutter_get_script_id()</code></a>.</p>
311
+ <p>Packing can be represented using the "children" member, and passing an
312
+ array of objects or ids of objects already defined (but not packed: the
313
+ packing rules of Clutter still apply, and an actor cannot be packed
314
+ in multiple containers without unparenting it in between).</p>
315
+ <p>Behaviours and timelines can also be defined inside a UI definition
316
+ buffer:</p>
317
+ <p>&lt;informalexample&gt;&lt;programlisting&gt;&lt;![CDATA[
318
+ {
319
+ "id" : "rotate-behaviour",
320
+ "type" : "ClutterBehaviourRotate",
321
+ "angle-start" : 0.0,
322
+ "angle-end" : 360.0,
323
+ "axis" : "z-axis",
324
+ "alpha" : {
325
+ "timeline" : { "duration" : 4000, "loop" : true },
326
+ "mode" : "easeInSine"
327
+ }
328
+ }
329
+ ]]&gt;&lt;/programlisting&gt;&lt;/informalexample&gt;</p>
330
+ <p>And then to apply a defined behaviour to an actor defined inside the
331
+ definition of an actor, the "behaviour" member can be used:</p>
332
+ <p>&lt;informalexample&gt;&lt;programlisting&gt;&lt;![CDATA[
333
+ {
334
+ "id" : "my-rotating-actor",
335
+ "type" : "ClutterTexture",
336
+ ...
337
+ "behaviours" : [ "rotate-behaviour" ]
338
+ }
339
+ ]]&gt;&lt;/programlisting&gt;&lt;/informalexample&gt;</p>
340
+ <p>A <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> belonging to a <a class="link" href="ClutterBehaviour.html" title="ClutterBehaviour"><span class="type">ClutterBehaviour</span></a> can only be defined
341
+ implicitly like in the example above, or explicitly by setting the
342
+ "alpha" property to point to a previously defined <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a>, e.g.:</p>
343
+ <p>&lt;informalexample&gt;&lt;programlisting&gt;&lt;![CDATA[
344
+ {
345
+ "id" : "rotate-behaviour",
346
+ "type" : "ClutterBehaviourRotate",
347
+ "angle-start" : 0.0,
348
+ "angle-end" : 360.0,
349
+ "axis" : "z-axis",
350
+ "alpha" : {
351
+ "id" : "rotate-alpha",
352
+ "type" : "ClutterAlpha",
353
+ "timeline" : {
354
+ "id" : "rotate-timeline",
355
+ "type : "ClutterTimeline",
356
+ "duration" : 4000,
357
+ "loop" : true
358
+ },
359
+ "function" : "custom_sine_alpha"
360
+ }
361
+ }
362
+ ]]&gt;&lt;/programlisting&gt;&lt;/informalexample&gt;</p>
363
+ <p>Implicitely defined <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a>&lt;!-- --&gt;s and <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a>&lt;!-- --&gt;s
364
+ can omit the &lt;varname&gt;id&lt;/varname&gt; member, as well as the
365
+ &lt;varname&gt;type&lt;/varname&gt; member, but will not be available using
366
+ <a class="link" href="ClutterScript.html#clutter-script-get-object" title="clutter_script_get_object ()"><code class="function">clutter_script_get_object()</code></a> (they can, however, be extracted using the
367
+ <a class="link" href="ClutterBehaviour.html" title="ClutterBehaviour"><span class="type">ClutterBehaviour</span></a> and <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> API respectively).</p>
368
+ <p>Signal handlers can be defined inside a Clutter UI definition file and
369
+ then autoconnected to their respective signals using the
370
+ <a class="link" href="ClutterScript.html#clutter-script-connect-signals" title="clutter_script_connect_signals ()"><code class="function">clutter_script_connect_signals()</code></a> function:</p>
371
+ <p>&lt;informalexample&gt;&lt;programlisting&gt;&lt;![CDATA[
372
+ ...
373
+ "signals" : [
374
+ { "name" : "button-press-event", "handler" : "on_button_press" },
375
+ {
376
+ "name" : "foo-signal",
377
+ "handler" : "after_foo",
378
+ "after" : true
379
+ },
380
+ ],
381
+ ...
382
+ ]]&gt;&lt;/programlisting&gt;&lt;/informalexample&gt;</p>
383
+ <p>Signal handler definitions must have a "name" and a "handler" members;
384
+ they can also have the "after" and "swapped" boolean members (for the
385
+ signal connection flags <code class="literal">G_CONNECT_AFTER</code> and <code class="literal">G_CONNECT_SWAPPED</code>
386
+ respectively) and the "object" string member for calling
387
+ <code class="function">g_signal_connect_object()</code> instead of <code class="function">g_signal_connect()</code>.</p>
388
+ <p>Signals can also be directly attached to a specific state defined
389
+ inside a <a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a> instance, for instance:</p>
390
+ <div class="informalexample">
391
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
392
+ <tbody>
393
+ <tr>
394
+ <td class="listing_lines" align="right"><pre>1
395
+ 2
396
+ 3
397
+ 4
398
+ 5
399
+ 6
400
+ 7
401
+ 8
402
+ 9
403
+ 10
404
+ 11
405
+ 12
406
+ 13
407
+ 14
408
+ 15
409
+ 16
410
+ 17
411
+ 18
412
+ 19
413
+ 20
414
+ 21
415
+ 22
416
+ 23
417
+ 24
418
+ 25</pre></td>
419
+ <td class="listing_code"><pre class="programlisting"><span class="symbol">...</span>
420
+ <span class="string">"signals"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="symbol">[</span>
421
+ <span class="normal"> </span><span class="cbracket">{</span>
422
+ <span class="normal"> </span><span class="string">"name"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"enter-event"</span><span class="symbol">,</span>
423
+ <span class="normal"> </span><span class="string">"states"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"button-states"</span><span class="symbol">,</span>
424
+ <span class="normal"> </span><span class="string">"target-state"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"hover"</span>
425
+ <span class="normal"> </span><span class="cbracket">}</span><span class="symbol">,</span>
426
+ <span class="normal"> </span><span class="cbracket">{</span>
427
+ <span class="normal"> </span><span class="string">"name"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"leave-event"</span><span class="symbol">,</span>
428
+ <span class="normal"> </span><span class="string">"states"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"button-states"</span><span class="symbol">,</span>
429
+ <span class="normal"> </span><span class="string">"target-state"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"base"</span>
430
+ <span class="normal"> </span><span class="cbracket">}</span><span class="symbol">,</span>
431
+ <span class="normal"> </span><span class="cbracket">{</span>
432
+ <span class="normal"> </span><span class="string">"name"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"button-press-event"</span><span class="symbol">,</span>
433
+ <span class="normal"> </span><span class="string">"states"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"button-states"</span><span class="symbol">,</span>
434
+ <span class="normal"> </span><span class="string">"target-state"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"active"</span><span class="symbol">,</span>
435
+ <span class="normal"> </span><span class="cbracket">}</span><span class="symbol">,</span>
436
+ <span class="normal"> </span><span class="cbracket">{</span>
437
+ <span class="normal"> </span><span class="string">"name"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"key-press-event"</span><span class="symbol">,</span>
438
+ <span class="normal"> </span><span class="string">"states"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"button-states"</span><span class="symbol">,</span>
439
+ <span class="normal"> </span><span class="string">"target-state"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"key-focus"</span><span class="symbol">,</span>
440
+ <span class="normal"> </span><span class="string">"warp"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> true</span>
441
+ <span class="normal"> </span><span class="cbracket">}</span>
442
+ <span class="symbol">],</span>
443
+ <span class="symbol">...</span></pre></td>
444
+ </tr>
445
+ </tbody>
446
+ </table>
447
+ </div>
448
+
449
+ <p></p>
450
+ <p>The "states" key defines the <a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a> instance to be used to
451
+ resolve the "target-state" key; it can be either a script id for a
452
+ <a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a> built by the same <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> instance, or to a
453
+ <a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a> built in code and associated to the <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a>
454
+ instance through the <a class="link" href="ClutterScript.html#clutter-script-add-states" title="clutter_script_add_states ()"><code class="function">clutter_script_add_states()</code></a> function. If no
455
+ "states" key is present, then the default <a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a> associated to
456
+ the <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> instance will be used; the default <a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a>
457
+ can be set using <a class="link" href="ClutterScript.html#clutter-script-add-states" title="clutter_script_add_states ()"><code class="function">clutter_script_add_states()</code></a> using a <code class="literal">NULL</code> name. The
458
+ "warp" key can be used to warp to a specific state instead of
459
+ animating to it. State changes on signal emission will not affect
460
+ the signal emission chain.</p>
461
+ <p>Clutter reserves the following names, so classes defining properties
462
+ through the usual GObject registration process should avoid using these
463
+ names to avoid collisions:</p>
464
+ <p>&lt;programlisting&gt;&lt;![CDATA[
465
+ "id" := the unique name of a ClutterScript object
466
+ "type" := the class literal name, also used to infer the type
467
+ function
468
+ "type_func" := the GType function name, for non-standard classes
469
+ "children" := an array of names or objects to add as children
470
+ "behaviours" := an array of names or objects to apply to an actor
471
+ "signals" := an array of signal definitions to connect to an object
472
+ "is-default" := a boolean flag used when defining the <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>;
473
+ if set to "true" the default stage will be used instead
474
+ of creating a new <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> instance
475
+ ]]&gt;&lt;/programlisting&gt;</p>
476
+ <p><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> is available since Clutter 0.6</p>
477
+ </div>
478
+ <div class="refsect1">
479
+ <a name="ClutterScript.functions_details"></a><h2>Functions</h2>
480
+ <div class="refsect2">
481
+ <a name="clutter-script-new"></a><h3>clutter_script_new ()</h3>
482
+ <pre class="programlisting"><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="returnvalue">ClutterScript</span></a> *
483
+ clutter_script_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
484
+ <p>Creates a new <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> instance. <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> can be used
485
+ to load objects definitions for scenegraph elements, like actors,
486
+ or behavioural elements, like behaviours and timelines. The
487
+ definitions must be encoded using the JavaScript Object Notation (JSON)
488
+ language.</p>
489
+ <div class="refsect3">
490
+ <a name="id-1.7.3.2.8.2.5"></a><h4>Returns</h4>
491
+ <p> the newly created <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> instance. Use
492
+ <code class="function">g_object_unref()</code> when done.</p>
493
+ <p></p>
494
+ </div>
495
+ <p class="since">Since 0.6</p>
496
+ </div>
497
+ <hr>
498
+ <div class="refsect2">
499
+ <a name="clutter-script-load-from-data"></a><h3>clutter_script_load_from_data ()</h3>
500
+ <pre class="programlisting"><span class="returnvalue">guint</span>
501
+ clutter_script_load_from_data (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
502
+ <em class="parameter"><code>const <span class="type">gchar</span> *data</code></em>,
503
+ <em class="parameter"><code><span class="type">gssize</span> length</code></em>,
504
+ <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
505
+ <p>Loads the definitions from <em class="parameter"><code>data</code></em>
506
+ into <em class="parameter"><code>script</code></em>
507
+ and merges with
508
+ the currently loaded ones, if any.</p>
509
+ <div class="refsect3">
510
+ <a name="id-1.7.3.2.8.3.5"></a><h4>Parameters</h4>
511
+ <div class="informaltable"><table width="100%" border="0">
512
+ <colgroup>
513
+ <col width="150px" class="parameters_name">
514
+ <col class="parameters_description">
515
+ <col width="200px" class="parameters_annotations">
516
+ </colgroup>
517
+ <tbody>
518
+ <tr>
519
+ <td class="parameter_name"><p>script</p></td>
520
+ <td class="parameter_description"><p>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a></p></td>
521
+ <td class="parameter_annotations"> </td>
522
+ </tr>
523
+ <tr>
524
+ <td class="parameter_name"><p>data</p></td>
525
+ <td class="parameter_description"><p>a buffer containing the definitions</p></td>
526
+ <td class="parameter_annotations"> </td>
527
+ </tr>
528
+ <tr>
529
+ <td class="parameter_name"><p>length</p></td>
530
+ <td class="parameter_description"><p>the length of the buffer, or -1 if <em class="parameter"><code>data</code></em>
531
+ is a NUL-terminated
532
+ buffer</p></td>
533
+ <td class="parameter_annotations"> </td>
534
+ </tr>
535
+ <tr>
536
+ <td class="parameter_name"><p>error</p></td>
537
+ <td class="parameter_description"><p>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code></p></td>
538
+ <td class="parameter_annotations"> </td>
539
+ </tr>
540
+ </tbody>
541
+ </table></div>
542
+ </div>
543
+ <div class="refsect3">
544
+ <a name="id-1.7.3.2.8.3.6"></a><h4>Returns</h4>
545
+ <p> on error, zero is returned and <em class="parameter"><code>error</code></em>
546
+ is set
547
+ accordingly. On success, the merge id for the UI definitions is
548
+ returned. You can use the merge id with <a class="link" href="ClutterScript.html#clutter-script-unmerge-objects" title="clutter_script_unmerge_objects ()"><code class="function">clutter_script_unmerge_objects()</code></a>.</p>
549
+ <p></p>
550
+ </div>
551
+ <p class="since">Since 0.6</p>
552
+ </div>
553
+ <hr>
554
+ <div class="refsect2">
555
+ <a name="clutter-script-load-from-file"></a><h3>clutter_script_load_from_file ()</h3>
556
+ <pre class="programlisting"><span class="returnvalue">guint</span>
557
+ clutter_script_load_from_file (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
558
+ <em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>,
559
+ <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
560
+ <p>Loads the definitions from <em class="parameter"><code>filename</code></em>
561
+ into <em class="parameter"><code>script</code></em>
562
+ and merges with
563
+ the currently loaded ones, if any.</p>
564
+ <div class="refsect3">
565
+ <a name="id-1.7.3.2.8.4.5"></a><h4>Parameters</h4>
566
+ <div class="informaltable"><table width="100%" border="0">
567
+ <colgroup>
568
+ <col width="150px" class="parameters_name">
569
+ <col class="parameters_description">
570
+ <col width="200px" class="parameters_annotations">
571
+ </colgroup>
572
+ <tbody>
573
+ <tr>
574
+ <td class="parameter_name"><p>script</p></td>
575
+ <td class="parameter_description"><p>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a></p></td>
576
+ <td class="parameter_annotations"> </td>
577
+ </tr>
578
+ <tr>
579
+ <td class="parameter_name"><p>filename</p></td>
580
+ <td class="parameter_description"><p>the full path to the definition file</p></td>
581
+ <td class="parameter_annotations"> </td>
582
+ </tr>
583
+ <tr>
584
+ <td class="parameter_name"><p>error</p></td>
585
+ <td class="parameter_description"><p>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code></p></td>
586
+ <td class="parameter_annotations"> </td>
587
+ </tr>
588
+ </tbody>
589
+ </table></div>
590
+ </div>
591
+ <div class="refsect3">
592
+ <a name="id-1.7.3.2.8.4.6"></a><h4>Returns</h4>
593
+ <p> on error, zero is returned and <em class="parameter"><code>error</code></em>
594
+ is set
595
+ accordingly. On success, the merge id for the UI definitions is
596
+ returned. You can use the merge id with <a class="link" href="ClutterScript.html#clutter-script-unmerge-objects" title="clutter_script_unmerge_objects ()"><code class="function">clutter_script_unmerge_objects()</code></a>.</p>
597
+ <p></p>
598
+ </div>
599
+ <p class="since">Since 0.6</p>
600
+ </div>
601
+ <hr>
602
+ <div class="refsect2">
603
+ <a name="clutter-script-load-from-resource"></a><h3>clutter_script_load_from_resource ()</h3>
604
+ <pre class="programlisting"><span class="returnvalue">guint</span>
605
+ clutter_script_load_from_resource (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
606
+ <em class="parameter"><code>const <span class="type">gchar</span> *resource_path</code></em>,
607
+ <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
608
+ <p>Loads the definitions from a resource file into <em class="parameter"><code>script</code></em>
609
+ and merges with
610
+ the currently loaded ones, if any.</p>
611
+ <div class="refsect3">
612
+ <a name="id-1.7.3.2.8.5.5"></a><h4>Parameters</h4>
613
+ <div class="informaltable"><table width="100%" border="0">
614
+ <colgroup>
615
+ <col width="150px" class="parameters_name">
616
+ <col class="parameters_description">
617
+ <col width="200px" class="parameters_annotations">
618
+ </colgroup>
619
+ <tbody>
620
+ <tr>
621
+ <td class="parameter_name"><p>script</p></td>
622
+ <td class="parameter_description"><p>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a></p></td>
623
+ <td class="parameter_annotations"> </td>
624
+ </tr>
625
+ <tr>
626
+ <td class="parameter_name"><p>resource_path</p></td>
627
+ <td class="parameter_description"><p>the resource path of the file to parse</p></td>
628
+ <td class="parameter_annotations"> </td>
629
+ </tr>
630
+ <tr>
631
+ <td class="parameter_name"><p>error</p></td>
632
+ <td class="parameter_description"><p>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code></p></td>
633
+ <td class="parameter_annotations"> </td>
634
+ </tr>
635
+ </tbody>
636
+ </table></div>
637
+ </div>
638
+ <div class="refsect3">
639
+ <a name="id-1.7.3.2.8.5.6"></a><h4>Returns</h4>
640
+ <p> on error, zero is returned and <em class="parameter"><code>error</code></em>
641
+ is set
642
+ accordingly. On success, the merge id for the UI definitions is
643
+ returned. You can use the merge id with <a class="link" href="ClutterScript.html#clutter-script-unmerge-objects" title="clutter_script_unmerge_objects ()"><code class="function">clutter_script_unmerge_objects()</code></a>.</p>
644
+ <p></p>
645
+ </div>
646
+ <p class="since">Since 1.10</p>
647
+ </div>
648
+ <hr>
649
+ <div class="refsect2">
650
+ <a name="clutter-script-add-search-paths"></a><h3>clutter_script_add_search_paths ()</h3>
651
+ <pre class="programlisting"><span class="returnvalue">void</span>
652
+ clutter_script_add_search_paths (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
653
+ <em class="parameter"><code>const <span class="type">gchar</span> * const paths[]</code></em>,
654
+ <em class="parameter"><code><span class="type">gsize</span> n_paths</code></em>);</pre>
655
+ <p>Adds <em class="parameter"><code>paths</code></em>
656
+ to the list of search paths held by <em class="parameter"><code>script</code></em>
657
+ .</p>
658
+ <p>The search paths are used by <a class="link" href="ClutterScript.html#clutter-script-lookup-filename" title="clutter_script_lookup_filename ()"><code class="function">clutter_script_lookup_filename()</code></a>, which
659
+ can be used to define search paths for the textures source file name
660
+ or other custom, file-based properties.</p>
661
+ <div class="refsect3">
662
+ <a name="id-1.7.3.2.8.6.6"></a><h4>Parameters</h4>
663
+ <div class="informaltable"><table width="100%" border="0">
664
+ <colgroup>
665
+ <col width="150px" class="parameters_name">
666
+ <col class="parameters_description">
667
+ <col width="200px" class="parameters_annotations">
668
+ </colgroup>
669
+ <tbody>
670
+ <tr>
671
+ <td class="parameter_name"><p>script</p></td>
672
+ <td class="parameter_description"><p>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a></p></td>
673
+ <td class="parameter_annotations"> </td>
674
+ </tr>
675
+ <tr>
676
+ <td class="parameter_name"><p>paths</p></td>
677
+ <td class="parameter_description"><p> an array of strings containing
678
+ different search paths. </p></td>
679
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_paths]</span></td>
680
+ </tr>
681
+ <tr>
682
+ <td class="parameter_name"><p>n_paths</p></td>
683
+ <td class="parameter_description"><p>the length of the passed array</p></td>
684
+ <td class="parameter_annotations"> </td>
685
+ </tr>
686
+ </tbody>
687
+ </table></div>
688
+ </div>
689
+ <p class="since">Since 0.8</p>
690
+ </div>
691
+ <hr>
692
+ <div class="refsect2">
693
+ <a name="clutter-script-lookup-filename"></a><h3>clutter_script_lookup_filename ()</h3>
694
+ <pre class="programlisting"><span class="returnvalue">gchar</span> *
695
+ clutter_script_lookup_filename (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
696
+ <em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>);</pre>
697
+ <p>Looks up <em class="parameter"><code>filename</code></em>
698
+ inside the search paths of <em class="parameter"><code>script</code></em>
699
+ . If <em class="parameter"><code>filename</code></em>
700
+
701
+ is found, its full path will be returned .</p>
702
+ <div class="refsect3">
703
+ <a name="id-1.7.3.2.8.7.5"></a><h4>Parameters</h4>
704
+ <div class="informaltable"><table width="100%" border="0">
705
+ <colgroup>
706
+ <col width="150px" class="parameters_name">
707
+ <col class="parameters_description">
708
+ <col width="200px" class="parameters_annotations">
709
+ </colgroup>
710
+ <tbody>
711
+ <tr>
712
+ <td class="parameter_name"><p>script</p></td>
713
+ <td class="parameter_description"><p>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a></p></td>
714
+ <td class="parameter_annotations"> </td>
715
+ </tr>
716
+ <tr>
717
+ <td class="parameter_name"><p>filename</p></td>
718
+ <td class="parameter_description"><p>the name of the file to lookup</p></td>
719
+ <td class="parameter_annotations"> </td>
720
+ </tr>
721
+ </tbody>
722
+ </table></div>
723
+ </div>
724
+ <div class="refsect3">
725
+ <a name="id-1.7.3.2.8.7.6"></a><h4>Returns</h4>
726
+ <p> the full path of <em class="parameter"><code>filename</code></em>
727
+ or <code class="literal">NULL</code> if no path was
728
+ found.</p>
729
+ <p></p>
730
+ </div>
731
+ <p class="since">Since 0.8</p>
732
+ </div>
733
+ <hr>
734
+ <div class="refsect2">
735
+ <a name="clutter-script-get-object"></a><h3>clutter_script_get_object ()</h3>
736
+ <pre class="programlisting"><span class="returnvalue">GObject</span> *
737
+ clutter_script_get_object (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
738
+ <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);</pre>
739
+ <p>Retrieves the object bound to <em class="parameter"><code>name</code></em>
740
+ . This function does not increment
741
+ the reference count of the returned object.</p>
742
+ <div class="refsect3">
743
+ <a name="id-1.7.3.2.8.8.5"></a><h4>Parameters</h4>
744
+ <div class="informaltable"><table width="100%" border="0">
745
+ <colgroup>
746
+ <col width="150px" class="parameters_name">
747
+ <col class="parameters_description">
748
+ <col width="200px" class="parameters_annotations">
749
+ </colgroup>
750
+ <tbody>
751
+ <tr>
752
+ <td class="parameter_name"><p>script</p></td>
753
+ <td class="parameter_description"><p>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a></p></td>
754
+ <td class="parameter_annotations"> </td>
755
+ </tr>
756
+ <tr>
757
+ <td class="parameter_name"><p>name</p></td>
758
+ <td class="parameter_description"><p>the name of the object to retrieve</p></td>
759
+ <td class="parameter_annotations"> </td>
760
+ </tr>
761
+ </tbody>
762
+ </table></div>
763
+ </div>
764
+ <div class="refsect3">
765
+ <a name="id-1.7.3.2.8.8.6"></a><h4>Returns</h4>
766
+ <p> the named object, or <code class="literal">NULL</code> if no object
767
+ with the given name was available. </p>
768
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
769
+ </div>
770
+ <p class="since">Since 0.6</p>
771
+ </div>
772
+ <hr>
773
+ <div class="refsect2">
774
+ <a name="clutter-script-get-objects"></a><h3>clutter_script_get_objects ()</h3>
775
+ <pre class="programlisting"><span class="returnvalue">gint</span>
776
+ clutter_script_get_objects (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
777
+ <em class="parameter"><code>const <span class="type">gchar</span> *first_name</code></em>,
778
+ <em class="parameter"><code>...</code></em>);</pre>
779
+ <p>Retrieves a list of objects for the given names. After <em class="parameter"><code>script</code></em>
780
+ , object
781
+ names/return location pairs should be listed, with a <code class="literal">NULL</code> pointer
782
+ ending the list, like:</p>
783
+ <div class="informalexample">
784
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
785
+ <tbody>
786
+ <tr>
787
+ <td class="listing_lines" align="right"><pre>1
788
+ 2
789
+ 3
790
+ 4
791
+ 5
792
+ 6
793
+ 7</pre></td>
794
+ <td class="listing_code"><pre class="programlisting"><span class="usertype">GObject</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">my_label</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">a_button</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">main_timeline</span><span class="symbol">;</span>
795
+
796
+ <span class="function"><a href="ClutterScript.html#clutter-script-get-objects">clutter_script_get_objects</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">script</span><span class="symbol">,</span>
797
+ <span class="normal"> </span><span class="string">"my-label"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">my_label</span><span class="symbol">,</span>
798
+ <span class="normal"> </span><span class="string">"a-button"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">a_button</span><span class="symbol">,</span>
799
+ <span class="normal"> </span><span class="string">"main-timeline"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">main_timeline</span><span class="symbol">,</span>
800
+ <span class="normal"> NULL</span><span class="symbol">);</span></pre></td>
801
+ </tr>
802
+ </tbody>
803
+ </table>
804
+ </div>
805
+
806
+ <p></p>
807
+ <p>Note: This function does not increment the reference count of the
808
+ returned objects.</p>
809
+ <div class="refsect3">
810
+ <a name="id-1.7.3.2.8.9.8"></a><h4>Parameters</h4>
811
+ <div class="informaltable"><table width="100%" border="0">
812
+ <colgroup>
813
+ <col width="150px" class="parameters_name">
814
+ <col class="parameters_description">
815
+ <col width="200px" class="parameters_annotations">
816
+ </colgroup>
817
+ <tbody>
818
+ <tr>
819
+ <td class="parameter_name"><p>script</p></td>
820
+ <td class="parameter_description"><p>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a></p></td>
821
+ <td class="parameter_annotations"> </td>
822
+ </tr>
823
+ <tr>
824
+ <td class="parameter_name"><p>first_name</p></td>
825
+ <td class="parameter_description"><p>the name of the first object to retrieve</p></td>
826
+ <td class="parameter_annotations"> </td>
827
+ </tr>
828
+ <tr>
829
+ <td class="parameter_name"><p>...</p></td>
830
+ <td class="parameter_description"><p>return location for a <span class="type">GObject</span>, then additional names, ending
831
+ with <code class="literal">NULL</code></p></td>
832
+ <td class="parameter_annotations"> </td>
833
+ </tr>
834
+ </tbody>
835
+ </table></div>
836
+ </div>
837
+ <div class="refsect3">
838
+ <a name="id-1.7.3.2.8.9.9"></a><h4>Returns</h4>
839
+ <p> the number of objects returned.</p>
840
+ <p></p>
841
+ </div>
842
+ <p class="since">Since 0.6</p>
843
+ </div>
844
+ <hr>
845
+ <div class="refsect2">
846
+ <a name="clutter-script-unmerge-objects"></a><h3>clutter_script_unmerge_objects ()</h3>
847
+ <pre class="programlisting"><span class="returnvalue">void</span>
848
+ clutter_script_unmerge_objects (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
849
+ <em class="parameter"><code><span class="type">guint</span> merge_id</code></em>);</pre>
850
+ <p>Unmerges the objects identified by <em class="parameter"><code>merge_id</code></em>
851
+ .</p>
852
+ <div class="refsect3">
853
+ <a name="id-1.7.3.2.8.10.5"></a><h4>Parameters</h4>
854
+ <div class="informaltable"><table width="100%" border="0">
855
+ <colgroup>
856
+ <col width="150px" class="parameters_name">
857
+ <col class="parameters_description">
858
+ <col width="200px" class="parameters_annotations">
859
+ </colgroup>
860
+ <tbody>
861
+ <tr>
862
+ <td class="parameter_name"><p>script</p></td>
863
+ <td class="parameter_description"><p>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a></p></td>
864
+ <td class="parameter_annotations"> </td>
865
+ </tr>
866
+ <tr>
867
+ <td class="parameter_name"><p>merge_id</p></td>
868
+ <td class="parameter_description"><p>merge id returned when loading a UI definition</p></td>
869
+ <td class="parameter_annotations"> </td>
870
+ </tr>
871
+ </tbody>
872
+ </table></div>
873
+ </div>
874
+ <p class="since">Since 0.6</p>
875
+ </div>
876
+ <hr>
877
+ <div class="refsect2">
878
+ <a name="clutter-script-ensure-objects"></a><h3>clutter_script_ensure_objects ()</h3>
879
+ <pre class="programlisting"><span class="returnvalue">void</span>
880
+ clutter_script_ensure_objects (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>);</pre>
881
+ <p>Ensure that every object defined inside <em class="parameter"><code>script</code></em>
882
+ is correctly
883
+ constructed. You should rarely need to use this function.</p>
884
+ <div class="refsect3">
885
+ <a name="id-1.7.3.2.8.11.5"></a><h4>Parameters</h4>
886
+ <div class="informaltable"><table width="100%" border="0">
887
+ <colgroup>
888
+ <col width="150px" class="parameters_name">
889
+ <col class="parameters_description">
890
+ <col width="200px" class="parameters_annotations">
891
+ </colgroup>
892
+ <tbody><tr>
893
+ <td class="parameter_name"><p>script</p></td>
894
+ <td class="parameter_description"><p>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a></p></td>
895
+ <td class="parameter_annotations"> </td>
896
+ </tr></tbody>
897
+ </table></div>
898
+ </div>
899
+ <p class="since">Since 0.6</p>
900
+ </div>
901
+ <hr>
902
+ <div class="refsect2">
903
+ <a name="clutter-script-list-objects"></a><h3>clutter_script_list_objects ()</h3>
904
+ <pre class="programlisting"><span class="returnvalue">GList</span> *
905
+ clutter_script_list_objects (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>);</pre>
906
+ <p>Retrieves all the objects created by <em class="parameter"><code>script</code></em>
907
+ .</p>
908
+ <p>Note: this function does not increment the reference count of the
909
+ objects it returns.</p>
910
+ <div class="refsect3">
911
+ <a name="id-1.7.3.2.8.12.6"></a><h4>Parameters</h4>
912
+ <div class="informaltable"><table width="100%" border="0">
913
+ <colgroup>
914
+ <col width="150px" class="parameters_name">
915
+ <col class="parameters_description">
916
+ <col width="200px" class="parameters_annotations">
917
+ </colgroup>
918
+ <tbody><tr>
919
+ <td class="parameter_name"><p>script</p></td>
920
+ <td class="parameter_description"><p>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a></p></td>
921
+ <td class="parameter_annotations"> </td>
922
+ </tr></tbody>
923
+ </table></div>
924
+ </div>
925
+ <div class="refsect3">
926
+ <a name="id-1.7.3.2.8.12.7"></a><h4>Returns</h4>
927
+ <p> a list
928
+ of <span class="type">GObject</span>&lt;!-- --&gt;s, or <code class="literal">NULL</code>. The objects are owned by the
929
+ <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> instance. Use <code class="function">g_list_free()</code> on the returned list when
930
+ done. </p>
931
+ <p><span class="annotation">[<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GObject.Object]</span></p>
932
+ </div>
933
+ <p class="since">Since 0.8.2</p>
934
+ </div>
935
+ <hr>
936
+ <div class="refsect2">
937
+ <a name="ClutterScriptConnectFunc"></a><h3>ClutterScriptConnectFunc ()</h3>
938
+ <pre class="programlisting"><span class="returnvalue">void</span>
939
+ <span class="c_punctuation">(</span>*ClutterScriptConnectFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
940
+ <em class="parameter"><code><span class="type">GObject</span> *object</code></em>,
941
+ <em class="parameter"><code>const <span class="type">gchar</span> *signal_name</code></em>,
942
+ <em class="parameter"><code>const <span class="type">gchar</span> *handler_name</code></em>,
943
+ <em class="parameter"><code><span class="type">GObject</span> *connect_object</code></em>,
944
+ <em class="parameter"><code><span class="type">GConnectFlags</span> flags</code></em>,
945
+ <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
946
+ <p>This is the signature of a function used to connect signals. It is used
947
+ by the <a class="link" href="ClutterScript.html#clutter-script-connect-signals-full" title="clutter_script_connect_signals_full ()"><code class="function">clutter_script_connect_signals_full()</code></a> function. It is mainly
948
+ intended for interpreted language bindings, but could be useful where the
949
+ programmer wants more control over the signal connection process.</p>
950
+ <div class="refsect3">
951
+ <a name="id-1.7.3.2.8.13.5"></a><h4>Parameters</h4>
952
+ <div class="informaltable"><table width="100%" border="0">
953
+ <colgroup>
954
+ <col width="150px" class="parameters_name">
955
+ <col class="parameters_description">
956
+ <col width="200px" class="parameters_annotations">
957
+ </colgroup>
958
+ <tbody>
959
+ <tr>
960
+ <td class="parameter_name"><p>script</p></td>
961
+ <td class="parameter_description"><p>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a></p></td>
962
+ <td class="parameter_annotations"> </td>
963
+ </tr>
964
+ <tr>
965
+ <td class="parameter_name"><p>object</p></td>
966
+ <td class="parameter_description"><p>the object to connect</p></td>
967
+ <td class="parameter_annotations"> </td>
968
+ </tr>
969
+ <tr>
970
+ <td class="parameter_name"><p>signal_name</p></td>
971
+ <td class="parameter_description"><p>the name of the signal</p></td>
972
+ <td class="parameter_annotations"> </td>
973
+ </tr>
974
+ <tr>
975
+ <td class="parameter_name"><p>handler_name</p></td>
976
+ <td class="parameter_description"><p>the name of the signal handler</p></td>
977
+ <td class="parameter_annotations"> </td>
978
+ </tr>
979
+ <tr>
980
+ <td class="parameter_name"><p>connect_object</p></td>
981
+ <td class="parameter_description"><p>the object to connect the signal to, or <code class="literal">NULL</code></p></td>
982
+ <td class="parameter_annotations"> </td>
983
+ </tr>
984
+ <tr>
985
+ <td class="parameter_name"><p>flags</p></td>
986
+ <td class="parameter_description"><p>signal connection flags</p></td>
987
+ <td class="parameter_annotations"> </td>
988
+ </tr>
989
+ <tr>
990
+ <td class="parameter_name"><p>user_data</p></td>
991
+ <td class="parameter_description"><p>user data to pass to the signal handler</p></td>
992
+ <td class="parameter_annotations"> </td>
993
+ </tr>
994
+ </tbody>
995
+ </table></div>
996
+ </div>
997
+ <p class="since">Since 0.6</p>
998
+ </div>
999
+ <hr>
1000
+ <div class="refsect2">
1001
+ <a name="clutter-script-connect-signals"></a><h3>clutter_script_connect_signals ()</h3>
1002
+ <pre class="programlisting"><span class="returnvalue">void</span>
1003
+ clutter_script_connect_signals (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
1004
+ <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
1005
+ <p>Connects all the signals defined into a UI definition file to their
1006
+ handlers.</p>
1007
+ <p>This method invokes <a class="link" href="ClutterScript.html#clutter-script-connect-signals-full" title="clutter_script_connect_signals_full ()"><code class="function">clutter_script_connect_signals_full()</code></a> internally
1008
+ and uses <span class="type">GModule</span>'s introspective features (by opening the current
1009
+ module's scope) to look at the application's symbol table.</p>
1010
+ <p>Note that this function will not work if <span class="type">GModule</span> is not supported by
1011
+ the platform Clutter is running on.</p>
1012
+ <div class="refsect3">
1013
+ <a name="id-1.7.3.2.8.14.7"></a><h4>Parameters</h4>
1014
+ <div class="informaltable"><table width="100%" border="0">
1015
+ <colgroup>
1016
+ <col width="150px" class="parameters_name">
1017
+ <col class="parameters_description">
1018
+ <col width="200px" class="parameters_annotations">
1019
+ </colgroup>
1020
+ <tbody>
1021
+ <tr>
1022
+ <td class="parameter_name"><p>script</p></td>
1023
+ <td class="parameter_description"><p>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a></p></td>
1024
+ <td class="parameter_annotations"> </td>
1025
+ </tr>
1026
+ <tr>
1027
+ <td class="parameter_name"><p>user_data</p></td>
1028
+ <td class="parameter_description"><p>data to be passed to the signal handlers, or <code class="literal">NULL</code></p></td>
1029
+ <td class="parameter_annotations"> </td>
1030
+ </tr>
1031
+ </tbody>
1032
+ </table></div>
1033
+ </div>
1034
+ <p class="since">Since 0.6</p>
1035
+ </div>
1036
+ <hr>
1037
+ <div class="refsect2">
1038
+ <a name="clutter-script-connect-signals-full"></a><h3>clutter_script_connect_signals_full ()</h3>
1039
+ <pre class="programlisting"><span class="returnvalue">void</span>
1040
+ clutter_script_connect_signals_full (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
1041
+ <em class="parameter"><code><a class="link" href="ClutterScript.html#ClutterScriptConnectFunc" title="ClutterScriptConnectFunc ()"><span class="type">ClutterScriptConnectFunc</span></a> func</code></em>,
1042
+ <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
1043
+ <p>Connects all the signals defined into a UI definition file to their
1044
+ handlers.</p>
1045
+ <p>This function allows to control how the signal handlers are
1046
+ going to be connected to their respective signals. It is meant
1047
+ primarily for language bindings to allow resolving the function
1048
+ names using the native API, but it can also be used on platforms
1049
+ that do not support GModule.</p>
1050
+ <p>Applications should use <a class="link" href="ClutterScript.html#clutter-script-connect-signals" title="clutter_script_connect_signals ()"><code class="function">clutter_script_connect_signals()</code></a>.</p>
1051
+ <div class="refsect3">
1052
+ <a name="id-1.7.3.2.8.15.7"></a><h4>Parameters</h4>
1053
+ <div class="informaltable"><table width="100%" border="0">
1054
+ <colgroup>
1055
+ <col width="150px" class="parameters_name">
1056
+ <col class="parameters_description">
1057
+ <col width="200px" class="parameters_annotations">
1058
+ </colgroup>
1059
+ <tbody>
1060
+ <tr>
1061
+ <td class="parameter_name"><p>script</p></td>
1062
+ <td class="parameter_description"><p>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a></p></td>
1063
+ <td class="parameter_annotations"> </td>
1064
+ </tr>
1065
+ <tr>
1066
+ <td class="parameter_name"><p>func</p></td>
1067
+ <td class="parameter_description"><p> signal connection function. </p></td>
1068
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid only during the call to the method."><span class="acronym">scope call</span></acronym>]</span></td>
1069
+ </tr>
1070
+ <tr>
1071
+ <td class="parameter_name"><p>user_data</p></td>
1072
+ <td class="parameter_description"><p>data to be passed to the signal handlers, or <code class="literal">NULL</code></p></td>
1073
+ <td class="parameter_annotations"> </td>
1074
+ </tr>
1075
+ </tbody>
1076
+ </table></div>
1077
+ </div>
1078
+ <p class="since">Since 0.6</p>
1079
+ </div>
1080
+ <hr>
1081
+ <div class="refsect2">
1082
+ <a name="clutter-script-add-states"></a><h3>clutter_script_add_states ()</h3>
1083
+ <pre class="programlisting"><span class="returnvalue">void</span>
1084
+ clutter_script_add_states (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
1085
+ <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
1086
+ <em class="parameter"><code><a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a> *state</code></em>);</pre>
1087
+ <div class="warning"><p><code class="literal">clutter_script_add_states</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
1088
+ <p>Associates a <a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a> to the <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> instance using the given
1089
+ name.</p>
1090
+ <p>The <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> instance will use <em class="parameter"><code>state</code></em>
1091
+ to resolve target states when
1092
+ connecting signal handlers.</p>
1093
+ <p>The <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> instance will take a reference on the <a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a>
1094
+ passed to this function.</p>
1095
+ <div class="refsect3">
1096
+ <a name="id-1.7.3.2.8.16.9"></a><h4>Parameters</h4>
1097
+ <div class="informaltable"><table width="100%" border="0">
1098
+ <colgroup>
1099
+ <col width="150px" class="parameters_name">
1100
+ <col class="parameters_description">
1101
+ <col width="200px" class="parameters_annotations">
1102
+ </colgroup>
1103
+ <tbody>
1104
+ <tr>
1105
+ <td class="parameter_name"><p>script</p></td>
1106
+ <td class="parameter_description"><p>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a></p></td>
1107
+ <td class="parameter_annotations"> </td>
1108
+ </tr>
1109
+ <tr>
1110
+ <td class="parameter_name"><p>name</p></td>
1111
+ <td class="parameter_description"><p> a name for the <em class="parameter"><code>state</code></em>
1112
+ , or <code class="literal">NULL</code> to
1113
+ set the default <a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a>. </p></td>
1114
+ <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>
1115
+ </tr>
1116
+ <tr>
1117
+ <td class="parameter_name"><p>state</p></td>
1118
+ <td class="parameter_description"><p>a <a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a></p></td>
1119
+ <td class="parameter_annotations"> </td>
1120
+ </tr>
1121
+ </tbody>
1122
+ </table></div>
1123
+ </div>
1124
+ <p class="since">Since 1.8</p>
1125
+ </div>
1126
+ <hr>
1127
+ <div class="refsect2">
1128
+ <a name="clutter-script-get-states"></a><h3>clutter_script_get_states ()</h3>
1129
+ <pre class="programlisting"><a class="link" href="ClutterState.html" title="ClutterState"><span class="returnvalue">ClutterState</span></a> *
1130
+ clutter_script_get_states (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
1131
+ <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);</pre>
1132
+ <div class="warning"><p><code class="literal">clutter_script_get_states</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
1133
+ <p>Retrieves the <a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a> for the given <em class="parameter"><code>state_name</code></em>
1134
+ .</p>
1135
+ <p>If <em class="parameter"><code>name</code></em>
1136
+ is <code class="literal">NULL</code>, this function will return the default
1137
+ <a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a> instance.</p>
1138
+ <div class="refsect3">
1139
+ <a name="id-1.7.3.2.8.17.8"></a><h4>Parameters</h4>
1140
+ <div class="informaltable"><table width="100%" border="0">
1141
+ <colgroup>
1142
+ <col width="150px" class="parameters_name">
1143
+ <col class="parameters_description">
1144
+ <col width="200px" class="parameters_annotations">
1145
+ </colgroup>
1146
+ <tbody>
1147
+ <tr>
1148
+ <td class="parameter_name"><p>script</p></td>
1149
+ <td class="parameter_description"><p>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a></p></td>
1150
+ <td class="parameter_annotations"> </td>
1151
+ </tr>
1152
+ <tr>
1153
+ <td class="parameter_name"><p>name</p></td>
1154
+ <td class="parameter_description"><p> the name of the <a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a>, or <code class="literal">NULL</code>. </p></td>
1155
+ <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>
1156
+ </tr>
1157
+ </tbody>
1158
+ </table></div>
1159
+ </div>
1160
+ <div class="refsect3">
1161
+ <a name="id-1.7.3.2.8.17.9"></a><h4>Returns</h4>
1162
+ <p> a pointer to the <a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a> for the
1163
+ given name. The <a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a> is owned by the <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> instance
1164
+ and it should not be unreferenced. </p>
1165
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
1166
+ </div>
1167
+ <p class="since">Since 1.8</p>
1168
+ </div>
1169
+ <hr>
1170
+ <div class="refsect2">
1171
+ <a name="clutter-script-get-type-from-name"></a><h3>clutter_script_get_type_from_name ()</h3>
1172
+ <pre class="programlisting"><span class="returnvalue">GType</span>
1173
+ clutter_script_get_type_from_name (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
1174
+ <em class="parameter"><code>const <span class="type">gchar</span> *type_name</code></em>);</pre>
1175
+ <p>Looks up a type by name, using the virtual function that
1176
+ <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> has for that purpose. This function should
1177
+ rarely be used.</p>
1178
+ <div class="refsect3">
1179
+ <a name="id-1.7.3.2.8.18.5"></a><h4>Parameters</h4>
1180
+ <div class="informaltable"><table width="100%" border="0">
1181
+ <colgroup>
1182
+ <col width="150px" class="parameters_name">
1183
+ <col class="parameters_description">
1184
+ <col width="200px" class="parameters_annotations">
1185
+ </colgroup>
1186
+ <tbody>
1187
+ <tr>
1188
+ <td class="parameter_name"><p>script</p></td>
1189
+ <td class="parameter_description"><p>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a></p></td>
1190
+ <td class="parameter_annotations"> </td>
1191
+ </tr>
1192
+ <tr>
1193
+ <td class="parameter_name"><p>type_name</p></td>
1194
+ <td class="parameter_description"><p>name of the type to look up</p></td>
1195
+ <td class="parameter_annotations"> </td>
1196
+ </tr>
1197
+ </tbody>
1198
+ </table></div>
1199
+ </div>
1200
+ <div class="refsect3">
1201
+ <a name="id-1.7.3.2.8.18.6"></a><h4>Returns</h4>
1202
+ <p> the type for the requested type name, or
1203
+ <code class="literal">G_TYPE_INVALID</code> if not corresponding type was found.</p>
1204
+ <p></p>
1205
+ </div>
1206
+ <p class="since">Since 0.6</p>
1207
+ </div>
1208
+ <hr>
1209
+ <div class="refsect2">
1210
+ <a name="clutter-get-script-id"></a><h3>clutter_get_script_id ()</h3>
1211
+ <pre class="programlisting">const <span class="returnvalue">gchar</span> *
1212
+ clutter_get_script_id (<em class="parameter"><code><span class="type">GObject</span> *gobject</code></em>);</pre>
1213
+ <p>Retrieves the Clutter script id, if any.</p>
1214
+ <div class="refsect3">
1215
+ <a name="id-1.7.3.2.8.19.5"></a><h4>Parameters</h4>
1216
+ <div class="informaltable"><table width="100%" border="0">
1217
+ <colgroup>
1218
+ <col width="150px" class="parameters_name">
1219
+ <col class="parameters_description">
1220
+ <col width="200px" class="parameters_annotations">
1221
+ </colgroup>
1222
+ <tbody><tr>
1223
+ <td class="parameter_name"><p>gobject</p></td>
1224
+ <td class="parameter_description"><p>a <span class="type">GObject</span></p></td>
1225
+ <td class="parameter_annotations"> </td>
1226
+ </tr></tbody>
1227
+ </table></div>
1228
+ </div>
1229
+ <div class="refsect3">
1230
+ <a name="id-1.7.3.2.8.19.6"></a><h4>Returns</h4>
1231
+ <p> the script id, or <code class="literal">NULL</code> if <em class="parameter"><code>object</code></em>
1232
+ was not defined inside
1233
+ a UI definition file. The returned string is owned by the object and
1234
+ should never be modified or freed.</p>
1235
+ <p></p>
1236
+ </div>
1237
+ <p class="since">Since 0.6</p>
1238
+ </div>
1239
+ <hr>
1240
+ <div class="refsect2">
1241
+ <a name="clutter-script-get-translation-domain"></a><h3>clutter_script_get_translation_domain ()</h3>
1242
+ <pre class="programlisting">const <span class="returnvalue">gchar</span> *
1243
+ clutter_script_get_translation_domain (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>);</pre>
1244
+ <p>Retrieves the translation domain set using
1245
+ <a class="link" href="ClutterScript.html#clutter-script-set-translation-domain" title="clutter_script_set_translation_domain ()"><code class="function">clutter_script_set_translation_domain()</code></a>.</p>
1246
+ <div class="refsect3">
1247
+ <a name="id-1.7.3.2.8.20.5"></a><h4>Parameters</h4>
1248
+ <div class="informaltable"><table width="100%" border="0">
1249
+ <colgroup>
1250
+ <col width="150px" class="parameters_name">
1251
+ <col class="parameters_description">
1252
+ <col width="200px" class="parameters_annotations">
1253
+ </colgroup>
1254
+ <tbody><tr>
1255
+ <td class="parameter_name"><p>script</p></td>
1256
+ <td class="parameter_description"><p>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a></p></td>
1257
+ <td class="parameter_annotations"> </td>
1258
+ </tr></tbody>
1259
+ </table></div>
1260
+ </div>
1261
+ <div class="refsect3">
1262
+ <a name="id-1.7.3.2.8.20.6"></a><h4>Returns</h4>
1263
+ <p> the translation domain, if any is set,
1264
+ or <code class="literal">NULL</code>. </p>
1265
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
1266
+ </div>
1267
+ <p class="since">Since 1.10</p>
1268
+ </div>
1269
+ <hr>
1270
+ <div class="refsect2">
1271
+ <a name="clutter-script-set-translation-domain"></a><h3>clutter_script_set_translation_domain ()</h3>
1272
+ <pre class="programlisting"><span class="returnvalue">void</span>
1273
+ clutter_script_set_translation_domain (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
1274
+ <em class="parameter"><code>const <span class="type">gchar</span> *domain</code></em>);</pre>
1275
+ <p>Sets the translation domain for <em class="parameter"><code>script</code></em>
1276
+ .</p>
1277
+ <div class="refsect3">
1278
+ <a name="id-1.7.3.2.8.21.5"></a><h4>Parameters</h4>
1279
+ <div class="informaltable"><table width="100%" border="0">
1280
+ <colgroup>
1281
+ <col width="150px" class="parameters_name">
1282
+ <col class="parameters_description">
1283
+ <col width="200px" class="parameters_annotations">
1284
+ </colgroup>
1285
+ <tbody>
1286
+ <tr>
1287
+ <td class="parameter_name"><p>script</p></td>
1288
+ <td class="parameter_description"><p>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a></p></td>
1289
+ <td class="parameter_annotations"> </td>
1290
+ </tr>
1291
+ <tr>
1292
+ <td class="parameter_name"><p>domain</p></td>
1293
+ <td class="parameter_description"><p> the translation domain, or <code class="literal">NULL</code>. </p></td>
1294
+ <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>
1295
+ </tr>
1296
+ </tbody>
1297
+ </table></div>
1298
+ </div>
1299
+ <p class="since">Since 1.10</p>
1300
+ </div>
1301
+ </div>
1302
+ <div class="refsect1">
1303
+ <a name="ClutterScript.other_details"></a><h2>Types and Values</h2>
1304
+ <div class="refsect2">
1305
+ <a name="ClutterScript-struct"></a><h3>struct ClutterScript</h3>
1306
+ <pre class="programlisting">struct ClutterScript;</pre>
1307
+ <p>The <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> structure contains only private data
1308
+ and should be accessed using the provided API</p>
1309
+ <p class="since">Since 0.6</p>
1310
+ </div>
1311
+ <hr>
1312
+ <div class="refsect2">
1313
+ <a name="ClutterScriptClass"></a><h3>struct ClutterScriptClass</h3>
1314
+ <pre class="programlisting">struct ClutterScriptClass {
1315
+ GType (* get_type_from_name) (ClutterScript *script,
1316
+ const gchar *type_name);
1317
+ };
1318
+ </pre>
1319
+ <p>The <a class="link" href="ClutterScript.html#ClutterScriptClass" title="struct ClutterScriptClass"><span class="type">ClutterScriptClass</span></a> structure contains only private data</p>
1320
+ <div class="refsect3">
1321
+ <a name="id-1.7.3.2.9.3.5"></a><h4>Members</h4>
1322
+ <div class="informaltable"><table width="100%" border="0">
1323
+ <colgroup>
1324
+ <col width="300px" class="struct_members_name">
1325
+ <col class="struct_members_description">
1326
+ <col width="200px" class="struct_members_annotations">
1327
+ </colgroup>
1328
+ <tbody><tr>
1329
+ <td class="struct_member_name"><p><em class="structfield"><code><a name="ClutterScriptClass.get-type-from-name"></a>get_type_from_name</code></em> ()</p></td>
1330
+ <td class="struct_member_description"><p>virtual function used to map a type name
1331
+ to a <span class="type">GType</span>. This function should only be overridden by
1332
+ language bindings in order to map native types to <span class="type">GType</span>.
1333
+ The default implementation is equivalent to <code class="function">g_type_from_name()</code></p></td>
1334
+ <td class="struct_member_annotations"> </td>
1335
+ </tr></tbody>
1336
+ </table></div>
1337
+ </div>
1338
+ <p class="since">Since 0.6</p>
1339
+ </div>
1340
+ <hr>
1341
+ <div class="refsect2">
1342
+ <a name="ClutterScriptError"></a><h3>enum ClutterScriptError</h3>
1343
+ <p><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> error enumeration.</p>
1344
+ <div class="refsect3">
1345
+ <a name="id-1.7.3.2.9.4.4"></a><h4>Members</h4>
1346
+ <div class="informaltable"><table width="100%" border="0">
1347
+ <colgroup>
1348
+ <col width="300px" class="enum_members_name">
1349
+ <col class="enum_members_description">
1350
+ <col width="200px" class="enum_members_annotations">
1351
+ </colgroup>
1352
+ <tbody>
1353
+ <tr>
1354
+ <td class="enum_member_name"><p><a name="CLUTTER-SCRIPT-ERROR-INVALID-TYPE-FUNCTION:CAPS"></a>CLUTTER_SCRIPT_ERROR_INVALID_TYPE_FUNCTION</p></td>
1355
+ <td class="enum_member_description">
1356
+ <p>Type function not found
1357
+ or invalid</p>
1358
+ </td>
1359
+ <td class="enum_member_annotations"> </td>
1360
+ </tr>
1361
+ <tr>
1362
+ <td class="enum_member_name"><p><a name="CLUTTER-SCRIPT-ERROR-INVALID-PROPERTY:CAPS"></a>CLUTTER_SCRIPT_ERROR_INVALID_PROPERTY</p></td>
1363
+ <td class="enum_member_description">
1364
+ <p>Property not found or invalid</p>
1365
+ </td>
1366
+ <td class="enum_member_annotations"> </td>
1367
+ </tr>
1368
+ <tr>
1369
+ <td class="enum_member_name"><p><a name="CLUTTER-SCRIPT-ERROR-INVALID-VALUE:CAPS"></a>CLUTTER_SCRIPT_ERROR_INVALID_VALUE</p></td>
1370
+ <td class="enum_member_description">
1371
+ <p>Invalid value</p>
1372
+ </td>
1373
+ <td class="enum_member_annotations"> </td>
1374
+ </tr>
1375
+ </tbody>
1376
+ </table></div>
1377
+ </div>
1378
+ <p class="since">Since 0.6</p>
1379
+ </div>
1380
+ </div>
1381
+ <div class="refsect1">
1382
+ <a name="ClutterScript.property-details"></a><h2>Property Details</h2>
1383
+ <div class="refsect2">
1384
+ <a name="ClutterScript--filename"></a><h3>The <code class="literal">“filename”</code> property</h3>
1385
+ <pre class="programlisting"> “filename” <span class="type">gchar</span> *</pre>
1386
+ <p>The path of the currently parsed file. If <a class="link" href="ClutterScript.html#ClutterScript--filename-set" title="The “filename-set” property"><span class="type">“filename-set”</span></a>
1387
+ is <code class="literal">FALSE</code> then the value of this property is undefined.</p>
1388
+ <p>Flags: Read</p>
1389
+ <p>Default value: NULL</p>
1390
+ <p class="since">Since 0.6</p>
1391
+ </div>
1392
+ <hr>
1393
+ <div class="refsect2">
1394
+ <a name="ClutterScript--filename-set"></a><h3>The <code class="literal">“filename-set”</code> property</h3>
1395
+ <pre class="programlisting"> “filename-set” <span class="type">gboolean</span></pre>
1396
+ <p>Whether the <a class="link" href="ClutterScript.html#ClutterScript--filename" title="The “filename” property"><span class="type">“filename”</span></a> property is set. If this property
1397
+ is <code class="literal">TRUE</code> then the currently parsed data comes from a file, and the
1398
+ file name is stored inside the <a class="link" href="ClutterScript.html#ClutterScript--filename" title="The “filename” property"><span class="type">“filename”</span></a> property.</p>
1399
+ <p>Flags: Read</p>
1400
+ <p>Default value: FALSE</p>
1401
+ <p class="since">Since 0.6</p>
1402
+ </div>
1403
+ <hr>
1404
+ <div class="refsect2">
1405
+ <a name="ClutterScript--translation-domain"></a><h3>The <code class="literal">“translation-domain”</code> property</h3>
1406
+ <pre class="programlisting"> “translation-domain” <span class="type">gchar</span> *</pre>
1407
+ <p>The translation domain, used to localize strings marked as translatable
1408
+ inside a UI definition.</p>
1409
+ <p>If <a class="link" href="ClutterScript.html#ClutterScript--translation-domain" title="The “translation-domain” property"><span class="type">“translation-domain”</span></a> is set to <code class="literal">NULL</code>, <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a>
1410
+ will use <code class="function">gettext()</code>, otherwise <code class="function">g_dgettext()</code> will be used.</p>
1411
+ <p>Flags: Read / Write</p>
1412
+ <p>Default value: NULL</p>
1413
+ <p class="since">Since 1.10</p>
1414
+ </div>
1415
+ </div>
1416
+ </div>
1417
+ <div class="footer">
1418
+ <hr>
1419
+ Generated by GTK-Doc V1.20.1</div>
1420
+ </body>
1421
+ </html>