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,19 +8,16 @@
|
|
8
8
|
<link rel="up" href="ch10.html" title="General purpose API">
|
9
9
|
<link rel="prev" href="clutter-Base-geometric-types.html" title="Base geometric types">
|
10
10
|
<link rel="next" href="clutter-General.html" title="General">
|
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="#ClutterInputDevice.
|
20
|
-
|
21
|
-
<a href="#ClutterInputDevice.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
22
|
-
|
|
23
|
-
<a href="#ClutterInputDevice.properties" class="shortcut">Properties</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="#ClutterInputDevice.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#ClutterInputDevice.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span>
|
20
|
+
<a href="#ClutterInputDevice.properties" class="shortcut">Properties</a></span>
|
24
21
|
</td>
|
25
22
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
26
23
|
<td><a accesskey="u" href="ch10.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
@@ -34,850 +31,901 @@
|
|
34
31
|
<h2><span class="refentrytitle"><a name="ClutterInputDevice.top_of_page"></a>ClutterInputDevice</span></h2>
|
35
32
|
<p>ClutterInputDevice — An input device managed by Clutter</p>
|
36
33
|
</td>
|
37
|
-
<td valign="top" align="right"></td>
|
34
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
38
35
|
</tr></table></div>
|
39
|
-
<div class="refsynopsisdiv">
|
40
|
-
<a name="ClutterInputDevice.synopsis"></a><h2>Synopsis</h2>
|
41
|
-
<pre class="synopsis">enum <a class="link" href="ClutterInputDevice.html#ClutterInputDeviceType" title="enum ClutterInputDeviceType">ClutterInputDeviceType</a>;
|
42
|
-
enum <a class="link" href="ClutterInputDevice.html#ClutterInputAxis" title="enum ClutterInputAxis">ClutterInputAxis</a>;
|
43
|
-
enum <a class="link" href="ClutterInputDevice.html#ClutterInputMode" title="enum ClutterInputMode">ClutterInputMode</a>;
|
44
|
-
<a class="link" href="ClutterInputDevice.html#ClutterInputDevice-struct" title="ClutterInputDevice">ClutterInputDevice</a>;
|
45
|
-
<span class="returnvalue">gint</span> <a class="link" href="ClutterInputDevice.html#clutter-input-device-get-device-id" title="clutter_input_device_get_device_id ()">clutter_input_device_get_device_id</a> (<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>);
|
46
|
-
<a class="link" href="ClutterInputDevice.html#ClutterInputDeviceType" title="enum ClutterInputDeviceType"><span class="returnvalue">ClutterInputDeviceType</span></a> <a class="link" href="ClutterInputDevice.html#clutter-input-device-get-device-type" title="clutter_input_device_get_device_type ()">clutter_input_device_get_device_type</a>
|
47
|
-
(<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>);
|
48
|
-
const <span class="returnvalue">gchar</span> * <a class="link" href="ClutterInputDevice.html#clutter-input-device-get-device-name" title="clutter_input_device_get_device_name ()">clutter_input_device_get_device_name</a>
|
49
|
-
(<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>);
|
50
|
-
<a class="link" href="ClutterInputDevice.html#ClutterInputMode" title="enum ClutterInputMode"><span class="returnvalue">ClutterInputMode</span></a> <a class="link" href="ClutterInputDevice.html#clutter-input-device-get-device-mode" title="clutter_input_device_get_device_mode ()">clutter_input_device_get_device_mode</a>
|
51
|
-
(<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>);
|
52
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterInputDevice.html#clutter-input-device-get-has-cursor" title="clutter_input_device_get_has_cursor ()">clutter_input_device_get_has_cursor</a> (<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>);
|
53
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterInputDevice.html#clutter-input-device-set-enabled" title="clutter_input_device_set_enabled ()">clutter_input_device_set_enabled</a> (<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>,
|
54
|
-
<em class="parameter"><code><span class="type">gboolean</span> enabled</code></em>);
|
55
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterInputDevice.html#clutter-input-device-get-enabled" title="clutter_input_device_get_enabled ()">clutter_input_device_get_enabled</a> (<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>);
|
56
|
-
<a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="returnvalue">ClutterInputDevice</span></a> * <a class="link" href="ClutterInputDevice.html#clutter-input-device-get-associated-device" title="clutter_input_device_get_associated_device ()">clutter_input_device_get_associated_device</a>
|
57
|
-
(<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>);
|
58
|
-
<span class="returnvalue">GList</span> * <a class="link" href="ClutterInputDevice.html#clutter-input-device-get-slave-devices" title="clutter_input_device_get_slave_devices ()">clutter_input_device_get_slave_devices</a>
|
59
|
-
(<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>);
|
60
|
-
<a class="link" href="clutter-Events.html#ClutterModifierType" title="enum ClutterModifierType"><span class="returnvalue">ClutterModifierType</span></a> <a class="link" href="ClutterInputDevice.html#clutter-input-device-get-modifier-state" title="clutter_input_device_get_modifier_state ()">clutter_input_device_get_modifier_state</a>
|
61
|
-
(<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>);
|
62
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterInputDevice.html#clutter-input-device-keycode-to-evdev" title="clutter_input_device_keycode_to_evdev ()">clutter_input_device_keycode_to_evdev</a>
|
63
|
-
(<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>,
|
64
|
-
<em class="parameter"><code><span class="type">guint</span> hardware_keycode</code></em>,
|
65
|
-
<em class="parameter"><code><span class="type">guint</span> *evdev_keycode</code></em>);
|
66
|
-
|
67
|
-
<span class="returnvalue">guint</span> <a class="link" href="ClutterInputDevice.html#clutter-input-device-get-n-keys" title="clutter_input_device_get_n_keys ()">clutter_input_device_get_n_keys</a> (<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>);
|
68
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterInputDevice.html#clutter-input-device-set-key" title="clutter_input_device_set_key ()">clutter_input_device_set_key</a> (<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>,
|
69
|
-
<em class="parameter"><code><span class="type">guint</span> index_</code></em>,
|
70
|
-
<em class="parameter"><code><span class="type">guint</span> keyval</code></em>,
|
71
|
-
<em class="parameter"><code><a class="link" href="clutter-Events.html#ClutterModifierType" title="enum ClutterModifierType"><span class="type">ClutterModifierType</span></a> modifiers</code></em>);
|
72
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterInputDevice.html#clutter-input-device-get-key" title="clutter_input_device_get_key ()">clutter_input_device_get_key</a> (<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>,
|
73
|
-
<em class="parameter"><code><span class="type">guint</span> index_</code></em>,
|
74
|
-
<em class="parameter"><code><span class="type">guint</span> *keyval</code></em>,
|
75
|
-
<em class="parameter"><code><a class="link" href="clutter-Events.html#ClutterModifierType" title="enum ClutterModifierType"><span class="type">ClutterModifierType</span></a> *modifiers</code></em>);
|
76
|
-
|
77
|
-
<span class="returnvalue">guint</span> <a class="link" href="ClutterInputDevice.html#clutter-input-device-get-n-axes" title="clutter_input_device_get_n_axes ()">clutter_input_device_get_n_axes</a> (<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>);
|
78
|
-
<a class="link" href="ClutterInputDevice.html#ClutterInputAxis" title="enum ClutterInputAxis"><span class="returnvalue">ClutterInputAxis</span></a> <a class="link" href="ClutterInputDevice.html#clutter-input-device-get-axis" title="clutter_input_device_get_axis ()">clutter_input_device_get_axis</a> (<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>,
|
79
|
-
<em class="parameter"><code><span class="type">guint</span> index_</code></em>);
|
80
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterInputDevice.html#clutter-input-device-get-axis-value" title="clutter_input_device_get_axis_value ()">clutter_input_device_get_axis_value</a> (<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>,
|
81
|
-
<em class="parameter"><code><span class="type">gdouble</span> *axes</code></em>,
|
82
|
-
<em class="parameter"><code><a class="link" href="ClutterInputDevice.html#ClutterInputAxis" title="enum ClutterInputAxis"><span class="type">ClutterInputAxis</span></a> axis</code></em>,
|
83
|
-
<em class="parameter"><code><span class="type">gdouble</span> *value</code></em>);
|
84
|
-
|
85
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterInputDevice.html#clutter-input-device-get-coords" title="clutter_input_device_get_coords ()">clutter_input_device_get_coords</a> (<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>,
|
86
|
-
<em class="parameter"><code><a class="link" href="clutter-Events.html#ClutterEventSequence" title="ClutterEventSequence"><span class="type">ClutterEventSequence</span></a> *sequence</code></em>,
|
87
|
-
<em class="parameter"><code><a class="link" href="clutter-Base-geometric-types.html#ClutterPoint" title="struct ClutterPoint"><span class="type">ClutterPoint</span></a> *point</code></em>);
|
88
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterInputDevice.html#clutter-input-device-get-device-coords" title="clutter_input_device_get_device_coords ()">clutter_input_device_get_device_coords</a>
|
89
|
-
(<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>,
|
90
|
-
<em class="parameter"><code><span class="type">gint</span> *x</code></em>,
|
91
|
-
<em class="parameter"><code><span class="type">gint</span> *y</code></em>);
|
92
|
-
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> * <a class="link" href="ClutterInputDevice.html#clutter-input-device-get-pointer-actor" title="clutter_input_device_get_pointer_actor ()">clutter_input_device_get_pointer_actor</a>
|
93
|
-
(<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>);
|
94
|
-
<a class="link" href="ClutterStage.html" title="ClutterStage"><span class="returnvalue">ClutterStage</span></a> * <a class="link" href="ClutterInputDevice.html#clutter-input-device-get-pointer-stage" title="clutter_input_device_get_pointer_stage ()">clutter_input_device_get_pointer_stage</a>
|
95
|
-
(<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>);
|
96
|
-
|
97
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterInputDevice.html#clutter-input-device-grab" title="clutter_input_device_grab ()">clutter_input_device_grab</a> (<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>,
|
98
|
-
<em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor</code></em>);
|
99
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterInputDevice.html#clutter-input-device-ungrab" title="clutter_input_device_ungrab ()">clutter_input_device_ungrab</a> (<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>);
|
100
|
-
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> * <a class="link" href="ClutterInputDevice.html#clutter-input-device-get-grabbed-actor" title="clutter_input_device_get_grabbed_actor ()">clutter_input_device_get_grabbed_actor</a>
|
101
|
-
(<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>);
|
102
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterInputDevice.html#clutter-input-device-sequence-grab" title="clutter_input_device_sequence_grab ()">clutter_input_device_sequence_grab</a> (<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>,
|
103
|
-
<em class="parameter"><code><a class="link" href="clutter-Events.html#ClutterEventSequence" title="ClutterEventSequence"><span class="type">ClutterEventSequence</span></a> *sequence</code></em>,
|
104
|
-
<em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor</code></em>);
|
105
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterInputDevice.html#clutter-input-device-sequence-ungrab" title="clutter_input_device_sequence_ungrab ()">clutter_input_device_sequence_ungrab</a>
|
106
|
-
(<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>,
|
107
|
-
<em class="parameter"><code><a class="link" href="clutter-Events.html#ClutterEventSequence" title="ClutterEventSequence"><span class="type">ClutterEventSequence</span></a> *sequence</code></em>);
|
108
|
-
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> * <a class="link" href="ClutterInputDevice.html#clutter-input-device-sequence-get-grabbed-actor" title="clutter_input_device_sequence_get_grabbed_actor ()">clutter_input_device_sequence_get_grabbed_actor</a>
|
109
|
-
(<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>,
|
110
|
-
<em class="parameter"><code><a class="link" href="clutter-Events.html#ClutterEventSequence" title="ClutterEventSequence"><span class="type">ClutterEventSequence</span></a> *sequence</code></em>);
|
111
|
-
|
112
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterInputDevice.html#clutter-input-device-update-from-event" title="clutter_input_device_update_from_event ()">clutter_input_device_update_from_event</a>
|
113
|
-
(<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>,
|
114
|
-
<em class="parameter"><code><a class="link" href="clutter-Events.html#ClutterEvent" title="union ClutterEvent"><span class="type">ClutterEvent</span></a> *event</code></em>,
|
115
|
-
<em class="parameter"><code><span class="type">gboolean</span> update_stage</code></em>);
|
116
|
-
</pre>
|
117
|
-
</div>
|
118
|
-
<div class="refsect1">
|
119
|
-
<a name="ClutterInputDevice.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
120
|
-
<pre class="synopsis">
|
121
|
-
GObject
|
122
|
-
+----ClutterInputDevice
|
123
|
-
</pre>
|
124
|
-
</div>
|
125
36
|
<div class="refsect1">
|
126
|
-
<a name="ClutterInputDevice.
|
127
|
-
<
|
128
|
-
"<a class="link" href="ClutterInputDevice.html#ClutterInputDevice--backend" title='The "backend" property'>backend</a>" <a class="link" href="ClutterBackend.html" title="ClutterBackend"><span class="type">ClutterBackend</span></a>* : Read / Write / Construct Only
|
129
|
-
"<a class="link" href="ClutterInputDevice.html#ClutterInputDevice--device-manager" title='The "device-manager" property'>device-manager</a>" <a class="link" href="ClutterDeviceManager.html" title="ClutterDeviceManager"><span class="type">ClutterDeviceManager</span></a>* : Read / Write / Construct Only
|
130
|
-
"<a class="link" href="ClutterInputDevice.html#ClutterInputDevice--device-mode" title='The "device-mode" property'>device-mode</a>" <a class="link" href="ClutterInputDevice.html#ClutterInputMode" title="enum ClutterInputMode"><span class="type">ClutterInputMode</span></a> : Read / Write / Construct Only
|
131
|
-
"<a class="link" href="ClutterInputDevice.html#ClutterInputDevice--device-type" title='The "device-type" property'>device-type</a>" <a class="link" href="ClutterInputDevice.html#ClutterInputDeviceType" title="enum ClutterInputDeviceType"><span class="type">ClutterInputDeviceType</span></a> : Read / Write / Construct Only
|
132
|
-
"<a class="link" href="ClutterInputDevice.html#ClutterInputDevice--enabled" title='The "enabled" property'>enabled</a>" <span class="type">gboolean</span> : Read / Write
|
133
|
-
"<a class="link" href="ClutterInputDevice.html#ClutterInputDevice--has-cursor" title='The "has-cursor" property'>has-cursor</a>" <span class="type">gboolean</span> : Read / Write / Construct Only
|
134
|
-
"<a class="link" href="ClutterInputDevice.html#ClutterInputDevice--id" title='The "id" property'>id</a>" <span class="type">gint</span> : Read / Write / Construct Only
|
135
|
-
"<a class="link" href="ClutterInputDevice.html#ClutterInputDevice--n-axes" title='The "n-axes" property'>n-axes</a>" <span class="type">guint</span> : Read
|
136
|
-
"<a class="link" href="ClutterInputDevice.html#ClutterInputDevice--name" title='The "name" property'>name</a>" <span class="type">gchar</span>* : Read / Write / Construct Only
|
137
|
-
</pre>
|
138
|
-
</div>
|
139
|
-
<div class="refsect1">
|
140
|
-
<a name="ClutterInputDevice.description"></a><h2>Description</h2>
|
141
|
-
<p>
|
142
|
-
<a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> represents an input device known to Clutter.
|
143
|
-
</p>
|
144
|
-
<p>
|
145
|
-
The <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> class holds the state of the device, but
|
146
|
-
its contents are usually defined by the Clutter backend in use.
|
147
|
-
</p>
|
148
|
-
</div>
|
149
|
-
<div class="refsect1">
|
150
|
-
<a name="ClutterInputDevice.details"></a><h2>Details</h2>
|
151
|
-
<div class="refsect2">
|
152
|
-
<a name="ClutterInputDeviceType"></a><h3>enum ClutterInputDeviceType</h3>
|
153
|
-
<pre class="programlisting">typedef enum {
|
154
|
-
CLUTTER_POINTER_DEVICE,
|
155
|
-
CLUTTER_KEYBOARD_DEVICE,
|
156
|
-
CLUTTER_EXTENSION_DEVICE,
|
157
|
-
CLUTTER_JOYSTICK_DEVICE,
|
158
|
-
CLUTTER_TABLET_DEVICE,
|
159
|
-
CLUTTER_TOUCHPAD_DEVICE,
|
160
|
-
CLUTTER_TOUCHSCREEN_DEVICE,
|
161
|
-
CLUTTER_PEN_DEVICE,
|
162
|
-
CLUTTER_ERASER_DEVICE,
|
163
|
-
CLUTTER_CURSOR_DEVICE,
|
164
|
-
|
165
|
-
CLUTTER_N_DEVICE_TYPES
|
166
|
-
} ClutterInputDeviceType;
|
167
|
-
</pre>
|
168
|
-
<p>
|
169
|
-
The types of input devices available.
|
170
|
-
</p>
|
171
|
-
<p>
|
172
|
-
The <a class="link" href="ClutterInputDevice.html#ClutterInputDeviceType" title="enum ClutterInputDeviceType"><span class="type">ClutterInputDeviceType</span></a> enumeration can be extended at later
|
173
|
-
date; not every platform supports every input device type.
|
174
|
-
</p>
|
175
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
37
|
+
<a name="ClutterInputDevice.functions"></a><h2>Functions</h2>
|
38
|
+
<div class="informaltable"><table width="100%" border="0">
|
176
39
|
<colgroup>
|
177
|
-
<col
|
178
|
-
<col>
|
40
|
+
<col width="150px" class="functions_return">
|
41
|
+
<col class="functions_name">
|
179
42
|
</colgroup>
|
180
43
|
<tbody>
|
181
44
|
<tr>
|
182
|
-
<td
|
183
|
-
<
|
45
|
+
<td class="function_type">
|
46
|
+
<span class="returnvalue">gint</span>
|
47
|
+
</td>
|
48
|
+
<td class="function_name">
|
49
|
+
<a class="link" href="ClutterInputDevice.html#clutter-input-device-get-device-id" title="clutter_input_device_get_device_id ()">clutter_input_device_get_device_id</a> <span class="c_punctuation">()</span>
|
184
50
|
</td>
|
185
51
|
</tr>
|
186
52
|
<tr>
|
187
|
-
<td
|
188
|
-
<
|
53
|
+
<td class="function_type">
|
54
|
+
<a class="link" href="ClutterInputDevice.html#ClutterInputDeviceType" title="enum ClutterInputDeviceType"><span class="returnvalue">ClutterInputDeviceType</span></a>
|
55
|
+
</td>
|
56
|
+
<td class="function_name">
|
57
|
+
<a class="link" href="ClutterInputDevice.html#clutter-input-device-get-device-type" title="clutter_input_device_get_device_type ()">clutter_input_device_get_device_type</a> <span class="c_punctuation">()</span>
|
189
58
|
</td>
|
190
59
|
</tr>
|
191
60
|
<tr>
|
192
|
-
<td
|
193
|
-
|
61
|
+
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
62
|
+
</td>
|
63
|
+
<td class="function_name">
|
64
|
+
<a class="link" href="ClutterInputDevice.html#clutter-input-device-get-device-name" title="clutter_input_device_get_device_name ()">clutter_input_device_get_device_name</a> <span class="c_punctuation">()</span>
|
194
65
|
</td>
|
195
66
|
</tr>
|
196
67
|
<tr>
|
197
|
-
<td
|
198
|
-
<
|
68
|
+
<td class="function_type">
|
69
|
+
<a class="link" href="ClutterInputDevice.html#ClutterInputMode" title="enum ClutterInputMode"><span class="returnvalue">ClutterInputMode</span></a>
|
70
|
+
</td>
|
71
|
+
<td class="function_name">
|
72
|
+
<a class="link" href="ClutterInputDevice.html#clutter-input-device-get-device-mode" title="clutter_input_device_get_device_mode ()">clutter_input_device_get_device_mode</a> <span class="c_punctuation">()</span>
|
199
73
|
</td>
|
200
74
|
</tr>
|
201
75
|
<tr>
|
202
|
-
<td
|
203
|
-
<
|
76
|
+
<td class="function_type">
|
77
|
+
<span class="returnvalue">gboolean</span>
|
78
|
+
</td>
|
79
|
+
<td class="function_name">
|
80
|
+
<a class="link" href="ClutterInputDevice.html#clutter-input-device-get-has-cursor" title="clutter_input_device_get_has_cursor ()">clutter_input_device_get_has_cursor</a> <span class="c_punctuation">()</span>
|
204
81
|
</td>
|
205
82
|
</tr>
|
206
83
|
<tr>
|
207
|
-
<td
|
208
|
-
<
|
84
|
+
<td class="function_type">
|
85
|
+
<span class="returnvalue">void</span>
|
86
|
+
</td>
|
87
|
+
<td class="function_name">
|
88
|
+
<a class="link" href="ClutterInputDevice.html#clutter-input-device-set-enabled" title="clutter_input_device_set_enabled ()">clutter_input_device_set_enabled</a> <span class="c_punctuation">()</span>
|
209
89
|
</td>
|
210
90
|
</tr>
|
211
91
|
<tr>
|
212
|
-
<td
|
213
|
-
<
|
92
|
+
<td class="function_type">
|
93
|
+
<span class="returnvalue">gboolean</span>
|
94
|
+
</td>
|
95
|
+
<td class="function_name">
|
96
|
+
<a class="link" href="ClutterInputDevice.html#clutter-input-device-get-enabled" title="clutter_input_device_get_enabled ()">clutter_input_device_get_enabled</a> <span class="c_punctuation">()</span>
|
214
97
|
</td>
|
215
98
|
</tr>
|
216
99
|
<tr>
|
217
|
-
<td
|
218
|
-
<
|
100
|
+
<td class="function_type">
|
101
|
+
<a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="returnvalue">ClutterInputDevice</span></a> *
|
102
|
+
</td>
|
103
|
+
<td class="function_name">
|
104
|
+
<a class="link" href="ClutterInputDevice.html#clutter-input-device-get-associated-device" title="clutter_input_device_get_associated_device ()">clutter_input_device_get_associated_device</a> <span class="c_punctuation">()</span>
|
219
105
|
</td>
|
220
106
|
</tr>
|
221
107
|
<tr>
|
222
|
-
<td
|
223
|
-
<
|
108
|
+
<td class="function_type">
|
109
|
+
<span class="returnvalue">GList</span> *
|
110
|
+
</td>
|
111
|
+
<td class="function_name">
|
112
|
+
<a class="link" href="ClutterInputDevice.html#clutter-input-device-get-slave-devices" title="clutter_input_device_get_slave_devices ()">clutter_input_device_get_slave_devices</a> <span class="c_punctuation">()</span>
|
224
113
|
</td>
|
225
114
|
</tr>
|
226
115
|
<tr>
|
227
|
-
<td
|
228
|
-
<
|
116
|
+
<td class="function_type">
|
117
|
+
<a class="link" href="clutter-Events.html#ClutterModifierType" title="enum ClutterModifierType"><span class="returnvalue">ClutterModifierType</span></a>
|
118
|
+
</td>
|
119
|
+
<td class="function_name">
|
120
|
+
<a class="link" href="ClutterInputDevice.html#clutter-input-device-get-modifier-state" title="clutter_input_device_get_modifier_state ()">clutter_input_device_get_modifier_state</a> <span class="c_punctuation">()</span>
|
229
121
|
</td>
|
230
122
|
</tr>
|
231
123
|
<tr>
|
232
|
-
<td
|
233
|
-
<
|
124
|
+
<td class="function_type">
|
125
|
+
<span class="returnvalue">gboolean</span>
|
126
|
+
</td>
|
127
|
+
<td class="function_name">
|
128
|
+
<a class="link" href="ClutterInputDevice.html#clutter-input-device-keycode-to-evdev" title="clutter_input_device_keycode_to_evdev ()">clutter_input_device_keycode_to_evdev</a> <span class="c_punctuation">()</span>
|
234
129
|
</td>
|
235
130
|
</tr>
|
236
|
-
</tbody>
|
237
|
-
</table></div>
|
238
|
-
<p class="since">Since 1.0</p>
|
239
|
-
</div>
|
240
|
-
<hr>
|
241
|
-
<div class="refsect2">
|
242
|
-
<a name="ClutterInputAxis"></a><h3>enum ClutterInputAxis</h3>
|
243
|
-
<pre class="programlisting">typedef enum {
|
244
|
-
CLUTTER_INPUT_AXIS_IGNORE,
|
245
|
-
|
246
|
-
CLUTTER_INPUT_AXIS_X,
|
247
|
-
CLUTTER_INPUT_AXIS_Y,
|
248
|
-
CLUTTER_INPUT_AXIS_PRESSURE,
|
249
|
-
CLUTTER_INPUT_AXIS_XTILT,
|
250
|
-
CLUTTER_INPUT_AXIS_YTILT,
|
251
|
-
CLUTTER_INPUT_AXIS_WHEEL,
|
252
|
-
CLUTTER_INPUT_AXIS_DISTANCE,
|
253
|
-
|
254
|
-
CLUTTER_INPUT_AXIS_LAST
|
255
|
-
} ClutterInputAxis;
|
256
|
-
</pre>
|
257
|
-
<p>
|
258
|
-
The type of axes Clutter recognizes on a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a>
|
259
|
-
</p>
|
260
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
261
|
-
<colgroup>
|
262
|
-
<col align="left" valign="top">
|
263
|
-
<col>
|
264
|
-
</colgroup>
|
265
|
-
<tbody>
|
266
131
|
<tr>
|
267
|
-
<td
|
268
|
-
<
|
132
|
+
<td class="function_type">
|
133
|
+
<span class="returnvalue">guint</span>
|
134
|
+
</td>
|
135
|
+
<td class="function_name">
|
136
|
+
<a class="link" href="ClutterInputDevice.html#clutter-input-device-get-n-keys" title="clutter_input_device_get_n_keys ()">clutter_input_device_get_n_keys</a> <span class="c_punctuation">()</span>
|
269
137
|
</td>
|
270
138
|
</tr>
|
271
139
|
<tr>
|
272
|
-
<td
|
273
|
-
<
|
140
|
+
<td class="function_type">
|
141
|
+
<span class="returnvalue">void</span>
|
142
|
+
</td>
|
143
|
+
<td class="function_name">
|
144
|
+
<a class="link" href="ClutterInputDevice.html#clutter-input-device-set-key" title="clutter_input_device_set_key ()">clutter_input_device_set_key</a> <span class="c_punctuation">()</span>
|
274
145
|
</td>
|
275
146
|
</tr>
|
276
147
|
<tr>
|
277
|
-
<td
|
278
|
-
<
|
148
|
+
<td class="function_type">
|
149
|
+
<span class="returnvalue">gboolean</span>
|
150
|
+
</td>
|
151
|
+
<td class="function_name">
|
152
|
+
<a class="link" href="ClutterInputDevice.html#clutter-input-device-get-key" title="clutter_input_device_get_key ()">clutter_input_device_get_key</a> <span class="c_punctuation">()</span>
|
279
153
|
</td>
|
280
154
|
</tr>
|
281
155
|
<tr>
|
282
|
-
<td
|
283
|
-
<
|
156
|
+
<td class="function_type">
|
157
|
+
<span class="returnvalue">guint</span>
|
158
|
+
</td>
|
159
|
+
<td class="function_name">
|
160
|
+
<a class="link" href="ClutterInputDevice.html#clutter-input-device-get-n-axes" title="clutter_input_device_get_n_axes ()">clutter_input_device_get_n_axes</a> <span class="c_punctuation">()</span>
|
284
161
|
</td>
|
285
162
|
</tr>
|
286
163
|
<tr>
|
287
|
-
<td
|
288
|
-
<
|
164
|
+
<td class="function_type">
|
165
|
+
<a class="link" href="ClutterInputDevice.html#ClutterInputAxis" title="enum ClutterInputAxis"><span class="returnvalue">ClutterInputAxis</span></a>
|
166
|
+
</td>
|
167
|
+
<td class="function_name">
|
168
|
+
<a class="link" href="ClutterInputDevice.html#clutter-input-device-get-axis" title="clutter_input_device_get_axis ()">clutter_input_device_get_axis</a> <span class="c_punctuation">()</span>
|
289
169
|
</td>
|
290
170
|
</tr>
|
291
171
|
<tr>
|
292
|
-
<td
|
293
|
-
<
|
172
|
+
<td class="function_type">
|
173
|
+
<span class="returnvalue">gboolean</span>
|
174
|
+
</td>
|
175
|
+
<td class="function_name">
|
176
|
+
<a class="link" href="ClutterInputDevice.html#clutter-input-device-get-axis-value" title="clutter_input_device_get_axis_value ()">clutter_input_device_get_axis_value</a> <span class="c_punctuation">()</span>
|
294
177
|
</td>
|
295
178
|
</tr>
|
296
179
|
<tr>
|
297
|
-
<td
|
298
|
-
<
|
180
|
+
<td class="function_type">
|
181
|
+
<span class="returnvalue">gboolean</span>
|
182
|
+
</td>
|
183
|
+
<td class="function_name">
|
184
|
+
<a class="link" href="ClutterInputDevice.html#clutter-input-device-get-coords" title="clutter_input_device_get_coords ()">clutter_input_device_get_coords</a> <span class="c_punctuation">()</span>
|
299
185
|
</td>
|
300
186
|
</tr>
|
301
187
|
<tr>
|
302
|
-
<td
|
303
|
-
<
|
188
|
+
<td class="function_type">
|
189
|
+
<span class="returnvalue">void</span>
|
190
|
+
</td>
|
191
|
+
<td class="function_name">
|
192
|
+
<a class="link" href="ClutterInputDevice.html#clutter-input-device-get-device-coords" title="clutter_input_device_get_device_coords ()">clutter_input_device_get_device_coords</a> <span class="c_punctuation">()</span>
|
304
193
|
</td>
|
305
194
|
</tr>
|
306
195
|
<tr>
|
307
|
-
<td
|
308
|
-
<
|
309
|
-
|
196
|
+
<td class="function_type">
|
197
|
+
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> *
|
198
|
+
</td>
|
199
|
+
<td class="function_name">
|
200
|
+
<a class="link" href="ClutterInputDevice.html#clutter-input-device-get-pointer-actor" title="clutter_input_device_get_pointer_actor ()">clutter_input_device_get_pointer_actor</a> <span class="c_punctuation">()</span>
|
201
|
+
</td>
|
202
|
+
</tr>
|
203
|
+
<tr>
|
204
|
+
<td class="function_type">
|
205
|
+
<a class="link" href="ClutterStage.html" title="ClutterStage"><span class="returnvalue">ClutterStage</span></a> *
|
206
|
+
</td>
|
207
|
+
<td class="function_name">
|
208
|
+
<a class="link" href="ClutterInputDevice.html#clutter-input-device-get-pointer-stage" title="clutter_input_device_get_pointer_stage ()">clutter_input_device_get_pointer_stage</a> <span class="c_punctuation">()</span>
|
209
|
+
</td>
|
210
|
+
</tr>
|
211
|
+
<tr>
|
212
|
+
<td class="function_type">
|
213
|
+
<span class="returnvalue">void</span>
|
214
|
+
</td>
|
215
|
+
<td class="function_name">
|
216
|
+
<a class="link" href="ClutterInputDevice.html#clutter-input-device-grab" title="clutter_input_device_grab ()">clutter_input_device_grab</a> <span class="c_punctuation">()</span>
|
217
|
+
</td>
|
218
|
+
</tr>
|
219
|
+
<tr>
|
220
|
+
<td class="function_type">
|
221
|
+
<span class="returnvalue">void</span>
|
222
|
+
</td>
|
223
|
+
<td class="function_name">
|
224
|
+
<a class="link" href="ClutterInputDevice.html#clutter-input-device-ungrab" title="clutter_input_device_ungrab ()">clutter_input_device_ungrab</a> <span class="c_punctuation">()</span>
|
225
|
+
</td>
|
226
|
+
</tr>
|
227
|
+
<tr>
|
228
|
+
<td class="function_type">
|
229
|
+
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> *
|
230
|
+
</td>
|
231
|
+
<td class="function_name">
|
232
|
+
<a class="link" href="ClutterInputDevice.html#clutter-input-device-get-grabbed-actor" title="clutter_input_device_get_grabbed_actor ()">clutter_input_device_get_grabbed_actor</a> <span class="c_punctuation">()</span>
|
310
233
|
</td>
|
311
234
|
</tr>
|
312
|
-
</tbody>
|
313
|
-
</table></div>
|
314
|
-
<p class="since">Since 1.6</p>
|
315
|
-
</div>
|
316
|
-
<hr>
|
317
|
-
<div class="refsect2">
|
318
|
-
<a name="ClutterInputMode"></a><h3>enum ClutterInputMode</h3>
|
319
|
-
<pre class="programlisting">typedef enum {
|
320
|
-
CLUTTER_INPUT_MODE_MASTER,
|
321
|
-
CLUTTER_INPUT_MODE_SLAVE,
|
322
|
-
CLUTTER_INPUT_MODE_FLOATING
|
323
|
-
} ClutterInputMode;
|
324
|
-
</pre>
|
325
|
-
<p>
|
326
|
-
The mode for input devices available.
|
327
|
-
</p>
|
328
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
329
|
-
<colgroup>
|
330
|
-
<col align="left" valign="top">
|
331
|
-
<col>
|
332
|
-
</colgroup>
|
333
|
-
<tbody>
|
334
235
|
<tr>
|
335
|
-
<td
|
336
|
-
<
|
236
|
+
<td class="function_type">
|
237
|
+
<span class="returnvalue">void</span>
|
238
|
+
</td>
|
239
|
+
<td class="function_name">
|
240
|
+
<a class="link" href="ClutterInputDevice.html#clutter-input-device-sequence-grab" title="clutter_input_device_sequence_grab ()">clutter_input_device_sequence_grab</a> <span class="c_punctuation">()</span>
|
337
241
|
</td>
|
338
242
|
</tr>
|
339
243
|
<tr>
|
340
|
-
<td
|
341
|
-
<
|
342
|
-
|
244
|
+
<td class="function_type">
|
245
|
+
<span class="returnvalue">void</span>
|
246
|
+
</td>
|
247
|
+
<td class="function_name">
|
248
|
+
<a class="link" href="ClutterInputDevice.html#clutter-input-device-sequence-ungrab" title="clutter_input_device_sequence_ungrab ()">clutter_input_device_sequence_ungrab</a> <span class="c_punctuation">()</span>
|
343
249
|
</td>
|
344
250
|
</tr>
|
345
251
|
<tr>
|
346
|
-
<td
|
347
|
-
<
|
348
|
-
|
252
|
+
<td class="function_type">
|
253
|
+
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> *
|
254
|
+
</td>
|
255
|
+
<td class="function_name">
|
256
|
+
<a class="link" href="ClutterInputDevice.html#clutter-input-device-sequence-get-grabbed-actor" title="clutter_input_device_sequence_get_grabbed_actor ()">clutter_input_device_sequence_get_grabbed_actor</a> <span class="c_punctuation">()</span>
|
257
|
+
</td>
|
258
|
+
</tr>
|
259
|
+
<tr>
|
260
|
+
<td class="function_type">
|
261
|
+
<span class="returnvalue">void</span>
|
262
|
+
</td>
|
263
|
+
<td class="function_name">
|
264
|
+
<a class="link" href="ClutterInputDevice.html#clutter-input-device-update-from-event" title="clutter_input_device_update_from_event ()">clutter_input_device_update_from_event</a> <span class="c_punctuation">()</span>
|
349
265
|
</td>
|
350
266
|
</tr>
|
351
267
|
</tbody>
|
352
268
|
</table></div>
|
353
|
-
<p class="since">Since 1.6</p>
|
354
|
-
</div>
|
355
|
-
<hr>
|
356
|
-
<div class="refsect2">
|
357
|
-
<a name="ClutterInputDevice-struct"></a><h3>ClutterInputDevice</h3>
|
358
|
-
<pre class="programlisting">typedef struct _ClutterInputDevice ClutterInputDevice;</pre>
|
359
|
-
<p>
|
360
|
-
Generic representation of an input device. The actual contents of this
|
361
|
-
structure depend on the backend used.
|
362
|
-
</p>
|
363
269
|
</div>
|
364
|
-
<
|
365
|
-
<
|
366
|
-
<
|
367
|
-
<pre class="programlisting"><span class="returnvalue">gint</span> clutter_input_device_get_device_id (<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>);</pre>
|
368
|
-
<p>
|
369
|
-
Retrieves the unique identifier of <em class="parameter"><code>device</code></em>
|
370
|
-
</p>
|
371
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
270
|
+
<div class="refsect1">
|
271
|
+
<a name="ClutterInputDevice.properties"></a><h2>Properties</h2>
|
272
|
+
<div class="informaltable"><table border="0">
|
372
273
|
<colgroup>
|
373
|
-
<col
|
374
|
-
<col>
|
274
|
+
<col width="150px" class="properties_type">
|
275
|
+
<col width="300px" class="properties_name">
|
276
|
+
<col width="200px" class="properties_flags">
|
375
277
|
</colgroup>
|
376
278
|
<tbody>
|
377
279
|
<tr>
|
378
|
-
<td
|
379
|
-
<
|
380
|
-
</td>
|
280
|
+
<td class="property_type">
|
281
|
+
<a class="link" href="ClutterBackend.html" title="ClutterBackend"><span class="type">ClutterBackend</span></a> *</td>
|
282
|
+
<td class="property_name"><a class="link" href="ClutterInputDevice.html#ClutterInputDevice--backend" title="The “backend” property">backend</a></td>
|
283
|
+
<td class="property_flags">Read / Write / Construct Only</td>
|
284
|
+
</tr>
|
285
|
+
<tr>
|
286
|
+
<td class="property_type">
|
287
|
+
<a class="link" href="ClutterDeviceManager.html" title="ClutterDeviceManager"><span class="type">ClutterDeviceManager</span></a> *</td>
|
288
|
+
<td class="property_name"><a class="link" href="ClutterInputDevice.html#ClutterInputDevice--device-manager" title="The “device-manager” property">device-manager</a></td>
|
289
|
+
<td class="property_flags">Read / Write / Construct Only</td>
|
290
|
+
</tr>
|
291
|
+
<tr>
|
292
|
+
<td class="property_type"><a class="link" href="ClutterInputDevice.html#ClutterInputMode" title="enum ClutterInputMode"><span class="type">ClutterInputMode</span></a></td>
|
293
|
+
<td class="property_name"><a class="link" href="ClutterInputDevice.html#ClutterInputDevice--device-mode" title="The “device-mode” property">device-mode</a></td>
|
294
|
+
<td class="property_flags">Read / Write / Construct Only</td>
|
295
|
+
</tr>
|
296
|
+
<tr>
|
297
|
+
<td class="property_type"><a class="link" href="ClutterInputDevice.html#ClutterInputDeviceType" title="enum ClutterInputDeviceType"><span class="type">ClutterInputDeviceType</span></a></td>
|
298
|
+
<td class="property_name"><a class="link" href="ClutterInputDevice.html#ClutterInputDevice--device-type" title="The “device-type” property">device-type</a></td>
|
299
|
+
<td class="property_flags">Read / Write / Construct Only</td>
|
300
|
+
</tr>
|
301
|
+
<tr>
|
302
|
+
<td class="property_type"><span class="type">gboolean</span></td>
|
303
|
+
<td class="property_name"><a class="link" href="ClutterInputDevice.html#ClutterInputDevice--enabled" title="The “enabled” property">enabled</a></td>
|
304
|
+
<td class="property_flags">Read / Write</td>
|
305
|
+
</tr>
|
306
|
+
<tr>
|
307
|
+
<td class="property_type"><span class="type">gboolean</span></td>
|
308
|
+
<td class="property_name"><a class="link" href="ClutterInputDevice.html#ClutterInputDevice--has-cursor" title="The “has-cursor” property">has-cursor</a></td>
|
309
|
+
<td class="property_flags">Read / Write / Construct Only</td>
|
310
|
+
</tr>
|
311
|
+
<tr>
|
312
|
+
<td class="property_type"><span class="type">gint</span></td>
|
313
|
+
<td class="property_name"><a class="link" href="ClutterInputDevice.html#ClutterInputDevice--id" title="The “id” property">id</a></td>
|
314
|
+
<td class="property_flags">Read / Write / Construct Only</td>
|
381
315
|
</tr>
|
382
316
|
<tr>
|
383
|
-
<td
|
384
|
-
<td
|
317
|
+
<td class="property_type"><span class="type">guint</span></td>
|
318
|
+
<td class="property_name"><a class="link" href="ClutterInputDevice.html#ClutterInputDevice--n-axes" title="The “n-axes” property">n-axes</a></td>
|
319
|
+
<td class="property_flags">Read</td>
|
320
|
+
</tr>
|
321
|
+
<tr>
|
322
|
+
<td class="property_type">
|
323
|
+
<span class="type">gchar</span> *</td>
|
324
|
+
<td class="property_name"><a class="link" href="ClutterInputDevice.html#ClutterInputDevice--name" title="The “name” property">name</a></td>
|
325
|
+
<td class="property_flags">Read / Write / Construct Only</td>
|
385
326
|
</tr>
|
386
327
|
</tbody>
|
387
328
|
</table></div>
|
388
|
-
<p class="since">Since 1.0</p>
|
389
329
|
</div>
|
390
|
-
<
|
391
|
-
<
|
392
|
-
<
|
393
|
-
<pre class="programlisting"><a class="link" href="ClutterInputDevice.html#ClutterInputDeviceType" title="enum ClutterInputDeviceType"><span class="returnvalue">ClutterInputDeviceType</span></a> clutter_input_device_get_device_type
|
394
|
-
(<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>);</pre>
|
395
|
-
<p>
|
396
|
-
Retrieves the type of <em class="parameter"><code>device</code></em>
|
397
|
-
</p>
|
398
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
330
|
+
<div class="refsect1">
|
331
|
+
<a name="ClutterInputDevice.other"></a><h2>Types and Values</h2>
|
332
|
+
<div class="informaltable"><table width="100%" border="0">
|
399
333
|
<colgroup>
|
400
|
-
<col
|
401
|
-
<col>
|
334
|
+
<col width="150px" class="name">
|
335
|
+
<col class="description">
|
402
336
|
</colgroup>
|
403
337
|
<tbody>
|
404
338
|
<tr>
|
405
|
-
<td
|
406
|
-
<td
|
407
|
-
</td>
|
339
|
+
<td class="datatype_keyword">enum</td>
|
340
|
+
<td class="function_name"><a class="link" href="ClutterInputDevice.html#ClutterInputDeviceType" title="enum ClutterInputDeviceType">ClutterInputDeviceType</a></td>
|
408
341
|
</tr>
|
409
342
|
<tr>
|
410
|
-
<td
|
411
|
-
<td
|
343
|
+
<td class="datatype_keyword">enum</td>
|
344
|
+
<td class="function_name"><a class="link" href="ClutterInputDevice.html#ClutterInputAxis" title="enum ClutterInputAxis">ClutterInputAxis</a></td>
|
345
|
+
</tr>
|
346
|
+
<tr>
|
347
|
+
<td class="datatype_keyword">enum</td>
|
348
|
+
<td class="function_name"><a class="link" href="ClutterInputDevice.html#ClutterInputMode" title="enum ClutterInputMode">ClutterInputMode</a></td>
|
349
|
+
</tr>
|
350
|
+
<tr>
|
351
|
+
<td class="datatype_keyword"> </td>
|
352
|
+
<td class="function_name"><a class="link" href="ClutterInputDevice.html#ClutterInputDevice-struct" title="ClutterInputDevice">ClutterInputDevice</a></td>
|
412
353
|
</tr>
|
413
354
|
</tbody>
|
414
355
|
</table></div>
|
356
|
+
</div>
|
357
|
+
<div class="refsect1">
|
358
|
+
<a name="ClutterInputDevice.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
359
|
+
<pre class="screen"> GObject
|
360
|
+
<span class="lineart">╰──</span> ClutterInputDevice
|
361
|
+
</pre>
|
362
|
+
</div>
|
363
|
+
<div class="refsect1">
|
364
|
+
<a name="ClutterInputDevice.description"></a><h2>Description</h2>
|
365
|
+
<p><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> represents an input device known to Clutter.</p>
|
366
|
+
<p>The <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> class holds the state of the device, but
|
367
|
+
its contents are usually defined by the Clutter backend in use.</p>
|
368
|
+
</div>
|
369
|
+
<div class="refsect1">
|
370
|
+
<a name="ClutterInputDevice.functions_details"></a><h2>Functions</h2>
|
371
|
+
<div class="refsect2">
|
372
|
+
<a name="clutter-input-device-get-device-id"></a><h3>clutter_input_device_get_device_id ()</h3>
|
373
|
+
<pre class="programlisting"><span class="returnvalue">gint</span>
|
374
|
+
clutter_input_device_get_device_id (<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>);</pre>
|
375
|
+
<p>Retrieves the unique identifier of <em class="parameter"><code>device</code></em>
|
376
|
+
</p>
|
377
|
+
<div class="refsect3">
|
378
|
+
<a name="id-1.7.2.8.8.2.5"></a><h4>Parameters</h4>
|
379
|
+
<div class="informaltable"><table width="100%" border="0">
|
380
|
+
<colgroup>
|
381
|
+
<col width="150px" class="parameters_name">
|
382
|
+
<col class="parameters_description">
|
383
|
+
<col width="200px" class="parameters_annotations">
|
384
|
+
</colgroup>
|
385
|
+
<tbody><tr>
|
386
|
+
<td class="parameter_name"><p>device</p></td>
|
387
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a></p></td>
|
388
|
+
<td class="parameter_annotations"> </td>
|
389
|
+
</tr></tbody>
|
390
|
+
</table></div>
|
391
|
+
</div>
|
392
|
+
<div class="refsect3">
|
393
|
+
<a name="id-1.7.2.8.8.2.6"></a><h4>Returns</h4>
|
394
|
+
<p> the identifier of the device</p>
|
395
|
+
<p></p>
|
396
|
+
</div>
|
415
397
|
<p class="since">Since 1.0</p>
|
416
398
|
</div>
|
417
399
|
<hr>
|
418
400
|
<div class="refsect2">
|
419
|
-
<a name="clutter-input-device-get-device-
|
420
|
-
<pre class="programlisting"
|
421
|
-
|
422
|
-
<p>
|
423
|
-
|
424
|
-
|
425
|
-
<
|
401
|
+
<a name="clutter-input-device-get-device-type"></a><h3>clutter_input_device_get_device_type ()</h3>
|
402
|
+
<pre class="programlisting"><a class="link" href="ClutterInputDevice.html#ClutterInputDeviceType" title="enum ClutterInputDeviceType"><span class="returnvalue">ClutterInputDeviceType</span></a>
|
403
|
+
clutter_input_device_get_device_type (<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>);</pre>
|
404
|
+
<p>Retrieves the type of <em class="parameter"><code>device</code></em>
|
405
|
+
</p>
|
406
|
+
<div class="refsect3">
|
407
|
+
<a name="id-1.7.2.8.8.3.5"></a><h4>Parameters</h4>
|
408
|
+
<div class="informaltable"><table width="100%" border="0">
|
426
409
|
<colgroup>
|
427
|
-
<col
|
428
|
-
<col>
|
410
|
+
<col width="150px" class="parameters_name">
|
411
|
+
<col class="parameters_description">
|
412
|
+
<col width="200px" class="parameters_annotations">
|
429
413
|
</colgroup>
|
430
|
-
<tbody>
|
431
|
-
<
|
432
|
-
<td><p
|
433
|
-
<td
|
434
|
-
</
|
435
|
-
</
|
436
|
-
|
437
|
-
<
|
438
|
-
<
|
439
|
-
|
440
|
-
|
441
|
-
</
|
442
|
-
</
|
414
|
+
<tbody><tr>
|
415
|
+
<td class="parameter_name"><p>device</p></td>
|
416
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a></p></td>
|
417
|
+
<td class="parameter_annotations"> </td>
|
418
|
+
</tr></tbody>
|
419
|
+
</table></div>
|
420
|
+
</div>
|
421
|
+
<div class="refsect3">
|
422
|
+
<a name="id-1.7.2.8.8.3.6"></a><h4>Returns</h4>
|
423
|
+
<p> the type of the device</p>
|
424
|
+
<p></p>
|
425
|
+
</div>
|
426
|
+
<p class="since">Since 1.0</p>
|
427
|
+
</div>
|
428
|
+
<hr>
|
429
|
+
<div class="refsect2">
|
430
|
+
<a name="clutter-input-device-get-device-name"></a><h3>clutter_input_device_get_device_name ()</h3>
|
431
|
+
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
432
|
+
clutter_input_device_get_device_name (<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>);</pre>
|
433
|
+
<p>Retrieves the name of the <em class="parameter"><code>device</code></em>
|
434
|
+
</p>
|
435
|
+
<div class="refsect3">
|
436
|
+
<a name="id-1.7.2.8.8.4.5"></a><h4>Parameters</h4>
|
437
|
+
<div class="informaltable"><table width="100%" border="0">
|
438
|
+
<colgroup>
|
439
|
+
<col width="150px" class="parameters_name">
|
440
|
+
<col class="parameters_description">
|
441
|
+
<col width="200px" class="parameters_annotations">
|
442
|
+
</colgroup>
|
443
|
+
<tbody><tr>
|
444
|
+
<td class="parameter_name"><p>device</p></td>
|
445
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a></p></td>
|
446
|
+
<td class="parameter_annotations"> </td>
|
447
|
+
</tr></tbody>
|
443
448
|
</table></div>
|
449
|
+
</div>
|
450
|
+
<div class="refsect3">
|
451
|
+
<a name="id-1.7.2.8.8.4.6"></a><h4>Returns</h4>
|
452
|
+
<p> the name of the device, or <code class="literal">NULL</code>. The returned string
|
453
|
+
is owned by the <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> and should never be modified
|
454
|
+
or freed</p>
|
455
|
+
<p></p>
|
456
|
+
</div>
|
444
457
|
<p class="since">Since 1.2</p>
|
445
458
|
</div>
|
446
459
|
<hr>
|
447
460
|
<div class="refsect2">
|
448
|
-
<a name="clutter-input-device-get-device-mode"></a><h3>clutter_input_device_get_device_mode
|
449
|
-
<pre class="programlisting"><a class="link" href="ClutterInputDevice.html#ClutterInputMode" title="enum ClutterInputMode"><span class="returnvalue">ClutterInputMode</span></a>
|
450
|
-
|
451
|
-
<p>
|
452
|
-
|
453
|
-
|
454
|
-
<
|
461
|
+
<a name="clutter-input-device-get-device-mode"></a><h3>clutter_input_device_get_device_mode ()</h3>
|
462
|
+
<pre class="programlisting"><a class="link" href="ClutterInputDevice.html#ClutterInputMode" title="enum ClutterInputMode"><span class="returnvalue">ClutterInputMode</span></a>
|
463
|
+
clutter_input_device_get_device_mode (<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>);</pre>
|
464
|
+
<p>Retrieves the <a class="link" href="ClutterInputDevice.html#ClutterInputMode" title="enum ClutterInputMode"><span class="type">ClutterInputMode</span></a> of <em class="parameter"><code>device</code></em>
|
465
|
+
.</p>
|
466
|
+
<div class="refsect3">
|
467
|
+
<a name="id-1.7.2.8.8.5.5"></a><h4>Parameters</h4>
|
468
|
+
<div class="informaltable"><table width="100%" border="0">
|
455
469
|
<colgroup>
|
456
|
-
<col
|
457
|
-
<col>
|
470
|
+
<col width="150px" class="parameters_name">
|
471
|
+
<col class="parameters_description">
|
472
|
+
<col width="200px" class="parameters_annotations">
|
458
473
|
</colgroup>
|
459
|
-
<tbody>
|
460
|
-
<
|
461
|
-
<td><p
|
462
|
-
<td
|
463
|
-
</
|
464
|
-
</tr>
|
465
|
-
<tr>
|
466
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
467
|
-
<td>the device mode</td>
|
468
|
-
</tr>
|
469
|
-
</tbody>
|
474
|
+
<tbody><tr>
|
475
|
+
<td class="parameter_name"><p>device</p></td>
|
476
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a></p></td>
|
477
|
+
<td class="parameter_annotations"> </td>
|
478
|
+
</tr></tbody>
|
470
479
|
</table></div>
|
480
|
+
</div>
|
481
|
+
<div class="refsect3">
|
482
|
+
<a name="id-1.7.2.8.8.5.6"></a><h4>Returns</h4>
|
483
|
+
<p> the device mode</p>
|
484
|
+
<p></p>
|
485
|
+
</div>
|
471
486
|
<p class="since">Since 1.6</p>
|
472
487
|
</div>
|
473
488
|
<hr>
|
474
489
|
<div class="refsect2">
|
475
|
-
<a name="clutter-input-device-get-has-cursor"></a><h3>clutter_input_device_get_has_cursor
|
476
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
477
|
-
<
|
478
|
-
Retrieves whether <em class="parameter"><code>device</code></em>
|
479
|
-
|
480
|
-
|
481
|
-
<div class="
|
490
|
+
<a name="clutter-input-device-get-has-cursor"></a><h3>clutter_input_device_get_has_cursor ()</h3>
|
491
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
492
|
+
clutter_input_device_get_has_cursor (<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>);</pre>
|
493
|
+
<p>Retrieves whether <em class="parameter"><code>device</code></em>
|
494
|
+
has a pointer that follows the
|
495
|
+
device motion.</p>
|
496
|
+
<div class="refsect3">
|
497
|
+
<a name="id-1.7.2.8.8.6.5"></a><h4>Parameters</h4>
|
498
|
+
<div class="informaltable"><table width="100%" border="0">
|
482
499
|
<colgroup>
|
483
|
-
<col
|
484
|
-
<col>
|
500
|
+
<col width="150px" class="parameters_name">
|
501
|
+
<col class="parameters_description">
|
502
|
+
<col width="200px" class="parameters_annotations">
|
485
503
|
</colgroup>
|
486
|
-
<tbody>
|
487
|
-
<
|
488
|
-
<td><p
|
489
|
-
<td
|
490
|
-
</
|
491
|
-
</tr>
|
492
|
-
<tr>
|
493
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
494
|
-
<td>
|
495
|
-
<code class="literal">TRUE</code> if the device has a cursor</td>
|
496
|
-
</tr>
|
497
|
-
</tbody>
|
504
|
+
<tbody><tr>
|
505
|
+
<td class="parameter_name"><p>device</p></td>
|
506
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a></p></td>
|
507
|
+
<td class="parameter_annotations"> </td>
|
508
|
+
</tr></tbody>
|
498
509
|
</table></div>
|
510
|
+
</div>
|
511
|
+
<div class="refsect3">
|
512
|
+
<a name="id-1.7.2.8.8.6.6"></a><h4>Returns</h4>
|
513
|
+
<p> <code class="literal">TRUE</code> if the device has a cursor</p>
|
514
|
+
<p></p>
|
515
|
+
</div>
|
499
516
|
<p class="since">Since 1.6</p>
|
500
517
|
</div>
|
501
518
|
<hr>
|
502
519
|
<div class="refsect2">
|
503
|
-
<a name="clutter-input-device-set-enabled"></a><h3>clutter_input_device_set_enabled
|
504
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
505
|
-
|
506
|
-
<
|
507
|
-
Enables or disables a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a
|
508
|
-
|
509
|
-
<p>
|
510
|
-
Only devices with a <a class="link" href="ClutterInputDevice.html#ClutterInputDevice--device-mode" title='The "device-mode" property'><span class="type">"device-mode"</span></a> property set
|
520
|
+
<a name="clutter-input-device-set-enabled"></a><h3>clutter_input_device_set_enabled ()</h3>
|
521
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
522
|
+
clutter_input_device_set_enabled (<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>,
|
523
|
+
<em class="parameter"><code><span class="type">gboolean</span> enabled</code></em>);</pre>
|
524
|
+
<p>Enables or disables a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a>.</p>
|
525
|
+
<p>Only devices with a <a class="link" href="ClutterInputDevice.html#ClutterInputDevice--device-mode" title="The “device-mode” property"><span class="type">“device-mode”</span></a> property set
|
511
526
|
to <a class="link" href="ClutterInputDevice.html#CLUTTER-INPUT-MODE-SLAVE:CAPS"><code class="literal">CLUTTER_INPUT_MODE_SLAVE</code></a> or <a class="link" href="ClutterInputDevice.html#CLUTTER-INPUT-MODE-FLOATING:CAPS"><code class="literal">CLUTTER_INPUT_MODE_FLOATING</code></a> can
|
512
|
-
be disabled
|
513
|
-
|
514
|
-
<
|
527
|
+
be disabled.</p>
|
528
|
+
<div class="refsect3">
|
529
|
+
<a name="id-1.7.2.8.8.7.6"></a><h4>Parameters</h4>
|
530
|
+
<div class="informaltable"><table width="100%" border="0">
|
515
531
|
<colgroup>
|
516
|
-
<col
|
517
|
-
<col>
|
532
|
+
<col width="150px" class="parameters_name">
|
533
|
+
<col class="parameters_description">
|
534
|
+
<col width="200px" class="parameters_annotations">
|
518
535
|
</colgroup>
|
519
536
|
<tbody>
|
520
537
|
<tr>
|
521
|
-
<td
|
522
|
-
<td>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a>
|
523
|
-
</td>
|
538
|
+
<td class="parameter_name"><p>device</p></td>
|
539
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a></p></td>
|
540
|
+
<td class="parameter_annotations"> </td>
|
524
541
|
</tr>
|
525
542
|
<tr>
|
526
|
-
<td
|
527
|
-
<td>
|
528
|
-
|
529
|
-
</td>
|
543
|
+
<td class="parameter_name"><p>enabled</p></td>
|
544
|
+
<td class="parameter_description"><p><code class="literal">TRUE</code> to enable the <em class="parameter"><code>device</code></em>
|
545
|
+
</p></td>
|
546
|
+
<td class="parameter_annotations"> </td>
|
530
547
|
</tr>
|
531
548
|
</tbody>
|
532
549
|
</table></div>
|
550
|
+
</div>
|
533
551
|
<p class="since">Since 1.6</p>
|
534
552
|
</div>
|
535
553
|
<hr>
|
536
554
|
<div class="refsect2">
|
537
|
-
<a name="clutter-input-device-get-enabled"></a><h3>clutter_input_device_get_enabled
|
538
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
539
|
-
<
|
540
|
-
Retrieves whether <em class="parameter"><code>device</code></em>
|
541
|
-
|
542
|
-
<div class="
|
555
|
+
<a name="clutter-input-device-get-enabled"></a><h3>clutter_input_device_get_enabled ()</h3>
|
556
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
557
|
+
clutter_input_device_get_enabled (<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>);</pre>
|
558
|
+
<p>Retrieves whether <em class="parameter"><code>device</code></em>
|
559
|
+
is enabled.</p>
|
560
|
+
<div class="refsect3">
|
561
|
+
<a name="id-1.7.2.8.8.8.5"></a><h4>Parameters</h4>
|
562
|
+
<div class="informaltable"><table width="100%" border="0">
|
543
563
|
<colgroup>
|
544
|
-
<col
|
545
|
-
<col>
|
564
|
+
<col width="150px" class="parameters_name">
|
565
|
+
<col class="parameters_description">
|
566
|
+
<col width="200px" class="parameters_annotations">
|
546
567
|
</colgroup>
|
547
|
-
<tbody>
|
548
|
-
<
|
549
|
-
<td><p
|
550
|
-
<td
|
551
|
-
</
|
552
|
-
</tr>
|
553
|
-
<tr>
|
554
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
555
|
-
<td>
|
556
|
-
<code class="literal">TRUE</code> if the device is enabled</td>
|
557
|
-
</tr>
|
558
|
-
</tbody>
|
568
|
+
<tbody><tr>
|
569
|
+
<td class="parameter_name"><p>device</p></td>
|
570
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a></p></td>
|
571
|
+
<td class="parameter_annotations"> </td>
|
572
|
+
</tr></tbody>
|
559
573
|
</table></div>
|
574
|
+
</div>
|
575
|
+
<div class="refsect3">
|
576
|
+
<a name="id-1.7.2.8.8.8.6"></a><h4>Returns</h4>
|
577
|
+
<p> <code class="literal">TRUE</code> if the device is enabled</p>
|
578
|
+
<p></p>
|
579
|
+
</div>
|
560
580
|
<p class="since">Since 1.6</p>
|
561
581
|
</div>
|
562
582
|
<hr>
|
563
583
|
<div class="refsect2">
|
564
|
-
<a name="clutter-input-device-get-associated-device"></a><h3>clutter_input_device_get_associated_device
|
565
|
-
<pre class="programlisting"><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="returnvalue">ClutterInputDevice</span></a>
|
566
|
-
|
567
|
-
<
|
568
|
-
Retrieves a pointer to the <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> that has been
|
569
|
-
associated to <em class="parameter"><code>device</code></em
|
570
|
-
|
571
|
-
<p>
|
572
|
-
|
584
|
+
<a name="clutter-input-device-get-associated-device"></a><h3>clutter_input_device_get_associated_device ()</h3>
|
585
|
+
<pre class="programlisting"><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="returnvalue">ClutterInputDevice</span></a> *
|
586
|
+
clutter_input_device_get_associated_device
|
587
|
+
(<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>);</pre>
|
588
|
+
<p>Retrieves a pointer to the <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> that has been
|
589
|
+
associated to <em class="parameter"><code>device</code></em>
|
590
|
+
.</p>
|
591
|
+
<p>If the <a class="link" href="ClutterInputDevice.html#ClutterInputDevice--device-mode" title="The “device-mode” property"><span class="type">“device-mode”</span></a> property of <em class="parameter"><code>device</code></em>
|
592
|
+
is
|
573
593
|
set to <a class="link" href="ClutterInputDevice.html#CLUTTER-INPUT-MODE-MASTER:CAPS"><code class="literal">CLUTTER_INPUT_MODE_MASTER</code></a>, this function will return
|
574
|
-
<code class="literal">NULL</code
|
575
|
-
|
576
|
-
<
|
594
|
+
<code class="literal">NULL</code>.</p>
|
595
|
+
<div class="refsect3">
|
596
|
+
<a name="id-1.7.2.8.8.9.6"></a><h4>Parameters</h4>
|
597
|
+
<div class="informaltable"><table width="100%" border="0">
|
577
598
|
<colgroup>
|
578
|
-
<col
|
579
|
-
<col>
|
599
|
+
<col width="150px" class="parameters_name">
|
600
|
+
<col class="parameters_description">
|
601
|
+
<col width="200px" class="parameters_annotations">
|
580
602
|
</colgroup>
|
581
|
-
<tbody>
|
582
|
-
<
|
583
|
-
<td><p
|
584
|
-
<td
|
585
|
-
</
|
586
|
-
</tr>
|
587
|
-
<tr>
|
588
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
589
|
-
<td>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a>, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
590
|
-
</td>
|
591
|
-
</tr>
|
592
|
-
</tbody>
|
603
|
+
<tbody><tr>
|
604
|
+
<td class="parameter_name"><p>device</p></td>
|
605
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a></p></td>
|
606
|
+
<td class="parameter_annotations"> </td>
|
607
|
+
</tr></tbody>
|
593
608
|
</table></div>
|
609
|
+
</div>
|
610
|
+
<div class="refsect3">
|
611
|
+
<a name="id-1.7.2.8.8.9.7"></a><h4>Returns</h4>
|
612
|
+
<p> a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a>, or <code class="literal">NULL</code>. </p>
|
613
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
614
|
+
</div>
|
594
615
|
<p class="since">Since 1.6</p>
|
595
616
|
</div>
|
596
617
|
<hr>
|
597
618
|
<div class="refsect2">
|
598
|
-
<a name="clutter-input-device-get-slave-devices"></a><h3>clutter_input_device_get_slave_devices
|
599
|
-
<pre class="programlisting"><span class="returnvalue">GList</span>
|
600
|
-
|
601
|
-
<
|
602
|
-
Retrieves the slave devices attached to <em class="parameter"><code>device</code></em
|
603
|
-
|
604
|
-
<div class="
|
619
|
+
<a name="clutter-input-device-get-slave-devices"></a><h3>clutter_input_device_get_slave_devices ()</h3>
|
620
|
+
<pre class="programlisting"><span class="returnvalue">GList</span> *
|
621
|
+
clutter_input_device_get_slave_devices
|
622
|
+
(<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>);</pre>
|
623
|
+
<p>Retrieves the slave devices attached to <em class="parameter"><code>device</code></em>
|
624
|
+
.</p>
|
625
|
+
<div class="refsect3">
|
626
|
+
<a name="id-1.7.2.8.8.10.5"></a><h4>Parameters</h4>
|
627
|
+
<div class="informaltable"><table width="100%" border="0">
|
605
628
|
<colgroup>
|
606
|
-
<col
|
607
|
-
<col>
|
629
|
+
<col width="150px" class="parameters_name">
|
630
|
+
<col class="parameters_description">
|
631
|
+
<col width="200px" class="parameters_annotations">
|
608
632
|
</colgroup>
|
609
|
-
<tbody>
|
610
|
-
<
|
611
|
-
<td><p
|
612
|
-
<td
|
613
|
-
</
|
614
|
-
</tr>
|
615
|
-
<tr>
|
616
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
617
|
-
<td>a
|
618
|
-
list of <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a>, or <code class="literal">NULL</code>. The contents of the list are
|
619
|
-
owned by the device. Use <code class="function">g_list_free()</code> when done. <span class="annotation">[<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> Clutter.InputDevice]</span>
|
620
|
-
</td>
|
621
|
-
</tr>
|
622
|
-
</tbody>
|
633
|
+
<tbody><tr>
|
634
|
+
<td class="parameter_name"><p>device</p></td>
|
635
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a></p></td>
|
636
|
+
<td class="parameter_annotations"> </td>
|
637
|
+
</tr></tbody>
|
623
638
|
</table></div>
|
639
|
+
</div>
|
640
|
+
<div class="refsect3">
|
641
|
+
<a name="id-1.7.2.8.8.10.6"></a><h4>Returns</h4>
|
642
|
+
<p> a
|
643
|
+
list of <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a>, or <code class="literal">NULL</code>. The contents of the list are
|
644
|
+
owned by the device. Use <code class="function">g_list_free()</code> when done. </p>
|
645
|
+
<p><span class="annotation">[<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> Clutter.InputDevice]</span></p>
|
646
|
+
</div>
|
624
647
|
<p class="since">Since 1.6</p>
|
625
648
|
</div>
|
626
649
|
<hr>
|
627
650
|
<div class="refsect2">
|
628
|
-
<a name="clutter-input-device-get-modifier-state"></a><h3>clutter_input_device_get_modifier_state
|
629
|
-
<pre class="programlisting"><a class="link" href="clutter-Events.html#ClutterModifierType" title="enum ClutterModifierType"><span class="returnvalue">ClutterModifierType</span></a>
|
630
|
-
|
631
|
-
<
|
632
|
-
Retrieves the current modifiers state of the device, as seen
|
633
|
-
by the last event Clutter processed
|
634
|
-
|
635
|
-
<
|
651
|
+
<a name="clutter-input-device-get-modifier-state"></a><h3>clutter_input_device_get_modifier_state ()</h3>
|
652
|
+
<pre class="programlisting"><a class="link" href="clutter-Events.html#ClutterModifierType" title="enum ClutterModifierType"><span class="returnvalue">ClutterModifierType</span></a>
|
653
|
+
clutter_input_device_get_modifier_state
|
654
|
+
(<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>);</pre>
|
655
|
+
<p>Retrieves the current modifiers state of the device, as seen
|
656
|
+
by the last event Clutter processed.</p>
|
657
|
+
<div class="refsect3">
|
658
|
+
<a name="id-1.7.2.8.8.11.5"></a><h4>Parameters</h4>
|
659
|
+
<div class="informaltable"><table width="100%" border="0">
|
636
660
|
<colgroup>
|
637
|
-
<col
|
638
|
-
<col>
|
661
|
+
<col width="150px" class="parameters_name">
|
662
|
+
<col class="parameters_description">
|
663
|
+
<col width="200px" class="parameters_annotations">
|
639
664
|
</colgroup>
|
640
|
-
<tbody>
|
641
|
-
<
|
642
|
-
<td><p
|
643
|
-
<td
|
644
|
-
</
|
645
|
-
</tr>
|
646
|
-
<tr>
|
647
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
648
|
-
<td>the last known modifier state</td>
|
649
|
-
</tr>
|
650
|
-
</tbody>
|
665
|
+
<tbody><tr>
|
666
|
+
<td class="parameter_name"><p>device</p></td>
|
667
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a></p></td>
|
668
|
+
<td class="parameter_annotations"> </td>
|
669
|
+
</tr></tbody>
|
651
670
|
</table></div>
|
671
|
+
</div>
|
672
|
+
<div class="refsect3">
|
673
|
+
<a name="id-1.7.2.8.8.11.6"></a><h4>Returns</h4>
|
674
|
+
<p> the last known modifier state</p>
|
675
|
+
<p></p>
|
676
|
+
</div>
|
652
677
|
<p class="since">Since 1.16</p>
|
653
678
|
</div>
|
654
679
|
<hr>
|
655
680
|
<div class="refsect2">
|
656
|
-
<a name="clutter-input-device-keycode-to-evdev"></a><h3>clutter_input_device_keycode_to_evdev
|
657
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
<p>
|
662
|
-
Translates a hardware keycode from a <a class="link" href="clutter-Events.html#ClutterKeyEvent" title="struct ClutterKeyEvent"><span class="type">ClutterKeyEvent</span></a> to the
|
681
|
+
<a name="clutter-input-device-keycode-to-evdev"></a><h3>clutter_input_device_keycode_to_evdev ()</h3>
|
682
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
683
|
+
clutter_input_device_keycode_to_evdev (<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>,
|
684
|
+
<em class="parameter"><code><span class="type">guint</span> hardware_keycode</code></em>,
|
685
|
+
<em class="parameter"><code><span class="type">guint</span> *evdev_keycode</code></em>);</pre>
|
686
|
+
<p>Translates a hardware keycode from a <a class="link" href="clutter-Events.html#ClutterKeyEvent" title="struct ClutterKeyEvent"><span class="type">ClutterKeyEvent</span></a> to the
|
663
687
|
equivalent evdev keycode. Note that depending on the input backend
|
664
688
|
used by Clutter this function can fail if there is no obvious
|
665
689
|
mapping between the key codes. The hardware keycode can be taken
|
666
|
-
from the <a class="link" href="clutter-Events.html#ClutterKeyEvent.hardware-keycode"><span class="type">ClutterKeyEvent.hardware_keycode</span></a> member of <a class="link" href="clutter-Events.html#ClutterKeyEvent" title="struct ClutterKeyEvent"><span class="type">ClutterKeyEvent</span></a
|
667
|
-
|
668
|
-
<
|
690
|
+
from the <a class="link" href="clutter-Events.html#ClutterKeyEvent.hardware-keycode"><span class="type">ClutterKeyEvent.hardware_keycode</span></a> member of <a class="link" href="clutter-Events.html#ClutterKeyEvent" title="struct ClutterKeyEvent"><span class="type">ClutterKeyEvent</span></a>.</p>
|
691
|
+
<div class="refsect3">
|
692
|
+
<a name="id-1.7.2.8.8.12.5"></a><h4>Parameters</h4>
|
693
|
+
<div class="informaltable"><table width="100%" border="0">
|
669
694
|
<colgroup>
|
670
|
-
<col
|
671
|
-
<col>
|
695
|
+
<col width="150px" class="parameters_name">
|
696
|
+
<col class="parameters_description">
|
697
|
+
<col width="200px" class="parameters_annotations">
|
672
698
|
</colgroup>
|
673
699
|
<tbody>
|
674
700
|
<tr>
|
675
|
-
<td
|
676
|
-
<td>A <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a>
|
677
|
-
</td>
|
678
|
-
</tr>
|
679
|
-
<tr>
|
680
|
-
<td><p><span class="term"><em class="parameter"><code>hardware_keycode</code></em> :</span></p></td>
|
681
|
-
<td>The hardware keycode from a <a class="link" href="clutter-Events.html#ClutterKeyEvent" title="struct ClutterKeyEvent"><span class="type">ClutterKeyEvent</span></a>
|
682
|
-
</td>
|
701
|
+
<td class="parameter_name"><p>device</p></td>
|
702
|
+
<td class="parameter_description"><p>A <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a></p></td>
|
703
|
+
<td class="parameter_annotations"> </td>
|
683
704
|
</tr>
|
684
705
|
<tr>
|
685
|
-
<td
|
686
|
-
<td>The
|
706
|
+
<td class="parameter_name"><p>hardware_keycode</p></td>
|
707
|
+
<td class="parameter_description"><p>The hardware keycode from a <a class="link" href="clutter-Events.html#ClutterKeyEvent" title="struct ClutterKeyEvent"><span class="type">ClutterKeyEvent</span></a></p></td>
|
708
|
+
<td class="parameter_annotations"> </td>
|
687
709
|
</tr>
|
688
710
|
<tr>
|
689
|
-
<td
|
690
|
-
<td>
|
691
|
-
<
|
711
|
+
<td class="parameter_name"><p>evdev_keycode</p></td>
|
712
|
+
<td class="parameter_description"><p>The return location for the evdev keycode</p></td>
|
713
|
+
<td class="parameter_annotations"> </td>
|
692
714
|
</tr>
|
693
715
|
</tbody>
|
694
716
|
</table></div>
|
717
|
+
</div>
|
718
|
+
<div class="refsect3">
|
719
|
+
<a name="id-1.7.2.8.8.12.6"></a><h4>Returns</h4>
|
720
|
+
<p> <code class="literal">TRUE</code> if the conversion succeeded, <code class="literal">FALSE</code> otherwise.</p>
|
721
|
+
<p></p>
|
722
|
+
</div>
|
695
723
|
<p class="since">Since 1.10</p>
|
696
724
|
</div>
|
697
725
|
<hr>
|
698
726
|
<div class="refsect2">
|
699
|
-
<a name="clutter-input-device-get-n-keys"></a><h3>clutter_input_device_get_n_keys
|
700
|
-
<pre class="programlisting"><span class="returnvalue">guint</span>
|
701
|
-
<
|
702
|
-
Retrieves the number of keys registered for <em class="parameter"><code>device</code></em
|
703
|
-
|
704
|
-
<div class="
|
705
|
-
<
|
706
|
-
<
|
707
|
-
<
|
708
|
-
|
709
|
-
<
|
710
|
-
<
|
711
|
-
|
712
|
-
<
|
713
|
-
</td>
|
714
|
-
</
|
715
|
-
<
|
716
|
-
|
717
|
-
<td>the number of registered keys</td>
|
718
|
-
</tr>
|
719
|
-
</tbody>
|
727
|
+
<a name="clutter-input-device-get-n-keys"></a><h3>clutter_input_device_get_n_keys ()</h3>
|
728
|
+
<pre class="programlisting"><span class="returnvalue">guint</span>
|
729
|
+
clutter_input_device_get_n_keys (<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>);</pre>
|
730
|
+
<p>Retrieves the number of keys registered for <em class="parameter"><code>device</code></em>
|
731
|
+
.</p>
|
732
|
+
<div class="refsect3">
|
733
|
+
<a name="id-1.7.2.8.8.13.5"></a><h4>Parameters</h4>
|
734
|
+
<div class="informaltable"><table width="100%" border="0">
|
735
|
+
<colgroup>
|
736
|
+
<col width="150px" class="parameters_name">
|
737
|
+
<col class="parameters_description">
|
738
|
+
<col width="200px" class="parameters_annotations">
|
739
|
+
</colgroup>
|
740
|
+
<tbody><tr>
|
741
|
+
<td class="parameter_name"><p>device</p></td>
|
742
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a></p></td>
|
743
|
+
<td class="parameter_annotations"> </td>
|
744
|
+
</tr></tbody>
|
720
745
|
</table></div>
|
746
|
+
</div>
|
747
|
+
<div class="refsect3">
|
748
|
+
<a name="id-1.7.2.8.8.13.6"></a><h4>Returns</h4>
|
749
|
+
<p> the number of registered keys</p>
|
750
|
+
<p></p>
|
751
|
+
</div>
|
721
752
|
<p class="since">Since 1.6</p>
|
722
753
|
</div>
|
723
754
|
<hr>
|
724
755
|
<div class="refsect2">
|
725
|
-
<a name="clutter-input-device-set-key"></a><h3>clutter_input_device_set_key
|
726
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
<
|
731
|
-
Sets the keyval and modifiers at the given <em class="parameter"><code>index_</code></em>
|
732
|
-
</
|
733
|
-
|
734
|
-
Clutter will use the keyval and modifiers set when filling out
|
735
|
-
an event coming from the same input device
|
736
|
-
|
737
|
-
<
|
756
|
+
<a name="clutter-input-device-set-key"></a><h3>clutter_input_device_set_key ()</h3>
|
757
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
758
|
+
clutter_input_device_set_key (<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>,
|
759
|
+
<em class="parameter"><code><span class="type">guint</span> index_</code></em>,
|
760
|
+
<em class="parameter"><code><span class="type">guint</span> keyval</code></em>,
|
761
|
+
<em class="parameter"><code><a class="link" href="clutter-Events.html#ClutterModifierType" title="enum ClutterModifierType"><span class="type">ClutterModifierType</span></a> modifiers</code></em>);</pre>
|
762
|
+
<p>Sets the keyval and modifiers at the given <em class="parameter"><code>index_</code></em>
|
763
|
+
for <em class="parameter"><code>device</code></em>
|
764
|
+
.</p>
|
765
|
+
<p>Clutter will use the keyval and modifiers set when filling out
|
766
|
+
an event coming from the same input device.</p>
|
767
|
+
<div class="refsect3">
|
768
|
+
<a name="id-1.7.2.8.8.14.6"></a><h4>Parameters</h4>
|
769
|
+
<div class="informaltable"><table width="100%" border="0">
|
738
770
|
<colgroup>
|
739
|
-
<col
|
740
|
-
<col>
|
771
|
+
<col width="150px" class="parameters_name">
|
772
|
+
<col class="parameters_description">
|
773
|
+
<col width="200px" class="parameters_annotations">
|
741
774
|
</colgroup>
|
742
775
|
<tbody>
|
743
776
|
<tr>
|
744
|
-
<td
|
745
|
-
<td>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a>
|
746
|
-
</td>
|
777
|
+
<td class="parameter_name"><p>device</p></td>
|
778
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a></p></td>
|
779
|
+
<td class="parameter_annotations"> </td>
|
747
780
|
</tr>
|
748
781
|
<tr>
|
749
|
-
<td
|
750
|
-
<td>the index of the key</td>
|
782
|
+
<td class="parameter_name"><p>index_</p></td>
|
783
|
+
<td class="parameter_description"><p>the index of the key</p></td>
|
784
|
+
<td class="parameter_annotations"> </td>
|
751
785
|
</tr>
|
752
786
|
<tr>
|
753
|
-
<td
|
754
|
-
<td>the keyval</td>
|
787
|
+
<td class="parameter_name"><p>keyval</p></td>
|
788
|
+
<td class="parameter_description"><p>the keyval</p></td>
|
789
|
+
<td class="parameter_annotations"> </td>
|
755
790
|
</tr>
|
756
791
|
<tr>
|
757
|
-
<td
|
758
|
-
<td>a bitmask of modifiers</td>
|
792
|
+
<td class="parameter_name"><p>modifiers</p></td>
|
793
|
+
<td class="parameter_description"><p>a bitmask of modifiers</p></td>
|
794
|
+
<td class="parameter_annotations"> </td>
|
759
795
|
</tr>
|
760
796
|
</tbody>
|
761
797
|
</table></div>
|
798
|
+
</div>
|
762
799
|
<p class="since">Since 1.6</p>
|
763
800
|
</div>
|
764
801
|
<hr>
|
765
802
|
<div class="refsect2">
|
766
|
-
<a name="clutter-input-device-get-key"></a><h3>clutter_input_device_get_key
|
767
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
<
|
772
|
-
Retrieves the key set using <a class="link" href="ClutterInputDevice.html#clutter-input-device-set-key" title="clutter_input_device_set_key
|
773
|
-
|
774
|
-
<
|
803
|
+
<a name="clutter-input-device-get-key"></a><h3>clutter_input_device_get_key ()</h3>
|
804
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
805
|
+
clutter_input_device_get_key (<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>,
|
806
|
+
<em class="parameter"><code><span class="type">guint</span> index_</code></em>,
|
807
|
+
<em class="parameter"><code><span class="type">guint</span> *keyval</code></em>,
|
808
|
+
<em class="parameter"><code><a class="link" href="clutter-Events.html#ClutterModifierType" title="enum ClutterModifierType"><span class="type">ClutterModifierType</span></a> *modifiers</code></em>);</pre>
|
809
|
+
<p>Retrieves the key set using <a class="link" href="ClutterInputDevice.html#clutter-input-device-set-key" title="clutter_input_device_set_key ()"><code class="function">clutter_input_device_set_key()</code></a></p>
|
810
|
+
<div class="refsect3">
|
811
|
+
<a name="id-1.7.2.8.8.15.5"></a><h4>Parameters</h4>
|
812
|
+
<div class="informaltable"><table width="100%" border="0">
|
775
813
|
<colgroup>
|
776
|
-
<col
|
777
|
-
<col>
|
814
|
+
<col width="150px" class="parameters_name">
|
815
|
+
<col class="parameters_description">
|
816
|
+
<col width="200px" class="parameters_annotations">
|
778
817
|
</colgroup>
|
779
818
|
<tbody>
|
780
819
|
<tr>
|
781
|
-
<td
|
782
|
-
<td>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a>
|
783
|
-
</td>
|
784
|
-
</tr>
|
785
|
-
<tr>
|
786
|
-
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
|
787
|
-
<td>the index of the key</td>
|
820
|
+
<td class="parameter_name"><p>device</p></td>
|
821
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a></p></td>
|
822
|
+
<td class="parameter_annotations"> </td>
|
788
823
|
</tr>
|
789
824
|
<tr>
|
790
|
-
<td
|
791
|
-
<td
|
792
|
-
</td>
|
825
|
+
<td class="parameter_name"><p>index_</p></td>
|
826
|
+
<td class="parameter_description"><p>the index of the key</p></td>
|
827
|
+
<td class="parameter_annotations"> </td>
|
793
828
|
</tr>
|
794
829
|
<tr>
|
795
|
-
<td
|
796
|
-
<td>return location for the
|
797
|
-
</td>
|
830
|
+
<td class="parameter_name"><p>keyval</p></td>
|
831
|
+
<td class="parameter_description"><p> return location for the keyval at <em class="parameter"><code>index_</code></em>
|
832
|
+
. </p></td>
|
833
|
+
<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>
|
798
834
|
</tr>
|
799
835
|
<tr>
|
800
|
-
<td
|
801
|
-
<td>
|
802
|
-
|
836
|
+
<td class="parameter_name"><p>modifiers</p></td>
|
837
|
+
<td class="parameter_description"><p> return location for the modifiers at <em class="parameter"><code>index_</code></em>
|
838
|
+
. </p></td>
|
839
|
+
<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
840
|
</tr>
|
804
841
|
</tbody>
|
805
842
|
</table></div>
|
843
|
+
</div>
|
844
|
+
<div class="refsect3">
|
845
|
+
<a name="id-1.7.2.8.8.15.6"></a><h4>Returns</h4>
|
846
|
+
<p> <code class="literal">TRUE</code> if a key was set at the given index</p>
|
847
|
+
<p></p>
|
848
|
+
</div>
|
806
849
|
<p class="since">Since 1.6</p>
|
807
850
|
</div>
|
808
851
|
<hr>
|
809
852
|
<div class="refsect2">
|
810
|
-
<a name="clutter-input-device-get-n-axes"></a><h3>clutter_input_device_get_n_axes
|
811
|
-
<pre class="programlisting"><span class="returnvalue">guint</span>
|
812
|
-
<
|
813
|
-
Retrieves the number of axes available on <em class="parameter"><code>device</code></em
|
814
|
-
|
815
|
-
<div class="
|
853
|
+
<a name="clutter-input-device-get-n-axes"></a><h3>clutter_input_device_get_n_axes ()</h3>
|
854
|
+
<pre class="programlisting"><span class="returnvalue">guint</span>
|
855
|
+
clutter_input_device_get_n_axes (<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>);</pre>
|
856
|
+
<p>Retrieves the number of axes available on <em class="parameter"><code>device</code></em>
|
857
|
+
.</p>
|
858
|
+
<div class="refsect3">
|
859
|
+
<a name="id-1.7.2.8.8.16.5"></a><h4>Parameters</h4>
|
860
|
+
<div class="informaltable"><table width="100%" border="0">
|
816
861
|
<colgroup>
|
817
|
-
<col
|
818
|
-
<col>
|
862
|
+
<col width="150px" class="parameters_name">
|
863
|
+
<col class="parameters_description">
|
864
|
+
<col width="200px" class="parameters_annotations">
|
819
865
|
</colgroup>
|
820
|
-
<tbody>
|
821
|
-
<
|
822
|
-
<td><p
|
823
|
-
<td
|
824
|
-
</
|
825
|
-
</tr>
|
826
|
-
<tr>
|
827
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
828
|
-
<td>the number of axes on the device</td>
|
829
|
-
</tr>
|
830
|
-
</tbody>
|
866
|
+
<tbody><tr>
|
867
|
+
<td class="parameter_name"><p>device</p></td>
|
868
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a></p></td>
|
869
|
+
<td class="parameter_annotations"> </td>
|
870
|
+
</tr></tbody>
|
831
871
|
</table></div>
|
872
|
+
</div>
|
873
|
+
<div class="refsect3">
|
874
|
+
<a name="id-1.7.2.8.8.16.6"></a><h4>Returns</h4>
|
875
|
+
<p> the number of axes on the device</p>
|
876
|
+
<p></p>
|
877
|
+
</div>
|
832
878
|
<p class="since">Since 1.6</p>
|
833
879
|
</div>
|
834
880
|
<hr>
|
835
881
|
<div class="refsect2">
|
836
|
-
<a name="clutter-input-device-get-axis"></a><h3>clutter_input_device_get_axis
|
837
|
-
<pre class="programlisting"><a class="link" href="ClutterInputDevice.html#ClutterInputAxis" title="enum ClutterInputAxis"><span class="returnvalue">ClutterInputAxis</span></a>
|
838
|
-
|
839
|
-
<
|
840
|
-
Retrieves the type of axis on <em class="parameter"><code>device</code></em>
|
841
|
-
|
842
|
-
<div class="
|
882
|
+
<a name="clutter-input-device-get-axis"></a><h3>clutter_input_device_get_axis ()</h3>
|
883
|
+
<pre class="programlisting"><a class="link" href="ClutterInputDevice.html#ClutterInputAxis" title="enum ClutterInputAxis"><span class="returnvalue">ClutterInputAxis</span></a>
|
884
|
+
clutter_input_device_get_axis (<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>,
|
885
|
+
<em class="parameter"><code><span class="type">guint</span> index_</code></em>);</pre>
|
886
|
+
<p>Retrieves the type of axis on <em class="parameter"><code>device</code></em>
|
887
|
+
at the given index.</p>
|
888
|
+
<div class="refsect3">
|
889
|
+
<a name="id-1.7.2.8.8.17.5"></a><h4>Parameters</h4>
|
890
|
+
<div class="informaltable"><table width="100%" border="0">
|
843
891
|
<colgroup>
|
844
|
-
<col
|
845
|
-
<col>
|
892
|
+
<col width="150px" class="parameters_name">
|
893
|
+
<col class="parameters_description">
|
894
|
+
<col width="200px" class="parameters_annotations">
|
846
895
|
</colgroup>
|
847
896
|
<tbody>
|
848
897
|
<tr>
|
849
|
-
<td
|
850
|
-
<td>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a>
|
851
|
-
</td>
|
852
|
-
</tr>
|
853
|
-
<tr>
|
854
|
-
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
|
855
|
-
<td>the index of the axis</td>
|
898
|
+
<td class="parameter_name"><p>device</p></td>
|
899
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a></p></td>
|
900
|
+
<td class="parameter_annotations"> </td>
|
856
901
|
</tr>
|
857
902
|
<tr>
|
858
|
-
<td
|
859
|
-
<td>the axis
|
903
|
+
<td class="parameter_name"><p>index_</p></td>
|
904
|
+
<td class="parameter_description"><p>the index of the axis</p></td>
|
905
|
+
<td class="parameter_annotations"> </td>
|
860
906
|
</tr>
|
861
907
|
</tbody>
|
862
908
|
</table></div>
|
909
|
+
</div>
|
910
|
+
<div class="refsect3">
|
911
|
+
<a name="id-1.7.2.8.8.17.6"></a><h4>Returns</h4>
|
912
|
+
<p> the axis type</p>
|
913
|
+
<p></p>
|
914
|
+
</div>
|
863
915
|
<p class="since">Since 1.6</p>
|
864
916
|
</div>
|
865
917
|
<hr>
|
866
918
|
<div class="refsect2">
|
867
|
-
<a name="clutter-input-device-get-axis-value"></a><h3>clutter_input_device_get_axis_value
|
868
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
869
|
-
|
870
|
-
|
871
|
-
|
872
|
-
<
|
873
|
-
Extracts the value of the given <em class="parameter"><code>axis</code></em>
|
874
|
-
|
875
|
-
|
876
|
-
<p>
|
877
|
-
An example of typical usage for this function is:
|
878
|
-
</p>
|
879
|
-
<p>
|
880
|
-
</p>
|
919
|
+
<a name="clutter-input-device-get-axis-value"></a><h3>clutter_input_device_get_axis_value ()</h3>
|
920
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
921
|
+
clutter_input_device_get_axis_value (<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>,
|
922
|
+
<em class="parameter"><code><span class="type">gdouble</span> *axes</code></em>,
|
923
|
+
<em class="parameter"><code><a class="link" href="ClutterInputDevice.html#ClutterInputAxis" title="enum ClutterInputAxis"><span class="type">ClutterInputAxis</span></a> axis</code></em>,
|
924
|
+
<em class="parameter"><code><span class="type">gdouble</span> *value</code></em>);</pre>
|
925
|
+
<p>Extracts the value of the given <em class="parameter"><code>axis</code></em>
|
926
|
+
of a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> from
|
927
|
+
an array of axis values.</p>
|
928
|
+
<p>An example of typical usage for this function is:</p>
|
881
929
|
<div class="informalexample">
|
882
930
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
883
931
|
<tbody>
|
@@ -894,419 +942,448 @@ An example of typical usage for this function is:
|
|
894
942
|
<span class="usertype">gdouble</span><span class="normal"> pressure_value </span><span class="symbol">=</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span>
|
895
943
|
|
896
944
|
<span class="function"><a href="ClutterInputDevice.html#clutter-input-device-get-axis-value">clutter_input_device_get_axis_value</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">device</span><span class="symbol">,</span><span class="normal"> axes</span><span class="symbol">,</span>
|
897
|
-
<span class="normal">
|
945
|
+
<span class="normal"> CLUTTER_INPUT_AXIS_PRESSURE</span><span class="symbol">,</span>
|
898
946
|
<span class="normal"> </span><span class="symbol">&</span><span class="normal">pressure_value</span><span class="symbol">);</span></pre></td>
|
899
947
|
</tr>
|
900
948
|
</tbody>
|
901
949
|
</table>
|
902
950
|
</div>
|
903
951
|
|
904
|
-
<p>
|
905
|
-
|
906
|
-
<
|
952
|
+
<p></p>
|
953
|
+
<div class="refsect3">
|
954
|
+
<a name="id-1.7.2.8.8.18.8"></a><h4>Parameters</h4>
|
955
|
+
<div class="informaltable"><table width="100%" border="0">
|
907
956
|
<colgroup>
|
908
|
-
<col
|
909
|
-
<col>
|
957
|
+
<col width="150px" class="parameters_name">
|
958
|
+
<col class="parameters_description">
|
959
|
+
<col width="200px" class="parameters_annotations">
|
910
960
|
</colgroup>
|
911
961
|
<tbody>
|
912
962
|
<tr>
|
913
|
-
<td
|
914
|
-
<td>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a>
|
915
|
-
</td>
|
916
|
-
</tr>
|
917
|
-
<tr>
|
918
|
-
<td><p><span class="term"><em class="parameter"><code>axes</code></em> :</span></p></td>
|
919
|
-
<td>an array of axes values, typically
|
920
|
-
coming from <a class="link" href="clutter-Events.html#clutter-event-get-axes" title="clutter_event_get_axes ()"><code class="function">clutter_event_get_axes()</code></a>. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym>]</span>
|
921
|
-
</td>
|
963
|
+
<td class="parameter_name"><p>device</p></td>
|
964
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a></p></td>
|
965
|
+
<td class="parameter_annotations"> </td>
|
922
966
|
</tr>
|
923
967
|
<tr>
|
924
|
-
<td
|
925
|
-
<td>
|
968
|
+
<td class="parameter_name"><p>axes</p></td>
|
969
|
+
<td class="parameter_description"><p> an array of axes values, typically
|
970
|
+
coming from <a class="link" href="clutter-Events.html#clutter-event-get-axes" title="clutter_event_get_axes ()"><code class="function">clutter_event_get_axes()</code></a>. </p></td>
|
971
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym>]</span></td>
|
926
972
|
</tr>
|
927
973
|
<tr>
|
928
|
-
<td
|
929
|
-
<td
|
930
|
-
</td>
|
974
|
+
<td class="parameter_name"><p>axis</p></td>
|
975
|
+
<td class="parameter_description"><p>the axis to extract</p></td>
|
976
|
+
<td class="parameter_annotations"> </td>
|
931
977
|
</tr>
|
932
978
|
<tr>
|
933
|
-
<td
|
934
|
-
<td>
|
935
|
-
<
|
979
|
+
<td class="parameter_name"><p>value</p></td>
|
980
|
+
<td class="parameter_description"><p> return location for the axis value. </p></td>
|
981
|
+
<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>
|
936
982
|
</tr>
|
937
983
|
</tbody>
|
938
984
|
</table></div>
|
985
|
+
</div>
|
986
|
+
<div class="refsect3">
|
987
|
+
<a name="id-1.7.2.8.8.18.9"></a><h4>Returns</h4>
|
988
|
+
<p> <code class="literal">TRUE</code> if the value was set, and <code class="literal">FALSE</code> otherwise</p>
|
989
|
+
<p></p>
|
990
|
+
</div>
|
939
991
|
<p class="since">Since 1.6</p>
|
940
992
|
</div>
|
941
993
|
<hr>
|
942
994
|
<div class="refsect2">
|
943
|
-
<a name="clutter-input-device-get-coords"></a><h3>clutter_input_device_get_coords
|
944
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
945
|
-
|
946
|
-
|
947
|
-
<
|
948
|
-
Retrieves the latest coordinates of a pointer or touch point of
|
949
|
-
<em class="parameter"><code>device</code></em
|
950
|
-
|
951
|
-
<div class="
|
995
|
+
<a name="clutter-input-device-get-coords"></a><h3>clutter_input_device_get_coords ()</h3>
|
996
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
997
|
+
clutter_input_device_get_coords (<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>,
|
998
|
+
<em class="parameter"><code><a class="link" href="clutter-Events.html#ClutterEventSequence" title="ClutterEventSequence"><span class="type">ClutterEventSequence</span></a> *sequence</code></em>,
|
999
|
+
<em class="parameter"><code><a class="link" href="clutter-Base-geometric-types.html#ClutterPoint" title="struct ClutterPoint"><span class="type">ClutterPoint</span></a> *point</code></em>);</pre>
|
1000
|
+
<p>Retrieves the latest coordinates of a pointer or touch point of
|
1001
|
+
<em class="parameter"><code>device</code></em>
|
1002
|
+
.</p>
|
1003
|
+
<div class="refsect3">
|
1004
|
+
<a name="id-1.7.2.8.8.19.5"></a><h4>Parameters</h4>
|
1005
|
+
<div class="informaltable"><table width="100%" border="0">
|
952
1006
|
<colgroup>
|
953
|
-
<col
|
954
|
-
<col>
|
1007
|
+
<col width="150px" class="parameters_name">
|
1008
|
+
<col class="parameters_description">
|
1009
|
+
<col width="200px" class="parameters_annotations">
|
955
1010
|
</colgroup>
|
956
1011
|
<tbody>
|
957
1012
|
<tr>
|
958
|
-
<td
|
959
|
-
<td>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a>
|
960
|
-
</td>
|
961
|
-
</tr>
|
962
|
-
<tr>
|
963
|
-
<td><p><span class="term"><em class="parameter"><code>sequence</code></em> :</span></p></td>
|
964
|
-
<td>a <a class="link" href="clutter-Events.html#ClutterEventSequence" title="ClutterEventSequence"><span class="type">ClutterEventSequence</span></a>, or <code class="literal">NULL</code> if
|
965
|
-
the device is not touch-based. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
966
|
-
</td>
|
1013
|
+
<td class="parameter_name"><p>device</p></td>
|
1014
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a></p></td>
|
1015
|
+
<td class="parameter_annotations"> </td>
|
967
1016
|
</tr>
|
968
1017
|
<tr>
|
969
|
-
<td
|
970
|
-
<td>
|
971
|
-
|
972
|
-
</td>
|
1018
|
+
<td class="parameter_name"><p>sequence</p></td>
|
1019
|
+
<td class="parameter_description"><p> a <a class="link" href="clutter-Events.html#ClutterEventSequence" title="ClutterEventSequence"><span class="type">ClutterEventSequence</span></a>, or <code class="literal">NULL</code> if
|
1020
|
+
the device is not touch-based. </p></td>
|
1021
|
+
<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>
|
973
1022
|
</tr>
|
974
1023
|
<tr>
|
975
|
-
<td
|
976
|
-
<td>
|
977
|
-
|
978
|
-
|
1024
|
+
<td class="parameter_name"><p>point</p></td>
|
1025
|
+
<td class="parameter_description"><p> return location for the pointer
|
1026
|
+
or touch point. </p></td>
|
1027
|
+
<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>
|
979
1028
|
</tr>
|
980
1029
|
</tbody>
|
981
1030
|
</table></div>
|
1031
|
+
</div>
|
1032
|
+
<div class="refsect3">
|
1033
|
+
<a name="id-1.7.2.8.8.19.6"></a><h4>Returns</h4>
|
1034
|
+
<p> <code class="literal">FALSE</code> if the device's sequence hasn't been found,
|
1035
|
+
and <code class="literal">TRUE</code> otherwise.</p>
|
1036
|
+
<p></p>
|
1037
|
+
</div>
|
982
1038
|
<p class="since">Since 1.12</p>
|
983
1039
|
</div>
|
984
1040
|
<hr>
|
985
1041
|
<div class="refsect2">
|
986
|
-
<a name="clutter-input-device-get-device-coords"></a><h3>clutter_input_device_get_device_coords
|
987
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
988
|
-
|
989
|
-
|
990
|
-
|
1042
|
+
<a name="clutter-input-device-get-device-coords"></a><h3>clutter_input_device_get_device_coords ()</h3>
|
1043
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1044
|
+
clutter_input_device_get_device_coords
|
1045
|
+
(<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>,
|
1046
|
+
<em class="parameter"><code><span class="type">gint</span> *x</code></em>,
|
1047
|
+
<em class="parameter"><code><span class="type">gint</span> *y</code></em>);</pre>
|
991
1048
|
<div class="warning">
|
992
|
-
<
|
993
|
-
<p
|
1049
|
+
<p><code class="literal">clutter_input_device_get_device_coords</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p>
|
1050
|
+
<p>Use <a class="link" href="ClutterInputDevice.html#clutter-input-device-get-coords" title="clutter_input_device_get_coords ()"><code class="function">clutter_input_device_get_coords()</code></a> instead.</p>
|
994
1051
|
</div>
|
995
|
-
<p>
|
996
|
-
Retrieves the latest coordinates of the pointer of <em class="parameter"><code>device</code></em>
|
1052
|
+
<p>Retrieves the latest coordinates of the pointer of <em class="parameter"><code>device</code></em>
|
997
1053
|
</p>
|
998
|
-
<div class="
|
1054
|
+
<div class="refsect3">
|
1055
|
+
<a name="id-1.7.2.8.8.20.7"></a><h4>Parameters</h4>
|
1056
|
+
<div class="informaltable"><table width="100%" border="0">
|
999
1057
|
<colgroup>
|
1000
|
-
<col
|
1001
|
-
<col>
|
1058
|
+
<col width="150px" class="parameters_name">
|
1059
|
+
<col class="parameters_description">
|
1060
|
+
<col width="200px" class="parameters_annotations">
|
1002
1061
|
</colgroup>
|
1003
1062
|
<tbody>
|
1004
1063
|
<tr>
|
1005
|
-
<td
|
1006
|
-
<td>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> of type <a class="link" href="ClutterInputDevice.html#CLUTTER-POINTER-DEVICE:CAPS"><code class="literal">CLUTTER_POINTER_DEVICE</code></a>
|
1007
|
-
</td>
|
1064
|
+
<td class="parameter_name"><p>device</p></td>
|
1065
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> of type <a class="link" href="ClutterInputDevice.html#CLUTTER-POINTER-DEVICE:CAPS"><code class="literal">CLUTTER_POINTER_DEVICE</code></a></p></td>
|
1066
|
+
<td class="parameter_annotations"> </td>
|
1008
1067
|
</tr>
|
1009
1068
|
<tr>
|
1010
|
-
<td
|
1011
|
-
<td>return location for the X coordinate.
|
1012
|
-
</td>
|
1069
|
+
<td class="parameter_name"><p>x</p></td>
|
1070
|
+
<td class="parameter_description"><p> return location for the X coordinate. </p></td>
|
1071
|
+
<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>
|
1013
1072
|
</tr>
|
1014
1073
|
<tr>
|
1015
|
-
<td
|
1016
|
-
<td>return location for the Y coordinate.
|
1017
|
-
</td>
|
1074
|
+
<td class="parameter_name"><p>y</p></td>
|
1075
|
+
<td class="parameter_description"><p> return location for the Y coordinate. </p></td>
|
1076
|
+
<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>
|
1018
1077
|
</tr>
|
1019
1078
|
</tbody>
|
1020
1079
|
</table></div>
|
1080
|
+
</div>
|
1021
1081
|
<p class="since">Since 1.2</p>
|
1022
1082
|
</div>
|
1023
1083
|
<hr>
|
1024
1084
|
<div class="refsect2">
|
1025
|
-
<a name="clutter-input-device-get-pointer-actor"></a><h3>clutter_input_device_get_pointer_actor
|
1026
|
-
<pre class="programlisting"><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a>
|
1027
|
-
|
1028
|
-
<
|
1029
|
-
Retrieves the <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> underneath the pointer of <em class="parameter"><code>device</code></em>
|
1030
|
-
</p>
|
1031
|
-
<div class="
|
1085
|
+
<a name="clutter-input-device-get-pointer-actor"></a><h3>clutter_input_device_get_pointer_actor ()</h3>
|
1086
|
+
<pre class="programlisting"><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> *
|
1087
|
+
clutter_input_device_get_pointer_actor
|
1088
|
+
(<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>);</pre>
|
1089
|
+
<p>Retrieves the <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> underneath the pointer of <em class="parameter"><code>device</code></em>
|
1090
|
+
</p>
|
1091
|
+
<div class="refsect3">
|
1092
|
+
<a name="id-1.7.2.8.8.21.5"></a><h4>Parameters</h4>
|
1093
|
+
<div class="informaltable"><table width="100%" border="0">
|
1032
1094
|
<colgroup>
|
1033
|
-
<col
|
1034
|
-
<col>
|
1095
|
+
<col width="150px" class="parameters_name">
|
1096
|
+
<col class="parameters_description">
|
1097
|
+
<col width="200px" class="parameters_annotations">
|
1035
1098
|
</colgroup>
|
1036
|
-
<tbody>
|
1037
|
-
<
|
1038
|
-
<td><p><span class="
|
1039
|
-
<td
|
1040
|
-
</
|
1041
|
-
</tr>
|
1042
|
-
<tr>
|
1043
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1044
|
-
<td>a pointer to the <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1045
|
-
</td>
|
1046
|
-
</tr>
|
1047
|
-
</tbody>
|
1099
|
+
<tbody><tr>
|
1100
|
+
<td class="parameter_name"><p>device</p></td>
|
1101
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> of type <a class="link" href="ClutterInputDevice.html#CLUTTER-POINTER-DEVICE:CAPS"><code class="literal">CLUTTER_POINTER_DEVICE</code></a></p></td>
|
1102
|
+
<td class="parameter_annotations"> </td>
|
1103
|
+
</tr></tbody>
|
1048
1104
|
</table></div>
|
1105
|
+
</div>
|
1106
|
+
<div class="refsect3">
|
1107
|
+
<a name="id-1.7.2.8.8.21.6"></a><h4>Returns</h4>
|
1108
|
+
<p> a pointer to the <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> or <code class="literal">NULL</code>. </p>
|
1109
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1110
|
+
</div>
|
1049
1111
|
<p class="since">Since 1.2</p>
|
1050
1112
|
</div>
|
1051
1113
|
<hr>
|
1052
1114
|
<div class="refsect2">
|
1053
|
-
<a name="clutter-input-device-get-pointer-stage"></a><h3>clutter_input_device_get_pointer_stage
|
1054
|
-
<pre class="programlisting"><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="returnvalue">ClutterStage</span></a>
|
1055
|
-
|
1056
|
-
<
|
1057
|
-
Retrieves the <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> underneath the pointer of <em class="parameter"><code>device</code></em>
|
1058
|
-
</p>
|
1059
|
-
<div class="
|
1115
|
+
<a name="clutter-input-device-get-pointer-stage"></a><h3>clutter_input_device_get_pointer_stage ()</h3>
|
1116
|
+
<pre class="programlisting"><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="returnvalue">ClutterStage</span></a> *
|
1117
|
+
clutter_input_device_get_pointer_stage
|
1118
|
+
(<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>);</pre>
|
1119
|
+
<p>Retrieves the <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> underneath the pointer of <em class="parameter"><code>device</code></em>
|
1120
|
+
</p>
|
1121
|
+
<div class="refsect3">
|
1122
|
+
<a name="id-1.7.2.8.8.22.5"></a><h4>Parameters</h4>
|
1123
|
+
<div class="informaltable"><table width="100%" border="0">
|
1060
1124
|
<colgroup>
|
1061
|
-
<col
|
1062
|
-
<col>
|
1125
|
+
<col width="150px" class="parameters_name">
|
1126
|
+
<col class="parameters_description">
|
1127
|
+
<col width="200px" class="parameters_annotations">
|
1063
1128
|
</colgroup>
|
1064
|
-
<tbody>
|
1065
|
-
<
|
1066
|
-
<td><p><span class="
|
1067
|
-
<td
|
1068
|
-
</
|
1069
|
-
</tr>
|
1070
|
-
<tr>
|
1071
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1072
|
-
<td>a pointer to the <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1073
|
-
</td>
|
1074
|
-
</tr>
|
1075
|
-
</tbody>
|
1129
|
+
<tbody><tr>
|
1130
|
+
<td class="parameter_name"><p>device</p></td>
|
1131
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> of type <a class="link" href="ClutterInputDevice.html#CLUTTER-POINTER-DEVICE:CAPS"><code class="literal">CLUTTER_POINTER_DEVICE</code></a></p></td>
|
1132
|
+
<td class="parameter_annotations"> </td>
|
1133
|
+
</tr></tbody>
|
1076
1134
|
</table></div>
|
1135
|
+
</div>
|
1136
|
+
<div class="refsect3">
|
1137
|
+
<a name="id-1.7.2.8.8.22.6"></a><h4>Returns</h4>
|
1138
|
+
<p> a pointer to the <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> or <code class="literal">NULL</code>. </p>
|
1139
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1140
|
+
</div>
|
1077
1141
|
<p class="since">Since 1.2</p>
|
1078
1142
|
</div>
|
1079
1143
|
<hr>
|
1080
1144
|
<div class="refsect2">
|
1081
|
-
<a name="clutter-input-device-grab"></a><h3>clutter_input_device_grab
|
1082
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1083
|
-
|
1084
|
-
<
|
1085
|
-
Acquires a grab on <em class="parameter"><code>actor</code></em>
|
1086
|
-
</
|
1087
|
-
|
1088
|
-
Any event coming from <em class="parameter"><code>device</code></em>
|
1145
|
+
<a name="clutter-input-device-grab"></a><h3>clutter_input_device_grab ()</h3>
|
1146
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1147
|
+
clutter_input_device_grab (<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>,
|
1148
|
+
<em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor</code></em>);</pre>
|
1149
|
+
<p>Acquires a grab on <em class="parameter"><code>actor</code></em>
|
1150
|
+
for the given <em class="parameter"><code>device</code></em>
|
1151
|
+
.</p>
|
1152
|
+
<p>Any event coming from <em class="parameter"><code>device</code></em>
|
1153
|
+
will be delivered to <em class="parameter"><code>actor</code></em>
|
1154
|
+
, bypassing
|
1089
1155
|
the usual event delivery mechanism, until the grab is released by
|
1090
|
-
calling <a class="link" href="ClutterInputDevice.html#clutter-input-device-ungrab" title="clutter_input_device_ungrab
|
1091
|
-
|
1092
|
-
|
1093
|
-
|
1094
|
-
|
1095
|
-
|
1096
|
-
<
|
1097
|
-
|
1098
|
-
<a class="link" href="ClutterInputDevice.html#CLUTTER-KEYBOARD-DEVICE:CAPS"><code class="literal">CLUTTER_KEYBOARD_DEVICE</code></a> can hold a grab.
|
1099
|
-
</p>
|
1100
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1156
|
+
calling <a class="link" href="ClutterInputDevice.html#clutter-input-device-ungrab" title="clutter_input_device_ungrab ()"><code class="function">clutter_input_device_ungrab()</code></a>.</p>
|
1157
|
+
<p>The grab is client-side: even if the windowing system used by the Clutter
|
1158
|
+
backend has the concept of "device grabs", Clutter will not use them.</p>
|
1159
|
+
<p>Only <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> of types <a class="link" href="ClutterInputDevice.html#CLUTTER-POINTER-DEVICE:CAPS"><code class="literal">CLUTTER_POINTER_DEVICE</code></a> and
|
1160
|
+
<a class="link" href="ClutterInputDevice.html#CLUTTER-KEYBOARD-DEVICE:CAPS"><code class="literal">CLUTTER_KEYBOARD_DEVICE</code></a> can hold a grab.</p>
|
1161
|
+
<div class="refsect3">
|
1162
|
+
<a name="id-1.7.2.8.8.23.8"></a><h4>Parameters</h4>
|
1163
|
+
<div class="informaltable"><table width="100%" border="0">
|
1101
1164
|
<colgroup>
|
1102
|
-
<col
|
1103
|
-
<col>
|
1165
|
+
<col width="150px" class="parameters_name">
|
1166
|
+
<col class="parameters_description">
|
1167
|
+
<col width="200px" class="parameters_annotations">
|
1104
1168
|
</colgroup>
|
1105
1169
|
<tbody>
|
1106
1170
|
<tr>
|
1107
|
-
<td
|
1108
|
-
<td>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a>
|
1109
|
-
</td>
|
1171
|
+
<td class="parameter_name"><p>device</p></td>
|
1172
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a></p></td>
|
1173
|
+
<td class="parameter_annotations"> </td>
|
1110
1174
|
</tr>
|
1111
1175
|
<tr>
|
1112
|
-
<td
|
1113
|
-
<td>a <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a>
|
1114
|
-
</td>
|
1176
|
+
<td class="parameter_name"><p>actor</p></td>
|
1177
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a></p></td>
|
1178
|
+
<td class="parameter_annotations"> </td>
|
1115
1179
|
</tr>
|
1116
1180
|
</tbody>
|
1117
1181
|
</table></div>
|
1182
|
+
</div>
|
1118
1183
|
<p class="since">Since 1.10</p>
|
1119
1184
|
</div>
|
1120
1185
|
<hr>
|
1121
1186
|
<div class="refsect2">
|
1122
|
-
<a name="clutter-input-device-ungrab"></a><h3>clutter_input_device_ungrab
|
1123
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1124
|
-
<
|
1125
|
-
Releases the grab on the <em class="parameter"><code>device</code></em
|
1126
|
-
|
1127
|
-
<div class="
|
1187
|
+
<a name="clutter-input-device-ungrab"></a><h3>clutter_input_device_ungrab ()</h3>
|
1188
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1189
|
+
clutter_input_device_ungrab (<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>);</pre>
|
1190
|
+
<p>Releases the grab on the <em class="parameter"><code>device</code></em>
|
1191
|
+
, if one is in place.</p>
|
1192
|
+
<div class="refsect3">
|
1193
|
+
<a name="id-1.7.2.8.8.24.5"></a><h4>Parameters</h4>
|
1194
|
+
<div class="informaltable"><table width="100%" border="0">
|
1128
1195
|
<colgroup>
|
1129
|
-
<col
|
1130
|
-
<col>
|
1196
|
+
<col width="150px" class="parameters_name">
|
1197
|
+
<col class="parameters_description">
|
1198
|
+
<col width="200px" class="parameters_annotations">
|
1131
1199
|
</colgroup>
|
1132
1200
|
<tbody><tr>
|
1133
|
-
<td
|
1134
|
-
<td>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a>
|
1135
|
-
</td>
|
1201
|
+
<td class="parameter_name"><p>device</p></td>
|
1202
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a></p></td>
|
1203
|
+
<td class="parameter_annotations"> </td>
|
1136
1204
|
</tr></tbody>
|
1137
1205
|
</table></div>
|
1206
|
+
</div>
|
1138
1207
|
<p class="since">Since 1.10</p>
|
1139
1208
|
</div>
|
1140
1209
|
<hr>
|
1141
1210
|
<div class="refsect2">
|
1142
|
-
<a name="clutter-input-device-get-grabbed-actor"></a><h3>clutter_input_device_get_grabbed_actor
|
1143
|
-
<pre class="programlisting"><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a>
|
1144
|
-
|
1145
|
-
<
|
1146
|
-
Retrieves a pointer to the <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> currently grabbing all
|
1147
|
-
the events coming from <em class="parameter"><code>device</code></em
|
1148
|
-
|
1149
|
-
<div class="
|
1211
|
+
<a name="clutter-input-device-get-grabbed-actor"></a><h3>clutter_input_device_get_grabbed_actor ()</h3>
|
1212
|
+
<pre class="programlisting"><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> *
|
1213
|
+
clutter_input_device_get_grabbed_actor
|
1214
|
+
(<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>);</pre>
|
1215
|
+
<p>Retrieves a pointer to the <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> currently grabbing all
|
1216
|
+
the events coming from <em class="parameter"><code>device</code></em>
|
1217
|
+
.</p>
|
1218
|
+
<div class="refsect3">
|
1219
|
+
<a name="id-1.7.2.8.8.25.5"></a><h4>Parameters</h4>
|
1220
|
+
<div class="informaltable"><table width="100%" border="0">
|
1150
1221
|
<colgroup>
|
1151
|
-
<col
|
1152
|
-
<col>
|
1222
|
+
<col width="150px" class="parameters_name">
|
1223
|
+
<col class="parameters_description">
|
1224
|
+
<col width="200px" class="parameters_annotations">
|
1153
1225
|
</colgroup>
|
1154
|
-
<tbody>
|
1155
|
-
<
|
1156
|
-
<td><p
|
1157
|
-
<td
|
1158
|
-
</
|
1159
|
-
</tr>
|
1160
|
-
<tr>
|
1161
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1162
|
-
<td>a <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a>, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1163
|
-
</td>
|
1164
|
-
</tr>
|
1165
|
-
</tbody>
|
1226
|
+
<tbody><tr>
|
1227
|
+
<td class="parameter_name"><p>device</p></td>
|
1228
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a></p></td>
|
1229
|
+
<td class="parameter_annotations"> </td>
|
1230
|
+
</tr></tbody>
|
1166
1231
|
</table></div>
|
1232
|
+
</div>
|
1233
|
+
<div class="refsect3">
|
1234
|
+
<a name="id-1.7.2.8.8.25.6"></a><h4>Returns</h4>
|
1235
|
+
<p> a <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a>, or <code class="literal">NULL</code>. </p>
|
1236
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1237
|
+
</div>
|
1167
1238
|
<p class="since">Since 1.10</p>
|
1168
1239
|
</div>
|
1169
1240
|
<hr>
|
1170
1241
|
<div class="refsect2">
|
1171
|
-
<a name="clutter-input-device-sequence-grab"></a><h3>clutter_input_device_sequence_grab
|
1172
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1173
|
-
|
1174
|
-
|
1175
|
-
<
|
1176
|
-
Acquires a grab on <em class="parameter"><code>actor</code></em>
|
1177
|
-
<em class="parameter"><code>
|
1178
|
-
|
1179
|
-
<
|
1180
|
-
|
1181
|
-
|
1242
|
+
<a name="clutter-input-device-sequence-grab"></a><h3>clutter_input_device_sequence_grab ()</h3>
|
1243
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1244
|
+
clutter_input_device_sequence_grab (<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>,
|
1245
|
+
<em class="parameter"><code><a class="link" href="clutter-Events.html#ClutterEventSequence" title="ClutterEventSequence"><span class="type">ClutterEventSequence</span></a> *sequence</code></em>,
|
1246
|
+
<em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor</code></em>);</pre>
|
1247
|
+
<p>Acquires a grab on <em class="parameter"><code>actor</code></em>
|
1248
|
+
for the given <em class="parameter"><code>device</code></em>
|
1249
|
+
and the given touch
|
1250
|
+
<em class="parameter"><code>sequence</code></em>
|
1251
|
+
.</p>
|
1252
|
+
<p>Any touch event coming from <em class="parameter"><code>device</code></em>
|
1253
|
+
and from <em class="parameter"><code>sequence</code></em>
|
1254
|
+
will be
|
1255
|
+
delivered to <em class="parameter"><code>actor</code></em>
|
1256
|
+
, bypassing the usual event delivery mechanism,
|
1182
1257
|
until the grab is released by calling
|
1183
|
-
<a class="link" href="ClutterInputDevice.html#clutter-input-device-sequence-ungrab" title="clutter_input_device_sequence_ungrab
|
1184
|
-
|
1185
|
-
|
1186
|
-
|
1187
|
-
|
1188
|
-
|
1189
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1258
|
+
<a class="link" href="ClutterInputDevice.html#clutter-input-device-sequence-ungrab" title="clutter_input_device_sequence_ungrab ()"><code class="function">clutter_input_device_sequence_ungrab()</code></a>.</p>
|
1259
|
+
<p>The grab is client-side: even if the windowing system used by the Clutter
|
1260
|
+
backend has the concept of "device grabs", Clutter will not use them.</p>
|
1261
|
+
<div class="refsect3">
|
1262
|
+
<a name="id-1.7.2.8.8.26.7"></a><h4>Parameters</h4>
|
1263
|
+
<div class="informaltable"><table width="100%" border="0">
|
1190
1264
|
<colgroup>
|
1191
|
-
<col
|
1192
|
-
<col>
|
1265
|
+
<col width="150px" class="parameters_name">
|
1266
|
+
<col class="parameters_description">
|
1267
|
+
<col width="200px" class="parameters_annotations">
|
1193
1268
|
</colgroup>
|
1194
1269
|
<tbody>
|
1195
1270
|
<tr>
|
1196
|
-
<td
|
1197
|
-
<td>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a>
|
1198
|
-
</td>
|
1271
|
+
<td class="parameter_name"><p>device</p></td>
|
1272
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a></p></td>
|
1273
|
+
<td class="parameter_annotations"> </td>
|
1199
1274
|
</tr>
|
1200
1275
|
<tr>
|
1201
|
-
<td
|
1202
|
-
<td>a <a class="link" href="clutter-Events.html#ClutterEventSequence" title="ClutterEventSequence"><span class="type">ClutterEventSequence</span></a>
|
1203
|
-
</td>
|
1276
|
+
<td class="parameter_name"><p>sequence</p></td>
|
1277
|
+
<td class="parameter_description"><p>a <a class="link" href="clutter-Events.html#ClutterEventSequence" title="ClutterEventSequence"><span class="type">ClutterEventSequence</span></a></p></td>
|
1278
|
+
<td class="parameter_annotations"> </td>
|
1204
1279
|
</tr>
|
1205
1280
|
<tr>
|
1206
|
-
<td
|
1207
|
-
<td>a <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a>
|
1208
|
-
</td>
|
1281
|
+
<td class="parameter_name"><p>actor</p></td>
|
1282
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a></p></td>
|
1283
|
+
<td class="parameter_annotations"> </td>
|
1209
1284
|
</tr>
|
1210
1285
|
</tbody>
|
1211
1286
|
</table></div>
|
1287
|
+
</div>
|
1212
1288
|
<p class="since">Since 1.12</p>
|
1213
1289
|
</div>
|
1214
1290
|
<hr>
|
1215
1291
|
<div class="refsect2">
|
1216
|
-
<a name="clutter-input-device-sequence-ungrab"></a><h3>clutter_input_device_sequence_ungrab
|
1217
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1218
|
-
|
1219
|
-
|
1220
|
-
<p>
|
1221
|
-
|
1222
|
-
|
1223
|
-
|
1224
|
-
<div class="
|
1292
|
+
<a name="clutter-input-device-sequence-ungrab"></a><h3>clutter_input_device_sequence_ungrab ()</h3>
|
1293
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1294
|
+
clutter_input_device_sequence_ungrab (<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>,
|
1295
|
+
<em class="parameter"><code><a class="link" href="clutter-Events.html#ClutterEventSequence" title="ClutterEventSequence"><span class="type">ClutterEventSequence</span></a> *sequence</code></em>);</pre>
|
1296
|
+
<p>Releases the grab on the <em class="parameter"><code>device</code></em>
|
1297
|
+
for the given <em class="parameter"><code>sequence</code></em>
|
1298
|
+
, if one is
|
1299
|
+
in place.</p>
|
1300
|
+
<div class="refsect3">
|
1301
|
+
<a name="id-1.7.2.8.8.27.5"></a><h4>Parameters</h4>
|
1302
|
+
<div class="informaltable"><table width="100%" border="0">
|
1225
1303
|
<colgroup>
|
1226
|
-
<col
|
1227
|
-
<col>
|
1304
|
+
<col width="150px" class="parameters_name">
|
1305
|
+
<col class="parameters_description">
|
1306
|
+
<col width="200px" class="parameters_annotations">
|
1228
1307
|
</colgroup>
|
1229
1308
|
<tbody>
|
1230
1309
|
<tr>
|
1231
|
-
<td
|
1232
|
-
<td>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a>
|
1233
|
-
</td>
|
1310
|
+
<td class="parameter_name"><p>device</p></td>
|
1311
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a></p></td>
|
1312
|
+
<td class="parameter_annotations"> </td>
|
1234
1313
|
</tr>
|
1235
1314
|
<tr>
|
1236
|
-
<td
|
1237
|
-
<td>a <a class="link" href="clutter-Events.html#ClutterEventSequence" title="ClutterEventSequence"><span class="type">ClutterEventSequence</span></a>
|
1238
|
-
</td>
|
1315
|
+
<td class="parameter_name"><p>sequence</p></td>
|
1316
|
+
<td class="parameter_description"><p>a <a class="link" href="clutter-Events.html#ClutterEventSequence" title="ClutterEventSequence"><span class="type">ClutterEventSequence</span></a></p></td>
|
1317
|
+
<td class="parameter_annotations"> </td>
|
1239
1318
|
</tr>
|
1240
1319
|
</tbody>
|
1241
1320
|
</table></div>
|
1321
|
+
</div>
|
1242
1322
|
<p class="since">Since 1.12</p>
|
1243
1323
|
</div>
|
1244
1324
|
<hr>
|
1245
1325
|
<div class="refsect2">
|
1246
|
-
<a name="clutter-input-device-sequence-get-grabbed-actor"></a><h3>clutter_input_device_sequence_get_grabbed_actor
|
1247
|
-
<pre class="programlisting"><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a>
|
1248
|
-
|
1249
|
-
|
1250
|
-
<
|
1251
|
-
Retrieves a pointer to the <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> currently grabbing the
|
1252
|
-
touch events coming from <em class="parameter"><code>device</code></em>
|
1253
|
-
</
|
1254
|
-
|
1326
|
+
<a name="clutter-input-device-sequence-get-grabbed-actor"></a><h3>clutter_input_device_sequence_get_grabbed_actor ()</h3>
|
1327
|
+
<pre class="programlisting"><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> *
|
1328
|
+
clutter_input_device_sequence_get_grabbed_actor
|
1329
|
+
(<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>,
|
1330
|
+
<em class="parameter"><code><a class="link" href="clutter-Events.html#ClutterEventSequence" title="ClutterEventSequence"><span class="type">ClutterEventSequence</span></a> *sequence</code></em>);</pre>
|
1331
|
+
<p>Retrieves a pointer to the <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> currently grabbing the
|
1332
|
+
touch events coming from <em class="parameter"><code>device</code></em>
|
1333
|
+
given the <em class="parameter"><code>sequence</code></em>
|
1334
|
+
.</p>
|
1335
|
+
<div class="refsect3">
|
1336
|
+
<a name="id-1.7.2.8.8.28.5"></a><h4>Parameters</h4>
|
1337
|
+
<div class="informaltable"><table width="100%" border="0">
|
1255
1338
|
<colgroup>
|
1256
|
-
<col
|
1257
|
-
<col>
|
1339
|
+
<col width="150px" class="parameters_name">
|
1340
|
+
<col class="parameters_description">
|
1341
|
+
<col width="200px" class="parameters_annotations">
|
1258
1342
|
</colgroup>
|
1259
1343
|
<tbody>
|
1260
1344
|
<tr>
|
1261
|
-
<td
|
1262
|
-
<td>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a>
|
1263
|
-
</td>
|
1264
|
-
</tr>
|
1265
|
-
<tr>
|
1266
|
-
<td><p><span class="term"><em class="parameter"><code>sequence</code></em> :</span></p></td>
|
1267
|
-
<td>a <a class="link" href="clutter-Events.html#ClutterEventSequence" title="ClutterEventSequence"><span class="type">ClutterEventSequence</span></a>
|
1268
|
-
</td>
|
1345
|
+
<td class="parameter_name"><p>device</p></td>
|
1346
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a></p></td>
|
1347
|
+
<td class="parameter_annotations"> </td>
|
1269
1348
|
</tr>
|
1270
1349
|
<tr>
|
1271
|
-
<td
|
1272
|
-
<td>a <a class="link" href="
|
1273
|
-
</td>
|
1350
|
+
<td class="parameter_name"><p>sequence</p></td>
|
1351
|
+
<td class="parameter_description"><p>a <a class="link" href="clutter-Events.html#ClutterEventSequence" title="ClutterEventSequence"><span class="type">ClutterEventSequence</span></a></p></td>
|
1352
|
+
<td class="parameter_annotations"> </td>
|
1274
1353
|
</tr>
|
1275
1354
|
</tbody>
|
1276
1355
|
</table></div>
|
1356
|
+
</div>
|
1357
|
+
<div class="refsect3">
|
1358
|
+
<a name="id-1.7.2.8.8.28.6"></a><h4>Returns</h4>
|
1359
|
+
<p> a <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a>, or <code class="literal">NULL</code>. </p>
|
1360
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1361
|
+
</div>
|
1277
1362
|
<p class="since">Since 1.12</p>
|
1278
1363
|
</div>
|
1279
1364
|
<hr>
|
1280
1365
|
<div class="refsect2">
|
1281
|
-
<a name="clutter-input-device-update-from-event"></a><h3>clutter_input_device_update_from_event
|
1282
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1283
|
-
|
1284
|
-
|
1285
|
-
|
1286
|
-
<
|
1287
|
-
Forcibly updates the state of the <em class="parameter"><code>device</code></em>
|
1288
|
-
</p>
|
1289
|
-
<p>
|
1290
|
-
|
1291
|
-
|
1292
|
-
</p>
|
1293
|
-
<p>
|
1294
|
-
Embedding toolkits that disable the event collection inside Clutter
|
1366
|
+
<a name="clutter-input-device-update-from-event"></a><h3>clutter_input_device_update_from_event ()</h3>
|
1367
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1368
|
+
clutter_input_device_update_from_event
|
1369
|
+
(<em class="parameter"><code><a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a> *device</code></em>,
|
1370
|
+
<em class="parameter"><code><a class="link" href="clutter-Events.html#ClutterEvent" title="union ClutterEvent"><span class="type">ClutterEvent</span></a> *event</code></em>,
|
1371
|
+
<em class="parameter"><code><span class="type">gboolean</span> update_stage</code></em>);</pre>
|
1372
|
+
<p>Forcibly updates the state of the <em class="parameter"><code>device</code></em>
|
1373
|
+
using a <a class="link" href="clutter-Events.html#ClutterEvent" title="union ClutterEvent"><span class="type">ClutterEvent</span></a></p>
|
1374
|
+
<p>This function should never be used by applications: it is meant
|
1375
|
+
for integration with embedding toolkits, like clutter-gtk</p>
|
1376
|
+
<p>Embedding toolkits that disable the event collection inside Clutter
|
1295
1377
|
need to use this function to update the state of input devices depending
|
1296
1378
|
on a <a class="link" href="clutter-Events.html#ClutterEvent" title="union ClutterEvent"><span class="type">ClutterEvent</span></a> that they are going to submit to the event handling code
|
1297
|
-
in Clutter though <a class="link" href="clutter-General.html#clutter-do-event" title="clutter_do_event
|
1379
|
+
in Clutter though <a class="link" href="clutter-General.html#clutter-do-event" title="clutter_do_event ()"><code class="function">clutter_do_event()</code></a>. Since the input devices hold the state
|
1298
1380
|
that is going to be used to fill in fields like the <a class="link" href="clutter-Events.html#ClutterButtonEvent" title="struct ClutterButtonEvent"><span class="type">ClutterButtonEvent</span></a>
|
1299
1381
|
click count, or to emit synthesized events like <a class="link" href="clutter-Events.html#CLUTTER-ENTER:CAPS"><code class="literal">CLUTTER_ENTER</code></a> and
|
1300
1382
|
<a class="link" href="clutter-Events.html#CLUTTER-LEAVE:CAPS"><code class="literal">CLUTTER_LEAVE</code></a>, it is necessary for embedding toolkits to also be
|
1301
|
-
responsible of updating the input device state
|
1302
|
-
|
1303
|
-
<p>
|
1304
|
-
For instance, this might be the code to translate an embedding toolkit
|
1383
|
+
responsible of updating the input device state.</p>
|
1384
|
+
<p>For instance, this might be the code to translate an embedding toolkit
|
1305
1385
|
native motion notification into a Clutter <a class="link" href="clutter-Events.html#ClutterMotionEvent" title="struct ClutterMotionEvent"><span class="type">ClutterMotionEvent</span></a> and ask
|
1306
|
-
Clutter to process it
|
1307
|
-
</p>
|
1308
|
-
<p>
|
1309
|
-
</p>
|
1386
|
+
Clutter to process it:</p>
|
1310
1387
|
<div class="informalexample">
|
1311
1388
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1312
1389
|
<tbody>
|
@@ -1326,14 +1403,9 @@ Clutter to process it:
|
|
1326
1403
|
</table>
|
1327
1404
|
</div>
|
1328
1405
|
|
1329
|
-
<p>
|
1330
|
-
|
1331
|
-
<p>
|
1332
|
-
Before letting <a class="link" href="clutter-General.html#clutter-do-event" title="clutter_do_event ()"><code class="function">clutter_do_event()</code></a> process the event, it is necessary to call
|
1333
|
-
<a class="link" href="ClutterInputDevice.html#clutter-input-device-update-from-event" title="clutter_input_device_update_from_event ()"><code class="function">clutter_input_device_update_from_event()</code></a>:
|
1334
|
-
</p>
|
1335
|
-
<p>
|
1336
|
-
</p>
|
1406
|
+
<p></p>
|
1407
|
+
<p>Before letting <a class="link" href="clutter-General.html#clutter-do-event" title="clutter_do_event ()"><code class="function">clutter_do_event()</code></a> process the event, it is necessary to call
|
1408
|
+
<a class="link" href="ClutterInputDevice.html#clutter-input-device-update-from-event" title="clutter_input_device_update_from_event ()"><code class="function">clutter_input_device_update_from_event()</code></a>:</p>
|
1337
1409
|
<div class="informalexample">
|
1338
1410
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1339
1411
|
<tbody>
|
@@ -1353,24 +1425,20 @@ Before letting <a class="link" href="clutter-General.html#clutter-do-event" titl
|
|
1353
1425
|
13
|
1354
1426
|
14
|
1355
1427
|
15
|
1356
|
-
16
|
1357
|
-
17
|
1358
|
-
18</pre></td>
|
1428
|
+
16</pre></td>
|
1359
1429
|
<td class="listing_code"><pre class="programlisting"><span class="usertype">ClutterEvent</span><span class="normal"> c_event</span><span class="symbol">;</span>
|
1360
1430
|
<span class="usertype">ClutterDeviceManager</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">manager</span><span class="symbol">;</span>
|
1361
1431
|
<span class="usertype">ClutterInputDevice</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">device</span><span class="symbol">;</span>
|
1362
1432
|
|
1363
1433
|
<span class="function">translate_native_event_to_clutter</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">native_event</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">c_event</span><span class="symbol">);</span>
|
1364
1434
|
|
1365
|
-
<span class="comment"
|
1435
|
+
<span class="comment">// get the device manager</span>
|
1366
1436
|
<span class="normal">manager </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterDeviceManager.html#clutter-device-manager-get-default">clutter_device_manager_get_default</a></span><span class="normal"> </span><span class="symbol">();</span>
|
1367
1437
|
|
1368
|
-
<span class="comment"
|
1369
|
-
<span class="
|
1370
|
-
<span class="comment"> */</span>
|
1371
|
-
<span class="normal">device </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterDeviceManager.html#clutter-device-manager-get-core-device">clutter_device_manager_get_core_device</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">manager</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">%</span><span class="normal"><a href="ClutterInputDevice.html#CLUTTER-POINTER-DEVICE:CAPS">CLUTTER_POINTER_DEVICE</a></span><span class="symbol">);</span>
|
1438
|
+
<span class="comment">// use the default Core Pointer that Clutter backends register by default</span>
|
1439
|
+
<span class="normal">device </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterDeviceManager.html#clutter-device-manager-get-core-device">clutter_device_manager_get_core_device</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">manager</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">%</span><span class="normal">CLUTTER_POINTER_DEVICE</span><span class="symbol">);</span>
|
1372
1440
|
|
1373
|
-
<span class="comment"
|
1441
|
+
<span class="comment">// update the state of the input device</span>
|
1374
1442
|
<span class="function"><a href="ClutterInputDevice.html#clutter-input-device-update-from-event">clutter_input_device_update_from_event</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">device</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">c_event</span><span class="symbol">,</span><span class="normal"> FALSE</span><span class="symbol">);</span>
|
1375
1443
|
|
1376
1444
|
<span class="function"><a href="clutter-General.html#clutter-do-event">clutter_do_event</a></span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">c_event</span><span class="symbol">);</span></pre></td>
|
@@ -1379,130 +1447,352 @@ Before letting <a class="link" href="clutter-General.html#clutter-do-event" titl
|
|
1379
1447
|
</table>
|
1380
1448
|
</div>
|
1381
1449
|
|
1382
|
-
<p>
|
1383
|
-
|
1384
|
-
|
1385
|
-
The <em class="parameter"><code>update_stage</code></em> boolean argument should be used when the input device
|
1450
|
+
<p></p>
|
1451
|
+
<p>The <em class="parameter"><code>update_stage</code></em>
|
1452
|
+
boolean argument should be used when the input device
|
1386
1453
|
enters and leaves a <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>; it will use the <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> field
|
1387
|
-
of the passed <em class="parameter"><code>event</code></em>
|
1388
|
-
|
1389
|
-
<div class="
|
1454
|
+
of the passed <em class="parameter"><code>event</code></em>
|
1455
|
+
to update the stage associated to the input device.</p>
|
1456
|
+
<div class="refsect3">
|
1457
|
+
<a name="id-1.7.2.8.8.29.14"></a><h4>Parameters</h4>
|
1458
|
+
<div class="informaltable"><table width="100%" border="0">
|
1459
|
+
<colgroup>
|
1460
|
+
<col width="150px" class="parameters_name">
|
1461
|
+
<col class="parameters_description">
|
1462
|
+
<col width="200px" class="parameters_annotations">
|
1463
|
+
</colgroup>
|
1464
|
+
<tbody>
|
1465
|
+
<tr>
|
1466
|
+
<td class="parameter_name"><p>device</p></td>
|
1467
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a></p></td>
|
1468
|
+
<td class="parameter_annotations"> </td>
|
1469
|
+
</tr>
|
1470
|
+
<tr>
|
1471
|
+
<td class="parameter_name"><p>event</p></td>
|
1472
|
+
<td class="parameter_description"><p>a <a class="link" href="clutter-Events.html#ClutterEvent" title="union ClutterEvent"><span class="type">ClutterEvent</span></a></p></td>
|
1473
|
+
<td class="parameter_annotations"> </td>
|
1474
|
+
</tr>
|
1475
|
+
<tr>
|
1476
|
+
<td class="parameter_name"><p>update_stage</p></td>
|
1477
|
+
<td class="parameter_description"><p>whether to update the <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> of the <em class="parameter"><code>device</code></em>
|
1478
|
+
using the stage of the event</p></td>
|
1479
|
+
<td class="parameter_annotations"> </td>
|
1480
|
+
</tr>
|
1481
|
+
</tbody>
|
1482
|
+
</table></div>
|
1483
|
+
</div>
|
1484
|
+
<p class="since">Since 1.2</p>
|
1485
|
+
</div>
|
1486
|
+
</div>
|
1487
|
+
<div class="refsect1">
|
1488
|
+
<a name="ClutterInputDevice.other_details"></a><h2>Types and Values</h2>
|
1489
|
+
<div class="refsect2">
|
1490
|
+
<a name="ClutterInputDeviceType"></a><h3>enum ClutterInputDeviceType</h3>
|
1491
|
+
<p>The types of input devices available.</p>
|
1492
|
+
<p>The <a class="link" href="ClutterInputDevice.html#ClutterInputDeviceType" title="enum ClutterInputDeviceType"><span class="type">ClutterInputDeviceType</span></a> enumeration can be extended at later
|
1493
|
+
date; not every platform supports every input device type.</p>
|
1494
|
+
<div class="refsect3">
|
1495
|
+
<a name="id-1.7.2.8.9.2.5"></a><h4>Members</h4>
|
1496
|
+
<div class="informaltable"><table width="100%" border="0">
|
1390
1497
|
<colgroup>
|
1391
|
-
<col
|
1392
|
-
<col>
|
1498
|
+
<col width="300px" class="enum_members_name">
|
1499
|
+
<col class="enum_members_description">
|
1500
|
+
<col width="200px" class="enum_members_annotations">
|
1393
1501
|
</colgroup>
|
1394
1502
|
<tbody>
|
1395
1503
|
<tr>
|
1396
|
-
<td
|
1397
|
-
<td
|
1504
|
+
<td class="enum_member_name"><p><a name="CLUTTER-POINTER-DEVICE:CAPS"></a>CLUTTER_POINTER_DEVICE</p></td>
|
1505
|
+
<td class="enum_member_description">
|
1506
|
+
<p>A pointer device</p>
|
1507
|
+
</td>
|
1508
|
+
<td class="enum_member_annotations"> </td>
|
1509
|
+
</tr>
|
1510
|
+
<tr>
|
1511
|
+
<td class="enum_member_name"><p><a name="CLUTTER-KEYBOARD-DEVICE:CAPS"></a>CLUTTER_KEYBOARD_DEVICE</p></td>
|
1512
|
+
<td class="enum_member_description">
|
1513
|
+
<p>A keyboard device</p>
|
1514
|
+
</td>
|
1515
|
+
<td class="enum_member_annotations"> </td>
|
1516
|
+
</tr>
|
1517
|
+
<tr>
|
1518
|
+
<td class="enum_member_name"><p><a name="CLUTTER-EXTENSION-DEVICE:CAPS"></a>CLUTTER_EXTENSION_DEVICE</p></td>
|
1519
|
+
<td class="enum_member_description">
|
1520
|
+
<p>A generic extension device</p>
|
1521
|
+
</td>
|
1522
|
+
<td class="enum_member_annotations"> </td>
|
1523
|
+
</tr>
|
1524
|
+
<tr>
|
1525
|
+
<td class="enum_member_name"><p><a name="CLUTTER-JOYSTICK-DEVICE:CAPS"></a>CLUTTER_JOYSTICK_DEVICE</p></td>
|
1526
|
+
<td class="enum_member_description">
|
1527
|
+
<p>A joystick device</p>
|
1528
|
+
</td>
|
1529
|
+
<td class="enum_member_annotations"> </td>
|
1530
|
+
</tr>
|
1531
|
+
<tr>
|
1532
|
+
<td class="enum_member_name"><p><a name="CLUTTER-TABLET-DEVICE:CAPS"></a>CLUTTER_TABLET_DEVICE</p></td>
|
1533
|
+
<td class="enum_member_description">
|
1534
|
+
<p>A tablet device</p>
|
1535
|
+
</td>
|
1536
|
+
<td class="enum_member_annotations"> </td>
|
1537
|
+
</tr>
|
1538
|
+
<tr>
|
1539
|
+
<td class="enum_member_name"><p><a name="CLUTTER-TOUCHPAD-DEVICE:CAPS"></a>CLUTTER_TOUCHPAD_DEVICE</p></td>
|
1540
|
+
<td class="enum_member_description">
|
1541
|
+
<p>A touchpad device</p>
|
1542
|
+
</td>
|
1543
|
+
<td class="enum_member_annotations"> </td>
|
1544
|
+
</tr>
|
1545
|
+
<tr>
|
1546
|
+
<td class="enum_member_name"><p><a name="CLUTTER-TOUCHSCREEN-DEVICE:CAPS"></a>CLUTTER_TOUCHSCREEN_DEVICE</p></td>
|
1547
|
+
<td class="enum_member_description">
|
1548
|
+
<p>A touch screen device</p>
|
1549
|
+
</td>
|
1550
|
+
<td class="enum_member_annotations"> </td>
|
1551
|
+
</tr>
|
1552
|
+
<tr>
|
1553
|
+
<td class="enum_member_name"><p><a name="CLUTTER-PEN-DEVICE:CAPS"></a>CLUTTER_PEN_DEVICE</p></td>
|
1554
|
+
<td class="enum_member_description">
|
1555
|
+
<p>A pen device</p>
|
1398
1556
|
</td>
|
1557
|
+
<td class="enum_member_annotations"> </td>
|
1399
1558
|
</tr>
|
1400
1559
|
<tr>
|
1401
|
-
<td
|
1402
|
-
<td
|
1560
|
+
<td class="enum_member_name"><p><a name="CLUTTER-ERASER-DEVICE:CAPS"></a>CLUTTER_ERASER_DEVICE</p></td>
|
1561
|
+
<td class="enum_member_description">
|
1562
|
+
<p>An eraser device</p>
|
1403
1563
|
</td>
|
1564
|
+
<td class="enum_member_annotations"> </td>
|
1404
1565
|
</tr>
|
1405
1566
|
<tr>
|
1406
|
-
<td
|
1407
|
-
<td
|
1408
|
-
|
1567
|
+
<td class="enum_member_name"><p><a name="CLUTTER-CURSOR-DEVICE:CAPS"></a>CLUTTER_CURSOR_DEVICE</p></td>
|
1568
|
+
<td class="enum_member_description">
|
1569
|
+
<p>A cursor device</p>
|
1570
|
+
</td>
|
1571
|
+
<td class="enum_member_annotations"> </td>
|
1572
|
+
</tr>
|
1573
|
+
<tr>
|
1574
|
+
<td class="enum_member_name"><p><a name="CLUTTER-N-DEVICE-TYPES:CAPS"></a>CLUTTER_N_DEVICE_TYPES</p></td>
|
1575
|
+
<td class="enum_member_description">
|
1576
|
+
<p>The number of device types</p>
|
1577
|
+
</td>
|
1578
|
+
<td class="enum_member_annotations"> </td>
|
1409
1579
|
</tr>
|
1410
1580
|
</tbody>
|
1411
1581
|
</table></div>
|
1412
|
-
|
1582
|
+
</div>
|
1583
|
+
<p class="since">Since 1.0</p>
|
1584
|
+
</div>
|
1585
|
+
<hr>
|
1586
|
+
<div class="refsect2">
|
1587
|
+
<a name="ClutterInputAxis"></a><h3>enum ClutterInputAxis</h3>
|
1588
|
+
<p>The type of axes Clutter recognizes on a <a class="link" href="ClutterInputDevice.html" title="ClutterInputDevice"><span class="type">ClutterInputDevice</span></a></p>
|
1589
|
+
<div class="refsect3">
|
1590
|
+
<a name="id-1.7.2.8.9.3.4"></a><h4>Members</h4>
|
1591
|
+
<div class="informaltable"><table width="100%" border="0">
|
1592
|
+
<colgroup>
|
1593
|
+
<col width="300px" class="enum_members_name">
|
1594
|
+
<col class="enum_members_description">
|
1595
|
+
<col width="200px" class="enum_members_annotations">
|
1596
|
+
</colgroup>
|
1597
|
+
<tbody>
|
1598
|
+
<tr>
|
1599
|
+
<td class="enum_member_name"><p><a name="CLUTTER-INPUT-AXIS-IGNORE:CAPS"></a>CLUTTER_INPUT_AXIS_IGNORE</p></td>
|
1600
|
+
<td class="enum_member_description">
|
1601
|
+
<p>Unused axis</p>
|
1602
|
+
</td>
|
1603
|
+
<td class="enum_member_annotations"> </td>
|
1604
|
+
</tr>
|
1605
|
+
<tr>
|
1606
|
+
<td class="enum_member_name"><p><a name="CLUTTER-INPUT-AXIS-X:CAPS"></a>CLUTTER_INPUT_AXIS_X</p></td>
|
1607
|
+
<td class="enum_member_description">
|
1608
|
+
<p>The position on the X axis</p>
|
1609
|
+
</td>
|
1610
|
+
<td class="enum_member_annotations"> </td>
|
1611
|
+
</tr>
|
1612
|
+
<tr>
|
1613
|
+
<td class="enum_member_name"><p><a name="CLUTTER-INPUT-AXIS-Y:CAPS"></a>CLUTTER_INPUT_AXIS_Y</p></td>
|
1614
|
+
<td class="enum_member_description">
|
1615
|
+
<p>The position of the Y axis</p>
|
1616
|
+
</td>
|
1617
|
+
<td class="enum_member_annotations"> </td>
|
1618
|
+
</tr>
|
1619
|
+
<tr>
|
1620
|
+
<td class="enum_member_name"><p><a name="CLUTTER-INPUT-AXIS-PRESSURE:CAPS"></a>CLUTTER_INPUT_AXIS_PRESSURE</p></td>
|
1621
|
+
<td class="enum_member_description">
|
1622
|
+
<p>The pressure information</p>
|
1623
|
+
</td>
|
1624
|
+
<td class="enum_member_annotations"> </td>
|
1625
|
+
</tr>
|
1626
|
+
<tr>
|
1627
|
+
<td class="enum_member_name"><p><a name="CLUTTER-INPUT-AXIS-XTILT:CAPS"></a>CLUTTER_INPUT_AXIS_XTILT</p></td>
|
1628
|
+
<td class="enum_member_description">
|
1629
|
+
<p>The tilt on the X axis</p>
|
1630
|
+
</td>
|
1631
|
+
<td class="enum_member_annotations"> </td>
|
1632
|
+
</tr>
|
1633
|
+
<tr>
|
1634
|
+
<td class="enum_member_name"><p><a name="CLUTTER-INPUT-AXIS-YTILT:CAPS"></a>CLUTTER_INPUT_AXIS_YTILT</p></td>
|
1635
|
+
<td class="enum_member_description">
|
1636
|
+
<p>The tile on the Y axis</p>
|
1637
|
+
</td>
|
1638
|
+
<td class="enum_member_annotations"> </td>
|
1639
|
+
</tr>
|
1640
|
+
<tr>
|
1641
|
+
<td class="enum_member_name"><p><a name="CLUTTER-INPUT-AXIS-WHEEL:CAPS"></a>CLUTTER_INPUT_AXIS_WHEEL</p></td>
|
1642
|
+
<td class="enum_member_description">
|
1643
|
+
<p>A wheel</p>
|
1644
|
+
</td>
|
1645
|
+
<td class="enum_member_annotations"> </td>
|
1646
|
+
</tr>
|
1647
|
+
<tr>
|
1648
|
+
<td class="enum_member_name"><p><a name="CLUTTER-INPUT-AXIS-DISTANCE:CAPS"></a>CLUTTER_INPUT_AXIS_DISTANCE</p></td>
|
1649
|
+
<td class="enum_member_description">
|
1650
|
+
<p>Distance (Since 1.12)</p>
|
1651
|
+
</td>
|
1652
|
+
<td class="enum_member_annotations"> </td>
|
1653
|
+
</tr>
|
1654
|
+
<tr>
|
1655
|
+
<td class="enum_member_name"><p><a name="CLUTTER-INPUT-AXIS-LAST:CAPS"></a>CLUTTER_INPUT_AXIS_LAST</p></td>
|
1656
|
+
<td class="enum_member_description">
|
1657
|
+
<p>Last value of the enumeration; this value is
|
1658
|
+
useful when iterating over the enumeration values (Since 1.12)</p>
|
1659
|
+
</td>
|
1660
|
+
<td class="enum_member_annotations"> </td>
|
1661
|
+
</tr>
|
1662
|
+
</tbody>
|
1663
|
+
</table></div>
|
1664
|
+
</div>
|
1665
|
+
<p class="since">Since 1.6</p>
|
1666
|
+
</div>
|
1667
|
+
<hr>
|
1668
|
+
<div class="refsect2">
|
1669
|
+
<a name="ClutterInputMode"></a><h3>enum ClutterInputMode</h3>
|
1670
|
+
<p>The mode for input devices available.</p>
|
1671
|
+
<div class="refsect3">
|
1672
|
+
<a name="id-1.7.2.8.9.4.4"></a><h4>Members</h4>
|
1673
|
+
<div class="informaltable"><table width="100%" border="0">
|
1674
|
+
<colgroup>
|
1675
|
+
<col width="300px" class="enum_members_name">
|
1676
|
+
<col class="enum_members_description">
|
1677
|
+
<col width="200px" class="enum_members_annotations">
|
1678
|
+
</colgroup>
|
1679
|
+
<tbody>
|
1680
|
+
<tr>
|
1681
|
+
<td class="enum_member_name"><p><a name="CLUTTER-INPUT-MODE-MASTER:CAPS"></a>CLUTTER_INPUT_MODE_MASTER</p></td>
|
1682
|
+
<td class="enum_member_description">
|
1683
|
+
<p>A master, virtual device</p>
|
1684
|
+
</td>
|
1685
|
+
<td class="enum_member_annotations"> </td>
|
1686
|
+
</tr>
|
1687
|
+
<tr>
|
1688
|
+
<td class="enum_member_name"><p><a name="CLUTTER-INPUT-MODE-SLAVE:CAPS"></a>CLUTTER_INPUT_MODE_SLAVE</p></td>
|
1689
|
+
<td class="enum_member_description">
|
1690
|
+
<p>A slave, physical device, attached to
|
1691
|
+
a master device</p>
|
1692
|
+
</td>
|
1693
|
+
<td class="enum_member_annotations"> </td>
|
1694
|
+
</tr>
|
1695
|
+
<tr>
|
1696
|
+
<td class="enum_member_name"><p><a name="CLUTTER-INPUT-MODE-FLOATING:CAPS"></a>CLUTTER_INPUT_MODE_FLOATING</p></td>
|
1697
|
+
<td class="enum_member_description">
|
1698
|
+
<p>A slave, physical device, not attached
|
1699
|
+
to a master device</p>
|
1700
|
+
</td>
|
1701
|
+
<td class="enum_member_annotations"> </td>
|
1702
|
+
</tr>
|
1703
|
+
</tbody>
|
1704
|
+
</table></div>
|
1705
|
+
</div>
|
1706
|
+
<p class="since">Since 1.6</p>
|
1707
|
+
</div>
|
1708
|
+
<hr>
|
1709
|
+
<div class="refsect2">
|
1710
|
+
<a name="ClutterInputDevice-struct"></a><h3>ClutterInputDevice</h3>
|
1711
|
+
<pre class="programlisting">typedef struct _ClutterInputDevice ClutterInputDevice;</pre>
|
1712
|
+
<p>Generic representation of an input device. The actual contents of this
|
1713
|
+
structure depend on the backend used.</p>
|
1413
1714
|
</div>
|
1414
1715
|
</div>
|
1415
1716
|
<div class="refsect1">
|
1416
1717
|
<a name="ClutterInputDevice.property-details"></a><h2>Property Details</h2>
|
1417
1718
|
<div class="refsect2">
|
1418
|
-
<a name="ClutterInputDevice--backend"></a><h3>The <code class="literal"
|
1419
|
-
<pre class="programlisting">
|
1420
|
-
<p>
|
1421
|
-
|
1422
|
-
</p>
|
1719
|
+
<a name="ClutterInputDevice--backend"></a><h3>The <code class="literal">“backend”</code> property</h3>
|
1720
|
+
<pre class="programlisting"> “backend” <a class="link" href="ClutterBackend.html" title="ClutterBackend"><span class="type">ClutterBackend</span></a> *</pre>
|
1721
|
+
<p>The <a class="link" href="ClutterBackend.html" title="ClutterBackend"><span class="type">ClutterBackend</span></a> that created the device.</p>
|
1722
|
+
<p>Flags: Read / Write / Construct Only</p>
|
1423
1723
|
<p class="since">Since 1.6</p>
|
1424
1724
|
</div>
|
1425
1725
|
<hr>
|
1426
1726
|
<div class="refsect2">
|
1427
|
-
<a name="ClutterInputDevice--device-manager"></a><h3>The <code class="literal"
|
1428
|
-
<pre class="programlisting">
|
1429
|
-
<p>
|
1430
|
-
|
1431
|
-
</p>
|
1727
|
+
<a name="ClutterInputDevice--device-manager"></a><h3>The <code class="literal">“device-manager”</code> property</h3>
|
1728
|
+
<pre class="programlisting"> “device-manager” <a class="link" href="ClutterDeviceManager.html" title="ClutterDeviceManager"><span class="type">ClutterDeviceManager</span></a> *</pre>
|
1729
|
+
<p>The <a class="link" href="ClutterDeviceManager.html" title="ClutterDeviceManager"><span class="type">ClutterDeviceManager</span></a> instance which owns the device</p>
|
1730
|
+
<p>Flags: Read / Write / Construct Only</p>
|
1432
1731
|
<p class="since">Since 1.6</p>
|
1433
1732
|
</div>
|
1434
1733
|
<hr>
|
1435
1734
|
<div class="refsect2">
|
1436
|
-
<a name="ClutterInputDevice--device-mode"></a><h3>The <code class="literal"
|
1437
|
-
<pre class="programlisting">
|
1735
|
+
<a name="ClutterInputDevice--device-mode"></a><h3>The <code class="literal">“device-mode”</code> property</h3>
|
1736
|
+
<pre class="programlisting"> “device-mode” <a class="link" href="ClutterInputDevice.html#ClutterInputMode" title="enum ClutterInputMode"><span class="type">ClutterInputMode</span></a></pre>
|
1438
1737
|
<p>The mode of the device.</p>
|
1738
|
+
<p>Flags: Read / Write / Construct Only</p>
|
1439
1739
|
<p>Default value: CLUTTER_INPUT_MODE_FLOATING</p>
|
1440
1740
|
</div>
|
1441
1741
|
<hr>
|
1442
1742
|
<div class="refsect2">
|
1443
|
-
<a name="ClutterInputDevice--device-type"></a><h3>The <code class="literal"
|
1444
|
-
<pre class="programlisting">
|
1445
|
-
<p>
|
1446
|
-
|
1447
|
-
</p>
|
1743
|
+
<a name="ClutterInputDevice--device-type"></a><h3>The <code class="literal">“device-type”</code> property</h3>
|
1744
|
+
<pre class="programlisting"> “device-type” <a class="link" href="ClutterInputDevice.html#ClutterInputDeviceType" title="enum ClutterInputDeviceType"><span class="type">ClutterInputDeviceType</span></a></pre>
|
1745
|
+
<p>The type of the device</p>
|
1746
|
+
<p>Flags: Read / Write / Construct Only</p>
|
1448
1747
|
<p>Default value: CLUTTER_POINTER_DEVICE</p>
|
1449
1748
|
<p class="since">Since 1.2</p>
|
1450
1749
|
</div>
|
1451
1750
|
<hr>
|
1452
1751
|
<div class="refsect2">
|
1453
|
-
<a name="ClutterInputDevice--enabled"></a><h3>The <code class="literal"
|
1454
|
-
<pre class="programlisting">
|
1455
|
-
<p>
|
1456
|
-
|
1457
|
-
</p>
|
1458
|
-
<p>
|
1459
|
-
|
1460
|
-
to <a class="link" href="ClutterInputDevice.html#CLUTTER-INPUT-MODE-MASTER:CAPS"><code class="literal">CLUTTER_INPUT_MODE_MASTER</code></a> cannot be disabled.
|
1461
|
-
</p>
|
1462
|
-
<p>
|
1463
|
-
A device must be enabled in order to receive events from it.
|
1464
|
-
</p>
|
1752
|
+
<a name="ClutterInputDevice--enabled"></a><h3>The <code class="literal">“enabled”</code> property</h3>
|
1753
|
+
<pre class="programlisting"> “enabled” <span class="type">gboolean</span></pre>
|
1754
|
+
<p>Whether the device is enabled.</p>
|
1755
|
+
<p>A device with the <a class="link" href="ClutterInputDevice.html#ClutterInputDevice--device-mode" title="The “device-mode” property"><span class="type">“device-mode”</span></a> property set
|
1756
|
+
to <a class="link" href="ClutterInputDevice.html#CLUTTER-INPUT-MODE-MASTER:CAPS"><code class="literal">CLUTTER_INPUT_MODE_MASTER</code></a> cannot be disabled.</p>
|
1757
|
+
<p>A device must be enabled in order to receive events from it.</p>
|
1758
|
+
<p>Flags: Read / Write</p>
|
1465
1759
|
<p>Default value: FALSE</p>
|
1466
1760
|
<p class="since">Since 1.6</p>
|
1467
1761
|
</div>
|
1468
1762
|
<hr>
|
1469
1763
|
<div class="refsect2">
|
1470
|
-
<a name="ClutterInputDevice--has-cursor"></a><h3>The <code class="literal"
|
1471
|
-
<pre class="programlisting">
|
1472
|
-
<p>
|
1473
|
-
|
1474
|
-
</p>
|
1764
|
+
<a name="ClutterInputDevice--has-cursor"></a><h3>The <code class="literal">“has-cursor”</code> property</h3>
|
1765
|
+
<pre class="programlisting"> “has-cursor” <span class="type">gboolean</span></pre>
|
1766
|
+
<p>Whether the device has an on screen cursor following its movement.</p>
|
1767
|
+
<p>Flags: Read / Write / Construct Only</p>
|
1475
1768
|
<p>Default value: FALSE</p>
|
1476
1769
|
<p class="since">Since 1.6</p>
|
1477
1770
|
</div>
|
1478
1771
|
<hr>
|
1479
1772
|
<div class="refsect2">
|
1480
|
-
<a name="ClutterInputDevice--id"></a><h3>The <code class="literal"
|
1481
|
-
<pre class="programlisting">
|
1482
|
-
<p>
|
1483
|
-
|
1484
|
-
</p>
|
1773
|
+
<a name="ClutterInputDevice--id"></a><h3>The <code class="literal">“id”</code> property</h3>
|
1774
|
+
<pre class="programlisting"> “id” <span class="type">gint</span></pre>
|
1775
|
+
<p>The unique identifier of the device</p>
|
1776
|
+
<p>Flags: Read / Write / Construct Only</p>
|
1485
1777
|
<p>Allowed values: >= -1</p>
|
1486
1778
|
<p>Default value: 0</p>
|
1487
1779
|
<p class="since">Since 1.2</p>
|
1488
1780
|
</div>
|
1489
1781
|
<hr>
|
1490
1782
|
<div class="refsect2">
|
1491
|
-
<a name="ClutterInputDevice--n-axes"></a><h3>The <code class="literal"
|
1492
|
-
<pre class="programlisting">
|
1493
|
-
<p>
|
1494
|
-
|
1495
|
-
</p>
|
1783
|
+
<a name="ClutterInputDevice--n-axes"></a><h3>The <code class="literal">“n-axes”</code> property</h3>
|
1784
|
+
<pre class="programlisting"> “n-axes” <span class="type">guint</span></pre>
|
1785
|
+
<p>The number of axes of the device.</p>
|
1786
|
+
<p>Flags: Read</p>
|
1496
1787
|
<p>Default value: 0</p>
|
1497
1788
|
<p class="since">Since 1.6</p>
|
1498
1789
|
</div>
|
1499
1790
|
<hr>
|
1500
1791
|
<div class="refsect2">
|
1501
|
-
<a name="ClutterInputDevice--name"></a><h3>The <code class="literal"
|
1502
|
-
<pre class="programlisting">
|
1503
|
-
<p>
|
1504
|
-
|
1505
|
-
</p>
|
1792
|
+
<a name="ClutterInputDevice--name"></a><h3>The <code class="literal">“name”</code> property</h3>
|
1793
|
+
<pre class="programlisting"> “name” <span class="type">gchar</span> *</pre>
|
1794
|
+
<p>The name of the device</p>
|
1795
|
+
<p>Flags: Read / Write / Construct Only</p>
|
1506
1796
|
<p>Default value: NULL</p>
|
1507
1797
|
<p class="since">Since 1.2</p>
|
1508
1798
|
</div>
|
@@ -1510,6 +1800,6 @@ The name of the device
|
|
1510
1800
|
</div>
|
1511
1801
|
<div class="footer">
|
1512
1802
|
<hr>
|
1513
|
-
Generated by GTK-Doc V1.
|
1803
|
+
Generated by GTK-Doc V1.20.1</div>
|
1514
1804
|
</body>
|
1515
1805
|
</html>
|