clutter 2.2.4-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +147 -0
- data/lib/clutter.rb +169 -0
- data/lib/clutter/actor-iter.rb +33 -0
- data/lib/clutter/actor.rb +34 -0
- data/lib/clutter/animatable.rb +26 -0
- data/lib/clutter/brightness-contrast-effect.rb +44 -0
- data/lib/clutter/cairo.rb +24 -0
- data/lib/clutter/clutter.rb +25 -0
- data/lib/clutter/color.rb +83 -0
- data/lib/clutter/event.rb +21 -0
- data/lib/clutter/point.rb +25 -0
- data/lib/clutter/text-buffer.rb +36 -0
- data/lib/clutter/text.rb +23 -0
- data/lib/clutter/threads.rb +38 -0
- data/sample/basic-actor.rb +123 -0
- data/sample/bin-layout.rb +213 -0
- data/sample/box-layout.rb +194 -0
- data/sample/canvas.rb +115 -0
- data/sample/constraints.rb +79 -0
- data/sample/drag-action.rb +175 -0
- data/sample/drop-action.rb +196 -0
- data/sample/easing-modes.rb +141 -0
- data/sample/flow-layout.rb +119 -0
- data/sample/grid-layout.rb +237 -0
- data/sample/image-content.rb +86 -0
- data/sample/pan-action.rb +98 -0
- data/sample/redhand.png +0 -0
- data/sample/rounded-rectangle.rb +88 -0
- data/sample/scroll-actor.rb +103 -0
- data/test/clutter-test-utils.rb +38 -0
- data/test/run-test.rb +59 -0
- data/test/test-clutter-actor.rb +242 -0
- data/test/test-clutter-blur-effect.rb +27 -0
- data/test/test-clutter-brightness-contrast-effect.rb +56 -0
- data/test/test-clutter-canvas.rb +43 -0
- data/test/test-clutter-color.rb +50 -0
- data/test/test-clutter-colorize-effect.rb +31 -0
- data/test/test-clutter-desaturate-effect.rb +30 -0
- data/test/test-clutter-feature.rb +34 -0
- data/test/test-clutter-flow-layout.rb +83 -0
- data/test/test-clutter-page-turn-effect.rb +46 -0
- data/test/test-clutter-property-transiton.rb +30 -0
- data/test/test-clutter-shader-effect.rb +65 -0
- data/test/test-clutter-text-buffer.rb +72 -0
- data/test/test-clutter-timeline.rb +59 -0
- 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-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 +160 -0
- data/vendor/local/include/clutter-1.0/cally/cally-clone.h +84 -0
- data/vendor/local/include/clutter-1.0/cally/cally-factory.h +117 -0
- data/vendor/local/include/clutter-1.0/cally/cally-group.h +87 -0
- data/vendor/local/include/clutter-1.0/cally/cally-main.h +44 -0
- data/vendor/local/include/clutter-1.0/cally/cally-rectangle.h +84 -0
- data/vendor/local/include/clutter-1.0/cally/cally-root.h +84 -0
- data/vendor/local/include/clutter-1.0/cally/cally-stage.h +84 -0
- data/vendor/local/include/clutter-1.0/cally/cally-text.h +84 -0
- data/vendor/local/include/clutter-1.0/cally/cally-texture.h +84 -0
- data/vendor/local/include/clutter-1.0/cally/cally-util.h +84 -0
- data/vendor/local/include/clutter-1.0/cally/cally.h +40 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-action.h +111 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor-meta.h +119 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor.h +836 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-align-constraint.h +77 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-animatable.h +121 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-backend.h +83 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-bin-layout.h +86 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-bind-constraint.h +77 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-binding-pool.h +135 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-blur-effect.h +59 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-box-layout.h +168 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-brightness-contrast-effect.h +88 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-cairo.h +61 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-canvas.h +106 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-child-meta.h +122 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-click-action.h +120 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-clone.h +94 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-cogl-compat.h +52 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-color-static.h +79 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-color.h +200 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-colorize-effect.h +67 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-config.h +19 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-constraint.h +120 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-container.h +196 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-content.h +103 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-deform-effect.h +117 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-deprecated.h +44 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-desaturate-effect.h +65 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-device-manager.h +110 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-drag-action.h +152 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-drop-action.h +115 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-effect.h +130 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-enum-types.h +190 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-enums.h +1385 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-event.h +588 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-feature.h +42 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-fixed-layout.h +82 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-flow-layout.h +129 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-gesture-action.h +179 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-grid-layout.h +161 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-group.h +96 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-image.h +141 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-input-device.h +140 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-interval.h +159 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-keyframe-transition.h +120 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-keysyms.h +2304 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-layout-manager.h +227 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-layout-meta.h +103 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-list-model.h +91 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-macros.h +327 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-main.h +184 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-marshal.h +273 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-model.h +422 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-offscreen-effect.h +122 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-page-turn-effect.h +80 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-paint-node.h +102 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-paint-nodes.h +150 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-pan-action.h +147 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-path-constraint.h +72 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-path.h +181 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-property-transition.h +91 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-rotate-action.h +100 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-script.h +220 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-scriptable.h +112 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-scroll-actor.h +97 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-settings.h +27 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-shader-effect.h +121 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-shader-types.h +104 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-snap-constraint.h +81 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage-manager.h +86 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage.h +250 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-swipe-action.h +109 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-tap-action.h +102 -0
- 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 +172 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-text.h +307 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-texture.h +130 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-timeline.h +226 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-transition-group.h +91 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-transition.h +132 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-types.h +773 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-units.h +184 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-version.h +329 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-zoom-action.h +114 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter.h +117 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-actor.h +161 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-alpha.h +144 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-animatable.h +47 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-animation.h +206 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-animator.h +186 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-backend.h +64 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-depth.h +101 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-ellipse.h +159 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-opacity.h +115 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-path.h +135 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-rotate.h +119 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-scale.h +107 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour.h +170 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-bin-layout.h +56 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-box.h +143 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-cairo-texture.h +139 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-container.h +93 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-fixed.h +98 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-frame-source.h +49 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-group.h +62 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-input-device.h +41 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-keysyms.h +2306 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-main.h +96 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-media.h +121 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-rectangle.h +117 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-score.h +144 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-shader.h +182 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-stage-manager.h +42 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-stage.h +102 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-state.h +187 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-table-layout.h +172 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-texture.h +138 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-timeline.h +41 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-timeout-pool.h +69 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-util.h +40 -0
- data/vendor/local/include/clutter-1.0/clutter/win32/clutter-win32.h +63 -0
- data/vendor/local/include/cogl/cogl-pango/cogl-pango.h +298 -0
- data/vendor/local/include/cogl/cogl-path/cogl-path-enum-types.h +20 -0
- data/vendor/local/include/cogl/cogl-path/cogl-path-types.h +85 -0
- data/vendor/local/include/cogl/cogl-path/cogl-path.h +68 -0
- data/vendor/local/include/cogl/cogl-path/cogl1-path-functions.h +467 -0
- data/vendor/local/include/cogl/cogl-path/cogl2-path-functions.h +545 -0
- data/vendor/local/include/cogl/cogl/cogl-atlas-texture.h +258 -0
- data/vendor/local/include/cogl/cogl/cogl-attribute-buffer.h +152 -0
- data/vendor/local/include/cogl/cogl/cogl-attribute.h +558 -0
- data/vendor/local/include/cogl/cogl/cogl-auto-texture.h +221 -0
- data/vendor/local/include/cogl/cogl/cogl-bitmap.h +336 -0
- data/vendor/local/include/cogl/cogl/cogl-buffer.h +324 -0
- data/vendor/local/include/cogl/cogl/cogl-clip-state.h +266 -0
- data/vendor/local/include/cogl/cogl/cogl-clutter.h +54 -0
- data/vendor/local/include/cogl/cogl/cogl-color.h +604 -0
- data/vendor/local/include/cogl/cogl/cogl-context.h +401 -0
- data/vendor/local/include/cogl/cogl/cogl-defines.h +58 -0
- data/vendor/local/include/cogl/cogl/cogl-deprecated.h +43 -0
- data/vendor/local/include/cogl/cogl/cogl-depth-state.h +270 -0
- data/vendor/local/include/cogl/cogl/cogl-display.h +234 -0
- data/vendor/local/include/cogl/cogl/cogl-enum-types.h +99 -0
- data/vendor/local/include/cogl/cogl/cogl-error.h +185 -0
- data/vendor/local/include/cogl/cogl/cogl-euler.h +269 -0
- data/vendor/local/include/cogl/cogl/cogl-fence.h +143 -0
- data/vendor/local/include/cogl/cogl/cogl-fixed.h +811 -0
- data/vendor/local/include/cogl/cogl/cogl-frame-info.h +148 -0
- data/vendor/local/include/cogl/cogl/cogl-framebuffer-deprecated.h +264 -0
- data/vendor/local/include/cogl/cogl/cogl-framebuffer.h +1818 -0
- data/vendor/local/include/cogl/cogl/cogl-gles2-types.h +474 -0
- data/vendor/local/include/cogl/cogl/cogl-gles2.h +420 -0
- data/vendor/local/include/cogl/cogl/cogl-glib-source.h +97 -0
- data/vendor/local/include/cogl/cogl/cogl-index-buffer.h +107 -0
- data/vendor/local/include/cogl/cogl/cogl-indices.h +165 -0
- data/vendor/local/include/cogl/cogl/cogl-macros.h +273 -0
- data/vendor/local/include/cogl/cogl/cogl-material-compat.h +1391 -0
- data/vendor/local/include/cogl/cogl/cogl-matrix-stack.h +645 -0
- data/vendor/local/include/cogl/cogl/cogl-matrix.h +821 -0
- data/vendor/local/include/cogl/cogl/cogl-meta-texture.h +194 -0
- data/vendor/local/include/cogl/cogl/cogl-object.h +251 -0
- data/vendor/local/include/cogl/cogl/cogl-offscreen.h +172 -0
- data/vendor/local/include/cogl/cogl/cogl-onscreen-template.h +125 -0
- data/vendor/local/include/cogl/cogl/cogl-onscreen.h +1012 -0
- data/vendor/local/include/cogl/cogl/cogl-output.h +261 -0
- data/vendor/local/include/cogl/cogl/cogl-pango.h +40 -0
- data/vendor/local/include/cogl/cogl/cogl-pipeline-layer-state.h +620 -0
- data/vendor/local/include/cogl/cogl/cogl-pipeline-state.h +980 -0
- data/vendor/local/include/cogl/cogl/cogl-pipeline.h +194 -0
- data/vendor/local/include/cogl/cogl/cogl-pixel-buffer.h +138 -0
- data/vendor/local/include/cogl/cogl/cogl-poll.h +200 -0
- data/vendor/local/include/cogl/cogl/cogl-primitive-texture.h +111 -0
- data/vendor/local/include/cogl/cogl/cogl-primitive.h +942 -0
- data/vendor/local/include/cogl/cogl/cogl-primitives.h +197 -0
- data/vendor/local/include/cogl/cogl/cogl-quaternion.h +564 -0
- data/vendor/local/include/cogl/cogl/cogl-renderer.h +446 -0
- data/vendor/local/include/cogl/cogl/cogl-shader.h +704 -0
- data/vendor/local/include/cogl/cogl/cogl-snippet.h +866 -0
- data/vendor/local/include/cogl/cogl/cogl-sub-texture.h +136 -0
- data/vendor/local/include/cogl/cogl/cogl-swap-chain.h +71 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-gl.h +78 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-sliced.h +301 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-2d.h +234 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-3d.h +204 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-deprecated.h +105 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-rectangle.h +218 -0
- data/vendor/local/include/cogl/cogl/cogl-texture.h +524 -0
- data/vendor/local/include/cogl/cogl/cogl-type-casts.h +53 -0
- data/vendor/local/include/cogl/cogl/cogl-types.h +925 -0
- data/vendor/local/include/cogl/cogl/cogl-vector.h +356 -0
- data/vendor/local/include/cogl/cogl/cogl-version.h +348 -0
- data/vendor/local/include/cogl/cogl/cogl-vertex-buffer.h +451 -0
- data/vendor/local/include/cogl/cogl/cogl-win32-renderer.h +123 -0
- data/vendor/local/include/cogl/cogl/cogl.h +194 -0
- data/vendor/local/include/cogl/cogl/cogl1-context.h +862 -0
- data/vendor/local/include/cogl/cogl/cogl2-experimental.h +37 -0
- 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 +198 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-gles2-functions.h +43 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-glsl-functions.h +286 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles-core-functions.h +148 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles2-core-functions.h +186 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-builder.h +120 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-enum-types.h +41 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-generator.h +120 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-glib.h +47 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-gobject.h +199 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-gvariant.h +53 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-parser.h +188 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-path.h +102 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-reader.h +171 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-types.h +445 -0
- 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 +102 -0
- data/vendor/local/lib/girepository-1.0/Cally-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Clutter-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Cogl-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/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 +41 -0
- data/vendor/local/lib/libcogl-pango.dll.a +0 -0
- data/vendor/local/lib/libcogl-pango.la +41 -0
- data/vendor/local/lib/libcogl-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 +41 -0
- data/vendor/local/lib/libjson-glib-1.0.dll.a +0 -0
- data/vendor/local/lib/libjson-glib-1.0.la +41 -0
- data/vendor/local/lib/pkgconfig/cally-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/clutter-1.0.pc +24 -0
- data/vendor/local/lib/pkgconfig/clutter-win32-1.0.pc +24 -0
- data/vendor/local/lib/pkgconfig/cogl-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-2.0-experimental.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-gl-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-pango-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-pango-2.0-experimental.pc +13 -0
- data/vendor/local/lib/pkgconfig/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 +11 -0
- data/vendor/local/share/cogl/examples-data/crate.jpg +0 -0
- data/vendor/local/share/gir-1.0/Cally-1.0.gir +681 -0
- data/vendor/local/share/gir-1.0/Clutter-1.0.gir +70493 -0
- data/vendor/local/share/gir-1.0/Cogl-1.0.gir +8197 -0
- data/vendor/local/share/gir-1.0/Cogl-2.0.gir +20369 -0
- data/vendor/local/share/gir-1.0/CoglPango-1.0.gir +333 -0
- data/vendor/local/share/gir-1.0/CoglPango-2.0.gir +331 -0
- data/vendor/local/share/gir-1.0/Json-1.0.gir +4742 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyActor.html +509 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyClone.html +155 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyGroup.html +154 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyRectangle.html +154 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyRoot.html +133 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyStage.html +159 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyText.html +154 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyTexture.html +154 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyUtil.html +102 -0
- data/vendor/local/share/gtk-doc/html/cally/cally-General-API.html +187 -0
- data/vendor/local/share/gtk-doc/html/cally/cally.devhelp2 +73 -0
- data/vendor/local/share/gtk-doc/html/cally/callyannotationglossary.html +41 -0
- data/vendor/local/share/gtk-doc/html/cally/callybase.html +71 -0
- data/vendor/local/share/gtk-doc/html/cally/callyobjecthierarchy.html +45 -0
- data/vendor/local/share/gtk-doc/html/cally/callyobjectindex.html +64 -0
- data/vendor/local/share/gtk-doc/html/cally/callyobjects.html +39 -0
- data/vendor/local/share/gtk-doc/html/cally/ch01.html +53 -0
- data/vendor/local/share/gtk-doc/html/cally/ch02.html +41 -0
- data/vendor/local/share/gtk-doc/html/cally/clutter-overview.html +96 -0
- data/vendor/local/share/gtk-doc/html/cally/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/index.html +103 -0
- data/vendor/local/share/gtk-doc/html/cally/index.sgml +121 -0
- data/vendor/local/share/gtk-doc/html/cally/ix01.html +193 -0
- data/vendor/local/share/gtk-doc/html/cally/ix02.html +31 -0
- data/vendor/local/share/gtk-doc/html/cally/ix03.html +185 -0
- data/vendor/local/share/gtk-doc/html/cally/ix04.html +39 -0
- data/vendor/local/share/gtk-doc/html/cally/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/license.html +58 -0
- data/vendor/local/share/gtk-doc/html/cally/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/style.css +476 -0
- data/vendor/local/share/gtk-doc/html/cally/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAction.html +109 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActor.html +15797 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActorMeta.html +396 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlignConstraint.html +494 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlpha.html +816 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimatable.html +497 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimator.html +1406 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBackend.html +855 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviour.html +802 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourDepth.html +313 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourEllipse.html +1041 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourOpacity.html +319 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourPath.html +502 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourRotate.html +744 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourScale.html +476 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBinLayout.html +481 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBindConstraint.html +598 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBlurEffect.html +116 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBox.html +726 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBoxLayout.html +1471 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBrightnessContrastEffect.html +480 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCairoTexture.html +873 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCanvas.html +488 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterChildMeta.html +287 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClickAction.html +667 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClone.html +258 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterColorizeEffect.html +239 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterConstraint.html +208 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContainer.html +1611 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContent.html +367 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeformEffect.html +418 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDesaturateEffect.html +242 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeviceManager.html +492 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDragAction.html +1120 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDropAction.html +498 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterEffect.html +469 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFixedLayout.html +125 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFlowLayout.html +928 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGestureAction.html +1321 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGridLayout.html +1020 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGroup.html +272 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterImage.html +527 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterInputDevice.html +1805 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterKeyframeTransition.html +616 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutManager.html +1280 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutMeta.html +189 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterListModel.html +222 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterMedia.html +1053 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModel.html +2052 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModelIter.html +779 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterOffscreenEffect.html +452 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPageTurnEffect.html +428 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPaintNode.html +671 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPanAction.html +946 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPath.html +1576 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPathConstraint.html +407 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPropertyTransition.html +261 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRectangle.html +484 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRotateAction.html +216 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScore.html +1018 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScript.html +1421 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScriptable.html +364 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScrollActor.html +385 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSettings.html +376 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterShaderEffect.html +693 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSnapConstraint.html +526 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterStage.html +2751 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterState.html +1823 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSwipeAction.html +333 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTableLayout.html +1393 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTapAction.html +219 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterText.html +3871 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTextBuffer.html +906 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTexture.html +2085 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTimeline.html +2864 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransition.html +684 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransitionGroup.html +264 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterZoomAction.html +474 -0
- data/vendor/local/share/gtk-doc/html/clutter/actor-box.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/actor-example.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/animator-key-frames.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/annotation-glossary.html +95 -0
- data/vendor/local/share/gtk-doc/html/clutter/bin-layout.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/box-layout.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/building-clutter.html +275 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch01.html +65 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch02.html +44 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch03.html +47 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch04.html +59 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch05.html +44 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch06.html +57 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch07.html +38 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch08.html +38 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch09.html +53 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch10.html +78 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch11.html +38 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch12.html +41 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Base-geometric-types.html +4244 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterGLXTexturePixmap.html +268 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterWaylandSurface.html +454 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterX11TexturePixmap.html +442 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Colors.html +1644 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-EGL-Specific-Support.html +211 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Events.html +3454 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Features.html +232 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-GDK-Specific-Support.html +297 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-General.html +2112 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Implicit-Animations.html +2213 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Intel-CE3100-CE4100-Specific-Support.html +200 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Key-Bindings.html +992 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Paint-Nodes.html +411 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Shaders.html +1236 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Stage-Manager.html +418 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Unit-conversion.html +1006 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Utilities.html +661 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Value-intervals.html +1221 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Versioning-Macros.html +578 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-compositor-specific-support.html +106 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-specific-support.html +289 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Win32-Specific-Support.html +241 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-X11-Specific-Support.html +916 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-overview.html +77 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter.devhelp2 +2403 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutteranimation.html +65 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterbackends.html +74 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterbase.html +195 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterglossary.html +37 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjecthierarchy.html +118 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjectindex.html +184 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjects.html +37 -0
- data/vendor/local/share/gtk-doc/html/clutter/cluttertools.html +105 -0
- data/vendor/local/share/gtk-doc/html/clutter/constraints-example.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/deprecated.html +93 -0
- data/vendor/local/share/gtk-doc/html/clutter/easing-modes.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/event-flow.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/flow-layout.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/go01.html +126 -0
- data/vendor/local/share/gtk-doc/html/clutter/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/index.html +454 -0
- data/vendor/local/share/gtk-doc/html/clutter/index.sgml +3165 -0
- data/vendor/local/share/gtk-doc/html/clutter/iterating-paths.html +56 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix01.html +8982 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix02.html +2198 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix03.html +457 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix04.html +578 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix05.html +952 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix06.html +637 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix07.html +1525 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix08.html +815 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix09.html +1000 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix10.html +364 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix11.html +361 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix12.html +1085 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix13.html +979 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix14.html +101 -0
- data/vendor/local/share/gtk-doc/html/clutter/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/license.html +58 -0
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterAnimation.html +223 -0
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterBehaviour.html +197 -0
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterEffect.html +154 -0
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterPath.html +155 -0
- data/vendor/local/share/gtk-doc/html/clutter/migration.html +49 -0
- data/vendor/local/share/gtk-doc/html/clutter/offscreen-redirect.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/path-alpha-func.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/pt09.html +31 -0
- data/vendor/local/share/gtk-doc/html/clutter/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/running-clutter.html +378 -0
- data/vendor/local/share/gtk-doc/html/clutter/style.css +476 -0
- data/vendor/local/share/gtk-doc/html/clutter/table-layout.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/using-cairo.html +36 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonBuilder.html +676 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonGenerator.html +660 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonParser.html +1144 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonPath.html +512 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonReader.html +1140 -0
- data/vendor/local/share/gtk-doc/html/json-glib/annotation-glossary.html +66 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ch01.html +41 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ch02.html +41 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ch03.html +38 -0
- data/vendor/local/share/gtk-doc/html/json-glib/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 +134 -0
- data/vendor/local/share/gtk-doc/html/json-glib/index.sgml +327 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix01.html +965 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix02.html +49 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix03.html +56 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix04.html +49 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix05.html +181 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix06.html +116 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix07.html +156 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix08.html +132 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-advanced.html +50 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-base.html +61 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-format-tool.html +84 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Boxed-Types-Serialization.html +491 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html +385 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Array.html +1188 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-GVariant-Integration.html +318 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Node.html +1803 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Object.html +1369 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Serializable-Interface.html +582 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html +215 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.devhelp2 +277 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.html +38 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-streams.html +63 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-tools.html +45 -0
- 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 +58 -0
- 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 +476 -0
- 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/clutter/COPYING +502 -0
- data/vendor/local/share/license/cogl/COPYING +107 -0
- data/vendor/local/share/license/json-glib/COPYING +504 -0
- 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
- metadata +869 -0
@@ -0,0 +1,1421 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>Clutter Reference Manual: ClutterScript</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
|
+
<link rel="home" href="index.html" title="Clutter Reference Manual">
|
8
|
+
<link rel="up" href="ch11.html" title="User interface definition">
|
9
|
+
<link rel="prev" href="ch11.html" title="User interface definition">
|
10
|
+
<link rel="next" href="ClutterScriptable.html" title="ClutterScriptable">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.20.1 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="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>
|
21
|
+
</td>
|
22
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
23
|
+
<td><a accesskey="u" href="ch11.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
24
|
+
<td><a accesskey="p" href="ch11.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
25
|
+
<td><a accesskey="n" href="ClutterScriptable.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
26
|
+
</tr></table>
|
27
|
+
<div class="refentry">
|
28
|
+
<a name="ClutterScript"></a><div class="titlepage"></div>
|
29
|
+
<div class="refnamediv"><table width="100%"><tr>
|
30
|
+
<td valign="top">
|
31
|
+
<h2><span class="refentrytitle"><a name="ClutterScript.top_of_page"></a>ClutterScript</span></h2>
|
32
|
+
<p>ClutterScript — Loads a scene from UI definition data</p>
|
33
|
+
</td>
|
34
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
35
|
+
</tr></table></div>
|
36
|
+
<div class="refsect1">
|
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>
|
204
|
+
</div>
|
205
|
+
<div class="refsect1">
|
206
|
+
<a name="ClutterScript.properties"></a><h2>Properties</h2>
|
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
|
261
|
+
</pre>
|
262
|
+
</div>
|
263
|
+
<div class="refsect1">
|
264
|
+
<a name="ClutterScript.description"></a><h2>Description</h2>
|
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
|
266
|
+
complete scenegraph from external definition data in forms of string
|
267
|
+
buffers or files.</p>
|
268
|
+
<p>The UI definition format is JSON, the JavaScript Object Notation as
|
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,
|
270
|
+
parse it and build all the objects defined into it. Each object must
|
271
|
+
have an "id" and a "type" properties defining the name to be used
|
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>,
|
273
|
+
and the class type to be instanciated. Every other attribute will
|
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
|
276
|
+
the definition data, except for the stage. Every non-actor object
|
277
|
+
will be finalized when the <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> instance holding it will
|
278
|
+
be finalized, so they need to be referenced using <code class="function">g_object_ref()</code> in
|
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>
|
292
|
+
<div class="informalexample">
|
293
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
294
|
+
<tbody>
|
295
|
+
<tr>
|
296
|
+
<td class="listing_lines" align="right"><pre>1
|
297
|
+
2
|
298
|
+
3</pre></td>
|
299
|
+
<td class="listing_code"><pre class="programlisting"><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">red_button</span><span class="symbol">;</span>
|
300
|
+
|
301
|
+
<span class="normal">red_button </span><span class="symbol">=</span><span class="normal"> </span><span class="function">CLUTTER_ACTOR</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="ClutterScript.html#clutter-script-get-object">clutter_script_get_object</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">script</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"red-button"</span><span class="symbol">));</span></pre></td>
|
302
|
+
</tr>
|
303
|
+
</tbody>
|
304
|
+
</table>
|
305
|
+
</div>
|
306
|
+
|
307
|
+
<p></p>
|
308
|
+
<p>and then manipulated with the Clutter API. For every object created
|
309
|
+
using ClutterScript it is possible to check the id by calling
|
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
|
312
|
+
array of objects or ids of objects already defined (but not packed: the
|
313
|
+
packing rules of Clutter still apply, and an actor cannot be packed
|
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
|
341
|
+
implicitly like in the example above, or explicitly by setting the
|
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
|
369
|
+
then autoconnected to their respective signals using the
|
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;
|
384
|
+
they can also have the "after" and "swapped" boolean members (for the
|
385
|
+
signal connection flags <code class="literal">G_CONNECT_AFTER</code> and <code class="literal">G_CONNECT_SWAPPED</code>
|
386
|
+
respectively) and the "object" string member for calling
|
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>
|
390
|
+
<div class="informalexample">
|
391
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
392
|
+
<tbody>
|
393
|
+
<tr>
|
394
|
+
<td class="listing_lines" align="right"><pre>1
|
395
|
+
2
|
396
|
+
3
|
397
|
+
4
|
398
|
+
5
|
399
|
+
6
|
400
|
+
7
|
401
|
+
8
|
402
|
+
9
|
403
|
+
10
|
404
|
+
11
|
405
|
+
12
|
406
|
+
13
|
407
|
+
14
|
408
|
+
15
|
409
|
+
16
|
410
|
+
17
|
411
|
+
18
|
412
|
+
19
|
413
|
+
20
|
414
|
+
21
|
415
|
+
22
|
416
|
+
23
|
417
|
+
24
|
418
|
+
25</pre></td>
|
419
|
+
<td class="listing_code"><pre class="programlisting"><span class="symbol">...</span>
|
420
|
+
<span class="string">"signals"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="symbol">[</span>
|
421
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
422
|
+
<span class="normal"> </span><span class="string">"name"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"enter-event"</span><span class="symbol">,</span>
|
423
|
+
<span class="normal"> </span><span class="string">"states"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"button-states"</span><span class="symbol">,</span>
|
424
|
+
<span class="normal"> </span><span class="string">"target-state"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"hover"</span>
|
425
|
+
<span class="normal"> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
426
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
427
|
+
<span class="normal"> </span><span class="string">"name"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"leave-event"</span><span class="symbol">,</span>
|
428
|
+
<span class="normal"> </span><span class="string">"states"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"button-states"</span><span class="symbol">,</span>
|
429
|
+
<span class="normal"> </span><span class="string">"target-state"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"base"</span>
|
430
|
+
<span class="normal"> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
431
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
432
|
+
<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>
|
433
|
+
<span class="normal"> </span><span class="string">"states"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"button-states"</span><span class="symbol">,</span>
|
434
|
+
<span class="normal"> </span><span class="string">"target-state"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"active"</span><span class="symbol">,</span>
|
435
|
+
<span class="normal"> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
436
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
437
|
+
<span class="normal"> </span><span class="string">"name"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"key-press-event"</span><span class="symbol">,</span>
|
438
|
+
<span class="normal"> </span><span class="string">"states"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"button-states"</span><span class="symbol">,</span>
|
439
|
+
<span class="normal"> </span><span class="string">"target-state"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"key-focus"</span><span class="symbol">,</span>
|
440
|
+
<span class="normal"> </span><span class="string">"warp"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> true</span>
|
441
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
442
|
+
<span class="symbol">],</span>
|
443
|
+
<span class="symbol">...</span></pre></td>
|
444
|
+
</tr>
|
445
|
+
</tbody>
|
446
|
+
</table>
|
447
|
+
</div>
|
448
|
+
|
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
|
451
|
+
resolve the "target-state" key; it can be either a script id for a
|
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
|
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>
|
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
|
455
|
+
"states" key is present, then the default <a class="link" href="ClutterState.html" title="ClutterState"><span class="type">ClutterState</span></a> associated to
|
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>
|
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
|
458
|
+
"warp" key can be used to warp to a specific state instead of
|
459
|
+
animating to it. State changes on signal emission will not affect
|
460
|
+
the signal emission chain.</p>
|
461
|
+
<p>Clutter reserves the following names, so classes defining properties
|
462
|
+
through the usual GObject registration process should avoid using these
|
463
|
+
names to avoid collisions:</p>
|
464
|
+
<p><programlisting><![CDATA[
|
465
|
+
"id" := the unique name of a ClutterScript object
|
466
|
+
"type" := the class literal name, also used to infer the type
|
467
|
+
function
|
468
|
+
"type_func" := the GType function name, for non-standard classes
|
469
|
+
"children" := an array of names or objects to add as children
|
470
|
+
"behaviours" := an array of names or objects to apply to an actor
|
471
|
+
"signals" := an array of signal definitions to connect to an object
|
472
|
+
"is-default" := a boolean flag used when defining the <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>;
|
473
|
+
if set to "true" the default stage will be used instead
|
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>
|
477
|
+
</div>
|
478
|
+
<div class="refsect1">
|
479
|
+
<a name="ClutterScript.functions_details"></a><h2>Functions</h2>
|
480
|
+
<div class="refsect2">
|
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
|
485
|
+
to load objects definitions for scenegraph elements, like actors,
|
486
|
+
or behavioural elements, like behaviours and timelines. The
|
487
|
+
definitions must be encoded using the JavaScript Object Notation (JSON)
|
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>
|
494
|
+
</div>
|
495
|
+
<p class="since">Since 0.6</p>
|
496
|
+
</div>
|
497
|
+
<hr>
|
498
|
+
<div class="refsect2">
|
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">
|
512
|
+
<colgroup>
|
513
|
+
<col width="150px" class="parameters_name">
|
514
|
+
<col class="parameters_description">
|
515
|
+
<col width="200px" class="parameters_annotations">
|
516
|
+
</colgroup>
|
517
|
+
<tbody>
|
518
|
+
<tr>
|
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>
|
522
|
+
</tr>
|
523
|
+
<tr>
|
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>
|
527
|
+
</tr>
|
528
|
+
<tr>
|
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>
|
534
|
+
</tr>
|
535
|
+
<tr>
|
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>
|
539
|
+
</tr>
|
540
|
+
</tbody>
|
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>
|
551
|
+
<p class="since">Since 0.6</p>
|
552
|
+
</div>
|
553
|
+
<hr>
|
554
|
+
<div class="refsect2">
|
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">
|
567
|
+
<colgroup>
|
568
|
+
<col width="150px" class="parameters_name">
|
569
|
+
<col class="parameters_description">
|
570
|
+
<col width="200px" class="parameters_annotations">
|
571
|
+
</colgroup>
|
572
|
+
<tbody>
|
573
|
+
<tr>
|
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>
|
577
|
+
</tr>
|
578
|
+
<tr>
|
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>
|
582
|
+
</tr>
|
583
|
+
<tr>
|
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>
|
587
|
+
</tr>
|
588
|
+
</tbody>
|
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>
|
599
|
+
<p class="since">Since 0.6</p>
|
600
|
+
</div>
|
601
|
+
<hr>
|
602
|
+
<div class="refsect2">
|
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">
|
614
|
+
<colgroup>
|
615
|
+
<col width="150px" class="parameters_name">
|
616
|
+
<col class="parameters_description">
|
617
|
+
<col width="200px" class="parameters_annotations">
|
618
|
+
</colgroup>
|
619
|
+
<tbody>
|
620
|
+
<tr>
|
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>
|
624
|
+
</tr>
|
625
|
+
<tr>
|
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>
|
629
|
+
</tr>
|
630
|
+
<tr>
|
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>
|
634
|
+
</tr>
|
635
|
+
</tbody>
|
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>
|
646
|
+
<p class="since">Since 1.10</p>
|
647
|
+
</div>
|
648
|
+
<hr>
|
649
|
+
<div class="refsect2">
|
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
|
659
|
+
can be used to define search paths for the textures source file name
|
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">
|
664
|
+
<colgroup>
|
665
|
+
<col width="150px" class="parameters_name">
|
666
|
+
<col class="parameters_description">
|
667
|
+
<col width="200px" class="parameters_annotations">
|
668
|
+
</colgroup>
|
669
|
+
<tbody>
|
670
|
+
<tr>
|
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>
|
674
|
+
</tr>
|
675
|
+
<tr>
|
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>
|
680
|
+
</tr>
|
681
|
+
<tr>
|
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>
|
685
|
+
</tr>
|
686
|
+
</tbody>
|
687
|
+
</table></div>
|
688
|
+
</div>
|
689
|
+
<p class="since">Since 0.8</p>
|
690
|
+
</div>
|
691
|
+
<hr>
|
692
|
+
<div class="refsect2">
|
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">
|
705
|
+
<colgroup>
|
706
|
+
<col width="150px" class="parameters_name">
|
707
|
+
<col class="parameters_description">
|
708
|
+
<col width="200px" class="parameters_annotations">
|
709
|
+
</colgroup>
|
710
|
+
<tbody>
|
711
|
+
<tr>
|
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>
|
715
|
+
</tr>
|
716
|
+
<tr>
|
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>
|
720
|
+
</tr>
|
721
|
+
</tbody>
|
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>
|
731
|
+
<p class="since">Since 0.8</p>
|
732
|
+
</div>
|
733
|
+
<hr>
|
734
|
+
<div class="refsect2">
|
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">
|
745
|
+
<colgroup>
|
746
|
+
<col width="150px" class="parameters_name">
|
747
|
+
<col class="parameters_description">
|
748
|
+
<col width="200px" class="parameters_annotations">
|
749
|
+
</colgroup>
|
750
|
+
<tbody>
|
751
|
+
<tr>
|
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>
|
755
|
+
</tr>
|
756
|
+
<tr>
|
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>
|
760
|
+
</tr>
|
761
|
+
</tbody>
|
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>
|
770
|
+
<p class="since">Since 0.6</p>
|
771
|
+
</div>
|
772
|
+
<hr>
|
773
|
+
<div class="refsect2">
|
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
|
781
|
+
names/return location pairs should be listed, with a <code class="literal">NULL</code> pointer
|
782
|
+
ending the list, like:</p>
|
783
|
+
<div class="informalexample">
|
784
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
785
|
+
<tbody>
|
786
|
+
<tr>
|
787
|
+
<td class="listing_lines" align="right"><pre>1
|
788
|
+
2
|
789
|
+
3
|
790
|
+
4
|
791
|
+
5
|
792
|
+
6
|
793
|
+
7</pre></td>
|
794
|
+
<td class="listing_code"><pre class="programlisting"><span class="usertype">GObject</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">my_label</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">a_button</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">main_timeline</span><span class="symbol">;</span>
|
795
|
+
|
796
|
+
<span class="function"><a href="ClutterScript.html#clutter-script-get-objects">clutter_script_get_objects</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">script</span><span class="symbol">,</span>
|
797
|
+
<span class="normal"> </span><span class="string">"my-label"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">my_label</span><span class="symbol">,</span>
|
798
|
+
<span class="normal"> </span><span class="string">"a-button"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">a_button</span><span class="symbol">,</span>
|
799
|
+
<span class="normal"> </span><span class="string">"main-timeline"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">main_timeline</span><span class="symbol">,</span>
|
800
|
+
<span class="normal"> NULL</span><span class="symbol">);</span></pre></td>
|
801
|
+
</tr>
|
802
|
+
</tbody>
|
803
|
+
</table>
|
804
|
+
</div>
|
805
|
+
|
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">
|
812
|
+
<colgroup>
|
813
|
+
<col width="150px" class="parameters_name">
|
814
|
+
<col class="parameters_description">
|
815
|
+
<col width="200px" class="parameters_annotations">
|
816
|
+
</colgroup>
|
817
|
+
<tbody>
|
818
|
+
<tr>
|
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>
|
822
|
+
</tr>
|
823
|
+
<tr>
|
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>
|
827
|
+
</tr>
|
828
|
+
<tr>
|
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>
|
833
|
+
</tr>
|
834
|
+
</tbody>
|
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>
|
842
|
+
<p class="since">Since 0.6</p>
|
843
|
+
</div>
|
844
|
+
<hr>
|
845
|
+
<div class="refsect2">
|
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">
|
855
|
+
<colgroup>
|
856
|
+
<col width="150px" class="parameters_name">
|
857
|
+
<col class="parameters_description">
|
858
|
+
<col width="200px" class="parameters_annotations">
|
859
|
+
</colgroup>
|
860
|
+
<tbody>
|
861
|
+
<tr>
|
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>
|
865
|
+
</tr>
|
866
|
+
<tr>
|
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>
|
870
|
+
</tr>
|
871
|
+
</tbody>
|
872
|
+
</table></div>
|
873
|
+
</div>
|
874
|
+
<p class="since">Since 0.6</p>
|
875
|
+
</div>
|
876
|
+
<hr>
|
877
|
+
<div class="refsect2">
|
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">
|
887
|
+
<colgroup>
|
888
|
+
<col width="150px" class="parameters_name">
|
889
|
+
<col class="parameters_description">
|
890
|
+
<col width="200px" class="parameters_annotations">
|
891
|
+
</colgroup>
|
892
|
+
<tbody><tr>
|
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>
|
896
|
+
</tr></tbody>
|
897
|
+
</table></div>
|
898
|
+
</div>
|
899
|
+
<p class="since">Since 0.6</p>
|
900
|
+
</div>
|
901
|
+
<hr>
|
902
|
+
<div class="refsect2">
|
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">
|
913
|
+
<colgroup>
|
914
|
+
<col width="150px" class="parameters_name">
|
915
|
+
<col class="parameters_description">
|
916
|
+
<col width="200px" class="parameters_annotations">
|
917
|
+
</colgroup>
|
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>
|
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>
|
933
|
+
<p class="since">Since 0.8.2</p>
|
934
|
+
</div>
|
935
|
+
<hr>
|
936
|
+
<div class="refsect2">
|
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
|
948
|
+
intended for interpreted language bindings, but could be useful where the
|
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">
|
953
|
+
<colgroup>
|
954
|
+
<col width="150px" class="parameters_name">
|
955
|
+
<col class="parameters_description">
|
956
|
+
<col width="200px" class="parameters_annotations">
|
957
|
+
</colgroup>
|
958
|
+
<tbody>
|
959
|
+
<tr>
|
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>
|
963
|
+
</tr>
|
964
|
+
<tr>
|
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>
|
968
|
+
</tr>
|
969
|
+
<tr>
|
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>
|
973
|
+
</tr>
|
974
|
+
<tr>
|
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>
|
978
|
+
</tr>
|
979
|
+
<tr>
|
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>
|
983
|
+
</tr>
|
984
|
+
<tr>
|
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>
|
988
|
+
</tr>
|
989
|
+
<tr>
|
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>
|
993
|
+
</tr>
|
994
|
+
</tbody>
|
995
|
+
</table></div>
|
996
|
+
</div>
|
997
|
+
<p class="since">Since 0.6</p>
|
998
|
+
</div>
|
999
|
+
<hr>
|
1000
|
+
<div class="refsect2">
|
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
|
1008
|
+
and uses <span class="type">GModule</span>'s introspective features (by opening the current
|
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">
|
1015
|
+
<colgroup>
|
1016
|
+
<col width="150px" class="parameters_name">
|
1017
|
+
<col class="parameters_description">
|
1018
|
+
<col width="200px" class="parameters_annotations">
|
1019
|
+
</colgroup>
|
1020
|
+
<tbody>
|
1021
|
+
<tr>
|
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>
|
1025
|
+
</tr>
|
1026
|
+
<tr>
|
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>
|
1030
|
+
</tr>
|
1031
|
+
</tbody>
|
1032
|
+
</table></div>
|
1033
|
+
</div>
|
1034
|
+
<p class="since">Since 0.6</p>
|
1035
|
+
</div>
|
1036
|
+
<hr>
|
1037
|
+
<div class="refsect2">
|
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
|
1046
|
+
going to be connected to their respective signals. It is meant
|
1047
|
+
primarily for language bindings to allow resolving the function
|
1048
|
+
names using the native API, but it can also be used on platforms
|
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">
|
1054
|
+
<colgroup>
|
1055
|
+
<col width="150px" class="parameters_name">
|
1056
|
+
<col class="parameters_description">
|
1057
|
+
<col width="200px" class="parameters_annotations">
|
1058
|
+
</colgroup>
|
1059
|
+
<tbody>
|
1060
|
+
<tr>
|
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>
|
1064
|
+
</tr>
|
1065
|
+
<tr>
|
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>
|
1069
|
+
</tr>
|
1070
|
+
<tr>
|
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>
|
1074
|
+
</tr>
|
1075
|
+
</tbody>
|
1076
|
+
</table></div>
|
1077
|
+
</div>
|
1078
|
+
<p class="since">Since 0.6</p>
|
1079
|
+
</div>
|
1080
|
+
<hr>
|
1081
|
+
<div class="refsect2">
|
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">
|
1098
|
+
<colgroup>
|
1099
|
+
<col width="150px" class="parameters_name">
|
1100
|
+
<col class="parameters_description">
|
1101
|
+
<col width="200px" class="parameters_annotations">
|
1102
|
+
</colgroup>
|
1103
|
+
<tbody>
|
1104
|
+
<tr>
|
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>
|
1108
|
+
</tr>
|
1109
|
+
<tr>
|
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>
|
1115
|
+
</tr>
|
1116
|
+
<tr>
|
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>
|
1120
|
+
</tr>
|
1121
|
+
</tbody>
|
1122
|
+
</table></div>
|
1123
|
+
</div>
|
1124
|
+
<p class="since">Since 1.8</p>
|
1125
|
+
</div>
|
1126
|
+
<hr>
|
1127
|
+
<div class="refsect2">
|
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">
|
1141
|
+
<colgroup>
|
1142
|
+
<col width="150px" class="parameters_name">
|
1143
|
+
<col class="parameters_description">
|
1144
|
+
<col width="200px" class="parameters_annotations">
|
1145
|
+
</colgroup>
|
1146
|
+
<tbody>
|
1147
|
+
<tr>
|
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>
|
1151
|
+
</tr>
|
1152
|
+
<tr>
|
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>
|
1156
|
+
</tr>
|
1157
|
+
</tbody>
|
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>
|
1167
|
+
<p class="since">Since 1.8</p>
|
1168
|
+
</div>
|
1169
|
+
<hr>
|
1170
|
+
<div class="refsect2">
|
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
|
1176
|
+
<a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> has for that purpose. This function should
|
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">
|
1181
|
+
<colgroup>
|
1182
|
+
<col width="150px" class="parameters_name">
|
1183
|
+
<col class="parameters_description">
|
1184
|
+
<col width="200px" class="parameters_annotations">
|
1185
|
+
</colgroup>
|
1186
|
+
<tbody>
|
1187
|
+
<tr>
|
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>
|
1191
|
+
</tr>
|
1192
|
+
<tr>
|
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>
|
1196
|
+
</tr>
|
1197
|
+
</tbody>
|
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>
|
1206
|
+
<p class="since">Since 0.6</p>
|
1207
|
+
</div>
|
1208
|
+
<hr>
|
1209
|
+
<div class="refsect2">
|
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">
|
1217
|
+
<colgroup>
|
1218
|
+
<col width="150px" class="parameters_name">
|
1219
|
+
<col class="parameters_description">
|
1220
|
+
<col width="200px" class="parameters_annotations">
|
1221
|
+
</colgroup>
|
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>
|
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>
|
1237
|
+
<p class="since">Since 0.6</p>
|
1238
|
+
</div>
|
1239
|
+
<hr>
|
1240
|
+
<div class="refsect2">
|
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">
|
1280
|
+
<colgroup>
|
1281
|
+
<col width="150px" class="parameters_name">
|
1282
|
+
<col class="parameters_description">
|
1283
|
+
<col width="200px" class="parameters_annotations">
|
1284
|
+
</colgroup>
|
1285
|
+
<tbody>
|
1286
|
+
<tr>
|
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>
|
1290
|
+
</tr>
|
1291
|
+
<tr>
|
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>
|
1295
|
+
</tr>
|
1296
|
+
</tbody>
|
1297
|
+
</table></div>
|
1298
|
+
</div>
|
1299
|
+
<p class="since">Since 1.10</p>
|
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>
|
1340
|
+
<hr>
|
1341
|
+
<div class="refsect2">
|
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">
|
1347
|
+
<colgroup>
|
1348
|
+
<col width="300px" class="enum_members_name">
|
1349
|
+
<col class="enum_members_description">
|
1350
|
+
<col width="200px" class="enum_members_annotations">
|
1351
|
+
</colgroup>
|
1352
|
+
<tbody>
|
1353
|
+
<tr>
|
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>
|
1358
|
+
</td>
|
1359
|
+
<td class="enum_member_annotations"> </td>
|
1360
|
+
</tr>
|
1361
|
+
<tr>
|
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>
|
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>
|
1374
|
+
</tr>
|
1375
|
+
</tbody>
|
1376
|
+
</table></div>
|
1377
|
+
</div>
|
1378
|
+
<p class="since">Since 0.6</p>
|
1379
|
+
</div>
|
1380
|
+
</div>
|
1381
|
+
<div class="refsect1">
|
1382
|
+
<a name="ClutterScript.property-details"></a><h2>Property Details</h2>
|
1383
|
+
<div class="refsect2">
|
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>
|
1389
|
+
<p>Default value: NULL</p>
|
1390
|
+
<p class="since">Since 0.6</p>
|
1391
|
+
</div>
|
1392
|
+
<hr>
|
1393
|
+
<div class="refsect2">
|
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
|
1397
|
+
is <code class="literal">TRUE</code> then the currently parsed data comes from a file, and the
|
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>
|
1400
|
+
<p>Default value: FALSE</p>
|
1401
|
+
<p class="since">Since 0.6</p>
|
1402
|
+
</div>
|
1403
|
+
<hr>
|
1404
|
+
<div class="refsect2">
|
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>
|
1412
|
+
<p>Default value: NULL</p>
|
1413
|
+
<p class="since">Since 1.10</p>
|
1414
|
+
</div>
|
1415
|
+
</div>
|
1416
|
+
</div>
|
1417
|
+
<div class="footer">
|
1418
|
+
<hr>
|
1419
|
+
Generated by GTK-Doc V1.20.1</div>
|
1420
|
+
</body>
|
1421
|
+
</html>
|