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,2112 @@
|
|
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: General</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="ch10.html" title="General purpose API">
|
9
|
+
<link rel="prev" href="ClutterInputDevice.html" title="ClutterInputDevice">
|
10
|
+
<link rel="next" href="ClutterPath.html" title="ClutterPath">
|
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="#clutter-General.description" class="shortcut">Description</a></span>
|
19
|
+
</td>
|
20
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
21
|
+
<td><a accesskey="u" href="ch10.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
22
|
+
<td><a accesskey="p" href="ClutterInputDevice.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
23
|
+
<td><a accesskey="n" href="ClutterPath.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
24
|
+
</tr></table>
|
25
|
+
<div class="refentry">
|
26
|
+
<a name="clutter-General"></a><div class="titlepage"></div>
|
27
|
+
<div class="refnamediv"><table width="100%"><tr>
|
28
|
+
<td valign="top">
|
29
|
+
<h2><span class="refentrytitle"><a name="clutter-General.top_of_page"></a>General</span></h2>
|
30
|
+
<p>General — Various 'global' Clutter functions.</p>
|
31
|
+
</td>
|
32
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
33
|
+
</tr></table></div>
|
34
|
+
<div class="refsect1">
|
35
|
+
<a name="clutter-General.functions"></a><h2>Functions</h2>
|
36
|
+
<div class="informaltable"><table width="100%" border="0">
|
37
|
+
<colgroup>
|
38
|
+
<col width="150px" class="functions_return">
|
39
|
+
<col class="functions_name">
|
40
|
+
</colgroup>
|
41
|
+
<tbody>
|
42
|
+
<tr>
|
43
|
+
<td class="define_keyword">#define</td>
|
44
|
+
<td class="function_name"><a class="link" href="clutter-General.html#CLUTTER-PRIORITY-REDRAW:CAPS" title="CLUTTER_PRIORITY_REDRAW">CLUTTER_PRIORITY_REDRAW</a></td>
|
45
|
+
</tr>
|
46
|
+
<tr>
|
47
|
+
<td class="function_type">
|
48
|
+
<a class="link" href="clutter-General.html#ClutterInitError" title="enum ClutterInitError"><span class="returnvalue">ClutterInitError</span></a>
|
49
|
+
</td>
|
50
|
+
<td class="function_name">
|
51
|
+
<a class="link" href="clutter-General.html#clutter-init" title="clutter_init ()">clutter_init</a> <span class="c_punctuation">()</span>
|
52
|
+
</td>
|
53
|
+
</tr>
|
54
|
+
<tr>
|
55
|
+
<td class="function_type">
|
56
|
+
<a class="link" href="clutter-General.html#ClutterInitError" title="enum ClutterInitError"><span class="returnvalue">ClutterInitError</span></a>
|
57
|
+
</td>
|
58
|
+
<td class="function_name">
|
59
|
+
<a class="link" href="clutter-General.html#clutter-init-with-args" title="clutter_init_with_args ()">clutter_init_with_args</a> <span class="c_punctuation">()</span>
|
60
|
+
</td>
|
61
|
+
</tr>
|
62
|
+
<tr>
|
63
|
+
<td class="function_type">
|
64
|
+
<span class="returnvalue">GOptionGroup</span> *
|
65
|
+
</td>
|
66
|
+
<td class="function_name">
|
67
|
+
<a class="link" href="clutter-General.html#clutter-get-option-group" title="clutter_get_option_group ()">clutter_get_option_group</a> <span class="c_punctuation">()</span>
|
68
|
+
</td>
|
69
|
+
</tr>
|
70
|
+
<tr>
|
71
|
+
<td class="function_type">
|
72
|
+
<span class="returnvalue">GOptionGroup</span> *
|
73
|
+
</td>
|
74
|
+
<td class="function_name">
|
75
|
+
<a class="link" href="clutter-General.html#clutter-get-option-group-without-init" title="clutter_get_option_group_without_init ()">clutter_get_option_group_without_init</a> <span class="c_punctuation">()</span>
|
76
|
+
</td>
|
77
|
+
</tr>
|
78
|
+
<tr>
|
79
|
+
<td class="function_type">
|
80
|
+
<span class="returnvalue">void</span>
|
81
|
+
</td>
|
82
|
+
<td class="function_name">
|
83
|
+
<a class="link" href="clutter-General.html#clutter-main" title="clutter_main ()">clutter_main</a> <span class="c_punctuation">()</span>
|
84
|
+
</td>
|
85
|
+
</tr>
|
86
|
+
<tr>
|
87
|
+
<td class="function_type">
|
88
|
+
<span class="returnvalue">void</span>
|
89
|
+
</td>
|
90
|
+
<td class="function_name">
|
91
|
+
<a class="link" href="clutter-General.html#clutter-main-quit" title="clutter_main_quit ()">clutter_main_quit</a> <span class="c_punctuation">()</span>
|
92
|
+
</td>
|
93
|
+
</tr>
|
94
|
+
<tr>
|
95
|
+
<td class="function_type">
|
96
|
+
<span class="returnvalue">gint</span>
|
97
|
+
</td>
|
98
|
+
<td class="function_name">
|
99
|
+
<a class="link" href="clutter-General.html#clutter-main-level" title="clutter_main_level ()">clutter_main_level</a> <span class="c_punctuation">()</span>
|
100
|
+
</td>
|
101
|
+
</tr>
|
102
|
+
<tr>
|
103
|
+
<td class="function_type">
|
104
|
+
<span class="returnvalue">gboolean</span>
|
105
|
+
</td>
|
106
|
+
<td class="function_name">
|
107
|
+
<a class="link" href="clutter-General.html#clutter-get-debug-enabled" title="clutter_get_debug_enabled ()">clutter_get_debug_enabled</a> <span class="c_punctuation">()</span>
|
108
|
+
</td>
|
109
|
+
</tr>
|
110
|
+
<tr>
|
111
|
+
<td class="function_type">
|
112
|
+
<span class="returnvalue">gboolean</span>
|
113
|
+
</td>
|
114
|
+
<td class="function_name">
|
115
|
+
<a class="link" href="clutter-General.html#clutter-get-show-fps" title="clutter_get_show_fps ()">clutter_get_show_fps</a> <span class="c_punctuation">()</span>
|
116
|
+
</td>
|
117
|
+
</tr>
|
118
|
+
<tr>
|
119
|
+
<td class="function_type">
|
120
|
+
<span class="returnvalue">gulong</span>
|
121
|
+
</td>
|
122
|
+
<td class="function_name">
|
123
|
+
<a class="link" href="clutter-General.html#clutter-get-timestamp" title="clutter_get_timestamp ()">clutter_get_timestamp</a> <span class="c_punctuation">()</span>
|
124
|
+
</td>
|
125
|
+
</tr>
|
126
|
+
<tr>
|
127
|
+
<td class="function_type">
|
128
|
+
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> *
|
129
|
+
</td>
|
130
|
+
<td class="function_name">
|
131
|
+
<a class="link" href="clutter-General.html#clutter-get-actor-by-gid" title="clutter_get_actor_by_gid ()">clutter_get_actor_by_gid</a> <span class="c_punctuation">()</span>
|
132
|
+
</td>
|
133
|
+
</tr>
|
134
|
+
<tr>
|
135
|
+
<td class="function_type">
|
136
|
+
<span class="returnvalue">void</span>
|
137
|
+
</td>
|
138
|
+
<td class="function_name">
|
139
|
+
<a class="link" href="clutter-General.html#clutter-set-default-frame-rate" title="clutter_set_default_frame_rate ()">clutter_set_default_frame_rate</a> <span class="c_punctuation">()</span>
|
140
|
+
</td>
|
141
|
+
</tr>
|
142
|
+
<tr>
|
143
|
+
<td class="function_type">
|
144
|
+
<span class="returnvalue">guint</span>
|
145
|
+
</td>
|
146
|
+
<td class="function_name">
|
147
|
+
<a class="link" href="clutter-General.html#clutter-get-default-frame-rate" title="clutter_get_default_frame_rate ()">clutter_get_default_frame_rate</a> <span class="c_punctuation">()</span>
|
148
|
+
</td>
|
149
|
+
</tr>
|
150
|
+
<tr>
|
151
|
+
<td class="function_type">
|
152
|
+
<span class="returnvalue">void</span>
|
153
|
+
</td>
|
154
|
+
<td class="function_name">
|
155
|
+
<a class="link" href="clutter-General.html#clutter-set-motion-events-enabled" title="clutter_set_motion_events_enabled ()">clutter_set_motion_events_enabled</a> <span class="c_punctuation">()</span>
|
156
|
+
</td>
|
157
|
+
</tr>
|
158
|
+
<tr>
|
159
|
+
<td class="function_type">
|
160
|
+
<span class="returnvalue">gboolean</span>
|
161
|
+
</td>
|
162
|
+
<td class="function_name">
|
163
|
+
<a class="link" href="clutter-General.html#clutter-get-motion-events-enabled" title="clutter_get_motion_events_enabled ()">clutter_get_motion_events_enabled</a> <span class="c_punctuation">()</span>
|
164
|
+
</td>
|
165
|
+
</tr>
|
166
|
+
<tr>
|
167
|
+
<td class="function_type">
|
168
|
+
<span class="returnvalue">void</span>
|
169
|
+
</td>
|
170
|
+
<td class="function_name">
|
171
|
+
<a class="link" href="clutter-General.html#clutter-clear-glyph-cache" title="clutter_clear_glyph_cache ()">clutter_clear_glyph_cache</a> <span class="c_punctuation">()</span>
|
172
|
+
</td>
|
173
|
+
</tr>
|
174
|
+
<tr>
|
175
|
+
<td class="function_type">
|
176
|
+
<span class="returnvalue">void</span>
|
177
|
+
</td>
|
178
|
+
<td class="function_name">
|
179
|
+
<a class="link" href="clutter-General.html#clutter-set-font-flags" title="clutter_set_font_flags ()">clutter_set_font_flags</a> <span class="c_punctuation">()</span>
|
180
|
+
</td>
|
181
|
+
</tr>
|
182
|
+
<tr>
|
183
|
+
<td class="function_type">
|
184
|
+
<a class="link" href="clutter-General.html#ClutterFontFlags" title="enum ClutterFontFlags"><span class="returnvalue">ClutterFontFlags</span></a>
|
185
|
+
</td>
|
186
|
+
<td class="function_name">
|
187
|
+
<a class="link" href="clutter-General.html#clutter-get-font-flags" title="clutter_get_font_flags ()">clutter_get_font_flags</a> <span class="c_punctuation">()</span>
|
188
|
+
</td>
|
189
|
+
</tr>
|
190
|
+
<tr>
|
191
|
+
<td class="function_type">
|
192
|
+
<span class="returnvalue">PangoFontMap</span> *
|
193
|
+
</td>
|
194
|
+
<td class="function_name">
|
195
|
+
<a class="link" href="clutter-General.html#clutter-get-font-map" title="clutter_get_font_map ()">clutter_get_font_map</a> <span class="c_punctuation">()</span>
|
196
|
+
</td>
|
197
|
+
</tr>
|
198
|
+
<tr>
|
199
|
+
<td class="function_type">
|
200
|
+
<a class="link" href="clutter-General.html#ClutterTextDirection" title="enum ClutterTextDirection"><span class="returnvalue">ClutterTextDirection</span></a>
|
201
|
+
</td>
|
202
|
+
<td class="function_name">
|
203
|
+
<a class="link" href="clutter-General.html#clutter-get-default-text-direction" title="clutter_get_default_text_direction ()">clutter_get_default_text_direction</a> <span class="c_punctuation">()</span>
|
204
|
+
</td>
|
205
|
+
</tr>
|
206
|
+
<tr>
|
207
|
+
<td class="function_type">
|
208
|
+
<span class="returnvalue">gboolean</span>
|
209
|
+
</td>
|
210
|
+
<td class="function_name">
|
211
|
+
<a class="link" href="clutter-General.html#clutter-get-accessibility-enabled" title="clutter_get_accessibility_enabled ()">clutter_get_accessibility_enabled</a> <span class="c_punctuation">()</span>
|
212
|
+
</td>
|
213
|
+
</tr>
|
214
|
+
<tr>
|
215
|
+
<td class="function_type">
|
216
|
+
<span class="returnvalue">void</span>
|
217
|
+
</td>
|
218
|
+
<td class="function_name">
|
219
|
+
<a class="link" href="clutter-General.html#clutter-disable-accessibility" title="clutter_disable_accessibility ()">clutter_disable_accessibility</a> <span class="c_punctuation">()</span>
|
220
|
+
</td>
|
221
|
+
</tr>
|
222
|
+
<tr>
|
223
|
+
<td class="function_type">
|
224
|
+
<span class="returnvalue">void</span>
|
225
|
+
</td>
|
226
|
+
<td class="function_name">
|
227
|
+
<a class="link" href="clutter-General.html#clutter-threads-set-lock-functions" title="clutter_threads_set_lock_functions ()">clutter_threads_set_lock_functions</a> <span class="c_punctuation">()</span>
|
228
|
+
</td>
|
229
|
+
</tr>
|
230
|
+
<tr>
|
231
|
+
<td class="function_type">
|
232
|
+
<span class="returnvalue">void</span>
|
233
|
+
</td>
|
234
|
+
<td class="function_name">
|
235
|
+
<a class="link" href="clutter-General.html#clutter-threads-init" title="clutter_threads_init ()">clutter_threads_init</a> <span class="c_punctuation">()</span>
|
236
|
+
</td>
|
237
|
+
</tr>
|
238
|
+
<tr>
|
239
|
+
<td class="function_type">
|
240
|
+
<span class="returnvalue">void</span>
|
241
|
+
</td>
|
242
|
+
<td class="function_name">
|
243
|
+
<a class="link" href="clutter-General.html#clutter-threads-enter" title="clutter_threads_enter ()">clutter_threads_enter</a> <span class="c_punctuation">()</span>
|
244
|
+
</td>
|
245
|
+
</tr>
|
246
|
+
<tr>
|
247
|
+
<td class="function_type">
|
248
|
+
<span class="returnvalue">void</span>
|
249
|
+
</td>
|
250
|
+
<td class="function_name">
|
251
|
+
<a class="link" href="clutter-General.html#clutter-threads-leave" title="clutter_threads_leave ()">clutter_threads_leave</a> <span class="c_punctuation">()</span>
|
252
|
+
</td>
|
253
|
+
</tr>
|
254
|
+
<tr>
|
255
|
+
<td class="function_type">
|
256
|
+
<span class="returnvalue">guint</span>
|
257
|
+
</td>
|
258
|
+
<td class="function_name">
|
259
|
+
<a class="link" href="clutter-General.html#clutter-threads-add-idle" title="clutter_threads_add_idle ()">clutter_threads_add_idle</a> <span class="c_punctuation">()</span>
|
260
|
+
</td>
|
261
|
+
</tr>
|
262
|
+
<tr>
|
263
|
+
<td class="function_type">
|
264
|
+
<span class="returnvalue">guint</span>
|
265
|
+
</td>
|
266
|
+
<td class="function_name">
|
267
|
+
<a class="link" href="clutter-General.html#clutter-threads-add-idle-full" title="clutter_threads_add_idle_full ()">clutter_threads_add_idle_full</a> <span class="c_punctuation">()</span>
|
268
|
+
</td>
|
269
|
+
</tr>
|
270
|
+
<tr>
|
271
|
+
<td class="function_type">
|
272
|
+
<span class="returnvalue">guint</span>
|
273
|
+
</td>
|
274
|
+
<td class="function_name">
|
275
|
+
<a class="link" href="clutter-General.html#clutter-threads-add-timeout" title="clutter_threads_add_timeout ()">clutter_threads_add_timeout</a> <span class="c_punctuation">()</span>
|
276
|
+
</td>
|
277
|
+
</tr>
|
278
|
+
<tr>
|
279
|
+
<td class="function_type">
|
280
|
+
<span class="returnvalue">guint</span>
|
281
|
+
</td>
|
282
|
+
<td class="function_name">
|
283
|
+
<a class="link" href="clutter-General.html#clutter-threads-add-timeout-full" title="clutter_threads_add_timeout_full ()">clutter_threads_add_timeout_full</a> <span class="c_punctuation">()</span>
|
284
|
+
</td>
|
285
|
+
</tr>
|
286
|
+
<tr>
|
287
|
+
<td class="function_type">
|
288
|
+
<span class="returnvalue">guint</span>
|
289
|
+
</td>
|
290
|
+
<td class="function_name">
|
291
|
+
<a class="link" href="clutter-General.html#clutter-threads-add-frame-source" title="clutter_threads_add_frame_source ()">clutter_threads_add_frame_source</a> <span class="c_punctuation">()</span>
|
292
|
+
</td>
|
293
|
+
</tr>
|
294
|
+
<tr>
|
295
|
+
<td class="function_type">
|
296
|
+
<span class="returnvalue">guint</span>
|
297
|
+
</td>
|
298
|
+
<td class="function_name">
|
299
|
+
<a class="link" href="clutter-General.html#clutter-threads-add-frame-source-full" title="clutter_threads_add_frame_source_full ()">clutter_threads_add_frame_source_full</a> <span class="c_punctuation">()</span>
|
300
|
+
</td>
|
301
|
+
</tr>
|
302
|
+
<tr>
|
303
|
+
<td class="function_type">
|
304
|
+
<span class="returnvalue">guint</span>
|
305
|
+
</td>
|
306
|
+
<td class="function_name">
|
307
|
+
<a class="link" href="clutter-General.html#clutter-threads-add-repaint-func" title="clutter_threads_add_repaint_func ()">clutter_threads_add_repaint_func</a> <span class="c_punctuation">()</span>
|
308
|
+
</td>
|
309
|
+
</tr>
|
310
|
+
<tr>
|
311
|
+
<td class="function_type">
|
312
|
+
<span class="returnvalue">guint</span>
|
313
|
+
</td>
|
314
|
+
<td class="function_name">
|
315
|
+
<a class="link" href="clutter-General.html#clutter-threads-add-repaint-func-full" title="clutter_threads_add_repaint_func_full ()">clutter_threads_add_repaint_func_full</a> <span class="c_punctuation">()</span>
|
316
|
+
</td>
|
317
|
+
</tr>
|
318
|
+
<tr>
|
319
|
+
<td class="function_type">
|
320
|
+
<span class="returnvalue">void</span>
|
321
|
+
</td>
|
322
|
+
<td class="function_name">
|
323
|
+
<a class="link" href="clutter-General.html#clutter-threads-remove-repaint-func" title="clutter_threads_remove_repaint_func ()">clutter_threads_remove_repaint_func</a> <span class="c_punctuation">()</span>
|
324
|
+
</td>
|
325
|
+
</tr>
|
326
|
+
<tr>
|
327
|
+
<td class="function_type">
|
328
|
+
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> *
|
329
|
+
</td>
|
330
|
+
<td class="function_name">
|
331
|
+
<a class="link" href="clutter-General.html#clutter-get-keyboard-grab" title="clutter_get_keyboard_grab ()">clutter_get_keyboard_grab</a> <span class="c_punctuation">()</span>
|
332
|
+
</td>
|
333
|
+
</tr>
|
334
|
+
<tr>
|
335
|
+
<td class="function_type">
|
336
|
+
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> *
|
337
|
+
</td>
|
338
|
+
<td class="function_name">
|
339
|
+
<a class="link" href="clutter-General.html#clutter-get-pointer-grab" title="clutter_get_pointer_grab ()">clutter_get_pointer_grab</a> <span class="c_punctuation">()</span>
|
340
|
+
</td>
|
341
|
+
</tr>
|
342
|
+
<tr>
|
343
|
+
<td class="function_type">
|
344
|
+
<span class="returnvalue">void</span>
|
345
|
+
</td>
|
346
|
+
<td class="function_name">
|
347
|
+
<a class="link" href="clutter-General.html#clutter-grab-keyboard" title="clutter_grab_keyboard ()">clutter_grab_keyboard</a> <span class="c_punctuation">()</span>
|
348
|
+
</td>
|
349
|
+
</tr>
|
350
|
+
<tr>
|
351
|
+
<td class="function_type">
|
352
|
+
<span class="returnvalue">void</span>
|
353
|
+
</td>
|
354
|
+
<td class="function_name">
|
355
|
+
<a class="link" href="clutter-General.html#clutter-grab-pointer" title="clutter_grab_pointer ()">clutter_grab_pointer</a> <span class="c_punctuation">()</span>
|
356
|
+
</td>
|
357
|
+
</tr>
|
358
|
+
<tr>
|
359
|
+
<td class="function_type">
|
360
|
+
<span class="returnvalue">void</span>
|
361
|
+
</td>
|
362
|
+
<td class="function_name">
|
363
|
+
<a class="link" href="clutter-General.html#clutter-ungrab-keyboard" title="clutter_ungrab_keyboard ()">clutter_ungrab_keyboard</a> <span class="c_punctuation">()</span>
|
364
|
+
</td>
|
365
|
+
</tr>
|
366
|
+
<tr>
|
367
|
+
<td class="function_type">
|
368
|
+
<span class="returnvalue">void</span>
|
369
|
+
</td>
|
370
|
+
<td class="function_name">
|
371
|
+
<a class="link" href="clutter-General.html#clutter-ungrab-pointer" title="clutter_ungrab_pointer ()">clutter_ungrab_pointer</a> <span class="c_punctuation">()</span>
|
372
|
+
</td>
|
373
|
+
</tr>
|
374
|
+
<tr>
|
375
|
+
<td class="function_type">
|
376
|
+
<span class="returnvalue">void</span>
|
377
|
+
</td>
|
378
|
+
<td class="function_name">
|
379
|
+
<a class="link" href="clutter-General.html#clutter-grab-pointer-for-device" title="clutter_grab_pointer_for_device ()">clutter_grab_pointer_for_device</a> <span class="c_punctuation">()</span>
|
380
|
+
</td>
|
381
|
+
</tr>
|
382
|
+
<tr>
|
383
|
+
<td class="function_type">
|
384
|
+
<span class="returnvalue">void</span>
|
385
|
+
</td>
|
386
|
+
<td class="function_name">
|
387
|
+
<a class="link" href="clutter-General.html#clutter-ungrab-pointer-for-device" title="clutter_ungrab_pointer_for_device ()">clutter_ungrab_pointer_for_device</a> <span class="c_punctuation">()</span>
|
388
|
+
</td>
|
389
|
+
</tr>
|
390
|
+
<tr>
|
391
|
+
<td class="function_type">
|
392
|
+
<span class="returnvalue">void</span>
|
393
|
+
</td>
|
394
|
+
<td class="function_name">
|
395
|
+
<a class="link" href="clutter-General.html#clutter-do-event" title="clutter_do_event ()">clutter_do_event</a> <span class="c_punctuation">()</span>
|
396
|
+
</td>
|
397
|
+
</tr>
|
398
|
+
</tbody>
|
399
|
+
</table></div>
|
400
|
+
</div>
|
401
|
+
<div class="refsect1">
|
402
|
+
<a name="clutter-General.other"></a><h2>Types and Values</h2>
|
403
|
+
<div class="informaltable"><table width="100%" border="0">
|
404
|
+
<colgroup>
|
405
|
+
<col width="150px" class="name">
|
406
|
+
<col class="description">
|
407
|
+
</colgroup>
|
408
|
+
<tbody>
|
409
|
+
<tr>
|
410
|
+
<td class="datatype_keyword">enum</td>
|
411
|
+
<td class="function_name"><a class="link" href="clutter-General.html#ClutterInitError" title="enum ClutterInitError">ClutterInitError</a></td>
|
412
|
+
</tr>
|
413
|
+
<tr>
|
414
|
+
<td class="datatype_keyword">enum</td>
|
415
|
+
<td class="function_name"><a class="link" href="clutter-General.html#ClutterFontFlags" title="enum ClutterFontFlags">ClutterFontFlags</a></td>
|
416
|
+
</tr>
|
417
|
+
<tr>
|
418
|
+
<td class="datatype_keyword">enum</td>
|
419
|
+
<td class="function_name"><a class="link" href="clutter-General.html#ClutterTextDirection" title="enum ClutterTextDirection">ClutterTextDirection</a></td>
|
420
|
+
</tr>
|
421
|
+
<tr>
|
422
|
+
<td class="datatype_keyword">enum</td>
|
423
|
+
<td class="function_name"><a class="link" href="clutter-General.html#ClutterRepaintFlags" title="enum ClutterRepaintFlags">ClutterRepaintFlags</a></td>
|
424
|
+
</tr>
|
425
|
+
</tbody>
|
426
|
+
</table></div>
|
427
|
+
</div>
|
428
|
+
<div class="refsect1">
|
429
|
+
<a name="clutter-General.description"></a><h2>Description</h2>
|
430
|
+
<p>Functions to retrieve various global Clutter resources and other utility
|
431
|
+
functions for mainloops, events and threads</p>
|
432
|
+
<div class="refsect3">
|
433
|
+
<a name="id-1.7.2.9.5.3"></a><h4>The Clutter Threading Model</h4>
|
434
|
+
<p>Clutter is *thread-aware*: all operations performed by Clutter are assumed
|
435
|
+
to be under the Big Clutter Lock, which is created when the threading is
|
436
|
+
initialized through <a class="link" href="clutter-General.html#clutter-init" title="clutter_init ()"><code class="function">clutter_init()</code></a>, and entered when calling user-related
|
437
|
+
code during event handling and actor drawing.</p>
|
438
|
+
<p>The only safe and portable way to use the Clutter API in a multi-threaded
|
439
|
+
environment is to only access the Clutter API from a thread that did called
|
440
|
+
<a class="link" href="clutter-General.html#clutter-init" title="clutter_init ()"><code class="function">clutter_init()</code></a> and <a class="link" href="clutter-General.html#clutter-main" title="clutter_main ()"><code class="function">clutter_main()</code></a>.</p>
|
441
|
+
<p>The common pattern for using threads with Clutter is to use worker threads
|
442
|
+
to perform blocking operations and then install idle or timeout sources with
|
443
|
+
the result when the thread finishes, and update the UI from those callbacks.</p>
|
444
|
+
<p>For a working example of how to use a worker thread to update the UI, see
|
445
|
+
<a class="ulink" href="https://git.gnome.org/browse/clutter/tree/examples/threads.c?h=clutter-1.18" target="_top">threads.c</a></p>
|
446
|
+
</div>
|
447
|
+
</div>
|
448
|
+
<div class="refsect1">
|
449
|
+
<a name="clutter-General.functions_details"></a><h2>Functions</h2>
|
450
|
+
<div class="refsect2">
|
451
|
+
<a name="CLUTTER-PRIORITY-REDRAW:CAPS"></a><h3>CLUTTER_PRIORITY_REDRAW</h3>
|
452
|
+
<pre class="programlisting">#define CLUTTER_PRIORITY_REDRAW (G_PRIORITY_HIGH_IDLE + 50)
|
453
|
+
</pre>
|
454
|
+
<p>Priority of the redraws. This is chosen to be lower than the GTK+
|
455
|
+
redraw and resize priorities, because in application with both
|
456
|
+
GTK+ and Clutter it's more likely that the Clutter part will be
|
457
|
+
continually animating (and thus able to starve GTK+) than
|
458
|
+
vice-versa.</p>
|
459
|
+
<p class="since">Since 0.8</p>
|
460
|
+
</div>
|
461
|
+
<hr>
|
462
|
+
<div class="refsect2">
|
463
|
+
<a name="clutter-init"></a><h3>clutter_init ()</h3>
|
464
|
+
<pre class="programlisting"><a class="link" href="clutter-General.html#ClutterInitError" title="enum ClutterInitError"><span class="returnvalue">ClutterInitError</span></a>
|
465
|
+
clutter_init (<em class="parameter"><code><span class="type">int</span> *argc</code></em>,
|
466
|
+
<em class="parameter"><code><span class="type">char</span> ***argv</code></em>);</pre>
|
467
|
+
<p>Initialises everything needed to operate with Clutter and parses some
|
468
|
+
standard command line options; <em class="parameter"><code>argc</code></em>
|
469
|
+
and <em class="parameter"><code>argv</code></em>
|
470
|
+
are adjusted accordingly
|
471
|
+
so your own code will never see those standard arguments.</p>
|
472
|
+
<p>It is safe to call this function multiple times.</p>
|
473
|
+
<p>This function will not abort in case of errors during
|
474
|
+
initialization; <a class="link" href="clutter-General.html#clutter-init" title="clutter_init ()"><code class="function">clutter_init()</code></a> will print out the error message on
|
475
|
+
stderr, and will return an error code. It is up to the application
|
476
|
+
code to handle this case. If you need to display the error message
|
477
|
+
yourself, you can use <a class="link" href="clutter-General.html#clutter-init-with-args" title="clutter_init_with_args ()"><code class="function">clutter_init_with_args()</code></a>, which takes a <span class="type">GError</span>
|
478
|
+
pointer.</p>
|
479
|
+
<p>If this function fails, and returns an error code, any subsequent
|
480
|
+
Clutter API will have undefined behaviour - including segmentation
|
481
|
+
faults and assertion failures. Make sure to handle the returned
|
482
|
+
<a class="link" href="clutter-General.html#ClutterInitError" title="enum ClutterInitError"><span class="type">ClutterInitError</span></a> enumeration value.</p>
|
483
|
+
<div class="refsect3">
|
484
|
+
<a name="id-1.7.2.9.6.3.8"></a><h4>Parameters</h4>
|
485
|
+
<div class="informaltable"><table width="100%" border="0">
|
486
|
+
<colgroup>
|
487
|
+
<col width="150px" class="parameters_name">
|
488
|
+
<col class="parameters_description">
|
489
|
+
<col width="200px" class="parameters_annotations">
|
490
|
+
</colgroup>
|
491
|
+
<tbody>
|
492
|
+
<tr>
|
493
|
+
<td class="parameter_name"><p>argc</p></td>
|
494
|
+
<td class="parameter_description"><p> The number of arguments in <em class="parameter"><code>argv</code></em>
|
495
|
+
. </p></td>
|
496
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span></td>
|
497
|
+
</tr>
|
498
|
+
<tr>
|
499
|
+
<td class="parameter_name"><p>argv</p></td>
|
500
|
+
<td class="parameter_description"><p> A pointer to an array
|
501
|
+
of arguments. </p></td>
|
502
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=argc][<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
503
|
+
</tr>
|
504
|
+
</tbody>
|
505
|
+
</table></div>
|
506
|
+
</div>
|
507
|
+
<div class="refsect3">
|
508
|
+
<a name="id-1.7.2.9.6.3.9"></a><h4>Returns</h4>
|
509
|
+
<p> a <a class="link" href="clutter-General.html#ClutterInitError" title="enum ClutterInitError"><span class="type">ClutterInitError</span></a> value</p>
|
510
|
+
<p></p>
|
511
|
+
</div>
|
512
|
+
</div>
|
513
|
+
<hr>
|
514
|
+
<div class="refsect2">
|
515
|
+
<a name="clutter-init-with-args"></a><h3>clutter_init_with_args ()</h3>
|
516
|
+
<pre class="programlisting"><a class="link" href="clutter-General.html#ClutterInitError" title="enum ClutterInitError"><span class="returnvalue">ClutterInitError</span></a>
|
517
|
+
clutter_init_with_args (<em class="parameter"><code><span class="type">int</span> *argc</code></em>,
|
518
|
+
<em class="parameter"><code><span class="type">char</span> ***argv</code></em>,
|
519
|
+
<em class="parameter"><code>const <span class="type">char</span> *parameter_string</code></em>,
|
520
|
+
<em class="parameter"><code><span class="type">GOptionEntry</span> *entries</code></em>,
|
521
|
+
<em class="parameter"><code>const <span class="type">char</span> *translation_domain</code></em>,
|
522
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
523
|
+
<p>This function does the same work as <a class="link" href="clutter-General.html#clutter-init" title="clutter_init ()"><code class="function">clutter_init()</code></a>. Additionally,
|
524
|
+
it allows you to add your own command line options, and it
|
525
|
+
automatically generates nicely formatted <option>--help</option>
|
526
|
+
output. Note that your program will be terminated after writing
|
527
|
+
out the help output. Also note that, in case of error, the
|
528
|
+
error message will be placed inside <em class="parameter"><code>error</code></em>
|
529
|
+
instead of being
|
530
|
+
printed on the display.</p>
|
531
|
+
<p>Just like <a class="link" href="clutter-General.html#clutter-init" title="clutter_init ()"><code class="function">clutter_init()</code></a>, if this function returns an error code then
|
532
|
+
any subsequent call to any other Clutter API will result in undefined
|
533
|
+
behaviour - including segmentation faults.</p>
|
534
|
+
<div class="refsect3">
|
535
|
+
<a name="id-1.7.2.9.6.4.6"></a><h4>Parameters</h4>
|
536
|
+
<div class="informaltable"><table width="100%" border="0">
|
537
|
+
<colgroup>
|
538
|
+
<col width="150px" class="parameters_name">
|
539
|
+
<col class="parameters_description">
|
540
|
+
<col width="200px" class="parameters_annotations">
|
541
|
+
</colgroup>
|
542
|
+
<tbody>
|
543
|
+
<tr>
|
544
|
+
<td class="parameter_name"><p>argc</p></td>
|
545
|
+
<td class="parameter_description"><p> a pointer to the number of command line arguments. </p></td>
|
546
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span></td>
|
547
|
+
</tr>
|
548
|
+
<tr>
|
549
|
+
<td class="parameter_name"><p>argv</p></td>
|
550
|
+
<td class="parameter_description"><p> a pointer to the array
|
551
|
+
of command line arguments. </p></td>
|
552
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=argc][<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
553
|
+
</tr>
|
554
|
+
<tr>
|
555
|
+
<td class="parameter_name"><p>parameter_string</p></td>
|
556
|
+
<td class="parameter_description"><p> a string which is displayed in the
|
557
|
+
first line of <option>--help</option> output, after
|
558
|
+
<literal><replaceable>programname</replaceable> [OPTION...]</literal>. </p></td>
|
559
|
+
<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>
|
560
|
+
</tr>
|
561
|
+
<tr>
|
562
|
+
<td class="parameter_name"><p>entries</p></td>
|
563
|
+
<td class="parameter_description"><p> a <code class="literal">NULL</code> terminated array of
|
564
|
+
<span class="type">GOptionEntry</span><!-- -->s describing the options of your program. </p></td>
|
565
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
566
|
+
</tr>
|
567
|
+
<tr>
|
568
|
+
<td class="parameter_name"><p>translation_domain</p></td>
|
569
|
+
<td class="parameter_description"><p> a translation domain to use for
|
570
|
+
translating the <option>--help</option> output for the options in
|
571
|
+
<em class="parameter"><code>entries</code></em>
|
572
|
+
with <code class="function">gettext()</code>, or <code class="literal">NULL</code>. </p></td>
|
573
|
+
<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>
|
574
|
+
</tr>
|
575
|
+
<tr>
|
576
|
+
<td class="parameter_name"><p>error</p></td>
|
577
|
+
<td class="parameter_description"><p> a return location for a <span class="type">GError</span>. </p></td>
|
578
|
+
<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>
|
579
|
+
</tr>
|
580
|
+
</tbody>
|
581
|
+
</table></div>
|
582
|
+
</div>
|
583
|
+
<div class="refsect3">
|
584
|
+
<a name="id-1.7.2.9.6.4.7"></a><h4>Returns</h4>
|
585
|
+
<p> <a class="link" href="clutter-General.html#CLUTTER-INIT-SUCCESS:CAPS"><code class="literal">CLUTTER_INIT_SUCCESS</code></a> if Clutter has been successfully
|
586
|
+
initialised, or other values or <a class="link" href="clutter-General.html#ClutterInitError" title="enum ClutterInitError"><span class="type">ClutterInitError</span></a> in case of
|
587
|
+
error.</p>
|
588
|
+
<p></p>
|
589
|
+
</div>
|
590
|
+
<p class="since">Since 0.2</p>
|
591
|
+
</div>
|
592
|
+
<hr>
|
593
|
+
<div class="refsect2">
|
594
|
+
<a name="clutter-get-option-group"></a><h3>clutter_get_option_group ()</h3>
|
595
|
+
<pre class="programlisting"><span class="returnvalue">GOptionGroup</span> *
|
596
|
+
clutter_get_option_group (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
597
|
+
<p>Returns a <span class="type">GOptionGroup</span> for the command line arguments recognized
|
598
|
+
by Clutter. You should add this group to your <span class="type">GOptionContext</span> with
|
599
|
+
<code class="function">g_option_context_add_group()</code>, if you are using <code class="function">g_option_context_parse()</code>
|
600
|
+
to parse your commandline arguments.</p>
|
601
|
+
<p>Calling <code class="function">g_option_context_parse()</code> with Clutter's <span class="type">GOptionGroup</span> will result
|
602
|
+
in Clutter's initialization. That is, the following code:</p>
|
603
|
+
<div class="informalexample">
|
604
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
605
|
+
<tbody>
|
606
|
+
<tr>
|
607
|
+
<td class="listing_lines" align="right"><pre>1
|
608
|
+
2</pre></td>
|
609
|
+
<td class="listing_code"><pre class="programlisting"><span class="function">g_option_context_set_main_group</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">context</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="clutter-General.html#clutter-get-option-group">clutter_get_option_group</a></span><span class="normal"> </span><span class="symbol">());</span>
|
610
|
+
<span class="normal">res </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_option_context_parse</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">context</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">argc</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">argc</span><span class="symbol">,</span><span class="normal"> NULL</span><span class="symbol">);</span></pre></td>
|
611
|
+
</tr>
|
612
|
+
</tbody>
|
613
|
+
</table>
|
614
|
+
</div>
|
615
|
+
|
616
|
+
<p></p>
|
617
|
+
<p>is functionally equivalent to:</p>
|
618
|
+
<div class="informalexample">
|
619
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
620
|
+
<tbody>
|
621
|
+
<tr>
|
622
|
+
<td class="listing_lines" align="right"><pre>1</pre></td>
|
623
|
+
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="clutter-General.html#clutter-init">clutter_init</a></span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">argc</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">argv</span><span class="symbol">);</span></pre></td>
|
624
|
+
</tr>
|
625
|
+
</tbody>
|
626
|
+
</table>
|
627
|
+
</div>
|
628
|
+
|
629
|
+
<p></p>
|
630
|
+
<p>After <code class="function">g_option_context_parse()</code> on a <span class="type">GOptionContext</span> containing the
|
631
|
+
Clutter <span class="type">GOptionGroup</span> has returned <code class="literal">TRUE</code>, Clutter is guaranteed to be
|
632
|
+
initialized.</p>
|
633
|
+
<div class="refsect3">
|
634
|
+
<a name="id-1.7.2.9.6.5.12"></a><h4>Returns</h4>
|
635
|
+
<p> a <span class="type">GOptionGroup</span> for the commandline arguments
|
636
|
+
recognized by Clutter. </p>
|
637
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
638
|
+
</div>
|
639
|
+
<p class="since">Since 0.2</p>
|
640
|
+
</div>
|
641
|
+
<hr>
|
642
|
+
<div class="refsect2">
|
643
|
+
<a name="clutter-get-option-group-without-init"></a><h3>clutter_get_option_group_without_init ()</h3>
|
644
|
+
<pre class="programlisting"><span class="returnvalue">GOptionGroup</span> *
|
645
|
+
clutter_get_option_group_without_init (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
646
|
+
<p>Returns a <span class="type">GOptionGroup</span> for the command line arguments recognized
|
647
|
+
by Clutter. You should add this group to your <span class="type">GOptionContext</span> with
|
648
|
+
<code class="function">g_option_context_add_group()</code>, if you are using <code class="function">g_option_context_parse()</code>
|
649
|
+
to parse your commandline arguments.</p>
|
650
|
+
<p>Unlike <a class="link" href="clutter-General.html#clutter-get-option-group" title="clutter_get_option_group ()"><code class="function">clutter_get_option_group()</code></a>, calling <code class="function">g_option_context_parse()</code> with
|
651
|
+
the <span class="type">GOptionGroup</span> returned by this function requires a subsequent explicit
|
652
|
+
call to <a class="link" href="clutter-General.html#clutter-init" title="clutter_init ()"><code class="function">clutter_init()</code></a>; use this function when needing to set foreign
|
653
|
+
display connection with <a class="link" href="clutter-X11-Specific-Support.html#clutter-x11-set-display" title="clutter_x11_set_display ()"><code class="function">clutter_x11_set_display()</code></a>, or with
|
654
|
+
<code class="literal"><code class="function">gtk_clutter_init()</code></code>.</p>
|
655
|
+
<div class="refsect3">
|
656
|
+
<a name="id-1.7.2.9.6.6.6"></a><h4>Returns</h4>
|
657
|
+
<p> a <span class="type">GOptionGroup</span> for the commandline arguments
|
658
|
+
recognized by Clutter. </p>
|
659
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
660
|
+
</div>
|
661
|
+
<p class="since">Since 0.8.2</p>
|
662
|
+
</div>
|
663
|
+
<hr>
|
664
|
+
<div class="refsect2">
|
665
|
+
<a name="clutter-main"></a><h3>clutter_main ()</h3>
|
666
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
667
|
+
clutter_main (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
668
|
+
<p>Starts the Clutter mainloop.</p>
|
669
|
+
</div>
|
670
|
+
<hr>
|
671
|
+
<div class="refsect2">
|
672
|
+
<a name="clutter-main-quit"></a><h3>clutter_main_quit ()</h3>
|
673
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
674
|
+
clutter_main_quit (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
675
|
+
<p>Terminates the Clutter mainloop.</p>
|
676
|
+
</div>
|
677
|
+
<hr>
|
678
|
+
<div class="refsect2">
|
679
|
+
<a name="clutter-main-level"></a><h3>clutter_main_level ()</h3>
|
680
|
+
<pre class="programlisting"><span class="returnvalue">gint</span>
|
681
|
+
clutter_main_level (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
682
|
+
<p>Retrieves the depth of the Clutter mainloop.</p>
|
683
|
+
<div class="refsect3">
|
684
|
+
<a name="id-1.7.2.9.6.9.5"></a><h4>Returns</h4>
|
685
|
+
<p> The level of the mainloop.</p>
|
686
|
+
<p></p>
|
687
|
+
</div>
|
688
|
+
</div>
|
689
|
+
<hr>
|
690
|
+
<div class="refsect2">
|
691
|
+
<a name="clutter-get-debug-enabled"></a><h3>clutter_get_debug_enabled ()</h3>
|
692
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
693
|
+
clutter_get_debug_enabled (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
694
|
+
<div class="warning">
|
695
|
+
<p><code class="literal">clutter_get_debug_enabled</code> has been deprecated since version 1.10 and should not be used in newly-written code.</p>
|
696
|
+
<p>This function does not do anything.</p>
|
697
|
+
</div>
|
698
|
+
<p>Check if Clutter has debugging enabled.</p>
|
699
|
+
<div class="refsect3">
|
700
|
+
<a name="id-1.7.2.9.6.10.6"></a><h4>Returns</h4>
|
701
|
+
<p> <code class="literal">FALSE</code></p>
|
702
|
+
<p></p>
|
703
|
+
</div>
|
704
|
+
</div>
|
705
|
+
<hr>
|
706
|
+
<div class="refsect2">
|
707
|
+
<a name="clutter-get-show-fps"></a><h3>clutter_get_show_fps ()</h3>
|
708
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
709
|
+
clutter_get_show_fps (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
710
|
+
<div class="warning">
|
711
|
+
<p><code class="literal">clutter_get_show_fps</code> has been deprecated since version 1.10 and should not be used in newly-written code.</p>
|
712
|
+
<p>This function does not do anything. Use the environment
|
713
|
+
variable or the configuration file to determine whether Clutter should
|
714
|
+
print out the FPS counter on the console.</p>
|
715
|
+
</div>
|
716
|
+
<p>Returns whether Clutter should print out the frames per second on the
|
717
|
+
console. You can enable this setting either using the
|
718
|
+
<literal>CLUTTER_SHOW_FPS</literal> environment variable or passing
|
719
|
+
the <literal>--clutter-show-fps</literal> command line argument. *</p>
|
720
|
+
<div class="refsect3">
|
721
|
+
<a name="id-1.7.2.9.6.11.7"></a><h4>Returns</h4>
|
722
|
+
<p> <code class="literal">TRUE</code> if Clutter should show the FPS.</p>
|
723
|
+
<p></p>
|
724
|
+
</div>
|
725
|
+
<p class="since">Since 0.4</p>
|
726
|
+
</div>
|
727
|
+
<hr>
|
728
|
+
<div class="refsect2">
|
729
|
+
<a name="clutter-get-timestamp"></a><h3>clutter_get_timestamp ()</h3>
|
730
|
+
<pre class="programlisting"><span class="returnvalue">gulong</span>
|
731
|
+
clutter_get_timestamp (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
732
|
+
<div class="warning">
|
733
|
+
<p><code class="literal">clutter_get_timestamp</code> has been deprecated since version 1.10 and should not be used in newly-written code.</p>
|
734
|
+
<p>Use <span class="type">GTimer</span> or <code class="function">g_get_monotonic_time()</code> for a proper
|
735
|
+
timing source</p>
|
736
|
+
</div>
|
737
|
+
<p>Returns the approximate number of microseconds passed since Clutter was
|
738
|
+
intialised.</p>
|
739
|
+
<p>This function shdould not be used by application code.</p>
|
740
|
+
<p>The output of this function depends on whether Clutter was configured to
|
741
|
+
enable its debugging code paths, so it's less useful than intended.</p>
|
742
|
+
<p>Since Clutter 1.10, this function is an alias to <code class="function">g_get_monotonic_time()</code>
|
743
|
+
if Clutter was configured to enable the debugging code paths.</p>
|
744
|
+
<div class="refsect3">
|
745
|
+
<a name="id-1.7.2.9.6.12.9"></a><h4>Returns</h4>
|
746
|
+
<p> Number of microseconds since <a class="link" href="clutter-General.html#clutter-init" title="clutter_init ()"><code class="function">clutter_init()</code></a> was called, or
|
747
|
+
zero if Clutter was not configured with debugging code paths.</p>
|
748
|
+
<p></p>
|
749
|
+
</div>
|
750
|
+
</div>
|
751
|
+
<hr>
|
752
|
+
<div class="refsect2">
|
753
|
+
<a name="clutter-get-actor-by-gid"></a><h3>clutter_get_actor_by_gid ()</h3>
|
754
|
+
<pre class="programlisting"><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> *
|
755
|
+
clutter_get_actor_by_gid (<em class="parameter"><code><span class="type">guint32</span> id_</code></em>);</pre>
|
756
|
+
<div class="warning">
|
757
|
+
<p><code class="literal">clutter_get_actor_by_gid</code> has been deprecated since version 1.8 and should not be used in newly-written code.</p>
|
758
|
+
<p>The id is not used any longer.</p>
|
759
|
+
</div>
|
760
|
+
<p>Retrieves the <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> with <em class="parameter"><code>id_</code></em>
|
761
|
+
.</p>
|
762
|
+
<div class="refsect3">
|
763
|
+
<a name="id-1.7.2.9.6.13.7"></a><h4>Parameters</h4>
|
764
|
+
<div class="informaltable"><table width="100%" border="0">
|
765
|
+
<colgroup>
|
766
|
+
<col width="150px" class="parameters_name">
|
767
|
+
<col class="parameters_description">
|
768
|
+
<col width="200px" class="parameters_annotations">
|
769
|
+
</colgroup>
|
770
|
+
<tbody><tr>
|
771
|
+
<td class="parameter_name"><p>id_</p></td>
|
772
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> unique id.</p></td>
|
773
|
+
<td class="parameter_annotations"> </td>
|
774
|
+
</tr></tbody>
|
775
|
+
</table></div>
|
776
|
+
</div>
|
777
|
+
<div class="refsect3">
|
778
|
+
<a name="id-1.7.2.9.6.13.8"></a><h4>Returns</h4>
|
779
|
+
<p> the actor with the passed id or <code class="literal">NULL</code>.
|
780
|
+
The returned actor does not have its reference count increased. </p>
|
781
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
782
|
+
</div>
|
783
|
+
<p class="since">Since 0.6</p>
|
784
|
+
</div>
|
785
|
+
<hr>
|
786
|
+
<div class="refsect2">
|
787
|
+
<a name="clutter-set-default-frame-rate"></a><h3>clutter_set_default_frame_rate ()</h3>
|
788
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
789
|
+
clutter_set_default_frame_rate (<em class="parameter"><code><span class="type">guint</span> frames_per_sec</code></em>);</pre>
|
790
|
+
<div class="warning">
|
791
|
+
<p><code class="literal">clutter_set_default_frame_rate</code> has been deprecated since version 1.10 and should not be used in newly-written code.</p>
|
792
|
+
<p>This function does not do anything any more.</p>
|
793
|
+
</div>
|
794
|
+
<p>Sets the default frame rate. This frame rate will be used to limit
|
795
|
+
the number of frames drawn if Clutter is not able to synchronize
|
796
|
+
with the vertical refresh rate of the display. When synchronization
|
797
|
+
is possible, this value is ignored.</p>
|
798
|
+
<div class="refsect3">
|
799
|
+
<a name="id-1.7.2.9.6.14.7"></a><h4>Parameters</h4>
|
800
|
+
<div class="informaltable"><table width="100%" border="0">
|
801
|
+
<colgroup>
|
802
|
+
<col width="150px" class="parameters_name">
|
803
|
+
<col class="parameters_description">
|
804
|
+
<col width="200px" class="parameters_annotations">
|
805
|
+
</colgroup>
|
806
|
+
<tbody><tr>
|
807
|
+
<td class="parameter_name"><p>frames_per_sec</p></td>
|
808
|
+
<td class="parameter_description"><p>the new default frame rate</p></td>
|
809
|
+
<td class="parameter_annotations"> </td>
|
810
|
+
</tr></tbody>
|
811
|
+
</table></div>
|
812
|
+
</div>
|
813
|
+
<p class="since">Since 0.6</p>
|
814
|
+
</div>
|
815
|
+
<hr>
|
816
|
+
<div class="refsect2">
|
817
|
+
<a name="clutter-get-default-frame-rate"></a><h3>clutter_get_default_frame_rate ()</h3>
|
818
|
+
<pre class="programlisting"><span class="returnvalue">guint</span>
|
819
|
+
clutter_get_default_frame_rate (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
820
|
+
<p>Retrieves the default frame rate. See <a class="link" href="clutter-General.html#clutter-set-default-frame-rate" title="clutter_set_default_frame_rate ()"><code class="function">clutter_set_default_frame_rate()</code></a>.</p>
|
821
|
+
<div class="refsect3">
|
822
|
+
<a name="id-1.7.2.9.6.15.5"></a><h4>Returns</h4>
|
823
|
+
<p> the default frame rate</p>
|
824
|
+
<p></p>
|
825
|
+
</div>
|
826
|
+
<p class="since">Since 0.6</p>
|
827
|
+
</div>
|
828
|
+
<hr>
|
829
|
+
<div class="refsect2">
|
830
|
+
<a name="clutter-set-motion-events-enabled"></a><h3>clutter_set_motion_events_enabled ()</h3>
|
831
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
832
|
+
clutter_set_motion_events_enabled (<em class="parameter"><code><span class="type">gboolean</span> enable</code></em>);</pre>
|
833
|
+
<div class="warning">
|
834
|
+
<p><code class="literal">clutter_set_motion_events_enabled</code> has been deprecated since version 1.8 and should not be used in newly-written code.</p>
|
835
|
+
<p>Use <a class="link" href="ClutterStage.html#clutter-stage-set-motion-events-enabled" title="clutter_stage_set_motion_events_enabled ()"><code class="function">clutter_stage_set_motion_events_enabled()</code></a> instead.</p>
|
836
|
+
</div>
|
837
|
+
<p>Sets whether per-actor motion events should be enabled or not on
|
838
|
+
all <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a><!-- -->s managed by Clutter.</p>
|
839
|
+
<p>If <em class="parameter"><code>enable</code></em>
|
840
|
+
is <code class="literal">FALSE</code> the following events will not work:</p>
|
841
|
+
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
842
|
+
<li class="listitem"><p>ClutterActor::motion-event, except on the <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a></p></li>
|
843
|
+
<li class="listitem"><p>ClutterActor::enter-event</p></li>
|
844
|
+
<li class="listitem"><p>ClutterActor::leave-event</p></li>
|
845
|
+
</ul></div>
|
846
|
+
<div class="refsect3">
|
847
|
+
<a name="id-1.7.2.9.6.16.9"></a><h4>Parameters</h4>
|
848
|
+
<div class="informaltable"><table width="100%" border="0">
|
849
|
+
<colgroup>
|
850
|
+
<col width="150px" class="parameters_name">
|
851
|
+
<col class="parameters_description">
|
852
|
+
<col width="200px" class="parameters_annotations">
|
853
|
+
</colgroup>
|
854
|
+
<tbody><tr>
|
855
|
+
<td class="parameter_name"><p>enable</p></td>
|
856
|
+
<td class="parameter_description"><p><code class="literal">TRUE</code> to enable per-actor motion events</p></td>
|
857
|
+
<td class="parameter_annotations"> </td>
|
858
|
+
</tr></tbody>
|
859
|
+
</table></div>
|
860
|
+
</div>
|
861
|
+
<p class="since">Since 0.6</p>
|
862
|
+
</div>
|
863
|
+
<hr>
|
864
|
+
<div class="refsect2">
|
865
|
+
<a name="clutter-get-motion-events-enabled"></a><h3>clutter_get_motion_events_enabled ()</h3>
|
866
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
867
|
+
clutter_get_motion_events_enabled (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
868
|
+
<div class="warning">
|
869
|
+
<p><code class="literal">clutter_get_motion_events_enabled</code> has been deprecated since version 1.8 and should not be used in newly-written code.</p>
|
870
|
+
<p>Use <a class="link" href="ClutterStage.html#clutter-stage-get-motion-events-enabled" title="clutter_stage_get_motion_events_enabled ()"><code class="function">clutter_stage_get_motion_events_enabled()</code></a> instead.</p>
|
871
|
+
</div>
|
872
|
+
<p>Gets whether the per-actor motion events are enabled.</p>
|
873
|
+
<div class="refsect3">
|
874
|
+
<a name="id-1.7.2.9.6.17.7"></a><h4>Returns</h4>
|
875
|
+
<p> <code class="literal">TRUE</code> if the motion events are enabled</p>
|
876
|
+
<p></p>
|
877
|
+
</div>
|
878
|
+
<p class="since">Since 0.6</p>
|
879
|
+
</div>
|
880
|
+
<hr>
|
881
|
+
<div class="refsect2">
|
882
|
+
<a name="clutter-clear-glyph-cache"></a><h3>clutter_clear_glyph_cache ()</h3>
|
883
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
884
|
+
clutter_clear_glyph_cache (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
885
|
+
<div class="warning">
|
886
|
+
<p><code class="literal">clutter_clear_glyph_cache</code> has been deprecated since version 1.10 and should not be used in newly-written code.</p>
|
887
|
+
<p>Use <a class="link" href="clutter-General.html#clutter-get-font-map" title="clutter_get_font_map ()"><code class="function">clutter_get_font_map()</code></a> and
|
888
|
+
<code class="function">cogl_pango_font_map_clear_glyph_cache()</code> instead.</p>
|
889
|
+
</div>
|
890
|
+
<p>Clears the internal cache of glyphs used by the Pango
|
891
|
+
renderer. This will free up some memory and GL texture
|
892
|
+
resources. The cache will be automatically refilled as more text is
|
893
|
+
drawn.</p>
|
894
|
+
<p class="since">Since 0.8</p>
|
895
|
+
</div>
|
896
|
+
<hr>
|
897
|
+
<div class="refsect2">
|
898
|
+
<a name="clutter-set-font-flags"></a><h3>clutter_set_font_flags ()</h3>
|
899
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
900
|
+
clutter_set_font_flags (<em class="parameter"><code><a class="link" href="clutter-General.html#ClutterFontFlags" title="enum ClutterFontFlags"><span class="type">ClutterFontFlags</span></a> flags</code></em>);</pre>
|
901
|
+
<div class="warning">
|
902
|
+
<p><code class="literal">clutter_set_font_flags</code> has been deprecated since version 1.10 and should not be used in newly-written code.</p>
|
903
|
+
<p>Use <a class="link" href="ClutterBackend.html#clutter-backend-set-font-options" title="clutter_backend_set_font_options ()"><code class="function">clutter_backend_set_font_options()</code></a> and the
|
904
|
+
<span class="type">cairo_font_option_t</span> API.</p>
|
905
|
+
</div>
|
906
|
+
<p>Sets the font quality options for subsequent text rendering
|
907
|
+
operations.</p>
|
908
|
+
<p>Using mipmapped textures will improve the quality for scaled down
|
909
|
+
text but will use more texture memory.</p>
|
910
|
+
<p>Enabling hinting improves text quality for static text but may
|
911
|
+
introduce some artifacts if the text is animated.</p>
|
912
|
+
<div class="refsect3">
|
913
|
+
<a name="id-1.7.2.9.6.19.9"></a><h4>Parameters</h4>
|
914
|
+
<div class="informaltable"><table width="100%" border="0">
|
915
|
+
<colgroup>
|
916
|
+
<col width="150px" class="parameters_name">
|
917
|
+
<col class="parameters_description">
|
918
|
+
<col width="200px" class="parameters_annotations">
|
919
|
+
</colgroup>
|
920
|
+
<tbody><tr>
|
921
|
+
<td class="parameter_name"><p>flags</p></td>
|
922
|
+
<td class="parameter_description"><p>The new flags</p></td>
|
923
|
+
<td class="parameter_annotations"> </td>
|
924
|
+
</tr></tbody>
|
925
|
+
</table></div>
|
926
|
+
</div>
|
927
|
+
<p class="since">Since 1.0</p>
|
928
|
+
</div>
|
929
|
+
<hr>
|
930
|
+
<div class="refsect2">
|
931
|
+
<a name="clutter-get-font-flags"></a><h3>clutter_get_font_flags ()</h3>
|
932
|
+
<pre class="programlisting"><a class="link" href="clutter-General.html#ClutterFontFlags" title="enum ClutterFontFlags"><span class="returnvalue">ClutterFontFlags</span></a>
|
933
|
+
clutter_get_font_flags (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
934
|
+
<div class="warning">
|
935
|
+
<p><code class="literal">clutter_get_font_flags</code> has been deprecated since version 1.10 and should not be used in newly-written code.</p>
|
936
|
+
<p>Use <a class="link" href="ClutterBackend.html#clutter-backend-get-font-options" title="clutter_backend_get_font_options ()"><code class="function">clutter_backend_get_font_options()</code></a> and the
|
937
|
+
<span class="type">cairo_font_options_t</span> API.</p>
|
938
|
+
</div>
|
939
|
+
<p>Gets the current font flags for rendering text. See
|
940
|
+
<a class="link" href="clutter-General.html#clutter-set-font-flags" title="clutter_set_font_flags ()"><code class="function">clutter_set_font_flags()</code></a>.</p>
|
941
|
+
<div class="refsect3">
|
942
|
+
<a name="id-1.7.2.9.6.20.7"></a><h4>Returns</h4>
|
943
|
+
<p> The font flags</p>
|
944
|
+
<p></p>
|
945
|
+
</div>
|
946
|
+
<p class="since">Since 1.0</p>
|
947
|
+
</div>
|
948
|
+
<hr>
|
949
|
+
<div class="refsect2">
|
950
|
+
<a name="clutter-get-font-map"></a><h3>clutter_get_font_map ()</h3>
|
951
|
+
<pre class="programlisting"><span class="returnvalue">PangoFontMap</span> *
|
952
|
+
clutter_get_font_map (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
953
|
+
<p>Retrieves the <span class="type">PangoFontMap</span> instance used by Clutter.
|
954
|
+
You can use the global font map object with the COGL
|
955
|
+
Pango API.</p>
|
956
|
+
<div class="refsect3">
|
957
|
+
<a name="id-1.7.2.9.6.21.5"></a><h4>Returns</h4>
|
958
|
+
<p> the <span class="type">PangoFontMap</span> instance. The returned
|
959
|
+
value is owned by Clutter and it should never be unreferenced. </p>
|
960
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
961
|
+
</div>
|
962
|
+
<p class="since">Since 1.0</p>
|
963
|
+
</div>
|
964
|
+
<hr>
|
965
|
+
<div class="refsect2">
|
966
|
+
<a name="clutter-get-default-text-direction"></a><h3>clutter_get_default_text_direction ()</h3>
|
967
|
+
<pre class="programlisting"><a class="link" href="clutter-General.html#ClutterTextDirection" title="enum ClutterTextDirection"><span class="returnvalue">ClutterTextDirection</span></a>
|
968
|
+
clutter_get_default_text_direction (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
969
|
+
<p>Retrieves the default direction for the text. The text direction is
|
970
|
+
determined by the locale and/or by the <varname>CLUTTER_TEXT_DIRECTION</varname>
|
971
|
+
environment variable.</p>
|
972
|
+
<p>The default text direction can be overridden on a per-actor basis by using
|
973
|
+
<a class="link" href="ClutterActor.html#clutter-actor-set-text-direction" title="clutter_actor_set_text_direction ()"><code class="function">clutter_actor_set_text_direction()</code></a>.</p>
|
974
|
+
<div class="refsect3">
|
975
|
+
<a name="id-1.7.2.9.6.22.6"></a><h4>Returns</h4>
|
976
|
+
<p> the default text direction</p>
|
977
|
+
<p></p>
|
978
|
+
</div>
|
979
|
+
<p class="since">Since 1.2</p>
|
980
|
+
</div>
|
981
|
+
<hr>
|
982
|
+
<div class="refsect2">
|
983
|
+
<a name="clutter-get-accessibility-enabled"></a><h3>clutter_get_accessibility_enabled ()</h3>
|
984
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
985
|
+
clutter_get_accessibility_enabled (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
986
|
+
<p>Returns whether Clutter has accessibility support enabled. As
|
987
|
+
least, a value of TRUE means that there are a proper AtkUtil
|
988
|
+
implementation available</p>
|
989
|
+
<div class="refsect3">
|
990
|
+
<a name="id-1.7.2.9.6.23.5"></a><h4>Returns</h4>
|
991
|
+
<p> <code class="literal">TRUE</code> if Clutter has accessibility support enabled</p>
|
992
|
+
<p></p>
|
993
|
+
</div>
|
994
|
+
<p class="since">Since 1.4</p>
|
995
|
+
</div>
|
996
|
+
<hr>
|
997
|
+
<div class="refsect2">
|
998
|
+
<a name="clutter-disable-accessibility"></a><h3>clutter_disable_accessibility ()</h3>
|
999
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1000
|
+
clutter_disable_accessibility (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1001
|
+
<p>Disable loading the accessibility support. It has the same effect
|
1002
|
+
as setting the environment variable
|
1003
|
+
CLUTTER_DISABLE_ACCESSIBILITY. For the same reason, this method
|
1004
|
+
should be called before <a class="link" href="clutter-General.html#clutter-init" title="clutter_init ()"><code class="function">clutter_init()</code></a>.</p>
|
1005
|
+
<p class="since">Since 1.14</p>
|
1006
|
+
</div>
|
1007
|
+
<hr>
|
1008
|
+
<div class="refsect2">
|
1009
|
+
<a name="clutter-threads-set-lock-functions"></a><h3>clutter_threads_set_lock_functions ()</h3>
|
1010
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1011
|
+
clutter_threads_set_lock_functions (<em class="parameter"><code><span class="type">GCallback</span> enter_fn</code></em>,
|
1012
|
+
<em class="parameter"><code><span class="type">GCallback</span> leave_fn</code></em>);</pre>
|
1013
|
+
<p>Allows the application to replace the standard method that
|
1014
|
+
Clutter uses to protect its data structures. Normally, Clutter
|
1015
|
+
creates a single <span class="type">GMutex</span> that is locked by <a class="link" href="clutter-General.html#clutter-threads-enter" title="clutter_threads_enter ()"><code class="function">clutter_threads_enter()</code></a>,
|
1016
|
+
and released by <a class="link" href="clutter-General.html#clutter-threads-leave" title="clutter_threads_leave ()"><code class="function">clutter_threads_leave()</code></a>; using this function an
|
1017
|
+
application provides, instead, a function <em class="parameter"><code>enter_fn</code></em>
|
1018
|
+
that is
|
1019
|
+
called by <a class="link" href="clutter-General.html#clutter-threads-enter" title="clutter_threads_enter ()"><code class="function">clutter_threads_enter()</code></a> and a function <em class="parameter"><code>leave_fn</code></em>
|
1020
|
+
that is
|
1021
|
+
called by <a class="link" href="clutter-General.html#clutter-threads-leave" title="clutter_threads_leave ()"><code class="function">clutter_threads_leave()</code></a>.</p>
|
1022
|
+
<p>The functions must provide at least same locking functionality
|
1023
|
+
as the default implementation, but can also do extra application
|
1024
|
+
specific processing.</p>
|
1025
|
+
<p>As an example, consider an application that has its own recursive
|
1026
|
+
lock that when held, holds the Clutter lock as well. When Clutter
|
1027
|
+
unlocks the Clutter lock when entering a recursive main loop, the
|
1028
|
+
application must temporarily release its lock as well.</p>
|
1029
|
+
<p>Most threaded Clutter apps won't need to use this method.</p>
|
1030
|
+
<p>This method must be called before <a class="link" href="clutter-General.html#clutter-init" title="clutter_init ()"><code class="function">clutter_init()</code></a>, and cannot
|
1031
|
+
be called multiple times.</p>
|
1032
|
+
<div class="refsect3">
|
1033
|
+
<a name="id-1.7.2.9.6.25.9"></a><h4>Parameters</h4>
|
1034
|
+
<div class="informaltable"><table width="100%" border="0">
|
1035
|
+
<colgroup>
|
1036
|
+
<col width="150px" class="parameters_name">
|
1037
|
+
<col class="parameters_description">
|
1038
|
+
<col width="200px" class="parameters_annotations">
|
1039
|
+
</colgroup>
|
1040
|
+
<tbody>
|
1041
|
+
<tr>
|
1042
|
+
<td class="parameter_name"><p>enter_fn</p></td>
|
1043
|
+
<td class="parameter_description"><p>function called when aquiring the Clutter main lock</p></td>
|
1044
|
+
<td class="parameter_annotations"> </td>
|
1045
|
+
</tr>
|
1046
|
+
<tr>
|
1047
|
+
<td class="parameter_name"><p>leave_fn</p></td>
|
1048
|
+
<td class="parameter_description"><p>function called when releasing the Clutter main lock</p></td>
|
1049
|
+
<td class="parameter_annotations"> </td>
|
1050
|
+
</tr>
|
1051
|
+
</tbody>
|
1052
|
+
</table></div>
|
1053
|
+
</div>
|
1054
|
+
<p class="since">Since 0.4</p>
|
1055
|
+
</div>
|
1056
|
+
<hr>
|
1057
|
+
<div class="refsect2">
|
1058
|
+
<a name="clutter-threads-init"></a><h3>clutter_threads_init ()</h3>
|
1059
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1060
|
+
clutter_threads_init (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1061
|
+
<div class="warning">
|
1062
|
+
<p><code class="literal">clutter_threads_init</code> has been deprecated since version 1.10 and should not be used in newly-written code.</p>
|
1063
|
+
<p>This function does not do anything. Threading support
|
1064
|
+
is initialized when Clutter is initialized.</p>
|
1065
|
+
</div>
|
1066
|
+
<p>Initialises the Clutter threading mechanism, so that Clutter API can be
|
1067
|
+
called by multiple threads, using <a class="link" href="clutter-General.html#clutter-threads-enter" title="clutter_threads_enter ()"><code class="function">clutter_threads_enter()</code></a> and
|
1068
|
+
<a class="link" href="clutter-General.html#clutter-threads-leave" title="clutter_threads_leave ()"><code class="function">clutter_threads_leave()</code></a> to mark the critical sections.</p>
|
1069
|
+
<p>You must call <code class="function">g_thread_init()</code> before this function.</p>
|
1070
|
+
<p>This function must be called before <a class="link" href="clutter-General.html#clutter-init" title="clutter_init ()"><code class="function">clutter_init()</code></a>.</p>
|
1071
|
+
<p>It is safe to call this function multiple times.</p>
|
1072
|
+
<p class="since">Since 0.4</p>
|
1073
|
+
</div>
|
1074
|
+
<hr>
|
1075
|
+
<div class="refsect2">
|
1076
|
+
<a name="clutter-threads-enter"></a><h3>clutter_threads_enter ()</h3>
|
1077
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1078
|
+
clutter_threads_enter (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1079
|
+
<div class="warning">
|
1080
|
+
<p><code class="literal">clutter_threads_enter</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p>
|
1081
|
+
<p>This function should not be used by application
|
1082
|
+
code; marking critical sections is not portable on various
|
1083
|
+
platforms. Instead of acquiring the Clutter lock, schedule UI
|
1084
|
+
updates from the main loop using <a class="link" href="clutter-General.html#clutter-threads-add-idle" title="clutter_threads_add_idle ()"><code class="function">clutter_threads_add_idle()</code></a> or
|
1085
|
+
<a class="link" href="clutter-General.html#clutter-threads-add-timeout" title="clutter_threads_add_timeout ()"><code class="function">clutter_threads_add_timeout()</code></a>.</p>
|
1086
|
+
</div>
|
1087
|
+
<p>Locks the Clutter thread lock.</p>
|
1088
|
+
<p class="since">Since 0.4</p>
|
1089
|
+
</div>
|
1090
|
+
<hr>
|
1091
|
+
<div class="refsect2">
|
1092
|
+
<a name="clutter-threads-leave"></a><h3>clutter_threads_leave ()</h3>
|
1093
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1094
|
+
clutter_threads_leave (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1095
|
+
<div class="warning">
|
1096
|
+
<p><code class="literal">clutter_threads_leave</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p>
|
1097
|
+
<p>This function should not be used by application
|
1098
|
+
code; marking critical sections is not portable on various
|
1099
|
+
platforms. Instead of acquiring the Clutter lock, schedule UI
|
1100
|
+
updates from the main loop using <a class="link" href="clutter-General.html#clutter-threads-add-idle" title="clutter_threads_add_idle ()"><code class="function">clutter_threads_add_idle()</code></a> or
|
1101
|
+
<a class="link" href="clutter-General.html#clutter-threads-add-timeout" title="clutter_threads_add_timeout ()"><code class="function">clutter_threads_add_timeout()</code></a>.</p>
|
1102
|
+
</div>
|
1103
|
+
<p>Unlocks the Clutter thread lock.</p>
|
1104
|
+
<p class="since">Since 0.4</p>
|
1105
|
+
</div>
|
1106
|
+
<hr>
|
1107
|
+
<div class="refsect2">
|
1108
|
+
<a name="clutter-threads-add-idle"></a><h3>clutter_threads_add_idle ()</h3>
|
1109
|
+
<pre class="programlisting"><span class="returnvalue">guint</span>
|
1110
|
+
clutter_threads_add_idle (<em class="parameter"><code><span class="type">GSourceFunc</span> func</code></em>,
|
1111
|
+
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
|
1112
|
+
<p>Simple wrapper around <a class="link" href="clutter-General.html#clutter-threads-add-idle-full" title="clutter_threads_add_idle_full ()"><code class="function">clutter_threads_add_idle_full()</code></a> using the
|
1113
|
+
default priority.</p>
|
1114
|
+
<div class="refsect3">
|
1115
|
+
<a name="id-1.7.2.9.6.29.5"></a><h4>Parameters</h4>
|
1116
|
+
<div class="informaltable"><table width="100%" border="0">
|
1117
|
+
<colgroup>
|
1118
|
+
<col width="150px" class="parameters_name">
|
1119
|
+
<col class="parameters_description">
|
1120
|
+
<col width="200px" class="parameters_annotations">
|
1121
|
+
</colgroup>
|
1122
|
+
<tbody>
|
1123
|
+
<tr>
|
1124
|
+
<td class="parameter_name"><p>func</p></td>
|
1125
|
+
<td class="parameter_description"><p>function to call</p></td>
|
1126
|
+
<td class="parameter_annotations"> </td>
|
1127
|
+
</tr>
|
1128
|
+
<tr>
|
1129
|
+
<td class="parameter_name"><p>data</p></td>
|
1130
|
+
<td class="parameter_description"><p>data to pass to the function</p></td>
|
1131
|
+
<td class="parameter_annotations"> </td>
|
1132
|
+
</tr>
|
1133
|
+
</tbody>
|
1134
|
+
</table></div>
|
1135
|
+
</div>
|
1136
|
+
<div class="refsect3">
|
1137
|
+
<a name="id-1.7.2.9.6.29.6"></a><h4>Returns</h4>
|
1138
|
+
<p> the ID (greater than 0) of the event source.</p>
|
1139
|
+
<p></p>
|
1140
|
+
</div>
|
1141
|
+
<p class="since">Since 0.4</p>
|
1142
|
+
</div>
|
1143
|
+
<hr>
|
1144
|
+
<div class="refsect2">
|
1145
|
+
<a name="clutter-threads-add-idle-full"></a><h3>clutter_threads_add_idle_full ()</h3>
|
1146
|
+
<pre class="programlisting"><span class="returnvalue">guint</span>
|
1147
|
+
clutter_threads_add_idle_full (<em class="parameter"><code><span class="type">gint</span> priority</code></em>,
|
1148
|
+
<em class="parameter"><code><span class="type">GSourceFunc</span> func</code></em>,
|
1149
|
+
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
|
1150
|
+
<em class="parameter"><code><span class="type">GDestroyNotify</span> notify</code></em>);</pre>
|
1151
|
+
<p>Adds a function to be called whenever there are no higher priority
|
1152
|
+
events pending. If the function returns <code class="literal">FALSE</code> it is automatically
|
1153
|
+
removed from the list of event sources and will not be called again.</p>
|
1154
|
+
<p>This function can be considered a thread-safe variant of <code class="function">g_idle_add_full()</code>:
|
1155
|
+
it will call <em class="parameter"><code>function</code></em>
|
1156
|
+
while holding the Clutter lock. It is logically
|
1157
|
+
equivalent to the following implementation:</p>
|
1158
|
+
<div class="informalexample">
|
1159
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1160
|
+
<tbody>
|
1161
|
+
<tr>
|
1162
|
+
<td class="listing_lines" align="right"><pre>1
|
1163
|
+
2
|
1164
|
+
3
|
1165
|
+
4
|
1166
|
+
5
|
1167
|
+
6
|
1168
|
+
7
|
1169
|
+
8
|
1170
|
+
9
|
1171
|
+
10
|
1172
|
+
11
|
1173
|
+
12
|
1174
|
+
13
|
1175
|
+
14
|
1176
|
+
15
|
1177
|
+
16
|
1178
|
+
17
|
1179
|
+
18
|
1180
|
+
19
|
1181
|
+
20
|
1182
|
+
21
|
1183
|
+
22
|
1184
|
+
23
|
1185
|
+
24
|
1186
|
+
25
|
1187
|
+
26
|
1188
|
+
27
|
1189
|
+
28
|
1190
|
+
29
|
1191
|
+
30
|
1192
|
+
31
|
1193
|
+
32
|
1194
|
+
33</pre></td>
|
1195
|
+
<td class="listing_code"><pre class="programlisting"><span class="keyword">static</span><span class="normal"> gboolean</span>
|
1196
|
+
<span class="function">idle_safe_callback</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">gpointer</span><span class="normal"> data</span><span class="symbol">)</span>
|
1197
|
+
<span class="cbracket">{</span>
|
1198
|
+
<span class="normal"> </span><span class="usertype">SafeClosure</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">closure </span><span class="symbol">=</span><span class="normal"> data</span><span class="symbol">;</span>
|
1199
|
+
<span class="normal"> </span><span class="usertype">gboolean</span><span class="normal"> res </span><span class="symbol">=</span><span class="normal"> FALSE</span><span class="symbol">;</span>
|
1200
|
+
|
1201
|
+
<span class="normal"> </span><span class="comment">// mark the critical section //</span>
|
1202
|
+
|
1203
|
+
<span class="normal"> </span><span class="function"><a href="clutter-General.html#clutter-threads-enter">clutter_threads_enter</a></span><span class="symbol">();</span>
|
1204
|
+
|
1205
|
+
<span class="normal"> </span><span class="comment">// the callback does not need to acquire the Clutter</span>
|
1206
|
+
<span class="normal"> </span><span class="symbol">/</span><span class="normal"> </span><span class="usertype">lock</span><span class="normal"> itself</span><span class="symbol">,</span><span class="normal"> as it is held by the this proxy handler</span>
|
1207
|
+
<span class="normal"> </span><span class="comment">//</span>
|
1208
|
+
<span class="normal"> res </span><span class="symbol">=</span><span class="normal"> closure</span><span class="symbol">-></span><span class="function">callback</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">closure</span><span class="symbol">-></span><span class="normal">data</span><span class="symbol">);</span>
|
1209
|
+
|
1210
|
+
<span class="normal"> </span><span class="function"><a href="clutter-General.html#clutter-threads-leave">clutter_threads_leave</a></span><span class="symbol">();</span>
|
1211
|
+
|
1212
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> res</span><span class="symbol">;</span>
|
1213
|
+
<span class="cbracket">}</span>
|
1214
|
+
<span class="keyword">static</span><span class="normal"> gulong</span>
|
1215
|
+
<span class="function">add_safe_idle</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GSourceFunc</span><span class="normal"> callback</span><span class="symbol">,</span>
|
1216
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> data</span><span class="symbol">)</span>
|
1217
|
+
<span class="cbracket">{</span>
|
1218
|
+
<span class="normal"> </span><span class="usertype">SafeClosure</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">closure </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_new0</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">SafeClosure</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">);</span>
|
1219
|
+
|
1220
|
+
<span class="normal"> closure</span><span class="symbol">-></span><span class="normal">callback </span><span class="symbol">=</span><span class="normal"> callback</span><span class="symbol">;</span>
|
1221
|
+
<span class="normal"> closure</span><span class="symbol">-></span><span class="normal">data </span><span class="symbol">=</span><span class="normal"> data</span><span class="symbol">;</span>
|
1222
|
+
|
1223
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="function">g_idle_add_full</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">G_PRIORITY_DEFAULT_IDLE</span><span class="symbol">,</span>
|
1224
|
+
<span class="normal"> idle_safe_callback</span><span class="symbol">,</span>
|
1225
|
+
<span class="normal"> closure</span><span class="symbol">,</span>
|
1226
|
+
<span class="normal"> g_free</span><span class="symbol">)</span>
|
1227
|
+
<span class="cbracket">}</span></pre></td>
|
1228
|
+
</tr>
|
1229
|
+
</tbody>
|
1230
|
+
</table>
|
1231
|
+
</div>
|
1232
|
+
|
1233
|
+
<p></p>
|
1234
|
+
<p>This function should be used by threaded applications to make sure
|
1235
|
+
that <em class="parameter"><code>func</code></em>
|
1236
|
+
is emitted under the Clutter threads lock and invoked
|
1237
|
+
from the same thread that started the Clutter main loop. For instance,
|
1238
|
+
it can be used to update the UI using the results from a worker
|
1239
|
+
thread:</p>
|
1240
|
+
<div class="informalexample">
|
1241
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1242
|
+
<tbody>
|
1243
|
+
<tr>
|
1244
|
+
<td class="listing_lines" align="right"><pre>1
|
1245
|
+
2
|
1246
|
+
3
|
1247
|
+
4
|
1248
|
+
5
|
1249
|
+
6
|
1250
|
+
7
|
1251
|
+
8
|
1252
|
+
9
|
1253
|
+
10
|
1254
|
+
11
|
1255
|
+
12
|
1256
|
+
13
|
1257
|
+
14
|
1258
|
+
15
|
1259
|
+
16
|
1260
|
+
17
|
1261
|
+
18
|
1262
|
+
19
|
1263
|
+
20
|
1264
|
+
21
|
1265
|
+
22
|
1266
|
+
23
|
1267
|
+
24
|
1268
|
+
25
|
1269
|
+
26
|
1270
|
+
27
|
1271
|
+
28</pre></td>
|
1272
|
+
<td class="listing_code"><pre class="programlisting"><span class="keyword">static</span><span class="normal"> gboolean</span>
|
1273
|
+
<span class="function">update_ui</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">gpointer</span><span class="normal"> data</span><span class="symbol">)</span>
|
1274
|
+
<span class="cbracket">{</span>
|
1275
|
+
<span class="normal"> </span><span class="usertype">SomeClosure</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">closure </span><span class="symbol">=</span><span class="normal"> data</span><span class="symbol">;</span>
|
1276
|
+
|
1277
|
+
<span class="normal"> </span><span class="comment">// it is safe to call Clutter API from this function because</span>
|
1278
|
+
<span class="normal"> </span><span class="symbol">/</span><span class="normal"> it is invoked from the same thread that started the main</span>
|
1279
|
+
<span class="normal"> </span><span class="symbol">/</span><span class="normal"> loop and under the Clutter thread lock</span>
|
1280
|
+
<span class="normal"> </span><span class="comment">//</span>
|
1281
|
+
<span class="normal"> </span><span class="function">clutter_label_set_text</span><span class="normal"> </span><span class="symbol">(</span><span class="function">CLUTTER_LABEL</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">closure</span><span class="symbol">-></span><span class="normal">label</span><span class="symbol">),</span>
|
1282
|
+
<span class="normal"> closure</span><span class="symbol">-></span><span class="normal">text</span><span class="symbol">);</span>
|
1283
|
+
|
1284
|
+
<span class="normal"> </span><span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">closure</span><span class="symbol">-></span><span class="normal">label</span><span class="symbol">);</span>
|
1285
|
+
<span class="normal"> </span><span class="function">g_free</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">closure</span><span class="symbol">);</span>
|
1286
|
+
|
1287
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> FALSE</span><span class="symbol">;</span>
|
1288
|
+
<span class="cbracket">}</span>
|
1289
|
+
|
1290
|
+
<span class="normal"> </span><span class="comment">// within another thread //</span>
|
1291
|
+
<span class="normal"> closure </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_new0</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">SomeClosure</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">);</span>
|
1292
|
+
<span class="normal"> </span><span class="comment">// always take a reference on GObject instances //</span>
|
1293
|
+
<span class="normal"> closure</span><span class="symbol">-></span><span class="normal">label </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_object_ref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">my_application</span><span class="symbol">-></span><span class="normal">label</span><span class="symbol">);</span>
|
1294
|
+
<span class="normal"> closure</span><span class="symbol">-></span><span class="normal">text </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_strdup</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">processed_text_to_update_the_label</span><span class="symbol">);</span>
|
1295
|
+
|
1296
|
+
<span class="normal"> </span><span class="function"><a href="clutter-General.html#clutter-threads-add-idle-full">clutter_threads_add_idle_full</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">G_PRIORITY_HIGH_IDLE</span><span class="symbol">,</span>
|
1297
|
+
<span class="normal"> update_ui</span><span class="symbol">,</span>
|
1298
|
+
<span class="normal"> closure</span><span class="symbol">,</span>
|
1299
|
+
<span class="normal"> NULL</span><span class="symbol">);</span></pre></td>
|
1300
|
+
</tr>
|
1301
|
+
</tbody>
|
1302
|
+
</table>
|
1303
|
+
</div>
|
1304
|
+
|
1305
|
+
<p></p>
|
1306
|
+
<p>Rename to: clutter_threads_add_idle</p>
|
1307
|
+
<div class="refsect3">
|
1308
|
+
<a name="id-1.7.2.9.6.30.12"></a><h4>Parameters</h4>
|
1309
|
+
<div class="informaltable"><table width="100%" border="0">
|
1310
|
+
<colgroup>
|
1311
|
+
<col width="150px" class="parameters_name">
|
1312
|
+
<col class="parameters_description">
|
1313
|
+
<col width="200px" class="parameters_annotations">
|
1314
|
+
</colgroup>
|
1315
|
+
<tbody>
|
1316
|
+
<tr>
|
1317
|
+
<td class="parameter_name"><p>priority</p></td>
|
1318
|
+
<td class="parameter_description"><p>the priority of the timeout source. Typically this will be in the
|
1319
|
+
range between <span class="type">G_PRIORITY_DEFAULT_IDLE</span> and <span class="type">G_PRIORITY_HIGH_IDLE</span></p></td>
|
1320
|
+
<td class="parameter_annotations"> </td>
|
1321
|
+
</tr>
|
1322
|
+
<tr>
|
1323
|
+
<td class="parameter_name"><p>func</p></td>
|
1324
|
+
<td class="parameter_description"><p>function to call</p></td>
|
1325
|
+
<td class="parameter_annotations"> </td>
|
1326
|
+
</tr>
|
1327
|
+
<tr>
|
1328
|
+
<td class="parameter_name"><p>data</p></td>
|
1329
|
+
<td class="parameter_description"><p>data to pass to the function</p></td>
|
1330
|
+
<td class="parameter_annotations"> </td>
|
1331
|
+
</tr>
|
1332
|
+
<tr>
|
1333
|
+
<td class="parameter_name"><p>notify</p></td>
|
1334
|
+
<td class="parameter_description"><p>functio to call when the idle source is removed</p></td>
|
1335
|
+
<td class="parameter_annotations"> </td>
|
1336
|
+
</tr>
|
1337
|
+
</tbody>
|
1338
|
+
</table></div>
|
1339
|
+
</div>
|
1340
|
+
<div class="refsect3">
|
1341
|
+
<a name="id-1.7.2.9.6.30.13"></a><h4>Returns</h4>
|
1342
|
+
<p> the ID (greater than 0) of the event source.</p>
|
1343
|
+
<p></p>
|
1344
|
+
</div>
|
1345
|
+
<p class="since">Since 0.4</p>
|
1346
|
+
</div>
|
1347
|
+
<hr>
|
1348
|
+
<div class="refsect2">
|
1349
|
+
<a name="clutter-threads-add-timeout"></a><h3>clutter_threads_add_timeout ()</h3>
|
1350
|
+
<pre class="programlisting"><span class="returnvalue">guint</span>
|
1351
|
+
clutter_threads_add_timeout (<em class="parameter"><code><span class="type">guint</span> interval</code></em>,
|
1352
|
+
<em class="parameter"><code><span class="type">GSourceFunc</span> func</code></em>,
|
1353
|
+
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
|
1354
|
+
<p>Simple wrapper around <a class="link" href="clutter-General.html#clutter-threads-add-timeout-full" title="clutter_threads_add_timeout_full ()"><code class="function">clutter_threads_add_timeout_full()</code></a>.</p>
|
1355
|
+
<div class="refsect3">
|
1356
|
+
<a name="id-1.7.2.9.6.31.5"></a><h4>Parameters</h4>
|
1357
|
+
<div class="informaltable"><table width="100%" border="0">
|
1358
|
+
<colgroup>
|
1359
|
+
<col width="150px" class="parameters_name">
|
1360
|
+
<col class="parameters_description">
|
1361
|
+
<col width="200px" class="parameters_annotations">
|
1362
|
+
</colgroup>
|
1363
|
+
<tbody>
|
1364
|
+
<tr>
|
1365
|
+
<td class="parameter_name"><p>interval</p></td>
|
1366
|
+
<td class="parameter_description"><p>the time between calls to the function, in milliseconds</p></td>
|
1367
|
+
<td class="parameter_annotations"> </td>
|
1368
|
+
</tr>
|
1369
|
+
<tr>
|
1370
|
+
<td class="parameter_name"><p>func</p></td>
|
1371
|
+
<td class="parameter_description"><p>function to call</p></td>
|
1372
|
+
<td class="parameter_annotations"> </td>
|
1373
|
+
</tr>
|
1374
|
+
<tr>
|
1375
|
+
<td class="parameter_name"><p>data</p></td>
|
1376
|
+
<td class="parameter_description"><p>data to pass to the function</p></td>
|
1377
|
+
<td class="parameter_annotations"> </td>
|
1378
|
+
</tr>
|
1379
|
+
</tbody>
|
1380
|
+
</table></div>
|
1381
|
+
</div>
|
1382
|
+
<div class="refsect3">
|
1383
|
+
<a name="id-1.7.2.9.6.31.6"></a><h4>Returns</h4>
|
1384
|
+
<p> the ID (greater than 0) of the event source.</p>
|
1385
|
+
<p></p>
|
1386
|
+
</div>
|
1387
|
+
<p class="since">Since 0.4</p>
|
1388
|
+
</div>
|
1389
|
+
<hr>
|
1390
|
+
<div class="refsect2">
|
1391
|
+
<a name="clutter-threads-add-timeout-full"></a><h3>clutter_threads_add_timeout_full ()</h3>
|
1392
|
+
<pre class="programlisting"><span class="returnvalue">guint</span>
|
1393
|
+
clutter_threads_add_timeout_full (<em class="parameter"><code><span class="type">gint</span> priority</code></em>,
|
1394
|
+
<em class="parameter"><code><span class="type">guint</span> interval</code></em>,
|
1395
|
+
<em class="parameter"><code><span class="type">GSourceFunc</span> func</code></em>,
|
1396
|
+
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
|
1397
|
+
<em class="parameter"><code><span class="type">GDestroyNotify</span> notify</code></em>);</pre>
|
1398
|
+
<p>Sets a function to be called at regular intervals holding the Clutter
|
1399
|
+
threads lock, with the given priority. The function is called repeatedly
|
1400
|
+
until it returns <code class="literal">FALSE</code>, at which point the timeout is automatically
|
1401
|
+
removed and the function will not be called again. The <em class="parameter"><code>notify</code></em>
|
1402
|
+
function
|
1403
|
+
is called when the timeout is removed.</p>
|
1404
|
+
<p>The first call to the function will be at the end of the first <em class="parameter"><code>interval</code></em>
|
1405
|
+
.</p>
|
1406
|
+
<p>It is important to note that, due to how the Clutter main loop is
|
1407
|
+
implemented, the timing will not be accurate and it will not try to
|
1408
|
+
"keep up" with the interval.</p>
|
1409
|
+
<p>See also <a class="link" href="clutter-General.html#clutter-threads-add-idle-full" title="clutter_threads_add_idle_full ()"><code class="function">clutter_threads_add_idle_full()</code></a>.</p>
|
1410
|
+
<p>Rename to: clutter_threads_add_timeout</p>
|
1411
|
+
<div class="refsect3">
|
1412
|
+
<a name="id-1.7.2.9.6.32.9"></a><h4>Parameters</h4>
|
1413
|
+
<div class="informaltable"><table width="100%" border="0">
|
1414
|
+
<colgroup>
|
1415
|
+
<col width="150px" class="parameters_name">
|
1416
|
+
<col class="parameters_description">
|
1417
|
+
<col width="200px" class="parameters_annotations">
|
1418
|
+
</colgroup>
|
1419
|
+
<tbody>
|
1420
|
+
<tr>
|
1421
|
+
<td class="parameter_name"><p>priority</p></td>
|
1422
|
+
<td class="parameter_description"><p>the priority of the timeout source. Typically this will be in the
|
1423
|
+
range between <span class="type">G_PRIORITY_DEFAULT</span> and <span class="type">G_PRIORITY_HIGH</span>.</p></td>
|
1424
|
+
<td class="parameter_annotations"> </td>
|
1425
|
+
</tr>
|
1426
|
+
<tr>
|
1427
|
+
<td class="parameter_name"><p>interval</p></td>
|
1428
|
+
<td class="parameter_description"><p>the time between calls to the function, in milliseconds</p></td>
|
1429
|
+
<td class="parameter_annotations"> </td>
|
1430
|
+
</tr>
|
1431
|
+
<tr>
|
1432
|
+
<td class="parameter_name"><p>func</p></td>
|
1433
|
+
<td class="parameter_description"><p>function to call</p></td>
|
1434
|
+
<td class="parameter_annotations"> </td>
|
1435
|
+
</tr>
|
1436
|
+
<tr>
|
1437
|
+
<td class="parameter_name"><p>data</p></td>
|
1438
|
+
<td class="parameter_description"><p>data to pass to the function</p></td>
|
1439
|
+
<td class="parameter_annotations"> </td>
|
1440
|
+
</tr>
|
1441
|
+
<tr>
|
1442
|
+
<td class="parameter_name"><p>notify</p></td>
|
1443
|
+
<td class="parameter_description"><p>function to call when the timeout source is removed</p></td>
|
1444
|
+
<td class="parameter_annotations"> </td>
|
1445
|
+
</tr>
|
1446
|
+
</tbody>
|
1447
|
+
</table></div>
|
1448
|
+
</div>
|
1449
|
+
<div class="refsect3">
|
1450
|
+
<a name="id-1.7.2.9.6.32.10"></a><h4>Returns</h4>
|
1451
|
+
<p> the ID (greater than 0) of the event source.</p>
|
1452
|
+
<p></p>
|
1453
|
+
</div>
|
1454
|
+
<p class="since">Since 0.4</p>
|
1455
|
+
</div>
|
1456
|
+
<hr>
|
1457
|
+
<div class="refsect2">
|
1458
|
+
<a name="clutter-threads-add-frame-source"></a><h3>clutter_threads_add_frame_source ()</h3>
|
1459
|
+
<pre class="programlisting"><span class="returnvalue">guint</span>
|
1460
|
+
clutter_threads_add_frame_source (<em class="parameter"><code><span class="type">guint</span> fps</code></em>,
|
1461
|
+
<em class="parameter"><code><span class="type">GSourceFunc</span> func</code></em>,
|
1462
|
+
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
|
1463
|
+
<div class="warning"><p><code class="literal">clutter_threads_add_frame_source</code> has been deprecated since version 1.6 and should not be used in newly-written code.</p></div>
|
1464
|
+
<p>Simple wrapper around <a class="link" href="clutter-General.html#clutter-threads-add-frame-source-full" title="clutter_threads_add_frame_source_full ()"><code class="function">clutter_threads_add_frame_source_full()</code></a>.</p>
|
1465
|
+
<div class="refsect3">
|
1466
|
+
<a name="id-1.7.2.9.6.33.7"></a><h4>Parameters</h4>
|
1467
|
+
<div class="informaltable"><table width="100%" border="0">
|
1468
|
+
<colgroup>
|
1469
|
+
<col width="150px" class="parameters_name">
|
1470
|
+
<col class="parameters_description">
|
1471
|
+
<col width="200px" class="parameters_annotations">
|
1472
|
+
</colgroup>
|
1473
|
+
<tbody>
|
1474
|
+
<tr>
|
1475
|
+
<td class="parameter_name"><p>fps</p></td>
|
1476
|
+
<td class="parameter_description"><p>the number of times per second to call the function</p></td>
|
1477
|
+
<td class="parameter_annotations"> </td>
|
1478
|
+
</tr>
|
1479
|
+
<tr>
|
1480
|
+
<td class="parameter_name"><p>func</p></td>
|
1481
|
+
<td class="parameter_description"><p>function to call</p></td>
|
1482
|
+
<td class="parameter_annotations"> </td>
|
1483
|
+
</tr>
|
1484
|
+
<tr>
|
1485
|
+
<td class="parameter_name"><p>data</p></td>
|
1486
|
+
<td class="parameter_description"><p>data to pass to the function</p></td>
|
1487
|
+
<td class="parameter_annotations"> </td>
|
1488
|
+
</tr>
|
1489
|
+
</tbody>
|
1490
|
+
</table></div>
|
1491
|
+
</div>
|
1492
|
+
<div class="refsect3">
|
1493
|
+
<a name="id-1.7.2.9.6.33.8"></a><h4>Returns</h4>
|
1494
|
+
<p> the ID (greater than 0) of the event source.</p>
|
1495
|
+
<p></p>
|
1496
|
+
</div>
|
1497
|
+
<p class="since">Since 0.8</p>
|
1498
|
+
</div>
|
1499
|
+
<hr>
|
1500
|
+
<div class="refsect2">
|
1501
|
+
<a name="clutter-threads-add-frame-source-full"></a><h3>clutter_threads_add_frame_source_full ()</h3>
|
1502
|
+
<pre class="programlisting"><span class="returnvalue">guint</span>
|
1503
|
+
clutter_threads_add_frame_source_full (<em class="parameter"><code><span class="type">gint</span> priority</code></em>,
|
1504
|
+
<em class="parameter"><code><span class="type">guint</span> fps</code></em>,
|
1505
|
+
<em class="parameter"><code><span class="type">GSourceFunc</span> func</code></em>,
|
1506
|
+
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
|
1507
|
+
<em class="parameter"><code><span class="type">GDestroyNotify</span> notify</code></em>);</pre>
|
1508
|
+
<div class="warning"><p><code class="literal">clutter_threads_add_frame_source_full</code> has been deprecated since version 1.6 and should not be used in newly-written code.</p></div>
|
1509
|
+
<p>Sets a function to be called at regular intervals holding the Clutter
|
1510
|
+
threads lock, with the given priority. The function is called repeatedly
|
1511
|
+
until it returns <code class="literal">FALSE</code>, at which point the timeout is automatically
|
1512
|
+
removed and the function will not be called again. The <em class="parameter"><code>notify</code></em>
|
1513
|
+
function
|
1514
|
+
is called when the timeout is removed.</p>
|
1515
|
+
<p>This function is similar to <a class="link" href="clutter-General.html#clutter-threads-add-timeout-full" title="clutter_threads_add_timeout_full ()"><code class="function">clutter_threads_add_timeout_full()</code></a>
|
1516
|
+
except that it will try to compensate for delays. For example, if
|
1517
|
+
<em class="parameter"><code>func</code></em>
|
1518
|
+
takes half the interval time to execute then the function
|
1519
|
+
will be called again half the interval time after it finished. In
|
1520
|
+
contrast <a class="link" href="clutter-General.html#clutter-threads-add-timeout-full" title="clutter_threads_add_timeout_full ()"><code class="function">clutter_threads_add_timeout_full()</code></a> would not fire until a
|
1521
|
+
full interval after the function completes so the delay between
|
1522
|
+
calls would be <em class="parameter"><code>interval</code></em>
|
1523
|
+
* 1.5. This function does not however try
|
1524
|
+
to invoke the function multiple times to catch up missing frames if
|
1525
|
+
<em class="parameter"><code>func</code></em>
|
1526
|
+
takes more than <em class="parameter"><code>interval</code></em>
|
1527
|
+
ms to execute.</p>
|
1528
|
+
<p>See also <a class="link" href="clutter-General.html#clutter-threads-add-idle-full" title="clutter_threads_add_idle_full ()"><code class="function">clutter_threads_add_idle_full()</code></a>.</p>
|
1529
|
+
<p>Rename to: clutter_threads_add_frame_source</p>
|
1530
|
+
<div class="refsect3">
|
1531
|
+
<a name="id-1.7.2.9.6.34.10"></a><h4>Parameters</h4>
|
1532
|
+
<div class="informaltable"><table width="100%" border="0">
|
1533
|
+
<colgroup>
|
1534
|
+
<col width="150px" class="parameters_name">
|
1535
|
+
<col class="parameters_description">
|
1536
|
+
<col width="200px" class="parameters_annotations">
|
1537
|
+
</colgroup>
|
1538
|
+
<tbody>
|
1539
|
+
<tr>
|
1540
|
+
<td class="parameter_name"><p>priority</p></td>
|
1541
|
+
<td class="parameter_description"><p>the priority of the frame source. Typically this will be in the
|
1542
|
+
range between <code class="literal">G_PRIORITY_DEFAULT</code> and <code class="literal">G_PRIORITY_HIGH</code>.</p></td>
|
1543
|
+
<td class="parameter_annotations"> </td>
|
1544
|
+
</tr>
|
1545
|
+
<tr>
|
1546
|
+
<td class="parameter_name"><p>fps</p></td>
|
1547
|
+
<td class="parameter_description"><p>the number of times per second to call the function</p></td>
|
1548
|
+
<td class="parameter_annotations"> </td>
|
1549
|
+
</tr>
|
1550
|
+
<tr>
|
1551
|
+
<td class="parameter_name"><p>func</p></td>
|
1552
|
+
<td class="parameter_description"><p>function to call</p></td>
|
1553
|
+
<td class="parameter_annotations"> </td>
|
1554
|
+
</tr>
|
1555
|
+
<tr>
|
1556
|
+
<td class="parameter_name"><p>data</p></td>
|
1557
|
+
<td class="parameter_description"><p>data to pass to the function</p></td>
|
1558
|
+
<td class="parameter_annotations"> </td>
|
1559
|
+
</tr>
|
1560
|
+
<tr>
|
1561
|
+
<td class="parameter_name"><p>notify</p></td>
|
1562
|
+
<td class="parameter_description"><p>function to call when the timeout source is removed</p></td>
|
1563
|
+
<td class="parameter_annotations"> </td>
|
1564
|
+
</tr>
|
1565
|
+
</tbody>
|
1566
|
+
</table></div>
|
1567
|
+
</div>
|
1568
|
+
<div class="refsect3">
|
1569
|
+
<a name="id-1.7.2.9.6.34.11"></a><h4>Returns</h4>
|
1570
|
+
<p> the ID (greater than 0) of the event source.</p>
|
1571
|
+
<p></p>
|
1572
|
+
</div>
|
1573
|
+
<p class="since">Since 0.8</p>
|
1574
|
+
</div>
|
1575
|
+
<hr>
|
1576
|
+
<div class="refsect2">
|
1577
|
+
<a name="clutter-threads-add-repaint-func"></a><h3>clutter_threads_add_repaint_func ()</h3>
|
1578
|
+
<pre class="programlisting"><span class="returnvalue">guint</span>
|
1579
|
+
clutter_threads_add_repaint_func (<em class="parameter"><code><span class="type">GSourceFunc</span> func</code></em>,
|
1580
|
+
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
|
1581
|
+
<em class="parameter"><code><span class="type">GDestroyNotify</span> notify</code></em>);</pre>
|
1582
|
+
<p>Adds a function to be called whenever Clutter is processing a new
|
1583
|
+
frame.</p>
|
1584
|
+
<p>If the function returns <code class="literal">FALSE</code> it is automatically removed from the
|
1585
|
+
list of repaint functions and will not be called again.</p>
|
1586
|
+
<p>This function is guaranteed to be called from within the same thread
|
1587
|
+
that called <a class="link" href="clutter-General.html#clutter-main" title="clutter_main ()"><code class="function">clutter_main()</code></a>, and while the Clutter lock is being held;
|
1588
|
+
the function will be called within the main loop, so it is imperative
|
1589
|
+
that it does not block, otherwise the frame time budget may be lost.</p>
|
1590
|
+
<p>A repaint function is useful to ensure that an update of the scenegraph
|
1591
|
+
is performed before the scenegraph is repainted; for instance, uploading
|
1592
|
+
a frame from a video into a <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a>. By default, a repaint
|
1593
|
+
function added using this function will be invoked prior to the frame
|
1594
|
+
being processed.</p>
|
1595
|
+
<p>Adding a repaint function does not automatically ensure that a new
|
1596
|
+
frame will be queued.</p>
|
1597
|
+
<p>When the repaint function is removed (either because it returned <code class="literal">FALSE</code>
|
1598
|
+
or because <a class="link" href="clutter-General.html#clutter-threads-remove-repaint-func" title="clutter_threads_remove_repaint_func ()"><code class="function">clutter_threads_remove_repaint_func()</code></a> has been called) the
|
1599
|
+
<em class="parameter"><code>notify</code></em>
|
1600
|
+
function will be called, if any is set.</p>
|
1601
|
+
<p>See also: <a class="link" href="clutter-General.html#clutter-threads-add-repaint-func-full" title="clutter_threads_add_repaint_func_full ()"><code class="function">clutter_threads_add_repaint_func_full()</code></a></p>
|
1602
|
+
<div class="refsect3">
|
1603
|
+
<a name="id-1.7.2.9.6.35.11"></a><h4>Parameters</h4>
|
1604
|
+
<div class="informaltable"><table width="100%" border="0">
|
1605
|
+
<colgroup>
|
1606
|
+
<col width="150px" class="parameters_name">
|
1607
|
+
<col class="parameters_description">
|
1608
|
+
<col width="200px" class="parameters_annotations">
|
1609
|
+
</colgroup>
|
1610
|
+
<tbody>
|
1611
|
+
<tr>
|
1612
|
+
<td class="parameter_name"><p>func</p></td>
|
1613
|
+
<td class="parameter_description"><p>the function to be called within the paint cycle</p></td>
|
1614
|
+
<td class="parameter_annotations"> </td>
|
1615
|
+
</tr>
|
1616
|
+
<tr>
|
1617
|
+
<td class="parameter_name"><p>data</p></td>
|
1618
|
+
<td class="parameter_description"><p>data to be passed to the function, or <code class="literal">NULL</code></p></td>
|
1619
|
+
<td class="parameter_annotations"> </td>
|
1620
|
+
</tr>
|
1621
|
+
<tr>
|
1622
|
+
<td class="parameter_name"><p>notify</p></td>
|
1623
|
+
<td class="parameter_description"><p>function to be called when removing the repaint
|
1624
|
+
function, or <code class="literal">NULL</code></p></td>
|
1625
|
+
<td class="parameter_annotations"> </td>
|
1626
|
+
</tr>
|
1627
|
+
</tbody>
|
1628
|
+
</table></div>
|
1629
|
+
</div>
|
1630
|
+
<div class="refsect3">
|
1631
|
+
<a name="id-1.7.2.9.6.35.12"></a><h4>Returns</h4>
|
1632
|
+
<p> the ID (greater than 0) of the repaint function. You
|
1633
|
+
can use the returned integer to remove the repaint function by
|
1634
|
+
calling <a class="link" href="clutter-General.html#clutter-threads-remove-repaint-func" title="clutter_threads_remove_repaint_func ()"><code class="function">clutter_threads_remove_repaint_func()</code></a>.</p>
|
1635
|
+
<p></p>
|
1636
|
+
</div>
|
1637
|
+
<p class="since">Since 1.0</p>
|
1638
|
+
</div>
|
1639
|
+
<hr>
|
1640
|
+
<div class="refsect2">
|
1641
|
+
<a name="clutter-threads-add-repaint-func-full"></a><h3>clutter_threads_add_repaint_func_full ()</h3>
|
1642
|
+
<pre class="programlisting"><span class="returnvalue">guint</span>
|
1643
|
+
clutter_threads_add_repaint_func_full (<em class="parameter"><code><a class="link" href="clutter-General.html#ClutterRepaintFlags" title="enum ClutterRepaintFlags"><span class="type">ClutterRepaintFlags</span></a> flags</code></em>,
|
1644
|
+
<em class="parameter"><code><span class="type">GSourceFunc</span> func</code></em>,
|
1645
|
+
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
|
1646
|
+
<em class="parameter"><code><span class="type">GDestroyNotify</span> notify</code></em>);</pre>
|
1647
|
+
<p>Adds a function to be called whenever Clutter is processing a new
|
1648
|
+
frame.</p>
|
1649
|
+
<p>If the function returns <code class="literal">FALSE</code> it is automatically removed from the
|
1650
|
+
list of repaint functions and will not be called again.</p>
|
1651
|
+
<p>This function is guaranteed to be called from within the same thread
|
1652
|
+
that called <a class="link" href="clutter-General.html#clutter-main" title="clutter_main ()"><code class="function">clutter_main()</code></a>, and while the Clutter lock is being held;
|
1653
|
+
the function will be called within the main loop, so it is imperative
|
1654
|
+
that it does not block, otherwise the frame time budget may be lost.</p>
|
1655
|
+
<p>A repaint function is useful to ensure that an update of the scenegraph
|
1656
|
+
is performed before the scenegraph is repainted; for instance, uploading
|
1657
|
+
a frame from a video into a <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a>. The <em class="parameter"><code>flags</code></em>
|
1658
|
+
passed to this
|
1659
|
+
function will determine the section of the frame processing that will
|
1660
|
+
result in <em class="parameter"><code>func</code></em>
|
1661
|
+
being called.</p>
|
1662
|
+
<p>Adding a repaint function does not automatically ensure that a new
|
1663
|
+
frame will be queued.</p>
|
1664
|
+
<p>When the repaint function is removed (either because it returned <code class="literal">FALSE</code>
|
1665
|
+
or because <a class="link" href="clutter-General.html#clutter-threads-remove-repaint-func" title="clutter_threads_remove_repaint_func ()"><code class="function">clutter_threads_remove_repaint_func()</code></a> has been called) the
|
1666
|
+
<em class="parameter"><code>notify</code></em>
|
1667
|
+
function will be called, if any is set.</p>
|
1668
|
+
<div class="refsect3">
|
1669
|
+
<a name="id-1.7.2.9.6.36.10"></a><h4>Parameters</h4>
|
1670
|
+
<div class="informaltable"><table width="100%" border="0">
|
1671
|
+
<colgroup>
|
1672
|
+
<col width="150px" class="parameters_name">
|
1673
|
+
<col class="parameters_description">
|
1674
|
+
<col width="200px" class="parameters_annotations">
|
1675
|
+
</colgroup>
|
1676
|
+
<tbody>
|
1677
|
+
<tr>
|
1678
|
+
<td class="parameter_name"><p>flags</p></td>
|
1679
|
+
<td class="parameter_description"><p>flags for the repaint function</p></td>
|
1680
|
+
<td class="parameter_annotations"> </td>
|
1681
|
+
</tr>
|
1682
|
+
<tr>
|
1683
|
+
<td class="parameter_name"><p>func</p></td>
|
1684
|
+
<td class="parameter_description"><p>the function to be called within the paint cycle</p></td>
|
1685
|
+
<td class="parameter_annotations"> </td>
|
1686
|
+
</tr>
|
1687
|
+
<tr>
|
1688
|
+
<td class="parameter_name"><p>data</p></td>
|
1689
|
+
<td class="parameter_description"><p>data to be passed to the function, or <code class="literal">NULL</code></p></td>
|
1690
|
+
<td class="parameter_annotations"> </td>
|
1691
|
+
</tr>
|
1692
|
+
<tr>
|
1693
|
+
<td class="parameter_name"><p>notify</p></td>
|
1694
|
+
<td class="parameter_description"><p>function to be called when removing the repaint
|
1695
|
+
function, or <code class="literal">NULL</code></p></td>
|
1696
|
+
<td class="parameter_annotations"> </td>
|
1697
|
+
</tr>
|
1698
|
+
</tbody>
|
1699
|
+
</table></div>
|
1700
|
+
</div>
|
1701
|
+
<div class="refsect3">
|
1702
|
+
<a name="id-1.7.2.9.6.36.11"></a><h4>Returns</h4>
|
1703
|
+
<p> the ID (greater than 0) of the repaint function. You
|
1704
|
+
can use the returned integer to remove the repaint function by
|
1705
|
+
calling <a class="link" href="clutter-General.html#clutter-threads-remove-repaint-func" title="clutter_threads_remove_repaint_func ()"><code class="function">clutter_threads_remove_repaint_func()</code></a>.</p>
|
1706
|
+
<p></p>
|
1707
|
+
</div>
|
1708
|
+
<p class="since">Since 1.10</p>
|
1709
|
+
</div>
|
1710
|
+
<hr>
|
1711
|
+
<div class="refsect2">
|
1712
|
+
<a name="clutter-threads-remove-repaint-func"></a><h3>clutter_threads_remove_repaint_func ()</h3>
|
1713
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1714
|
+
clutter_threads_remove_repaint_func (<em class="parameter"><code><span class="type">guint</span> handle_id</code></em>);</pre>
|
1715
|
+
<p>Removes the repaint function with <em class="parameter"><code>handle_id</code></em>
|
1716
|
+
as its id</p>
|
1717
|
+
<div class="refsect3">
|
1718
|
+
<a name="id-1.7.2.9.6.37.5"></a><h4>Parameters</h4>
|
1719
|
+
<div class="informaltable"><table width="100%" border="0">
|
1720
|
+
<colgroup>
|
1721
|
+
<col width="150px" class="parameters_name">
|
1722
|
+
<col class="parameters_description">
|
1723
|
+
<col width="200px" class="parameters_annotations">
|
1724
|
+
</colgroup>
|
1725
|
+
<tbody><tr>
|
1726
|
+
<td class="parameter_name"><p>handle_id</p></td>
|
1727
|
+
<td class="parameter_description"><p>an unsigned integer greater than zero</p></td>
|
1728
|
+
<td class="parameter_annotations"> </td>
|
1729
|
+
</tr></tbody>
|
1730
|
+
</table></div>
|
1731
|
+
</div>
|
1732
|
+
<p class="since">Since 1.0</p>
|
1733
|
+
</div>
|
1734
|
+
<hr>
|
1735
|
+
<div class="refsect2">
|
1736
|
+
<a name="clutter-get-keyboard-grab"></a><h3>clutter_get_keyboard_grab ()</h3>
|
1737
|
+
<pre class="programlisting"><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> *
|
1738
|
+
clutter_get_keyboard_grab (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1739
|
+
<p>Queries the current keyboard grab of clutter.</p>
|
1740
|
+
<div class="refsect3">
|
1741
|
+
<a name="id-1.7.2.9.6.38.5"></a><h4>Returns</h4>
|
1742
|
+
<p> the actor currently holding the keyboard grab, or NULL if there is no grab. </p>
|
1743
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1744
|
+
</div>
|
1745
|
+
<p class="since">Since 0.6</p>
|
1746
|
+
</div>
|
1747
|
+
<hr>
|
1748
|
+
<div class="refsect2">
|
1749
|
+
<a name="clutter-get-pointer-grab"></a><h3>clutter_get_pointer_grab ()</h3>
|
1750
|
+
<pre class="programlisting"><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> *
|
1751
|
+
clutter_get_pointer_grab (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1752
|
+
<p>Queries the current pointer grab of clutter.</p>
|
1753
|
+
<div class="refsect3">
|
1754
|
+
<a name="id-1.7.2.9.6.39.5"></a><h4>Returns</h4>
|
1755
|
+
<p> the actor currently holding the pointer grab, or NULL if there is no grab. </p>
|
1756
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1757
|
+
</div>
|
1758
|
+
<p class="since">Since 0.6</p>
|
1759
|
+
</div>
|
1760
|
+
<hr>
|
1761
|
+
<div class="refsect2">
|
1762
|
+
<a name="clutter-grab-keyboard"></a><h3>clutter_grab_keyboard ()</h3>
|
1763
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1764
|
+
clutter_grab_keyboard (<em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor</code></em>);</pre>
|
1765
|
+
<p>Grabs keyboard events, after the grab is done keyboard
|
1766
|
+
events (<a class="link" href="ClutterActor.html#ClutterActor-key-press-event" title="The “key-press-event” signal"><span class="type">“key-press-event”</span></a> and <a class="link" href="ClutterActor.html#ClutterActor-key-release-event" title="The “key-release-event” signal"><span class="type">“key-release-event”</span></a>)
|
1767
|
+
are delivered to this actor directly. The source set in the event will be
|
1768
|
+
the actor that would have received the event if the keyboard grab was not
|
1769
|
+
in effect.</p>
|
1770
|
+
<p>Like pointer grabs, keyboard grabs should only be used as a last
|
1771
|
+
resource.</p>
|
1772
|
+
<p>See also <a class="link" href="ClutterStage.html#clutter-stage-set-key-focus" title="clutter_stage_set_key_focus ()"><code class="function">clutter_stage_set_key_focus()</code></a> and <a class="link" href="ClutterActor.html#clutter-actor-grab-key-focus" title="clutter_actor_grab_key_focus ()"><code class="function">clutter_actor_grab_key_focus()</code></a>
|
1773
|
+
to perform a "soft" key grab and assign key focus to a specific actor.</p>
|
1774
|
+
<div class="refsect3">
|
1775
|
+
<a name="id-1.7.2.9.6.40.7"></a><h4>Parameters</h4>
|
1776
|
+
<div class="informaltable"><table width="100%" border="0">
|
1777
|
+
<colgroup>
|
1778
|
+
<col width="150px" class="parameters_name">
|
1779
|
+
<col class="parameters_description">
|
1780
|
+
<col width="200px" class="parameters_annotations">
|
1781
|
+
</colgroup>
|
1782
|
+
<tbody><tr>
|
1783
|
+
<td class="parameter_name"><p>actor</p></td>
|
1784
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a></p></td>
|
1785
|
+
<td class="parameter_annotations"> </td>
|
1786
|
+
</tr></tbody>
|
1787
|
+
</table></div>
|
1788
|
+
</div>
|
1789
|
+
<p class="since">Since 0.6</p>
|
1790
|
+
</div>
|
1791
|
+
<hr>
|
1792
|
+
<div class="refsect2">
|
1793
|
+
<a name="clutter-grab-pointer"></a><h3>clutter_grab_pointer ()</h3>
|
1794
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1795
|
+
clutter_grab_pointer (<em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor</code></em>);</pre>
|
1796
|
+
<p>Grabs pointer events, after the grab is done all pointer related events
|
1797
|
+
(press, motion, release, enter, leave and scroll) are delivered to this
|
1798
|
+
actor directly without passing through both capture and bubble phases of
|
1799
|
+
the event delivery chain. The source set in the event will be the actor
|
1800
|
+
that would have received the event if the pointer grab was not in effect.</p>
|
1801
|
+
<p>Grabs completely override the entire event delivery chain
|
1802
|
+
done by Clutter. Pointer grabs should only be used as a last resource;
|
1803
|
+
using the <a class="link" href="ClutterActor.html#ClutterActor-captured-event" title="The “captured-event” signal"><span class="type">“captured-event”</span></a> signal should always be the
|
1804
|
+
preferred way to intercept event delivery to reactive actors.</p>
|
1805
|
+
<p>This function should rarely be used.</p>
|
1806
|
+
<p>If a grab is required, you are strongly encouraged to use a specific
|
1807
|
+
input device by calling <a class="link" href="ClutterInputDevice.html#clutter-input-device-grab" title="clutter_input_device_grab ()"><code class="function">clutter_input_device_grab()</code></a>.</p>
|
1808
|
+
<div class="refsect3">
|
1809
|
+
<a name="id-1.7.2.9.6.41.8"></a><h4>Parameters</h4>
|
1810
|
+
<div class="informaltable"><table width="100%" border="0">
|
1811
|
+
<colgroup>
|
1812
|
+
<col width="150px" class="parameters_name">
|
1813
|
+
<col class="parameters_description">
|
1814
|
+
<col width="200px" class="parameters_annotations">
|
1815
|
+
</colgroup>
|
1816
|
+
<tbody><tr>
|
1817
|
+
<td class="parameter_name"><p>actor</p></td>
|
1818
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a></p></td>
|
1819
|
+
<td class="parameter_annotations"> </td>
|
1820
|
+
</tr></tbody>
|
1821
|
+
</table></div>
|
1822
|
+
</div>
|
1823
|
+
<p class="since">Since 0.6</p>
|
1824
|
+
</div>
|
1825
|
+
<hr>
|
1826
|
+
<div class="refsect2">
|
1827
|
+
<a name="clutter-ungrab-keyboard"></a><h3>clutter_ungrab_keyboard ()</h3>
|
1828
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1829
|
+
clutter_ungrab_keyboard (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1830
|
+
<p>Removes an existing grab of the keyboard.</p>
|
1831
|
+
<p class="since">Since 0.6</p>
|
1832
|
+
</div>
|
1833
|
+
<hr>
|
1834
|
+
<div class="refsect2">
|
1835
|
+
<a name="clutter-ungrab-pointer"></a><h3>clutter_ungrab_pointer ()</h3>
|
1836
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1837
|
+
clutter_ungrab_pointer (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1838
|
+
<p>Removes an existing grab of the pointer.</p>
|
1839
|
+
<p class="since">Since 0.6</p>
|
1840
|
+
</div>
|
1841
|
+
<hr>
|
1842
|
+
<div class="refsect2">
|
1843
|
+
<a name="clutter-grab-pointer-for-device"></a><h3>clutter_grab_pointer_for_device ()</h3>
|
1844
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1845
|
+
clutter_grab_pointer_for_device (<em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor</code></em>,
|
1846
|
+
<em class="parameter"><code><span class="type">gint</span> id_</code></em>);</pre>
|
1847
|
+
<div class="warning">
|
1848
|
+
<p><code class="literal">clutter_grab_pointer_for_device</code> has been deprecated since version 1.10 and should not be used in newly-written code.</p>
|
1849
|
+
<p>Use <a class="link" href="ClutterInputDevice.html#clutter-input-device-grab" title="clutter_input_device_grab ()"><code class="function">clutter_input_device_grab()</code></a> instead.</p>
|
1850
|
+
</div>
|
1851
|
+
<p>Grabs all the pointer events coming from the device <em class="parameter"><code>id</code></em>
|
1852
|
+
for <em class="parameter"><code>actor</code></em>
|
1853
|
+
.</p>
|
1854
|
+
<p>If <em class="parameter"><code>id</code></em>
|
1855
|
+
is -1 then this function is equivalent to <a class="link" href="clutter-General.html#clutter-grab-pointer" title="clutter_grab_pointer ()"><code class="function">clutter_grab_pointer()</code></a>.</p>
|
1856
|
+
<div class="refsect3">
|
1857
|
+
<a name="id-1.7.2.9.6.44.8"></a><h4>Parameters</h4>
|
1858
|
+
<div class="informaltable"><table width="100%" border="0">
|
1859
|
+
<colgroup>
|
1860
|
+
<col width="150px" class="parameters_name">
|
1861
|
+
<col class="parameters_description">
|
1862
|
+
<col width="200px" class="parameters_annotations">
|
1863
|
+
</colgroup>
|
1864
|
+
<tbody>
|
1865
|
+
<tr>
|
1866
|
+
<td class="parameter_name"><p>actor</p></td>
|
1867
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a></p></td>
|
1868
|
+
<td class="parameter_annotations"> </td>
|
1869
|
+
</tr>
|
1870
|
+
<tr>
|
1871
|
+
<td class="parameter_name"><p>id_</p></td>
|
1872
|
+
<td class="parameter_description"><p>a device id, or -1</p></td>
|
1873
|
+
<td class="parameter_annotations"> </td>
|
1874
|
+
</tr>
|
1875
|
+
</tbody>
|
1876
|
+
</table></div>
|
1877
|
+
</div>
|
1878
|
+
<p class="since">Since 0.8</p>
|
1879
|
+
</div>
|
1880
|
+
<hr>
|
1881
|
+
<div class="refsect2">
|
1882
|
+
<a name="clutter-ungrab-pointer-for-device"></a><h3>clutter_ungrab_pointer_for_device ()</h3>
|
1883
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1884
|
+
clutter_ungrab_pointer_for_device (<em class="parameter"><code><span class="type">gint</span> id_</code></em>);</pre>
|
1885
|
+
<div class="warning">
|
1886
|
+
<p><code class="literal">clutter_ungrab_pointer_for_device</code> has been deprecated since version 1.10 and should not be used in newly-written code.</p>
|
1887
|
+
<p>Use <a class="link" href="ClutterInputDevice.html#clutter-input-device-ungrab" title="clutter_input_device_ungrab ()"><code class="function">clutter_input_device_ungrab()</code></a> instead.</p>
|
1888
|
+
</div>
|
1889
|
+
<p>Removes an existing grab of the pointer events for device <em class="parameter"><code>id_</code></em>
|
1890
|
+
.</p>
|
1891
|
+
<div class="refsect3">
|
1892
|
+
<a name="id-1.7.2.9.6.45.7"></a><h4>Parameters</h4>
|
1893
|
+
<div class="informaltable"><table width="100%" border="0">
|
1894
|
+
<colgroup>
|
1895
|
+
<col width="150px" class="parameters_name">
|
1896
|
+
<col class="parameters_description">
|
1897
|
+
<col width="200px" class="parameters_annotations">
|
1898
|
+
</colgroup>
|
1899
|
+
<tbody><tr>
|
1900
|
+
<td class="parameter_name"><p>id_</p></td>
|
1901
|
+
<td class="parameter_description"><p>a device id</p></td>
|
1902
|
+
<td class="parameter_annotations"> </td>
|
1903
|
+
</tr></tbody>
|
1904
|
+
</table></div>
|
1905
|
+
</div>
|
1906
|
+
<p class="since">Since 0.8</p>
|
1907
|
+
</div>
|
1908
|
+
<hr>
|
1909
|
+
<div class="refsect2">
|
1910
|
+
<a name="clutter-do-event"></a><h3>clutter_do_event ()</h3>
|
1911
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1912
|
+
clutter_do_event (<em class="parameter"><code><a class="link" href="clutter-Events.html#ClutterEvent" title="union ClutterEvent"><span class="type">ClutterEvent</span></a> *event</code></em>);</pre>
|
1913
|
+
<p>Processes an event.</p>
|
1914
|
+
<p>The <em class="parameter"><code>event</code></em>
|
1915
|
+
must be a valid <a class="link" href="clutter-Events.html#ClutterEvent" title="union ClutterEvent"><span class="type">ClutterEvent</span></a> and have a <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
1916
|
+
associated to it.</p>
|
1917
|
+
<p>This function is only useful when embedding Clutter inside another
|
1918
|
+
toolkit, and it should never be called by applications.</p>
|
1919
|
+
<div class="refsect3">
|
1920
|
+
<a name="id-1.7.2.9.6.46.7"></a><h4>Parameters</h4>
|
1921
|
+
<div class="informaltable"><table width="100%" border="0">
|
1922
|
+
<colgroup>
|
1923
|
+
<col width="150px" class="parameters_name">
|
1924
|
+
<col class="parameters_description">
|
1925
|
+
<col width="200px" class="parameters_annotations">
|
1926
|
+
</colgroup>
|
1927
|
+
<tbody><tr>
|
1928
|
+
<td class="parameter_name"><p>event</p></td>
|
1929
|
+
<td class="parameter_description"><p>a <a class="link" href="clutter-Events.html#ClutterEvent" title="union ClutterEvent"><span class="type">ClutterEvent</span></a>.</p></td>
|
1930
|
+
<td class="parameter_annotations"> </td>
|
1931
|
+
</tr></tbody>
|
1932
|
+
</table></div>
|
1933
|
+
</div>
|
1934
|
+
<p class="since">Since 0.4</p>
|
1935
|
+
</div>
|
1936
|
+
</div>
|
1937
|
+
<div class="refsect1">
|
1938
|
+
<a name="clutter-General.other_details"></a><h2>Types and Values</h2>
|
1939
|
+
<div class="refsect2">
|
1940
|
+
<a name="ClutterInitError"></a><h3>enum ClutterInitError</h3>
|
1941
|
+
<p>Error conditions returned by <a class="link" href="clutter-General.html#clutter-init" title="clutter_init ()"><code class="function">clutter_init()</code></a> and <a class="link" href="clutter-General.html#clutter-init-with-args" title="clutter_init_with_args ()"><code class="function">clutter_init_with_args()</code></a>.</p>
|
1942
|
+
<div class="refsect3">
|
1943
|
+
<a name="id-1.7.2.9.7.2.4"></a><h4>Members</h4>
|
1944
|
+
<div class="informaltable"><table width="100%" border="0">
|
1945
|
+
<colgroup>
|
1946
|
+
<col width="300px" class="enum_members_name">
|
1947
|
+
<col class="enum_members_description">
|
1948
|
+
<col width="200px" class="enum_members_annotations">
|
1949
|
+
</colgroup>
|
1950
|
+
<tbody>
|
1951
|
+
<tr>
|
1952
|
+
<td class="enum_member_name"><p><a name="CLUTTER-INIT-SUCCESS:CAPS"></a>CLUTTER_INIT_SUCCESS</p></td>
|
1953
|
+
<td class="enum_member_description">
|
1954
|
+
<p>Initialisation successful</p>
|
1955
|
+
</td>
|
1956
|
+
<td class="enum_member_annotations"> </td>
|
1957
|
+
</tr>
|
1958
|
+
<tr>
|
1959
|
+
<td class="enum_member_name"><p><a name="CLUTTER-INIT-ERROR-UNKNOWN:CAPS"></a>CLUTTER_INIT_ERROR_UNKNOWN</p></td>
|
1960
|
+
<td class="enum_member_description">
|
1961
|
+
<p>Unknown error</p>
|
1962
|
+
</td>
|
1963
|
+
<td class="enum_member_annotations"> </td>
|
1964
|
+
</tr>
|
1965
|
+
<tr>
|
1966
|
+
<td class="enum_member_name"><p><a name="CLUTTER-INIT-ERROR-THREADS:CAPS"></a>CLUTTER_INIT_ERROR_THREADS</p></td>
|
1967
|
+
<td class="enum_member_description">
|
1968
|
+
<p>Thread initialisation failed</p>
|
1969
|
+
</td>
|
1970
|
+
<td class="enum_member_annotations"> </td>
|
1971
|
+
</tr>
|
1972
|
+
<tr>
|
1973
|
+
<td class="enum_member_name"><p><a name="CLUTTER-INIT-ERROR-BACKEND:CAPS"></a>CLUTTER_INIT_ERROR_BACKEND</p></td>
|
1974
|
+
<td class="enum_member_description">
|
1975
|
+
<p>Backend initialisation failed</p>
|
1976
|
+
</td>
|
1977
|
+
<td class="enum_member_annotations"> </td>
|
1978
|
+
</tr>
|
1979
|
+
<tr>
|
1980
|
+
<td class="enum_member_name"><p><a name="CLUTTER-INIT-ERROR-INTERNAL:CAPS"></a>CLUTTER_INIT_ERROR_INTERNAL</p></td>
|
1981
|
+
<td class="enum_member_description">
|
1982
|
+
<p>Internal error</p>
|
1983
|
+
</td>
|
1984
|
+
<td class="enum_member_annotations"> </td>
|
1985
|
+
</tr>
|
1986
|
+
</tbody>
|
1987
|
+
</table></div>
|
1988
|
+
</div>
|
1989
|
+
<p class="since">Since 0.2</p>
|
1990
|
+
</div>
|
1991
|
+
<hr>
|
1992
|
+
<div class="refsect2">
|
1993
|
+
<a name="ClutterFontFlags"></a><h3>enum ClutterFontFlags</h3>
|
1994
|
+
<p>Runtime flags to change the font quality. To be used with
|
1995
|
+
<a class="link" href="clutter-General.html#clutter-set-font-flags" title="clutter_set_font_flags ()"><code class="function">clutter_set_font_flags()</code></a>.</p>
|
1996
|
+
<div class="refsect3">
|
1997
|
+
<a name="id-1.7.2.9.7.3.4"></a><h4>Members</h4>
|
1998
|
+
<div class="informaltable"><table width="100%" border="0">
|
1999
|
+
<colgroup>
|
2000
|
+
<col width="300px" class="enum_members_name">
|
2001
|
+
<col class="enum_members_description">
|
2002
|
+
<col width="200px" class="enum_members_annotations">
|
2003
|
+
</colgroup>
|
2004
|
+
<tbody>
|
2005
|
+
<tr>
|
2006
|
+
<td class="enum_member_name"><p><a name="CLUTTER-FONT-MIPMAPPING:CAPS"></a>CLUTTER_FONT_MIPMAPPING</p></td>
|
2007
|
+
<td class="enum_member_description">
|
2008
|
+
<p>Set to use mipmaps for the glyph cache textures.</p>
|
2009
|
+
</td>
|
2010
|
+
<td class="enum_member_annotations"> </td>
|
2011
|
+
</tr>
|
2012
|
+
<tr>
|
2013
|
+
<td class="enum_member_name"><p><a name="CLUTTER-FONT-HINTING:CAPS"></a>CLUTTER_FONT_HINTING</p></td>
|
2014
|
+
<td class="enum_member_description">
|
2015
|
+
<p>Set to enable hinting on the glyphs.</p>
|
2016
|
+
</td>
|
2017
|
+
<td class="enum_member_annotations"> </td>
|
2018
|
+
</tr>
|
2019
|
+
</tbody>
|
2020
|
+
</table></div>
|
2021
|
+
</div>
|
2022
|
+
<p class="since">Since 1.0</p>
|
2023
|
+
</div>
|
2024
|
+
<hr>
|
2025
|
+
<div class="refsect2">
|
2026
|
+
<a name="ClutterTextDirection"></a><h3>enum ClutterTextDirection</h3>
|
2027
|
+
<p>The text direction to be used by <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a><!-- -->s</p>
|
2028
|
+
<div class="refsect3">
|
2029
|
+
<a name="id-1.7.2.9.7.4.4"></a><h4>Members</h4>
|
2030
|
+
<div class="informaltable"><table width="100%" border="0">
|
2031
|
+
<colgroup>
|
2032
|
+
<col width="300px" class="enum_members_name">
|
2033
|
+
<col class="enum_members_description">
|
2034
|
+
<col width="200px" class="enum_members_annotations">
|
2035
|
+
</colgroup>
|
2036
|
+
<tbody>
|
2037
|
+
<tr>
|
2038
|
+
<td class="enum_member_name"><p><a name="CLUTTER-TEXT-DIRECTION-DEFAULT:CAPS"></a>CLUTTER_TEXT_DIRECTION_DEFAULT</p></td>
|
2039
|
+
<td class="enum_member_description">
|
2040
|
+
<p>Use the default setting, as returned
|
2041
|
+
by <a class="link" href="clutter-General.html#clutter-get-default-text-direction" title="clutter_get_default_text_direction ()"><code class="function">clutter_get_default_text_direction()</code></a></p>
|
2042
|
+
</td>
|
2043
|
+
<td class="enum_member_annotations"> </td>
|
2044
|
+
</tr>
|
2045
|
+
<tr>
|
2046
|
+
<td class="enum_member_name"><p><a name="CLUTTER-TEXT-DIRECTION-LTR:CAPS"></a>CLUTTER_TEXT_DIRECTION_LTR</p></td>
|
2047
|
+
<td class="enum_member_description">
|
2048
|
+
<p>Use left-to-right text direction</p>
|
2049
|
+
</td>
|
2050
|
+
<td class="enum_member_annotations"> </td>
|
2051
|
+
</tr>
|
2052
|
+
<tr>
|
2053
|
+
<td class="enum_member_name"><p><a name="CLUTTER-TEXT-DIRECTION-RTL:CAPS"></a>CLUTTER_TEXT_DIRECTION_RTL</p></td>
|
2054
|
+
<td class="enum_member_description">
|
2055
|
+
<p>Use right-to-left text direction</p>
|
2056
|
+
</td>
|
2057
|
+
<td class="enum_member_annotations"> </td>
|
2058
|
+
</tr>
|
2059
|
+
</tbody>
|
2060
|
+
</table></div>
|
2061
|
+
</div>
|
2062
|
+
<p class="since">Since 1.2</p>
|
2063
|
+
</div>
|
2064
|
+
<hr>
|
2065
|
+
<div class="refsect2">
|
2066
|
+
<a name="ClutterRepaintFlags"></a><h3>enum ClutterRepaintFlags</h3>
|
2067
|
+
<p>Flags to pass to <a class="link" href="clutter-General.html#clutter-threads-add-repaint-func-full" title="clutter_threads_add_repaint_func_full ()"><code class="function">clutter_threads_add_repaint_func_full()</code></a>.</p>
|
2068
|
+
<div class="refsect3">
|
2069
|
+
<a name="id-1.7.2.9.7.5.4"></a><h4>Members</h4>
|
2070
|
+
<div class="informaltable"><table width="100%" border="0">
|
2071
|
+
<colgroup>
|
2072
|
+
<col width="300px" class="enum_members_name">
|
2073
|
+
<col class="enum_members_description">
|
2074
|
+
<col width="200px" class="enum_members_annotations">
|
2075
|
+
</colgroup>
|
2076
|
+
<tbody>
|
2077
|
+
<tr>
|
2078
|
+
<td class="enum_member_name"><p><a name="CLUTTER-REPAINT-FLAGS-PRE-PAINT:CAPS"></a>CLUTTER_REPAINT_FLAGS_PRE_PAINT</p></td>
|
2079
|
+
<td class="enum_member_description">
|
2080
|
+
<p>Run the repaint function prior to
|
2081
|
+
painting the stages</p>
|
2082
|
+
</td>
|
2083
|
+
<td class="enum_member_annotations"> </td>
|
2084
|
+
</tr>
|
2085
|
+
<tr>
|
2086
|
+
<td class="enum_member_name"><p><a name="CLUTTER-REPAINT-FLAGS-POST-PAINT:CAPS"></a>CLUTTER_REPAINT_FLAGS_POST_PAINT</p></td>
|
2087
|
+
<td class="enum_member_description">
|
2088
|
+
<p>Run the repaint function after
|
2089
|
+
painting the stages</p>
|
2090
|
+
</td>
|
2091
|
+
<td class="enum_member_annotations"> </td>
|
2092
|
+
</tr>
|
2093
|
+
<tr>
|
2094
|
+
<td class="enum_member_name"><p><a name="CLUTTER-REPAINT-FLAGS-QUEUE-REDRAW-ON-ADD:CAPS"></a>CLUTTER_REPAINT_FLAGS_QUEUE_REDRAW_ON_ADD</p></td>
|
2095
|
+
<td class="enum_member_description">
|
2096
|
+
<p>Ensure that a new frame
|
2097
|
+
is queued after adding the repaint function</p>
|
2098
|
+
</td>
|
2099
|
+
<td class="enum_member_annotations"> </td>
|
2100
|
+
</tr>
|
2101
|
+
</tbody>
|
2102
|
+
</table></div>
|
2103
|
+
</div>
|
2104
|
+
<p class="since">Since 1.10</p>
|
2105
|
+
</div>
|
2106
|
+
</div>
|
2107
|
+
</div>
|
2108
|
+
<div class="footer">
|
2109
|
+
<hr>
|
2110
|
+
Generated by GTK-Doc V1.20.1</div>
|
2111
|
+
</body>
|
2112
|
+
</html>
|