clutter 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Rakefile +14 -5
- data/lib/clutter.rb +1 -2
- data/vendor/local/bin/json-glib-format.exe +0 -0
- data/vendor/local/bin/json-glib-validate.exe +0 -0
- data/vendor/local/bin/libclutter-1.0-0.dll +0 -0
- data/vendor/local/bin/{libcogl-15.dll → libcogl-20.dll} +0 -0
- data/vendor/local/bin/libcogl-pango-20.dll +0 -0
- data/vendor/local/bin/libcogl-path-20.dll +0 -0
- data/vendor/local/bin/libjson-glib-1.0-0.dll +0 -0
- data/vendor/local/include/clutter-1.0/cally/cally-actor.h +9 -4
- data/vendor/local/include/clutter-1.0/cally/cally-clone.h +6 -4
- data/vendor/local/include/clutter-1.0/cally/cally-group.h +5 -3
- data/vendor/local/include/clutter-1.0/cally/cally-main.h +7 -2
- data/vendor/local/include/clutter-1.0/cally/cally-rectangle.h +5 -3
- data/vendor/local/include/clutter-1.0/cally/cally-root.h +6 -4
- data/vendor/local/include/clutter-1.0/cally/cally-stage.h +5 -3
- data/vendor/local/include/clutter-1.0/cally/cally-text.h +6 -4
- data/vendor/local/include/clutter-1.0/cally/cally-texture.h +6 -4
- data/vendor/local/include/clutter-1.0/cally/cally-util.h +7 -3
- data/vendor/local/include/clutter-1.0/clutter/clutter-action.h +13 -5
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor-meta.h +8 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor.h +90 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-align-constraint.h +9 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-animatable.h +5 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-backend.h +15 -9
- data/vendor/local/include/clutter-1.0/clutter/clutter-bin-layout.h +4 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-bind-constraint.h +9 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-binding-pool.h +13 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-blur-effect.h +3 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-box-layout.h +9 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-brightness-contrast-effect.h +9 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-cairo.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-canvas.h +7 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-child-meta.h +10 -8
- data/vendor/local/include/clutter-1.0/clutter/clutter-click-action.h +8 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-clone.h +8 -4
- data/vendor/local/include/clutter-1.0/clutter/clutter-color.h +32 -7
- data/vendor/local/include/clutter-1.0/clutter/clutter-colorize-effect.h +5 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-constraint.h +14 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-container.h +49 -37
- data/vendor/local/include/clutter-1.0/clutter/clutter-content.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-deform-effect.h +19 -13
- data/vendor/local/include/clutter-1.0/clutter/clutter-deprecated.h +1 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-desaturate-effect.h +5 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-device-manager.h +6 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-drag-action.h +12 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-drop-action.h +4 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-effect.h +11 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-enum-types.h +62 -55
- data/vendor/local/include/clutter-1.0/clutter/clutter-enums.h +23 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-event.h +74 -8
- data/vendor/local/include/clutter-1.0/clutter/clutter-feature.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-fixed-layout.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-flow-layout.h +14 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-gesture-action.h +27 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-group.h +1 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-image.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-input-device.h +20 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-interval.h +18 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-layout-manager.h +13 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-layout-meta.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-list-model.h +3 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-macros.h +67 -33
- data/vendor/local/include/clutter-1.0/clutter/clutter-main.h +36 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-model.h +42 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-offscreen-effect.h +4 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-page-turn-effect.h +9 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-paint-nodes.h +5 -5
- data/vendor/local/include/clutter-1.0/clutter/clutter-pan-action.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-path-constraint.h +7 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-path.h +26 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-property-transition.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-rotate-action.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-script.h +16 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-scriptable.h +5 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-scroll-actor.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-settings.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-shader-effect.h +9 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-shader-types.h +10 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-snap-constraint.h +9 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage-manager.h +5 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage.h +35 -9
- data/vendor/local/include/clutter-1.0/clutter/clutter-swipe-action.h +4 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-tap-action.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-test-utils.h +164 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-text-buffer.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-text.h +67 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-texture.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-timeline.h +25 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-transition-group.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-transition.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-types.h +60 -6
- data/vendor/local/include/clutter-1.0/clutter/clutter-units.h +18 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-version.h +37 -20
- data/vendor/local/include/clutter-1.0/clutter/clutter-zoom-action.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter.h +2 -3
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-fixed.h +1 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-state.h +3 -3
- data/vendor/local/include/clutter-1.0/clutter/{clutter-table-layout.h → deprecated/clutter-table-layout.h} +15 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-timeout-pool.h +1 -1
- data/vendor/local/include/clutter-1.0/clutter/win32/clutter-win32.h +5 -0
- data/vendor/local/include/cogl/cogl-pango/cogl-pango.h +33 -14
- data/vendor/local/include/cogl/cogl-path/cogl-path-types.h +18 -14
- data/vendor/local/include/cogl/cogl-path/cogl-path.h +22 -12
- data/vendor/local/include/cogl/cogl-path/cogl1-path-functions.h +20 -13
- data/vendor/local/include/cogl/cogl-path/cogl2-path-functions.h +35 -13
- data/vendor/local/include/cogl/cogl/cogl-atlas-texture.h +81 -53
- data/vendor/local/include/cogl/cogl/cogl-attribute-buffer.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-attribute.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-auto-texture.h +221 -0
- data/vendor/local/include/cogl/cogl/cogl-bitmap.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-buffer.h +26 -13
- data/vendor/local/include/cogl/cogl/cogl-clip-state.h +244 -15
- data/vendor/local/include/cogl/cogl/cogl-clutter.h +18 -13
- data/vendor/local/include/cogl/cogl/cogl-color.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-context.h +41 -14
- data/vendor/local/include/cogl/cogl/cogl-defines.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-deprecated.h +18 -11
- data/vendor/local/include/cogl/cogl/cogl-depth-state.h +20 -14
- data/vendor/local/include/cogl/cogl/cogl-display.h +33 -14
- data/vendor/local/include/cogl/cogl/cogl-enum-types.h +9 -6
- data/vendor/local/include/cogl/cogl/cogl-error.h +20 -15
- data/vendor/local/include/cogl/cogl/cogl-euler.h +31 -13
- data/vendor/local/include/cogl/cogl/cogl-fence.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-fixed.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-frame-info.h +31 -12
- data/vendor/local/include/cogl/cogl/cogl-framebuffer-deprecated.h +264 -0
- data/vendor/local/include/cogl/cogl/cogl-framebuffer.h +70 -29
- data/vendor/local/include/cogl/cogl/cogl-gles2.h +64 -18
- data/vendor/local/include/cogl/cogl/cogl-glib-source.h +18 -11
- data/vendor/local/include/cogl/cogl/cogl-index-buffer.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-indices.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-macros.h +33 -13
- data/vendor/local/include/cogl/cogl/cogl-material-compat.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-matrix-stack.h +37 -12
- data/vendor/local/include/cogl/cogl/cogl-matrix.h +34 -15
- data/vendor/local/include/cogl/cogl/cogl-meta-texture.h +25 -12
- data/vendor/local/include/cogl/cogl/cogl-object.h +40 -12
- data/vendor/local/include/cogl/cogl/cogl-offscreen.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-onscreen-template.h +31 -12
- data/vendor/local/include/cogl/cogl/cogl-onscreen.h +63 -12
- data/vendor/local/include/cogl/cogl/cogl-output.h +31 -12
- data/vendor/local/include/cogl/cogl/cogl-pango.h +18 -11
- data/vendor/local/include/cogl/cogl/cogl-pipeline-layer-state.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-pipeline-state.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-pipeline.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-pixel-buffer.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-poll.h +20 -14
- data/vendor/local/include/cogl/cogl/cogl-primitive-texture.h +25 -12
- data/vendor/local/include/cogl/cogl/cogl-primitive.h +32 -13
- data/vendor/local/include/cogl/cogl/cogl-primitives.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-quaternion.h +34 -15
- data/vendor/local/include/cogl/cogl/cogl-renderer.h +33 -15
- data/vendor/local/include/cogl/cogl/cogl-shader.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-snippet.h +27 -12
- data/vendor/local/include/cogl/cogl/cogl-sub-texture.h +29 -15
- data/vendor/local/include/cogl/cogl/cogl-swap-chain.h +33 -13
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-gl.h +29 -24
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-sliced.h +54 -49
- data/vendor/local/include/cogl/cogl/cogl-texture-2d.h +81 -65
- data/vendor/local/include/cogl/cogl/cogl-texture-3d.h +71 -54
- data/vendor/local/include/cogl/cogl/cogl-texture-deprecated.h +105 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-rectangle.h +61 -48
- data/vendor/local/include/cogl/cogl/cogl-texture.h +157 -241
- data/vendor/local/include/cogl/cogl/cogl-type-casts.h +53 -0
- data/vendor/local/include/cogl/cogl/cogl-types.h +23 -11
- data/vendor/local/include/cogl/cogl/cogl-vector.h +20 -15
- data/vendor/local/include/cogl/cogl/cogl-version.h +28 -12
- data/vendor/local/include/cogl/cogl/cogl-vertex-buffer.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-win32-renderer.h +18 -13
- data/vendor/local/include/cogl/cogl/cogl.h +61 -22
- data/vendor/local/include/cogl/cogl/cogl1-context.h +20 -434
- data/vendor/local/include/cogl/cogl/cogl2-experimental.h +18 -12
- data/vendor/local/include/cogl/cogl/deprecated/cogl-auto-texture.h +221 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-clip-state.h +266 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-clutter.h +54 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-fixed.h +811 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-framebuffer-deprecated.h +264 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-material-compat.h +1391 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-shader.h +704 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-texture-deprecated.h +105 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-type-casts.h +53 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-vertex-buffer.h +451 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-core-functions.h +18 -11
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-gles2-functions.h +18 -11
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-glsl-functions.h +18 -11
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles-core-functions.h +18 -11
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles2-core-functions.h +18 -11
- data/vendor/local/include/json-glib-1.0/json-glib/json-builder.h +21 -7
- data/vendor/local/include/json-glib-1.0/json-glib/json-enum-types.h +8 -3
- data/vendor/local/include/json-glib-1.0/json-glib/json-generator.h +16 -3
- data/vendor/local/include/json-glib-1.0/json-glib/json-glib.h +1 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-gobject.h +23 -5
- data/vendor/local/include/json-glib-1.0/json-glib/json-gvariant.h +9 -2
- data/vendor/local/include/json-glib-1.0/json-glib/json-parser.h +17 -4
- data/vendor/local/include/json-glib-1.0/json-glib/json-path.h +13 -8
- data/vendor/local/include/json-glib-1.0/json-glib/json-reader.h +28 -7
- data/vendor/local/include/json-glib-1.0/json-glib/json-types.h +97 -12
- data/vendor/local/include/json-glib-1.0/json-glib/json-version-macros.h +135 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-version.h +14 -12
- data/vendor/local/lib/girepository-1.0/Clutter-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Cogl-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Cogl-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/CoglPango-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/CoglPango-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Json-1.0.typelib +0 -0
- data/vendor/local/lib/libclutter-1.0.dll.a +0 -0
- data/vendor/local/lib/libclutter-1.0.la +4 -4
- data/vendor/local/lib/libcogl-pango.dll.a +0 -0
- data/vendor/local/lib/libcogl-pango.la +5 -5
- data/vendor/local/lib/libcogl-path.dll.a +0 -0
- data/vendor/local/lib/libcogl-path.la +41 -0
- data/vendor/local/lib/libcogl.dll.a +0 -0
- data/vendor/local/lib/libcogl.la +5 -5
- data/vendor/local/lib/libjson-glib-1.0.dll.a +0 -0
- data/vendor/local/lib/libjson-glib-1.0.la +3 -3
- data/vendor/local/lib/pkgconfig/cally-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/clutter-1.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/clutter-win32-1.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/cogl-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/cogl-gl-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/cogl-pango-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/cogl-pango-2.0-experimental.pc +3 -3
- data/vendor/local/lib/pkgconfig/cogl-path-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-path-2.0-experimental.pc +13 -0
- data/vendor/local/lib/pkgconfig/json-glib-1.0.pc +1 -1
- data/vendor/local/share/gir-1.0/Cally-1.0.gir +4 -2
- data/vendor/local/share/gir-1.0/Clutter-1.0.gir +4527 -1814
- data/vendor/local/share/gir-1.0/Cogl-1.0.gir +1194 -1881
- data/vendor/local/share/gir-1.0/Cogl-2.0.gir +20369 -0
- data/vendor/local/share/gir-1.0/CoglPango-1.0.gir +9 -5
- data/vendor/local/share/gir-1.0/CoglPango-2.0.gir +331 -0
- data/vendor/local/share/gir-1.0/Json-1.0.gir +363 -163
- data/vendor/local/share/gtk-doc/html/cally/CallyActor.html +356 -259
- data/vendor/local/share/gtk-doc/html/cally/CallyClone.html +91 -69
- data/vendor/local/share/gtk-doc/html/cally/CallyGroup.html +89 -71
- data/vendor/local/share/gtk-doc/html/cally/CallyRectangle.html +90 -68
- data/vendor/local/share/gtk-doc/html/cally/CallyRoot.html +72 -59
- data/vendor/local/share/gtk-doc/html/cally/CallyStage.html +92 -70
- data/vendor/local/share/gtk-doc/html/cally/CallyText.html +90 -66
- data/vendor/local/share/gtk-doc/html/cally/CallyTexture.html +90 -68
- data/vendor/local/share/gtk-doc/html/cally/CallyUtil.html +42 -37
- data/vendor/local/share/gtk-doc/html/cally/cally-General-API.html +109 -86
- data/vendor/local/share/gtk-doc/html/cally/cally.devhelp2 +16 -16
- data/vendor/local/share/gtk-doc/html/cally/callyannotationglossary.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/callybase.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/callyobjecthierarchy.html +16 -16
- data/vendor/local/share/gtk-doc/html/cally/callyobjectindex.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/callyobjects.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/ch01.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/ch02.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/clutter-overview.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/cally/index.sgml +47 -29
- data/vendor/local/share/gtk-doc/html/cally/ix01.html +27 -29
- data/vendor/local/share/gtk-doc/html/cally/ix02.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/ix03.html +25 -27
- data/vendor/local/share/gtk-doc/html/cally/ix04.html +6 -6
- data/vendor/local/share/gtk-doc/html/cally/license.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/style.css +260 -105
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAction.html +47 -45
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActor.html +11634 -9660
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActorMeta.html +283 -206
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlignConstraint.html +335 -242
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlpha.html +595 -523
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimatable.html +341 -273
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimator.html +995 -804
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBackend.html +583 -432
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviour.html +565 -457
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourDepth.html +207 -169
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourEllipse.html +718 -518
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourOpacity.html +211 -172
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourPath.html +338 -283
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourRotate.html +506 -367
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourScale.html +322 -275
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBinLayout.html +329 -901
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBindConstraint.html +374 -553
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBlurEffect.html +65 -55
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBox.html +491 -419
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBoxLayout.html +1032 -790
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBrightnessContrastEffect.html +316 -243
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCairoTexture.html +613 -755
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCanvas.html +367 -373
- data/vendor/local/share/gtk-doc/html/clutter/ClutterChildMeta.html +181 -144
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClickAction.html +399 -316
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClone.html +177 -135
- data/vendor/local/share/gtk-doc/html/clutter/ClutterColorizeEffect.html +154 -105
- data/vendor/local/share/gtk-doc/html/clutter/ClutterConstraint.html +137 -262
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContainer.html +1119 -851
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContent.html +238 -177
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeformEffect.html +293 -225
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDesaturateEffect.html +159 -114
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeviceManager.html +330 -243
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDragAction.html +772 -873
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDropAction.html +304 -766
- data/vendor/local/share/gtk-doc/html/clutter/ClutterEffect.html +353 -267
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFixedLayout.html +70 -57
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFlowLayout.html +646 -825
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGestureAction.html +991 -555
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGridLayout.html +725 -510
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGroup.html +177 -133
- data/vendor/local/share/gtk-doc/html/clutter/ClutterImage.html +380 -512
- data/vendor/local/share/gtk-doc/html/clutter/ClutterInputDevice.html +1252 -962
- data/vendor/local/share/gtk-doc/html/clutter/ClutterKeyframeTransition.html +414 -320
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutManager.html +830 -923
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutMeta.html +118 -87
- data/vendor/local/share/gtk-doc/html/clutter/ClutterListModel.html +144 -130
- data/vendor/local/share/gtk-doc/html/clutter/ClutterMedia.html +742 -586
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModel.html +1398 -1058
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModelIter.html +563 -425
- data/vendor/local/share/gtk-doc/html/clutter/ClutterOffscreenEffect.html +322 -265
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPageTurnEffect.html +292 -194
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPaintNode.html +473 -333
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPanAction.html +653 -489
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPath.html +1107 -855
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPathConstraint.html +277 -188
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPropertyTransition.html +178 -130
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRectangle.html +334 -216
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRotateAction.html +131 -95
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScore.html +709 -569
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScript.html +958 -899
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScriptable.html +242 -186
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScrollActor.html +263 -606
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSettings.html +243 -165
- data/vendor/local/share/gtk-doc/html/clutter/ClutterShaderEffect.html +469 -368
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSnapConstraint.html +353 -245
- data/vendor/local/share/gtk-doc/html/clutter/ClutterStage.html +1967 -1513
- data/vendor/local/share/gtk-doc/html/clutter/ClutterState.html +1273 -1005
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSwipeAction.html +200 -144
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTableLayout.html +995 -745
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTapAction.html +123 -93
- data/vendor/local/share/gtk-doc/html/clutter/ClutterText.html +2742 -1997
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTextBuffer.html +647 -474
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTexture.html +1482 -1223
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTimeline.html +2161 -1735
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransition.html +496 -383
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransitionGroup.html +175 -135
- data/vendor/local/share/gtk-doc/html/clutter/ClutterZoomAction.html +313 -236
- data/vendor/local/share/gtk-doc/html/clutter/annotation-glossary.html +29 -13
- data/vendor/local/share/gtk-doc/html/clutter/building-clutter.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch01.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch02.html +4 -7
- data/vendor/local/share/gtk-doc/html/clutter/ch03.html +4 -8
- data/vendor/local/share/gtk-doc/html/clutter/ch04.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch05.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch06.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch07.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch08.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch09.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch10.html +5 -5
- data/vendor/local/share/gtk-doc/html/clutter/ch11.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch12.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Base-geometric-types.html +3059 -2295
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterGLXTexturePixmap.html +181 -137
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterWaylandSurface.html +340 -197
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterX11TexturePixmap.html +306 -222
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Colors.html +1272 -988
- data/vendor/local/share/gtk-doc/html/clutter/clutter-EGL-Specific-Support.html +154 -69
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Events.html +2714 -1972
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Features.html +151 -116
- data/vendor/local/share/gtk-doc/html/clutter/clutter-GDK-Specific-Support.html +205 -154
- data/vendor/local/share/gtk-doc/html/clutter/clutter-General.html +1455 -1890
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Implicit-Animations.html +1449 -1804
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Intel-CE3100-CE4100-Specific-Support.html +134 -112
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Key-Bindings.html +625 -520
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Paint-Nodes.html +302 -239
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Shaders.html +872 -637
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Stage-Manager.html +293 -213
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Unit-conversion.html +674 -508
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Utilities.html +454 -339
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Value-intervals.html +816 -623
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Versioning-Macros.html +346 -302
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-compositor-specific-support.html +60 -34
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-specific-support.html +200 -170
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Win32-Specific-Support.html +162 -119
- data/vendor/local/share/gtk-doc/html/clutter/clutter-X11-Specific-Support.html +678 -565
- data/vendor/local/share/gtk-doc/html/clutter/clutter-overview.html +5 -5
- data/vendor/local/share/gtk-doc/html/clutter/clutter.devhelp2 +1937 -2272
- data/vendor/local/share/gtk-doc/html/clutter/clutteranimation.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutterbackends.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutterbase.html +4 -11
- data/vendor/local/share/gtk-doc/html/clutter/clutterglossary.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjecthierarchy.html +87 -87
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjectindex.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjects.html +6 -6
- data/vendor/local/share/gtk-doc/html/clutter/cluttertools.html +5 -5
- data/vendor/local/share/gtk-doc/html/clutter/deprecated.html +11 -4
- data/vendor/local/share/gtk-doc/html/clutter/go01.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/index.html +11 -11
- data/vendor/local/share/gtk-doc/html/clutter/index.sgml +842 -978
- data/vendor/local/share/gtk-doc/html/clutter/iterating-paths.html +7 -7
- data/vendor/local/share/gtk-doc/html/clutter/ix01.html +2005 -1923
- data/vendor/local/share/gtk-doc/html/clutter/ix02.html +663 -470
- data/vendor/local/share/gtk-doc/html/clutter/ix03.html +83 -85
- data/vendor/local/share/gtk-doc/html/clutter/ix04.html +122 -124
- data/vendor/local/share/gtk-doc/html/clutter/ix05.html +217 -219
- data/vendor/local/share/gtk-doc/html/clutter/ix06.html +148 -150
- data/vendor/local/share/gtk-doc/html/clutter/ix07.html +349 -351
- data/vendor/local/share/gtk-doc/html/clutter/ix08.html +177 -179
- data/vendor/local/share/gtk-doc/html/clutter/ix09.html +214 -216
- data/vendor/local/share/gtk-doc/html/clutter/ix10.html +83 -85
- data/vendor/local/share/gtk-doc/html/clutter/ix11.html +80 -82
- data/vendor/local/share/gtk-doc/html/clutter/ix12.html +219 -221
- data/vendor/local/share/gtk-doc/html/clutter/ix13.html +212 -214
- data/vendor/local/share/gtk-doc/html/clutter/ix14.html +22 -32
- data/vendor/local/share/gtk-doc/html/clutter/license.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterAnimation.html +16 -16
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterBehaviour.html +15 -15
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterEffect.html +17 -17
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterPath.html +11 -12
- data/vendor/local/share/gtk-doc/html/clutter/migration.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/pt09.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/running-clutter.html +9 -4
- data/vendor/local/share/gtk-doc/html/clutter/style.css +260 -105
- data/vendor/local/share/gtk-doc/html/clutter/using-cairo.html +6 -6
- data/vendor/local/share/gtk-doc/html/json-glib/JsonBuilder.html +513 -392
- data/vendor/local/share/gtk-doc/html/json-glib/JsonGenerator.html +479 -347
- data/vendor/local/share/gtk-doc/html/json-glib/JsonParser.html +804 -600
- data/vendor/local/share/gtk-doc/html/json-glib/JsonPath.html +395 -362
- data/vendor/local/share/gtk-doc/html/json-glib/JsonReader.html +788 -609
- data/vendor/local/share/gtk-doc/html/json-glib/annotation-glossary.html +32 -43
- data/vendor/local/share/gtk-doc/html/json-glib/ch01.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/ch02.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/ch03.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/ch05.html +40 -0
- data/vendor/local/share/gtk-doc/html/json-glib/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/index.html +15 -6
- data/vendor/local/share/gtk-doc/html/json-glib/index.sgml +82 -73
- data/vendor/local/share/gtk-doc/html/json-glib/ix01.html +230 -227
- data/vendor/local/share/gtk-doc/html/json-glib/ix02.html +17 -22
- data/vendor/local/share/gtk-doc/html/json-glib/ix03.html +20 -25
- data/vendor/local/share/gtk-doc/html/json-glib/ix04.html +17 -22
- data/vendor/local/share/gtk-doc/html/json-glib/ix05.html +50 -55
- data/vendor/local/share/gtk-doc/html/json-glib/ix06.html +30 -35
- data/vendor/local/share/gtk-doc/html/json-glib/ix07.html +39 -44
- data/vendor/local/share/gtk-doc/html/json-glib/ix08.html +35 -40
- data/vendor/local/share/gtk-doc/html/json-glib/json-advanced.html +12 -9
- data/vendor/local/share/gtk-doc/html/json-glib/json-base.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/json-format-tool.html +84 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Boxed-Types-Serialization.html +306 -221
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html +261 -204
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Array.html +843 -583
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-GVariant-Integration.html +223 -199
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Node.html +1327 -912
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Object.html +986 -694
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Serializable-Interface.html +386 -301
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html +151 -87
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.devhelp2 +204 -218
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/json-streams.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/json-tools.html +19 -13
- data/vendor/local/share/gtk-doc/html/json-glib/json-validate-tool.html +72 -0
- data/vendor/local/share/gtk-doc/html/json-glib/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/license.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/style.css +314 -104
- data/vendor/local/share/gtk-doc/html/json-glib/tools.html +38 -0
- data/vendor/local/share/gtk-doc/html/json-glib/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/up.png +0 -0
- data/vendor/local/share/license/cogl/COPYING +107 -502
- data/vendor/local/share/locale/an/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/an/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/az_IR/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/fur/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ky/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ur/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/man/man1/json-glib-format.1 +60 -0
- data/vendor/local/share/man/man1/json-glib-validate.1 +56 -0
- metadata +66 -27
- data/vendor/local/bin/libcogl-pango-15.dll +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ch04.html +0 -38
@@ -8,19 +8,16 @@
|
|
8
8
|
<link rel="up" href="ch11.html" title="User interface definition">
|
9
9
|
<link rel="prev" href="ch11.html" title="User interface definition">
|
10
10
|
<link rel="next" href="ClutterScriptable.html" title="ClutterScriptable">
|
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="#ClutterScript.
|
20
|
-
|
21
|
-
<a href="#ClutterScript.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
22
|
-
|
|
23
|
-
<a href="#ClutterScript.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="#ClutterScript.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#ClutterScript.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span>
|
20
|
+
<a href="#ClutterScript.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="ch11.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
@@ -34,142 +31,264 @@
|
|
34
31
|
<h2><span class="refentrytitle"><a name="ClutterScript.top_of_page"></a>ClutterScript</span></h2>
|
35
32
|
<p>ClutterScript — Loads a scene from UI definition data</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="ClutterScript.synopsis"></a><h2>Synopsis</h2>
|
41
|
-
<pre class="synopsis">struct <a class="link" href="ClutterScript.html#ClutterScript-struct" title="struct ClutterScript">ClutterScript</a>;
|
42
|
-
struct <a class="link" href="ClutterScript.html#ClutterScriptClass" title="struct ClutterScriptClass">ClutterScriptClass</a>;
|
43
|
-
<a class="link" href="ClutterScript.html" title="ClutterScript"><span class="returnvalue">ClutterScript</span></a> * <a class="link" href="ClutterScript.html#clutter-script-new" title="clutter_script_new ()">clutter_script_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
44
|
-
enum <a class="link" href="ClutterScript.html#ClutterScriptError" title="enum ClutterScriptError">ClutterScriptError</a>;
|
45
|
-
<span class="returnvalue">guint</span> <a class="link" href="ClutterScript.html#clutter-script-load-from-data" title="clutter_script_load_from_data ()">clutter_script_load_from_data</a> (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
|
46
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *data</code></em>,
|
47
|
-
<em class="parameter"><code><span class="type">gssize</span> length</code></em>,
|
48
|
-
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
49
|
-
<span class="returnvalue">guint</span> <a class="link" href="ClutterScript.html#clutter-script-load-from-file" title="clutter_script_load_from_file ()">clutter_script_load_from_file</a> (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
|
50
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>,
|
51
|
-
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
52
|
-
<span class="returnvalue">guint</span> <a class="link" href="ClutterScript.html#clutter-script-load-from-resource" title="clutter_script_load_from_resource ()">clutter_script_load_from_resource</a> (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
|
53
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *resource_path</code></em>,
|
54
|
-
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
55
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterScript.html#clutter-script-add-search-paths" title="clutter_script_add_search_paths ()">clutter_script_add_search_paths</a> (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
|
56
|
-
<em class="parameter"><code>const <span class="type">gchar</span> * const paths[]</code></em>,
|
57
|
-
<em class="parameter"><code><span class="type">gsize</span> n_paths</code></em>);
|
58
|
-
<span class="returnvalue">gchar</span> * <a class="link" href="ClutterScript.html#clutter-script-lookup-filename" title="clutter_script_lookup_filename ()">clutter_script_lookup_filename</a> (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
|
59
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>);
|
60
|
-
|
61
|
-
<span class="returnvalue">GObject</span> * <a class="link" href="ClutterScript.html#clutter-script-get-object" title="clutter_script_get_object ()">clutter_script_get_object</a> (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
|
62
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);
|
63
|
-
<span class="returnvalue">gint</span> <a class="link" href="ClutterScript.html#clutter-script-get-objects" title="clutter_script_get_objects ()">clutter_script_get_objects</a> (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
|
64
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *first_name</code></em>,
|
65
|
-
<em class="parameter"><code>...</code></em>);
|
66
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterScript.html#clutter-script-unmerge-objects" title="clutter_script_unmerge_objects ()">clutter_script_unmerge_objects</a> (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
|
67
|
-
<em class="parameter"><code><span class="type">guint</span> merge_id</code></em>);
|
68
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterScript.html#clutter-script-ensure-objects" title="clutter_script_ensure_objects ()">clutter_script_ensure_objects</a> (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>);
|
69
|
-
<span class="returnvalue">GList</span> * <a class="link" href="ClutterScript.html#clutter-script-list-objects" title="clutter_script_list_objects ()">clutter_script_list_objects</a> (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>);
|
70
|
-
|
71
|
-
<span class="returnvalue">void</span> (<a class="link" href="ClutterScript.html#ClutterScriptConnectFunc" title="ClutterScriptConnectFunc ()">*ClutterScriptConnectFunc</a>) (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
|
72
|
-
<em class="parameter"><code><span class="type">GObject</span> *object</code></em>,
|
73
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *signal_name</code></em>,
|
74
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *handler_name</code></em>,
|
75
|
-
<em class="parameter"><code><span class="type">GObject</span> *connect_object</code></em>,
|
76
|
-
<em class="parameter"><code><span class="type">GConnectFlags</span> flags</code></em>,
|
77
|
-
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
|
78
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterScript.html#clutter-script-connect-signals" title="clutter_script_connect_signals ()">clutter_script_connect_signals</a> (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
|
79
|
-
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
|
80
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterScript.html#clutter-script-connect-signals-full" title="clutter_script_connect_signals_full ()">clutter_script_connect_signals_full</a> (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
|
81
|
-
<em class="parameter"><code><a class="link" href="ClutterScript.html#ClutterScriptConnectFunc" title="ClutterScriptConnectFunc ()"><span class="type">ClutterScriptConnectFunc</span></a> func</code></em>,
|
82
|
-
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
|
83
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterScript.html#clutter-script-add-states" title="clutter_script_add_states ()">clutter_script_add_states</a> (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
|
84
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
|
85
|
-
<em class="parameter"><code><a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a> *state</code></em>);
|
86
|
-
<a class="link" href="ClutterState.html" title="ClutterState"><span class="returnvalue">ClutterState</span></a> * <a class="link" href="ClutterScript.html#clutter-script-get-states" title="clutter_script_get_states ()">clutter_script_get_states</a> (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
|
87
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);
|
88
|
-
|
89
|
-
<span class="returnvalue">GType</span> <a class="link" href="ClutterScript.html#clutter-script-get-type-from-name" title="clutter_script_get_type_from_name ()">clutter_script_get_type_from_name</a> (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
|
90
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *type_name</code></em>);
|
91
|
-
const <span class="returnvalue">gchar</span> * <a class="link" href="ClutterScript.html#clutter-get-script-id" title="clutter_get_script_id ()">clutter_get_script_id</a> (<em class="parameter"><code><span class="type">GObject</span> *gobject</code></em>);
|
92
|
-
const <span class="returnvalue">gchar</span> * <a class="link" href="ClutterScript.html#clutter-script-get-translation-domain" title="clutter_script_get_translation_domain ()">clutter_script_get_translation_domain</a>
|
93
|
-
(<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>);
|
94
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterScript.html#clutter-script-set-translation-domain" title="clutter_script_set_translation_domain ()">clutter_script_set_translation_domain</a>
|
95
|
-
(<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
|
96
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *domain</code></em>);
|
97
|
-
</pre>
|
98
|
-
</div>
|
99
36
|
<div class="refsect1">
|
100
|
-
<a name="ClutterScript.
|
101
|
-
<
|
102
|
-
|
103
|
-
|
104
|
-
|
37
|
+
<a name="ClutterScript.functions"></a><h2>Functions</h2>
|
38
|
+
<div class="informaltable"><table width="100%" border="0">
|
39
|
+
<colgroup>
|
40
|
+
<col width="150px" class="functions_return">
|
41
|
+
<col class="functions_name">
|
42
|
+
</colgroup>
|
43
|
+
<tbody>
|
44
|
+
<tr>
|
45
|
+
<td class="function_type">
|
46
|
+
<a class="link" href="ClutterScript.html" title="ClutterScript"><span class="returnvalue">ClutterScript</span></a> *
|
47
|
+
</td>
|
48
|
+
<td class="function_name">
|
49
|
+
<a class="link" href="ClutterScript.html#clutter-script-new" title="clutter_script_new ()">clutter_script_new</a> <span class="c_punctuation">()</span>
|
50
|
+
</td>
|
51
|
+
</tr>
|
52
|
+
<tr>
|
53
|
+
<td class="function_type">
|
54
|
+
<span class="returnvalue">guint</span>
|
55
|
+
</td>
|
56
|
+
<td class="function_name">
|
57
|
+
<a class="link" href="ClutterScript.html#clutter-script-load-from-data" title="clutter_script_load_from_data ()">clutter_script_load_from_data</a> <span class="c_punctuation">()</span>
|
58
|
+
</td>
|
59
|
+
</tr>
|
60
|
+
<tr>
|
61
|
+
<td class="function_type">
|
62
|
+
<span class="returnvalue">guint</span>
|
63
|
+
</td>
|
64
|
+
<td class="function_name">
|
65
|
+
<a class="link" href="ClutterScript.html#clutter-script-load-from-file" title="clutter_script_load_from_file ()">clutter_script_load_from_file</a> <span class="c_punctuation">()</span>
|
66
|
+
</td>
|
67
|
+
</tr>
|
68
|
+
<tr>
|
69
|
+
<td class="function_type">
|
70
|
+
<span class="returnvalue">guint</span>
|
71
|
+
</td>
|
72
|
+
<td class="function_name">
|
73
|
+
<a class="link" href="ClutterScript.html#clutter-script-load-from-resource" title="clutter_script_load_from_resource ()">clutter_script_load_from_resource</a> <span class="c_punctuation">()</span>
|
74
|
+
</td>
|
75
|
+
</tr>
|
76
|
+
<tr>
|
77
|
+
<td class="function_type">
|
78
|
+
<span class="returnvalue">void</span>
|
79
|
+
</td>
|
80
|
+
<td class="function_name">
|
81
|
+
<a class="link" href="ClutterScript.html#clutter-script-add-search-paths" title="clutter_script_add_search_paths ()">clutter_script_add_search_paths</a> <span class="c_punctuation">()</span>
|
82
|
+
</td>
|
83
|
+
</tr>
|
84
|
+
<tr>
|
85
|
+
<td class="function_type">
|
86
|
+
<span class="returnvalue">gchar</span> *
|
87
|
+
</td>
|
88
|
+
<td class="function_name">
|
89
|
+
<a class="link" href="ClutterScript.html#clutter-script-lookup-filename" title="clutter_script_lookup_filename ()">clutter_script_lookup_filename</a> <span class="c_punctuation">()</span>
|
90
|
+
</td>
|
91
|
+
</tr>
|
92
|
+
<tr>
|
93
|
+
<td class="function_type">
|
94
|
+
<span class="returnvalue">GObject</span> *
|
95
|
+
</td>
|
96
|
+
<td class="function_name">
|
97
|
+
<a class="link" href="ClutterScript.html#clutter-script-get-object" title="clutter_script_get_object ()">clutter_script_get_object</a> <span class="c_punctuation">()</span>
|
98
|
+
</td>
|
99
|
+
</tr>
|
100
|
+
<tr>
|
101
|
+
<td class="function_type">
|
102
|
+
<span class="returnvalue">gint</span>
|
103
|
+
</td>
|
104
|
+
<td class="function_name">
|
105
|
+
<a class="link" href="ClutterScript.html#clutter-script-get-objects" title="clutter_script_get_objects ()">clutter_script_get_objects</a> <span class="c_punctuation">()</span>
|
106
|
+
</td>
|
107
|
+
</tr>
|
108
|
+
<tr>
|
109
|
+
<td class="function_type">
|
110
|
+
<span class="returnvalue">void</span>
|
111
|
+
</td>
|
112
|
+
<td class="function_name">
|
113
|
+
<a class="link" href="ClutterScript.html#clutter-script-unmerge-objects" title="clutter_script_unmerge_objects ()">clutter_script_unmerge_objects</a> <span class="c_punctuation">()</span>
|
114
|
+
</td>
|
115
|
+
</tr>
|
116
|
+
<tr>
|
117
|
+
<td class="function_type">
|
118
|
+
<span class="returnvalue">void</span>
|
119
|
+
</td>
|
120
|
+
<td class="function_name">
|
121
|
+
<a class="link" href="ClutterScript.html#clutter-script-ensure-objects" title="clutter_script_ensure_objects ()">clutter_script_ensure_objects</a> <span class="c_punctuation">()</span>
|
122
|
+
</td>
|
123
|
+
</tr>
|
124
|
+
<tr>
|
125
|
+
<td class="function_type">
|
126
|
+
<span class="returnvalue">GList</span> *
|
127
|
+
</td>
|
128
|
+
<td class="function_name">
|
129
|
+
<a class="link" href="ClutterScript.html#clutter-script-list-objects" title="clutter_script_list_objects ()">clutter_script_list_objects</a> <span class="c_punctuation">()</span>
|
130
|
+
</td>
|
131
|
+
</tr>
|
132
|
+
<tr>
|
133
|
+
<td class="function_type">
|
134
|
+
<span class="returnvalue">void</span>
|
135
|
+
</td>
|
136
|
+
<td class="function_name">
|
137
|
+
<span class="c_punctuation">(</span><a class="link" href="ClutterScript.html#ClutterScriptConnectFunc" title="ClutterScriptConnectFunc ()">*ClutterScriptConnectFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
|
138
|
+
</td>
|
139
|
+
</tr>
|
140
|
+
<tr>
|
141
|
+
<td class="function_type">
|
142
|
+
<span class="returnvalue">void</span>
|
143
|
+
</td>
|
144
|
+
<td class="function_name">
|
145
|
+
<a class="link" href="ClutterScript.html#clutter-script-connect-signals" title="clutter_script_connect_signals ()">clutter_script_connect_signals</a> <span class="c_punctuation">()</span>
|
146
|
+
</td>
|
147
|
+
</tr>
|
148
|
+
<tr>
|
149
|
+
<td class="function_type">
|
150
|
+
<span class="returnvalue">void</span>
|
151
|
+
</td>
|
152
|
+
<td class="function_name">
|
153
|
+
<a class="link" href="ClutterScript.html#clutter-script-connect-signals-full" title="clutter_script_connect_signals_full ()">clutter_script_connect_signals_full</a> <span class="c_punctuation">()</span>
|
154
|
+
</td>
|
155
|
+
</tr>
|
156
|
+
<tr>
|
157
|
+
<td class="function_type">
|
158
|
+
<span class="returnvalue">void</span>
|
159
|
+
</td>
|
160
|
+
<td class="function_name">
|
161
|
+
<a class="link" href="ClutterScript.html#clutter-script-add-states" title="clutter_script_add_states ()">clutter_script_add_states</a> <span class="c_punctuation">()</span>
|
162
|
+
</td>
|
163
|
+
</tr>
|
164
|
+
<tr>
|
165
|
+
<td class="function_type">
|
166
|
+
<a class="link" href="ClutterState.html" title="ClutterState"><span class="returnvalue">ClutterState</span></a> *
|
167
|
+
</td>
|
168
|
+
<td class="function_name">
|
169
|
+
<a class="link" href="ClutterScript.html#clutter-script-get-states" title="clutter_script_get_states ()">clutter_script_get_states</a> <span class="c_punctuation">()</span>
|
170
|
+
</td>
|
171
|
+
</tr>
|
172
|
+
<tr>
|
173
|
+
<td class="function_type">
|
174
|
+
<span class="returnvalue">GType</span>
|
175
|
+
</td>
|
176
|
+
<td class="function_name">
|
177
|
+
<a class="link" href="ClutterScript.html#clutter-script-get-type-from-name" title="clutter_script_get_type_from_name ()">clutter_script_get_type_from_name</a> <span class="c_punctuation">()</span>
|
178
|
+
</td>
|
179
|
+
</tr>
|
180
|
+
<tr>
|
181
|
+
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
182
|
+
</td>
|
183
|
+
<td class="function_name">
|
184
|
+
<a class="link" href="ClutterScript.html#clutter-get-script-id" title="clutter_get_script_id ()">clutter_get_script_id</a> <span class="c_punctuation">()</span>
|
185
|
+
</td>
|
186
|
+
</tr>
|
187
|
+
<tr>
|
188
|
+
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
189
|
+
</td>
|
190
|
+
<td class="function_name">
|
191
|
+
<a class="link" href="ClutterScript.html#clutter-script-get-translation-domain" title="clutter_script_get_translation_domain ()">clutter_script_get_translation_domain</a> <span class="c_punctuation">()</span>
|
192
|
+
</td>
|
193
|
+
</tr>
|
194
|
+
<tr>
|
195
|
+
<td class="function_type">
|
196
|
+
<span class="returnvalue">void</span>
|
197
|
+
</td>
|
198
|
+
<td class="function_name">
|
199
|
+
<a class="link" href="ClutterScript.html#clutter-script-set-translation-domain" title="clutter_script_set_translation_domain ()">clutter_script_set_translation_domain</a> <span class="c_punctuation">()</span>
|
200
|
+
</td>
|
201
|
+
</tr>
|
202
|
+
</tbody>
|
203
|
+
</table></div>
|
105
204
|
</div>
|
106
205
|
<div class="refsect1">
|
107
206
|
<a name="ClutterScript.properties"></a><h2>Properties</h2>
|
108
|
-
<
|
109
|
-
|
110
|
-
|
111
|
-
|
207
|
+
<div class="informaltable"><table border="0">
|
208
|
+
<colgroup>
|
209
|
+
<col width="150px" class="properties_type">
|
210
|
+
<col width="300px" class="properties_name">
|
211
|
+
<col width="200px" class="properties_flags">
|
212
|
+
</colgroup>
|
213
|
+
<tbody>
|
214
|
+
<tr>
|
215
|
+
<td class="property_type">
|
216
|
+
<span class="type">gchar</span> *</td>
|
217
|
+
<td class="property_name"><a class="link" href="ClutterScript.html#ClutterScript--filename" title="The “filename” property">filename</a></td>
|
218
|
+
<td class="property_flags">Read</td>
|
219
|
+
</tr>
|
220
|
+
<tr>
|
221
|
+
<td class="property_type"><span class="type">gboolean</span></td>
|
222
|
+
<td class="property_name"><a class="link" href="ClutterScript.html#ClutterScript--filename-set" title="The “filename-set” property">filename-set</a></td>
|
223
|
+
<td class="property_flags">Read</td>
|
224
|
+
</tr>
|
225
|
+
<tr>
|
226
|
+
<td class="property_type">
|
227
|
+
<span class="type">gchar</span> *</td>
|
228
|
+
<td class="property_name"><a class="link" href="ClutterScript.html#ClutterScript--translation-domain" title="The “translation-domain” property">translation-domain</a></td>
|
229
|
+
<td class="property_flags">Read / Write</td>
|
230
|
+
</tr>
|
231
|
+
</tbody>
|
232
|
+
</table></div>
|
233
|
+
</div>
|
234
|
+
<div class="refsect1">
|
235
|
+
<a name="ClutterScript.other"></a><h2>Types and Values</h2>
|
236
|
+
<div class="informaltable"><table width="100%" border="0">
|
237
|
+
<colgroup>
|
238
|
+
<col width="150px" class="name">
|
239
|
+
<col class="description">
|
240
|
+
</colgroup>
|
241
|
+
<tbody>
|
242
|
+
<tr>
|
243
|
+
<td class="datatype_keyword">struct</td>
|
244
|
+
<td class="function_name"><a class="link" href="ClutterScript.html#ClutterScript-struct" title="struct ClutterScript">ClutterScript</a></td>
|
245
|
+
</tr>
|
246
|
+
<tr>
|
247
|
+
<td class="datatype_keyword">struct</td>
|
248
|
+
<td class="function_name"><a class="link" href="ClutterScript.html#ClutterScriptClass" title="struct ClutterScriptClass">ClutterScriptClass</a></td>
|
249
|
+
</tr>
|
250
|
+
<tr>
|
251
|
+
<td class="datatype_keyword">enum</td>
|
252
|
+
<td class="function_name"><a class="link" href="ClutterScript.html#ClutterScriptError" title="enum ClutterScriptError">ClutterScriptError</a></td>
|
253
|
+
</tr>
|
254
|
+
</tbody>
|
255
|
+
</table></div>
|
256
|
+
</div>
|
257
|
+
<div class="refsect1">
|
258
|
+
<a name="ClutterScript.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
259
|
+
<pre class="screen"> GObject
|
260
|
+
<span class="lineart">╰──</span> ClutterScript
|
112
261
|
</pre>
|
113
262
|
</div>
|
114
263
|
<div class="refsect1">
|
115
264
|
<a name="ClutterScript.description"></a><h2>Description</h2>
|
116
|
-
<p>
|
117
|
-
<a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> is an object used for loading and building parts or a
|
265
|
+
<p><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> is an object used for loading and building parts or a
|
118
266
|
complete scenegraph from external definition data in forms of string
|
119
|
-
buffers or files
|
120
|
-
|
121
|
-
<p>
|
122
|
-
The UI definition format is JSON, the JavaScript Object Notation as
|
267
|
+
buffers or files.</p>
|
268
|
+
<p>The UI definition format is JSON, the JavaScript Object Notation as
|
123
269
|
described by RFC 4627. <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> can load a JSON data stream,
|
124
270
|
parse it and build all the objects defined into it. Each object must
|
125
271
|
have an "id" and a "type" properties defining the name to be used
|
126
|
-
to retrieve it from <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> with <a class="link" href="ClutterScript.html#clutter-script-get-object" title="clutter_script_get_object
|
272
|
+
to retrieve it from <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> with <a class="link" href="ClutterScript.html#clutter-script-get-object" title="clutter_script_get_object ()"><code class="function">clutter_script_get_object()</code></a>,
|
127
273
|
and the class type to be instanciated. Every other attribute will
|
128
|
-
be mapped to the class properties
|
129
|
-
|
130
|
-
<p>
|
131
|
-
A <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> holds a reference on every object it creates from
|
274
|
+
be mapped to the class properties.</p>
|
275
|
+
<p>A <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> holds a reference on every object it creates from
|
132
276
|
the definition data, except for the stage. Every non-actor object
|
133
277
|
will be finalized when the <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> instance holding it will
|
134
278
|
be finalized, so they need to be referenced using <code class="function">g_object_ref()</code> in
|
135
|
-
order for them to survive
|
136
|
-
|
137
|
-
<p
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
3
|
149
|
-
4
|
150
|
-
5
|
151
|
-
6
|
152
|
-
7</pre></td>
|
153
|
-
<td class="listing_code"><pre class="programlisting"><span class="cbracket">{</span>
|
154
|
-
<span class="normal"> </span><span class="string">"id"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"red-button"</span><span class="symbol">,</span>
|
155
|
-
<span class="normal"> </span><span class="string">"type"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"ClutterRectangle"</span><span class="symbol">,</span>
|
156
|
-
<span class="normal"> </span><span class="string">"width"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="number">100</span><span class="symbol">,</span>
|
157
|
-
<span class="normal"> </span><span class="string">"height"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="number">100</span><span class="symbol">,</span>
|
158
|
-
<span class="normal"> </span><span class="string">"color"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"&num;ff0000ff"</span>
|
159
|
-
<span class="cbracket">}</span></pre></td>
|
160
|
-
</tr>
|
161
|
-
</tbody>
|
162
|
-
</table>
|
163
|
-
</div>
|
164
|
-
|
165
|
-
<p>
|
166
|
-
</p>
|
167
|
-
<p>
|
168
|
-
This will produce a red <a class="link" href="ClutterRectangle.html" title="ClutterRectangle"><span class="type">ClutterRectangle</span></a>, 100x100 pixels wide, and
|
169
|
-
with a ClutterScript id of "red-button"; it can be retrieved by calling:
|
170
|
-
</p>
|
171
|
-
<p>
|
172
|
-
</p>
|
279
|
+
order for them to survive.</p>
|
280
|
+
<p>A simple object might be defined as:</p>
|
281
|
+
<p><informalexample><programlisting><![CDATA[
|
282
|
+
{
|
283
|
+
"id" : "red-button",
|
284
|
+
"type" : "ClutterRectangle",
|
285
|
+
"width" : 100,
|
286
|
+
"height" : 100,
|
287
|
+
"color" : "#ff0000ff"
|
288
|
+
}
|
289
|
+
]]></programlisting></informalexample></p>
|
290
|
+
<p>This will produce a red <a class="link" href="ClutterRectangle.html" title="ClutterRectangle"><span class="type">ClutterRectangle</span></a>, 100x100 pixels wide, and
|
291
|
+
with a ClutterScript id of "red-button"; it can be retrieved by calling:</p>
|
173
292
|
<div class="informalexample">
|
174
293
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
175
294
|
<tbody>
|
@@ -185,199 +304,89 @@ with a ClutterScript id of "red-button"; it can be retrieved by calling:
|
|
185
304
|
</table>
|
186
305
|
</div>
|
187
306
|
|
188
|
-
<p>
|
189
|
-
|
190
|
-
<p>
|
191
|
-
and then manipulated with the Clutter API. For every object created
|
307
|
+
<p></p>
|
308
|
+
<p>and then manipulated with the Clutter API. For every object created
|
192
309
|
using ClutterScript it is possible to check the id by calling
|
193
|
-
<a class="link" href="ClutterScript.html#clutter-get-script-id" title="clutter_get_script_id
|
194
|
-
|
195
|
-
<p>
|
196
|
-
Packing can be represented using the "children" member, and passing an
|
310
|
+
<a class="link" href="ClutterScript.html#clutter-get-script-id" title="clutter_get_script_id ()"><code class="function">clutter_get_script_id()</code></a>.</p>
|
311
|
+
<p>Packing can be represented using the "children" member, and passing an
|
197
312
|
array of objects or ids of objects already defined (but not packed: the
|
198
313
|
packing rules of Clutter still apply, and an actor cannot be packed
|
199
|
-
in multiple containers without unparenting it in between)
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
<
|
226
|
-
<span class="normal"> </span><span class="string">"angle-end"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="number">360.0</span><span class="symbol">,</span>
|
227
|
-
<span class="normal"> </span><span class="string">"axis"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"z-axis"</span><span class="symbol">,</span>
|
228
|
-
<span class="normal"> </span><span class="string">"alpha"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="cbracket">{</span>
|
229
|
-
<span class="normal"> </span><span class="string">"timeline"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"duration"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="number">4000</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"loop"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> true </span><span class="cbracket">}</span><span class="symbol">,</span>
|
230
|
-
<span class="normal"> </span><span class="string">"mode"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"easeInSine"</span>
|
231
|
-
<span class="normal"> </span><span class="cbracket">}</span>
|
232
|
-
<span class="cbracket">}</span></pre></td>
|
233
|
-
</tr>
|
234
|
-
</tbody>
|
235
|
-
</table>
|
236
|
-
</div>
|
237
|
-
|
238
|
-
<p>
|
239
|
-
</p>
|
240
|
-
<p>
|
241
|
-
And then to apply a defined behaviour to an actor defined inside the
|
242
|
-
definition of an actor, the "behaviour" member can be used:
|
243
|
-
</p>
|
244
|
-
<p>
|
245
|
-
</p>
|
246
|
-
<div class="informalexample">
|
247
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
248
|
-
<tbody>
|
249
|
-
<tr>
|
250
|
-
<td class="listing_lines" align="right"><pre>1
|
251
|
-
2
|
252
|
-
3
|
253
|
-
4
|
254
|
-
5
|
255
|
-
6</pre></td>
|
256
|
-
<td class="listing_code"><pre class="programlisting"><span class="cbracket">{</span>
|
257
|
-
<span class="normal"> </span><span class="string">"id"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"my-rotating-actor"</span><span class="symbol">,</span>
|
258
|
-
<span class="normal"> </span><span class="string">"type"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"ClutterTexture"</span><span class="symbol">,</span>
|
259
|
-
<span class="normal"> </span><span class="symbol">...</span>
|
260
|
-
<span class="normal"> </span><span class="string">"behaviours"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="symbol">[</span><span class="normal"> </span><span class="string">"rotate-behaviour"</span><span class="normal"> </span><span class="symbol">]</span>
|
261
|
-
<span class="cbracket">}</span></pre></td>
|
262
|
-
</tr>
|
263
|
-
</tbody>
|
264
|
-
</table>
|
265
|
-
</div>
|
266
|
-
|
267
|
-
<p>
|
268
|
-
</p>
|
269
|
-
<p>
|
270
|
-
A <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> belonging to a <a class="link" href="ClutterBehaviour.html" title="ClutterBehaviour"><span class="type">ClutterBehaviour</span></a> can only be defined
|
314
|
+
in multiple containers without unparenting it in between).</p>
|
315
|
+
<p>Behaviours and timelines can also be defined inside a UI definition
|
316
|
+
buffer:</p>
|
317
|
+
<p><informalexample><programlisting><![CDATA[
|
318
|
+
{
|
319
|
+
"id" : "rotate-behaviour",
|
320
|
+
"type" : "ClutterBehaviourRotate",
|
321
|
+
"angle-start" : 0.0,
|
322
|
+
"angle-end" : 360.0,
|
323
|
+
"axis" : "z-axis",
|
324
|
+
"alpha" : {
|
325
|
+
"timeline" : { "duration" : 4000, "loop" : true },
|
326
|
+
"mode" : "easeInSine"
|
327
|
+
}
|
328
|
+
}
|
329
|
+
]]></programlisting></informalexample></p>
|
330
|
+
<p>And then to apply a defined behaviour to an actor defined inside the
|
331
|
+
definition of an actor, the "behaviour" member can be used:</p>
|
332
|
+
<p><informalexample><programlisting><![CDATA[
|
333
|
+
{
|
334
|
+
"id" : "my-rotating-actor",
|
335
|
+
"type" : "ClutterTexture",
|
336
|
+
...
|
337
|
+
"behaviours" : [ "rotate-behaviour" ]
|
338
|
+
}
|
339
|
+
]]></programlisting></informalexample></p>
|
340
|
+
<p>A <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> belonging to a <a class="link" href="ClutterBehaviour.html" title="ClutterBehaviour"><span class="type">ClutterBehaviour</span></a> can only be defined
|
271
341
|
implicitly like in the example above, or explicitly by setting the
|
272
|
-
"alpha" property to point to a previously defined <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a>, e.g
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
<span class="normal"> </span><span class="string">"id"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"rotate-behaviour"</span><span class="symbol">,</span>
|
300
|
-
<span class="normal"> </span><span class="string">"type"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"ClutterBehaviourRotate"</span><span class="symbol">,</span>
|
301
|
-
<span class="normal"> </span><span class="string">"angle-start"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="number">0.0</span><span class="symbol">,</span>
|
302
|
-
<span class="normal"> </span><span class="string">"angle-end"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="number">360.0</span><span class="symbol">,</span>
|
303
|
-
<span class="normal"> </span><span class="string">"axis"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"z-axis"</span><span class="symbol">,</span>
|
304
|
-
<span class="normal"> </span><span class="string">"alpha"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="cbracket">{</span>
|
305
|
-
<span class="normal"> </span><span class="string">"id"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"rotate-alpha"</span><span class="symbol">,</span>
|
306
|
-
<span class="normal"> </span><span class="string">"type"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"ClutterAlpha"</span><span class="symbol">,</span>
|
307
|
-
<span class="normal"> </span><span class="string">"timeline"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="cbracket">{</span>
|
308
|
-
<span class="normal"> </span><span class="string">"id"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"rotate-timeline"</span><span class="symbol">,</span>
|
309
|
-
<span class="normal"> </span><span class="string">"type : "</span><span class="normal"><a href="ClutterTimeline.html">ClutterTimeline</a></span><span class="string">",</span>
|
310
|
-
<span class="string"> "</span><span class="normal">duration</span><span class="string">" : 4000,</span>
|
311
|
-
<span class="string"> "</span><span class="normal">loop</span><span class="string">" : true</span>
|
312
|
-
<span class="string"> },</span>
|
313
|
-
<span class="string"> "</span><span class="normal">function</span><span class="string">" : "</span><span class="normal">custom_sine_alpha</span><span class="string">"</span>
|
314
|
-
<span class="string"> }</span>
|
315
|
-
<span class="string">}</span></pre></td>
|
316
|
-
</tr>
|
317
|
-
</tbody>
|
318
|
-
</table>
|
319
|
-
</div>
|
320
|
-
|
321
|
-
<p>
|
322
|
-
</p>
|
323
|
-
<p>
|
324
|
-
Implicitely defined <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a>s and <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a>s
|
325
|
-
can omit the <code class="varname">id</code> member, as well as the
|
326
|
-
<code class="varname">type</code> member, but will not be available using
|
327
|
-
<a class="link" href="ClutterScript.html#clutter-script-get-object" title="clutter_script_get_object ()"><code class="function">clutter_script_get_object()</code></a> (they can, however, be extracted using the
|
328
|
-
<a class="link" href="ClutterBehaviour.html" title="ClutterBehaviour"><span class="type">ClutterBehaviour</span></a> and <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> API respectively).
|
329
|
-
</p>
|
330
|
-
<p>
|
331
|
-
Signal handlers can be defined inside a Clutter UI definition file and
|
342
|
+
"alpha" property to point to a previously defined <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a>, e.g.:</p>
|
343
|
+
<p><informalexample><programlisting><![CDATA[
|
344
|
+
{
|
345
|
+
"id" : "rotate-behaviour",
|
346
|
+
"type" : "ClutterBehaviourRotate",
|
347
|
+
"angle-start" : 0.0,
|
348
|
+
"angle-end" : 360.0,
|
349
|
+
"axis" : "z-axis",
|
350
|
+
"alpha" : {
|
351
|
+
"id" : "rotate-alpha",
|
352
|
+
"type" : "ClutterAlpha",
|
353
|
+
"timeline" : {
|
354
|
+
"id" : "rotate-timeline",
|
355
|
+
"type : "ClutterTimeline",
|
356
|
+
"duration" : 4000,
|
357
|
+
"loop" : true
|
358
|
+
},
|
359
|
+
"function" : "custom_sine_alpha"
|
360
|
+
}
|
361
|
+
}
|
362
|
+
]]></programlisting></informalexample></p>
|
363
|
+
<p>Implicitely defined <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a><!-- -->s and <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a><!-- -->s
|
364
|
+
can omit the <varname>id</varname> member, as well as the
|
365
|
+
<varname>type</varname> member, but will not be available using
|
366
|
+
<a class="link" href="ClutterScript.html#clutter-script-get-object" title="clutter_script_get_object ()"><code class="function">clutter_script_get_object()</code></a> (they can, however, be extracted using the
|
367
|
+
<a class="link" href="ClutterBehaviour.html" title="ClutterBehaviour"><span class="type">ClutterBehaviour</span></a> and <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> API respectively).</p>
|
368
|
+
<p>Signal handlers can be defined inside a Clutter UI definition file and
|
332
369
|
then autoconnected to their respective signals using the
|
333
|
-
<a class="link" href="ClutterScript.html#clutter-script-connect-signals" title="clutter_script_connect_signals
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
7
|
348
|
-
8
|
349
|
-
9
|
350
|
-
10</pre></td>
|
351
|
-
<td class="listing_code"><pre class="programlisting"><span class="symbol">...</span>
|
352
|
-
<span class="string">"signals"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="symbol">[</span>
|
353
|
-
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"name"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"button-press-event"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"handler"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"on_button_press"</span><span class="normal"> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
354
|
-
<span class="normal"> </span><span class="cbracket">{</span>
|
355
|
-
<span class="normal"> </span><span class="string">"name"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"foo-signal"</span><span class="symbol">,</span>
|
356
|
-
<span class="normal"> </span><span class="string">"handler"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"after_foo"</span><span class="symbol">,</span>
|
357
|
-
<span class="normal"> </span><span class="string">"after"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> true</span>
|
358
|
-
<span class="normal"> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
359
|
-
<span class="symbol">],</span>
|
360
|
-
<span class="symbol">...</span></pre></td>
|
361
|
-
</tr>
|
362
|
-
</tbody>
|
363
|
-
</table>
|
364
|
-
</div>
|
365
|
-
|
366
|
-
<p>
|
367
|
-
</p>
|
368
|
-
<p>
|
369
|
-
Signal handler definitions must have a "name" and a "handler" members;
|
370
|
+
<a class="link" href="ClutterScript.html#clutter-script-connect-signals" title="clutter_script_connect_signals ()"><code class="function">clutter_script_connect_signals()</code></a> function:</p>
|
371
|
+
<p><informalexample><programlisting><![CDATA[
|
372
|
+
...
|
373
|
+
"signals" : [
|
374
|
+
{ "name" : "button-press-event", "handler" : "on_button_press" },
|
375
|
+
{
|
376
|
+
"name" : "foo-signal",
|
377
|
+
"handler" : "after_foo",
|
378
|
+
"after" : true
|
379
|
+
},
|
380
|
+
],
|
381
|
+
...
|
382
|
+
]]></programlisting></informalexample></p>
|
383
|
+
<p>Signal handler definitions must have a "name" and a "handler" members;
|
370
384
|
they can also have the "after" and "swapped" boolean members (for the
|
371
385
|
signal connection flags <code class="literal">G_CONNECT_AFTER</code> and <code class="literal">G_CONNECT_SWAPPED</code>
|
372
386
|
respectively) and the "object" string member for calling
|
373
|
-
<code class="function">g_signal_connect_object()</code> instead of <code class="function">g_signal_connect()</code
|
374
|
-
|
375
|
-
<p>
|
376
|
-
Signals can also be directly attached to a specific state defined
|
377
|
-
inside a <a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a> instance, for instance:
|
378
|
-
</p>
|
379
|
-
<p>
|
380
|
-
</p>
|
387
|
+
<code class="function">g_signal_connect_object()</code> instead of <code class="function">g_signal_connect()</code>.</p>
|
388
|
+
<p>Signals can also be directly attached to a specific state defined
|
389
|
+
inside a <a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a> instance, for instance:</p>
|
381
390
|
<div class="informalexample">
|
382
391
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
383
392
|
<tbody>
|
@@ -437,29 +446,22 @@ inside a <a class="link" href="ClutterState.html" title="ClutterState"><span cla
|
|
437
446
|
</table>
|
438
447
|
</div>
|
439
448
|
|
440
|
-
<p>
|
441
|
-
|
442
|
-
<p>
|
443
|
-
The "states" key defines the <a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a> instance to be used to
|
449
|
+
<p></p>
|
450
|
+
<p>The "states" key defines the <a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a> instance to be used to
|
444
451
|
resolve the "target-state" key; it can be either a script id for a
|
445
452
|
<a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a> built by the same <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> instance, or to a
|
446
453
|
<a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a> built in code and associated to the <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a>
|
447
|
-
instance through the <a class="link" href="ClutterScript.html#clutter-script-add-states" title="clutter_script_add_states
|
454
|
+
instance through the <a class="link" href="ClutterScript.html#clutter-script-add-states" title="clutter_script_add_states ()"><code class="function">clutter_script_add_states()</code></a> function. If no
|
448
455
|
"states" key is present, then the default <a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a> associated to
|
449
456
|
the <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> instance will be used; the default <a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a>
|
450
|
-
can be set using <a class="link" href="ClutterScript.html#clutter-script-add-states" title="clutter_script_add_states
|
457
|
+
can be set using <a class="link" href="ClutterScript.html#clutter-script-add-states" title="clutter_script_add_states ()"><code class="function">clutter_script_add_states()</code></a> using a <code class="literal">NULL</code> name. The
|
451
458
|
"warp" key can be used to warp to a specific state instead of
|
452
459
|
animating to it. State changes on signal emission will not affect
|
453
|
-
the signal emission chain
|
454
|
-
|
455
|
-
<p>
|
456
|
-
Clutter reserves the following names, so classes defining properties
|
460
|
+
the signal emission chain.</p>
|
461
|
+
<p>Clutter reserves the following names, so classes defining properties
|
457
462
|
through the usual GObject registration process should avoid using these
|
458
|
-
names to avoid collisions
|
459
|
-
|
460
|
-
<p>
|
461
|
-
</p>
|
462
|
-
<pre class="programlisting">
|
463
|
+
names to avoid collisions:</p>
|
464
|
+
<p><programlisting><![CDATA[
|
463
465
|
"id" := the unique name of a ClutterScript object
|
464
466
|
"type" := the class literal name, also used to infer the type
|
465
467
|
function
|
@@ -467,361 +469,317 @@ names to avoid collisions:
|
|
467
469
|
"children" := an array of names or objects to add as children
|
468
470
|
"behaviours" := an array of names or objects to apply to an actor
|
469
471
|
"signals" := an array of signal definitions to connect to an object
|
470
|
-
"is-default" := a boolean flag used when defining the
|
472
|
+
"is-default" := a boolean flag used when defining the <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>;
|
471
473
|
if set to "true" the default stage will be used instead
|
472
|
-
of creating a new
|
473
|
-
|
474
|
-
<p>
|
475
|
-
</p>
|
476
|
-
<p>
|
477
|
-
<a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> is available since Clutter 0.6
|
478
|
-
</p>
|
474
|
+
of creating a new <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> instance
|
475
|
+
]]></programlisting></p>
|
476
|
+
<p><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> is available since Clutter 0.6</p>
|
479
477
|
</div>
|
480
478
|
<div class="refsect1">
|
481
|
-
<a name="ClutterScript.
|
479
|
+
<a name="ClutterScript.functions_details"></a><h2>Functions</h2>
|
482
480
|
<div class="refsect2">
|
483
|
-
<a name="
|
484
|
-
<pre class="programlisting"
|
485
|
-
<
|
486
|
-
|
487
|
-
and should be accessed using the provided API
|
488
|
-
</p>
|
489
|
-
<p class="since">Since 0.6</p>
|
490
|
-
</div>
|
491
|
-
<hr>
|
492
|
-
<div class="refsect2">
|
493
|
-
<a name="ClutterScriptClass"></a><h3>struct ClutterScriptClass</h3>
|
494
|
-
<pre class="programlisting">struct ClutterScriptClass {
|
495
|
-
GType (* get_type_from_name) (ClutterScript *script,
|
496
|
-
const gchar *type_name);
|
497
|
-
};
|
498
|
-
</pre>
|
499
|
-
<p>
|
500
|
-
The <a class="link" href="ClutterScript.html#ClutterScriptClass" title="struct ClutterScriptClass"><span class="type">ClutterScriptClass</span></a> structure contains only private data
|
501
|
-
</p>
|
502
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
503
|
-
<colgroup>
|
504
|
-
<col align="left" valign="top">
|
505
|
-
<col>
|
506
|
-
</colgroup>
|
507
|
-
<tbody><tr>
|
508
|
-
<td><p><span class="term"><em class="structfield"><code><a name="ClutterScriptClass.get-type-from-name"></a>get_type_from_name</code></em> ()</span></p></td>
|
509
|
-
<td>virtual function used to map a type name
|
510
|
-
to a <span class="type">GType</span>. This function should only be overridden by
|
511
|
-
language bindings in order to map native types to <span class="type">GType</span>.
|
512
|
-
The default implementation is equivalent to <code class="function">g_type_from_name()</code>
|
513
|
-
</td>
|
514
|
-
</tr></tbody>
|
515
|
-
</table></div>
|
516
|
-
<p class="since">Since 0.6</p>
|
517
|
-
</div>
|
518
|
-
<hr>
|
519
|
-
<div class="refsect2">
|
520
|
-
<a name="clutter-script-new"></a><h3>clutter_script_new ()</h3>
|
521
|
-
<pre class="programlisting"><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="returnvalue">ClutterScript</span></a> * clutter_script_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
522
|
-
<p>
|
523
|
-
Creates a new <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> instance. <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> can be used
|
481
|
+
<a name="clutter-script-new"></a><h3>clutter_script_new ()</h3>
|
482
|
+
<pre class="programlisting"><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="returnvalue">ClutterScript</span></a> *
|
483
|
+
clutter_script_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
484
|
+
<p>Creates a new <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> instance. <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> can be used
|
524
485
|
to load objects definitions for scenegraph elements, like actors,
|
525
486
|
or behavioural elements, like behaviours and timelines. The
|
526
487
|
definitions must be encoded using the JavaScript Object Notation (JSON)
|
527
|
-
language
|
528
|
-
|
529
|
-
<
|
530
|
-
<
|
531
|
-
<
|
532
|
-
<
|
533
|
-
</colgroup>
|
534
|
-
<tbody><tr>
|
535
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
536
|
-
<td>the newly created <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> instance. Use
|
537
|
-
<code class="function">g_object_unref()</code> when done.</td>
|
538
|
-
</tr></tbody>
|
539
|
-
</table></div>
|
540
|
-
<p class="since">Since 0.6</p>
|
488
|
+
language.</p>
|
489
|
+
<div class="refsect3">
|
490
|
+
<a name="id-1.7.3.2.8.2.5"></a><h4>Returns</h4>
|
491
|
+
<p> the newly created <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> instance. Use
|
492
|
+
<code class="function">g_object_unref()</code> when done.</p>
|
493
|
+
<p></p>
|
541
494
|
</div>
|
542
|
-
<hr>
|
543
|
-
<div class="refsect2">
|
544
|
-
<a name="ClutterScriptError"></a><h3>enum ClutterScriptError</h3>
|
545
|
-
<pre class="programlisting">typedef enum {
|
546
|
-
CLUTTER_SCRIPT_ERROR_INVALID_TYPE_FUNCTION,
|
547
|
-
CLUTTER_SCRIPT_ERROR_INVALID_PROPERTY,
|
548
|
-
CLUTTER_SCRIPT_ERROR_INVALID_VALUE
|
549
|
-
} ClutterScriptError;
|
550
|
-
</pre>
|
551
|
-
<p>
|
552
|
-
<a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> error enumeration.
|
553
|
-
</p>
|
554
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
555
|
-
<colgroup>
|
556
|
-
<col align="left" valign="top">
|
557
|
-
<col>
|
558
|
-
</colgroup>
|
559
|
-
<tbody>
|
560
|
-
<tr>
|
561
|
-
<td><p><a name="CLUTTER-SCRIPT-ERROR-INVALID-TYPE-FUNCTION:CAPS"></a><span class="term"><code class="literal">CLUTTER_SCRIPT_ERROR_INVALID_TYPE_FUNCTION</code></span></p></td>
|
562
|
-
<td>Type function not found
|
563
|
-
or invalid
|
564
|
-
</td>
|
565
|
-
</tr>
|
566
|
-
<tr>
|
567
|
-
<td><p><a name="CLUTTER-SCRIPT-ERROR-INVALID-PROPERTY:CAPS"></a><span class="term"><code class="literal">CLUTTER_SCRIPT_ERROR_INVALID_PROPERTY</code></span></p></td>
|
568
|
-
<td>Property not found or invalid
|
569
|
-
</td>
|
570
|
-
</tr>
|
571
|
-
<tr>
|
572
|
-
<td><p><a name="CLUTTER-SCRIPT-ERROR-INVALID-VALUE:CAPS"></a><span class="term"><code class="literal">CLUTTER_SCRIPT_ERROR_INVALID_VALUE</code></span></p></td>
|
573
|
-
<td>Invalid value
|
574
|
-
</td>
|
575
|
-
</tr>
|
576
|
-
</tbody>
|
577
|
-
</table></div>
|
578
495
|
<p class="since">Since 0.6</p>
|
579
496
|
</div>
|
580
497
|
<hr>
|
581
498
|
<div class="refsect2">
|
582
|
-
<a name="clutter-script-load-from-data"></a><h3>clutter_script_load_from_data
|
583
|
-
<pre class="programlisting"><span class="returnvalue">guint</span>
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
<
|
588
|
-
Loads the definitions from <em class="parameter"><code>data</code></em>
|
589
|
-
|
590
|
-
|
591
|
-
|
499
|
+
<a name="clutter-script-load-from-data"></a><h3>clutter_script_load_from_data ()</h3>
|
500
|
+
<pre class="programlisting"><span class="returnvalue">guint</span>
|
501
|
+
clutter_script_load_from_data (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
|
502
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *data</code></em>,
|
503
|
+
<em class="parameter"><code><span class="type">gssize</span> length</code></em>,
|
504
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
505
|
+
<p>Loads the definitions from <em class="parameter"><code>data</code></em>
|
506
|
+
into <em class="parameter"><code>script</code></em>
|
507
|
+
and merges with
|
508
|
+
the currently loaded ones, if any.</p>
|
509
|
+
<div class="refsect3">
|
510
|
+
<a name="id-1.7.3.2.8.3.5"></a><h4>Parameters</h4>
|
511
|
+
<div class="informaltable"><table width="100%" border="0">
|
592
512
|
<colgroup>
|
593
|
-
<col
|
594
|
-
<col>
|
513
|
+
<col width="150px" class="parameters_name">
|
514
|
+
<col class="parameters_description">
|
515
|
+
<col width="200px" class="parameters_annotations">
|
595
516
|
</colgroup>
|
596
517
|
<tbody>
|
597
518
|
<tr>
|
598
|
-
<td
|
599
|
-
<td>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a>
|
600
|
-
</td>
|
519
|
+
<td class="parameter_name"><p>script</p></td>
|
520
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a></p></td>
|
521
|
+
<td class="parameter_annotations"> </td>
|
601
522
|
</tr>
|
602
523
|
<tr>
|
603
|
-
<td
|
604
|
-
<td>a buffer containing the definitions</td>
|
524
|
+
<td class="parameter_name"><p>data</p></td>
|
525
|
+
<td class="parameter_description"><p>a buffer containing the definitions</p></td>
|
526
|
+
<td class="parameter_annotations"> </td>
|
605
527
|
</tr>
|
606
528
|
<tr>
|
607
|
-
<td
|
608
|
-
<td>the length of the buffer, or -1 if <em class="parameter"><code>data</code></em>
|
609
|
-
|
529
|
+
<td class="parameter_name"><p>length</p></td>
|
530
|
+
<td class="parameter_description"><p>the length of the buffer, or -1 if <em class="parameter"><code>data</code></em>
|
531
|
+
is a NUL-terminated
|
532
|
+
buffer</p></td>
|
533
|
+
<td class="parameter_annotations"> </td>
|
610
534
|
</tr>
|
611
535
|
<tr>
|
612
|
-
<td
|
613
|
-
<td>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code>
|
614
|
-
</td>
|
615
|
-
</tr>
|
616
|
-
<tr>
|
617
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
618
|
-
<td>on error, zero is returned and <em class="parameter"><code>error</code></em> is set
|
619
|
-
accordingly. On success, the merge id for the UI definitions is
|
620
|
-
returned. You can use the merge id with <a class="link" href="ClutterScript.html#clutter-script-unmerge-objects" title="clutter_script_unmerge_objects ()"><code class="function">clutter_script_unmerge_objects()</code></a>.</td>
|
536
|
+
<td class="parameter_name"><p>error</p></td>
|
537
|
+
<td class="parameter_description"><p>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code></p></td>
|
538
|
+
<td class="parameter_annotations"> </td>
|
621
539
|
</tr>
|
622
540
|
</tbody>
|
623
541
|
</table></div>
|
542
|
+
</div>
|
543
|
+
<div class="refsect3">
|
544
|
+
<a name="id-1.7.3.2.8.3.6"></a><h4>Returns</h4>
|
545
|
+
<p> on error, zero is returned and <em class="parameter"><code>error</code></em>
|
546
|
+
is set
|
547
|
+
accordingly. On success, the merge id for the UI definitions is
|
548
|
+
returned. You can use the merge id with <a class="link" href="ClutterScript.html#clutter-script-unmerge-objects" title="clutter_script_unmerge_objects ()"><code class="function">clutter_script_unmerge_objects()</code></a>.</p>
|
549
|
+
<p></p>
|
550
|
+
</div>
|
624
551
|
<p class="since">Since 0.6</p>
|
625
552
|
</div>
|
626
553
|
<hr>
|
627
554
|
<div class="refsect2">
|
628
|
-
<a name="clutter-script-load-from-file"></a><h3>clutter_script_load_from_file
|
629
|
-
<pre class="programlisting"><span class="returnvalue">guint</span>
|
630
|
-
|
631
|
-
|
632
|
-
<
|
633
|
-
Loads the definitions from <em class="parameter"><code>filename</code></em>
|
634
|
-
|
635
|
-
|
636
|
-
|
555
|
+
<a name="clutter-script-load-from-file"></a><h3>clutter_script_load_from_file ()</h3>
|
556
|
+
<pre class="programlisting"><span class="returnvalue">guint</span>
|
557
|
+
clutter_script_load_from_file (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
|
558
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>,
|
559
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
560
|
+
<p>Loads the definitions from <em class="parameter"><code>filename</code></em>
|
561
|
+
into <em class="parameter"><code>script</code></em>
|
562
|
+
and merges with
|
563
|
+
the currently loaded ones, if any.</p>
|
564
|
+
<div class="refsect3">
|
565
|
+
<a name="id-1.7.3.2.8.4.5"></a><h4>Parameters</h4>
|
566
|
+
<div class="informaltable"><table width="100%" border="0">
|
637
567
|
<colgroup>
|
638
|
-
<col
|
639
|
-
<col>
|
568
|
+
<col width="150px" class="parameters_name">
|
569
|
+
<col class="parameters_description">
|
570
|
+
<col width="200px" class="parameters_annotations">
|
640
571
|
</colgroup>
|
641
572
|
<tbody>
|
642
573
|
<tr>
|
643
|
-
<td
|
644
|
-
<td>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a>
|
645
|
-
</td>
|
574
|
+
<td class="parameter_name"><p>script</p></td>
|
575
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a></p></td>
|
576
|
+
<td class="parameter_annotations"> </td>
|
646
577
|
</tr>
|
647
578
|
<tr>
|
648
|
-
<td
|
649
|
-
<td>the full path to the definition file</td>
|
579
|
+
<td class="parameter_name"><p>filename</p></td>
|
580
|
+
<td class="parameter_description"><p>the full path to the definition file</p></td>
|
581
|
+
<td class="parameter_annotations"> </td>
|
650
582
|
</tr>
|
651
583
|
<tr>
|
652
|
-
<td
|
653
|
-
<td>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code>
|
654
|
-
</td>
|
655
|
-
</tr>
|
656
|
-
<tr>
|
657
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
658
|
-
<td>on error, zero is returned and <em class="parameter"><code>error</code></em> is set
|
659
|
-
accordingly. On success, the merge id for the UI definitions is
|
660
|
-
returned. You can use the merge id with <a class="link" href="ClutterScript.html#clutter-script-unmerge-objects" title="clutter_script_unmerge_objects ()"><code class="function">clutter_script_unmerge_objects()</code></a>.</td>
|
584
|
+
<td class="parameter_name"><p>error</p></td>
|
585
|
+
<td class="parameter_description"><p>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code></p></td>
|
586
|
+
<td class="parameter_annotations"> </td>
|
661
587
|
</tr>
|
662
588
|
</tbody>
|
663
589
|
</table></div>
|
590
|
+
</div>
|
591
|
+
<div class="refsect3">
|
592
|
+
<a name="id-1.7.3.2.8.4.6"></a><h4>Returns</h4>
|
593
|
+
<p> on error, zero is returned and <em class="parameter"><code>error</code></em>
|
594
|
+
is set
|
595
|
+
accordingly. On success, the merge id for the UI definitions is
|
596
|
+
returned. You can use the merge id with <a class="link" href="ClutterScript.html#clutter-script-unmerge-objects" title="clutter_script_unmerge_objects ()"><code class="function">clutter_script_unmerge_objects()</code></a>.</p>
|
597
|
+
<p></p>
|
598
|
+
</div>
|
664
599
|
<p class="since">Since 0.6</p>
|
665
600
|
</div>
|
666
601
|
<hr>
|
667
602
|
<div class="refsect2">
|
668
|
-
<a name="clutter-script-load-from-resource"></a><h3>clutter_script_load_from_resource
|
669
|
-
<pre class="programlisting"><span class="returnvalue">guint</span>
|
670
|
-
|
671
|
-
|
672
|
-
<
|
673
|
-
Loads the definitions from a resource file into <em class="parameter"><code>script</code></em>
|
674
|
-
|
675
|
-
|
676
|
-
<div class="
|
603
|
+
<a name="clutter-script-load-from-resource"></a><h3>clutter_script_load_from_resource ()</h3>
|
604
|
+
<pre class="programlisting"><span class="returnvalue">guint</span>
|
605
|
+
clutter_script_load_from_resource (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
|
606
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *resource_path</code></em>,
|
607
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
608
|
+
<p>Loads the definitions from a resource file into <em class="parameter"><code>script</code></em>
|
609
|
+
and merges with
|
610
|
+
the currently loaded ones, if any.</p>
|
611
|
+
<div class="refsect3">
|
612
|
+
<a name="id-1.7.3.2.8.5.5"></a><h4>Parameters</h4>
|
613
|
+
<div class="informaltable"><table width="100%" border="0">
|
677
614
|
<colgroup>
|
678
|
-
<col
|
679
|
-
<col>
|
615
|
+
<col width="150px" class="parameters_name">
|
616
|
+
<col class="parameters_description">
|
617
|
+
<col width="200px" class="parameters_annotations">
|
680
618
|
</colgroup>
|
681
619
|
<tbody>
|
682
620
|
<tr>
|
683
|
-
<td
|
684
|
-
<td>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a>
|
685
|
-
</td>
|
686
|
-
</tr>
|
687
|
-
<tr>
|
688
|
-
<td><p><span class="term"><em class="parameter"><code>resource_path</code></em> :</span></p></td>
|
689
|
-
<td>the resource path of the file to parse</td>
|
621
|
+
<td class="parameter_name"><p>script</p></td>
|
622
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a></p></td>
|
623
|
+
<td class="parameter_annotations"> </td>
|
690
624
|
</tr>
|
691
625
|
<tr>
|
692
|
-
<td
|
693
|
-
<td
|
694
|
-
</td>
|
626
|
+
<td class="parameter_name"><p>resource_path</p></td>
|
627
|
+
<td class="parameter_description"><p>the resource path of the file to parse</p></td>
|
628
|
+
<td class="parameter_annotations"> </td>
|
695
629
|
</tr>
|
696
630
|
<tr>
|
697
|
-
<td
|
698
|
-
<td>
|
699
|
-
|
700
|
-
returned. You can use the merge id with <a class="link" href="ClutterScript.html#clutter-script-unmerge-objects" title="clutter_script_unmerge_objects ()"><code class="function">clutter_script_unmerge_objects()</code></a>.</td>
|
631
|
+
<td class="parameter_name"><p>error</p></td>
|
632
|
+
<td class="parameter_description"><p>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code></p></td>
|
633
|
+
<td class="parameter_annotations"> </td>
|
701
634
|
</tr>
|
702
635
|
</tbody>
|
703
636
|
</table></div>
|
637
|
+
</div>
|
638
|
+
<div class="refsect3">
|
639
|
+
<a name="id-1.7.3.2.8.5.6"></a><h4>Returns</h4>
|
640
|
+
<p> on error, zero is returned and <em class="parameter"><code>error</code></em>
|
641
|
+
is set
|
642
|
+
accordingly. On success, the merge id for the UI definitions is
|
643
|
+
returned. You can use the merge id with <a class="link" href="ClutterScript.html#clutter-script-unmerge-objects" title="clutter_script_unmerge_objects ()"><code class="function">clutter_script_unmerge_objects()</code></a>.</p>
|
644
|
+
<p></p>
|
645
|
+
</div>
|
704
646
|
<p class="since">Since 1.10</p>
|
705
647
|
</div>
|
706
648
|
<hr>
|
707
649
|
<div class="refsect2">
|
708
|
-
<a name="clutter-script-add-search-paths"></a><h3>clutter_script_add_search_paths
|
709
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
710
|
-
|
711
|
-
|
712
|
-
<
|
713
|
-
Adds <em class="parameter"><code>paths</code></em>
|
714
|
-
</
|
715
|
-
|
716
|
-
The search paths are used by <a class="link" href="ClutterScript.html#clutter-script-lookup-filename" title="clutter_script_lookup_filename
|
650
|
+
<a name="clutter-script-add-search-paths"></a><h3>clutter_script_add_search_paths ()</h3>
|
651
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
652
|
+
clutter_script_add_search_paths (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
|
653
|
+
<em class="parameter"><code>const <span class="type">gchar</span> * const paths[]</code></em>,
|
654
|
+
<em class="parameter"><code><span class="type">gsize</span> n_paths</code></em>);</pre>
|
655
|
+
<p>Adds <em class="parameter"><code>paths</code></em>
|
656
|
+
to the list of search paths held by <em class="parameter"><code>script</code></em>
|
657
|
+
.</p>
|
658
|
+
<p>The search paths are used by <a class="link" href="ClutterScript.html#clutter-script-lookup-filename" title="clutter_script_lookup_filename ()"><code class="function">clutter_script_lookup_filename()</code></a>, which
|
717
659
|
can be used to define search paths for the textures source file name
|
718
|
-
or other custom, file-based properties
|
719
|
-
|
720
|
-
<
|
660
|
+
or other custom, file-based properties.</p>
|
661
|
+
<div class="refsect3">
|
662
|
+
<a name="id-1.7.3.2.8.6.6"></a><h4>Parameters</h4>
|
663
|
+
<div class="informaltable"><table width="100%" border="0">
|
721
664
|
<colgroup>
|
722
|
-
<col
|
723
|
-
<col>
|
665
|
+
<col width="150px" class="parameters_name">
|
666
|
+
<col class="parameters_description">
|
667
|
+
<col width="200px" class="parameters_annotations">
|
724
668
|
</colgroup>
|
725
669
|
<tbody>
|
726
670
|
<tr>
|
727
|
-
<td
|
728
|
-
<td>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a>
|
729
|
-
</td>
|
671
|
+
<td class="parameter_name"><p>script</p></td>
|
672
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a></p></td>
|
673
|
+
<td class="parameter_annotations"> </td>
|
730
674
|
</tr>
|
731
675
|
<tr>
|
732
|
-
<td
|
733
|
-
<td>an array of strings containing
|
734
|
-
different search paths.
|
735
|
-
</td>
|
676
|
+
<td class="parameter_name"><p>paths</p></td>
|
677
|
+
<td class="parameter_description"><p> an array of strings containing
|
678
|
+
different search paths. </p></td>
|
679
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_paths]</span></td>
|
736
680
|
</tr>
|
737
681
|
<tr>
|
738
|
-
<td
|
739
|
-
<td>the length of the passed array</td>
|
682
|
+
<td class="parameter_name"><p>n_paths</p></td>
|
683
|
+
<td class="parameter_description"><p>the length of the passed array</p></td>
|
684
|
+
<td class="parameter_annotations"> </td>
|
740
685
|
</tr>
|
741
686
|
</tbody>
|
742
687
|
</table></div>
|
688
|
+
</div>
|
743
689
|
<p class="since">Since 0.8</p>
|
744
690
|
</div>
|
745
691
|
<hr>
|
746
692
|
<div class="refsect2">
|
747
|
-
<a name="clutter-script-lookup-filename"></a><h3>clutter_script_lookup_filename
|
748
|
-
<pre class="programlisting"><span class="returnvalue">gchar</span>
|
749
|
-
|
750
|
-
<
|
751
|
-
Looks up <em class="parameter"><code>filename</code></em>
|
752
|
-
|
753
|
-
</
|
754
|
-
|
693
|
+
<a name="clutter-script-lookup-filename"></a><h3>clutter_script_lookup_filename ()</h3>
|
694
|
+
<pre class="programlisting"><span class="returnvalue">gchar</span> *
|
695
|
+
clutter_script_lookup_filename (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
|
696
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>);</pre>
|
697
|
+
<p>Looks up <em class="parameter"><code>filename</code></em>
|
698
|
+
inside the search paths of <em class="parameter"><code>script</code></em>
|
699
|
+
. If <em class="parameter"><code>filename</code></em>
|
700
|
+
|
701
|
+
is found, its full path will be returned .</p>
|
702
|
+
<div class="refsect3">
|
703
|
+
<a name="id-1.7.3.2.8.7.5"></a><h4>Parameters</h4>
|
704
|
+
<div class="informaltable"><table width="100%" border="0">
|
755
705
|
<colgroup>
|
756
|
-
<col
|
757
|
-
<col>
|
706
|
+
<col width="150px" class="parameters_name">
|
707
|
+
<col class="parameters_description">
|
708
|
+
<col width="200px" class="parameters_annotations">
|
758
709
|
</colgroup>
|
759
710
|
<tbody>
|
760
711
|
<tr>
|
761
|
-
<td
|
762
|
-
<td>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a>
|
763
|
-
</td>
|
764
|
-
</tr>
|
765
|
-
<tr>
|
766
|
-
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
|
767
|
-
<td>the name of the file to lookup</td>
|
712
|
+
<td class="parameter_name"><p>script</p></td>
|
713
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a></p></td>
|
714
|
+
<td class="parameter_annotations"> </td>
|
768
715
|
</tr>
|
769
716
|
<tr>
|
770
|
-
<td
|
771
|
-
<td
|
772
|
-
|
717
|
+
<td class="parameter_name"><p>filename</p></td>
|
718
|
+
<td class="parameter_description"><p>the name of the file to lookup</p></td>
|
719
|
+
<td class="parameter_annotations"> </td>
|
773
720
|
</tr>
|
774
721
|
</tbody>
|
775
722
|
</table></div>
|
723
|
+
</div>
|
724
|
+
<div class="refsect3">
|
725
|
+
<a name="id-1.7.3.2.8.7.6"></a><h4>Returns</h4>
|
726
|
+
<p> the full path of <em class="parameter"><code>filename</code></em>
|
727
|
+
or <code class="literal">NULL</code> if no path was
|
728
|
+
found.</p>
|
729
|
+
<p></p>
|
730
|
+
</div>
|
776
731
|
<p class="since">Since 0.8</p>
|
777
732
|
</div>
|
778
733
|
<hr>
|
779
734
|
<div class="refsect2">
|
780
|
-
<a name="clutter-script-get-object"></a><h3>clutter_script_get_object
|
781
|
-
<pre class="programlisting"><span class="returnvalue">GObject</span>
|
782
|
-
|
783
|
-
<
|
784
|
-
Retrieves the object bound to <em class="parameter"><code>name</code></em
|
785
|
-
|
786
|
-
|
787
|
-
<div class="
|
735
|
+
<a name="clutter-script-get-object"></a><h3>clutter_script_get_object ()</h3>
|
736
|
+
<pre class="programlisting"><span class="returnvalue">GObject</span> *
|
737
|
+
clutter_script_get_object (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
|
738
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);</pre>
|
739
|
+
<p>Retrieves the object bound to <em class="parameter"><code>name</code></em>
|
740
|
+
. This function does not increment
|
741
|
+
the reference count of the returned object.</p>
|
742
|
+
<div class="refsect3">
|
743
|
+
<a name="id-1.7.3.2.8.8.5"></a><h4>Parameters</h4>
|
744
|
+
<div class="informaltable"><table width="100%" border="0">
|
788
745
|
<colgroup>
|
789
|
-
<col
|
790
|
-
<col>
|
746
|
+
<col width="150px" class="parameters_name">
|
747
|
+
<col class="parameters_description">
|
748
|
+
<col width="200px" class="parameters_annotations">
|
791
749
|
</colgroup>
|
792
750
|
<tbody>
|
793
751
|
<tr>
|
794
|
-
<td
|
795
|
-
<td>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a>
|
796
|
-
</td>
|
797
|
-
</tr>
|
798
|
-
<tr>
|
799
|
-
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
800
|
-
<td>the name of the object to retrieve</td>
|
752
|
+
<td class="parameter_name"><p>script</p></td>
|
753
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a></p></td>
|
754
|
+
<td class="parameter_annotations"> </td>
|
801
755
|
</tr>
|
802
756
|
<tr>
|
803
|
-
<td
|
804
|
-
<td
|
805
|
-
|
806
|
-
</td>
|
757
|
+
<td class="parameter_name"><p>name</p></td>
|
758
|
+
<td class="parameter_description"><p>the name of the object to retrieve</p></td>
|
759
|
+
<td class="parameter_annotations"> </td>
|
807
760
|
</tr>
|
808
761
|
</tbody>
|
809
762
|
</table></div>
|
763
|
+
</div>
|
764
|
+
<div class="refsect3">
|
765
|
+
<a name="id-1.7.3.2.8.8.6"></a><h4>Returns</h4>
|
766
|
+
<p> the named object, or <code class="literal">NULL</code> if no object
|
767
|
+
with the given name was available. </p>
|
768
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
769
|
+
</div>
|
810
770
|
<p class="since">Since 0.6</p>
|
811
771
|
</div>
|
812
772
|
<hr>
|
813
773
|
<div class="refsect2">
|
814
|
-
<a name="clutter-script-get-objects"></a><h3>clutter_script_get_objects
|
815
|
-
<pre class="programlisting"><span class="returnvalue">gint</span>
|
816
|
-
|
817
|
-
|
818
|
-
<
|
819
|
-
Retrieves a list of objects for the given names. After <em class="parameter"><code>script</code></em
|
774
|
+
<a name="clutter-script-get-objects"></a><h3>clutter_script_get_objects ()</h3>
|
775
|
+
<pre class="programlisting"><span class="returnvalue">gint</span>
|
776
|
+
clutter_script_get_objects (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
|
777
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *first_name</code></em>,
|
778
|
+
<em class="parameter"><code>...</code></em>);</pre>
|
779
|
+
<p>Retrieves a list of objects for the given names. After <em class="parameter"><code>script</code></em>
|
780
|
+
, object
|
820
781
|
names/return location pairs should be listed, with a <code class="literal">NULL</code> pointer
|
821
|
-
ending the list, like
|
822
|
-
</p>
|
823
|
-
<p>
|
824
|
-
</p>
|
782
|
+
ending the list, like:</p>
|
825
783
|
<div class="informalexample">
|
826
784
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
827
785
|
<tbody>
|
@@ -845,511 +803,612 @@ ending the list, like:
|
|
845
803
|
</table>
|
846
804
|
</div>
|
847
805
|
|
848
|
-
<p>
|
849
|
-
|
850
|
-
|
851
|
-
|
852
|
-
|
853
|
-
|
854
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
806
|
+
<p></p>
|
807
|
+
<p>Note: This function does not increment the reference count of the
|
808
|
+
returned objects.</p>
|
809
|
+
<div class="refsect3">
|
810
|
+
<a name="id-1.7.3.2.8.9.8"></a><h4>Parameters</h4>
|
811
|
+
<div class="informaltable"><table width="100%" border="0">
|
855
812
|
<colgroup>
|
856
|
-
<col
|
857
|
-
<col>
|
813
|
+
<col width="150px" class="parameters_name">
|
814
|
+
<col class="parameters_description">
|
815
|
+
<col width="200px" class="parameters_annotations">
|
858
816
|
</colgroup>
|
859
817
|
<tbody>
|
860
818
|
<tr>
|
861
|
-
<td
|
862
|
-
<td>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a>
|
863
|
-
</td>
|
819
|
+
<td class="parameter_name"><p>script</p></td>
|
820
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a></p></td>
|
821
|
+
<td class="parameter_annotations"> </td>
|
864
822
|
</tr>
|
865
823
|
<tr>
|
866
|
-
<td
|
867
|
-
<td>the name of the first object to retrieve</td>
|
824
|
+
<td class="parameter_name"><p>first_name</p></td>
|
825
|
+
<td class="parameter_description"><p>the name of the first object to retrieve</p></td>
|
826
|
+
<td class="parameter_annotations"> </td>
|
868
827
|
</tr>
|
869
828
|
<tr>
|
870
|
-
<td
|
871
|
-
<td>return location for a <span class="type">GObject</span>, then additional names, ending
|
872
|
-
with <code class="literal">NULL</code>
|
873
|
-
</td>
|
874
|
-
</tr>
|
875
|
-
<tr>
|
876
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
877
|
-
<td>the number of objects returned.</td>
|
829
|
+
<td class="parameter_name"><p>...</p></td>
|
830
|
+
<td class="parameter_description"><p>return location for a <span class="type">GObject</span>, then additional names, ending
|
831
|
+
with <code class="literal">NULL</code></p></td>
|
832
|
+
<td class="parameter_annotations"> </td>
|
878
833
|
</tr>
|
879
834
|
</tbody>
|
880
835
|
</table></div>
|
836
|
+
</div>
|
837
|
+
<div class="refsect3">
|
838
|
+
<a name="id-1.7.3.2.8.9.9"></a><h4>Returns</h4>
|
839
|
+
<p> the number of objects returned.</p>
|
840
|
+
<p></p>
|
841
|
+
</div>
|
881
842
|
<p class="since">Since 0.6</p>
|
882
843
|
</div>
|
883
844
|
<hr>
|
884
845
|
<div class="refsect2">
|
885
|
-
<a name="clutter-script-unmerge-objects"></a><h3>clutter_script_unmerge_objects
|
886
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
887
|
-
|
888
|
-
<
|
889
|
-
Unmerges the objects identified by <em class="parameter"><code>merge_id</code></em
|
890
|
-
|
891
|
-
<div class="
|
846
|
+
<a name="clutter-script-unmerge-objects"></a><h3>clutter_script_unmerge_objects ()</h3>
|
847
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
848
|
+
clutter_script_unmerge_objects (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
|
849
|
+
<em class="parameter"><code><span class="type">guint</span> merge_id</code></em>);</pre>
|
850
|
+
<p>Unmerges the objects identified by <em class="parameter"><code>merge_id</code></em>
|
851
|
+
.</p>
|
852
|
+
<div class="refsect3">
|
853
|
+
<a name="id-1.7.3.2.8.10.5"></a><h4>Parameters</h4>
|
854
|
+
<div class="informaltable"><table width="100%" border="0">
|
892
855
|
<colgroup>
|
893
|
-
<col
|
894
|
-
<col>
|
856
|
+
<col width="150px" class="parameters_name">
|
857
|
+
<col class="parameters_description">
|
858
|
+
<col width="200px" class="parameters_annotations">
|
895
859
|
</colgroup>
|
896
860
|
<tbody>
|
897
861
|
<tr>
|
898
|
-
<td
|
899
|
-
<td>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a>
|
900
|
-
</td>
|
862
|
+
<td class="parameter_name"><p>script</p></td>
|
863
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a></p></td>
|
864
|
+
<td class="parameter_annotations"> </td>
|
901
865
|
</tr>
|
902
866
|
<tr>
|
903
|
-
<td
|
904
|
-
<td>merge id returned when loading a UI definition</td>
|
867
|
+
<td class="parameter_name"><p>merge_id</p></td>
|
868
|
+
<td class="parameter_description"><p>merge id returned when loading a UI definition</p></td>
|
869
|
+
<td class="parameter_annotations"> </td>
|
905
870
|
</tr>
|
906
871
|
</tbody>
|
907
872
|
</table></div>
|
873
|
+
</div>
|
908
874
|
<p class="since">Since 0.6</p>
|
909
875
|
</div>
|
910
876
|
<hr>
|
911
877
|
<div class="refsect2">
|
912
|
-
<a name="clutter-script-ensure-objects"></a><h3>clutter_script_ensure_objects
|
913
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
914
|
-
<
|
915
|
-
Ensure that every object defined inside <em class="parameter"><code>script</code></em>
|
916
|
-
|
917
|
-
|
918
|
-
<div class="
|
878
|
+
<a name="clutter-script-ensure-objects"></a><h3>clutter_script_ensure_objects ()</h3>
|
879
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
880
|
+
clutter_script_ensure_objects (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>);</pre>
|
881
|
+
<p>Ensure that every object defined inside <em class="parameter"><code>script</code></em>
|
882
|
+
is correctly
|
883
|
+
constructed. You should rarely need to use this function.</p>
|
884
|
+
<div class="refsect3">
|
885
|
+
<a name="id-1.7.3.2.8.11.5"></a><h4>Parameters</h4>
|
886
|
+
<div class="informaltable"><table width="100%" border="0">
|
919
887
|
<colgroup>
|
920
|
-
<col
|
921
|
-
<col>
|
888
|
+
<col width="150px" class="parameters_name">
|
889
|
+
<col class="parameters_description">
|
890
|
+
<col width="200px" class="parameters_annotations">
|
922
891
|
</colgroup>
|
923
892
|
<tbody><tr>
|
924
|
-
<td
|
925
|
-
<td>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a>
|
926
|
-
</td>
|
893
|
+
<td class="parameter_name"><p>script</p></td>
|
894
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a></p></td>
|
895
|
+
<td class="parameter_annotations"> </td>
|
927
896
|
</tr></tbody>
|
928
897
|
</table></div>
|
898
|
+
</div>
|
929
899
|
<p class="since">Since 0.6</p>
|
930
900
|
</div>
|
931
901
|
<hr>
|
932
902
|
<div class="refsect2">
|
933
|
-
<a name="clutter-script-list-objects"></a><h3>clutter_script_list_objects
|
934
|
-
<pre class="programlisting"><span class="returnvalue">GList</span>
|
935
|
-
<
|
936
|
-
Retrieves all the objects created by <em class="parameter"><code>script</code></em
|
937
|
-
|
938
|
-
<p>
|
939
|
-
|
940
|
-
|
941
|
-
</
|
942
|
-
<div class="
|
903
|
+
<a name="clutter-script-list-objects"></a><h3>clutter_script_list_objects ()</h3>
|
904
|
+
<pre class="programlisting"><span class="returnvalue">GList</span> *
|
905
|
+
clutter_script_list_objects (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>);</pre>
|
906
|
+
<p>Retrieves all the objects created by <em class="parameter"><code>script</code></em>
|
907
|
+
.</p>
|
908
|
+
<p>Note: this function does not increment the reference count of the
|
909
|
+
objects it returns.</p>
|
910
|
+
<div class="refsect3">
|
911
|
+
<a name="id-1.7.3.2.8.12.6"></a><h4>Parameters</h4>
|
912
|
+
<div class="informaltable"><table width="100%" border="0">
|
943
913
|
<colgroup>
|
944
|
-
<col
|
945
|
-
<col>
|
914
|
+
<col width="150px" class="parameters_name">
|
915
|
+
<col class="parameters_description">
|
916
|
+
<col width="200px" class="parameters_annotations">
|
946
917
|
</colgroup>
|
947
|
-
<tbody>
|
948
|
-
<
|
949
|
-
<td><p
|
950
|
-
<td
|
951
|
-
</
|
952
|
-
</tr>
|
953
|
-
<tr>
|
954
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
955
|
-
<td>a list
|
956
|
-
of <span class="type">GObject</span>s, or <code class="literal">NULL</code>. The objects are owned by the
|
957
|
-
<a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> instance. Use <code class="function">g_list_free()</code> on the returned list when
|
958
|
-
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> GObject.Object]</span>
|
959
|
-
</td>
|
960
|
-
</tr>
|
961
|
-
</tbody>
|
918
|
+
<tbody><tr>
|
919
|
+
<td class="parameter_name"><p>script</p></td>
|
920
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a></p></td>
|
921
|
+
<td class="parameter_annotations"> </td>
|
922
|
+
</tr></tbody>
|
962
923
|
</table></div>
|
924
|
+
</div>
|
925
|
+
<div class="refsect3">
|
926
|
+
<a name="id-1.7.3.2.8.12.7"></a><h4>Returns</h4>
|
927
|
+
<p> a list
|
928
|
+
of <span class="type">GObject</span><!-- -->s, or <code class="literal">NULL</code>. The objects are owned by the
|
929
|
+
<a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> instance. Use <code class="function">g_list_free()</code> on the returned list when
|
930
|
+
done. </p>
|
931
|
+
<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> GObject.Object]</span></p>
|
932
|
+
</div>
|
963
933
|
<p class="since">Since 0.8.2</p>
|
964
934
|
</div>
|
965
935
|
<hr>
|
966
936
|
<div class="refsect2">
|
967
|
-
<a name="ClutterScriptConnectFunc"></a><h3>ClutterScriptConnectFunc
|
968
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
969
|
-
|
970
|
-
|
971
|
-
|
972
|
-
|
973
|
-
|
974
|
-
|
975
|
-
<
|
976
|
-
This is the signature of a function used to connect signals. It is used
|
977
|
-
by the <a class="link" href="ClutterScript.html#clutter-script-connect-signals-full" title="clutter_script_connect_signals_full
|
937
|
+
<a name="ClutterScriptConnectFunc"></a><h3>ClutterScriptConnectFunc ()</h3>
|
938
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
939
|
+
<span class="c_punctuation">(</span>*ClutterScriptConnectFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
|
940
|
+
<em class="parameter"><code><span class="type">GObject</span> *object</code></em>,
|
941
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *signal_name</code></em>,
|
942
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *handler_name</code></em>,
|
943
|
+
<em class="parameter"><code><span class="type">GObject</span> *connect_object</code></em>,
|
944
|
+
<em class="parameter"><code><span class="type">GConnectFlags</span> flags</code></em>,
|
945
|
+
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
|
946
|
+
<p>This is the signature of a function used to connect signals. It is used
|
947
|
+
by the <a class="link" href="ClutterScript.html#clutter-script-connect-signals-full" title="clutter_script_connect_signals_full ()"><code class="function">clutter_script_connect_signals_full()</code></a> function. It is mainly
|
978
948
|
intended for interpreted language bindings, but could be useful where the
|
979
|
-
programmer wants more control over the signal connection process
|
980
|
-
|
981
|
-
<
|
949
|
+
programmer wants more control over the signal connection process.</p>
|
950
|
+
<div class="refsect3">
|
951
|
+
<a name="id-1.7.3.2.8.13.5"></a><h4>Parameters</h4>
|
952
|
+
<div class="informaltable"><table width="100%" border="0">
|
982
953
|
<colgroup>
|
983
|
-
<col
|
984
|
-
<col>
|
954
|
+
<col width="150px" class="parameters_name">
|
955
|
+
<col class="parameters_description">
|
956
|
+
<col width="200px" class="parameters_annotations">
|
985
957
|
</colgroup>
|
986
958
|
<tbody>
|
987
959
|
<tr>
|
988
|
-
<td
|
989
|
-
<td>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a>
|
990
|
-
</td>
|
960
|
+
<td class="parameter_name"><p>script</p></td>
|
961
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a></p></td>
|
962
|
+
<td class="parameter_annotations"> </td>
|
991
963
|
</tr>
|
992
964
|
<tr>
|
993
|
-
<td
|
994
|
-
<td>the object to connect</td>
|
965
|
+
<td class="parameter_name"><p>object</p></td>
|
966
|
+
<td class="parameter_description"><p>the object to connect</p></td>
|
967
|
+
<td class="parameter_annotations"> </td>
|
995
968
|
</tr>
|
996
969
|
<tr>
|
997
|
-
<td
|
998
|
-
<td>the name of the signal</td>
|
970
|
+
<td class="parameter_name"><p>signal_name</p></td>
|
971
|
+
<td class="parameter_description"><p>the name of the signal</p></td>
|
972
|
+
<td class="parameter_annotations"> </td>
|
999
973
|
</tr>
|
1000
974
|
<tr>
|
1001
|
-
<td
|
1002
|
-
<td>the name of the signal handler</td>
|
975
|
+
<td class="parameter_name"><p>handler_name</p></td>
|
976
|
+
<td class="parameter_description"><p>the name of the signal handler</p></td>
|
977
|
+
<td class="parameter_annotations"> </td>
|
1003
978
|
</tr>
|
1004
979
|
<tr>
|
1005
|
-
<td
|
1006
|
-
<td>the object to connect the signal to, or <code class="literal">NULL</code>
|
1007
|
-
</td>
|
980
|
+
<td class="parameter_name"><p>connect_object</p></td>
|
981
|
+
<td class="parameter_description"><p>the object to connect the signal to, or <code class="literal">NULL</code></p></td>
|
982
|
+
<td class="parameter_annotations"> </td>
|
1008
983
|
</tr>
|
1009
984
|
<tr>
|
1010
|
-
<td
|
1011
|
-
<td>signal connection flags</td>
|
985
|
+
<td class="parameter_name"><p>flags</p></td>
|
986
|
+
<td class="parameter_description"><p>signal connection flags</p></td>
|
987
|
+
<td class="parameter_annotations"> </td>
|
1012
988
|
</tr>
|
1013
989
|
<tr>
|
1014
|
-
<td
|
1015
|
-
<td>user data to pass to the signal handler</td>
|
990
|
+
<td class="parameter_name"><p>user_data</p></td>
|
991
|
+
<td class="parameter_description"><p>user data to pass to the signal handler</p></td>
|
992
|
+
<td class="parameter_annotations"> </td>
|
1016
993
|
</tr>
|
1017
994
|
</tbody>
|
1018
995
|
</table></div>
|
996
|
+
</div>
|
1019
997
|
<p class="since">Since 0.6</p>
|
1020
998
|
</div>
|
1021
999
|
<hr>
|
1022
1000
|
<div class="refsect2">
|
1023
|
-
<a name="clutter-script-connect-signals"></a><h3>clutter_script_connect_signals
|
1024
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1025
|
-
|
1026
|
-
<
|
1027
|
-
Connects all the signals defined into a UI definition file to their
|
1028
|
-
handlers
|
1029
|
-
|
1030
|
-
<p>
|
1031
|
-
This method invokes <a class="link" href="ClutterScript.html#clutter-script-connect-signals-full" title="clutter_script_connect_signals_full ()"><code class="function">clutter_script_connect_signals_full()</code></a> internally
|
1001
|
+
<a name="clutter-script-connect-signals"></a><h3>clutter_script_connect_signals ()</h3>
|
1002
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1003
|
+
clutter_script_connect_signals (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
|
1004
|
+
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
|
1005
|
+
<p>Connects all the signals defined into a UI definition file to their
|
1006
|
+
handlers.</p>
|
1007
|
+
<p>This method invokes <a class="link" href="ClutterScript.html#clutter-script-connect-signals-full" title="clutter_script_connect_signals_full ()"><code class="function">clutter_script_connect_signals_full()</code></a> internally
|
1032
1008
|
and uses <span class="type">GModule</span>'s introspective features (by opening the current
|
1033
|
-
module's scope) to look at the application's symbol table
|
1034
|
-
|
1035
|
-
|
1036
|
-
|
1037
|
-
|
1038
|
-
|
1039
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1009
|
+
module's scope) to look at the application's symbol table.</p>
|
1010
|
+
<p>Note that this function will not work if <span class="type">GModule</span> is not supported by
|
1011
|
+
the platform Clutter is running on.</p>
|
1012
|
+
<div class="refsect3">
|
1013
|
+
<a name="id-1.7.3.2.8.14.7"></a><h4>Parameters</h4>
|
1014
|
+
<div class="informaltable"><table width="100%" border="0">
|
1040
1015
|
<colgroup>
|
1041
|
-
<col
|
1042
|
-
<col>
|
1016
|
+
<col width="150px" class="parameters_name">
|
1017
|
+
<col class="parameters_description">
|
1018
|
+
<col width="200px" class="parameters_annotations">
|
1043
1019
|
</colgroup>
|
1044
1020
|
<tbody>
|
1045
1021
|
<tr>
|
1046
|
-
<td
|
1047
|
-
<td>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a>
|
1048
|
-
</td>
|
1022
|
+
<td class="parameter_name"><p>script</p></td>
|
1023
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a></p></td>
|
1024
|
+
<td class="parameter_annotations"> </td>
|
1049
1025
|
</tr>
|
1050
1026
|
<tr>
|
1051
|
-
<td
|
1052
|
-
<td>data to be passed to the signal handlers, or <code class="literal">NULL</code>
|
1053
|
-
</td>
|
1027
|
+
<td class="parameter_name"><p>user_data</p></td>
|
1028
|
+
<td class="parameter_description"><p>data to be passed to the signal handlers, or <code class="literal">NULL</code></p></td>
|
1029
|
+
<td class="parameter_annotations"> </td>
|
1054
1030
|
</tr>
|
1055
1031
|
</tbody>
|
1056
1032
|
</table></div>
|
1033
|
+
</div>
|
1057
1034
|
<p class="since">Since 0.6</p>
|
1058
1035
|
</div>
|
1059
1036
|
<hr>
|
1060
1037
|
<div class="refsect2">
|
1061
|
-
<a name="clutter-script-connect-signals-full"></a><h3>clutter_script_connect_signals_full
|
1062
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1063
|
-
|
1064
|
-
|
1065
|
-
<
|
1066
|
-
Connects all the signals defined into a UI definition file to their
|
1067
|
-
handlers
|
1068
|
-
|
1069
|
-
<p>
|
1070
|
-
This function allows to control how the signal handlers are
|
1038
|
+
<a name="clutter-script-connect-signals-full"></a><h3>clutter_script_connect_signals_full ()</h3>
|
1039
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1040
|
+
clutter_script_connect_signals_full (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
|
1041
|
+
<em class="parameter"><code><a class="link" href="ClutterScript.html#ClutterScriptConnectFunc" title="ClutterScriptConnectFunc ()"><span class="type">ClutterScriptConnectFunc</span></a> func</code></em>,
|
1042
|
+
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
|
1043
|
+
<p>Connects all the signals defined into a UI definition file to their
|
1044
|
+
handlers.</p>
|
1045
|
+
<p>This function allows to control how the signal handlers are
|
1071
1046
|
going to be connected to their respective signals. It is meant
|
1072
1047
|
primarily for language bindings to allow resolving the function
|
1073
1048
|
names using the native API, but it can also be used on platforms
|
1074
|
-
that do not support GModule
|
1075
|
-
</p>
|
1076
|
-
<
|
1077
|
-
|
1078
|
-
|
1079
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1049
|
+
that do not support GModule.</p>
|
1050
|
+
<p>Applications should use <a class="link" href="ClutterScript.html#clutter-script-connect-signals" title="clutter_script_connect_signals ()"><code class="function">clutter_script_connect_signals()</code></a>.</p>
|
1051
|
+
<div class="refsect3">
|
1052
|
+
<a name="id-1.7.3.2.8.15.7"></a><h4>Parameters</h4>
|
1053
|
+
<div class="informaltable"><table width="100%" border="0">
|
1080
1054
|
<colgroup>
|
1081
|
-
<col
|
1082
|
-
<col>
|
1055
|
+
<col width="150px" class="parameters_name">
|
1056
|
+
<col class="parameters_description">
|
1057
|
+
<col width="200px" class="parameters_annotations">
|
1083
1058
|
</colgroup>
|
1084
1059
|
<tbody>
|
1085
1060
|
<tr>
|
1086
|
-
<td
|
1087
|
-
<td>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a>
|
1088
|
-
</td>
|
1061
|
+
<td class="parameter_name"><p>script</p></td>
|
1062
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a></p></td>
|
1063
|
+
<td class="parameter_annotations"> </td>
|
1089
1064
|
</tr>
|
1090
1065
|
<tr>
|
1091
|
-
<td
|
1092
|
-
<td
|
1093
|
-
</td>
|
1066
|
+
<td class="parameter_name"><p>func</p></td>
|
1067
|
+
<td class="parameter_description"><p> signal connection function. </p></td>
|
1068
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid only during the call to the method."><span class="acronym">scope call</span></acronym>]</span></td>
|
1094
1069
|
</tr>
|
1095
1070
|
<tr>
|
1096
|
-
<td
|
1097
|
-
<td>data to be passed to the signal handlers, or <code class="literal">NULL</code>
|
1098
|
-
</td>
|
1071
|
+
<td class="parameter_name"><p>user_data</p></td>
|
1072
|
+
<td class="parameter_description"><p>data to be passed to the signal handlers, or <code class="literal">NULL</code></p></td>
|
1073
|
+
<td class="parameter_annotations"> </td>
|
1099
1074
|
</tr>
|
1100
1075
|
</tbody>
|
1101
1076
|
</table></div>
|
1077
|
+
</div>
|
1102
1078
|
<p class="since">Since 0.6</p>
|
1103
1079
|
</div>
|
1104
1080
|
<hr>
|
1105
1081
|
<div class="refsect2">
|
1106
|
-
<a name="clutter-script-add-states"></a><h3>clutter_script_add_states
|
1107
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1108
|
-
|
1109
|
-
|
1110
|
-
<
|
1111
|
-
<
|
1112
|
-
<p><
|
1113
|
-
|
1114
|
-
<p>
|
1115
|
-
|
1116
|
-
|
1117
|
-
|
1118
|
-
|
1119
|
-
|
1120
|
-
|
1121
|
-
|
1122
|
-
<p>
|
1123
|
-
The <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> instance will take a reference on the <a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a>
|
1124
|
-
passed to this function.
|
1125
|
-
</p>
|
1126
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1082
|
+
<a name="clutter-script-add-states"></a><h3>clutter_script_add_states ()</h3>
|
1083
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1084
|
+
clutter_script_add_states (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
|
1085
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
|
1086
|
+
<em class="parameter"><code><a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a> *state</code></em>);</pre>
|
1087
|
+
<div class="warning"><p><code class="literal">clutter_script_add_states</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
|
1088
|
+
<p>Associates a <a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a> to the <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> instance using the given
|
1089
|
+
name.</p>
|
1090
|
+
<p>The <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> instance will use <em class="parameter"><code>state</code></em>
|
1091
|
+
to resolve target states when
|
1092
|
+
connecting signal handlers.</p>
|
1093
|
+
<p>The <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> instance will take a reference on the <a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a>
|
1094
|
+
passed to this function.</p>
|
1095
|
+
<div class="refsect3">
|
1096
|
+
<a name="id-1.7.3.2.8.16.9"></a><h4>Parameters</h4>
|
1097
|
+
<div class="informaltable"><table width="100%" border="0">
|
1127
1098
|
<colgroup>
|
1128
|
-
<col
|
1129
|
-
<col>
|
1099
|
+
<col width="150px" class="parameters_name">
|
1100
|
+
<col class="parameters_description">
|
1101
|
+
<col width="200px" class="parameters_annotations">
|
1130
1102
|
</colgroup>
|
1131
1103
|
<tbody>
|
1132
1104
|
<tr>
|
1133
|
-
<td
|
1134
|
-
<td>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a>
|
1135
|
-
</td>
|
1105
|
+
<td class="parameter_name"><p>script</p></td>
|
1106
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a></p></td>
|
1107
|
+
<td class="parameter_annotations"> </td>
|
1136
1108
|
</tr>
|
1137
1109
|
<tr>
|
1138
|
-
<td
|
1139
|
-
<td>a name for the <em class="parameter"><code>state</code></em
|
1140
|
-
|
1141
|
-
</td>
|
1110
|
+
<td class="parameter_name"><p>name</p></td>
|
1111
|
+
<td class="parameter_description"><p> a name for the <em class="parameter"><code>state</code></em>
|
1112
|
+
, or <code class="literal">NULL</code> to
|
1113
|
+
set the default <a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a>. </p></td>
|
1114
|
+
<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>
|
1142
1115
|
</tr>
|
1143
1116
|
<tr>
|
1144
|
-
<td
|
1145
|
-
<td>a <a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a>
|
1146
|
-
</td>
|
1117
|
+
<td class="parameter_name"><p>state</p></td>
|
1118
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a></p></td>
|
1119
|
+
<td class="parameter_annotations"> </td>
|
1147
1120
|
</tr>
|
1148
1121
|
</tbody>
|
1149
1122
|
</table></div>
|
1123
|
+
</div>
|
1150
1124
|
<p class="since">Since 1.8</p>
|
1151
1125
|
</div>
|
1152
1126
|
<hr>
|
1153
1127
|
<div class="refsect2">
|
1154
|
-
<a name="clutter-script-get-states"></a><h3>clutter_script_get_states
|
1155
|
-
<pre class="programlisting"><a class="link" href="ClutterState.html" title="ClutterState"><span class="returnvalue">ClutterState</span></a>
|
1156
|
-
|
1157
|
-
<
|
1158
|
-
<
|
1159
|
-
<p><
|
1160
|
-
|
1161
|
-
<p>
|
1162
|
-
|
1163
|
-
</p>
|
1164
|
-
<
|
1165
|
-
|
1166
|
-
<
|
1167
|
-
</p>
|
1168
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1128
|
+
<a name="clutter-script-get-states"></a><h3>clutter_script_get_states ()</h3>
|
1129
|
+
<pre class="programlisting"><a class="link" href="ClutterState.html" title="ClutterState"><span class="returnvalue">ClutterState</span></a> *
|
1130
|
+
clutter_script_get_states (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
|
1131
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);</pre>
|
1132
|
+
<div class="warning"><p><code class="literal">clutter_script_get_states</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
|
1133
|
+
<p>Retrieves the <a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a> for the given <em class="parameter"><code>state_name</code></em>
|
1134
|
+
.</p>
|
1135
|
+
<p>If <em class="parameter"><code>name</code></em>
|
1136
|
+
is <code class="literal">NULL</code>, this function will return the default
|
1137
|
+
<a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a> instance.</p>
|
1138
|
+
<div class="refsect3">
|
1139
|
+
<a name="id-1.7.3.2.8.17.8"></a><h4>Parameters</h4>
|
1140
|
+
<div class="informaltable"><table width="100%" border="0">
|
1169
1141
|
<colgroup>
|
1170
|
-
<col
|
1171
|
-
<col>
|
1142
|
+
<col width="150px" class="parameters_name">
|
1143
|
+
<col class="parameters_description">
|
1144
|
+
<col width="200px" class="parameters_annotations">
|
1172
1145
|
</colgroup>
|
1173
1146
|
<tbody>
|
1174
1147
|
<tr>
|
1175
|
-
<td
|
1176
|
-
<td>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a>
|
1177
|
-
</td>
|
1148
|
+
<td class="parameter_name"><p>script</p></td>
|
1149
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a></p></td>
|
1150
|
+
<td class="parameter_annotations"> </td>
|
1178
1151
|
</tr>
|
1179
1152
|
<tr>
|
1180
|
-
<td
|
1181
|
-
<td>the name of the <a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a>, or <code class="literal">NULL</code>.
|
1182
|
-
</td>
|
1183
|
-
</tr>
|
1184
|
-
<tr>
|
1185
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1186
|
-
<td>a pointer to the <a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a> for the
|
1187
|
-
given name. The <a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a> is owned by the <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> instance
|
1188
|
-
and it should not be unreferenced. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1189
|
-
</td>
|
1153
|
+
<td class="parameter_name"><p>name</p></td>
|
1154
|
+
<td class="parameter_description"><p> the name of the <a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a>, or <code class="literal">NULL</code>. </p></td>
|
1155
|
+
<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>
|
1190
1156
|
</tr>
|
1191
1157
|
</tbody>
|
1192
1158
|
</table></div>
|
1159
|
+
</div>
|
1160
|
+
<div class="refsect3">
|
1161
|
+
<a name="id-1.7.3.2.8.17.9"></a><h4>Returns</h4>
|
1162
|
+
<p> a pointer to the <a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a> for the
|
1163
|
+
given name. The <a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a> is owned by the <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> instance
|
1164
|
+
and it should not be unreferenced. </p>
|
1165
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1166
|
+
</div>
|
1193
1167
|
<p class="since">Since 1.8</p>
|
1194
1168
|
</div>
|
1195
1169
|
<hr>
|
1196
1170
|
<div class="refsect2">
|
1197
|
-
<a name="clutter-script-get-type-from-name"></a><h3>clutter_script_get_type_from_name
|
1198
|
-
<pre class="programlisting"><span class="returnvalue">GType</span>
|
1199
|
-
|
1200
|
-
<
|
1201
|
-
Looks up a type by name, using the virtual function that
|
1171
|
+
<a name="clutter-script-get-type-from-name"></a><h3>clutter_script_get_type_from_name ()</h3>
|
1172
|
+
<pre class="programlisting"><span class="returnvalue">GType</span>
|
1173
|
+
clutter_script_get_type_from_name (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
|
1174
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *type_name</code></em>);</pre>
|
1175
|
+
<p>Looks up a type by name, using the virtual function that
|
1202
1176
|
<a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> has for that purpose. This function should
|
1203
|
-
rarely be used
|
1204
|
-
|
1205
|
-
<
|
1177
|
+
rarely be used.</p>
|
1178
|
+
<div class="refsect3">
|
1179
|
+
<a name="id-1.7.3.2.8.18.5"></a><h4>Parameters</h4>
|
1180
|
+
<div class="informaltable"><table width="100%" border="0">
|
1206
1181
|
<colgroup>
|
1207
|
-
<col
|
1208
|
-
<col>
|
1182
|
+
<col width="150px" class="parameters_name">
|
1183
|
+
<col class="parameters_description">
|
1184
|
+
<col width="200px" class="parameters_annotations">
|
1209
1185
|
</colgroup>
|
1210
1186
|
<tbody>
|
1211
1187
|
<tr>
|
1212
|
-
<td
|
1213
|
-
<td>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a>
|
1214
|
-
</td>
|
1215
|
-
</tr>
|
1216
|
-
<tr>
|
1217
|
-
<td><p><span class="term"><em class="parameter"><code>type_name</code></em> :</span></p></td>
|
1218
|
-
<td>name of the type to look up</td>
|
1188
|
+
<td class="parameter_name"><p>script</p></td>
|
1189
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a></p></td>
|
1190
|
+
<td class="parameter_annotations"> </td>
|
1219
1191
|
</tr>
|
1220
1192
|
<tr>
|
1221
|
-
<td
|
1222
|
-
<td>
|
1223
|
-
<
|
1193
|
+
<td class="parameter_name"><p>type_name</p></td>
|
1194
|
+
<td class="parameter_description"><p>name of the type to look up</p></td>
|
1195
|
+
<td class="parameter_annotations"> </td>
|
1224
1196
|
</tr>
|
1225
1197
|
</tbody>
|
1226
1198
|
</table></div>
|
1199
|
+
</div>
|
1200
|
+
<div class="refsect3">
|
1201
|
+
<a name="id-1.7.3.2.8.18.6"></a><h4>Returns</h4>
|
1202
|
+
<p> the type for the requested type name, or
|
1203
|
+
<code class="literal">G_TYPE_INVALID</code> if not corresponding type was found.</p>
|
1204
|
+
<p></p>
|
1205
|
+
</div>
|
1227
1206
|
<p class="since">Since 0.6</p>
|
1228
1207
|
</div>
|
1229
1208
|
<hr>
|
1230
1209
|
<div class="refsect2">
|
1231
|
-
<a name="clutter-get-script-id"></a><h3>clutter_get_script_id
|
1232
|
-
<pre class="programlisting">const <span class="returnvalue">gchar</span>
|
1233
|
-
<
|
1234
|
-
Retrieves the Clutter script id, if any
|
1235
|
-
|
1236
|
-
<
|
1210
|
+
<a name="clutter-get-script-id"></a><h3>clutter_get_script_id ()</h3>
|
1211
|
+
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
1212
|
+
clutter_get_script_id (<em class="parameter"><code><span class="type">GObject</span> *gobject</code></em>);</pre>
|
1213
|
+
<p>Retrieves the Clutter script id, if any.</p>
|
1214
|
+
<div class="refsect3">
|
1215
|
+
<a name="id-1.7.3.2.8.19.5"></a><h4>Parameters</h4>
|
1216
|
+
<div class="informaltable"><table width="100%" border="0">
|
1237
1217
|
<colgroup>
|
1238
|
-
<col
|
1239
|
-
<col>
|
1218
|
+
<col width="150px" class="parameters_name">
|
1219
|
+
<col class="parameters_description">
|
1220
|
+
<col width="200px" class="parameters_annotations">
|
1240
1221
|
</colgroup>
|
1241
|
-
<tbody>
|
1242
|
-
<
|
1243
|
-
<td
|
1244
|
-
<td
|
1245
|
-
</
|
1246
|
-
</tr>
|
1247
|
-
<tr>
|
1248
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1249
|
-
<td>the script id, or <code class="literal">NULL</code> if <em class="parameter"><code>object</code></em> was not defined inside
|
1250
|
-
a UI definition file. The returned string is owned by the object and
|
1251
|
-
should never be modified or freed.</td>
|
1252
|
-
</tr>
|
1253
|
-
</tbody>
|
1222
|
+
<tbody><tr>
|
1223
|
+
<td class="parameter_name"><p>gobject</p></td>
|
1224
|
+
<td class="parameter_description"><p>a <span class="type">GObject</span></p></td>
|
1225
|
+
<td class="parameter_annotations"> </td>
|
1226
|
+
</tr></tbody>
|
1254
1227
|
</table></div>
|
1228
|
+
</div>
|
1229
|
+
<div class="refsect3">
|
1230
|
+
<a name="id-1.7.3.2.8.19.6"></a><h4>Returns</h4>
|
1231
|
+
<p> the script id, or <code class="literal">NULL</code> if <em class="parameter"><code>object</code></em>
|
1232
|
+
was not defined inside
|
1233
|
+
a UI definition file. The returned string is owned by the object and
|
1234
|
+
should never be modified or freed.</p>
|
1235
|
+
<p></p>
|
1236
|
+
</div>
|
1255
1237
|
<p class="since">Since 0.6</p>
|
1256
1238
|
</div>
|
1257
1239
|
<hr>
|
1258
1240
|
<div class="refsect2">
|
1259
|
-
<a name="clutter-script-get-translation-domain"></a><h3>clutter_script_get_translation_domain
|
1260
|
-
<pre class="programlisting">const <span class="returnvalue">gchar</span>
|
1261
|
-
|
1262
|
-
<p>
|
1263
|
-
|
1264
|
-
<
|
1265
|
-
</
|
1266
|
-
<div class="
|
1241
|
+
<a name="clutter-script-get-translation-domain"></a><h3>clutter_script_get_translation_domain ()</h3>
|
1242
|
+
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
1243
|
+
clutter_script_get_translation_domain (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>);</pre>
|
1244
|
+
<p>Retrieves the translation domain set using
|
1245
|
+
<a class="link" href="ClutterScript.html#clutter-script-set-translation-domain" title="clutter_script_set_translation_domain ()"><code class="function">clutter_script_set_translation_domain()</code></a>.</p>
|
1246
|
+
<div class="refsect3">
|
1247
|
+
<a name="id-1.7.3.2.8.20.5"></a><h4>Parameters</h4>
|
1248
|
+
<div class="informaltable"><table width="100%" border="0">
|
1249
|
+
<colgroup>
|
1250
|
+
<col width="150px" class="parameters_name">
|
1251
|
+
<col class="parameters_description">
|
1252
|
+
<col width="200px" class="parameters_annotations">
|
1253
|
+
</colgroup>
|
1254
|
+
<tbody><tr>
|
1255
|
+
<td class="parameter_name"><p>script</p></td>
|
1256
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a></p></td>
|
1257
|
+
<td class="parameter_annotations"> </td>
|
1258
|
+
</tr></tbody>
|
1259
|
+
</table></div>
|
1260
|
+
</div>
|
1261
|
+
<div class="refsect3">
|
1262
|
+
<a name="id-1.7.3.2.8.20.6"></a><h4>Returns</h4>
|
1263
|
+
<p> the translation domain, if any is set,
|
1264
|
+
or <code class="literal">NULL</code>. </p>
|
1265
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1266
|
+
</div>
|
1267
|
+
<p class="since">Since 1.10</p>
|
1268
|
+
</div>
|
1269
|
+
<hr>
|
1270
|
+
<div class="refsect2">
|
1271
|
+
<a name="clutter-script-set-translation-domain"></a><h3>clutter_script_set_translation_domain ()</h3>
|
1272
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1273
|
+
clutter_script_set_translation_domain (<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
|
1274
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *domain</code></em>);</pre>
|
1275
|
+
<p>Sets the translation domain for <em class="parameter"><code>script</code></em>
|
1276
|
+
.</p>
|
1277
|
+
<div class="refsect3">
|
1278
|
+
<a name="id-1.7.3.2.8.21.5"></a><h4>Parameters</h4>
|
1279
|
+
<div class="informaltable"><table width="100%" border="0">
|
1267
1280
|
<colgroup>
|
1268
|
-
<col
|
1269
|
-
<col>
|
1281
|
+
<col width="150px" class="parameters_name">
|
1282
|
+
<col class="parameters_description">
|
1283
|
+
<col width="200px" class="parameters_annotations">
|
1270
1284
|
</colgroup>
|
1271
1285
|
<tbody>
|
1272
1286
|
<tr>
|
1273
|
-
<td
|
1274
|
-
<td>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a>
|
1275
|
-
</td>
|
1287
|
+
<td class="parameter_name"><p>script</p></td>
|
1288
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a></p></td>
|
1289
|
+
<td class="parameter_annotations"> </td>
|
1276
1290
|
</tr>
|
1277
1291
|
<tr>
|
1278
|
-
<td
|
1279
|
-
<td>the translation domain,
|
1280
|
-
|
1281
|
-
</td>
|
1292
|
+
<td class="parameter_name"><p>domain</p></td>
|
1293
|
+
<td class="parameter_description"><p> the translation domain, or <code class="literal">NULL</code>. </p></td>
|
1294
|
+
<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>
|
1282
1295
|
</tr>
|
1283
1296
|
</tbody>
|
1284
1297
|
</table></div>
|
1298
|
+
</div>
|
1285
1299
|
<p class="since">Since 1.10</p>
|
1286
1300
|
</div>
|
1301
|
+
</div>
|
1302
|
+
<div class="refsect1">
|
1303
|
+
<a name="ClutterScript.other_details"></a><h2>Types and Values</h2>
|
1304
|
+
<div class="refsect2">
|
1305
|
+
<a name="ClutterScript-struct"></a><h3>struct ClutterScript</h3>
|
1306
|
+
<pre class="programlisting">struct ClutterScript;</pre>
|
1307
|
+
<p>The <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> structure contains only private data
|
1308
|
+
and should be accessed using the provided API</p>
|
1309
|
+
<p class="since">Since 0.6</p>
|
1310
|
+
</div>
|
1311
|
+
<hr>
|
1312
|
+
<div class="refsect2">
|
1313
|
+
<a name="ClutterScriptClass"></a><h3>struct ClutterScriptClass</h3>
|
1314
|
+
<pre class="programlisting">struct ClutterScriptClass {
|
1315
|
+
GType (* get_type_from_name) (ClutterScript *script,
|
1316
|
+
const gchar *type_name);
|
1317
|
+
};
|
1318
|
+
</pre>
|
1319
|
+
<p>The <a class="link" href="ClutterScript.html#ClutterScriptClass" title="struct ClutterScriptClass"><span class="type">ClutterScriptClass</span></a> structure contains only private data</p>
|
1320
|
+
<div class="refsect3">
|
1321
|
+
<a name="id-1.7.3.2.9.3.5"></a><h4>Members</h4>
|
1322
|
+
<div class="informaltable"><table width="100%" border="0">
|
1323
|
+
<colgroup>
|
1324
|
+
<col width="300px" class="struct_members_name">
|
1325
|
+
<col class="struct_members_description">
|
1326
|
+
<col width="200px" class="struct_members_annotations">
|
1327
|
+
</colgroup>
|
1328
|
+
<tbody><tr>
|
1329
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="ClutterScriptClass.get-type-from-name"></a>get_type_from_name</code></em> ()</p></td>
|
1330
|
+
<td class="struct_member_description"><p>virtual function used to map a type name
|
1331
|
+
to a <span class="type">GType</span>. This function should only be overridden by
|
1332
|
+
language bindings in order to map native types to <span class="type">GType</span>.
|
1333
|
+
The default implementation is equivalent to <code class="function">g_type_from_name()</code></p></td>
|
1334
|
+
<td class="struct_member_annotations"> </td>
|
1335
|
+
</tr></tbody>
|
1336
|
+
</table></div>
|
1337
|
+
</div>
|
1338
|
+
<p class="since">Since 0.6</p>
|
1339
|
+
</div>
|
1287
1340
|
<hr>
|
1288
1341
|
<div class="refsect2">
|
1289
|
-
<a name="
|
1290
|
-
<
|
1291
|
-
|
1292
|
-
|
1293
|
-
<
|
1294
|
-
Sets the translation domain for <em class="parameter"><code>script</code></em>.
|
1295
|
-
</p>
|
1296
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1342
|
+
<a name="ClutterScriptError"></a><h3>enum ClutterScriptError</h3>
|
1343
|
+
<p><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> error enumeration.</p>
|
1344
|
+
<div class="refsect3">
|
1345
|
+
<a name="id-1.7.3.2.9.4.4"></a><h4>Members</h4>
|
1346
|
+
<div class="informaltable"><table width="100%" border="0">
|
1297
1347
|
<colgroup>
|
1298
|
-
<col
|
1299
|
-
<col>
|
1348
|
+
<col width="300px" class="enum_members_name">
|
1349
|
+
<col class="enum_members_description">
|
1350
|
+
<col width="200px" class="enum_members_annotations">
|
1300
1351
|
</colgroup>
|
1301
1352
|
<tbody>
|
1302
1353
|
<tr>
|
1303
|
-
<td
|
1304
|
-
<td
|
1354
|
+
<td class="enum_member_name"><p><a name="CLUTTER-SCRIPT-ERROR-INVALID-TYPE-FUNCTION:CAPS"></a>CLUTTER_SCRIPT_ERROR_INVALID_TYPE_FUNCTION</p></td>
|
1355
|
+
<td class="enum_member_description">
|
1356
|
+
<p>Type function not found
|
1357
|
+
or invalid</p>
|
1305
1358
|
</td>
|
1359
|
+
<td class="enum_member_annotations"> </td>
|
1306
1360
|
</tr>
|
1307
1361
|
<tr>
|
1308
|
-
<td
|
1309
|
-
<td
|
1362
|
+
<td class="enum_member_name"><p><a name="CLUTTER-SCRIPT-ERROR-INVALID-PROPERTY:CAPS"></a>CLUTTER_SCRIPT_ERROR_INVALID_PROPERTY</p></td>
|
1363
|
+
<td class="enum_member_description">
|
1364
|
+
<p>Property not found or invalid</p>
|
1310
1365
|
</td>
|
1366
|
+
<td class="enum_member_annotations"> </td>
|
1367
|
+
</tr>
|
1368
|
+
<tr>
|
1369
|
+
<td class="enum_member_name"><p><a name="CLUTTER-SCRIPT-ERROR-INVALID-VALUE:CAPS"></a>CLUTTER_SCRIPT_ERROR_INVALID_VALUE</p></td>
|
1370
|
+
<td class="enum_member_description">
|
1371
|
+
<p>Invalid value</p>
|
1372
|
+
</td>
|
1373
|
+
<td class="enum_member_annotations"> </td>
|
1311
1374
|
</tr>
|
1312
1375
|
</tbody>
|
1313
1376
|
</table></div>
|
1314
|
-
|
1377
|
+
</div>
|
1378
|
+
<p class="since">Since 0.6</p>
|
1315
1379
|
</div>
|
1316
1380
|
</div>
|
1317
1381
|
<div class="refsect1">
|
1318
1382
|
<a name="ClutterScript.property-details"></a><h2>Property Details</h2>
|
1319
1383
|
<div class="refsect2">
|
1320
|
-
<a name="ClutterScript--filename"></a><h3>The <code class="literal"
|
1321
|
-
<pre class="programlisting">
|
1322
|
-
<p>
|
1323
|
-
|
1324
|
-
|
1325
|
-
</p>
|
1384
|
+
<a name="ClutterScript--filename"></a><h3>The <code class="literal">“filename”</code> property</h3>
|
1385
|
+
<pre class="programlisting"> “filename” <span class="type">gchar</span> *</pre>
|
1386
|
+
<p>The path of the currently parsed file. If <a class="link" href="ClutterScript.html#ClutterScript--filename-set" title="The “filename-set” property"><span class="type">“filename-set”</span></a>
|
1387
|
+
is <code class="literal">FALSE</code> then the value of this property is undefined.</p>
|
1388
|
+
<p>Flags: Read</p>
|
1326
1389
|
<p>Default value: NULL</p>
|
1327
1390
|
<p class="since">Since 0.6</p>
|
1328
1391
|
</div>
|
1329
1392
|
<hr>
|
1330
1393
|
<div class="refsect2">
|
1331
|
-
<a name="ClutterScript--filename-set"></a><h3>The <code class="literal"
|
1332
|
-
<pre class="programlisting">
|
1333
|
-
<p>
|
1334
|
-
Whether the <a class="link" href="ClutterScript.html#ClutterScript--filename" title='The "filename" property'><span class="type">"filename"</span></a> property is set. If this property
|
1394
|
+
<a name="ClutterScript--filename-set"></a><h3>The <code class="literal">“filename-set”</code> property</h3>
|
1395
|
+
<pre class="programlisting"> “filename-set” <span class="type">gboolean</span></pre>
|
1396
|
+
<p>Whether the <a class="link" href="ClutterScript.html#ClutterScript--filename" title="The “filename” property"><span class="type">“filename”</span></a> property is set. If this property
|
1335
1397
|
is <code class="literal">TRUE</code> then the currently parsed data comes from a file, and the
|
1336
|
-
file name is stored inside the <a class="link" href="ClutterScript.html#ClutterScript--filename" title=
|
1337
|
-
</p>
|
1398
|
+
file name is stored inside the <a class="link" href="ClutterScript.html#ClutterScript--filename" title="The “filename” property"><span class="type">“filename”</span></a> property.</p>
|
1399
|
+
<p>Flags: Read</p>
|
1338
1400
|
<p>Default value: FALSE</p>
|
1339
1401
|
<p class="since">Since 0.6</p>
|
1340
1402
|
</div>
|
1341
1403
|
<hr>
|
1342
1404
|
<div class="refsect2">
|
1343
|
-
<a name="ClutterScript--translation-domain"></a><h3>The <code class="literal"
|
1344
|
-
<pre class="programlisting">
|
1345
|
-
<p>
|
1346
|
-
|
1347
|
-
|
1348
|
-
</p>
|
1349
|
-
<p>
|
1350
|
-
If <a class="link" href="ClutterScript.html#ClutterScript--translation-domain" title='The "translation-domain" property'><span class="type">"translation-domain"</span></a> is set to <code class="literal">NULL</code>, <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a>
|
1351
|
-
will use <code class="function">gettext()</code>, otherwise <code class="function">g_dgettext()</code> will be used.
|
1352
|
-
</p>
|
1405
|
+
<a name="ClutterScript--translation-domain"></a><h3>The <code class="literal">“translation-domain”</code> property</h3>
|
1406
|
+
<pre class="programlisting"> “translation-domain” <span class="type">gchar</span> *</pre>
|
1407
|
+
<p>The translation domain, used to localize strings marked as translatable
|
1408
|
+
inside a UI definition.</p>
|
1409
|
+
<p>If <a class="link" href="ClutterScript.html#ClutterScript--translation-domain" title="The “translation-domain” property"><span class="type">“translation-domain”</span></a> is set to <code class="literal">NULL</code>, <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a>
|
1410
|
+
will use <code class="function">gettext()</code>, otherwise <code class="function">g_dgettext()</code> will be used.</p>
|
1411
|
+
<p>Flags: Read / Write</p>
|
1353
1412
|
<p>Default value: NULL</p>
|
1354
1413
|
<p class="since">Since 1.10</p>
|
1355
1414
|
</div>
|
@@ -1357,6 +1416,6 @@ will use <code class="function">gettext()</code>, otherwise <code class="functio
|
|
1357
1416
|
</div>
|
1358
1417
|
<div class="footer">
|
1359
1418
|
<hr>
|
1360
|
-
Generated by GTK-Doc V1.
|
1419
|
+
Generated by GTK-Doc V1.20.1</div>
|
1361
1420
|
</body>
|
1362
1421
|
</html>
|