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.
- data/Rakefile +129 -0
- data/lib/clutter.rb +145 -0
- data/lib/clutter/actor-iter.rb +33 -0
- data/lib/clutter/actor.rb +34 -0
- data/lib/clutter/animatable.rb +26 -0
- data/lib/clutter/cairo.rb +24 -0
- data/lib/clutter/color.rb +55 -0
- data/lib/clutter/event.rb +21 -0
- data/lib/clutter/point.rb +25 -0
- data/lib/clutter/text.rb +23 -0
- data/lib/clutter/threads.rb +38 -0
- data/sample/basic-actor.rb +125 -0
- data/sample/bin-layout.rb +215 -0
- data/sample/box-layout.rb +196 -0
- data/sample/canvas.rb +117 -0
- data/sample/constraints.rb +81 -0
- data/sample/drag-action.rb +177 -0
- data/sample/drop-action.rb +198 -0
- data/sample/easing-modes.rb +145 -0
- data/sample/flow-layout.rb +121 -0
- data/sample/grid-layout.rb +239 -0
- data/sample/image-content.rb +88 -0
- data/sample/pan-action.rb +100 -0
- data/sample/redhand.png +0 -0
- data/sample/rounded-rectangle.rb +90 -0
- data/sample/scroll-actor.rb +105 -0
- data/test/clutter-test-utils.rb +21 -0
- data/test/run-test.rb +50 -0
- data/vendor/local/bin/libclutter-1.0-0.dll +0 -0
- data/vendor/local/bin/libcogl-12.dll +0 -0
- data/vendor/local/bin/libcogl-pango-12.dll +0 -0
- data/vendor/local/bin/libglut-0.dll +0 -0
- data/vendor/local/bin/libjson-glib-1.0-0.dll +0 -0
- data/vendor/local/include/GL/freeglut.h +22 -0
- data/vendor/local/include/GL/freeglut_ext.h +239 -0
- data/vendor/local/include/GL/freeglut_std.h +636 -0
- data/vendor/local/include/GL/glut.h +21 -0
- data/vendor/local/include/clutter-1.0/cally/cally-actor.h +155 -0
- data/vendor/local/include/clutter-1.0/cally/cally-clone.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-factory.h +117 -0
- data/vendor/local/include/clutter-1.0/cally/cally-group.h +85 -0
- data/vendor/local/include/clutter-1.0/cally/cally-main.h +39 -0
- data/vendor/local/include/clutter-1.0/cally/cally-rectangle.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-root.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-stage.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-text.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-texture.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-util.h +80 -0
- data/vendor/local/include/clutter-1.0/cally/cally.h +40 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-action.h +103 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor-meta.h +113 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor.h +735 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-align-constraint.h +69 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-animatable.h +116 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-backend.h +74 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-bin-layout.h +84 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-bind-constraint.h +69 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-binding-pool.h +122 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-blur-effect.h +57 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-box-layout.h +159 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-brightness-contrast-effect.h +80 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-cairo.h +59 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-canvas.h +100 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-child-meta.h +120 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-click-action.h +114 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-clone.h +90 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-cogl-compat.h +52 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-color-static.h +79 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-color.h +175 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-colorize-effect.h +63 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-config.h +19 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-constraint.h +108 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-container.h +184 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-content.h +103 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-deform-effect.h +111 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-deprecated.h +43 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-desaturate-effect.h +61 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-device-manager.h +104 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-drag-action.h +142 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-drop-action.h +113 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-effect.h +120 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-enum-types.h +183 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-enums.h +1362 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-event.h +509 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-feature.h +40 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-fixed-layout.h +80 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-flow-layout.h +110 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-gesture-action.h +154 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-grid-layout.h +161 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-group.h +95 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-image.h +141 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-input-device.h +118 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-interval.h +141 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-keyframe-transition.h +120 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-keysyms.h +2304 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-layout-manager.h +215 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-layout-meta.h +101 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-list-model.h +88 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-macros.h +279 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-main.h +148 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-marshal.h +273 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-model.h +381 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-offscreen-effect.h +112 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-page-turn-effect.h +72 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-paint-node.h +102 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-paint-nodes.h +150 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-pan-action.h +147 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-path-constraint.h +66 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-path.h +155 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-property-transition.h +91 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-rotate-action.h +100 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-script.h +204 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-scriptable.h +107 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-scroll-actor.h +97 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-settings.h +25 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-shader-effect.h +114 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-shader-types.h +95 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-snap-constraint.h +73 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage-manager.h +81 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage.h +215 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-swipe-action.h +107 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-table-layout.h +157 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-tap-action.h +102 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-text-buffer.h +172 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-text.h +237 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-texture.h +128 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-timeline.h +201 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-transition-group.h +91 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-transition.h +132 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-types.h +715 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-units.h +166 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-version.h +302 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-zoom-action.h +114 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter.h +118 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-actor.h +161 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-alpha.h +144 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-animatable.h +47 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-animation.h +206 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-animator.h +186 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-backend.h +64 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-depth.h +101 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-ellipse.h +159 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-opacity.h +115 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-path.h +135 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-rotate.h +119 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-scale.h +107 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour.h +170 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-bin-layout.h +56 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-box.h +143 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-cairo-texture.h +139 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-container.h +93 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-fixed.h +97 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-frame-source.h +49 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-group.h +62 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-input-device.h +41 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-keysyms.h +2306 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-main.h +96 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-media.h +121 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-rectangle.h +117 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-score.h +144 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-shader.h +182 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-stage-manager.h +42 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-stage.h +102 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-state.h +187 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-texture.h +138 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-timeline.h +41 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-timeout-pool.h +69 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-util.h +40 -0
- data/vendor/local/include/clutter-1.0/clutter/win32/clutter-win32.h +58 -0
- data/vendor/local/include/cogl/cogl-pango/cogl-pango.h +245 -0
- data/vendor/local/include/cogl/cogl/cogl-attribute-buffer.h +131 -0
- data/vendor/local/include/cogl/cogl/cogl-attribute.h +532 -0
- data/vendor/local/include/cogl/cogl/cogl-bitmap.h +314 -0
- data/vendor/local/include/cogl/cogl/cogl-buffer.h +309 -0
- data/vendor/local/include/cogl/cogl/cogl-clip-state.h +50 -0
- data/vendor/local/include/cogl/cogl/cogl-clutter.h +47 -0
- data/vendor/local/include/cogl/cogl/cogl-color.h +543 -0
- data/vendor/local/include/cogl/cogl/cogl-context.h +350 -0
- data/vendor/local/include/cogl/cogl/cogl-defines.h +50 -0
- data/vendor/local/include/cogl/cogl/cogl-deprecated.h +36 -0
- data/vendor/local/include/cogl/cogl/cogl-depth-state.h +264 -0
- data/vendor/local/include/cogl/cogl/cogl-display.h +192 -0
- data/vendor/local/include/cogl/cogl/cogl-enum-types.h +100 -0
- data/vendor/local/include/cogl/cogl/cogl-error.h +176 -0
- data/vendor/local/include/cogl/cogl/cogl-euler.h +251 -0
- data/vendor/local/include/cogl/cogl/cogl-fixed.h +804 -0
- data/vendor/local/include/cogl/cogl/cogl-frame-info.h +129 -0
- data/vendor/local/include/cogl/cogl/cogl-framebuffer.h +1829 -0
- data/vendor/local/include/cogl/cogl/cogl-gles2-types.h +474 -0
- data/vendor/local/include/cogl/cogl/cogl-gles2.h +374 -0
- data/vendor/local/include/cogl/cogl/cogl-glib-source.h +59 -0
- data/vendor/local/include/cogl/cogl/cogl-index-buffer.h +85 -0
- data/vendor/local/include/cogl/cogl/cogl-indices.h +145 -0
- data/vendor/local/include/cogl/cogl/cogl-material-compat.h +1276 -0
- data/vendor/local/include/cogl/cogl/cogl-matrix-stack.h +620 -0
- data/vendor/local/include/cogl/cogl/cogl-matrix.h +798 -0
- data/vendor/local/include/cogl/cogl/cogl-meta-texture.h +181 -0
- data/vendor/local/include/cogl/cogl/cogl-object.h +219 -0
- data/vendor/local/include/cogl/cogl/cogl-offscreen.h +117 -0
- data/vendor/local/include/cogl/cogl/cogl-onscreen-template.h +106 -0
- data/vendor/local/include/cogl/cogl/cogl-onscreen.h +741 -0
- data/vendor/local/include/cogl/cogl/cogl-output.h +242 -0
- data/vendor/local/include/cogl/cogl/cogl-pango.h +33 -0
- data/vendor/local/include/cogl/cogl/cogl-path-functions.h +430 -0
- data/vendor/local/include/cogl/cogl/cogl-path.h +102 -0
- data/vendor/local/include/cogl/cogl/cogl-pipeline-layer-state.h +613 -0
- data/vendor/local/include/cogl/cogl/cogl-pipeline-state.h +924 -0
- data/vendor/local/include/cogl/cogl/cogl-pipeline.h +173 -0
- data/vendor/local/include/cogl/cogl/cogl-pixel-buffer.h +114 -0
- data/vendor/local/include/cogl/cogl/cogl-poll.h +174 -0
- data/vendor/local/include/cogl/cogl/cogl-primitive-texture.h +98 -0
- data/vendor/local/include/cogl/cogl/cogl-primitive.h +866 -0
- data/vendor/local/include/cogl/cogl/cogl-primitives.h +190 -0
- data/vendor/local/include/cogl/cogl/cogl-quaternion.h +545 -0
- data/vendor/local/include/cogl/cogl/cogl-renderer.h +423 -0
- data/vendor/local/include/cogl/cogl/cogl-shader.h +654 -0
- data/vendor/local/include/cogl/cogl/cogl-snippet.h +786 -0
- data/vendor/local/include/cogl/cogl/cogl-sub-texture.h +122 -0
- data/vendor/local/include/cogl/cogl/cogl-swap-chain.h +51 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-gl.h +73 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-sliced.h +130 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-2d.h +191 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-3d.h +187 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-rectangle.h +204 -0
- data/vendor/local/include/cogl/cogl/cogl-texture.h +611 -0
- data/vendor/local/include/cogl/cogl/cogl-types.h +912 -0
- data/vendor/local/include/cogl/cogl/cogl-vector.h +351 -0
- data/vendor/local/include/cogl/cogl/cogl-version.h +185 -0
- data/vendor/local/include/cogl/cogl/cogl-vertex-buffer.h +409 -0
- data/vendor/local/include/cogl/cogl/cogl-win32-renderer.h +99 -0
- data/vendor/local/include/cogl/cogl/cogl.h +151 -0
- data/vendor/local/include/cogl/cogl/cogl1-context.h +1169 -0
- data/vendor/local/include/cogl/cogl/cogl2-compatibility.h +55 -0
- data/vendor/local/include/cogl/cogl/cogl2-experimental.h +31 -0
- data/vendor/local/include/cogl/cogl/cogl2-path.h +506 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-core-functions.h +191 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-gles2-functions.h +36 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-glsl-functions.h +279 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles-core-functions.h +141 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles2-core-functions.h +179 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-builder.h +106 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-enum-types.h +36 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-generator.h +107 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-glib.h +46 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-gobject.h +182 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-gvariant.h +46 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-parser.h +173 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-path.h +97 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-reader.h +150 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-types.h +334 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-version.h +100 -0
- data/vendor/local/lib/girepository-1.0/Cally-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Clutter-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Cogl-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/CoglPango-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Json-1.0.typelib +0 -0
- data/vendor/local/lib/libclutter-1.0.dll.a +0 -0
- data/vendor/local/lib/libclutter-1.0.la +41 -0
- data/vendor/local/lib/libcogl-pango.dll.a +0 -0
- data/vendor/local/lib/libcogl-pango.la +41 -0
- data/vendor/local/lib/libcogl.dll.a +0 -0
- data/vendor/local/lib/libcogl.la +41 -0
- data/vendor/local/lib/libglut.a +0 -0
- data/vendor/local/lib/libglut.dll.a +0 -0
- data/vendor/local/lib/libglut.la +41 -0
- data/vendor/local/lib/libjson-glib-1.0.dll.a +0 -0
- data/vendor/local/lib/libjson-glib-1.0.la +41 -0
- data/vendor/local/lib/pkgconfig/cally-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/clutter-1.0.pc +24 -0
- data/vendor/local/lib/pkgconfig/clutter-win32-1.0.pc +24 -0
- data/vendor/local/lib/pkgconfig/cogl-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-2.0-experimental.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-gl-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-pango-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-pango-2.0-experimental.pc +13 -0
- data/vendor/local/lib/pkgconfig/json-glib-1.0.pc +11 -0
- data/vendor/local/share/cogl/examples-data/crate.jpg +0 -0
- data/vendor/local/share/gir-1.0/Cally-1.0.gir +679 -0
- data/vendor/local/share/gir-1.0/Clutter-1.0.gir +67473 -0
- data/vendor/local/share/gir-1.0/Cogl-1.0.gir +8383 -0
- data/vendor/local/share/gir-1.0/CoglPango-1.0.gir +306 -0
- data/vendor/local/share/gir-1.0/Json-1.0.gir +4333 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyActor.html +415 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyClone.html +136 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyGroup.html +139 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyRectangle.html +135 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyRoot.html +123 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyStage.html +140 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyText.html +133 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyTexture.html +135 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyUtil.html +100 -0
- data/vendor/local/share/gtk-doc/html/cally/cally-General-API.html +167 -0
- data/vendor/local/share/gtk-doc/html/cally/cally.devhelp2 +73 -0
- data/vendor/local/share/gtk-doc/html/cally/callyannotationglossary.html +43 -0
- data/vendor/local/share/gtk-doc/html/cally/callybase.html +71 -0
- data/vendor/local/share/gtk-doc/html/cally/callyobjecthierarchy.html +45 -0
- data/vendor/local/share/gtk-doc/html/cally/callyobjectindex.html +64 -0
- data/vendor/local/share/gtk-doc/html/cally/callyobjects.html +39 -0
- data/vendor/local/share/gtk-doc/html/cally/ch01.html +53 -0
- data/vendor/local/share/gtk-doc/html/cally/ch02.html +41 -0
- data/vendor/local/share/gtk-doc/html/cally/clutter-overview.html +96 -0
- data/vendor/local/share/gtk-doc/html/cally/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/index.html +103 -0
- data/vendor/local/share/gtk-doc/html/cally/index.sgml +103 -0
- data/vendor/local/share/gtk-doc/html/cally/ix01.html +198 -0
- data/vendor/local/share/gtk-doc/html/cally/ix02.html +31 -0
- data/vendor/local/share/gtk-doc/html/cally/ix03.html +190 -0
- data/vendor/local/share/gtk-doc/html/cally/ix04.html +42 -0
- data/vendor/local/share/gtk-doc/html/cally/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/license.html +58 -0
- data/vendor/local/share/gtk-doc/html/cally/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/style.css +266 -0
- data/vendor/local/share/gtk-doc/html/cally/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAction.html +110 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActor.html +13714 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActorMeta.html +322 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlignConstraint.html +404 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlpha.html +747 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimatable.html +432 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimator.html +1218 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBackend.html +684 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviour.html +697 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourDepth.html +278 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourEllipse.html +844 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourOpacity.html +283 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourPath.html +450 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourRotate.html +608 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourScale.html +432 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBinLayout.html +1056 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBindConstraint.html +780 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBlurEffect.html +109 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBox.html +657 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBoxLayout.html +1232 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBrightnessContrastEffect.html +410 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCairoTexture.html +1018 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCanvas.html +469 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterChildMeta.html +253 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClickAction.html +587 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClone.html +219 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterColorizeEffect.html +193 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterConstraint.html +336 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContainer.html +1346 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContent.html +309 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeformEffect.html +353 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDesaturateEffect.html +200 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeviceManager.html +408 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDragAction.html +1224 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDropAction.html +965 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterEffect.html +386 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFixedLayout.html +115 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFlowLayout.html +1016 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGestureAction.html +867 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGridLayout.html +808 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGroup.html +231 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterImage.html +674 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterInputDevice.html +1488 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterKeyframeTransition.html +525 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutManager.html +1376 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutMeta.html +161 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterListModel.html +211 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterMedia.html +900 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModel.html +1715 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModelIter.html +644 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterOffscreenEffect.html +350 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPageTurnEffect.html +333 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPaintNode.html +534 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPanAction.html +785 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPath.html +1327 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPathConstraint.html +321 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPropertyTransition.html +216 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRectangle.html +369 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRotateAction.html +183 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScore.html +881 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScript.html +1365 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScriptable.html +311 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScrollActor.html +731 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSettings.html +301 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterShaderEffect.html +595 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSnapConstraint.html +421 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterStage.html +2252 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterState.html +1558 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSwipeAction.html +280 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTableLayout.html +1146 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTapAction.html +192 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterText.html +3058 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTextBuffer.html +736 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTexture.html +1829 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTimeline.html +2441 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransition.html +574 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransitionGroup.html +227 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterZoomAction.html +400 -0
- data/vendor/local/share/gtk-doc/html/clutter/actor-box.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/actor-example.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/animator-key-frames.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/annotation-glossary.html +111 -0
- data/vendor/local/share/gtk-doc/html/clutter/bin-layout.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/box-layout.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/building-clutter.html +275 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch01.html +65 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch02.html +47 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch03.html +51 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch04.html +59 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch05.html +44 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch06.html +57 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch07.html +38 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch08.html +38 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch09.html +53 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch10.html +78 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch11.html +38 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch12.html +41 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Base-geometric-types.html +3471 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterGLXTexturePixmap.html +225 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterWaylandSurface.html +314 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterX11TexturePixmap.html +361 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Colors.html +1363 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-EGL-Specific-Support.html +129 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Events.html +2653 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Features.html +200 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-GDK-Specific-Support.html +249 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-General.html +2550 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Implicit-Animations.html +2571 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Intel-CE3100-CE4100-Specific-Support.html +181 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Key-Bindings.html +890 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Paint-Nodes.html +351 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Shaders.html +1004 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Stage-Manager.html +341 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Unit-conversion.html +843 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Utilities.html +549 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Value-intervals.html +1023 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Versioning-Macros.html +525 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-compositor-specific-support.html +83 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Win32-Specific-Support.html +201 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-X11-Specific-Support.html +806 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-overview.html +77 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter.devhelp2 +2715 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutteranimation.html +65 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterbackends.html +71 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterbase.html +202 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterglossary.html +37 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjecthierarchy.html +118 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjectindex.html +184 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjects.html +37 -0
- data/vendor/local/share/gtk-doc/html/clutter/cluttertools.html +105 -0
- data/vendor/local/share/gtk-doc/html/clutter/constraints-example.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/deprecated.html +86 -0
- data/vendor/local/share/gtk-doc/html/clutter/easing-modes.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/event-flow.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/flow-layout.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/go01.html +114 -0
- data/vendor/local/share/gtk-doc/html/clutter/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/index.html +451 -0
- data/vendor/local/share/gtk-doc/html/clutter/index.sgml +3272 -0
- data/vendor/local/share/gtk-doc/html/clutter/iterating-paths.html +56 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix01.html +8815 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix02.html +1961 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix03.html +454 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix04.html +583 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix05.html +957 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix06.html +642 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix07.html +1530 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix08.html +820 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix09.html +1005 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix10.html +369 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix11.html +366 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix12.html +1078 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix13.html +984 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix14.html +99 -0
- data/vendor/local/share/gtk-doc/html/clutter/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/license.html +58 -0
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterAnimation.html +223 -0
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterBehaviour.html +197 -0
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterEffect.html +154 -0
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterPath.html +156 -0
- data/vendor/local/share/gtk-doc/html/clutter/migration.html +49 -0
- data/vendor/local/share/gtk-doc/html/clutter/offscreen-redirect.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/path-alpha-func.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/pt09.html +31 -0
- data/vendor/local/share/gtk-doc/html/clutter/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/running-clutter.html +373 -0
- data/vendor/local/share/gtk-doc/html/clutter/style.css +266 -0
- data/vendor/local/share/gtk-doc/html/clutter/table-layout.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/using-cairo.html +36 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonBuilder.html +513 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonGenerator.html +492 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonParser.html +871 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonPath.html +464 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonReader.html +898 -0
- data/vendor/local/share/gtk-doc/html/json-glib/annotation-glossary.html +87 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ch01.html +41 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ch02.html +41 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ch03.html +38 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ch04.html +38 -0
- data/vendor/local/share/gtk-doc/html/json-glib/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/index.html +125 -0
- data/vendor/local/share/gtk-doc/html/json-glib/index.sgml +308 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix01.html +926 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix02.html +54 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix03.html +61 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix04.html +54 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix05.html +186 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix06.html +121 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix07.html +161 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix08.html +137 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-advanced.html +47 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-base.html +61 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Boxed-Types-Serialization.html +382 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html +310 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Array.html +850 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-GVariant-Integration.html +272 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Node.html +942 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Object.html +993 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Serializable-Interface.html +476 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html +148 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.devhelp2 +281 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.html +38 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-streams.html +63 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-tools.html +39 -0
- data/vendor/local/share/gtk-doc/html/json-glib/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/license.html +58 -0
- data/vendor/local/share/gtk-doc/html/json-glib/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/style.css +266 -0
- data/vendor/local/share/gtk-doc/html/json-glib/up.png +0 -0
- data/vendor/local/share/license/clutter/COPYING +502 -0
- data/vendor/local/share/license/cogl/COPYING +502 -0
- data/vendor/local/share/license/freeglut/AUTHORS +39 -0
- data/vendor/local/share/license/freeglut/COPYING +27 -0
- data/vendor/local/share/license/json-glib/COPYING +504 -0
- data/vendor/local/share/locale/an/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/az_IR/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ur/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/cogl.mo +0 -0
- metadata +747 -0
@@ -0,0 +1,965 @@
|
|
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>ClutterDropAction</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="ClutterDragAction.html" title="ClutterDragAction">
|
10
|
+
<link rel="next" href="ClutterGestureAction.html" title="ClutterGestureAction">
|
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="ClutterDragAction.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="ClutterGestureAction.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="#ClutterDropAction.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#ClutterDropAction.description" class="shortcut">Description</a>
|
27
|
+
|
|
28
|
+
<a href="#ClutterDropAction.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
+
|
|
30
|
+
<a href="#ClutterDropAction.signals" class="shortcut">Signals</a>
|
31
|
+
</td></tr>
|
32
|
+
</table>
|
33
|
+
<div class="refentry">
|
34
|
+
<a name="ClutterDropAction"></a><div class="titlepage"></div>
|
35
|
+
<div class="refnamediv"><table width="100%"><tr>
|
36
|
+
<td valign="top">
|
37
|
+
<h2><span class="refentrytitle"><a name="ClutterDropAction.top_of_page"></a>ClutterDropAction</span></h2>
|
38
|
+
<p>ClutterDropAction — An action for drop targets</p>
|
39
|
+
</td>
|
40
|
+
<td valign="top" align="right"></td>
|
41
|
+
</tr></table></div>
|
42
|
+
<div class="refsynopsisdiv">
|
43
|
+
<a name="ClutterDropAction.synopsis"></a><h2>Synopsis</h2>
|
44
|
+
<pre class="synopsis">struct <a class="link" href="ClutterDropAction.html#ClutterDropAction-struct" title="struct ClutterDropAction">ClutterDropAction</a>;
|
45
|
+
struct <a class="link" href="ClutterDropAction.html#ClutterDropActionClass" title="struct ClutterDropActionClass">ClutterDropActionClass</a>;
|
46
|
+
<a class="link" href="ClutterAction.html" title="ClutterAction"><span class="returnvalue">ClutterAction</span></a> * <a class="link" href="ClutterDropAction.html#clutter-drop-action-new" title="clutter_drop_action_new ()">clutter_drop_action_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
47
|
+
</pre>
|
48
|
+
</div>
|
49
|
+
<div class="refsect1">
|
50
|
+
<a name="ClutterDropAction.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
51
|
+
<pre class="synopsis">
|
52
|
+
GObject
|
53
|
+
+----GInitiallyUnowned
|
54
|
+
+----<a class="link" href="ClutterActorMeta.html" title="ClutterActorMeta">ClutterActorMeta</a>
|
55
|
+
+----<a class="link" href="ClutterAction.html" title="ClutterAction">ClutterAction</a>
|
56
|
+
+----ClutterDropAction
|
57
|
+
</pre>
|
58
|
+
</div>
|
59
|
+
<div class="refsect1">
|
60
|
+
<a name="ClutterDropAction.signals"></a><h2>Signals</h2>
|
61
|
+
<pre class="synopsis">
|
62
|
+
"<a class="link" href="ClutterDropAction.html#ClutterDropAction-can-drop" title='The "can-drop" signal'>can-drop</a>" : <code class="literal">Run Last</code>
|
63
|
+
"<a class="link" href="ClutterDropAction.html#ClutterDropAction-drop" title='The "drop" signal'>drop</a>" : <code class="literal">Run Last</code>
|
64
|
+
"<a class="link" href="ClutterDropAction.html#ClutterDropAction-drop-cancel" title='The "drop-cancel" signal'>drop-cancel</a>" : <code class="literal">Run Last</code>
|
65
|
+
"<a class="link" href="ClutterDropAction.html#ClutterDropAction-over-in" title='The "over-in" signal'>over-in</a>" : <code class="literal">Run Last</code>
|
66
|
+
"<a class="link" href="ClutterDropAction.html#ClutterDropAction-over-out" title='The "over-out" signal'>over-out</a>" : <code class="literal">Run Last</code>
|
67
|
+
</pre>
|
68
|
+
</div>
|
69
|
+
<div class="refsect1">
|
70
|
+
<a name="ClutterDropAction.description"></a><h2>Description</h2>
|
71
|
+
<p>
|
72
|
+
<a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a> is a <a class="link" href="ClutterAction.html" title="ClutterAction"><span class="type">ClutterAction</span></a> that allows a <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a>
|
73
|
+
implementation to control what happens when an actor dragged using
|
74
|
+
a <a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> crosses the target area or when a dragged actor
|
75
|
+
is released (or "dropped") on the target area.
|
76
|
+
</p>
|
77
|
+
<p>
|
78
|
+
A trivial use of <a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a> consists in connecting to the
|
79
|
+
<a class="link" href="ClutterDropAction.html#ClutterDropAction-drop" title='The "drop" signal'><span class="type">"drop"</span></a> signal and handling the drop from there,
|
80
|
+
for instance:
|
81
|
+
</p>
|
82
|
+
<p>
|
83
|
+
</p>
|
84
|
+
<div class="informalexample">
|
85
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
86
|
+
<tbody>
|
87
|
+
<tr>
|
88
|
+
<td class="listing_lines" align="right"><pre>1
|
89
|
+
2
|
90
|
+
3
|
91
|
+
4</pre></td>
|
92
|
+
<td class="listing_code"><pre class="programlisting"><span class="usertype">ClutterAction</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">action </span><span class="symbol">=</span><span class="normal"> </span><span class="function">clutter_drop_action</span><span class="normal"> </span><span class="symbol">();</span>
|
93
|
+
|
94
|
+
<span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">action</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"drop"</span><span class="symbol">,</span><span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">on_drop</span><span class="symbol">),</span><span class="normal"> NULL</span><span class="symbol">);</span>
|
95
|
+
<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">an_actor</span><span class="symbol">,</span><span class="normal"> action</span><span class="symbol">);</span></pre></td>
|
96
|
+
</tr>
|
97
|
+
</tbody>
|
98
|
+
</table>
|
99
|
+
</div>
|
100
|
+
|
101
|
+
<p>
|
102
|
+
</p>
|
103
|
+
<p>
|
104
|
+
The <a class="link" href="ClutterDropAction.html#ClutterDropAction-can-drop" title='The "can-drop" signal'><span class="type">"can-drop"</span></a> can be used to control whether the
|
105
|
+
<a class="link" href="ClutterDropAction.html#ClutterDropAction-drop" title='The "drop" signal'><span class="type">"drop"</span></a> signal is going to be emitted; returning <code class="literal">FALSE</code>
|
106
|
+
from a handler connected to the <a class="link" href="ClutterDropAction.html#ClutterDropAction-can-drop" title='The "can-drop" signal'><span class="type">"can-drop"</span></a> signal will
|
107
|
+
cause the <a class="link" href="ClutterDropAction.html#ClutterDropAction-drop" title='The "drop" signal'><span class="type">"drop"</span></a> signal to be skipped when the input
|
108
|
+
device button is released.
|
109
|
+
</p>
|
110
|
+
<p>
|
111
|
+
</p>
|
112
|
+
<div class="example">
|
113
|
+
<a name="drop-action-example"></a><p class="title"><b>Example 6. Drop targets</b></p>
|
114
|
+
<div class="example-contents">
|
115
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
116
|
+
<tbody>
|
117
|
+
<tr>
|
118
|
+
<td class="listing_lines" align="right"><pre>1
|
119
|
+
2
|
120
|
+
3
|
121
|
+
4
|
122
|
+
5
|
123
|
+
6
|
124
|
+
7
|
125
|
+
8
|
126
|
+
9
|
127
|
+
10
|
128
|
+
11
|
129
|
+
12
|
130
|
+
13
|
131
|
+
14
|
132
|
+
15
|
133
|
+
16
|
134
|
+
17
|
135
|
+
18
|
136
|
+
19
|
137
|
+
20
|
138
|
+
21
|
139
|
+
22
|
140
|
+
23
|
141
|
+
24
|
142
|
+
25
|
143
|
+
26
|
144
|
+
27
|
145
|
+
28
|
146
|
+
29
|
147
|
+
30
|
148
|
+
31
|
149
|
+
32
|
150
|
+
33
|
151
|
+
34
|
152
|
+
35
|
153
|
+
36
|
154
|
+
37
|
155
|
+
38
|
156
|
+
39
|
157
|
+
40
|
158
|
+
41
|
159
|
+
42
|
160
|
+
43
|
161
|
+
44
|
162
|
+
45
|
163
|
+
46
|
164
|
+
47
|
165
|
+
48
|
166
|
+
49
|
167
|
+
50
|
168
|
+
51
|
169
|
+
52
|
170
|
+
53
|
171
|
+
54
|
172
|
+
55
|
173
|
+
56
|
174
|
+
57
|
175
|
+
58
|
176
|
+
59
|
177
|
+
60
|
178
|
+
61
|
179
|
+
62
|
180
|
+
63
|
181
|
+
64
|
182
|
+
65
|
183
|
+
66
|
184
|
+
67
|
185
|
+
68
|
186
|
+
69
|
187
|
+
70
|
188
|
+
71
|
189
|
+
72
|
190
|
+
73
|
191
|
+
74
|
192
|
+
75
|
193
|
+
76
|
194
|
+
77
|
195
|
+
78
|
196
|
+
79
|
197
|
+
80
|
198
|
+
81
|
199
|
+
82
|
200
|
+
83
|
201
|
+
84
|
202
|
+
85
|
203
|
+
86
|
204
|
+
87
|
205
|
+
88
|
206
|
+
89
|
207
|
+
90
|
208
|
+
91
|
209
|
+
92
|
210
|
+
93
|
211
|
+
94
|
212
|
+
95
|
213
|
+
96
|
214
|
+
97
|
215
|
+
98
|
216
|
+
99
|
217
|
+
100
|
218
|
+
101
|
219
|
+
102
|
220
|
+
103
|
221
|
+
104
|
222
|
+
105
|
223
|
+
106
|
224
|
+
107
|
225
|
+
108
|
226
|
+
109
|
227
|
+
110
|
228
|
+
111
|
229
|
+
112
|
230
|
+
113
|
231
|
+
114
|
232
|
+
115
|
233
|
+
116
|
234
|
+
117
|
235
|
+
118
|
236
|
+
119
|
237
|
+
120
|
238
|
+
121
|
239
|
+
122
|
240
|
+
123
|
241
|
+
124
|
242
|
+
125
|
243
|
+
126
|
244
|
+
127
|
245
|
+
128
|
246
|
+
129
|
247
|
+
130
|
248
|
+
131
|
249
|
+
132
|
250
|
+
133
|
251
|
+
134
|
252
|
+
135
|
253
|
+
136
|
254
|
+
137
|
255
|
+
138
|
256
|
+
139
|
257
|
+
140
|
258
|
+
141
|
259
|
+
142
|
260
|
+
143
|
261
|
+
144
|
262
|
+
145
|
263
|
+
146
|
264
|
+
147
|
265
|
+
148
|
266
|
+
149
|
267
|
+
150
|
268
|
+
151
|
269
|
+
152
|
270
|
+
153
|
271
|
+
154
|
272
|
+
155
|
273
|
+
156
|
274
|
+
157
|
275
|
+
158
|
276
|
+
159
|
277
|
+
160
|
278
|
+
161
|
279
|
+
162
|
280
|
+
163
|
281
|
+
164
|
282
|
+
165
|
283
|
+
166
|
284
|
+
167
|
285
|
+
168
|
286
|
+
169
|
287
|
+
170
|
288
|
+
171
|
289
|
+
172
|
290
|
+
173
|
291
|
+
174
|
292
|
+
175
|
293
|
+
176
|
294
|
+
177
|
295
|
+
178
|
296
|
+
179
|
297
|
+
180
|
298
|
+
181
|
299
|
+
182
|
300
|
+
183
|
301
|
+
184
|
302
|
+
185
|
303
|
+
186
|
304
|
+
187
|
305
|
+
188
|
306
|
+
189
|
307
|
+
190
|
308
|
+
191
|
309
|
+
192
|
310
|
+
193
|
311
|
+
194
|
312
|
+
195
|
313
|
+
196
|
314
|
+
197
|
315
|
+
198
|
316
|
+
199
|
317
|
+
200
|
318
|
+
201
|
319
|
+
202
|
320
|
+
203
|
321
|
+
204
|
322
|
+
205
|
323
|
+
206
|
324
|
+
207
|
325
|
+
208
|
326
|
+
209
|
327
|
+
210
|
328
|
+
211
|
329
|
+
212
|
330
|
+
213
|
331
|
+
214
|
332
|
+
215
|
333
|
+
216
|
334
|
+
217
|
335
|
+
218
|
336
|
+
219
|
337
|
+
220
|
338
|
+
221
|
339
|
+
222
|
340
|
+
223
|
341
|
+
224
|
342
|
+
225
|
343
|
+
226
|
344
|
+
227
|
345
|
+
228
|
346
|
+
229
|
347
|
+
230
|
348
|
+
231
|
349
|
+
232
|
350
|
+
233
|
351
|
+
234
|
352
|
+
235
|
353
|
+
236
|
354
|
+
237
|
355
|
+
238
|
356
|
+
239
|
357
|
+
240
|
358
|
+
241
|
359
|
+
242
|
360
|
+
243
|
361
|
+
244
|
362
|
+
245
|
363
|
+
246
|
364
|
+
247
|
365
|
+
248
|
366
|
+
249
|
367
|
+
250
|
368
|
+
251
|
369
|
+
252
|
370
|
+
253
|
371
|
+
254
|
372
|
+
255
|
373
|
+
256
|
374
|
+
257
|
375
|
+
258
|
376
|
+
259
|
377
|
+
260
|
378
|
+
261
|
379
|
+
262
|
380
|
+
263
|
381
|
+
264</pre></td>
|
382
|
+
<td class="listing_code"><pre class="programlisting"><span class="preproc">#include</span><span class="normal"> </span><span class="string"><stdlib.h></span>
|
383
|
+
<span class="preproc">#include</span><span class="normal"> </span><span class="string"><clutter/clutter.h></span>
|
384
|
+
|
385
|
+
<span class="preproc">#define</span><span class="normal"> TARGET_SIZE </span><span class="number">200</span>
|
386
|
+
<span class="preproc">#define</span><span class="normal"> HANDLE_SIZE </span><span class="number">128</span>
|
387
|
+
|
388
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">stage </span><span class="symbol">=</span><span class="normal"> NULL</span><span class="symbol">;</span>
|
389
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">target1 </span><span class="symbol">=</span><span class="normal"> NULL</span><span class="symbol">;</span>
|
390
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">target2 </span><span class="symbol">=</span><span class="normal"> NULL</span><span class="symbol">;</span>
|
391
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">drag </span><span class="symbol">=</span><span class="normal"> NULL</span><span class="symbol">;</span>
|
392
|
+
|
393
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="usertype">gboolean</span><span class="normal"> drop_successful </span><span class="symbol">=</span><span class="normal"> FALSE</span><span class="symbol">;</span>
|
394
|
+
|
395
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span><span class="normal"> </span><span class="function">add_drag_object</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">target</span><span class="symbol">);</span>
|
396
|
+
|
397
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
398
|
+
<span class="function">on_drag_end</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">ClutterDragAction</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">action</span><span class="symbol">,</span>
|
399
|
+
<span class="normal"> </span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">actor</span><span class="symbol">,</span>
|
400
|
+
<span class="normal"> </span><span class="usertype">gfloat</span><span class="normal"> event_x</span><span class="symbol">,</span>
|
401
|
+
<span class="normal"> </span><span class="usertype">gfloat</span><span class="normal"> event_y</span><span class="symbol">,</span>
|
402
|
+
<span class="normal"> </span><span class="usertype">ClutterModifierType</span><span class="normal"> modifiers</span><span class="symbol">)</span>
|
403
|
+
<span class="cbracket">{</span>
|
404
|
+
<span class="normal"> </span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">handle </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterDragAction.html#clutter-drag-action-get-drag-handle">clutter_drag_action_get_drag_handle</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">action</span><span class="symbol">);</span>
|
405
|
+
|
406
|
+
<span class="normal"> </span><span class="function">g_print</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Drag ended at: %.0f, %.0f</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span>
|
407
|
+
<span class="normal"> event_x</span><span class="symbol">,</span><span class="normal"> event_y</span><span class="symbol">);</span>
|
408
|
+
|
409
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-save-easing-state">clutter_actor_save_easing_state</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">actor</span><span class="symbol">);</span>
|
410
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-easing-mode">clutter_actor_set_easing_mode</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">actor</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-LINEAR:CAPS">CLUTTER_LINEAR</a></span><span class="symbol">);</span>
|
411
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-opacity">clutter_actor_set_opacity</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="number">255</span><span class="symbol">);</span>
|
412
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-restore-easing-state">clutter_actor_restore_easing_state</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">actor</span><span class="symbol">);</span>
|
413
|
+
|
414
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-save-easing-state">clutter_actor_save_easing_state</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">handle</span><span class="symbol">);</span>
|
415
|
+
|
416
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(!</span><span class="normal">drop_successful</span><span class="symbol">)</span>
|
417
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
418
|
+
<span class="normal"> </span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">parent </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-get-parent">clutter_actor_get_parent</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">actor</span><span class="symbol">);</span>
|
419
|
+
<span class="normal"> </span><span class="usertype">gfloat</span><span class="normal"> x_pos</span><span class="symbol">,</span><span class="normal"> y_pos</span><span class="symbol">;</span>
|
420
|
+
|
421
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-save-easing-state">clutter_actor_save_easing_state</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">parent</span><span class="symbol">);</span>
|
422
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-easing-mode">clutter_actor_set_easing_mode</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">parent</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-LINEAR:CAPS">CLUTTER_LINEAR</a></span><span class="symbol">);</span>
|
423
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-opacity">clutter_actor_set_opacity</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">parent</span><span class="symbol">,</span><span class="normal"> </span><span class="number">255</span><span class="symbol">);</span>
|
424
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-restore-easing-state">clutter_actor_restore_easing_state</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">parent</span><span class="symbol">);</span>
|
425
|
+
|
426
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-get-transformed-position">clutter_actor_get_transformed_position</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="symbol">&</span><span class="normal">x_pos</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">y_pos</span><span class="symbol">);</span>
|
427
|
+
|
428
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-easing-mode">clutter_actor_set_easing_mode</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">handle</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-EASE-OUT-BOUNCE:CAPS">CLUTTER_EASE_OUT_BOUNCE</a></span><span class="symbol">);</span>
|
429
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-position">clutter_actor_set_position</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">handle</span><span class="symbol">,</span><span class="normal"> x_pos</span><span class="symbol">,</span><span class="normal"> y_pos</span><span class="symbol">);</span>
|
430
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-opacity">clutter_actor_set_opacity</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">handle</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">);</span>
|
431
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-restore-easing-state">clutter_actor_restore_easing_state</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">handle</span><span class="symbol">);</span>
|
432
|
+
|
433
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
434
|
+
<span class="normal"> </span><span class="keyword">else</span>
|
435
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
436
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-easing-mode">clutter_actor_set_easing_mode</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">handle</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-LINEAR:CAPS">CLUTTER_LINEAR</a></span><span class="symbol">);</span>
|
437
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-opacity">clutter_actor_set_opacity</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">handle</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">);</span>
|
438
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
439
|
+
|
440
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-restore-easing-state">clutter_actor_restore_easing_state</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">handle</span><span class="symbol">);</span>
|
441
|
+
|
442
|
+
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">handle</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"transitions-completed"</span><span class="symbol">,</span>
|
443
|
+
<span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="ClutterActor.html#clutter-actor-destroy">clutter_actor_destroy</a></span><span class="symbol">),</span>
|
444
|
+
<span class="normal"> NULL</span><span class="symbol">);</span>
|
445
|
+
<span class="cbracket">}</span>
|
446
|
+
|
447
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
448
|
+
<span class="function">on_drag_begin</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">ClutterDragAction</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">action</span><span class="symbol">,</span>
|
449
|
+
<span class="normal"> </span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">actor</span><span class="symbol">,</span>
|
450
|
+
<span class="normal"> </span><span class="usertype">gfloat</span><span class="normal"> event_x</span><span class="symbol">,</span>
|
451
|
+
<span class="normal"> </span><span class="usertype">gfloat</span><span class="normal"> event_y</span><span class="symbol">,</span>
|
452
|
+
<span class="normal"> </span><span class="usertype">ClutterModifierType</span><span class="normal"> modifiers</span><span class="symbol">)</span>
|
453
|
+
<span class="cbracket">{</span>
|
454
|
+
<span class="normal"> </span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">handle</span><span class="symbol">;</span>
|
455
|
+
<span class="normal"> </span><span class="usertype">gfloat</span><span class="normal"> x_pos</span><span class="symbol">,</span><span class="normal"> y_pos</span><span class="symbol">;</span>
|
456
|
+
|
457
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-get-position">clutter_actor_get_position</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="symbol">&</span><span class="normal">x_pos</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">y_pos</span><span class="symbol">);</span>
|
458
|
+
|
459
|
+
<span class="normal"> handle </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-new">clutter_actor_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
460
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-background-color">clutter_actor_set_background_color</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">handle</span><span class="symbol">,</span><span class="normal"> CLUTTER_COLOR_DarkSkyBlue</span><span class="symbol">);</span>
|
461
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-size">clutter_actor_set_size</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">handle</span><span class="symbol">,</span><span class="normal"> </span><span class="number">128</span><span class="symbol">,</span><span class="normal"> </span><span class="number">128</span><span class="symbol">);</span>
|
462
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-position">clutter_actor_set_position</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">handle</span><span class="symbol">,</span><span class="normal"> event_x </span><span class="symbol">-</span><span class="normal"> x_pos</span><span class="symbol">,</span><span class="normal"> event_y </span><span class="symbol">-</span><span class="normal"> y_pos</span><span class="symbol">);</span>
|
463
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-add-child">clutter_actor_add_child</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">,</span><span class="normal"> handle</span><span class="symbol">);</span>
|
464
|
+
|
465
|
+
<span class="normal"> </span><span class="function"><a href="ClutterDragAction.html#clutter-drag-action-set-drag-handle">clutter_drag_action_set_drag_handle</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">action</span><span class="symbol">,</span><span class="normal"> handle</span><span class="symbol">);</span>
|
466
|
+
|
467
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-save-easing-state">clutter_actor_save_easing_state</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">actor</span><span class="symbol">);</span>
|
468
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-easing-mode">clutter_actor_set_easing_mode</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">actor</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-LINEAR:CAPS">CLUTTER_LINEAR</a></span><span class="symbol">);</span>
|
469
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-opacity">clutter_actor_set_opacity</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="number">128</span><span class="symbol">);</span>
|
470
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-restore-easing-state">clutter_actor_restore_easing_state</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">actor</span><span class="symbol">);</span>
|
471
|
+
|
472
|
+
<span class="normal"> drop_successful </span><span class="symbol">=</span><span class="normal"> FALSE</span><span class="symbol">;</span>
|
473
|
+
<span class="cbracket">}</span>
|
474
|
+
|
475
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
476
|
+
<span class="function">add_drag_object</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">target</span><span class="symbol">)</span>
|
477
|
+
<span class="cbracket">{</span>
|
478
|
+
<span class="normal"> </span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">parent</span><span class="symbol">;</span>
|
479
|
+
|
480
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">drag </span><span class="symbol">==</span><span class="normal"> NULL</span><span class="symbol">)</span>
|
481
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
482
|
+
<span class="normal"> </span><span class="usertype">ClutterAction</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">action</span><span class="symbol">;</span>
|
483
|
+
|
484
|
+
<span class="normal"> drag </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-new">clutter_actor_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
485
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-background-color">clutter_actor_set_background_color</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">drag</span><span class="symbol">,</span><span class="normal"> CLUTTER_COLOR_LightSkyBlue</span><span class="symbol">);</span>
|
486
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-size">clutter_actor_set_size</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">drag</span><span class="symbol">,</span><span class="normal"> HANDLE_SIZE</span><span class="symbol">,</span><span class="normal"> HANDLE_SIZE</span><span class="symbol">);</span>
|
487
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-position">clutter_actor_set_position</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">drag</span><span class="symbol">,</span>
|
488
|
+
<span class="normal"> </span><span class="symbol">(</span><span class="normal">TARGET_SIZE </span><span class="symbol">-</span><span class="normal"> HANDLE_SIZE</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">/</span><span class="normal"> </span><span class="number">2.0</span><span class="symbol">,</span>
|
489
|
+
<span class="normal"> </span><span class="symbol">(</span><span class="normal">TARGET_SIZE </span><span class="symbol">-</span><span class="normal"> HANDLE_SIZE</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">/</span><span class="normal"> </span><span class="number">2.0</span><span class="symbol">);</span>
|
490
|
+
<span class="normal"> </span><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">drag</span><span class="symbol">,</span><span class="normal"> TRUE</span><span class="symbol">);</span>
|
491
|
+
|
492
|
+
<span class="normal"> action </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>
|
493
|
+
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">action</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"drag-begin"</span><span class="symbol">,</span><span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">on_drag_begin</span><span class="symbol">),</span><span class="normal"> NULL</span><span class="symbol">);</span>
|
494
|
+
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">action</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"drag-end"</span><span class="symbol">,</span><span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">on_drag_end</span><span class="symbol">),</span><span class="normal"> NULL</span><span class="symbol">);</span>
|
495
|
+
|
496
|
+
<span class="normal"> </span><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">drag</span><span class="symbol">,</span><span class="normal"> action</span><span class="symbol">);</span>
|
497
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
498
|
+
|
499
|
+
<span class="normal"> parent </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-get-parent">clutter_actor_get_parent</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">drag</span><span class="symbol">);</span>
|
500
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">parent </span><span class="symbol">==</span><span class="normal"> target</span><span class="symbol">)</span>
|
501
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
502
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-save-easing-state">clutter_actor_save_easing_state</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">target</span><span class="symbol">);</span>
|
503
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-easing-mode">clutter_actor_set_easing_mode</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">target</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-LINEAR:CAPS">CLUTTER_LINEAR</a></span><span class="symbol">);</span>
|
504
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-opacity">clutter_actor_set_opacity</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">target</span><span class="symbol">,</span><span class="normal"> </span><span class="number">255</span><span class="symbol">);</span>
|
505
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-restore-easing-state">clutter_actor_restore_easing_state</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">target</span><span class="symbol">);</span>
|
506
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="symbol">;</span>
|
507
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
508
|
+
|
509
|
+
<span class="normal"> </span><span class="function">g_object_ref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">drag</span><span class="symbol">);</span>
|
510
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">parent </span><span class="symbol">!=</span><span class="normal"> NULL </span><span class="symbol">&&</span><span class="normal"> parent </span><span class="symbol">!=</span><span class="normal"> stage</span><span class="symbol">)</span>
|
511
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
512
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-remove-child">clutter_actor_remove_child</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">parent</span><span class="symbol">,</span><span class="normal"> drag</span><span class="symbol">);</span>
|
513
|
+
|
514
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-save-easing-state">clutter_actor_save_easing_state</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">parent</span><span class="symbol">);</span>
|
515
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-easing-mode">clutter_actor_set_easing_mode</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">parent</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-LINEAR:CAPS">CLUTTER_LINEAR</a></span><span class="symbol">);</span>
|
516
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-opacity">clutter_actor_set_opacity</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">parent</span><span class="symbol">,</span><span class="normal"> </span><span class="number">64</span><span class="symbol">);</span>
|
517
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-restore-easing-state">clutter_actor_restore_easing_state</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">parent</span><span class="symbol">);</span>
|
518
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
519
|
+
|
520
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-add-child">clutter_actor_add_child</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">target</span><span class="symbol">,</span><span class="normal"> drag</span><span class="symbol">);</span>
|
521
|
+
|
522
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-save-easing-state">clutter_actor_save_easing_state</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">target</span><span class="symbol">);</span>
|
523
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-easing-mode">clutter_actor_set_easing_mode</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">target</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-LINEAR:CAPS">CLUTTER_LINEAR</a></span><span class="symbol">);</span>
|
524
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-opacity">clutter_actor_set_opacity</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">target</span><span class="symbol">,</span><span class="normal"> </span><span class="number">255</span><span class="symbol">);</span>
|
525
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-restore-easing-state">clutter_actor_restore_easing_state</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">target</span><span class="symbol">);</span>
|
526
|
+
|
527
|
+
<span class="normal"> </span><span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">drag</span><span class="symbol">);</span>
|
528
|
+
<span class="cbracket">}</span>
|
529
|
+
|
530
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
531
|
+
<span class="function">on_target_over</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">ClutterDropAction</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">action</span><span class="symbol">,</span>
|
532
|
+
<span class="normal"> </span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">actor</span><span class="symbol">,</span>
|
533
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> _data</span><span class="symbol">)</span>
|
534
|
+
<span class="cbracket">{</span>
|
535
|
+
<span class="normal"> </span><span class="usertype">gboolean</span><span class="normal"> is_over </span><span class="symbol">=</span><span class="normal"> </span><span class="function">GPOINTER_TO_UINT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">_data</span><span class="symbol">);</span>
|
536
|
+
<span class="normal"> </span><span class="usertype">guint8</span><span class="normal"> final_opacity </span><span class="symbol">=</span><span class="normal"> is_over </span><span class="symbol">?</span><span class="normal"> </span><span class="number">128</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="number">64</span><span class="symbol">;</span>
|
537
|
+
<span class="normal"> </span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">target</span><span class="symbol">;</span>
|
538
|
+
|
539
|
+
<span class="normal"> target </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterActorMeta.html#clutter-actor-meta-get-actor">clutter_actor_meta_get_actor</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">CLUTTER_ACTOR_META</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">action</span><span class="symbol">));</span>
|
540
|
+
|
541
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-save-easing-state">clutter_actor_save_easing_state</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">target</span><span class="symbol">);</span>
|
542
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-easing-mode">clutter_actor_set_easing_mode</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">target</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-LINEAR:CAPS">CLUTTER_LINEAR</a></span><span class="symbol">);</span>
|
543
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-opacity">clutter_actor_set_opacity</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">target</span><span class="symbol">,</span><span class="normal"> final_opacity</span><span class="symbol">);</span>
|
544
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-restore-easing-state">clutter_actor_restore_easing_state</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">target</span><span class="symbol">);</span>
|
545
|
+
<span class="cbracket">}</span>
|
546
|
+
|
547
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
548
|
+
<span class="function">on_target_drop</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">ClutterDropAction</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">action</span><span class="symbol">,</span>
|
549
|
+
<span class="normal"> </span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">actor</span><span class="symbol">,</span>
|
550
|
+
<span class="normal"> </span><span class="usertype">gfloat</span><span class="normal"> event_x</span><span class="symbol">,</span>
|
551
|
+
<span class="normal"> </span><span class="usertype">gfloat</span><span class="normal"> event_y</span><span class="symbol">)</span>
|
552
|
+
<span class="cbracket">{</span>
|
553
|
+
<span class="normal"> </span><span class="usertype">gfloat</span><span class="normal"> actor_x</span><span class="symbol">,</span><span class="normal"> actor_y</span><span class="symbol">;</span>
|
554
|
+
|
555
|
+
<span class="normal"> actor_x </span><span class="symbol">=</span><span class="normal"> actor_y </span><span class="symbol">=</span><span class="normal"> </span><span class="number">0</span><span class="symbol">.</span><span class="normal">0f</span><span class="symbol">;</span>
|
556
|
+
|
557
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-transform-stage-point">clutter_actor_transform_stage_point</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">actor</span><span class="symbol">,</span><span class="normal"> event_x</span><span class="symbol">,</span><span class="normal"> event_y</span><span class="symbol">,</span>
|
558
|
+
<span class="normal"> </span><span class="symbol">&</span><span class="normal">actor_x</span><span class="symbol">,</span>
|
559
|
+
<span class="normal"> </span><span class="symbol">&</span><span class="normal">actor_y</span><span class="symbol">);</span>
|
560
|
+
|
561
|
+
<span class="normal"> </span><span class="function">g_print</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Dropped at %.0f, %.0f (screen: %.0f, %.0f)</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span>
|
562
|
+
<span class="normal"> actor_x</span><span class="symbol">,</span><span class="normal"> actor_y</span><span class="symbol">,</span>
|
563
|
+
<span class="normal"> event_x</span><span class="symbol">,</span><span class="normal"> event_y</span><span class="symbol">);</span>
|
564
|
+
|
565
|
+
<span class="normal"> drop_successful </span><span class="symbol">=</span><span class="normal"> TRUE</span><span class="symbol">;</span>
|
566
|
+
<span class="normal"> </span><span class="function">add_drag_object</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">actor</span><span class="symbol">);</span>
|
567
|
+
<span class="cbracket">}</span>
|
568
|
+
|
569
|
+
<span class="type">int</span>
|
570
|
+
<span class="function">main</span><span class="normal"> </span><span class="symbol">(</span><span class="type">int</span><span class="normal"> argc</span><span class="symbol">,</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">argv</span><span class="symbol">[])</span>
|
571
|
+
<span class="cbracket">{</span>
|
572
|
+
<span class="normal"> </span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">dummy</span><span class="symbol">;</span>
|
573
|
+
|
574
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="clutter-General.html#clutter-init">clutter_init</a></span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">argc</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">argv</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">!=</span><span class="normal"> <a href="clutter-General.html#CLUTTER-INIT-SUCCESS:CAPS">CLUTTER_INIT_SUCCESS</a></span><span class="symbol">)</span>
|
575
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> EXIT_FAILURE</span><span class="symbol">;</span>
|
576
|
+
|
577
|
+
<span class="normal"> stage </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterStage.html#clutter-stage-new">clutter_stage_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
578
|
+
<span class="normal"> </span><span class="function"><a href="ClutterStage.html#clutter-stage-set-title">clutter_stage_set_title</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">CLUTTER_STAGE</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">),</span><span class="normal"> </span><span class="string">"Drop Action"</span><span class="symbol">);</span>
|
579
|
+
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"destroy"</span><span class="symbol">,</span><span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="clutter-General.html#clutter-main-quit">clutter_main_quit</a></span><span class="symbol">),</span><span class="normal"> NULL</span><span class="symbol">);</span>
|
580
|
+
|
581
|
+
<span class="normal"> target1 </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-new">clutter_actor_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
582
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-background-color">clutter_actor_set_background_color</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">target1</span><span class="symbol">,</span><span class="normal"> CLUTTER_COLOR_LightScarletRed</span><span class="symbol">);</span>
|
583
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-size">clutter_actor_set_size</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">target1</span><span class="symbol">,</span><span class="normal"> TARGET_SIZE</span><span class="symbol">,</span><span class="normal"> TARGET_SIZE</span><span class="symbol">);</span>
|
584
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-opacity">clutter_actor_set_opacity</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">target1</span><span class="symbol">,</span><span class="normal"> </span><span class="number">64</span><span class="symbol">);</span>
|
585
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-add-constraint">clutter_actor_add_constraint</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">target1</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="ClutterAlignConstraint.html#clutter-align-constraint-new">clutter_align_constraint_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">,</span><span class="normal"> <a href="ClutterAlignConstraint.html#CLUTTER-ALIGN-Y-AXIS:CAPS">CLUTTER_ALIGN_Y_AXIS</a></span><span class="symbol">,</span><span class="normal"> </span><span class="number">0.5</span><span class="symbol">));</span>
|
586
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-x">clutter_actor_set_x</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">target1</span><span class="symbol">,</span><span class="normal"> </span><span class="number">10</span><span class="symbol">);</span>
|
587
|
+
<span class="normal"> </span><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">target1</span><span class="symbol">,</span><span class="normal"> TRUE</span><span class="symbol">);</span>
|
588
|
+
|
589
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-add-action-with-name">clutter_actor_add_action_with_name</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">target1</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"drop"</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="ClutterDropAction.html#clutter-drop-action-new">clutter_drop_action_new</a></span><span class="normal"> </span><span class="symbol">());</span>
|
590
|
+
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="ClutterActor.html#clutter-actor-get-action">clutter_actor_get_action</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">target1</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"drop"</span><span class="symbol">),</span>
|
591
|
+
<span class="normal"> </span><span class="string">"over-in"</span><span class="symbol">,</span>
|
592
|
+
<span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">on_target_over</span><span class="symbol">),</span>
|
593
|
+
<span class="normal"> </span><span class="function">GUINT_TO_POINTER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">TRUE</span><span class="symbol">));</span>
|
594
|
+
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="ClutterActor.html#clutter-actor-get-action">clutter_actor_get_action</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">target1</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"drop"</span><span class="symbol">),</span>
|
595
|
+
<span class="normal"> </span><span class="string">"over-out"</span><span class="symbol">,</span>
|
596
|
+
<span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">on_target_over</span><span class="symbol">),</span>
|
597
|
+
<span class="normal"> </span><span class="function">GUINT_TO_POINTER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">FALSE</span><span class="symbol">));</span>
|
598
|
+
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="ClutterActor.html#clutter-actor-get-action">clutter_actor_get_action</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">target1</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"drop"</span><span class="symbol">),</span>
|
599
|
+
<span class="normal"> </span><span class="string">"drop"</span><span class="symbol">,</span>
|
600
|
+
<span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">on_target_drop</span><span class="symbol">),</span>
|
601
|
+
<span class="normal"> NULL</span><span class="symbol">);</span>
|
602
|
+
|
603
|
+
<span class="normal"> dummy </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-new">clutter_actor_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
604
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-background-color">clutter_actor_set_background_color</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">dummy</span><span class="symbol">,</span><span class="normal"> CLUTTER_COLOR_DarkOrange</span><span class="symbol">);</span>
|
605
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-size">clutter_actor_set_size</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">dummy</span><span class="symbol">,</span>
|
606
|
+
<span class="normal"> </span><span class="number">640</span><span class="normal"> </span><span class="symbol">-</span><span class="normal"> </span><span class="symbol">(</span><span class="number">2</span><span class="normal"> </span><span class="symbol">*</span><span class="normal"> </span><span class="number">10</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">-</span><span class="normal"> </span><span class="symbol">(</span><span class="number">2</span><span class="normal"> </span><span class="symbol">*</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">TARGET_SIZE </span><span class="symbol">+</span><span class="normal"> </span><span class="number">10</span><span class="symbol">)),</span>
|
607
|
+
<span class="normal"> TARGET_SIZE</span><span class="symbol">);</span>
|
608
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-add-constraint">clutter_actor_add_constraint</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">dummy</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="ClutterAlignConstraint.html#clutter-align-constraint-new">clutter_align_constraint_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">,</span><span class="normal"> <a href="ClutterAlignConstraint.html#CLUTTER-ALIGN-X-AXIS:CAPS">CLUTTER_ALIGN_X_AXIS</a></span><span class="symbol">,</span><span class="normal"> </span><span class="number">0.5</span><span class="symbol">));</span>
|
609
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-add-constraint">clutter_actor_add_constraint</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">dummy</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="ClutterAlignConstraint.html#clutter-align-constraint-new">clutter_align_constraint_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">,</span><span class="normal"> <a href="ClutterAlignConstraint.html#CLUTTER-ALIGN-Y-AXIS:CAPS">CLUTTER_ALIGN_Y_AXIS</a></span><span class="symbol">,</span><span class="normal"> </span><span class="number">0.5</span><span class="symbol">));</span>
|
610
|
+
<span class="normal"> </span><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">dummy</span><span class="symbol">,</span><span class="normal"> TRUE</span><span class="symbol">);</span>
|
611
|
+
|
612
|
+
<span class="normal"> target2 </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-new">clutter_actor_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
613
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-background-color">clutter_actor_set_background_color</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">target2</span><span class="symbol">,</span><span class="normal"> CLUTTER_COLOR_LightChameleon</span><span class="symbol">);</span>
|
614
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-size">clutter_actor_set_size</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">target2</span><span class="symbol">,</span><span class="normal"> TARGET_SIZE</span><span class="symbol">,</span><span class="normal"> TARGET_SIZE</span><span class="symbol">);</span>
|
615
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-opacity">clutter_actor_set_opacity</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">target2</span><span class="symbol">,</span><span class="normal"> </span><span class="number">64</span><span class="symbol">);</span>
|
616
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-add-constraint">clutter_actor_add_constraint</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">target2</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="ClutterAlignConstraint.html#clutter-align-constraint-new">clutter_align_constraint_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">,</span><span class="normal"> <a href="ClutterAlignConstraint.html#CLUTTER-ALIGN-Y-AXIS:CAPS">CLUTTER_ALIGN_Y_AXIS</a></span><span class="symbol">,</span><span class="normal"> </span><span class="number">0.5</span><span class="symbol">));</span>
|
617
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-x">clutter_actor_set_x</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">target2</span><span class="symbol">,</span><span class="normal"> </span><span class="number">640</span><span class="normal"> </span><span class="symbol">-</span><span class="normal"> TARGET_SIZE </span><span class="symbol">-</span><span class="normal"> </span><span class="number">10</span><span class="symbol">);</span>
|
618
|
+
<span class="normal"> </span><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">target2</span><span class="symbol">,</span><span class="normal"> TRUE</span><span class="symbol">);</span>
|
619
|
+
|
620
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-add-action-with-name">clutter_actor_add_action_with_name</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">target2</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"drop"</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="ClutterDropAction.html#clutter-drop-action-new">clutter_drop_action_new</a></span><span class="normal"> </span><span class="symbol">());</span>
|
621
|
+
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="ClutterActor.html#clutter-actor-get-action">clutter_actor_get_action</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">target2</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"drop"</span><span class="symbol">),</span>
|
622
|
+
<span class="normal"> </span><span class="string">"over-in"</span><span class="symbol">,</span>
|
623
|
+
<span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">on_target_over</span><span class="symbol">),</span>
|
624
|
+
<span class="normal"> </span><span class="function">GUINT_TO_POINTER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">TRUE</span><span class="symbol">));</span>
|
625
|
+
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="ClutterActor.html#clutter-actor-get-action">clutter_actor_get_action</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">target2</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"drop"</span><span class="symbol">),</span>
|
626
|
+
<span class="normal"> </span><span class="string">"over-out"</span><span class="symbol">,</span>
|
627
|
+
<span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">on_target_over</span><span class="symbol">),</span>
|
628
|
+
<span class="normal"> </span><span class="function">GUINT_TO_POINTER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">FALSE</span><span class="symbol">));</span>
|
629
|
+
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="ClutterActor.html#clutter-actor-get-action">clutter_actor_get_action</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">target2</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"drop"</span><span class="symbol">),</span>
|
630
|
+
<span class="normal"> </span><span class="string">"drop"</span><span class="symbol">,</span>
|
631
|
+
<span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">on_target_drop</span><span class="symbol">),</span>
|
632
|
+
<span class="normal"> NULL</span><span class="symbol">);</span>
|
633
|
+
|
634
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-add-child">clutter_actor_add_child</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">,</span><span class="normal"> target1</span><span class="symbol">);</span>
|
635
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-add-child">clutter_actor_add_child</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">,</span><span class="normal"> dummy</span><span class="symbol">);</span>
|
636
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-add-child">clutter_actor_add_child</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">,</span><span class="normal"> target2</span><span class="symbol">);</span>
|
637
|
+
|
638
|
+
<span class="normal"> </span><span class="function">add_drag_object</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">target1</span><span class="symbol">);</span>
|
639
|
+
|
640
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-show">clutter_actor_show</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">);</span>
|
641
|
+
|
642
|
+
<span class="normal"> </span><span class="function"><a href="clutter-General.html#clutter-main">clutter_main</a></span><span class="normal"> </span><span class="symbol">();</span>
|
643
|
+
|
644
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> EXIT_SUCCESS</span><span class="symbol">;</span>
|
645
|
+
<span class="cbracket">}</span></pre></td>
|
646
|
+
</tr>
|
647
|
+
</tbody>
|
648
|
+
</table>
|
649
|
+
</div>
|
650
|
+
|
651
|
+
</div>
|
652
|
+
<p><br class="example-break">
|
653
|
+
</p>
|
654
|
+
<p>
|
655
|
+
It's important to note that <a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a> will only work with
|
656
|
+
actors dragged using <a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a>.
|
657
|
+
</p>
|
658
|
+
<p>
|
659
|
+
<a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a> is available since Clutter 1.8
|
660
|
+
</p>
|
661
|
+
</div>
|
662
|
+
<div class="refsect1">
|
663
|
+
<a name="ClutterDropAction.details"></a><h2>Details</h2>
|
664
|
+
<div class="refsect2">
|
665
|
+
<a name="ClutterDropAction-struct"></a><h3>struct ClutterDropAction</h3>
|
666
|
+
<pre class="programlisting">struct ClutterDropAction;</pre>
|
667
|
+
<p>
|
668
|
+
The <span class="structname">ClutterDropAction</span> structure contains only
|
669
|
+
private data and should be accessed using the provided API.
|
670
|
+
</p>
|
671
|
+
<p class="since">Since 1.8</p>
|
672
|
+
</div>
|
673
|
+
<hr>
|
674
|
+
<div class="refsect2">
|
675
|
+
<a name="ClutterDropActionClass"></a><h3>struct ClutterDropActionClass</h3>
|
676
|
+
<pre class="programlisting">struct ClutterDropActionClass {
|
677
|
+
gboolean (* can_drop) (ClutterDropAction *action,
|
678
|
+
ClutterActor *actor,
|
679
|
+
gfloat event_x,
|
680
|
+
gfloat event_y);
|
681
|
+
|
682
|
+
void (* over_in) (ClutterDropAction *action,
|
683
|
+
ClutterActor *actor);
|
684
|
+
void (* over_out) (ClutterDropAction *action,
|
685
|
+
ClutterActor *actor);
|
686
|
+
|
687
|
+
void (* drop) (ClutterDropAction *action,
|
688
|
+
ClutterActor *actor,
|
689
|
+
gfloat event_x,
|
690
|
+
gfloat event_y);
|
691
|
+
};
|
692
|
+
</pre>
|
693
|
+
<p>
|
694
|
+
The <span class="structname">ClutterDropActionClass</span> structure contains
|
695
|
+
only private data.
|
696
|
+
</p>
|
697
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
698
|
+
<colgroup>
|
699
|
+
<col align="left" valign="top">
|
700
|
+
<col>
|
701
|
+
</colgroup>
|
702
|
+
<tbody>
|
703
|
+
<tr>
|
704
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterDropActionClass.can-drop"></a>can_drop</code></em> ()</span></p></td>
|
705
|
+
<td>class handler for the <a class="link" href="ClutterDropAction.html#ClutterDropAction-can-drop" title='The "can-drop" signal'><span class="type">"can-drop"</span></a> signal</td>
|
706
|
+
</tr>
|
707
|
+
<tr>
|
708
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterDropActionClass.over-in"></a>over_in</code></em> ()</span></p></td>
|
709
|
+
<td>class handler for the <a class="link" href="ClutterDropAction.html#ClutterDropAction-over-in" title='The "over-in" signal'><span class="type">"over-in"</span></a> signal</td>
|
710
|
+
</tr>
|
711
|
+
<tr>
|
712
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterDropActionClass.over-out"></a>over_out</code></em> ()</span></p></td>
|
713
|
+
<td>class handler for the <a class="link" href="ClutterDropAction.html#ClutterDropAction-over-out" title='The "over-out" signal'><span class="type">"over-out"</span></a> signal</td>
|
714
|
+
</tr>
|
715
|
+
<tr>
|
716
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterDropActionClass.drop"></a>drop</code></em> ()</span></p></td>
|
717
|
+
<td>class handler for the <a class="link" href="ClutterDropAction.html#ClutterDropAction-drop" title='The "drop" signal'><span class="type">"drop"</span></a> signal</td>
|
718
|
+
</tr>
|
719
|
+
</tbody>
|
720
|
+
</table></div>
|
721
|
+
<p class="since">Since 1.8</p>
|
722
|
+
</div>
|
723
|
+
<hr>
|
724
|
+
<div class="refsect2">
|
725
|
+
<a name="clutter-drop-action-new"></a><h3>clutter_drop_action_new ()</h3>
|
726
|
+
<pre class="programlisting"><a class="link" href="ClutterAction.html" title="ClutterAction"><span class="returnvalue">ClutterAction</span></a> * clutter_drop_action_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
727
|
+
<p>
|
728
|
+
Creates a new <a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a>.
|
729
|
+
</p>
|
730
|
+
<p>
|
731
|
+
Use <a class="link" href="ClutterActor.html#clutter-actor-add-action" title="clutter_actor_add_action ()"><code class="function">clutter_actor_add_action()</code></a> to add the action to a <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a>.
|
732
|
+
</p>
|
733
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
734
|
+
<colgroup>
|
735
|
+
<col align="left" valign="top">
|
736
|
+
<col>
|
737
|
+
</colgroup>
|
738
|
+
<tbody><tr>
|
739
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
740
|
+
<td>the newly created <a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a>
|
741
|
+
</td>
|
742
|
+
</tr></tbody>
|
743
|
+
</table></div>
|
744
|
+
<p class="since">Since 1.8</p>
|
745
|
+
</div>
|
746
|
+
</div>
|
747
|
+
<div class="refsect1">
|
748
|
+
<a name="ClutterDropAction.signal-details"></a><h2>Signal Details</h2>
|
749
|
+
<div class="refsect2">
|
750
|
+
<a name="ClutterDropAction-can-drop"></a><h3>The <code class="literal">"can-drop"</code> signal</h3>
|
751
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> user_function (<a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a> *action,
|
752
|
+
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor,
|
753
|
+
<span class="type">gfloat</span> event_x,
|
754
|
+
<span class="type">gfloat</span> event_y,
|
755
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
|
756
|
+
<p>
|
757
|
+
The ::can-drop signal is emitted when the dragged actor is dropped
|
758
|
+
on <em class="parameter"><code>actor</code></em>. The return value of the ::can-drop signal will determine
|
759
|
+
whether or not the <a class="link" href="ClutterDropAction.html#ClutterDropAction-drop" title='The "drop" signal'><span class="type">"drop"</span></a> signal is going to be
|
760
|
+
emitted on <em class="parameter"><code>action</code></em>.
|
761
|
+
</p>
|
762
|
+
<p>
|
763
|
+
The default implementation of <a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a> returns <code class="literal">TRUE</code> for
|
764
|
+
this signal.
|
765
|
+
</p>
|
766
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
767
|
+
<colgroup>
|
768
|
+
<col align="left" valign="top">
|
769
|
+
<col>
|
770
|
+
</colgroup>
|
771
|
+
<tbody>
|
772
|
+
<tr>
|
773
|
+
<td><p><span class="term"><em class="parameter"><code>action</code></em> :</span></p></td>
|
774
|
+
<td>the <a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a> that emitted the signal</td>
|
775
|
+
</tr>
|
776
|
+
<tr>
|
777
|
+
<td><p><span class="term"><em class="parameter"><code>actor</code></em> :</span></p></td>
|
778
|
+
<td>the <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> attached to the <em class="parameter"><code>action</code></em>
|
779
|
+
</td>
|
780
|
+
</tr>
|
781
|
+
<tr>
|
782
|
+
<td><p><span class="term"><em class="parameter"><code>event_x</code></em> :</span></p></td>
|
783
|
+
<td>the X coordinate (in stage space) of the drop event</td>
|
784
|
+
</tr>
|
785
|
+
<tr>
|
786
|
+
<td><p><span class="term"><em class="parameter"><code>event_y</code></em> :</span></p></td>
|
787
|
+
<td>the Y coordinate (in stage space) of the drop event</td>
|
788
|
+
</tr>
|
789
|
+
<tr>
|
790
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
791
|
+
<td>user data set when the signal handler was connected.</td>
|
792
|
+
</tr>
|
793
|
+
<tr>
|
794
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
795
|
+
<td>
|
796
|
+
<code class="literal">TRUE</code> if the drop is accepted, and <code class="literal">FALSE</code> otherwise</td>
|
797
|
+
</tr>
|
798
|
+
</tbody>
|
799
|
+
</table></div>
|
800
|
+
<p class="since">Since 1.8</p>
|
801
|
+
</div>
|
802
|
+
<hr>
|
803
|
+
<div class="refsect2">
|
804
|
+
<a name="ClutterDropAction-drop"></a><h3>The <code class="literal">"drop"</code> signal</h3>
|
805
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a> *action,
|
806
|
+
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor,
|
807
|
+
<span class="type">gfloat</span> event_x,
|
808
|
+
<span class="type">gfloat</span> event_y,
|
809
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
|
810
|
+
<p>
|
811
|
+
The ::drop signal is emitted when the dragged actor is dropped
|
812
|
+
on <em class="parameter"><code>actor</code></em>. This signal is only emitted if at least an handler of
|
813
|
+
<a class="link" href="ClutterDropAction.html#ClutterDropAction-can-drop" title='The "can-drop" signal'><span class="type">"can-drop"</span></a> returns <code class="literal">TRUE</code>.
|
814
|
+
</p>
|
815
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
816
|
+
<colgroup>
|
817
|
+
<col align="left" valign="top">
|
818
|
+
<col>
|
819
|
+
</colgroup>
|
820
|
+
<tbody>
|
821
|
+
<tr>
|
822
|
+
<td><p><span class="term"><em class="parameter"><code>action</code></em> :</span></p></td>
|
823
|
+
<td>the <a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a> that emitted the signal</td>
|
824
|
+
</tr>
|
825
|
+
<tr>
|
826
|
+
<td><p><span class="term"><em class="parameter"><code>actor</code></em> :</span></p></td>
|
827
|
+
<td>the <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> attached to the <em class="parameter"><code>action</code></em>
|
828
|
+
</td>
|
829
|
+
</tr>
|
830
|
+
<tr>
|
831
|
+
<td><p><span class="term"><em class="parameter"><code>event_x</code></em> :</span></p></td>
|
832
|
+
<td>the X coordinate (in stage space) of the drop event</td>
|
833
|
+
</tr>
|
834
|
+
<tr>
|
835
|
+
<td><p><span class="term"><em class="parameter"><code>event_y</code></em> :</span></p></td>
|
836
|
+
<td>the Y coordinate (in stage space) of the drop event</td>
|
837
|
+
</tr>
|
838
|
+
<tr>
|
839
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
840
|
+
<td>user data set when the signal handler was connected.</td>
|
841
|
+
</tr>
|
842
|
+
</tbody>
|
843
|
+
</table></div>
|
844
|
+
<p class="since">Since 1.8</p>
|
845
|
+
</div>
|
846
|
+
<hr>
|
847
|
+
<div class="refsect2">
|
848
|
+
<a name="ClutterDropAction-drop-cancel"></a><h3>The <code class="literal">"drop-cancel"</code> signal</h3>
|
849
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a> *action,
|
850
|
+
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor,
|
851
|
+
<span class="type">gfloat</span> event_x,
|
852
|
+
<span class="type">gfloat</span> event_y,
|
853
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
|
854
|
+
<p>
|
855
|
+
The ::drop-cancel signal is emitted when the drop is refused
|
856
|
+
by an emission of the <a class="link" href="ClutterDropAction.html#ClutterDropAction-can-drop" title='The "can-drop" signal'><span class="type">"can-drop"</span></a> signal.
|
857
|
+
</p>
|
858
|
+
<p>
|
859
|
+
After the ::drop-cancel signal is fired the active drag is
|
860
|
+
terminated.
|
861
|
+
</p>
|
862
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
863
|
+
<colgroup>
|
864
|
+
<col align="left" valign="top">
|
865
|
+
<col>
|
866
|
+
</colgroup>
|
867
|
+
<tbody>
|
868
|
+
<tr>
|
869
|
+
<td><p><span class="term"><em class="parameter"><code>action</code></em> :</span></p></td>
|
870
|
+
<td>the <a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a> that emitted the signal</td>
|
871
|
+
</tr>
|
872
|
+
<tr>
|
873
|
+
<td><p><span class="term"><em class="parameter"><code>actor</code></em> :</span></p></td>
|
874
|
+
<td>the <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> attached to the <em class="parameter"><code>action</code></em>
|
875
|
+
</td>
|
876
|
+
</tr>
|
877
|
+
<tr>
|
878
|
+
<td><p><span class="term"><em class="parameter"><code>event_x</code></em> :</span></p></td>
|
879
|
+
<td>the X coordinate (in stage space) of the drop event</td>
|
880
|
+
</tr>
|
881
|
+
<tr>
|
882
|
+
<td><p><span class="term"><em class="parameter"><code>event_y</code></em> :</span></p></td>
|
883
|
+
<td>the Y coordinate (in stage space) of the drop event</td>
|
884
|
+
</tr>
|
885
|
+
<tr>
|
886
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
887
|
+
<td>user data set when the signal handler was connected.</td>
|
888
|
+
</tr>
|
889
|
+
</tbody>
|
890
|
+
</table></div>
|
891
|
+
<p class="since">Since 1.12</p>
|
892
|
+
</div>
|
893
|
+
<hr>
|
894
|
+
<div class="refsect2">
|
895
|
+
<a name="ClutterDropAction-over-in"></a><h3>The <code class="literal">"over-in"</code> signal</h3>
|
896
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a> *action,
|
897
|
+
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor,
|
898
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
|
899
|
+
<p>
|
900
|
+
The ::over-in signal is emitted when the dragged actor crosses
|
901
|
+
into <em class="parameter"><code>actor</code></em>.
|
902
|
+
</p>
|
903
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
904
|
+
<colgroup>
|
905
|
+
<col align="left" valign="top">
|
906
|
+
<col>
|
907
|
+
</colgroup>
|
908
|
+
<tbody>
|
909
|
+
<tr>
|
910
|
+
<td><p><span class="term"><em class="parameter"><code>action</code></em> :</span></p></td>
|
911
|
+
<td>the <a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a> that emitted the signal</td>
|
912
|
+
</tr>
|
913
|
+
<tr>
|
914
|
+
<td><p><span class="term"><em class="parameter"><code>actor</code></em> :</span></p></td>
|
915
|
+
<td>the <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> attached to the <em class="parameter"><code>action</code></em>
|
916
|
+
</td>
|
917
|
+
</tr>
|
918
|
+
<tr>
|
919
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
920
|
+
<td>user data set when the signal handler was connected.</td>
|
921
|
+
</tr>
|
922
|
+
</tbody>
|
923
|
+
</table></div>
|
924
|
+
<p class="since">Since 1.8</p>
|
925
|
+
</div>
|
926
|
+
<hr>
|
927
|
+
<div class="refsect2">
|
928
|
+
<a name="ClutterDropAction-over-out"></a><h3>The <code class="literal">"over-out"</code> signal</h3>
|
929
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a> *action,
|
930
|
+
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor,
|
931
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
|
932
|
+
<p>
|
933
|
+
The ::over-out signal is emitted when the dragged actor crosses
|
934
|
+
outside <em class="parameter"><code>actor</code></em>.
|
935
|
+
</p>
|
936
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
937
|
+
<colgroup>
|
938
|
+
<col align="left" valign="top">
|
939
|
+
<col>
|
940
|
+
</colgroup>
|
941
|
+
<tbody>
|
942
|
+
<tr>
|
943
|
+
<td><p><span class="term"><em class="parameter"><code>action</code></em> :</span></p></td>
|
944
|
+
<td>the <a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a> that emitted the signal</td>
|
945
|
+
</tr>
|
946
|
+
<tr>
|
947
|
+
<td><p><span class="term"><em class="parameter"><code>actor</code></em> :</span></p></td>
|
948
|
+
<td>the <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> attached to the <em class="parameter"><code>action</code></em>
|
949
|
+
</td>
|
950
|
+
</tr>
|
951
|
+
<tr>
|
952
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
953
|
+
<td>user data set when the signal handler was connected.</td>
|
954
|
+
</tr>
|
955
|
+
</tbody>
|
956
|
+
</table></div>
|
957
|
+
<p class="since">Since 1.8</p>
|
958
|
+
</div>
|
959
|
+
</div>
|
960
|
+
</div>
|
961
|
+
<div class="footer">
|
962
|
+
<hr>
|
963
|
+
Generated by GTK-Doc V1.18.1</div>
|
964
|
+
</body>
|
965
|
+
</html>
|