clutter 2.2.0-x86-mingw32 → 2.2.1-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.
- checksums.yaml +4 -4
- data/Rakefile +14 -5
- data/lib/clutter.rb +1 -2
- data/vendor/local/bin/json-glib-format.exe +0 -0
- data/vendor/local/bin/json-glib-validate.exe +0 -0
- data/vendor/local/bin/libclutter-1.0-0.dll +0 -0
- data/vendor/local/bin/{libcogl-15.dll → libcogl-20.dll} +0 -0
- data/vendor/local/bin/libcogl-pango-20.dll +0 -0
- data/vendor/local/bin/libcogl-path-20.dll +0 -0
- data/vendor/local/bin/libjson-glib-1.0-0.dll +0 -0
- data/vendor/local/include/clutter-1.0/cally/cally-actor.h +9 -4
- data/vendor/local/include/clutter-1.0/cally/cally-clone.h +6 -4
- data/vendor/local/include/clutter-1.0/cally/cally-group.h +5 -3
- data/vendor/local/include/clutter-1.0/cally/cally-main.h +7 -2
- data/vendor/local/include/clutter-1.0/cally/cally-rectangle.h +5 -3
- data/vendor/local/include/clutter-1.0/cally/cally-root.h +6 -4
- data/vendor/local/include/clutter-1.0/cally/cally-stage.h +5 -3
- data/vendor/local/include/clutter-1.0/cally/cally-text.h +6 -4
- data/vendor/local/include/clutter-1.0/cally/cally-texture.h +6 -4
- data/vendor/local/include/clutter-1.0/cally/cally-util.h +7 -3
- data/vendor/local/include/clutter-1.0/clutter/clutter-action.h +13 -5
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor-meta.h +8 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor.h +90 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-align-constraint.h +9 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-animatable.h +5 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-backend.h +15 -9
- data/vendor/local/include/clutter-1.0/clutter/clutter-bin-layout.h +4 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-bind-constraint.h +9 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-binding-pool.h +13 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-blur-effect.h +3 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-box-layout.h +9 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-brightness-contrast-effect.h +9 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-cairo.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-canvas.h +7 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-child-meta.h +10 -8
- data/vendor/local/include/clutter-1.0/clutter/clutter-click-action.h +8 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-clone.h +8 -4
- data/vendor/local/include/clutter-1.0/clutter/clutter-color.h +32 -7
- data/vendor/local/include/clutter-1.0/clutter/clutter-colorize-effect.h +5 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-constraint.h +14 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-container.h +49 -37
- data/vendor/local/include/clutter-1.0/clutter/clutter-content.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-deform-effect.h +19 -13
- data/vendor/local/include/clutter-1.0/clutter/clutter-deprecated.h +1 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-desaturate-effect.h +5 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-device-manager.h +6 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-drag-action.h +12 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-drop-action.h +4 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-effect.h +11 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-enum-types.h +62 -55
- data/vendor/local/include/clutter-1.0/clutter/clutter-enums.h +23 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-event.h +74 -8
- data/vendor/local/include/clutter-1.0/clutter/clutter-feature.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-fixed-layout.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-flow-layout.h +14 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-gesture-action.h +27 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-group.h +1 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-image.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-input-device.h +20 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-interval.h +18 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-layout-manager.h +13 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-layout-meta.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-list-model.h +3 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-macros.h +67 -33
- data/vendor/local/include/clutter-1.0/clutter/clutter-main.h +36 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-model.h +42 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-offscreen-effect.h +4 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-page-turn-effect.h +9 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-paint-nodes.h +5 -5
- data/vendor/local/include/clutter-1.0/clutter/clutter-pan-action.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-path-constraint.h +7 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-path.h +26 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-property-transition.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-rotate-action.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-script.h +16 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-scriptable.h +5 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-scroll-actor.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-settings.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-shader-effect.h +9 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-shader-types.h +10 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-snap-constraint.h +9 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage-manager.h +5 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage.h +35 -9
- data/vendor/local/include/clutter-1.0/clutter/clutter-swipe-action.h +4 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-tap-action.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-test-utils.h +164 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-text-buffer.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-text.h +67 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-texture.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-timeline.h +25 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-transition-group.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-transition.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-types.h +60 -6
- data/vendor/local/include/clutter-1.0/clutter/clutter-units.h +18 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-version.h +37 -20
- data/vendor/local/include/clutter-1.0/clutter/clutter-zoom-action.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter.h +2 -3
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-fixed.h +1 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-state.h +3 -3
- data/vendor/local/include/clutter-1.0/clutter/{clutter-table-layout.h → deprecated/clutter-table-layout.h} +15 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-timeout-pool.h +1 -1
- data/vendor/local/include/clutter-1.0/clutter/win32/clutter-win32.h +5 -0
- data/vendor/local/include/cogl/cogl-pango/cogl-pango.h +33 -14
- data/vendor/local/include/cogl/cogl-path/cogl-path-types.h +18 -14
- data/vendor/local/include/cogl/cogl-path/cogl-path.h +22 -12
- data/vendor/local/include/cogl/cogl-path/cogl1-path-functions.h +20 -13
- data/vendor/local/include/cogl/cogl-path/cogl2-path-functions.h +35 -13
- data/vendor/local/include/cogl/cogl/cogl-atlas-texture.h +81 -53
- data/vendor/local/include/cogl/cogl/cogl-attribute-buffer.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-attribute.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-auto-texture.h +221 -0
- data/vendor/local/include/cogl/cogl/cogl-bitmap.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-buffer.h +26 -13
- data/vendor/local/include/cogl/cogl/cogl-clip-state.h +244 -15
- data/vendor/local/include/cogl/cogl/cogl-clutter.h +18 -13
- data/vendor/local/include/cogl/cogl/cogl-color.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-context.h +41 -14
- data/vendor/local/include/cogl/cogl/cogl-defines.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-deprecated.h +18 -11
- data/vendor/local/include/cogl/cogl/cogl-depth-state.h +20 -14
- data/vendor/local/include/cogl/cogl/cogl-display.h +33 -14
- data/vendor/local/include/cogl/cogl/cogl-enum-types.h +9 -6
- data/vendor/local/include/cogl/cogl/cogl-error.h +20 -15
- data/vendor/local/include/cogl/cogl/cogl-euler.h +31 -13
- data/vendor/local/include/cogl/cogl/cogl-fence.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-fixed.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-frame-info.h +31 -12
- data/vendor/local/include/cogl/cogl/cogl-framebuffer-deprecated.h +264 -0
- data/vendor/local/include/cogl/cogl/cogl-framebuffer.h +70 -29
- data/vendor/local/include/cogl/cogl/cogl-gles2.h +64 -18
- data/vendor/local/include/cogl/cogl/cogl-glib-source.h +18 -11
- data/vendor/local/include/cogl/cogl/cogl-index-buffer.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-indices.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-macros.h +33 -13
- data/vendor/local/include/cogl/cogl/cogl-material-compat.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-matrix-stack.h +37 -12
- data/vendor/local/include/cogl/cogl/cogl-matrix.h +34 -15
- data/vendor/local/include/cogl/cogl/cogl-meta-texture.h +25 -12
- data/vendor/local/include/cogl/cogl/cogl-object.h +40 -12
- data/vendor/local/include/cogl/cogl/cogl-offscreen.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-onscreen-template.h +31 -12
- data/vendor/local/include/cogl/cogl/cogl-onscreen.h +63 -12
- data/vendor/local/include/cogl/cogl/cogl-output.h +31 -12
- data/vendor/local/include/cogl/cogl/cogl-pango.h +18 -11
- data/vendor/local/include/cogl/cogl/cogl-pipeline-layer-state.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-pipeline-state.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-pipeline.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-pixel-buffer.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-poll.h +20 -14
- data/vendor/local/include/cogl/cogl/cogl-primitive-texture.h +25 -12
- data/vendor/local/include/cogl/cogl/cogl-primitive.h +32 -13
- data/vendor/local/include/cogl/cogl/cogl-primitives.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-quaternion.h +34 -15
- data/vendor/local/include/cogl/cogl/cogl-renderer.h +33 -15
- data/vendor/local/include/cogl/cogl/cogl-shader.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-snippet.h +27 -12
- data/vendor/local/include/cogl/cogl/cogl-sub-texture.h +29 -15
- data/vendor/local/include/cogl/cogl/cogl-swap-chain.h +33 -13
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-gl.h +29 -24
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-sliced.h +54 -49
- data/vendor/local/include/cogl/cogl/cogl-texture-2d.h +81 -65
- data/vendor/local/include/cogl/cogl/cogl-texture-3d.h +71 -54
- data/vendor/local/include/cogl/cogl/cogl-texture-deprecated.h +105 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-rectangle.h +61 -48
- data/vendor/local/include/cogl/cogl/cogl-texture.h +157 -241
- data/vendor/local/include/cogl/cogl/cogl-type-casts.h +53 -0
- data/vendor/local/include/cogl/cogl/cogl-types.h +23 -11
- data/vendor/local/include/cogl/cogl/cogl-vector.h +20 -15
- data/vendor/local/include/cogl/cogl/cogl-version.h +28 -12
- data/vendor/local/include/cogl/cogl/cogl-vertex-buffer.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-win32-renderer.h +18 -13
- data/vendor/local/include/cogl/cogl/cogl.h +61 -22
- data/vendor/local/include/cogl/cogl/cogl1-context.h +20 -434
- data/vendor/local/include/cogl/cogl/cogl2-experimental.h +18 -12
- data/vendor/local/include/cogl/cogl/deprecated/cogl-auto-texture.h +221 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-clip-state.h +266 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-clutter.h +54 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-fixed.h +811 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-framebuffer-deprecated.h +264 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-material-compat.h +1391 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-shader.h +704 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-texture-deprecated.h +105 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-type-casts.h +53 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-vertex-buffer.h +451 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-core-functions.h +18 -11
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-gles2-functions.h +18 -11
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-glsl-functions.h +18 -11
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles-core-functions.h +18 -11
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles2-core-functions.h +18 -11
- data/vendor/local/include/json-glib-1.0/json-glib/json-builder.h +21 -7
- data/vendor/local/include/json-glib-1.0/json-glib/json-enum-types.h +8 -3
- data/vendor/local/include/json-glib-1.0/json-glib/json-generator.h +16 -3
- data/vendor/local/include/json-glib-1.0/json-glib/json-glib.h +1 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-gobject.h +23 -5
- data/vendor/local/include/json-glib-1.0/json-glib/json-gvariant.h +9 -2
- data/vendor/local/include/json-glib-1.0/json-glib/json-parser.h +17 -4
- data/vendor/local/include/json-glib-1.0/json-glib/json-path.h +13 -8
- data/vendor/local/include/json-glib-1.0/json-glib/json-reader.h +28 -7
- data/vendor/local/include/json-glib-1.0/json-glib/json-types.h +97 -12
- data/vendor/local/include/json-glib-1.0/json-glib/json-version-macros.h +135 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-version.h +14 -12
- 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/Cogl-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/CoglPango-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/CoglPango-2.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 +4 -4
- data/vendor/local/lib/libcogl-pango.dll.a +0 -0
- data/vendor/local/lib/libcogl-pango.la +5 -5
- data/vendor/local/lib/libcogl-path.dll.a +0 -0
- data/vendor/local/lib/libcogl-path.la +41 -0
- data/vendor/local/lib/libcogl.dll.a +0 -0
- data/vendor/local/lib/libcogl.la +5 -5
- data/vendor/local/lib/libjson-glib-1.0.dll.a +0 -0
- data/vendor/local/lib/libjson-glib-1.0.la +3 -3
- data/vendor/local/lib/pkgconfig/cally-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/clutter-1.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/clutter-win32-1.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/cogl-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/cogl-gl-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/cogl-pango-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/cogl-pango-2.0-experimental.pc +3 -3
- data/vendor/local/lib/pkgconfig/cogl-path-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-path-2.0-experimental.pc +13 -0
- data/vendor/local/lib/pkgconfig/json-glib-1.0.pc +1 -1
- data/vendor/local/share/gir-1.0/Cally-1.0.gir +4 -2
- data/vendor/local/share/gir-1.0/Clutter-1.0.gir +4527 -1814
- data/vendor/local/share/gir-1.0/Cogl-1.0.gir +1194 -1881
- data/vendor/local/share/gir-1.0/Cogl-2.0.gir +20369 -0
- data/vendor/local/share/gir-1.0/CoglPango-1.0.gir +9 -5
- data/vendor/local/share/gir-1.0/CoglPango-2.0.gir +331 -0
- data/vendor/local/share/gir-1.0/Json-1.0.gir +363 -163
- data/vendor/local/share/gtk-doc/html/cally/CallyActor.html +356 -259
- data/vendor/local/share/gtk-doc/html/cally/CallyClone.html +91 -69
- data/vendor/local/share/gtk-doc/html/cally/CallyGroup.html +89 -71
- data/vendor/local/share/gtk-doc/html/cally/CallyRectangle.html +90 -68
- data/vendor/local/share/gtk-doc/html/cally/CallyRoot.html +72 -59
- data/vendor/local/share/gtk-doc/html/cally/CallyStage.html +92 -70
- data/vendor/local/share/gtk-doc/html/cally/CallyText.html +90 -66
- data/vendor/local/share/gtk-doc/html/cally/CallyTexture.html +90 -68
- data/vendor/local/share/gtk-doc/html/cally/CallyUtil.html +42 -37
- data/vendor/local/share/gtk-doc/html/cally/cally-General-API.html +109 -86
- data/vendor/local/share/gtk-doc/html/cally/cally.devhelp2 +16 -16
- data/vendor/local/share/gtk-doc/html/cally/callyannotationglossary.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/callybase.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/callyobjecthierarchy.html +16 -16
- data/vendor/local/share/gtk-doc/html/cally/callyobjectindex.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/callyobjects.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/ch01.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/ch02.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/clutter-overview.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/cally/index.sgml +47 -29
- data/vendor/local/share/gtk-doc/html/cally/ix01.html +27 -29
- data/vendor/local/share/gtk-doc/html/cally/ix02.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/ix03.html +25 -27
- data/vendor/local/share/gtk-doc/html/cally/ix04.html +6 -6
- data/vendor/local/share/gtk-doc/html/cally/license.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/style.css +260 -105
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAction.html +47 -45
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActor.html +11634 -9660
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActorMeta.html +283 -206
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlignConstraint.html +335 -242
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlpha.html +595 -523
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimatable.html +341 -273
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimator.html +995 -804
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBackend.html +583 -432
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviour.html +565 -457
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourDepth.html +207 -169
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourEllipse.html +718 -518
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourOpacity.html +211 -172
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourPath.html +338 -283
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourRotate.html +506 -367
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourScale.html +322 -275
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBinLayout.html +329 -901
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBindConstraint.html +374 -553
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBlurEffect.html +65 -55
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBox.html +491 -419
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBoxLayout.html +1032 -790
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBrightnessContrastEffect.html +316 -243
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCairoTexture.html +613 -755
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCanvas.html +367 -373
- data/vendor/local/share/gtk-doc/html/clutter/ClutterChildMeta.html +181 -144
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClickAction.html +399 -316
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClone.html +177 -135
- data/vendor/local/share/gtk-doc/html/clutter/ClutterColorizeEffect.html +154 -105
- data/vendor/local/share/gtk-doc/html/clutter/ClutterConstraint.html +137 -262
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContainer.html +1119 -851
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContent.html +238 -177
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeformEffect.html +293 -225
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDesaturateEffect.html +159 -114
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeviceManager.html +330 -243
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDragAction.html +772 -873
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDropAction.html +304 -766
- data/vendor/local/share/gtk-doc/html/clutter/ClutterEffect.html +353 -267
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFixedLayout.html +70 -57
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFlowLayout.html +646 -825
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGestureAction.html +991 -555
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGridLayout.html +725 -510
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGroup.html +177 -133
- data/vendor/local/share/gtk-doc/html/clutter/ClutterImage.html +380 -512
- data/vendor/local/share/gtk-doc/html/clutter/ClutterInputDevice.html +1252 -962
- data/vendor/local/share/gtk-doc/html/clutter/ClutterKeyframeTransition.html +414 -320
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutManager.html +830 -923
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutMeta.html +118 -87
- data/vendor/local/share/gtk-doc/html/clutter/ClutterListModel.html +144 -130
- data/vendor/local/share/gtk-doc/html/clutter/ClutterMedia.html +742 -586
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModel.html +1398 -1058
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModelIter.html +563 -425
- data/vendor/local/share/gtk-doc/html/clutter/ClutterOffscreenEffect.html +322 -265
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPageTurnEffect.html +292 -194
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPaintNode.html +473 -333
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPanAction.html +653 -489
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPath.html +1107 -855
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPathConstraint.html +277 -188
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPropertyTransition.html +178 -130
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRectangle.html +334 -216
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRotateAction.html +131 -95
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScore.html +709 -569
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScript.html +958 -899
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScriptable.html +242 -186
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScrollActor.html +263 -606
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSettings.html +243 -165
- data/vendor/local/share/gtk-doc/html/clutter/ClutterShaderEffect.html +469 -368
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSnapConstraint.html +353 -245
- data/vendor/local/share/gtk-doc/html/clutter/ClutterStage.html +1967 -1513
- data/vendor/local/share/gtk-doc/html/clutter/ClutterState.html +1273 -1005
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSwipeAction.html +200 -144
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTableLayout.html +995 -745
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTapAction.html +123 -93
- data/vendor/local/share/gtk-doc/html/clutter/ClutterText.html +2742 -1997
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTextBuffer.html +647 -474
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTexture.html +1482 -1223
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTimeline.html +2161 -1735
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransition.html +496 -383
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransitionGroup.html +175 -135
- data/vendor/local/share/gtk-doc/html/clutter/ClutterZoomAction.html +313 -236
- data/vendor/local/share/gtk-doc/html/clutter/annotation-glossary.html +29 -13
- data/vendor/local/share/gtk-doc/html/clutter/building-clutter.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch01.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch02.html +4 -7
- data/vendor/local/share/gtk-doc/html/clutter/ch03.html +4 -8
- data/vendor/local/share/gtk-doc/html/clutter/ch04.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch05.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch06.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch07.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch08.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch09.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch10.html +5 -5
- data/vendor/local/share/gtk-doc/html/clutter/ch11.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch12.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Base-geometric-types.html +3059 -2295
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterGLXTexturePixmap.html +181 -137
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterWaylandSurface.html +340 -197
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterX11TexturePixmap.html +306 -222
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Colors.html +1272 -988
- data/vendor/local/share/gtk-doc/html/clutter/clutter-EGL-Specific-Support.html +154 -69
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Events.html +2714 -1972
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Features.html +151 -116
- data/vendor/local/share/gtk-doc/html/clutter/clutter-GDK-Specific-Support.html +205 -154
- data/vendor/local/share/gtk-doc/html/clutter/clutter-General.html +1455 -1890
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Implicit-Animations.html +1449 -1804
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Intel-CE3100-CE4100-Specific-Support.html +134 -112
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Key-Bindings.html +625 -520
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Paint-Nodes.html +302 -239
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Shaders.html +872 -637
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Stage-Manager.html +293 -213
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Unit-conversion.html +674 -508
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Utilities.html +454 -339
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Value-intervals.html +816 -623
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Versioning-Macros.html +346 -302
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-compositor-specific-support.html +60 -34
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-specific-support.html +200 -170
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Win32-Specific-Support.html +162 -119
- data/vendor/local/share/gtk-doc/html/clutter/clutter-X11-Specific-Support.html +678 -565
- data/vendor/local/share/gtk-doc/html/clutter/clutter-overview.html +5 -5
- data/vendor/local/share/gtk-doc/html/clutter/clutter.devhelp2 +1937 -2272
- data/vendor/local/share/gtk-doc/html/clutter/clutteranimation.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutterbackends.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutterbase.html +4 -11
- data/vendor/local/share/gtk-doc/html/clutter/clutterglossary.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjecthierarchy.html +87 -87
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjectindex.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjects.html +6 -6
- data/vendor/local/share/gtk-doc/html/clutter/cluttertools.html +5 -5
- data/vendor/local/share/gtk-doc/html/clutter/deprecated.html +11 -4
- data/vendor/local/share/gtk-doc/html/clutter/go01.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/index.html +11 -11
- data/vendor/local/share/gtk-doc/html/clutter/index.sgml +842 -978
- data/vendor/local/share/gtk-doc/html/clutter/iterating-paths.html +7 -7
- data/vendor/local/share/gtk-doc/html/clutter/ix01.html +2005 -1923
- data/vendor/local/share/gtk-doc/html/clutter/ix02.html +663 -470
- data/vendor/local/share/gtk-doc/html/clutter/ix03.html +83 -85
- data/vendor/local/share/gtk-doc/html/clutter/ix04.html +122 -124
- data/vendor/local/share/gtk-doc/html/clutter/ix05.html +217 -219
- data/vendor/local/share/gtk-doc/html/clutter/ix06.html +148 -150
- data/vendor/local/share/gtk-doc/html/clutter/ix07.html +349 -351
- data/vendor/local/share/gtk-doc/html/clutter/ix08.html +177 -179
- data/vendor/local/share/gtk-doc/html/clutter/ix09.html +214 -216
- data/vendor/local/share/gtk-doc/html/clutter/ix10.html +83 -85
- data/vendor/local/share/gtk-doc/html/clutter/ix11.html +80 -82
- data/vendor/local/share/gtk-doc/html/clutter/ix12.html +219 -221
- data/vendor/local/share/gtk-doc/html/clutter/ix13.html +212 -214
- data/vendor/local/share/gtk-doc/html/clutter/ix14.html +22 -32
- data/vendor/local/share/gtk-doc/html/clutter/license.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterAnimation.html +16 -16
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterBehaviour.html +15 -15
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterEffect.html +17 -17
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterPath.html +11 -12
- data/vendor/local/share/gtk-doc/html/clutter/migration.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/pt09.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/running-clutter.html +9 -4
- data/vendor/local/share/gtk-doc/html/clutter/style.css +260 -105
- data/vendor/local/share/gtk-doc/html/clutter/using-cairo.html +6 -6
- data/vendor/local/share/gtk-doc/html/json-glib/JsonBuilder.html +513 -392
- data/vendor/local/share/gtk-doc/html/json-glib/JsonGenerator.html +479 -347
- data/vendor/local/share/gtk-doc/html/json-glib/JsonParser.html +804 -600
- data/vendor/local/share/gtk-doc/html/json-glib/JsonPath.html +395 -362
- data/vendor/local/share/gtk-doc/html/json-glib/JsonReader.html +788 -609
- data/vendor/local/share/gtk-doc/html/json-glib/annotation-glossary.html +32 -43
- data/vendor/local/share/gtk-doc/html/json-glib/ch01.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/ch02.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/ch03.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/ch05.html +40 -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 +15 -6
- data/vendor/local/share/gtk-doc/html/json-glib/index.sgml +82 -73
- data/vendor/local/share/gtk-doc/html/json-glib/ix01.html +230 -227
- data/vendor/local/share/gtk-doc/html/json-glib/ix02.html +17 -22
- data/vendor/local/share/gtk-doc/html/json-glib/ix03.html +20 -25
- data/vendor/local/share/gtk-doc/html/json-glib/ix04.html +17 -22
- data/vendor/local/share/gtk-doc/html/json-glib/ix05.html +50 -55
- data/vendor/local/share/gtk-doc/html/json-glib/ix06.html +30 -35
- data/vendor/local/share/gtk-doc/html/json-glib/ix07.html +39 -44
- data/vendor/local/share/gtk-doc/html/json-glib/ix08.html +35 -40
- data/vendor/local/share/gtk-doc/html/json-glib/json-advanced.html +12 -9
- data/vendor/local/share/gtk-doc/html/json-glib/json-base.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/json-format-tool.html +84 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Boxed-Types-Serialization.html +306 -221
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html +261 -204
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Array.html +843 -583
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-GVariant-Integration.html +223 -199
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Node.html +1327 -912
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Object.html +986 -694
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Serializable-Interface.html +386 -301
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html +151 -87
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.devhelp2 +204 -218
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/json-streams.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/json-tools.html +19 -13
- data/vendor/local/share/gtk-doc/html/json-glib/json-validate-tool.html +72 -0
- data/vendor/local/share/gtk-doc/html/json-glib/left-insensitive.png +0 -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 +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/right-insensitive.png +0 -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 +314 -104
- data/vendor/local/share/gtk-doc/html/json-glib/tools.html +38 -0
- data/vendor/local/share/gtk-doc/html/json-glib/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/up.png +0 -0
- data/vendor/local/share/license/cogl/COPYING +107 -502
- data/vendor/local/share/locale/an/LC_MESSAGES/clutter-1.0.mo +0 -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/as/LC_MESSAGES/json-glib-1.0.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/bg/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/json-glib-1.0.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/LC_MESSAGES/json-glib-1.0.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/ca@valencia/LC_MESSAGES/json-glib-1.0.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/da/LC_MESSAGES/json-glib-1.0.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/en_GB/LC_MESSAGES/json-glib-1.0.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/eo/LC_MESSAGES/json-glib-1.0.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/et/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/json-glib-1.0.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/fr/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/fur/LC_MESSAGES/json-glib-1.0.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/he/LC_MESSAGES/json-glib-1.0.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/hi/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/json-glib-1.0.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/ja/LC_MESSAGES/json-glib-1.0.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/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ky/LC_MESSAGES/json-glib-1.0.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/lt/LC_MESSAGES/json-glib-1.0.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/lv/LC_MESSAGES/json-glib-1.0.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/ml/LC_MESSAGES/json-glib-1.0.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/or/LC_MESSAGES/json-glib-1.0.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/LC_MESSAGES/json-glib-1.0.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/sk/LC_MESSAGES/json-glib-1.0.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/LC_MESSAGES/json-glib-1.0.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/sr@latin/LC_MESSAGES/json-glib-1.0.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/te/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/json-glib-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/ug/LC_MESSAGES/json-glib-1.0.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/uk/LC_MESSAGES/json-glib-1.0.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_CN/LC_MESSAGES/json-glib-1.0.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_HK/LC_MESSAGES/json-glib-1.0.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
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/man/man1/json-glib-format.1 +60 -0
- data/vendor/local/share/man/man1/json-glib-validate.1 +56 -0
- metadata +66 -27
- data/vendor/local/bin/libcogl-pango-15.dll +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ch04.html +0 -38
@@ -8,19 +8,16 @@
|
|
8
8
|
<link rel="up" href="ch04.html" title="Actions">
|
9
9
|
<link rel="prev" href="ClutterDragAction.html" title="ClutterDragAction">
|
10
10
|
<link rel="next" href="ClutterGestureAction.html" title="ClutterGestureAction">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.20.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
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="
|
16
|
-
<td width="100%" align="left">
|
17
|
-
<a href="#" class="shortcut">Top</a>
|
18
|
-
|
19
|
-
<a href="#ClutterDropAction.
|
20
|
-
|
21
|
-
<a href="#ClutterDropAction.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
22
|
-
|
|
23
|
-
<a href="#ClutterDropAction.signals" class="shortcut">Signals</a>
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts">
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#ClutterDropAction.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#ClutterDropAction.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_signals"> <span class="dim">|</span>
|
20
|
+
<a href="#ClutterDropAction.signals" class="shortcut">Signals</a></span>
|
24
21
|
</td>
|
25
22
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
26
23
|
<td><a accesskey="u" href="ch04.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
@@ -34,50 +31,99 @@
|
|
34
31
|
<h2><span class="refentrytitle"><a name="ClutterDropAction.top_of_page"></a>ClutterDropAction</span></h2>
|
35
32
|
<p>ClutterDropAction — An action for drop targets</p>
|
36
33
|
</td>
|
37
|
-
<td valign="top" align="right"></td>
|
34
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
38
35
|
</tr></table></div>
|
39
|
-
<div class="refsynopsisdiv">
|
40
|
-
<a name="ClutterDropAction.synopsis"></a><h2>Synopsis</h2>
|
41
|
-
<pre class="synopsis">struct <a class="link" href="ClutterDropAction.html#ClutterDropAction-struct" title="struct ClutterDropAction">ClutterDropAction</a>;
|
42
|
-
struct <a class="link" href="ClutterDropAction.html#ClutterDropActionClass" title="struct ClutterDropActionClass">ClutterDropActionClass</a>;
|
43
|
-
<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>);
|
44
|
-
</pre>
|
45
|
-
</div>
|
46
36
|
<div class="refsect1">
|
47
|
-
<a name="ClutterDropAction.
|
48
|
-
<
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
37
|
+
<a name="ClutterDropAction.functions"></a><h2>Functions</h2>
|
38
|
+
<div class="informaltable"><table width="100%" border="0">
|
39
|
+
<colgroup>
|
40
|
+
<col width="150px" class="functions_return">
|
41
|
+
<col class="functions_name">
|
42
|
+
</colgroup>
|
43
|
+
<tbody><tr>
|
44
|
+
<td class="function_type">
|
45
|
+
<a class="link" href="ClutterAction.html" title="ClutterAction"><span class="returnvalue">ClutterAction</span></a> *
|
46
|
+
</td>
|
47
|
+
<td class="function_name">
|
48
|
+
<a class="link" href="ClutterDropAction.html#clutter-drop-action-new" title="clutter_drop_action_new ()">clutter_drop_action_new</a> <span class="c_punctuation">()</span>
|
49
|
+
</td>
|
50
|
+
</tr></tbody>
|
51
|
+
</table></div>
|
55
52
|
</div>
|
56
53
|
<div class="refsect1">
|
57
54
|
<a name="ClutterDropAction.signals"></a><h2>Signals</h2>
|
58
|
-
<
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
55
|
+
<div class="informaltable"><table border="0">
|
56
|
+
<colgroup>
|
57
|
+
<col width="150px" class="signals_return">
|
58
|
+
<col width="300px" class="signals_name">
|
59
|
+
<col width="200px" class="signals_flags">
|
60
|
+
</colgroup>
|
61
|
+
<tbody>
|
62
|
+
<tr>
|
63
|
+
<td class="signal_type"><span class="returnvalue">gboolean</span></td>
|
64
|
+
<td class="signal_name"><a class="link" href="ClutterDropAction.html#ClutterDropAction-can-drop" title="The “can-drop” signal">can-drop</a></td>
|
65
|
+
<td class="signal_flags">Run Last</td>
|
66
|
+
</tr>
|
67
|
+
<tr>
|
68
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
69
|
+
<td class="signal_name"><a class="link" href="ClutterDropAction.html#ClutterDropAction-drop" title="The “drop” signal">drop</a></td>
|
70
|
+
<td class="signal_flags">Run Last</td>
|
71
|
+
</tr>
|
72
|
+
<tr>
|
73
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
74
|
+
<td class="signal_name"><a class="link" href="ClutterDropAction.html#ClutterDropAction-drop-cancel" title="The “drop-cancel” signal">drop-cancel</a></td>
|
75
|
+
<td class="signal_flags">Run Last</td>
|
76
|
+
</tr>
|
77
|
+
<tr>
|
78
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
79
|
+
<td class="signal_name"><a class="link" href="ClutterDropAction.html#ClutterDropAction-over-in" title="The “over-in” signal">over-in</a></td>
|
80
|
+
<td class="signal_flags">Run Last</td>
|
81
|
+
</tr>
|
82
|
+
<tr>
|
83
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
84
|
+
<td class="signal_name"><a class="link" href="ClutterDropAction.html#ClutterDropAction-over-out" title="The “over-out” signal">over-out</a></td>
|
85
|
+
<td class="signal_flags">Run Last</td>
|
86
|
+
</tr>
|
87
|
+
</tbody>
|
88
|
+
</table></div>
|
89
|
+
</div>
|
90
|
+
<div class="refsect1">
|
91
|
+
<a name="ClutterDropAction.other"></a><h2>Types and Values</h2>
|
92
|
+
<div class="informaltable"><table width="100%" border="0">
|
93
|
+
<colgroup>
|
94
|
+
<col width="150px" class="name">
|
95
|
+
<col class="description">
|
96
|
+
</colgroup>
|
97
|
+
<tbody>
|
98
|
+
<tr>
|
99
|
+
<td class="datatype_keyword">struct</td>
|
100
|
+
<td class="function_name"><a class="link" href="ClutterDropAction.html#ClutterDropAction-struct" title="struct ClutterDropAction">ClutterDropAction</a></td>
|
101
|
+
</tr>
|
102
|
+
<tr>
|
103
|
+
<td class="datatype_keyword">struct</td>
|
104
|
+
<td class="function_name"><a class="link" href="ClutterDropAction.html#ClutterDropActionClass" title="struct ClutterDropActionClass">ClutterDropActionClass</a></td>
|
105
|
+
</tr>
|
106
|
+
</tbody>
|
107
|
+
</table></div>
|
108
|
+
</div>
|
109
|
+
<div class="refsect1">
|
110
|
+
<a name="ClutterDropAction.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
111
|
+
<pre class="screen"> GObject
|
112
|
+
<span class="lineart">╰──</span> GInitiallyUnowned
|
113
|
+
<span class="lineart">╰──</span> <a class="link" href="ClutterActorMeta.html" title="ClutterActorMeta">ClutterActorMeta</a>
|
114
|
+
<span class="lineart">╰──</span> <a class="link" href="ClutterAction.html" title="ClutterAction">ClutterAction</a>
|
115
|
+
<span class="lineart">╰──</span> ClutterDropAction
|
64
116
|
</pre>
|
65
117
|
</div>
|
66
118
|
<div class="refsect1">
|
67
119
|
<a name="ClutterDropAction.description"></a><h2>Description</h2>
|
68
|
-
<p>
|
69
|
-
<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>
|
120
|
+
<p><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>
|
70
121
|
implementation to control what happens when an actor dragged using
|
71
122
|
a <a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a> crosses the target area or when a dragged actor
|
72
|
-
is released (or "dropped") on the target area
|
73
|
-
|
74
|
-
<
|
75
|
-
|
76
|
-
<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,
|
77
|
-
for instance:
|
78
|
-
</p>
|
79
|
-
<p>
|
80
|
-
</p>
|
123
|
+
is released (or "dropped") on the target area.</p>
|
124
|
+
<p>A trivial use of <a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a> consists in connecting to the
|
125
|
+
<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,
|
126
|
+
for instance:</p>
|
81
127
|
<div class="informalexample">
|
82
128
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
83
129
|
<tbody>
|
@@ -95,574 +141,41 @@ for instance:
|
|
95
141
|
</table>
|
96
142
|
</div>
|
97
143
|
|
98
|
-
<p>
|
99
|
-
|
100
|
-
<
|
101
|
-
|
102
|
-
<a class="link" href="ClutterDropAction.html#ClutterDropAction-drop" title=
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
<p>
|
108
|
-
</p>
|
109
|
-
<div class="example">
|
110
|
-
<a name="drop-action-example"></a><p class="title"><b>Example 6. Drop targets</b></p>
|
111
|
-
<div class="example-contents">
|
112
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
113
|
-
<tbody>
|
114
|
-
<tr>
|
115
|
-
<td class="listing_lines" align="right"><pre>1
|
116
|
-
2
|
117
|
-
3
|
118
|
-
4
|
119
|
-
5
|
120
|
-
6
|
121
|
-
7
|
122
|
-
8
|
123
|
-
9
|
124
|
-
10
|
125
|
-
11
|
126
|
-
12
|
127
|
-
13
|
128
|
-
14
|
129
|
-
15
|
130
|
-
16
|
131
|
-
17
|
132
|
-
18
|
133
|
-
19
|
134
|
-
20
|
135
|
-
21
|
136
|
-
22
|
137
|
-
23
|
138
|
-
24
|
139
|
-
25
|
140
|
-
26
|
141
|
-
27
|
142
|
-
28
|
143
|
-
29
|
144
|
-
30
|
145
|
-
31
|
146
|
-
32
|
147
|
-
33
|
148
|
-
34
|
149
|
-
35
|
150
|
-
36
|
151
|
-
37
|
152
|
-
38
|
153
|
-
39
|
154
|
-
40
|
155
|
-
41
|
156
|
-
42
|
157
|
-
43
|
158
|
-
44
|
159
|
-
45
|
160
|
-
46
|
161
|
-
47
|
162
|
-
48
|
163
|
-
49
|
164
|
-
50
|
165
|
-
51
|
166
|
-
52
|
167
|
-
53
|
168
|
-
54
|
169
|
-
55
|
170
|
-
56
|
171
|
-
57
|
172
|
-
58
|
173
|
-
59
|
174
|
-
60
|
175
|
-
61
|
176
|
-
62
|
177
|
-
63
|
178
|
-
64
|
179
|
-
65
|
180
|
-
66
|
181
|
-
67
|
182
|
-
68
|
183
|
-
69
|
184
|
-
70
|
185
|
-
71
|
186
|
-
72
|
187
|
-
73
|
188
|
-
74
|
189
|
-
75
|
190
|
-
76
|
191
|
-
77
|
192
|
-
78
|
193
|
-
79
|
194
|
-
80
|
195
|
-
81
|
196
|
-
82
|
197
|
-
83
|
198
|
-
84
|
199
|
-
85
|
200
|
-
86
|
201
|
-
87
|
202
|
-
88
|
203
|
-
89
|
204
|
-
90
|
205
|
-
91
|
206
|
-
92
|
207
|
-
93
|
208
|
-
94
|
209
|
-
95
|
210
|
-
96
|
211
|
-
97
|
212
|
-
98
|
213
|
-
99
|
214
|
-
100
|
215
|
-
101
|
216
|
-
102
|
217
|
-
103
|
218
|
-
104
|
219
|
-
105
|
220
|
-
106
|
221
|
-
107
|
222
|
-
108
|
223
|
-
109
|
224
|
-
110
|
225
|
-
111
|
226
|
-
112
|
227
|
-
113
|
228
|
-
114
|
229
|
-
115
|
230
|
-
116
|
231
|
-
117
|
232
|
-
118
|
233
|
-
119
|
234
|
-
120
|
235
|
-
121
|
236
|
-
122
|
237
|
-
123
|
238
|
-
124
|
239
|
-
125
|
240
|
-
126
|
241
|
-
127
|
242
|
-
128
|
243
|
-
129
|
244
|
-
130
|
245
|
-
131
|
246
|
-
132
|
247
|
-
133
|
248
|
-
134
|
249
|
-
135
|
250
|
-
136
|
251
|
-
137
|
252
|
-
138
|
253
|
-
139
|
254
|
-
140
|
255
|
-
141
|
256
|
-
142
|
257
|
-
143
|
258
|
-
144
|
259
|
-
145
|
260
|
-
146
|
261
|
-
147
|
262
|
-
148
|
263
|
-
149
|
264
|
-
150
|
265
|
-
151
|
266
|
-
152
|
267
|
-
153
|
268
|
-
154
|
269
|
-
155
|
270
|
-
156
|
271
|
-
157
|
272
|
-
158
|
273
|
-
159
|
274
|
-
160
|
275
|
-
161
|
276
|
-
162
|
277
|
-
163
|
278
|
-
164
|
279
|
-
165
|
280
|
-
166
|
281
|
-
167
|
282
|
-
168
|
283
|
-
169
|
284
|
-
170
|
285
|
-
171
|
286
|
-
172
|
287
|
-
173
|
288
|
-
174
|
289
|
-
175
|
290
|
-
176
|
291
|
-
177
|
292
|
-
178
|
293
|
-
179
|
294
|
-
180
|
295
|
-
181
|
296
|
-
182
|
297
|
-
183
|
298
|
-
184
|
299
|
-
185
|
300
|
-
186
|
301
|
-
187
|
302
|
-
188
|
303
|
-
189
|
304
|
-
190
|
305
|
-
191
|
306
|
-
192
|
307
|
-
193
|
308
|
-
194
|
309
|
-
195
|
310
|
-
196
|
311
|
-
197
|
312
|
-
198
|
313
|
-
199
|
314
|
-
200
|
315
|
-
201
|
316
|
-
202
|
317
|
-
203
|
318
|
-
204
|
319
|
-
205
|
320
|
-
206
|
321
|
-
207
|
322
|
-
208
|
323
|
-
209
|
324
|
-
210
|
325
|
-
211
|
326
|
-
212
|
327
|
-
213
|
328
|
-
214
|
329
|
-
215
|
330
|
-
216
|
331
|
-
217
|
332
|
-
218
|
333
|
-
219
|
334
|
-
220
|
335
|
-
221
|
336
|
-
222
|
337
|
-
223
|
338
|
-
224
|
339
|
-
225
|
340
|
-
226
|
341
|
-
227
|
342
|
-
228
|
343
|
-
229
|
344
|
-
230
|
345
|
-
231
|
346
|
-
232
|
347
|
-
233
|
348
|
-
234
|
349
|
-
235
|
350
|
-
236
|
351
|
-
237
|
352
|
-
238
|
353
|
-
239
|
354
|
-
240
|
355
|
-
241
|
356
|
-
242
|
357
|
-
243
|
358
|
-
244
|
359
|
-
245
|
360
|
-
246
|
361
|
-
247
|
362
|
-
248
|
363
|
-
249
|
364
|
-
250
|
365
|
-
251
|
366
|
-
252
|
367
|
-
253
|
368
|
-
254
|
369
|
-
255
|
370
|
-
256
|
371
|
-
257
|
372
|
-
258
|
373
|
-
259
|
374
|
-
260
|
375
|
-
261
|
376
|
-
262
|
377
|
-
263</pre></td>
|
378
|
-
<td class="listing_code"><pre class="programlisting"><span class="preproc">#include</span><span class="normal"> </span><span class="string"><stdlib.h></span>
|
379
|
-
<span class="preproc">#include</span><span class="normal"> </span><span class="string"><clutter/clutter.h></span>
|
380
|
-
|
381
|
-
<span class="preproc">#define</span><span class="normal"> TARGET_SIZE </span><span class="number">200</span>
|
382
|
-
<span class="preproc">#define</span><span class="normal"> HANDLE_SIZE </span><span class="number">128</span>
|
383
|
-
|
384
|
-
<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>
|
385
|
-
<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>
|
386
|
-
<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>
|
387
|
-
<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>
|
388
|
-
|
389
|
-
<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>
|
390
|
-
|
391
|
-
<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>
|
392
|
-
|
393
|
-
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
394
|
-
<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>
|
395
|
-
<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>
|
396
|
-
<span class="normal"> </span><span class="usertype">gfloat</span><span class="normal"> event_x</span><span class="symbol">,</span>
|
397
|
-
<span class="normal"> </span><span class="usertype">gfloat</span><span class="normal"> event_y</span><span class="symbol">,</span>
|
398
|
-
<span class="normal"> </span><span class="usertype">ClutterModifierType</span><span class="normal"> modifiers</span><span class="symbol">)</span>
|
399
|
-
<span class="cbracket">{</span>
|
400
|
-
<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>
|
401
|
-
|
402
|
-
<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>
|
403
|
-
<span class="normal"> event_x</span><span class="symbol">,</span><span class="normal"> event_y</span><span class="symbol">);</span>
|
404
|
-
|
405
|
-
<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>
|
406
|
-
<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>
|
407
|
-
<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>
|
408
|
-
<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>
|
409
|
-
|
410
|
-
<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>
|
411
|
-
|
412
|
-
<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>
|
413
|
-
<span class="normal"> </span><span class="cbracket">{</span>
|
414
|
-
<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>
|
415
|
-
<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>
|
416
|
-
|
417
|
-
<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>
|
418
|
-
<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>
|
419
|
-
<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>
|
420
|
-
<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>
|
421
|
-
|
422
|
-
<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>
|
423
|
-
|
424
|
-
<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>
|
425
|
-
<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>
|
426
|
-
<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>
|
427
|
-
|
428
|
-
<span class="normal"> </span><span class="cbracket">}</span>
|
429
|
-
<span class="normal"> </span><span class="keyword">else</span>
|
430
|
-
<span class="normal"> </span><span class="cbracket">{</span>
|
431
|
-
<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>
|
432
|
-
<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>
|
433
|
-
<span class="normal"> </span><span class="cbracket">}</span>
|
434
|
-
|
435
|
-
<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>
|
436
|
-
|
437
|
-
<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>
|
438
|
-
<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>
|
439
|
-
<span class="normal"> NULL</span><span class="symbol">);</span>
|
440
|
-
<span class="cbracket">}</span>
|
441
|
-
|
442
|
-
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
443
|
-
<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>
|
444
|
-
<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>
|
445
|
-
<span class="normal"> </span><span class="usertype">gfloat</span><span class="normal"> event_x</span><span class="symbol">,</span>
|
446
|
-
<span class="normal"> </span><span class="usertype">gfloat</span><span class="normal"> event_y</span><span class="symbol">,</span>
|
447
|
-
<span class="normal"> </span><span class="usertype">ClutterModifierType</span><span class="normal"> modifiers</span><span class="symbol">)</span>
|
448
|
-
<span class="cbracket">{</span>
|
449
|
-
<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>
|
450
|
-
<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>
|
451
|
-
|
452
|
-
<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>
|
453
|
-
|
454
|
-
<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>
|
455
|
-
<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>
|
456
|
-
<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>
|
457
|
-
<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>
|
458
|
-
<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>
|
459
|
-
|
460
|
-
<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>
|
461
|
-
|
462
|
-
<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>
|
463
|
-
<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>
|
464
|
-
<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>
|
465
|
-
<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>
|
466
|
-
|
467
|
-
<span class="normal"> drop_successful </span><span class="symbol">=</span><span class="normal"> FALSE</span><span class="symbol">;</span>
|
468
|
-
<span class="cbracket">}</span>
|
469
|
-
|
470
|
-
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
471
|
-
<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>
|
472
|
-
<span class="cbracket">{</span>
|
473
|
-
<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>
|
474
|
-
|
475
|
-
<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>
|
476
|
-
<span class="normal"> </span><span class="cbracket">{</span>
|
477
|
-
<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>
|
478
|
-
|
479
|
-
<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>
|
480
|
-
<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>
|
481
|
-
<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>
|
482
|
-
<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>
|
483
|
-
<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>
|
484
|
-
<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>
|
485
|
-
<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>
|
486
|
-
|
487
|
-
<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>
|
488
|
-
<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>
|
489
|
-
<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>
|
490
|
-
|
491
|
-
<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>
|
492
|
-
<span class="normal"> </span><span class="cbracket">}</span>
|
493
|
-
|
494
|
-
<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>
|
495
|
-
<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>
|
496
|
-
<span class="normal"> </span><span class="cbracket">{</span>
|
497
|
-
<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>
|
498
|
-
<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>
|
499
|
-
<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>
|
500
|
-
<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>
|
501
|
-
<span class="normal"> </span><span class="keyword">return</span><span class="symbol">;</span>
|
502
|
-
<span class="normal"> </span><span class="cbracket">}</span>
|
503
|
-
|
504
|
-
<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>
|
505
|
-
<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>
|
506
|
-
<span class="normal"> </span><span class="cbracket">{</span>
|
507
|
-
<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>
|
508
|
-
|
509
|
-
<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>
|
510
|
-
<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>
|
511
|
-
<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>
|
512
|
-
<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>
|
513
|
-
<span class="normal"> </span><span class="cbracket">}</span>
|
514
|
-
|
515
|
-
<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>
|
516
|
-
|
517
|
-
<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>
|
518
|
-
<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>
|
519
|
-
<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>
|
520
|
-
<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>
|
521
|
-
|
522
|
-
<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>
|
523
|
-
<span class="cbracket">}</span>
|
524
|
-
|
525
|
-
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
526
|
-
<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>
|
527
|
-
<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>
|
528
|
-
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> _data</span><span class="symbol">)</span>
|
529
|
-
<span class="cbracket">{</span>
|
530
|
-
<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>
|
531
|
-
<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>
|
532
|
-
<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>
|
533
|
-
|
534
|
-
<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>
|
535
|
-
|
536
|
-
<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>
|
537
|
-
<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>
|
538
|
-
<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>
|
539
|
-
<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>
|
540
|
-
<span class="cbracket">}</span>
|
541
|
-
|
542
|
-
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
543
|
-
<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>
|
544
|
-
<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>
|
545
|
-
<span class="normal"> </span><span class="usertype">gfloat</span><span class="normal"> event_x</span><span class="symbol">,</span>
|
546
|
-
<span class="normal"> </span><span class="usertype">gfloat</span><span class="normal"> event_y</span><span class="symbol">)</span>
|
547
|
-
<span class="cbracket">{</span>
|
548
|
-
<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>
|
549
|
-
|
550
|
-
<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>
|
551
|
-
|
552
|
-
<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>
|
553
|
-
<span class="normal"> </span><span class="symbol">&</span><span class="normal">actor_x</span><span class="symbol">,</span>
|
554
|
-
<span class="normal"> </span><span class="symbol">&</span><span class="normal">actor_y</span><span class="symbol">);</span>
|
555
|
-
|
556
|
-
<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>
|
557
|
-
<span class="normal"> actor_x</span><span class="symbol">,</span><span class="normal"> actor_y</span><span class="symbol">,</span>
|
558
|
-
<span class="normal"> event_x</span><span class="symbol">,</span><span class="normal"> event_y</span><span class="symbol">);</span>
|
559
|
-
|
560
|
-
<span class="normal"> drop_successful </span><span class="symbol">=</span><span class="normal"> TRUE</span><span class="symbol">;</span>
|
561
|
-
<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>
|
562
|
-
<span class="cbracket">}</span>
|
563
|
-
|
564
|
-
<span class="type">int</span>
|
565
|
-
<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>
|
566
|
-
<span class="cbracket">{</span>
|
567
|
-
<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>
|
568
|
-
|
569
|
-
<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>
|
570
|
-
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> EXIT_FAILURE</span><span class="symbol">;</span>
|
571
|
-
|
572
|
-
<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>
|
573
|
-
<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>
|
574
|
-
<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>
|
575
|
-
|
576
|
-
<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>
|
577
|
-
<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>
|
578
|
-
<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>
|
579
|
-
<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>
|
580
|
-
<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>
|
581
|
-
<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>
|
582
|
-
<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>
|
583
|
-
|
584
|
-
<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>
|
585
|
-
<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>
|
586
|
-
<span class="normal"> </span><span class="string">"over-in"</span><span class="symbol">,</span>
|
587
|
-
<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>
|
588
|
-
<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>
|
589
|
-
<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>
|
590
|
-
<span class="normal"> </span><span class="string">"over-out"</span><span class="symbol">,</span>
|
591
|
-
<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>
|
592
|
-
<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>
|
593
|
-
<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>
|
594
|
-
<span class="normal"> </span><span class="string">"drop"</span><span class="symbol">,</span>
|
595
|
-
<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>
|
596
|
-
<span class="normal"> NULL</span><span class="symbol">);</span>
|
597
|
-
|
598
|
-
<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>
|
599
|
-
<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>
|
600
|
-
<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>
|
601
|
-
<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>
|
602
|
-
<span class="normal"> TARGET_SIZE</span><span class="symbol">);</span>
|
603
|
-
<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>
|
604
|
-
<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>
|
605
|
-
<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>
|
606
|
-
|
607
|
-
<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>
|
608
|
-
<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>
|
609
|
-
<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>
|
610
|
-
<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>
|
611
|
-
<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>
|
612
|
-
<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>
|
613
|
-
<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>
|
614
|
-
|
615
|
-
<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>
|
616
|
-
<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>
|
617
|
-
<span class="normal"> </span><span class="string">"over-in"</span><span class="symbol">,</span>
|
618
|
-
<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>
|
619
|
-
<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>
|
620
|
-
<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>
|
621
|
-
<span class="normal"> </span><span class="string">"over-out"</span><span class="symbol">,</span>
|
622
|
-
<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>
|
623
|
-
<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>
|
624
|
-
<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>
|
625
|
-
<span class="normal"> </span><span class="string">"drop"</span><span class="symbol">,</span>
|
626
|
-
<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>
|
627
|
-
<span class="normal"> NULL</span><span class="symbol">);</span>
|
628
|
-
|
629
|
-
<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>
|
630
|
-
<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>
|
631
|
-
<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>
|
632
|
-
|
633
|
-
<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>
|
634
|
-
|
635
|
-
<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>
|
636
|
-
|
637
|
-
<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>
|
638
|
-
|
639
|
-
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> EXIT_SUCCESS</span><span class="symbol">;</span>
|
640
|
-
<span class="cbracket">}</span></pre></td>
|
641
|
-
</tr>
|
642
|
-
</tbody>
|
643
|
-
</table>
|
144
|
+
<p></p>
|
145
|
+
<p>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
|
146
|
+
<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>
|
147
|
+
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
|
148
|
+
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
|
149
|
+
device button is released.</p>
|
150
|
+
<p>It's important to note that <a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a> will only work with
|
151
|
+
actors dragged using <a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a>.</p>
|
152
|
+
<p>See <a class="ulink" href="https://git.gnome.org/browse/clutter/tree/examples/drop-action.c?h=clutter-1.18" target="_top">drop-action.c</a>
|
153
|
+
for an example of how to use <a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a>.</p>
|
154
|
+
<p><a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a> is available since Clutter 1.8</p>
|
644
155
|
</div>
|
645
|
-
|
156
|
+
<div class="refsect1">
|
157
|
+
<a name="ClutterDropAction.functions_details"></a><h2>Functions</h2>
|
158
|
+
<div class="refsect2">
|
159
|
+
<a name="clutter-drop-action-new"></a><h3>clutter_drop_action_new ()</h3>
|
160
|
+
<pre class="programlisting"><a class="link" href="ClutterAction.html" title="ClutterAction"><span class="returnvalue">ClutterAction</span></a> *
|
161
|
+
clutter_drop_action_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
162
|
+
<p>Creates a new <a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a>.</p>
|
163
|
+
<p>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>.</p>
|
164
|
+
<div class="refsect3">
|
165
|
+
<a name="id-1.5.5.4.8.2.6"></a><h4>Returns</h4>
|
166
|
+
<p> the newly created <a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a></p>
|
167
|
+
<p></p>
|
168
|
+
</div>
|
169
|
+
<p class="since">Since 1.8</p>
|
646
170
|
</div>
|
647
|
-
<p><br class="example-break">
|
648
|
-
</p>
|
649
|
-
<p>
|
650
|
-
It's important to note that <a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a> will only work with
|
651
|
-
actors dragged using <a class="link" href="ClutterDragAction.html" title="ClutterDragAction"><span class="type">ClutterDragAction</span></a>.
|
652
|
-
</p>
|
653
|
-
<p>
|
654
|
-
<a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a> is available since Clutter 1.8
|
655
|
-
</p>
|
656
171
|
</div>
|
657
172
|
<div class="refsect1">
|
658
|
-
<a name="ClutterDropAction.
|
173
|
+
<a name="ClutterDropAction.other_details"></a><h2>Types and Values</h2>
|
659
174
|
<div class="refsect2">
|
660
175
|
<a name="ClutterDropAction-struct"></a><h3>struct ClutterDropAction</h3>
|
661
176
|
<pre class="programlisting">struct ClutterDropAction;</pre>
|
662
|
-
<p>
|
663
|
-
|
664
|
-
private data and should be accessed using the provided API.
|
665
|
-
</p>
|
177
|
+
<p>The <a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a> structure contains only
|
178
|
+
private data and should be accessed using the provided API.</p>
|
666
179
|
<p class="since">Since 1.8</p>
|
667
180
|
</div>
|
668
181
|
<hr>
|
@@ -685,276 +198,301 @@ private data and should be accessed using the provided API.
|
|
685
198
|
gfloat event_y);
|
686
199
|
};
|
687
200
|
</pre>
|
688
|
-
<p>
|
689
|
-
|
690
|
-
|
691
|
-
</
|
692
|
-
<div class="
|
201
|
+
<p>The <a class="link" href="ClutterDropAction.html#ClutterDropActionClass" title="struct ClutterDropActionClass"><span class="type">ClutterDropActionClass</span></a> structure contains
|
202
|
+
only private data.</p>
|
203
|
+
<div class="refsect3">
|
204
|
+
<a name="id-1.5.5.4.9.3.5"></a><h4>Members</h4>
|
205
|
+
<div class="informaltable"><table width="100%" border="0">
|
693
206
|
<colgroup>
|
694
|
-
<col
|
695
|
-
<col>
|
207
|
+
<col width="300px" class="struct_members_name">
|
208
|
+
<col class="struct_members_description">
|
209
|
+
<col width="200px" class="struct_members_annotations">
|
696
210
|
</colgroup>
|
697
211
|
<tbody>
|
698
212
|
<tr>
|
699
|
-
<td
|
700
|
-
<td>class handler for the <a class="link" href="ClutterDropAction.html#ClutterDropAction-can-drop" title=
|
213
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="ClutterDropActionClass.can-drop"></a>can_drop</code></em> ()</p></td>
|
214
|
+
<td class="struct_member_description"><p>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</p></td>
|
215
|
+
<td class="struct_member_annotations"> </td>
|
701
216
|
</tr>
|
702
217
|
<tr>
|
703
|
-
<td
|
704
|
-
<td>class handler for the <a class="link" href="ClutterDropAction.html#ClutterDropAction-over-in" title=
|
218
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="ClutterDropActionClass.over-in"></a>over_in</code></em> ()</p></td>
|
219
|
+
<td class="struct_member_description"><p>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</p></td>
|
220
|
+
<td class="struct_member_annotations"> </td>
|
705
221
|
</tr>
|
706
222
|
<tr>
|
707
|
-
<td
|
708
|
-
<td>class handler for the <a class="link" href="ClutterDropAction.html#ClutterDropAction-over-out" title=
|
223
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="ClutterDropActionClass.over-out"></a>over_out</code></em> ()</p></td>
|
224
|
+
<td class="struct_member_description"><p>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</p></td>
|
225
|
+
<td class="struct_member_annotations"> </td>
|
709
226
|
</tr>
|
710
227
|
<tr>
|
711
|
-
<td
|
712
|
-
<td>class handler for the <a class="link" href="ClutterDropAction.html#ClutterDropAction-drop" title=
|
228
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="ClutterDropActionClass.drop"></a>drop</code></em> ()</p></td>
|
229
|
+
<td class="struct_member_description"><p>class handler for the <a class="link" href="ClutterDropAction.html#ClutterDropAction-drop" title="The “drop” signal"><span class="type">“drop”</span></a> signal</p></td>
|
230
|
+
<td class="struct_member_annotations"> </td>
|
713
231
|
</tr>
|
714
232
|
</tbody>
|
715
233
|
</table></div>
|
716
|
-
<p class="since">Since 1.8</p>
|
717
234
|
</div>
|
718
|
-
<hr>
|
719
|
-
<div class="refsect2">
|
720
|
-
<a name="clutter-drop-action-new"></a><h3>clutter_drop_action_new ()</h3>
|
721
|
-
<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>
|
722
|
-
<p>
|
723
|
-
Creates a new <a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a>.
|
724
|
-
</p>
|
725
|
-
<p>
|
726
|
-
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>.
|
727
|
-
</p>
|
728
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
729
|
-
<colgroup>
|
730
|
-
<col align="left" valign="top">
|
731
|
-
<col>
|
732
|
-
</colgroup>
|
733
|
-
<tbody><tr>
|
734
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
735
|
-
<td>the newly created <a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a>
|
736
|
-
</td>
|
737
|
-
</tr></tbody>
|
738
|
-
</table></div>
|
739
235
|
<p class="since">Since 1.8</p>
|
740
236
|
</div>
|
741
237
|
</div>
|
742
238
|
<div class="refsect1">
|
743
239
|
<a name="ClutterDropAction.signal-details"></a><h2>Signal Details</h2>
|
744
240
|
<div class="refsect2">
|
745
|
-
<a name="ClutterDropAction-can-drop"></a><h3>The <code class="literal"
|
746
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
<
|
752
|
-
The ::can-drop signal is emitted when the dragged actor is dropped
|
753
|
-
on <em class="parameter"><code>actor</code></em
|
754
|
-
|
755
|
-
|
756
|
-
</
|
757
|
-
|
758
|
-
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
|
759
|
-
this signal
|
760
|
-
|
761
|
-
<
|
241
|
+
<a name="ClutterDropAction-can-drop"></a><h3>The <code class="literal">“can-drop”</code> signal</h3>
|
242
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
243
|
+
user_function (<a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a> *action,
|
244
|
+
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor,
|
245
|
+
<span class="type">gfloat</span> event_x,
|
246
|
+
<span class="type">gfloat</span> event_y,
|
247
|
+
<span class="type">gpointer</span> user_data)</pre>
|
248
|
+
<p>The ::can-drop signal is emitted when the dragged actor is dropped
|
249
|
+
on <em class="parameter"><code>actor</code></em>
|
250
|
+
. The return value of the ::can-drop signal will determine
|
251
|
+
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
|
252
|
+
emitted on <em class="parameter"><code>action</code></em>
|
253
|
+
.</p>
|
254
|
+
<p>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
|
255
|
+
this signal.</p>
|
256
|
+
<div class="refsect3">
|
257
|
+
<a name="id-1.5.5.4.10.2.6"></a><h4>Parameters</h4>
|
258
|
+
<div class="informaltable"><table width="100%" border="0">
|
762
259
|
<colgroup>
|
763
|
-
<col
|
764
|
-
<col>
|
260
|
+
<col width="150px" class="parameters_name">
|
261
|
+
<col class="parameters_description">
|
262
|
+
<col width="200px" class="parameters_annotations">
|
765
263
|
</colgroup>
|
766
264
|
<tbody>
|
767
265
|
<tr>
|
768
|
-
<td
|
769
|
-
<td>the <a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a> that emitted the signal</td>
|
770
|
-
</
|
771
|
-
<tr>
|
772
|
-
<td><p><span class="term"><em class="parameter"><code>actor</code></em> :</span></p></td>
|
773
|
-
<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>
|
774
|
-
</td>
|
266
|
+
<td class="parameter_name"><p>action</p></td>
|
267
|
+
<td class="parameter_description"><p>the <a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a> that emitted the signal</p></td>
|
268
|
+
<td class="parameter_annotations"> </td>
|
775
269
|
</tr>
|
776
270
|
<tr>
|
777
|
-
<td
|
778
|
-
<td>the
|
271
|
+
<td class="parameter_name"><p>actor</p></td>
|
272
|
+
<td class="parameter_description"><p>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>
|
273
|
+
</p></td>
|
274
|
+
<td class="parameter_annotations"> </td>
|
779
275
|
</tr>
|
780
276
|
<tr>
|
781
|
-
<td
|
782
|
-
<td>the
|
277
|
+
<td class="parameter_name"><p>event_x</p></td>
|
278
|
+
<td class="parameter_description"><p>the X coordinate (in stage space) of the drop event</p></td>
|
279
|
+
<td class="parameter_annotations"> </td>
|
783
280
|
</tr>
|
784
281
|
<tr>
|
785
|
-
<td
|
786
|
-
<td>
|
282
|
+
<td class="parameter_name"><p>event_y</p></td>
|
283
|
+
<td class="parameter_description"><p>the Y coordinate (in stage space) of the drop event</p></td>
|
284
|
+
<td class="parameter_annotations"> </td>
|
787
285
|
</tr>
|
788
286
|
<tr>
|
789
|
-
<td
|
790
|
-
<td>
|
791
|
-
<
|
287
|
+
<td class="parameter_name"><p>user_data</p></td>
|
288
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
289
|
+
<td class="parameter_annotations"> </td>
|
792
290
|
</tr>
|
793
291
|
</tbody>
|
794
292
|
</table></div>
|
293
|
+
</div>
|
294
|
+
<div class="refsect3">
|
295
|
+
<a name="id-1.5.5.4.10.2.7"></a><h4>Returns</h4>
|
296
|
+
<p> <code class="literal">TRUE</code> if the drop is accepted, and <code class="literal">FALSE</code> otherwise</p>
|
297
|
+
<p></p>
|
298
|
+
</div>
|
299
|
+
<p>Flags: Run Last</p>
|
795
300
|
<p class="since">Since 1.8</p>
|
796
301
|
</div>
|
797
302
|
<hr>
|
798
303
|
<div class="refsect2">
|
799
|
-
<a name="ClutterDropAction-drop"></a><h3>The <code class="literal"
|
800
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
<
|
806
|
-
The ::drop signal is emitted when the dragged actor is dropped
|
807
|
-
on <em class="parameter"><code>actor</code></em
|
808
|
-
|
809
|
-
</p>
|
810
|
-
<div class="
|
304
|
+
<a name="ClutterDropAction-drop"></a><h3>The <code class="literal">“drop”</code> signal</h3>
|
305
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
306
|
+
user_function (<a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a> *action,
|
307
|
+
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor,
|
308
|
+
<span class="type">gfloat</span> event_x,
|
309
|
+
<span class="type">gfloat</span> event_y,
|
310
|
+
<span class="type">gpointer</span> user_data)</pre>
|
311
|
+
<p>The ::drop signal is emitted when the dragged actor is dropped
|
312
|
+
on <em class="parameter"><code>actor</code></em>
|
313
|
+
. This signal is only emitted if at least an handler of
|
314
|
+
<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>.</p>
|
315
|
+
<div class="refsect3">
|
316
|
+
<a name="id-1.5.5.4.10.3.5"></a><h4>Parameters</h4>
|
317
|
+
<div class="informaltable"><table width="100%" border="0">
|
811
318
|
<colgroup>
|
812
|
-
<col
|
813
|
-
<col>
|
319
|
+
<col width="150px" class="parameters_name">
|
320
|
+
<col class="parameters_description">
|
321
|
+
<col width="200px" class="parameters_annotations">
|
814
322
|
</colgroup>
|
815
323
|
<tbody>
|
816
324
|
<tr>
|
817
|
-
<td
|
818
|
-
<td>the <a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a> that emitted the signal</td>
|
325
|
+
<td class="parameter_name"><p>action</p></td>
|
326
|
+
<td class="parameter_description"><p>the <a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a> that emitted the signal</p></td>
|
327
|
+
<td class="parameter_annotations"> </td>
|
819
328
|
</tr>
|
820
329
|
<tr>
|
821
|
-
<td
|
822
|
-
<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>
|
823
|
-
</td>
|
330
|
+
<td class="parameter_name"><p>actor</p></td>
|
331
|
+
<td class="parameter_description"><p>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>
|
332
|
+
</p></td>
|
333
|
+
<td class="parameter_annotations"> </td>
|
824
334
|
</tr>
|
825
335
|
<tr>
|
826
|
-
<td
|
827
|
-
<td>the X coordinate (in stage space) of the drop event</td>
|
336
|
+
<td class="parameter_name"><p>event_x</p></td>
|
337
|
+
<td class="parameter_description"><p>the X coordinate (in stage space) of the drop event</p></td>
|
338
|
+
<td class="parameter_annotations"> </td>
|
828
339
|
</tr>
|
829
340
|
<tr>
|
830
|
-
<td
|
831
|
-
<td>the Y coordinate (in stage space) of the drop event</td>
|
341
|
+
<td class="parameter_name"><p>event_y</p></td>
|
342
|
+
<td class="parameter_description"><p>the Y coordinate (in stage space) of the drop event</p></td>
|
343
|
+
<td class="parameter_annotations"> </td>
|
832
344
|
</tr>
|
833
345
|
<tr>
|
834
|
-
<td
|
835
|
-
<td>user data set when the signal handler was connected.</td>
|
346
|
+
<td class="parameter_name"><p>user_data</p></td>
|
347
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
348
|
+
<td class="parameter_annotations"> </td>
|
836
349
|
</tr>
|
837
350
|
</tbody>
|
838
351
|
</table></div>
|
352
|
+
</div>
|
353
|
+
<p>Flags: Run Last</p>
|
839
354
|
<p class="since">Since 1.8</p>
|
840
355
|
</div>
|
841
356
|
<hr>
|
842
357
|
<div class="refsect2">
|
843
|
-
<a name="ClutterDropAction-drop-cancel"></a><h3>The <code class="literal"
|
844
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
845
|
-
|
846
|
-
|
847
|
-
|
848
|
-
|
849
|
-
<
|
850
|
-
The ::drop-cancel signal is emitted when the drop is refused
|
851
|
-
by an emission of the <a class="link" href="ClutterDropAction.html#ClutterDropAction-can-drop" title=
|
852
|
-
|
853
|
-
|
854
|
-
|
855
|
-
|
856
|
-
|
857
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
358
|
+
<a name="ClutterDropAction-drop-cancel"></a><h3>The <code class="literal">“drop-cancel”</code> signal</h3>
|
359
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
360
|
+
user_function (<a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a> *action,
|
361
|
+
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor,
|
362
|
+
<span class="type">gfloat</span> event_x,
|
363
|
+
<span class="type">gfloat</span> event_y,
|
364
|
+
<span class="type">gpointer</span> user_data)</pre>
|
365
|
+
<p>The ::drop-cancel signal is emitted when the drop is refused
|
366
|
+
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.</p>
|
367
|
+
<p>After the ::drop-cancel signal is fired the active drag is
|
368
|
+
terminated.</p>
|
369
|
+
<div class="refsect3">
|
370
|
+
<a name="id-1.5.5.4.10.4.6"></a><h4>Parameters</h4>
|
371
|
+
<div class="informaltable"><table width="100%" border="0">
|
858
372
|
<colgroup>
|
859
|
-
<col
|
860
|
-
<col>
|
373
|
+
<col width="150px" class="parameters_name">
|
374
|
+
<col class="parameters_description">
|
375
|
+
<col width="200px" class="parameters_annotations">
|
861
376
|
</colgroup>
|
862
377
|
<tbody>
|
863
378
|
<tr>
|
864
|
-
<td
|
865
|
-
<td>the <a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a> that emitted the signal</td>
|
379
|
+
<td class="parameter_name"><p>action</p></td>
|
380
|
+
<td class="parameter_description"><p>the <a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a> that emitted the signal</p></td>
|
381
|
+
<td class="parameter_annotations"> </td>
|
866
382
|
</tr>
|
867
383
|
<tr>
|
868
|
-
<td
|
869
|
-
<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>
|
870
|
-
</td>
|
384
|
+
<td class="parameter_name"><p>actor</p></td>
|
385
|
+
<td class="parameter_description"><p>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>
|
386
|
+
</p></td>
|
387
|
+
<td class="parameter_annotations"> </td>
|
871
388
|
</tr>
|
872
389
|
<tr>
|
873
|
-
<td
|
874
|
-
<td>the X coordinate (in stage space) of the drop event</td>
|
390
|
+
<td class="parameter_name"><p>event_x</p></td>
|
391
|
+
<td class="parameter_description"><p>the X coordinate (in stage space) of the drop event</p></td>
|
392
|
+
<td class="parameter_annotations"> </td>
|
875
393
|
</tr>
|
876
394
|
<tr>
|
877
|
-
<td
|
878
|
-
<td>the Y coordinate (in stage space) of the drop event</td>
|
395
|
+
<td class="parameter_name"><p>event_y</p></td>
|
396
|
+
<td class="parameter_description"><p>the Y coordinate (in stage space) of the drop event</p></td>
|
397
|
+
<td class="parameter_annotations"> </td>
|
879
398
|
</tr>
|
880
399
|
<tr>
|
881
|
-
<td
|
882
|
-
<td>user data set when the signal handler was connected.</td>
|
400
|
+
<td class="parameter_name"><p>user_data</p></td>
|
401
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
402
|
+
<td class="parameter_annotations"> </td>
|
883
403
|
</tr>
|
884
404
|
</tbody>
|
885
405
|
</table></div>
|
406
|
+
</div>
|
407
|
+
<p>Flags: Run Last</p>
|
886
408
|
<p class="since">Since 1.12</p>
|
887
409
|
</div>
|
888
410
|
<hr>
|
889
411
|
<div class="refsect2">
|
890
|
-
<a name="ClutterDropAction-over-in"></a><h3>The <code class="literal"
|
891
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
892
|
-
|
893
|
-
|
894
|
-
<
|
895
|
-
The ::over-in signal is emitted when the dragged actor crosses
|
896
|
-
into <em class="parameter"><code>actor</code></em
|
897
|
-
|
898
|
-
<div class="
|
412
|
+
<a name="ClutterDropAction-over-in"></a><h3>The <code class="literal">“over-in”</code> signal</h3>
|
413
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
414
|
+
user_function (<a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a> *action,
|
415
|
+
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor,
|
416
|
+
<span class="type">gpointer</span> user_data)</pre>
|
417
|
+
<p>The ::over-in signal is emitted when the dragged actor crosses
|
418
|
+
into <em class="parameter"><code>actor</code></em>
|
419
|
+
.</p>
|
420
|
+
<div class="refsect3">
|
421
|
+
<a name="id-1.5.5.4.10.5.5"></a><h4>Parameters</h4>
|
422
|
+
<div class="informaltable"><table width="100%" border="0">
|
899
423
|
<colgroup>
|
900
|
-
<col
|
901
|
-
<col>
|
424
|
+
<col width="150px" class="parameters_name">
|
425
|
+
<col class="parameters_description">
|
426
|
+
<col width="200px" class="parameters_annotations">
|
902
427
|
</colgroup>
|
903
428
|
<tbody>
|
904
429
|
<tr>
|
905
|
-
<td
|
906
|
-
<td>the <a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a> that emitted the signal</td>
|
430
|
+
<td class="parameter_name"><p>action</p></td>
|
431
|
+
<td class="parameter_description"><p>the <a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a> that emitted the signal</p></td>
|
432
|
+
<td class="parameter_annotations"> </td>
|
907
433
|
</tr>
|
908
434
|
<tr>
|
909
|
-
<td
|
910
|
-
<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>
|
911
|
-
</td>
|
435
|
+
<td class="parameter_name"><p>actor</p></td>
|
436
|
+
<td class="parameter_description"><p>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>
|
437
|
+
</p></td>
|
438
|
+
<td class="parameter_annotations"> </td>
|
912
439
|
</tr>
|
913
440
|
<tr>
|
914
|
-
<td
|
915
|
-
<td>user data set when the signal handler was connected.</td>
|
441
|
+
<td class="parameter_name"><p>user_data</p></td>
|
442
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
443
|
+
<td class="parameter_annotations"> </td>
|
916
444
|
</tr>
|
917
445
|
</tbody>
|
918
446
|
</table></div>
|
447
|
+
</div>
|
448
|
+
<p>Flags: Run Last</p>
|
919
449
|
<p class="since">Since 1.8</p>
|
920
450
|
</div>
|
921
451
|
<hr>
|
922
452
|
<div class="refsect2">
|
923
|
-
<a name="ClutterDropAction-over-out"></a><h3>The <code class="literal"
|
924
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
925
|
-
|
926
|
-
|
927
|
-
<
|
928
|
-
The ::over-out signal is emitted when the dragged actor crosses
|
929
|
-
outside <em class="parameter"><code>actor</code></em
|
930
|
-
|
931
|
-
<div class="
|
453
|
+
<a name="ClutterDropAction-over-out"></a><h3>The <code class="literal">“over-out”</code> signal</h3>
|
454
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
455
|
+
user_function (<a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a> *action,
|
456
|
+
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor,
|
457
|
+
<span class="type">gpointer</span> user_data)</pre>
|
458
|
+
<p>The ::over-out signal is emitted when the dragged actor crosses
|
459
|
+
outside <em class="parameter"><code>actor</code></em>
|
460
|
+
.</p>
|
461
|
+
<div class="refsect3">
|
462
|
+
<a name="id-1.5.5.4.10.6.5"></a><h4>Parameters</h4>
|
463
|
+
<div class="informaltable"><table width="100%" border="0">
|
932
464
|
<colgroup>
|
933
|
-
<col
|
934
|
-
<col>
|
465
|
+
<col width="150px" class="parameters_name">
|
466
|
+
<col class="parameters_description">
|
467
|
+
<col width="200px" class="parameters_annotations">
|
935
468
|
</colgroup>
|
936
469
|
<tbody>
|
937
470
|
<tr>
|
938
|
-
<td
|
939
|
-
<td>the <a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a> that emitted the signal</td>
|
471
|
+
<td class="parameter_name"><p>action</p></td>
|
472
|
+
<td class="parameter_description"><p>the <a class="link" href="ClutterDropAction.html" title="ClutterDropAction"><span class="type">ClutterDropAction</span></a> that emitted the signal</p></td>
|
473
|
+
<td class="parameter_annotations"> </td>
|
940
474
|
</tr>
|
941
475
|
<tr>
|
942
|
-
<td
|
943
|
-
<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>
|
944
|
-
</td>
|
476
|
+
<td class="parameter_name"><p>actor</p></td>
|
477
|
+
<td class="parameter_description"><p>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>
|
478
|
+
</p></td>
|
479
|
+
<td class="parameter_annotations"> </td>
|
945
480
|
</tr>
|
946
481
|
<tr>
|
947
|
-
<td
|
948
|
-
<td>user data set when the signal handler was connected.</td>
|
482
|
+
<td class="parameter_name"><p>user_data</p></td>
|
483
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
484
|
+
<td class="parameter_annotations"> </td>
|
949
485
|
</tr>
|
950
486
|
</tbody>
|
951
487
|
</table></div>
|
488
|
+
</div>
|
489
|
+
<p>Flags: Run Last</p>
|
952
490
|
<p class="since">Since 1.8</p>
|
953
491
|
</div>
|
954
492
|
</div>
|
955
493
|
</div>
|
956
494
|
<div class="footer">
|
957
495
|
<hr>
|
958
|
-
Generated by GTK-Doc V1.
|
496
|
+
Generated by GTK-Doc V1.20.1</div>
|
959
497
|
</body>
|
960
498
|
</html>
|