clutter 2.0.0-x86-mingw32

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