clutter 2.0.0-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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,1224 @@
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>ClutterDragAction</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="ch04.html" title="Actions">
9
+ <link rel="prev" href="ClutterClickAction.html" title="ClutterClickAction">
10
+ <link rel="next" href="ClutterDropAction.html" title="ClutterDropAction">
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="ClutterClickAction.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
+ <td><a accesskey="u" href="ch04.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="ClutterDropAction.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="#ClutterDragAction.synopsis" class="shortcut">Top</a>
25
+  | 
26
+ <a href="#ClutterDragAction.description" class="shortcut">Description</a>
27
+  | 
28
+ <a href="#ClutterDragAction.object-hierarchy" class="shortcut">Object Hierarchy</a>
29
+  | 
30
+ <a href="#ClutterDragAction.properties" class="shortcut">Properties</a>
31
+  | 
32
+ <a href="#ClutterDragAction.signals" class="shortcut">Signals</a>
33
+ </td></tr>
34
+ </table>
35
+ <div class="refentry">
36
+ <a name="ClutterDragAction"></a><div class="titlepage"></div>
37
+ <div class="refnamediv"><table width="100%"><tr>
38
+ <td valign="top">
39
+ <h2><span class="refentrytitle"><a name="ClutterDragAction.top_of_page"></a>ClutterDragAction</span></h2>
40
+ <p>ClutterDragAction — Action enabling dragging on actors</p>
41
+ </td>
42
+ <td valign="top" align="right"></td>
43
+ </tr></table></div>
44
+ <div class="refsynopsisdiv">
45
+ <a name="ClutterDragAction.synopsis"></a><h2>Synopsis</h2>
46
+ <pre class="synopsis">struct <a class="link" href="ClutterDragAction.html#ClutterDragAction-struct" title="struct ClutterDragAction">ClutterDragAction</a>;
47
+ struct <a class="link" href="ClutterDragAction.html#ClutterDragActionClass" title="struct ClutterDragActionClass">ClutterDragActionClass</a>;
48
+ <a class="link" href="ClutterAction.html" title="ClutterAction"><span class="returnvalue">ClutterAction</span></a> * <a class="link" href="ClutterDragAction.html#clutter-drag-action-new" title="clutter_drag_action_new ()">clutter_drag_action_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
49
+ <span class="returnvalue">void</span> <a class="link" href="ClutterDragAction.html#clutter-drag-action-set-drag-threshold" title="clutter_drag_action_set_drag_threshold ()">clutter_drag_action_set_drag_threshold</a>
50
+ (<em class="parameter"><code><a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> *action</code></em>,
51
+ <em class="parameter"><code><span class="type">gint</span> x_threshold</code></em>,
52
+ <em class="parameter"><code><span class="type">gint</span> y_threshold</code></em>);
53
+ <span class="returnvalue">void</span> <a class="link" href="ClutterDragAction.html#clutter-drag-action-get-drag-threshold" title="clutter_drag_action_get_drag_threshold ()">clutter_drag_action_get_drag_threshold</a>
54
+ (<em class="parameter"><code><a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> *action</code></em>,
55
+ <em class="parameter"><code><span class="type">guint</span> *x_threshold</code></em>,
56
+ <em class="parameter"><code><span class="type">guint</span> *y_threshold</code></em>);
57
+ <span class="returnvalue">void</span> <a class="link" href="ClutterDragAction.html#clutter-drag-action-set-drag-handle" title="clutter_drag_action_set_drag_handle ()">clutter_drag_action_set_drag_handle</a> (<em class="parameter"><code><a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> *action</code></em>,
58
+ <em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *handle</code></em>);
59
+ <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> * <a class="link" href="ClutterDragAction.html#clutter-drag-action-get-drag-handle" title="clutter_drag_action_get_drag_handle ()">clutter_drag_action_get_drag_handle</a> (<em class="parameter"><code><a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> *action</code></em>);
60
+ enum <a class="link" href="ClutterDragAction.html#ClutterDragAxis" title="enum ClutterDragAxis">ClutterDragAxis</a>;
61
+ <span class="returnvalue">void</span> <a class="link" href="ClutterDragAction.html#clutter-drag-action-set-drag-axis" title="clutter_drag_action_set_drag_axis ()">clutter_drag_action_set_drag_axis</a> (<em class="parameter"><code><a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> *action</code></em>,
62
+ <em class="parameter"><code><a class="link" href="ClutterDragAction.html#ClutterDragAxis" title="enum ClutterDragAxis"><span class="type">ClutterDragAxis</span></a> axis</code></em>);
63
+ <a class="link" href="ClutterDragAction.html#ClutterDragAxis" title="enum ClutterDragAxis"><span class="returnvalue">ClutterDragAxis</span></a> <a class="link" href="ClutterDragAction.html#clutter-drag-action-get-drag-axis" title="clutter_drag_action_get_drag_axis ()">clutter_drag_action_get_drag_axis</a> (<em class="parameter"><code><a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> *action</code></em>);
64
+ <span class="returnvalue">void</span> <a class="link" href="ClutterDragAction.html#clutter-drag-action-set-drag-area" title="clutter_drag_action_set_drag_area ()">clutter_drag_action_set_drag_area</a> (<em class="parameter"><code><a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> *action</code></em>,
65
+ <em class="parameter"><code>const <a class="link" href="clutter-Base-geometric-types.html#ClutterRect" title="struct ClutterRect"><span class="type">ClutterRect</span></a> *drag_area</code></em>);
66
+ <span class="returnvalue">gboolean</span> <a class="link" href="ClutterDragAction.html#clutter-drag-action-get-drag-area" title="clutter_drag_action_get_drag_area ()">clutter_drag_action_get_drag_area</a> (<em class="parameter"><code><a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> *action</code></em>,
67
+ <em class="parameter"><code><a class="link" href="clutter-Base-geometric-types.html#ClutterRect" title="struct ClutterRect"><span class="type">ClutterRect</span></a> *drag_area</code></em>);
68
+
69
+ <span class="returnvalue">void</span> <a class="link" href="ClutterDragAction.html#clutter-drag-action-get-press-coords" title="clutter_drag_action_get_press_coords ()">clutter_drag_action_get_press_coords</a>
70
+ (<em class="parameter"><code><a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> *action</code></em>,
71
+ <em class="parameter"><code><span class="type">gfloat</span> *press_x</code></em>,
72
+ <em class="parameter"><code><span class="type">gfloat</span> *press_y</code></em>);
73
+ <span class="returnvalue">void</span> <a class="link" href="ClutterDragAction.html#clutter-drag-action-get-motion-coords" title="clutter_drag_action_get_motion_coords ()">clutter_drag_action_get_motion_coords</a>
74
+ (<em class="parameter"><code><a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> *action</code></em>,
75
+ <em class="parameter"><code><span class="type">gfloat</span> *motion_x</code></em>,
76
+ <em class="parameter"><code><span class="type">gfloat</span> *motion_y</code></em>);
77
+ </pre>
78
+ </div>
79
+ <div class="refsect1">
80
+ <a name="ClutterDragAction.object-hierarchy"></a><h2>Object Hierarchy</h2>
81
+ <pre class="synopsis">
82
+ GObject
83
+ +----GInitiallyUnowned
84
+ +----<a class="link" href="ClutterActorMeta.html" title="ClutterActorMeta">ClutterActorMeta</a>
85
+ +----<a class="link" href="ClutterAction.html" title="ClutterAction">ClutterAction</a>
86
+ +----ClutterDragAction
87
+ </pre>
88
+ </div>
89
+ <div class="refsect1">
90
+ <a name="ClutterDragAction.properties"></a><h2>Properties</h2>
91
+ <pre class="synopsis">
92
+ "<a class="link" href="ClutterDragAction.html#ClutterDragAction--drag-area" title='The "drag-area" property'>drag-area</a>" <a class="link" href="clutter-Base-geometric-types.html#ClutterRect" title="struct ClutterRect"><span class="type">ClutterRect</span></a>* : Read / Write
93
+ "<a class="link" href="ClutterDragAction.html#ClutterDragAction--drag-area-set" title='The "drag-area-set" property'>drag-area-set</a>" <span class="type">gboolean</span> : Read
94
+ "<a class="link" href="ClutterDragAction.html#ClutterDragAction--drag-axis" title='The "drag-axis" property'>drag-axis</a>" <a class="link" href="ClutterDragAction.html#ClutterDragAxis" title="enum ClutterDragAxis"><span class="type">ClutterDragAxis</span></a> : Read / Write
95
+ "<a class="link" href="ClutterDragAction.html#ClutterDragAction--drag-handle" title='The "drag-handle" property'>drag-handle</a>" <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a>* : Read / Write
96
+ "<a class="link" href="ClutterDragAction.html#ClutterDragAction--x-drag-threshold" title='The "x-drag-threshold" property'>x-drag-threshold</a>" <span class="type">gint</span> : Read / Write
97
+ "<a class="link" href="ClutterDragAction.html#ClutterDragAction--y-drag-threshold" title='The "y-drag-threshold" property'>y-drag-threshold</a>" <span class="type">gint</span> : Read / Write
98
+ </pre>
99
+ </div>
100
+ <div class="refsect1">
101
+ <a name="ClutterDragAction.signals"></a><h2>Signals</h2>
102
+ <pre class="synopsis">
103
+ "<a class="link" href="ClutterDragAction.html#ClutterDragAction-drag-begin" title='The "drag-begin" signal'>drag-begin</a>" : <code class="literal">Run Last</code>
104
+ "<a class="link" href="ClutterDragAction.html#ClutterDragAction-drag-end" title='The "drag-end" signal'>drag-end</a>" : <code class="literal">Run Last</code>
105
+ "<a class="link" href="ClutterDragAction.html#ClutterDragAction-drag-motion" title='The "drag-motion" signal'>drag-motion</a>" : <code class="literal">Run Last</code>
106
+ "<a class="link" href="ClutterDragAction.html#ClutterDragAction-drag-progress" title='The "drag-progress" signal'>drag-progress</a>" : <code class="literal">Run Last</code>
107
+ </pre>
108
+ </div>
109
+ <div class="refsect1">
110
+ <a name="ClutterDragAction.description"></a><h2>Description</h2>
111
+ <p>
112
+ <a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> is a sub-class of <a class="link" href="ClutterAction.html" title="ClutterAction"><span class="type">ClutterAction</span></a> that implements
113
+ all the necessary logic for dragging actors.
114
+ </p>
115
+ <p>
116
+ The simplest usage of <a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> consists in adding it to
117
+ a <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> and setting it as reactive; for instance, the following
118
+ code:
119
+ </p>
120
+ <p>
121
+ </p>
122
+ <div class="informalexample">
123
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
124
+ <tbody>
125
+ <tr>
126
+ <td class="listing_lines" align="right"><pre>1
127
+ 2</pre></td>
128
+ <td class="listing_code"><pre class="programlisting"><span class="function"><a href="ClutterActor.html#clutter-actor-add-action">clutter_actor_add_action</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">actor</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="ClutterDragAction.html#clutter-drag-action-new">clutter_drag_action_new</a></span><span class="normal"> </span><span class="symbol">());</span>
129
+ <span class="function"><a href="ClutterActor.html#clutter-actor-set-reactive">clutter_actor_set_reactive</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">actor</span><span class="symbol">,</span><span class="normal"> TRUE</span><span class="symbol">);</span></pre></td>
130
+ </tr>
131
+ </tbody>
132
+ </table>
133
+ </div>
134
+
135
+ <p>
136
+ </p>
137
+ <p>
138
+ will automatically result in the actor moving to follow the pointer
139
+ whenever the pointer's button is pressed over the actor and moved
140
+ across the stage.
141
+ </p>
142
+ <p>
143
+ The <a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> will signal the begin and the end of a dragging
144
+ through the <a class="link" href="ClutterDragAction.html#ClutterDragAction-drag-begin" title='The "drag-begin" signal'><span class="type">"drag-begin"</span></a> and <a class="link" href="ClutterDragAction.html#ClutterDragAction-drag-end" title='The "drag-end" signal'><span class="type">"drag-end"</span></a>
145
+ signals, respectively. Each pointer motion during a drag will also result
146
+ in the <a class="link" href="ClutterDragAction.html#ClutterDragAction-drag-motion" title='The "drag-motion" signal'><span class="type">"drag-motion"</span></a> signal to be emitted.
147
+ </p>
148
+ <p>
149
+ It is also possible to set another <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> as the dragged actor
150
+ by calling <a class="link" href="ClutterDragAction.html#clutter-drag-action-set-drag-handle" title="clutter_drag_action_set_drag_handle ()"><code class="function">clutter_drag_action_set_drag_handle()</code></a> from within a handle
151
+ of the <a class="link" href="ClutterDragAction.html#ClutterDragAction-drag-begin" title='The "drag-begin" signal'><span class="type">"drag-begin"</span></a> signal. The drag handle must be
152
+ parented and exist between the emission of <a class="link" href="ClutterDragAction.html#ClutterDragAction-drag-begin" title='The "drag-begin" signal'><span class="type">"drag-begin"</span></a>
153
+ and <a class="link" href="ClutterDragAction.html#ClutterDragAction-drag-end" title='The "drag-end" signal'><span class="type">"drag-end"</span></a>.
154
+ </p>
155
+ <p>
156
+ </p>
157
+ <div class="example">
158
+ <a name="drag-action-example"></a><p class="title"><b>Example 5. A simple draggable actor</b></p>
159
+ <div class="example-contents">
160
+ <pre class="programlisting">
161
+ #include &lt;stdlib.h&gt;
162
+ #include &lt;clutter/clutter.h&gt;
163
+
164
+ static gboolean
165
+ on_enter (ClutterActor *actor,
166
+ ClutterEvent *event)
167
+ {
168
+ ClutterTransition *t;
169
+
170
+ t = clutter_actor_get_transition (actor, "curl");
171
+ if (t == NULL)
172
+ {
173
+ t = clutter_property_transition_new ("@effects.curl.period");
174
+ clutter_timeline_set_duration (CLUTTER_TIMELINE (t), 250);
175
+ clutter_actor_add_transition (actor, "curl", t);
176
+ g_object_unref (t);
177
+ }
178
+
179
+ clutter_transition_set_from (t, G_TYPE_DOUBLE, 0.0);
180
+ clutter_transition_set_to (t, G_TYPE_DOUBLE, 0.25);
181
+ clutter_timeline_rewind (CLUTTER_TIMELINE (t));
182
+ clutter_timeline_start (CLUTTER_TIMELINE (t));
183
+
184
+ return CLUTTER_EVENT_STOP;
185
+ }
186
+
187
+ static gboolean
188
+ on_leave (ClutterActor *actor,
189
+ ClutterEvent *event)
190
+ {
191
+ ClutterTransition *t;
192
+
193
+ t = clutter_actor_get_transition (actor, "curl");
194
+ if (t == NULL)
195
+ {
196
+ t = clutter_property_transition_new ("@effects.curl.period");
197
+ clutter_timeline_set_duration (CLUTTER_TIMELINE (t), 250);
198
+ clutter_actor_add_transition (actor, "curl", t);
199
+ g_object_unref (t);
200
+ }
201
+
202
+ clutter_transition_set_from (t, G_TYPE_DOUBLE, 0.25);
203
+ clutter_transition_set_to (t, G_TYPE_DOUBLE, 0.0);
204
+ clutter_timeline_rewind (CLUTTER_TIMELINE (t));
205
+ clutter_timeline_start (CLUTTER_TIMELINE (t));
206
+
207
+ return CLUTTER_EVENT_STOP;
208
+ }
209
+
210
+ static void
211
+ on_drag_begin (ClutterDragAction *action,
212
+ ClutterActor *actor,
213
+ gfloat event_x,
214
+ gfloat event_y,
215
+ ClutterModifierType modifiers)
216
+ {
217
+ gboolean is_copy = (modifiers &amp; CLUTTER_SHIFT_MASK) ? TRUE : FALSE;
218
+ ClutterActor *drag_handle = NULL;
219
+ ClutterTransition *t;
220
+
221
+ if (is_copy)
222
+ {
223
+ ClutterActor *stage = clutter_actor_get_stage (actor);
224
+
225
+ drag_handle = clutter_actor_new ();
226
+ clutter_actor_set_size (drag_handle, 48, 48);
227
+
228
+ clutter_actor_set_background_color (drag_handle, CLUTTER_COLOR_DarkSkyBlue);
229
+
230
+ clutter_actor_add_child (stage, drag_handle);
231
+ clutter_actor_set_position (drag_handle, event_x, event_y);
232
+ }
233
+ else
234
+ drag_handle = actor;
235
+
236
+ clutter_drag_action_set_drag_handle (action, drag_handle);
237
+
238
+ /* fully desaturate the actor */
239
+ t = clutter_actor_get_transition (actor, "disable");
240
+ if (t == NULL)
241
+ {
242
+ t = clutter_property_transition_new ("@effects.disable.factor");
243
+ clutter_timeline_set_duration (CLUTTER_TIMELINE (t), 250);
244
+ clutter_actor_add_transition (actor, "disable", t);
245
+ g_object_unref (t);
246
+ }
247
+
248
+ clutter_transition_set_from (t, G_TYPE_DOUBLE, 0.0);
249
+ clutter_transition_set_to (t, G_TYPE_DOUBLE, 1.0);
250
+ clutter_timeline_rewind (CLUTTER_TIMELINE (t));
251
+ clutter_timeline_start (CLUTTER_TIMELINE (t));
252
+ }
253
+
254
+ static void
255
+ on_drag_end (ClutterDragAction *action,
256
+ ClutterActor *actor,
257
+ gfloat event_x,
258
+ gfloat event_y,
259
+ ClutterModifierType modifiers)
260
+ {
261
+ ClutterActor *drag_handle;
262
+ ClutterTransition *t;
263
+
264
+ drag_handle = clutter_drag_action_get_drag_handle (action);
265
+ if (actor != drag_handle)
266
+ {
267
+ gfloat real_x, real_y;
268
+ ClutterActor *parent;
269
+
270
+ /* if we are dragging a copy we can destroy the copy now
271
+ * and animate the real actor to the drop coordinates,
272
+ * transformed in the parent's coordinate space
273
+ */
274
+ clutter_actor_save_easing_state (drag_handle);
275
+ clutter_actor_set_easing_mode (drag_handle, CLUTTER_LINEAR);
276
+ clutter_actor_set_opacity (drag_handle, 0);
277
+ clutter_actor_restore_easing_state (drag_handle);
278
+ g_signal_connect (drag_handle, "transitions-completed",
279
+ G_CALLBACK (clutter_actor_destroy),
280
+ NULL);
281
+
282
+ parent = clutter_actor_get_parent (actor);
283
+ clutter_actor_transform_stage_point (parent, event_x, event_y,
284
+ &amp;real_x,
285
+ &amp;real_y);
286
+
287
+ clutter_actor_save_easing_state (actor);
288
+ clutter_actor_set_easing_mode (actor, CLUTTER_EASE_OUT_CUBIC);
289
+ clutter_actor_set_position (actor, real_x, real_y);
290
+ clutter_actor_restore_easing_state (actor);
291
+ }
292
+
293
+ t = clutter_actor_get_transition (actor, "disable");
294
+ if (t == NULL)
295
+ {
296
+ t = clutter_property_transition_new ("@effects.disable.factor");
297
+ clutter_timeline_set_duration (CLUTTER_TIMELINE (t), 250);
298
+ clutter_actor_add_transition (actor, "disable", t);
299
+ g_object_unref (t);
300
+ }
301
+
302
+ clutter_transition_set_from (t, G_TYPE_DOUBLE, 1.0);
303
+ clutter_transition_set_to (t, G_TYPE_DOUBLE, 0.0);
304
+ clutter_timeline_rewind (CLUTTER_TIMELINE (t));
305
+ clutter_timeline_start (CLUTTER_TIMELINE (t));
306
+ }
307
+
308
+ static ClutterDragAxis
309
+ get_drag_axis (const gchar *str)
310
+ {
311
+ if (str == NULL || *str == '\0')
312
+ return CLUTTER_DRAG_AXIS_NONE;
313
+
314
+ if (*str == 'x' || *str == 'X')
315
+ return CLUTTER_DRAG_X_AXIS;
316
+
317
+ if (*str == 'y' || *str == 'Y')
318
+ return CLUTTER_DRAG_Y_AXIS;
319
+
320
+ g_warn_if_reached ();
321
+
322
+ return CLUTTER_DRAG_AXIS_NONE;
323
+ }
324
+
325
+ static gchar *drag_axis = NULL;
326
+ static gint x_drag_threshold = 0;
327
+ static gint y_drag_threshold = 0;
328
+
329
+ static GOptionEntry entries[] = {
330
+ {
331
+ "x-threshold", 'x',
332
+ 0,
333
+ G_OPTION_ARG_INT,
334
+ &amp;x_drag_threshold,
335
+ "Set the horizontal drag threshold", "PIXELS"
336
+ },
337
+ {
338
+ "y-threshold", 'y',
339
+ 0,
340
+ G_OPTION_ARG_INT,
341
+ &amp;y_drag_threshold,
342
+ "Set the vertical drag threshold", "PIXELS"
343
+ },
344
+ {
345
+ "axis", 'a',
346
+ 0,
347
+ G_OPTION_ARG_STRING,
348
+ &amp;drag_axis,
349
+ "Set the drag axis", "AXIS"
350
+ },
351
+
352
+ { NULL }
353
+ };
354
+
355
+ int
356
+ main (int argc, char *argv[])
357
+ {
358
+ ClutterActor *stage, *handle;
359
+ ClutterAction *action;
360
+ GError *error;
361
+
362
+ error = NULL;
363
+ if (clutter_init_with_args (&amp;argc, &amp;argv,
364
+ "test-drag",
365
+ entries,
366
+ NULL,
367
+ &amp;error) != CLUTTER_INIT_SUCCESS)
368
+ {
369
+ g_print ("Unable to run drag-action: %s\n", error-&gt;message);
370
+ g_error_free (error);
371
+
372
+ return EXIT_FAILURE;
373
+ }
374
+
375
+ stage = clutter_stage_new ();
376
+ clutter_stage_set_title (CLUTTER_STAGE (stage), "Drag Test");
377
+ clutter_actor_set_size (stage, 800, 600);
378
+ g_signal_connect (stage, "destroy", G_CALLBACK (clutter_main_quit), NULL);
379
+
380
+ handle = clutter_actor_new ();
381
+ clutter_actor_set_background_color (handle, CLUTTER_COLOR_SkyBlue);
382
+ clutter_actor_set_size (handle, 128, 128);
383
+ clutter_actor_set_position (handle, (800 - 128) / 2, (600 - 128) / 2);
384
+ clutter_actor_set_reactive (handle, TRUE);
385
+ clutter_actor_add_child (stage, handle);
386
+ g_signal_connect (handle, "enter-event", G_CALLBACK (on_enter), NULL);
387
+ g_signal_connect (handle, "leave-event", G_CALLBACK (on_leave), NULL);
388
+
389
+ action = clutter_drag_action_new ();
390
+ clutter_drag_action_set_drag_threshold (CLUTTER_DRAG_ACTION (action),
391
+ x_drag_threshold,
392
+ y_drag_threshold);
393
+ clutter_drag_action_set_drag_axis (CLUTTER_DRAG_ACTION (action),
394
+ get_drag_axis (drag_axis));
395
+
396
+ g_signal_connect (action, "drag-begin", G_CALLBACK (on_drag_begin), NULL);
397
+ g_signal_connect (action, "drag-end", G_CALLBACK (on_drag_end), NULL);
398
+
399
+ clutter_actor_add_action (handle, action);
400
+
401
+ clutter_actor_add_effect_with_name (handle, "disable", clutter_desaturate_effect_new (0.0));
402
+ clutter_actor_add_effect_with_name (handle, "curl", clutter_page_turn_effect_new (0.0, 45.0, 12.0));
403
+
404
+ clutter_actor_show (stage);
405
+
406
+ clutter_main ();
407
+
408
+ return EXIT_SUCCESS;
409
+ }
410
+
411
+ </pre>
412
+ <p>The example program above allows dragging the rectangle around
413
+ the stage using a <a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a>. When pressing the
414
+ <span class="keycap"><strong>Shift</strong></span> key the actor that is going to be dragged is a
415
+ separate rectangle, and when the drag ends, the original rectangle will
416
+ be animated to the final coordinates.</p>
417
+ </div>
418
+ </div>
419
+ <p><br class="example-break">
420
+ </p>
421
+ <p>
422
+ <a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> is available since Clutter 1.4
423
+ </p>
424
+ </div>
425
+ <div class="refsect1">
426
+ <a name="ClutterDragAction.details"></a><h2>Details</h2>
427
+ <div class="refsect2">
428
+ <a name="ClutterDragAction-struct"></a><h3>struct ClutterDragAction</h3>
429
+ <pre class="programlisting">struct ClutterDragAction;</pre>
430
+ <p>
431
+ The <span class="structname">ClutterDragAction</span> structure contains only
432
+ private data and should be accessed using the provided API
433
+ </p>
434
+ <p class="since">Since 1.4</p>
435
+ </div>
436
+ <hr>
437
+ <div class="refsect2">
438
+ <a name="ClutterDragActionClass"></a><h3>struct ClutterDragActionClass</h3>
439
+ <pre class="programlisting">struct ClutterDragActionClass {
440
+ void (* drag_begin) (ClutterDragAction *action,
441
+ ClutterActor *actor,
442
+ gfloat event_x,
443
+ gfloat event_y,
444
+ ClutterModifierType modifiers);
445
+ void (* drag_motion) (ClutterDragAction *action,
446
+ ClutterActor *actor,
447
+ gfloat delta_x,
448
+ gfloat delta_y);
449
+ void (* drag_end) (ClutterDragAction *action,
450
+ ClutterActor *actor,
451
+ gfloat event_x,
452
+ gfloat event_y,
453
+ ClutterModifierType modifiers);
454
+ gboolean (* drag_progress) (ClutterDragAction *action,
455
+ ClutterActor *actor,
456
+ gfloat delta_x,
457
+ gfloat delta_y);
458
+ };
459
+ </pre>
460
+ <p>
461
+ The <span class="structname">ClutterDragActionClass</span> structure contains
462
+ only private data
463
+ </p>
464
+ <div class="variablelist"><table border="0" class="variablelist">
465
+ <colgroup>
466
+ <col align="left" valign="top">
467
+ <col>
468
+ </colgroup>
469
+ <tbody>
470
+ <tr>
471
+ <td><p><span class="term"><em class="structfield"><code><a name="ClutterDragActionClass.drag-begin"></a>drag_begin</code></em> ()</span></p></td>
472
+ <td>class handler of the <a class="link" href="ClutterDragAction.html#ClutterDragAction-drag-begin" title='The "drag-begin" signal'><span class="type">"drag-begin"</span></a> signal</td>
473
+ </tr>
474
+ <tr>
475
+ <td><p><span class="term"><em class="structfield"><code><a name="ClutterDragActionClass.drag-motion"></a>drag_motion</code></em> ()</span></p></td>
476
+ <td>class handler of the <a class="link" href="ClutterDragAction.html#ClutterDragAction-drag-motion" title='The "drag-motion" signal'><span class="type">"drag-motion"</span></a> signal</td>
477
+ </tr>
478
+ <tr>
479
+ <td><p><span class="term"><em class="structfield"><code><a name="ClutterDragActionClass.drag-end"></a>drag_end</code></em> ()</span></p></td>
480
+ <td>class handler of the <a class="link" href="ClutterDragAction.html#ClutterDragAction-drag-end" title='The "drag-end" signal'><span class="type">"drag-end"</span></a> signal</td>
481
+ </tr>
482
+ <tr>
483
+ <td><p><span class="term"><em class="structfield"><code><a name="ClutterDragActionClass.drag-progress"></a>drag_progress</code></em> ()</span></p></td>
484
+ <td>class handler of the <a class="link" href="ClutterDragAction.html#ClutterDragAction-drag-progress" title='The "drag-progress" signal'><span class="type">"drag-progress"</span></a> signal</td>
485
+ </tr>
486
+ </tbody>
487
+ </table></div>
488
+ <p class="since">Since 1.4</p>
489
+ </div>
490
+ <hr>
491
+ <div class="refsect2">
492
+ <a name="clutter-drag-action-new"></a><h3>clutter_drag_action_new ()</h3>
493
+ <pre class="programlisting"><a class="link" href="ClutterAction.html" title="ClutterAction"><span class="returnvalue">ClutterAction</span></a> * clutter_drag_action_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
494
+ <p>
495
+ Creates a new <a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> instance
496
+ </p>
497
+ <div class="variablelist"><table border="0" class="variablelist">
498
+ <colgroup>
499
+ <col align="left" valign="top">
500
+ <col>
501
+ </colgroup>
502
+ <tbody><tr>
503
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
504
+ <td>the newly created <a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a>
505
+ </td>
506
+ </tr></tbody>
507
+ </table></div>
508
+ <p class="since">Since 1.4</p>
509
+ </div>
510
+ <hr>
511
+ <div class="refsect2">
512
+ <a name="clutter-drag-action-set-drag-threshold"></a><h3>clutter_drag_action_set_drag_threshold ()</h3>
513
+ <pre class="programlisting"><span class="returnvalue">void</span> clutter_drag_action_set_drag_threshold
514
+ (<em class="parameter"><code><a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> *action</code></em>,
515
+ <em class="parameter"><code><span class="type">gint</span> x_threshold</code></em>,
516
+ <em class="parameter"><code><span class="type">gint</span> y_threshold</code></em>);</pre>
517
+ <p>
518
+ Sets the horizontal and vertical drag thresholds that must be
519
+ cleared by the pointer before <em class="parameter"><code>action</code></em> can begin the dragging.
520
+ </p>
521
+ <p>
522
+ If <em class="parameter"><code>x_threshold</code></em> or <em class="parameter"><code>y_threshold</code></em> are set to -1 then the default
523
+ drag threshold stored in the <a class="link" href="ClutterSettings.html#ClutterSettings--dnd-drag-threshold" title='The "dnd-drag-threshold" property'><span class="type">"dnd-drag-threshold"</span></a>
524
+ property of <a class="link" href="ClutterSettings.html" title="ClutterSettings"><span class="type">ClutterSettings</span></a> will be used.
525
+ </p>
526
+ <div class="variablelist"><table border="0" class="variablelist">
527
+ <colgroup>
528
+ <col align="left" valign="top">
529
+ <col>
530
+ </colgroup>
531
+ <tbody>
532
+ <tr>
533
+ <td><p><span class="term"><em class="parameter"><code>action</code></em> :</span></p></td>
534
+ <td>a <a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a>
535
+ </td>
536
+ </tr>
537
+ <tr>
538
+ <td><p><span class="term"><em class="parameter"><code>x_threshold</code></em> :</span></p></td>
539
+ <td>a distance on the horizontal axis, in pixels, or
540
+ -1 to use the default drag threshold from <a class="link" href="ClutterSettings.html" title="ClutterSettings"><span class="type">ClutterSettings</span></a>
541
+ </td>
542
+ </tr>
543
+ <tr>
544
+ <td><p><span class="term"><em class="parameter"><code>y_threshold</code></em> :</span></p></td>
545
+ <td>a distance on the vertical axis, in pixels, or
546
+ -1 to use the default drag threshold from <a class="link" href="ClutterSettings.html" title="ClutterSettings"><span class="type">ClutterSettings</span></a>
547
+ </td>
548
+ </tr>
549
+ </tbody>
550
+ </table></div>
551
+ <p class="since">Since 1.4</p>
552
+ </div>
553
+ <hr>
554
+ <div class="refsect2">
555
+ <a name="clutter-drag-action-get-drag-threshold"></a><h3>clutter_drag_action_get_drag_threshold ()</h3>
556
+ <pre class="programlisting"><span class="returnvalue">void</span> clutter_drag_action_get_drag_threshold
557
+ (<em class="parameter"><code><a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> *action</code></em>,
558
+ <em class="parameter"><code><span class="type">guint</span> *x_threshold</code></em>,
559
+ <em class="parameter"><code><span class="type">guint</span> *y_threshold</code></em>);</pre>
560
+ <p>
561
+ Retrieves the values set by <a class="link" href="ClutterDragAction.html#clutter-drag-action-set-drag-threshold" title="clutter_drag_action_set_drag_threshold ()"><code class="function">clutter_drag_action_set_drag_threshold()</code></a>.
562
+ </p>
563
+ <p>
564
+ If the <a class="link" href="ClutterDragAction.html#ClutterDragAction--x-drag-threshold" title='The "x-drag-threshold" property'><span class="type">"x-drag-threshold"</span></a> property or the
565
+ <a class="link" href="ClutterDragAction.html#ClutterDragAction--y-drag-threshold" title='The "y-drag-threshold" property'><span class="type">"y-drag-threshold"</span></a> property have been set to -1 then
566
+ this function will return the default drag threshold value as stored
567
+ by the <a class="link" href="ClutterSettings.html#ClutterSettings--dnd-drag-threshold" title='The "dnd-drag-threshold" property'><span class="type">"dnd-drag-threshold"</span></a> property of <a class="link" href="ClutterSettings.html" title="ClutterSettings"><span class="type">ClutterSettings</span></a>.
568
+ </p>
569
+ <div class="variablelist"><table border="0" class="variablelist">
570
+ <colgroup>
571
+ <col align="left" valign="top">
572
+ <col>
573
+ </colgroup>
574
+ <tbody>
575
+ <tr>
576
+ <td><p><span class="term"><em class="parameter"><code>action</code></em> :</span></p></td>
577
+ <td>a <a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a>
578
+ </td>
579
+ </tr>
580
+ <tr>
581
+ <td><p><span class="term"><em class="parameter"><code>x_threshold</code></em> :</span></p></td>
582
+ <td>return location for the horizontal drag
583
+ threshold value, in pixels. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
584
+ </td>
585
+ </tr>
586
+ <tr>
587
+ <td><p><span class="term"><em class="parameter"><code>y_threshold</code></em> :</span></p></td>
588
+ <td>return location for the vertical drag
589
+ threshold value, in pixels. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
590
+ </td>
591
+ </tr>
592
+ </tbody>
593
+ </table></div>
594
+ <p class="since">Since 1.4</p>
595
+ </div>
596
+ <hr>
597
+ <div class="refsect2">
598
+ <a name="clutter-drag-action-set-drag-handle"></a><h3>clutter_drag_action_set_drag_handle ()</h3>
599
+ <pre class="programlisting"><span class="returnvalue">void</span> clutter_drag_action_set_drag_handle (<em class="parameter"><code><a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> *action</code></em>,
600
+ <em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *handle</code></em>);</pre>
601
+ <p>
602
+ Sets the actor to be used as the drag handle.
603
+ </p>
604
+ <div class="variablelist"><table border="0" class="variablelist">
605
+ <colgroup>
606
+ <col align="left" valign="top">
607
+ <col>
608
+ </colgroup>
609
+ <tbody>
610
+ <tr>
611
+ <td><p><span class="term"><em class="parameter"><code>action</code></em> :</span></p></td>
612
+ <td>a <a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a>
613
+ </td>
614
+ </tr>
615
+ <tr>
616
+ <td><p><span class="term"><em class="parameter"><code>handle</code></em> :</span></p></td>
617
+ <td>a <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a>, or <code class="literal">NULL</code> to unset. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
618
+ </td>
619
+ </tr>
620
+ </tbody>
621
+ </table></div>
622
+ <p class="since">Since 1.4</p>
623
+ </div>
624
+ <hr>
625
+ <div class="refsect2">
626
+ <a name="clutter-drag-action-get-drag-handle"></a><h3>clutter_drag_action_get_drag_handle ()</h3>
627
+ <pre class="programlisting"><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> * clutter_drag_action_get_drag_handle (<em class="parameter"><code><a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> *action</code></em>);</pre>
628
+ <p>
629
+ Retrieves the drag handle set by <a class="link" href="ClutterDragAction.html#clutter-drag-action-set-drag-handle" title="clutter_drag_action_set_drag_handle ()"><code class="function">clutter_drag_action_set_drag_handle()</code></a>
630
+ </p>
631
+ <div class="variablelist"><table border="0" class="variablelist">
632
+ <colgroup>
633
+ <col align="left" valign="top">
634
+ <col>
635
+ </colgroup>
636
+ <tbody>
637
+ <tr>
638
+ <td><p><span class="term"><em class="parameter"><code>action</code></em> :</span></p></td>
639
+ <td>a <a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a>
640
+ </td>
641
+ </tr>
642
+ <tr>
643
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
644
+ <td>a <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a>, used as the drag
645
+ handle, or <code class="literal">NULL</code> if none was set. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
646
+ </td>
647
+ </tr>
648
+ </tbody>
649
+ </table></div>
650
+ <p class="since">Since 1.4</p>
651
+ </div>
652
+ <hr>
653
+ <div class="refsect2">
654
+ <a name="ClutterDragAxis"></a><h3>enum ClutterDragAxis</h3>
655
+ <pre class="programlisting">typedef enum {
656
+ /*&lt; prefix=CLUTTER_DRAG &gt;*/
657
+ CLUTTER_DRAG_AXIS_NONE = 0,
658
+
659
+ CLUTTER_DRAG_X_AXIS,
660
+ CLUTTER_DRAG_Y_AXIS
661
+ } ClutterDragAxis;
662
+ </pre>
663
+ <p>
664
+ The axis of the constraint that should be applied on the
665
+ dragging action
666
+ </p>
667
+ <div class="variablelist"><table border="0" class="variablelist">
668
+ <colgroup>
669
+ <col align="left" valign="top">
670
+ <col>
671
+ </colgroup>
672
+ <tbody>
673
+ <tr>
674
+ <td><p><a name="CLUTTER-DRAG-AXIS-NONE:CAPS"></a><span class="term"><code class="literal">CLUTTER_DRAG_AXIS_NONE</code></span></p></td>
675
+ <td>No constraint
676
+ </td>
677
+ </tr>
678
+ <tr>
679
+ <td><p><a name="CLUTTER-DRAG-X-AXIS:CAPS"></a><span class="term"><code class="literal">CLUTTER_DRAG_X_AXIS</code></span></p></td>
680
+ <td>Set a constraint on the X axis
681
+ </td>
682
+ </tr>
683
+ <tr>
684
+ <td><p><a name="CLUTTER-DRAG-Y-AXIS:CAPS"></a><span class="term"><code class="literal">CLUTTER_DRAG_Y_AXIS</code></span></p></td>
685
+ <td>Set a constraint on the Y axis
686
+ </td>
687
+ </tr>
688
+ </tbody>
689
+ </table></div>
690
+ <p class="since">Since 1.4</p>
691
+ </div>
692
+ <hr>
693
+ <div class="refsect2">
694
+ <a name="clutter-drag-action-set-drag-axis"></a><h3>clutter_drag_action_set_drag_axis ()</h3>
695
+ <pre class="programlisting"><span class="returnvalue">void</span> clutter_drag_action_set_drag_axis (<em class="parameter"><code><a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> *action</code></em>,
696
+ <em class="parameter"><code><a class="link" href="ClutterDragAction.html#ClutterDragAxis" title="enum ClutterDragAxis"><span class="type">ClutterDragAxis</span></a> axis</code></em>);</pre>
697
+ <p>
698
+ Restricts the dragging action to a specific axis
699
+ </p>
700
+ <div class="variablelist"><table border="0" class="variablelist">
701
+ <colgroup>
702
+ <col align="left" valign="top">
703
+ <col>
704
+ </colgroup>
705
+ <tbody>
706
+ <tr>
707
+ <td><p><span class="term"><em class="parameter"><code>action</code></em> :</span></p></td>
708
+ <td>a <a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a>
709
+ </td>
710
+ </tr>
711
+ <tr>
712
+ <td><p><span class="term"><em class="parameter"><code>axis</code></em> :</span></p></td>
713
+ <td>the axis to constraint the dragging to</td>
714
+ </tr>
715
+ </tbody>
716
+ </table></div>
717
+ <p class="since">Since 1.4</p>
718
+ </div>
719
+ <hr>
720
+ <div class="refsect2">
721
+ <a name="clutter-drag-action-get-drag-axis"></a><h3>clutter_drag_action_get_drag_axis ()</h3>
722
+ <pre class="programlisting"><a class="link" href="ClutterDragAction.html#ClutterDragAxis" title="enum ClutterDragAxis"><span class="returnvalue">ClutterDragAxis</span></a> clutter_drag_action_get_drag_axis (<em class="parameter"><code><a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> *action</code></em>);</pre>
723
+ <p>
724
+ Retrieves the axis constraint set by <a class="link" href="ClutterDragAction.html#clutter-drag-action-set-drag-axis" title="clutter_drag_action_set_drag_axis ()"><code class="function">clutter_drag_action_set_drag_axis()</code></a>
725
+ </p>
726
+ <div class="variablelist"><table border="0" class="variablelist">
727
+ <colgroup>
728
+ <col align="left" valign="top">
729
+ <col>
730
+ </colgroup>
731
+ <tbody>
732
+ <tr>
733
+ <td><p><span class="term"><em class="parameter"><code>action</code></em> :</span></p></td>
734
+ <td>a <a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a>
735
+ </td>
736
+ </tr>
737
+ <tr>
738
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
739
+ <td>the axis constraint</td>
740
+ </tr>
741
+ </tbody>
742
+ </table></div>
743
+ <p class="since">Since 1.4</p>
744
+ </div>
745
+ <hr>
746
+ <div class="refsect2">
747
+ <a name="clutter-drag-action-set-drag-area"></a><h3>clutter_drag_action_set_drag_area ()</h3>
748
+ <pre class="programlisting"><span class="returnvalue">void</span> clutter_drag_action_set_drag_area (<em class="parameter"><code><a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> *action</code></em>,
749
+ <em class="parameter"><code>const <a class="link" href="clutter-Base-geometric-types.html#ClutterRect" title="struct ClutterRect"><span class="type">ClutterRect</span></a> *drag_area</code></em>);</pre>
750
+ <p>
751
+ Sets <em class="parameter"><code>drag_area</code></em> to constrain the dragging of the actor associated
752
+ with <em class="parameter"><code>action</code></em>, so that it position is always within <em class="parameter"><code>drag_area</code></em>, expressed
753
+ in parent's coordinates.
754
+ If <em class="parameter"><code>drag_area</code></em> is <code class="literal">NULL</code>, the actor is not constrained.
755
+ </p>
756
+ <div class="variablelist"><table border="0" class="variablelist">
757
+ <colgroup>
758
+ <col align="left" valign="top">
759
+ <col>
760
+ </colgroup>
761
+ <tbody>
762
+ <tr>
763
+ <td><p><span class="term"><em class="parameter"><code>action</code></em> :</span></p></td>
764
+ <td>a <a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a>
765
+ </td>
766
+ </tr>
767
+ <tr>
768
+ <td><p><span class="term"><em class="parameter"><code>drag_area</code></em> :</span></p></td>
769
+ <td>a <a class="link" href="clutter-Base-geometric-types.html#ClutterRect" title="struct ClutterRect"><span class="type">ClutterRect</span></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
770
+ </td>
771
+ </tr>
772
+ </tbody>
773
+ </table></div>
774
+ </div>
775
+ <hr>
776
+ <div class="refsect2">
777
+ <a name="clutter-drag-action-get-drag-area"></a><h3>clutter_drag_action_get_drag_area ()</h3>
778
+ <pre class="programlisting"><span class="returnvalue">gboolean</span> clutter_drag_action_get_drag_area (<em class="parameter"><code><a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> *action</code></em>,
779
+ <em class="parameter"><code><a class="link" href="clutter-Base-geometric-types.html#ClutterRect" title="struct ClutterRect"><span class="type">ClutterRect</span></a> *drag_area</code></em>);</pre>
780
+ <p>
781
+ Retrieves the "drag area" associated with <em class="parameter"><code>action</code></em>, that
782
+ is a <a class="link" href="clutter-Base-geometric-types.html#ClutterRect" title="struct ClutterRect"><span class="type">ClutterRect</span></a> that constrains the actor movements,
783
+ in parents coordinates.
784
+ </p>
785
+ <div class="variablelist"><table border="0" class="variablelist">
786
+ <colgroup>
787
+ <col align="left" valign="top">
788
+ <col>
789
+ </colgroup>
790
+ <tbody>
791
+ <tr>
792
+ <td><p><span class="term"><em class="parameter"><code>action</code></em> :</span></p></td>
793
+ <td>a <a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a>
794
+ </td>
795
+ </tr>
796
+ <tr>
797
+ <td><p><span class="term"><em class="parameter"><code>drag_area</code></em> :</span></p></td>
798
+ <td>a <a class="link" href="clutter-Base-geometric-types.html#ClutterRect" title="struct ClutterRect"><span class="type">ClutterRect</span></a> to be filled. <span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span>
799
+ </td>
800
+ </tr>
801
+ <tr>
802
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
803
+ <td>
804
+ <code class="literal">TRUE</code> if the actor is actually constrained (and thus
805
+ <em class="parameter"><code>drag_area</code></em> is valid), <code class="literal">FALSE</code> otherwise</td>
806
+ </tr>
807
+ </tbody>
808
+ </table></div>
809
+ </div>
810
+ <hr>
811
+ <div class="refsect2">
812
+ <a name="clutter-drag-action-get-press-coords"></a><h3>clutter_drag_action_get_press_coords ()</h3>
813
+ <pre class="programlisting"><span class="returnvalue">void</span> clutter_drag_action_get_press_coords
814
+ (<em class="parameter"><code><a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> *action</code></em>,
815
+ <em class="parameter"><code><span class="type">gfloat</span> *press_x</code></em>,
816
+ <em class="parameter"><code><span class="type">gfloat</span> *press_y</code></em>);</pre>
817
+ <p>
818
+ Retrieves the coordinates, in stage space, of the press event
819
+ that started the dragging
820
+ </p>
821
+ <div class="variablelist"><table border="0" class="variablelist">
822
+ <colgroup>
823
+ <col align="left" valign="top">
824
+ <col>
825
+ </colgroup>
826
+ <tbody>
827
+ <tr>
828
+ <td><p><span class="term"><em class="parameter"><code>action</code></em> :</span></p></td>
829
+ <td>a <a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a>
830
+ </td>
831
+ </tr>
832
+ <tr>
833
+ <td><p><span class="term"><em class="parameter"><code>press_x</code></em> :</span></p></td>
834
+ <td>return location for the press event's X coordinate. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
835
+ </td>
836
+ </tr>
837
+ <tr>
838
+ <td><p><span class="term"><em class="parameter"><code>press_y</code></em> :</span></p></td>
839
+ <td>return location for the press event's Y coordinate. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
840
+ </td>
841
+ </tr>
842
+ </tbody>
843
+ </table></div>
844
+ <p class="since">Since 1.4</p>
845
+ </div>
846
+ <hr>
847
+ <div class="refsect2">
848
+ <a name="clutter-drag-action-get-motion-coords"></a><h3>clutter_drag_action_get_motion_coords ()</h3>
849
+ <pre class="programlisting"><span class="returnvalue">void</span> clutter_drag_action_get_motion_coords
850
+ (<em class="parameter"><code><a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> *action</code></em>,
851
+ <em class="parameter"><code><span class="type">gfloat</span> *motion_x</code></em>,
852
+ <em class="parameter"><code><span class="type">gfloat</span> *motion_y</code></em>);</pre>
853
+ <p>
854
+ Retrieves the coordinates, in stage space, of the latest motion
855
+ event during the dragging
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>action</code></em> :</span></p></td>
865
+ <td>a <a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a>
866
+ </td>
867
+ </tr>
868
+ <tr>
869
+ <td><p><span class="term"><em class="parameter"><code>motion_x</code></em> :</span></p></td>
870
+ <td>return location for the latest motion
871
+ event's X coordinate. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
872
+ </td>
873
+ </tr>
874
+ <tr>
875
+ <td><p><span class="term"><em class="parameter"><code>motion_y</code></em> :</span></p></td>
876
+ <td>return location for the latest motion
877
+ event's Y coordinate. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
878
+ </td>
879
+ </tr>
880
+ </tbody>
881
+ </table></div>
882
+ <p class="since">Since 1.4</p>
883
+ </div>
884
+ </div>
885
+ <div class="refsect1">
886
+ <a name="ClutterDragAction.property-details"></a><h2>Property Details</h2>
887
+ <div class="refsect2">
888
+ <a name="ClutterDragAction--drag-area"></a><h3>The <code class="literal">"drag-area"</code> property</h3>
889
+ <pre class="programlisting"> "drag-area" <a class="link" href="clutter-Base-geometric-types.html#ClutterRect" title="struct ClutterRect"><span class="type">ClutterRect</span></a>* : Read / Write</pre>
890
+ <p>
891
+ Constains the dragging action (or in particular, the resulting
892
+ actor position) to the specified <a class="link" href="clutter-Base-geometric-types.html#ClutterRect" title="struct ClutterRect"><span class="type">ClutterRect</span></a>, in parent's
893
+ coordinates.
894
+ </p>
895
+ <p class="since">Since 1.12</p>
896
+ </div>
897
+ <hr>
898
+ <div class="refsect2">
899
+ <a name="ClutterDragAction--drag-area-set"></a><h3>The <code class="literal">"drag-area-set"</code> property</h3>
900
+ <pre class="programlisting"> "drag-area-set" <span class="type">gboolean</span> : Read</pre>
901
+ <p>
902
+ Whether the <a class="link" href="ClutterDragAction.html#ClutterDragAction--drag-area" title='The "drag-area" property'><span class="type">"drag-area"</span></a> property has been set.
903
+ </p>
904
+ <p>Default value: FALSE</p>
905
+ <p class="since">Since 1.12</p>
906
+ </div>
907
+ <hr>
908
+ <div class="refsect2">
909
+ <a name="ClutterDragAction--drag-axis"></a><h3>The <code class="literal">"drag-axis"</code> property</h3>
910
+ <pre class="programlisting"> "drag-axis" <a class="link" href="ClutterDragAction.html#ClutterDragAxis" title="enum ClutterDragAxis"><span class="type">ClutterDragAxis</span></a> : Read / Write</pre>
911
+ <p>
912
+ Constraints the dragging action to the specified axis
913
+ </p>
914
+ <p>Default value: CLUTTER_DRAG_AXIS_NONE</p>
915
+ <p class="since">Since 1.4</p>
916
+ </div>
917
+ <hr>
918
+ <div class="refsect2">
919
+ <a name="ClutterDragAction--drag-handle"></a><h3>The <code class="literal">"drag-handle"</code> property</h3>
920
+ <pre class="programlisting"> "drag-handle" <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a>* : Read / Write</pre>
921
+ <p>
922
+ The <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> that is effectively being dragged
923
+ </p>
924
+ <p>
925
+ A <a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> will, be default, use the <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> that
926
+ has been attached to the action; it is possible to create a
927
+ separate <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> and use it instead.
928
+ </p>
929
+ <p>
930
+ Setting this property has no effect on the <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> argument
931
+ passed to the <a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> signals
932
+ </p>
933
+ <p class="since">Since 1.4</p>
934
+ </div>
935
+ <hr>
936
+ <div class="refsect2">
937
+ <a name="ClutterDragAction--x-drag-threshold"></a><h3>The <code class="literal">"x-drag-threshold"</code> property</h3>
938
+ <pre class="programlisting"> "x-drag-threshold" <span class="type">gint</span> : Read / Write</pre>
939
+ <p>
940
+ The horizontal threshold, in pixels, that the cursor must travel
941
+ in order to begin a drag action.
942
+ </p>
943
+ <p>
944
+ When set to a positive value, <a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> will only emit
945
+ <a class="link" href="ClutterDragAction.html#ClutterDragAction-drag-begin" title='The "drag-begin" signal'><span class="type">"drag-begin"</span></a> if the pointer has moved
946
+ horizontally at least of the given amount of pixels since
947
+ the button press event.
948
+ </p>
949
+ <p>
950
+ When set to -1, <a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> will use the default threshold
951
+ stored in the <a class="link" href="ClutterSettings.html#ClutterSettings--dnd-drag-threshold" title='The "dnd-drag-threshold" property'><span class="type">"dnd-drag-threshold"</span></a> property of
952
+ <a class="link" href="ClutterSettings.html" title="ClutterSettings"><span class="type">ClutterSettings</span></a>.
953
+ </p>
954
+ <p>
955
+ When read, this property will always return a valid drag
956
+ threshold, either as set or the default one.
957
+ </p>
958
+ <p>Allowed values: &gt;= G_MAXULONG</p>
959
+ <p>Default value: 0</p>
960
+ <p class="since">Since 1.4</p>
961
+ </div>
962
+ <hr>
963
+ <div class="refsect2">
964
+ <a name="ClutterDragAction--y-drag-threshold"></a><h3>The <code class="literal">"y-drag-threshold"</code> property</h3>
965
+ <pre class="programlisting"> "y-drag-threshold" <span class="type">gint</span> : Read / Write</pre>
966
+ <p>
967
+ The vertical threshold, in pixels, that the cursor must travel
968
+ in order to begin a drag action.
969
+ </p>
970
+ <p>
971
+ When set to a positive value, <a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> will only emit
972
+ <a class="link" href="ClutterDragAction.html#ClutterDragAction-drag-begin" title='The "drag-begin" signal'><span class="type">"drag-begin"</span></a> if the pointer has moved
973
+ vertically at least of the given amount of pixels since
974
+ the button press event.
975
+ </p>
976
+ <p>
977
+ When set to -1, <a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> will use the value stored
978
+ in the <a class="link" href="ClutterSettings.html#ClutterSettings--dnd-drag-threshold" title='The "dnd-drag-threshold" property'><span class="type">"dnd-drag-threshold"</span></a> property of
979
+ <a class="link" href="ClutterSettings.html" title="ClutterSettings"><span class="type">ClutterSettings</span></a>.
980
+ </p>
981
+ <p>
982
+ When read, this property will always return a valid drag
983
+ threshold, either as set or the default one.
984
+ </p>
985
+ <p>Allowed values: &gt;= G_MAXULONG</p>
986
+ <p>Default value: 0</p>
987
+ <p class="since">Since 1.4</p>
988
+ </div>
989
+ </div>
990
+ <div class="refsect1">
991
+ <a name="ClutterDragAction.signal-details"></a><h2>Signal Details</h2>
992
+ <div class="refsect2">
993
+ <a name="ClutterDragAction-drag-begin"></a><h3>The <code class="literal">"drag-begin"</code> signal</h3>
994
+ <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> *action,
995
+ <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor,
996
+ <span class="type">gfloat</span> event_x,
997
+ <span class="type">gfloat</span> event_y,
998
+ <a class="link" href="clutter-Events.html#ClutterModifierType" title="enum ClutterModifierType"><span class="type">ClutterModifierType</span></a> modifiers,
999
+ <span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
1000
+ <p>
1001
+ The ::drag-begin signal is emitted when the <a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a>
1002
+ starts the dragging
1003
+ </p>
1004
+ <p>
1005
+ The emission of this signal can be delayed by using the
1006
+ <a class="link" href="ClutterDragAction.html#ClutterDragAction--x-drag-threshold" title='The "x-drag-threshold" property'><span class="type">"x-drag-threshold"</span></a> and
1007
+ <a class="link" href="ClutterDragAction.html#ClutterDragAction--y-drag-threshold" title='The "y-drag-threshold" property'><span class="type">"y-drag-threshold"</span></a> properties
1008
+ </p>
1009
+ <div class="variablelist"><table border="0" class="variablelist">
1010
+ <colgroup>
1011
+ <col align="left" valign="top">
1012
+ <col>
1013
+ </colgroup>
1014
+ <tbody>
1015
+ <tr>
1016
+ <td><p><span class="term"><em class="parameter"><code>action</code></em> :</span></p></td>
1017
+ <td>the <a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> that emitted the signal</td>
1018
+ </tr>
1019
+ <tr>
1020
+ <td><p><span class="term"><em class="parameter"><code>actor</code></em> :</span></p></td>
1021
+ <td>the <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> attached to the action</td>
1022
+ </tr>
1023
+ <tr>
1024
+ <td><p><span class="term"><em class="parameter"><code>event_x</code></em> :</span></p></td>
1025
+ <td>the X coordinate (in stage space) of the press event</td>
1026
+ </tr>
1027
+ <tr>
1028
+ <td><p><span class="term"><em class="parameter"><code>event_y</code></em> :</span></p></td>
1029
+ <td>the Y coordinate (in stage space) of the press event</td>
1030
+ </tr>
1031
+ <tr>
1032
+ <td><p><span class="term"><em class="parameter"><code>modifiers</code></em> :</span></p></td>
1033
+ <td>the modifiers of the press event</td>
1034
+ </tr>
1035
+ <tr>
1036
+ <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1037
+ <td>user data set when the signal handler was connected.</td>
1038
+ </tr>
1039
+ </tbody>
1040
+ </table></div>
1041
+ <p class="since">Since 1.4</p>
1042
+ </div>
1043
+ <hr>
1044
+ <div class="refsect2">
1045
+ <a name="ClutterDragAction-drag-end"></a><h3>The <code class="literal">"drag-end"</code> signal</h3>
1046
+ <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> *action,
1047
+ <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor,
1048
+ <span class="type">gfloat</span> event_x,
1049
+ <span class="type">gfloat</span> event_y,
1050
+ <a class="link" href="clutter-Events.html#ClutterModifierType" title="enum ClutterModifierType"><span class="type">ClutterModifierType</span></a> modifiers,
1051
+ <span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
1052
+ <p>
1053
+ The ::drag-end signal is emitted at the end of the dragging,
1054
+ when the pointer button's is released
1055
+ </p>
1056
+ <p>
1057
+ This signal is emitted if and only if the <a class="link" href="ClutterDragAction.html#ClutterDragAction-drag-begin" title='The "drag-begin" signal'><span class="type">"drag-begin"</span></a>
1058
+ signal has been emitted first
1059
+ </p>
1060
+ <div class="variablelist"><table border="0" class="variablelist">
1061
+ <colgroup>
1062
+ <col align="left" valign="top">
1063
+ <col>
1064
+ </colgroup>
1065
+ <tbody>
1066
+ <tr>
1067
+ <td><p><span class="term"><em class="parameter"><code>action</code></em> :</span></p></td>
1068
+ <td>the <a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> that emitted the signal</td>
1069
+ </tr>
1070
+ <tr>
1071
+ <td><p><span class="term"><em class="parameter"><code>actor</code></em> :</span></p></td>
1072
+ <td>the <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> attached to the action</td>
1073
+ </tr>
1074
+ <tr>
1075
+ <td><p><span class="term"><em class="parameter"><code>event_x</code></em> :</span></p></td>
1076
+ <td>the X coordinate (in stage space) of the release event</td>
1077
+ </tr>
1078
+ <tr>
1079
+ <td><p><span class="term"><em class="parameter"><code>event_y</code></em> :</span></p></td>
1080
+ <td>the Y coordinate (in stage space) of the release event</td>
1081
+ </tr>
1082
+ <tr>
1083
+ <td><p><span class="term"><em class="parameter"><code>modifiers</code></em> :</span></p></td>
1084
+ <td>the modifiers of the release event</td>
1085
+ </tr>
1086
+ <tr>
1087
+ <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1088
+ <td>user data set when the signal handler was connected.</td>
1089
+ </tr>
1090
+ </tbody>
1091
+ </table></div>
1092
+ <p class="since">Since 1.4</p>
1093
+ </div>
1094
+ <hr>
1095
+ <div class="refsect2">
1096
+ <a name="ClutterDragAction-drag-motion"></a><h3>The <code class="literal">"drag-motion"</code> signal</h3>
1097
+ <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> *action,
1098
+ <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor,
1099
+ <span class="type">gfloat</span> delta_x,
1100
+ <span class="type">gfloat</span> delta_y,
1101
+ <span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
1102
+ <p>
1103
+ The ::drag-motion signal is emitted for each motion event after
1104
+ the <a class="link" href="ClutterDragAction.html#ClutterDragAction-drag-begin" title='The "drag-begin" signal'><span class="type">"drag-begin"</span></a> signal has been emitted.
1105
+ </p>
1106
+ <p>
1107
+ The components of the distance between the press event and the
1108
+ latest motion event are computed in the actor's coordinate space,
1109
+ to take into account eventual transformations. If you want the
1110
+ stage coordinates of the latest motion event you can use
1111
+ <a class="link" href="ClutterDragAction.html#clutter-drag-action-get-motion-coords" title="clutter_drag_action_get_motion_coords ()"><code class="function">clutter_drag_action_get_motion_coords()</code></a>.
1112
+ </p>
1113
+ <p>
1114
+ The default handler of the signal will call <a class="link" href="ClutterActor.html#clutter-actor-move-by" title="clutter_actor_move_by ()"><code class="function">clutter_actor_move_by()</code></a>
1115
+ either on <em class="parameter"><code>actor</code></em> or, if set, of <a class="link" href="ClutterDragAction.html#ClutterDragAction--drag-handle" title='The "drag-handle" property'><span class="type">"drag-handle"</span></a> using
1116
+ the <em class="parameter"><code>delta_x</code></em> and <em class="parameter"><code>delta_y</code></em> components of the dragging motion. If you
1117
+ want to override the default behaviour, you can connect to the
1118
+ <a class="link" href="ClutterDragAction.html#ClutterDragAction-drag-progress" title='The "drag-progress" signal'><span class="type">"drag-progress"</span></a> signal and return <code class="literal">FALSE</code> from the
1119
+ handler.
1120
+ </p>
1121
+ <div class="variablelist"><table border="0" class="variablelist">
1122
+ <colgroup>
1123
+ <col align="left" valign="top">
1124
+ <col>
1125
+ </colgroup>
1126
+ <tbody>
1127
+ <tr>
1128
+ <td><p><span class="term"><em class="parameter"><code>action</code></em> :</span></p></td>
1129
+ <td>the <a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> that emitted the signal</td>
1130
+ </tr>
1131
+ <tr>
1132
+ <td><p><span class="term"><em class="parameter"><code>actor</code></em> :</span></p></td>
1133
+ <td>the <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> attached to the action</td>
1134
+ </tr>
1135
+ <tr>
1136
+ <td><p><span class="term"><em class="parameter"><code>delta_x</code></em> :</span></p></td>
1137
+ <td>the X component of the distance between the press event
1138
+ that began the dragging and the current position of the pointer,
1139
+ as of the latest motion event</td>
1140
+ </tr>
1141
+ <tr>
1142
+ <td><p><span class="term"><em class="parameter"><code>delta_y</code></em> :</span></p></td>
1143
+ <td>the Y component of the distance between the press event
1144
+ that began the dragging and the current position of the pointer,
1145
+ as of the latest motion event</td>
1146
+ </tr>
1147
+ <tr>
1148
+ <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1149
+ <td>user data set when the signal handler was connected.</td>
1150
+ </tr>
1151
+ </tbody>
1152
+ </table></div>
1153
+ <p class="since">Since 1.4</p>
1154
+ </div>
1155
+ <hr>
1156
+ <div class="refsect2">
1157
+ <a name="ClutterDragAction-drag-progress"></a><h3>The <code class="literal">"drag-progress"</code> signal</h3>
1158
+ <pre class="programlisting"><span class="returnvalue">gboolean</span> user_function (<a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> *action,
1159
+ <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor,
1160
+ <span class="type">gfloat</span> delta_x,
1161
+ <span class="type">gfloat</span> delta_y,
1162
+ <span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
1163
+ <p>
1164
+ The ::drag-progress signal is emitted for each motion event after
1165
+ the <a class="link" href="ClutterDragAction.html#ClutterDragAction-drag-begin" title='The "drag-begin" signal'><span class="type">"drag-begin"</span></a> signal has been emitted.
1166
+ </p>
1167
+ <p>
1168
+ The components of the distance between the press event and the
1169
+ latest motion event are computed in the actor's coordinate space,
1170
+ to take into account eventual transformations. If you want the
1171
+ stage coordinates of the latest motion event you can use
1172
+ <a class="link" href="ClutterDragAction.html#clutter-drag-action-get-motion-coords" title="clutter_drag_action_get_motion_coords ()"><code class="function">clutter_drag_action_get_motion_coords()</code></a>.
1173
+ </p>
1174
+ <p>
1175
+ The default handler will emit <a class="link" href="ClutterDragAction.html#ClutterDragAction-drag-motion" title='The "drag-motion" signal'><span class="type">"drag-motion"</span></a>,
1176
+ if <a class="link" href="ClutterDragAction.html#ClutterDragAction-drag-progress" title='The "drag-progress" signal'><span class="type">"drag-progress"</span></a> emission returns <code class="literal">TRUE</code>.
1177
+ </p>
1178
+ <div class="variablelist"><table border="0" class="variablelist">
1179
+ <colgroup>
1180
+ <col align="left" valign="top">
1181
+ <col>
1182
+ </colgroup>
1183
+ <tbody>
1184
+ <tr>
1185
+ <td><p><span class="term"><em class="parameter"><code>action</code></em> :</span></p></td>
1186
+ <td>the <a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> that emitted the signal</td>
1187
+ </tr>
1188
+ <tr>
1189
+ <td><p><span class="term"><em class="parameter"><code>actor</code></em> :</span></p></td>
1190
+ <td>the <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> attached to the action</td>
1191
+ </tr>
1192
+ <tr>
1193
+ <td><p><span class="term"><em class="parameter"><code>delta_x</code></em> :</span></p></td>
1194
+ <td>the X component of the distance between the press event
1195
+ that began the dragging and the current position of the pointer,
1196
+ as of the latest motion event</td>
1197
+ </tr>
1198
+ <tr>
1199
+ <td><p><span class="term"><em class="parameter"><code>delta_y</code></em> :</span></p></td>
1200
+ <td>the Y component of the distance between the press event
1201
+ that began the dragging and the current position of the pointer,
1202
+ as of the latest motion event</td>
1203
+ </tr>
1204
+ <tr>
1205
+ <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1206
+ <td>user data set when the signal handler was connected.</td>
1207
+ </tr>
1208
+ <tr>
1209
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1210
+ <td>
1211
+ <code class="literal">TRUE</code> if the drag should continue, and <code class="literal">FALSE</code>
1212
+ if it should be stopped.</td>
1213
+ </tr>
1214
+ </tbody>
1215
+ </table></div>
1216
+ <p class="since">Since 1.12</p>
1217
+ </div>
1218
+ </div>
1219
+ </div>
1220
+ <div class="footer">
1221
+ <hr>
1222
+ Generated by GTK-Doc V1.18.1</div>
1223
+ </body>
1224
+ </html>