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