clutter 2.0.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +129 -0
- data/lib/clutter.rb +145 -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/cairo.rb +24 -0
- data/lib/clutter/color.rb +55 -0
- data/lib/clutter/event.rb +21 -0
- data/lib/clutter/point.rb +25 -0
- data/lib/clutter/text.rb +23 -0
- data/lib/clutter/threads.rb +38 -0
- data/sample/basic-actor.rb +125 -0
- data/sample/bin-layout.rb +215 -0
- data/sample/box-layout.rb +196 -0
- data/sample/canvas.rb +117 -0
- data/sample/constraints.rb +81 -0
- data/sample/drag-action.rb +177 -0
- data/sample/drop-action.rb +198 -0
- data/sample/easing-modes.rb +145 -0
- data/sample/flow-layout.rb +121 -0
- data/sample/grid-layout.rb +239 -0
- data/sample/image-content.rb +88 -0
- data/sample/pan-action.rb +100 -0
- data/sample/redhand.png +0 -0
- data/sample/rounded-rectangle.rb +90 -0
- data/sample/scroll-actor.rb +105 -0
- data/test/clutter-test-utils.rb +21 -0
- data/test/run-test.rb +50 -0
- data/vendor/local/bin/libclutter-1.0-0.dll +0 -0
- data/vendor/local/bin/libcogl-12.dll +0 -0
- data/vendor/local/bin/libcogl-pango-12.dll +0 -0
- data/vendor/local/bin/libglut-0.dll +0 -0
- data/vendor/local/bin/libjson-glib-1.0-0.dll +0 -0
- data/vendor/local/include/GL/freeglut.h +22 -0
- data/vendor/local/include/GL/freeglut_ext.h +239 -0
- data/vendor/local/include/GL/freeglut_std.h +636 -0
- data/vendor/local/include/GL/glut.h +21 -0
- data/vendor/local/include/clutter-1.0/cally/cally-actor.h +155 -0
- data/vendor/local/include/clutter-1.0/cally/cally-clone.h +82 -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 +85 -0
- data/vendor/local/include/clutter-1.0/cally/cally-main.h +39 -0
- data/vendor/local/include/clutter-1.0/cally/cally-rectangle.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-root.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-stage.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-text.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-texture.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-util.h +80 -0
- data/vendor/local/include/clutter-1.0/cally/cally.h +40 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-action.h +103 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor-meta.h +113 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor.h +735 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-align-constraint.h +69 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-animatable.h +116 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-backend.h +74 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-bin-layout.h +84 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-bind-constraint.h +69 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-binding-pool.h +122 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-blur-effect.h +57 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-box-layout.h +159 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-brightness-contrast-effect.h +80 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-cairo.h +59 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-canvas.h +100 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-child-meta.h +120 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-click-action.h +114 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-clone.h +90 -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 +175 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-colorize-effect.h +63 -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 +108 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-container.h +184 -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 +111 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-deprecated.h +43 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-desaturate-effect.h +61 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-device-manager.h +104 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-drag-action.h +142 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-drop-action.h +113 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-effect.h +120 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-enum-types.h +183 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-enums.h +1362 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-event.h +509 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-feature.h +40 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-fixed-layout.h +80 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-flow-layout.h +110 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-gesture-action.h +154 -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 +95 -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 +118 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-interval.h +141 -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 +215 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-layout-meta.h +101 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-list-model.h +88 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-macros.h +279 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-main.h +148 -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 +381 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-offscreen-effect.h +112 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-page-turn-effect.h +72 -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 +66 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-path.h +155 -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 +204 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-scriptable.h +107 -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 +25 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-shader-effect.h +114 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-shader-types.h +95 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-snap-constraint.h +73 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage-manager.h +81 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage.h +215 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-swipe-action.h +107 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-table-layout.h +157 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-tap-action.h +102 -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 +237 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-texture.h +128 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-timeline.h +201 -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 +715 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-units.h +166 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-version.h +302 -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 +118 -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 +97 -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-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 +58 -0
- data/vendor/local/include/cogl/cogl-pango/cogl-pango.h +245 -0
- data/vendor/local/include/cogl/cogl/cogl-attribute-buffer.h +131 -0
- data/vendor/local/include/cogl/cogl/cogl-attribute.h +532 -0
- data/vendor/local/include/cogl/cogl/cogl-bitmap.h +314 -0
- data/vendor/local/include/cogl/cogl/cogl-buffer.h +309 -0
- data/vendor/local/include/cogl/cogl/cogl-clip-state.h +50 -0
- data/vendor/local/include/cogl/cogl/cogl-clutter.h +47 -0
- data/vendor/local/include/cogl/cogl/cogl-color.h +543 -0
- data/vendor/local/include/cogl/cogl/cogl-context.h +350 -0
- data/vendor/local/include/cogl/cogl/cogl-defines.h +50 -0
- data/vendor/local/include/cogl/cogl/cogl-deprecated.h +36 -0
- data/vendor/local/include/cogl/cogl/cogl-depth-state.h +264 -0
- data/vendor/local/include/cogl/cogl/cogl-display.h +192 -0
- data/vendor/local/include/cogl/cogl/cogl-enum-types.h +100 -0
- data/vendor/local/include/cogl/cogl/cogl-error.h +176 -0
- data/vendor/local/include/cogl/cogl/cogl-euler.h +251 -0
- data/vendor/local/include/cogl/cogl/cogl-fixed.h +804 -0
- data/vendor/local/include/cogl/cogl/cogl-frame-info.h +129 -0
- data/vendor/local/include/cogl/cogl/cogl-framebuffer.h +1829 -0
- data/vendor/local/include/cogl/cogl/cogl-gles2-types.h +474 -0
- data/vendor/local/include/cogl/cogl/cogl-gles2.h +374 -0
- data/vendor/local/include/cogl/cogl/cogl-glib-source.h +59 -0
- data/vendor/local/include/cogl/cogl/cogl-index-buffer.h +85 -0
- data/vendor/local/include/cogl/cogl/cogl-indices.h +145 -0
- data/vendor/local/include/cogl/cogl/cogl-material-compat.h +1276 -0
- data/vendor/local/include/cogl/cogl/cogl-matrix-stack.h +620 -0
- data/vendor/local/include/cogl/cogl/cogl-matrix.h +798 -0
- data/vendor/local/include/cogl/cogl/cogl-meta-texture.h +181 -0
- data/vendor/local/include/cogl/cogl/cogl-object.h +219 -0
- data/vendor/local/include/cogl/cogl/cogl-offscreen.h +117 -0
- data/vendor/local/include/cogl/cogl/cogl-onscreen-template.h +106 -0
- data/vendor/local/include/cogl/cogl/cogl-onscreen.h +741 -0
- data/vendor/local/include/cogl/cogl/cogl-output.h +242 -0
- data/vendor/local/include/cogl/cogl/cogl-pango.h +33 -0
- data/vendor/local/include/cogl/cogl/cogl-path-functions.h +430 -0
- data/vendor/local/include/cogl/cogl/cogl-path.h +102 -0
- data/vendor/local/include/cogl/cogl/cogl-pipeline-layer-state.h +613 -0
- data/vendor/local/include/cogl/cogl/cogl-pipeline-state.h +924 -0
- data/vendor/local/include/cogl/cogl/cogl-pipeline.h +173 -0
- data/vendor/local/include/cogl/cogl/cogl-pixel-buffer.h +114 -0
- data/vendor/local/include/cogl/cogl/cogl-poll.h +174 -0
- data/vendor/local/include/cogl/cogl/cogl-primitive-texture.h +98 -0
- data/vendor/local/include/cogl/cogl/cogl-primitive.h +866 -0
- data/vendor/local/include/cogl/cogl/cogl-primitives.h +190 -0
- data/vendor/local/include/cogl/cogl/cogl-quaternion.h +545 -0
- data/vendor/local/include/cogl/cogl/cogl-renderer.h +423 -0
- data/vendor/local/include/cogl/cogl/cogl-shader.h +654 -0
- data/vendor/local/include/cogl/cogl/cogl-snippet.h +786 -0
- data/vendor/local/include/cogl/cogl/cogl-sub-texture.h +122 -0
- data/vendor/local/include/cogl/cogl/cogl-swap-chain.h +51 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-gl.h +73 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-sliced.h +130 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-2d.h +191 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-3d.h +187 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-rectangle.h +204 -0
- data/vendor/local/include/cogl/cogl/cogl-texture.h +611 -0
- data/vendor/local/include/cogl/cogl/cogl-types.h +912 -0
- data/vendor/local/include/cogl/cogl/cogl-vector.h +351 -0
- data/vendor/local/include/cogl/cogl/cogl-version.h +185 -0
- data/vendor/local/include/cogl/cogl/cogl-vertex-buffer.h +409 -0
- data/vendor/local/include/cogl/cogl/cogl-win32-renderer.h +99 -0
- data/vendor/local/include/cogl/cogl/cogl.h +151 -0
- data/vendor/local/include/cogl/cogl/cogl1-context.h +1169 -0
- data/vendor/local/include/cogl/cogl/cogl2-compatibility.h +55 -0
- data/vendor/local/include/cogl/cogl/cogl2-experimental.h +31 -0
- data/vendor/local/include/cogl/cogl/cogl2-path.h +506 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-core-functions.h +191 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-gles2-functions.h +36 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-glsl-functions.h +279 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles-core-functions.h +141 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles2-core-functions.h +179 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-builder.h +106 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-enum-types.h +36 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-generator.h +107 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-glib.h +46 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-gobject.h +182 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-gvariant.h +46 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-parser.h +173 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-path.h +97 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-reader.h +150 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-types.h +334 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-version.h +100 -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/CoglPango-1.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.dll.a +0 -0
- data/vendor/local/lib/libcogl.la +41 -0
- data/vendor/local/lib/libglut.a +0 -0
- data/vendor/local/lib/libglut.dll.a +0 -0
- data/vendor/local/lib/libglut.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/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 +679 -0
- data/vendor/local/share/gir-1.0/Clutter-1.0.gir +67473 -0
- data/vendor/local/share/gir-1.0/Cogl-1.0.gir +8383 -0
- data/vendor/local/share/gir-1.0/CoglPango-1.0.gir +306 -0
- data/vendor/local/share/gir-1.0/Json-1.0.gir +4333 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyActor.html +415 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyClone.html +136 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyGroup.html +139 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyRectangle.html +135 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyRoot.html +123 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyStage.html +140 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyText.html +133 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyTexture.html +135 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyUtil.html +100 -0
- data/vendor/local/share/gtk-doc/html/cally/cally-General-API.html +167 -0
- data/vendor/local/share/gtk-doc/html/cally/cally.devhelp2 +73 -0
- data/vendor/local/share/gtk-doc/html/cally/callyannotationglossary.html +43 -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 +103 -0
- data/vendor/local/share/gtk-doc/html/cally/ix01.html +198 -0
- data/vendor/local/share/gtk-doc/html/cally/ix02.html +31 -0
- data/vendor/local/share/gtk-doc/html/cally/ix03.html +190 -0
- data/vendor/local/share/gtk-doc/html/cally/ix04.html +42 -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.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/style.css +266 -0
- data/vendor/local/share/gtk-doc/html/cally/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAction.html +110 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActor.html +13714 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActorMeta.html +322 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlignConstraint.html +404 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlpha.html +747 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimatable.html +432 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimator.html +1218 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBackend.html +684 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviour.html +697 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourDepth.html +278 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourEllipse.html +844 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourOpacity.html +283 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourPath.html +450 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourRotate.html +608 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourScale.html +432 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBinLayout.html +1056 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBindConstraint.html +780 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBlurEffect.html +109 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBox.html +657 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBoxLayout.html +1232 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBrightnessContrastEffect.html +410 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCairoTexture.html +1018 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCanvas.html +469 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterChildMeta.html +253 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClickAction.html +587 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClone.html +219 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterColorizeEffect.html +193 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterConstraint.html +336 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContainer.html +1346 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContent.html +309 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeformEffect.html +353 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDesaturateEffect.html +200 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeviceManager.html +408 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDragAction.html +1224 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDropAction.html +965 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterEffect.html +386 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFixedLayout.html +115 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFlowLayout.html +1016 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGestureAction.html +867 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGridLayout.html +808 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGroup.html +231 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterImage.html +674 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterInputDevice.html +1488 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterKeyframeTransition.html +525 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutManager.html +1376 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutMeta.html +161 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterListModel.html +211 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterMedia.html +900 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModel.html +1715 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModelIter.html +644 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterOffscreenEffect.html +350 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPageTurnEffect.html +333 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPaintNode.html +534 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPanAction.html +785 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPath.html +1327 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPathConstraint.html +321 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPropertyTransition.html +216 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRectangle.html +369 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRotateAction.html +183 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScore.html +881 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScript.html +1365 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScriptable.html +311 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScrollActor.html +731 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSettings.html +301 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterShaderEffect.html +595 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSnapConstraint.html +421 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterStage.html +2252 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterState.html +1558 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSwipeAction.html +280 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTableLayout.html +1146 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTapAction.html +192 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterText.html +3058 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTextBuffer.html +736 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTexture.html +1829 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTimeline.html +2441 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransition.html +574 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransitionGroup.html +227 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterZoomAction.html +400 -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 +111 -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 +47 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch03.html +51 -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 +3471 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterGLXTexturePixmap.html +225 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterWaylandSurface.html +314 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterX11TexturePixmap.html +361 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Colors.html +1363 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-EGL-Specific-Support.html +129 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Events.html +2653 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Features.html +200 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-GDK-Specific-Support.html +249 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-General.html +2550 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Implicit-Animations.html +2571 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Intel-CE3100-CE4100-Specific-Support.html +181 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Key-Bindings.html +890 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Paint-Nodes.html +351 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Shaders.html +1004 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Stage-Manager.html +341 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Unit-conversion.html +843 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Utilities.html +549 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Value-intervals.html +1023 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Versioning-Macros.html +525 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-compositor-specific-support.html +83 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Win32-Specific-Support.html +201 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-X11-Specific-Support.html +806 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-overview.html +77 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter.devhelp2 +2715 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutteranimation.html +65 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterbackends.html +71 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterbase.html +202 -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 +86 -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 +114 -0
- data/vendor/local/share/gtk-doc/html/clutter/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/index.html +451 -0
- data/vendor/local/share/gtk-doc/html/clutter/index.sgml +3272 -0
- data/vendor/local/share/gtk-doc/html/clutter/iterating-paths.html +56 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix01.html +8815 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix02.html +1961 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix03.html +454 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix04.html +583 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix05.html +957 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix06.html +642 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix07.html +1530 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix08.html +820 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix09.html +1005 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix10.html +369 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix11.html +366 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix12.html +1078 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix13.html +984 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix14.html +99 -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 +156 -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.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/running-clutter.html +373 -0
- data/vendor/local/share/gtk-doc/html/clutter/style.css +266 -0
- data/vendor/local/share/gtk-doc/html/clutter/table-layout.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 +513 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonGenerator.html +492 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonParser.html +871 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonPath.html +464 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonReader.html +898 -0
- data/vendor/local/share/gtk-doc/html/json-glib/annotation-glossary.html +87 -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/ch04.html +38 -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 +125 -0
- data/vendor/local/share/gtk-doc/html/json-glib/index.sgml +308 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix01.html +926 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix02.html +54 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix03.html +61 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix04.html +54 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix05.html +186 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix06.html +121 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix07.html +161 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix08.html +137 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-advanced.html +47 -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-glib-Boxed-Types-Serialization.html +382 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html +310 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Array.html +850 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-GVariant-Integration.html +272 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Node.html +942 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Object.html +993 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Serializable-Interface.html +476 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html +148 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.devhelp2 +281 -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 +39 -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.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/style.css +266 -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 +502 -0
- data/vendor/local/share/license/freeglut/AUTHORS +39 -0
- data/vendor/local/share/license/freeglut/COPYING +27 -0
- data/vendor/local/share/license/json-glib/COPYING +504 -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/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/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@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/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/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/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/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/eu/LC_MESSAGES/cogl.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/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/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/hu/LC_MESSAGES/cogl.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/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/cogl.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/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/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/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/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_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/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@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/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/tg/LC_MESSAGES/clutter-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/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/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_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_TW/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/cogl.mo +0 -0
- metadata +747 -0
@@ -0,0 +1,421 @@
|
|
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>ClutterSnapConstraint</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
|
7
|
+
<link rel="home" href="index.html" title="Clutter Reference Manual">
|
8
|
+
<link rel="up" href="ch05.html" title="Constraints">
|
9
|
+
<link rel="prev" href="ClutterPathConstraint.html" title="ClutterPathConstraint">
|
10
|
+
<link rel="next" href="ch06.html" title="Effects">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18.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="2">
|
16
|
+
<tr valign="middle">
|
17
|
+
<td><a accesskey="p" href="ClutterPathConstraint.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="ch05.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
+
<th width="100%" align="center">Clutter Reference Manual</th>
|
21
|
+
<td><a accesskey="n" href="ch06.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
+
</tr>
|
23
|
+
<tr><td colspan="5" class="shortcuts">
|
24
|
+
<a href="#ClutterSnapConstraint.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#ClutterSnapConstraint.description" class="shortcut">Description</a>
|
27
|
+
|
|
28
|
+
<a href="#ClutterSnapConstraint.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
+
|
|
30
|
+
<a href="#ClutterSnapConstraint.properties" class="shortcut">Properties</a>
|
31
|
+
</td></tr>
|
32
|
+
</table>
|
33
|
+
<div class="refentry">
|
34
|
+
<a name="ClutterSnapConstraint"></a><div class="titlepage"></div>
|
35
|
+
<div class="refnamediv"><table width="100%"><tr>
|
36
|
+
<td valign="top">
|
37
|
+
<h2><span class="refentrytitle"><a name="ClutterSnapConstraint.top_of_page"></a>ClutterSnapConstraint</span></h2>
|
38
|
+
<p>ClutterSnapConstraint — A constraint snapping two actors together</p>
|
39
|
+
</td>
|
40
|
+
<td valign="top" align="right"></td>
|
41
|
+
</tr></table></div>
|
42
|
+
<div class="refsynopsisdiv">
|
43
|
+
<a name="ClutterSnapConstraint.synopsis"></a><h2>Synopsis</h2>
|
44
|
+
<pre class="synopsis">enum <a class="link" href="ClutterSnapConstraint.html#ClutterSnapEdge" title="enum ClutterSnapEdge">ClutterSnapEdge</a>;
|
45
|
+
<a class="link" href="ClutterSnapConstraint.html#ClutterSnapConstraint-struct" title="ClutterSnapConstraint">ClutterSnapConstraint</a>;
|
46
|
+
<a class="link" href="ClutterConstraint.html" title="ClutterConstraint"><span class="returnvalue">ClutterConstraint</span></a> * <a class="link" href="ClutterSnapConstraint.html#clutter-snap-constraint-new" title="clutter_snap_constraint_new ()">clutter_snap_constraint_new</a> (<em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *source</code></em>,
|
47
|
+
<em class="parameter"><code><a class="link" href="ClutterSnapConstraint.html#ClutterSnapEdge" title="enum ClutterSnapEdge"><span class="type">ClutterSnapEdge</span></a> from_edge</code></em>,
|
48
|
+
<em class="parameter"><code><a class="link" href="ClutterSnapConstraint.html#ClutterSnapEdge" title="enum ClutterSnapEdge"><span class="type">ClutterSnapEdge</span></a> to_edge</code></em>,
|
49
|
+
<em class="parameter"><code><span class="type">gfloat</span> offset</code></em>);
|
50
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterSnapConstraint.html#clutter-snap-constraint-set-source" title="clutter_snap_constraint_set_source ()">clutter_snap_constraint_set_source</a> (<em class="parameter"><code><a class="link" href="ClutterSnapConstraint.html" title="ClutterSnapConstraint"><span class="type">ClutterSnapConstraint</span></a> *constraint</code></em>,
|
51
|
+
<em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *source</code></em>);
|
52
|
+
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> * <a class="link" href="ClutterSnapConstraint.html#clutter-snap-constraint-get-source" title="clutter_snap_constraint_get_source ()">clutter_snap_constraint_get_source</a> (<em class="parameter"><code><a class="link" href="ClutterSnapConstraint.html" title="ClutterSnapConstraint"><span class="type">ClutterSnapConstraint</span></a> *constraint</code></em>);
|
53
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterSnapConstraint.html#clutter-snap-constraint-set-edges" title="clutter_snap_constraint_set_edges ()">clutter_snap_constraint_set_edges</a> (<em class="parameter"><code><a class="link" href="ClutterSnapConstraint.html" title="ClutterSnapConstraint"><span class="type">ClutterSnapConstraint</span></a> *constraint</code></em>,
|
54
|
+
<em class="parameter"><code><a class="link" href="ClutterSnapConstraint.html#ClutterSnapEdge" title="enum ClutterSnapEdge"><span class="type">ClutterSnapEdge</span></a> from_edge</code></em>,
|
55
|
+
<em class="parameter"><code><a class="link" href="ClutterSnapConstraint.html#ClutterSnapEdge" title="enum ClutterSnapEdge"><span class="type">ClutterSnapEdge</span></a> to_edge</code></em>);
|
56
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterSnapConstraint.html#clutter-snap-constraint-get-edges" title="clutter_snap_constraint_get_edges ()">clutter_snap_constraint_get_edges</a> (<em class="parameter"><code><a class="link" href="ClutterSnapConstraint.html" title="ClutterSnapConstraint"><span class="type">ClutterSnapConstraint</span></a> *constraint</code></em>,
|
57
|
+
<em class="parameter"><code><a class="link" href="ClutterSnapConstraint.html#ClutterSnapEdge" title="enum ClutterSnapEdge"><span class="type">ClutterSnapEdge</span></a> *from_edge</code></em>,
|
58
|
+
<em class="parameter"><code><a class="link" href="ClutterSnapConstraint.html#ClutterSnapEdge" title="enum ClutterSnapEdge"><span class="type">ClutterSnapEdge</span></a> *to_edge</code></em>);
|
59
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterSnapConstraint.html#clutter-snap-constraint-set-offset" title="clutter_snap_constraint_set_offset ()">clutter_snap_constraint_set_offset</a> (<em class="parameter"><code><a class="link" href="ClutterSnapConstraint.html" title="ClutterSnapConstraint"><span class="type">ClutterSnapConstraint</span></a> *constraint</code></em>,
|
60
|
+
<em class="parameter"><code><span class="type">gfloat</span> offset</code></em>);
|
61
|
+
<span class="returnvalue">gfloat</span> <a class="link" href="ClutterSnapConstraint.html#clutter-snap-constraint-get-offset" title="clutter_snap_constraint_get_offset ()">clutter_snap_constraint_get_offset</a> (<em class="parameter"><code><a class="link" href="ClutterSnapConstraint.html" title="ClutterSnapConstraint"><span class="type">ClutterSnapConstraint</span></a> *constraint</code></em>);
|
62
|
+
</pre>
|
63
|
+
</div>
|
64
|
+
<div class="refsect1">
|
65
|
+
<a name="ClutterSnapConstraint.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
66
|
+
<pre class="synopsis">
|
67
|
+
GObject
|
68
|
+
+----GInitiallyUnowned
|
69
|
+
+----<a class="link" href="ClutterActorMeta.html" title="ClutterActorMeta">ClutterActorMeta</a>
|
70
|
+
+----<a class="link" href="ClutterConstraint.html" title="ClutterConstraint">ClutterConstraint</a>
|
71
|
+
+----ClutterSnapConstraint
|
72
|
+
</pre>
|
73
|
+
</div>
|
74
|
+
<div class="refsect1">
|
75
|
+
<a name="ClutterSnapConstraint.properties"></a><h2>Properties</h2>
|
76
|
+
<pre class="synopsis">
|
77
|
+
"<a class="link" href="ClutterSnapConstraint.html#ClutterSnapConstraint--from-edge" title='The "from-edge" property'>from-edge</a>" <a class="link" href="ClutterSnapConstraint.html#ClutterSnapEdge" title="enum ClutterSnapEdge"><span class="type">ClutterSnapEdge</span></a> : Read / Write / Construct
|
78
|
+
"<a class="link" href="ClutterSnapConstraint.html#ClutterSnapConstraint--offset" title='The "offset" property'>offset</a>" <span class="type">gfloat</span> : Read / Write / Construct
|
79
|
+
"<a class="link" href="ClutterSnapConstraint.html#ClutterSnapConstraint--source" title='The "source" property'>source</a>" <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a>* : Read / Write / Construct
|
80
|
+
"<a class="link" href="ClutterSnapConstraint.html#ClutterSnapConstraint--to-edge" title='The "to-edge" property'>to-edge</a>" <a class="link" href="ClutterSnapConstraint.html#ClutterSnapEdge" title="enum ClutterSnapEdge"><span class="type">ClutterSnapEdge</span></a> : Read / Write / Construct
|
81
|
+
</pre>
|
82
|
+
</div>
|
83
|
+
<div class="refsect1">
|
84
|
+
<a name="ClutterSnapConstraint.description"></a><h2>Description</h2>
|
85
|
+
<p>
|
86
|
+
<a class="link" href="ClutterSnapConstraint.html" title="ClutterSnapConstraint"><span class="type">ClutterSnapConstraint</span></a> is a constraint the snaps the edges of two
|
87
|
+
actors together, expanding the actor's allocation if necessary.
|
88
|
+
</p>
|
89
|
+
<p>
|
90
|
+
An offset can be applied to the constraint, to provide spacing.
|
91
|
+
</p>
|
92
|
+
<p>
|
93
|
+
<a class="link" href="ClutterSnapConstraint.html" title="ClutterSnapConstraint"><span class="type">ClutterSnapConstraint</span></a> is available since Clutter 1.6
|
94
|
+
</p>
|
95
|
+
</div>
|
96
|
+
<div class="refsect1">
|
97
|
+
<a name="ClutterSnapConstraint.details"></a><h2>Details</h2>
|
98
|
+
<div class="refsect2">
|
99
|
+
<a name="ClutterSnapEdge"></a><h3>enum ClutterSnapEdge</h3>
|
100
|
+
<pre class="programlisting">typedef enum {
|
101
|
+
CLUTTER_SNAP_EDGE_TOP,
|
102
|
+
CLUTTER_SNAP_EDGE_RIGHT,
|
103
|
+
CLUTTER_SNAP_EDGE_BOTTOM,
|
104
|
+
CLUTTER_SNAP_EDGE_LEFT
|
105
|
+
} ClutterSnapEdge;
|
106
|
+
</pre>
|
107
|
+
<p>
|
108
|
+
The edge to snap
|
109
|
+
</p>
|
110
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
111
|
+
<colgroup>
|
112
|
+
<col align="left" valign="top">
|
113
|
+
<col>
|
114
|
+
</colgroup>
|
115
|
+
<tbody>
|
116
|
+
<tr>
|
117
|
+
<td><p><a name="CLUTTER-SNAP-EDGE-TOP:CAPS"></a><span class="term"><code class="literal">CLUTTER_SNAP_EDGE_TOP</code></span></p></td>
|
118
|
+
<td>the top edge
|
119
|
+
</td>
|
120
|
+
</tr>
|
121
|
+
<tr>
|
122
|
+
<td><p><a name="CLUTTER-SNAP-EDGE-RIGHT:CAPS"></a><span class="term"><code class="literal">CLUTTER_SNAP_EDGE_RIGHT</code></span></p></td>
|
123
|
+
<td>the right edge
|
124
|
+
</td>
|
125
|
+
</tr>
|
126
|
+
<tr>
|
127
|
+
<td><p><a name="CLUTTER-SNAP-EDGE-BOTTOM:CAPS"></a><span class="term"><code class="literal">CLUTTER_SNAP_EDGE_BOTTOM</code></span></p></td>
|
128
|
+
<td>the bottom edge
|
129
|
+
</td>
|
130
|
+
</tr>
|
131
|
+
<tr>
|
132
|
+
<td><p><a name="CLUTTER-SNAP-EDGE-LEFT:CAPS"></a><span class="term"><code class="literal">CLUTTER_SNAP_EDGE_LEFT</code></span></p></td>
|
133
|
+
<td>the left edge
|
134
|
+
</td>
|
135
|
+
</tr>
|
136
|
+
</tbody>
|
137
|
+
</table></div>
|
138
|
+
<p class="since">Since 1.6</p>
|
139
|
+
</div>
|
140
|
+
<hr>
|
141
|
+
<div class="refsect2">
|
142
|
+
<a name="ClutterSnapConstraint-struct"></a><h3>ClutterSnapConstraint</h3>
|
143
|
+
<pre class="programlisting">typedef struct _ClutterSnapConstraint ClutterSnapConstraint;</pre>
|
144
|
+
<p>
|
145
|
+
<span class="structname">ClutterSnapConstraint</span> is an opaque structure
|
146
|
+
whose members cannot be directly accesses
|
147
|
+
</p>
|
148
|
+
<p class="since">Since 1.6</p>
|
149
|
+
</div>
|
150
|
+
<hr>
|
151
|
+
<div class="refsect2">
|
152
|
+
<a name="clutter-snap-constraint-new"></a><h3>clutter_snap_constraint_new ()</h3>
|
153
|
+
<pre class="programlisting"><a class="link" href="ClutterConstraint.html" title="ClutterConstraint"><span class="returnvalue">ClutterConstraint</span></a> * clutter_snap_constraint_new (<em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *source</code></em>,
|
154
|
+
<em class="parameter"><code><a class="link" href="ClutterSnapConstraint.html#ClutterSnapEdge" title="enum ClutterSnapEdge"><span class="type">ClutterSnapEdge</span></a> from_edge</code></em>,
|
155
|
+
<em class="parameter"><code><a class="link" href="ClutterSnapConstraint.html#ClutterSnapEdge" title="enum ClutterSnapEdge"><span class="type">ClutterSnapEdge</span></a> to_edge</code></em>,
|
156
|
+
<em class="parameter"><code><span class="type">gfloat</span> offset</code></em>);</pre>
|
157
|
+
<p>
|
158
|
+
Creates a new <a class="link" href="ClutterSnapConstraint.html" title="ClutterSnapConstraint"><span class="type">ClutterSnapConstraint</span></a> that will snap a <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a>
|
159
|
+
to the <em class="parameter"><code>edge</code></em> of <em class="parameter"><code>source</code></em>, with the given <em class="parameter"><code>offset</code></em>.
|
160
|
+
</p>
|
161
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
162
|
+
<colgroup>
|
163
|
+
<col align="left" valign="top">
|
164
|
+
<col>
|
165
|
+
</colgroup>
|
166
|
+
<tbody>
|
167
|
+
<tr>
|
168
|
+
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
|
169
|
+
<td>the <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> to use as the source of
|
170
|
+
the constraint, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
171
|
+
</td>
|
172
|
+
</tr>
|
173
|
+
<tr>
|
174
|
+
<td><p><span class="term"><em class="parameter"><code>from_edge</code></em> :</span></p></td>
|
175
|
+
<td>the edge of the actor to use in the constraint</td>
|
176
|
+
</tr>
|
177
|
+
<tr>
|
178
|
+
<td><p><span class="term"><em class="parameter"><code>to_edge</code></em> :</span></p></td>
|
179
|
+
<td>the edge of <em class="parameter"><code>source</code></em> to use in the constraint</td>
|
180
|
+
</tr>
|
181
|
+
<tr>
|
182
|
+
<td><p><span class="term"><em class="parameter"><code>offset</code></em> :</span></p></td>
|
183
|
+
<td>the offset to apply to the constraint, in pixels</td>
|
184
|
+
</tr>
|
185
|
+
<tr>
|
186
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
187
|
+
<td>the newly created <a class="link" href="ClutterSnapConstraint.html" title="ClutterSnapConstraint"><span class="type">ClutterSnapConstraint</span></a>
|
188
|
+
</td>
|
189
|
+
</tr>
|
190
|
+
</tbody>
|
191
|
+
</table></div>
|
192
|
+
<p class="since">Since 1.6</p>
|
193
|
+
</div>
|
194
|
+
<hr>
|
195
|
+
<div class="refsect2">
|
196
|
+
<a name="clutter-snap-constraint-set-source"></a><h3>clutter_snap_constraint_set_source ()</h3>
|
197
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_snap_constraint_set_source (<em class="parameter"><code><a class="link" href="ClutterSnapConstraint.html" title="ClutterSnapConstraint"><span class="type">ClutterSnapConstraint</span></a> *constraint</code></em>,
|
198
|
+
<em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *source</code></em>);</pre>
|
199
|
+
<p>
|
200
|
+
Sets the source <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> for the constraint
|
201
|
+
</p>
|
202
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
203
|
+
<colgroup>
|
204
|
+
<col align="left" valign="top">
|
205
|
+
<col>
|
206
|
+
</colgroup>
|
207
|
+
<tbody>
|
208
|
+
<tr>
|
209
|
+
<td><p><span class="term"><em class="parameter"><code>constraint</code></em> :</span></p></td>
|
210
|
+
<td>a <a class="link" href="ClutterSnapConstraint.html" title="ClutterSnapConstraint"><span class="type">ClutterSnapConstraint</span></a>
|
211
|
+
</td>
|
212
|
+
</tr>
|
213
|
+
<tr>
|
214
|
+
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
|
215
|
+
<td>a <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a>, or <code class="literal">NULL</code> to unset the source. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
216
|
+
</td>
|
217
|
+
</tr>
|
218
|
+
</tbody>
|
219
|
+
</table></div>
|
220
|
+
<p class="since">Since 1.6</p>
|
221
|
+
</div>
|
222
|
+
<hr>
|
223
|
+
<div class="refsect2">
|
224
|
+
<a name="clutter-snap-constraint-get-source"></a><h3>clutter_snap_constraint_get_source ()</h3>
|
225
|
+
<pre class="programlisting"><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> * clutter_snap_constraint_get_source (<em class="parameter"><code><a class="link" href="ClutterSnapConstraint.html" title="ClutterSnapConstraint"><span class="type">ClutterSnapConstraint</span></a> *constraint</code></em>);</pre>
|
226
|
+
<p>
|
227
|
+
Retrieves the <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> set using <a class="link" href="ClutterSnapConstraint.html#clutter-snap-constraint-set-source" title="clutter_snap_constraint_set_source ()"><code class="function">clutter_snap_constraint_set_source()</code></a>
|
228
|
+
</p>
|
229
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
230
|
+
<colgroup>
|
231
|
+
<col align="left" valign="top">
|
232
|
+
<col>
|
233
|
+
</colgroup>
|
234
|
+
<tbody>
|
235
|
+
<tr>
|
236
|
+
<td><p><span class="term"><em class="parameter"><code>constraint</code></em> :</span></p></td>
|
237
|
+
<td>a <a class="link" href="ClutterSnapConstraint.html" title="ClutterSnapConstraint"><span class="type">ClutterSnapConstraint</span></a>
|
238
|
+
</td>
|
239
|
+
</tr>
|
240
|
+
<tr>
|
241
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
242
|
+
<td>a pointer to the source actor. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
243
|
+
</td>
|
244
|
+
</tr>
|
245
|
+
</tbody>
|
246
|
+
</table></div>
|
247
|
+
<p class="since">Since 1.6</p>
|
248
|
+
</div>
|
249
|
+
<hr>
|
250
|
+
<div class="refsect2">
|
251
|
+
<a name="clutter-snap-constraint-set-edges"></a><h3>clutter_snap_constraint_set_edges ()</h3>
|
252
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_snap_constraint_set_edges (<em class="parameter"><code><a class="link" href="ClutterSnapConstraint.html" title="ClutterSnapConstraint"><span class="type">ClutterSnapConstraint</span></a> *constraint</code></em>,
|
253
|
+
<em class="parameter"><code><a class="link" href="ClutterSnapConstraint.html#ClutterSnapEdge" title="enum ClutterSnapEdge"><span class="type">ClutterSnapEdge</span></a> from_edge</code></em>,
|
254
|
+
<em class="parameter"><code><a class="link" href="ClutterSnapConstraint.html#ClutterSnapEdge" title="enum ClutterSnapEdge"><span class="type">ClutterSnapEdge</span></a> to_edge</code></em>);</pre>
|
255
|
+
<p>
|
256
|
+
Sets the edges to be used by the <em class="parameter"><code>constraint</code></em>
|
257
|
+
</p>
|
258
|
+
<p>
|
259
|
+
The <em class="parameter"><code>from_edge</code></em> is the edge on the <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> to which <em class="parameter"><code>constraint</code></em>
|
260
|
+
has been added. The <em class="parameter"><code>to_edge</code></em> is the edge of the <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> inside
|
261
|
+
the <a class="link" href="ClutterSnapConstraint.html#ClutterSnapConstraint--source" title='The "source" property'><span class="type">"source"</span></a> property.
|
262
|
+
</p>
|
263
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
264
|
+
<colgroup>
|
265
|
+
<col align="left" valign="top">
|
266
|
+
<col>
|
267
|
+
</colgroup>
|
268
|
+
<tbody>
|
269
|
+
<tr>
|
270
|
+
<td><p><span class="term"><em class="parameter"><code>constraint</code></em> :</span></p></td>
|
271
|
+
<td>a <a class="link" href="ClutterSnapConstraint.html" title="ClutterSnapConstraint"><span class="type">ClutterSnapConstraint</span></a>
|
272
|
+
</td>
|
273
|
+
</tr>
|
274
|
+
<tr>
|
275
|
+
<td><p><span class="term"><em class="parameter"><code>from_edge</code></em> :</span></p></td>
|
276
|
+
<td>the edge on the actor</td>
|
277
|
+
</tr>
|
278
|
+
<tr>
|
279
|
+
<td><p><span class="term"><em class="parameter"><code>to_edge</code></em> :</span></p></td>
|
280
|
+
<td>the edge on the source</td>
|
281
|
+
</tr>
|
282
|
+
</tbody>
|
283
|
+
</table></div>
|
284
|
+
<p class="since">Since 1.6</p>
|
285
|
+
</div>
|
286
|
+
<hr>
|
287
|
+
<div class="refsect2">
|
288
|
+
<a name="clutter-snap-constraint-get-edges"></a><h3>clutter_snap_constraint_get_edges ()</h3>
|
289
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_snap_constraint_get_edges (<em class="parameter"><code><a class="link" href="ClutterSnapConstraint.html" title="ClutterSnapConstraint"><span class="type">ClutterSnapConstraint</span></a> *constraint</code></em>,
|
290
|
+
<em class="parameter"><code><a class="link" href="ClutterSnapConstraint.html#ClutterSnapEdge" title="enum ClutterSnapEdge"><span class="type">ClutterSnapEdge</span></a> *from_edge</code></em>,
|
291
|
+
<em class="parameter"><code><a class="link" href="ClutterSnapConstraint.html#ClutterSnapEdge" title="enum ClutterSnapEdge"><span class="type">ClutterSnapEdge</span></a> *to_edge</code></em>);</pre>
|
292
|
+
<p>
|
293
|
+
Retrieves the edges used by the <em class="parameter"><code>constraint</code></em>
|
294
|
+
</p>
|
295
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
296
|
+
<colgroup>
|
297
|
+
<col align="left" valign="top">
|
298
|
+
<col>
|
299
|
+
</colgroup>
|
300
|
+
<tbody>
|
301
|
+
<tr>
|
302
|
+
<td><p><span class="term"><em class="parameter"><code>constraint</code></em> :</span></p></td>
|
303
|
+
<td>a <a class="link" href="ClutterSnapConstraint.html" title="ClutterSnapConstraint"><span class="type">ClutterSnapConstraint</span></a>
|
304
|
+
</td>
|
305
|
+
</tr>
|
306
|
+
<tr>
|
307
|
+
<td><p><span class="term"><em class="parameter"><code>from_edge</code></em> :</span></p></td>
|
308
|
+
<td>return location for the actor's edge, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
309
|
+
</td>
|
310
|
+
</tr>
|
311
|
+
<tr>
|
312
|
+
<td><p><span class="term"><em class="parameter"><code>to_edge</code></em> :</span></p></td>
|
313
|
+
<td>return location for the source's edge, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
314
|
+
</td>
|
315
|
+
</tr>
|
316
|
+
</tbody>
|
317
|
+
</table></div>
|
318
|
+
<p class="since">Since 1.6</p>
|
319
|
+
</div>
|
320
|
+
<hr>
|
321
|
+
<div class="refsect2">
|
322
|
+
<a name="clutter-snap-constraint-set-offset"></a><h3>clutter_snap_constraint_set_offset ()</h3>
|
323
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_snap_constraint_set_offset (<em class="parameter"><code><a class="link" href="ClutterSnapConstraint.html" title="ClutterSnapConstraint"><span class="type">ClutterSnapConstraint</span></a> *constraint</code></em>,
|
324
|
+
<em class="parameter"><code><span class="type">gfloat</span> offset</code></em>);</pre>
|
325
|
+
<p>
|
326
|
+
Sets the offset to be applied to the constraint
|
327
|
+
</p>
|
328
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
329
|
+
<colgroup>
|
330
|
+
<col align="left" valign="top">
|
331
|
+
<col>
|
332
|
+
</colgroup>
|
333
|
+
<tbody>
|
334
|
+
<tr>
|
335
|
+
<td><p><span class="term"><em class="parameter"><code>constraint</code></em> :</span></p></td>
|
336
|
+
<td>a <a class="link" href="ClutterSnapConstraint.html" title="ClutterSnapConstraint"><span class="type">ClutterSnapConstraint</span></a>
|
337
|
+
</td>
|
338
|
+
</tr>
|
339
|
+
<tr>
|
340
|
+
<td><p><span class="term"><em class="parameter"><code>offset</code></em> :</span></p></td>
|
341
|
+
<td>the offset to apply, in pixels</td>
|
342
|
+
</tr>
|
343
|
+
</tbody>
|
344
|
+
</table></div>
|
345
|
+
<p class="since">Since 1.6</p>
|
346
|
+
</div>
|
347
|
+
<hr>
|
348
|
+
<div class="refsect2">
|
349
|
+
<a name="clutter-snap-constraint-get-offset"></a><h3>clutter_snap_constraint_get_offset ()</h3>
|
350
|
+
<pre class="programlisting"><span class="returnvalue">gfloat</span> clutter_snap_constraint_get_offset (<em class="parameter"><code><a class="link" href="ClutterSnapConstraint.html" title="ClutterSnapConstraint"><span class="type">ClutterSnapConstraint</span></a> *constraint</code></em>);</pre>
|
351
|
+
<p>
|
352
|
+
Retrieves the offset set using <a class="link" href="ClutterSnapConstraint.html#clutter-snap-constraint-set-offset" title="clutter_snap_constraint_set_offset ()"><code class="function">clutter_snap_constraint_set_offset()</code></a>
|
353
|
+
</p>
|
354
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
355
|
+
<colgroup>
|
356
|
+
<col align="left" valign="top">
|
357
|
+
<col>
|
358
|
+
</colgroup>
|
359
|
+
<tbody>
|
360
|
+
<tr>
|
361
|
+
<td><p><span class="term"><em class="parameter"><code>constraint</code></em> :</span></p></td>
|
362
|
+
<td>a <a class="link" href="ClutterSnapConstraint.html" title="ClutterSnapConstraint"><span class="type">ClutterSnapConstraint</span></a>
|
363
|
+
</td>
|
364
|
+
</tr>
|
365
|
+
<tr>
|
366
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
367
|
+
<td>the offset, in pixels</td>
|
368
|
+
</tr>
|
369
|
+
</tbody>
|
370
|
+
</table></div>
|
371
|
+
<p class="since">Since 1.6</p>
|
372
|
+
</div>
|
373
|
+
</div>
|
374
|
+
<div class="refsect1">
|
375
|
+
<a name="ClutterSnapConstraint.property-details"></a><h2>Property Details</h2>
|
376
|
+
<div class="refsect2">
|
377
|
+
<a name="ClutterSnapConstraint--from-edge"></a><h3>The <code class="literal">"from-edge"</code> property</h3>
|
378
|
+
<pre class="programlisting"> "from-edge" <a class="link" href="ClutterSnapConstraint.html#ClutterSnapEdge" title="enum ClutterSnapEdge"><span class="type">ClutterSnapEdge</span></a> : Read / Write / Construct</pre>
|
379
|
+
<p>
|
380
|
+
The edge of the <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> that should be snapped
|
381
|
+
</p>
|
382
|
+
<p>Default value: CLUTTER_SNAP_EDGE_RIGHT</p>
|
383
|
+
<p class="since">Since 1.6</p>
|
384
|
+
</div>
|
385
|
+
<hr>
|
386
|
+
<div class="refsect2">
|
387
|
+
<a name="ClutterSnapConstraint--offset"></a><h3>The <code class="literal">"offset"</code> property</h3>
|
388
|
+
<pre class="programlisting"> "offset" <span class="type">gfloat</span> : Read / Write / Construct</pre>
|
389
|
+
<p>
|
390
|
+
The offset, in pixels, between <a class="link" href="ClutterSnapConstraint.html#ClutterSnapConstraint--from-edge" title='The "from-edge" property'><span class="type">"from-edge"</span></a>
|
391
|
+
and <a class="link" href="ClutterSnapConstraint.html#ClutterSnapConstraint--to-edge" title='The "to-edge" property'><span class="type">"to-edge"</span></a>
|
392
|
+
</p>
|
393
|
+
<p>Default value: 0</p>
|
394
|
+
<p class="since">Since 1.6</p>
|
395
|
+
</div>
|
396
|
+
<hr>
|
397
|
+
<div class="refsect2">
|
398
|
+
<a name="ClutterSnapConstraint--source"></a><h3>The <code class="literal">"source"</code> property</h3>
|
399
|
+
<pre class="programlisting"> "source" <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a>* : Read / Write / Construct</pre>
|
400
|
+
<p>
|
401
|
+
The <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> used as the source for the constraint
|
402
|
+
</p>
|
403
|
+
<p class="since">Since 1.6</p>
|
404
|
+
</div>
|
405
|
+
<hr>
|
406
|
+
<div class="refsect2">
|
407
|
+
<a name="ClutterSnapConstraint--to-edge"></a><h3>The <code class="literal">"to-edge"</code> property</h3>
|
408
|
+
<pre class="programlisting"> "to-edge" <a class="link" href="ClutterSnapConstraint.html#ClutterSnapEdge" title="enum ClutterSnapEdge"><span class="type">ClutterSnapEdge</span></a> : Read / Write / Construct</pre>
|
409
|
+
<p>
|
410
|
+
The edge of the <a class="link" href="ClutterSnapConstraint.html#ClutterSnapConstraint--source" title='The "source" property'><span class="type">"source"</span></a> that should be snapped
|
411
|
+
</p>
|
412
|
+
<p>Default value: CLUTTER_SNAP_EDGE_RIGHT</p>
|
413
|
+
<p class="since">Since 1.6</p>
|
414
|
+
</div>
|
415
|
+
</div>
|
416
|
+
</div>
|
417
|
+
<div class="footer">
|
418
|
+
<hr>
|
419
|
+
Generated by GTK-Doc V1.18.1</div>
|
420
|
+
</body>
|
421
|
+
</html>
|
@@ -0,0 +1,2252 @@
|
|
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>ClutterStage</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
|
7
|
+
<link rel="home" href="index.html" title="Clutter Reference Manual">
|
8
|
+
<link rel="up" href="ch02.html" title="Base actors">
|
9
|
+
<link rel="prev" href="ch02.html" title="Base actors">
|
10
|
+
<link rel="next" href="ClutterTexture.html" title="ClutterTexture">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18.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="2">
|
16
|
+
<tr valign="middle">
|
17
|
+
<td><a accesskey="p" href="ch02.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
+
<th width="100%" align="center">Clutter Reference Manual</th>
|
21
|
+
<td><a accesskey="n" href="ClutterTexture.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
+
</tr>
|
23
|
+
<tr><td colspan="5" class="shortcuts">
|
24
|
+
<a href="#ClutterStage.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#ClutterStage.description" class="shortcut">Description</a>
|
27
|
+
|
|
28
|
+
<a href="#ClutterStage.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
+
|
|
30
|
+
<a href="#ClutterStage.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
|
31
|
+
|
|
32
|
+
<a href="#ClutterStage.properties" class="shortcut">Properties</a>
|
33
|
+
|
|
34
|
+
<a href="#ClutterStage.signals" class="shortcut">Signals</a>
|
35
|
+
</td></tr>
|
36
|
+
</table>
|
37
|
+
<div class="refentry">
|
38
|
+
<a name="ClutterStage"></a><div class="titlepage"></div>
|
39
|
+
<div class="refnamediv"><table width="100%"><tr>
|
40
|
+
<td valign="top">
|
41
|
+
<h2><span class="refentrytitle"><a name="ClutterStage.top_of_page"></a>ClutterStage</span></h2>
|
42
|
+
<p>ClutterStage — Top level visual element to which actors are placed.</p>
|
43
|
+
</td>
|
44
|
+
<td valign="top" align="right"></td>
|
45
|
+
</tr></table></div>
|
46
|
+
<div class="refsynopsisdiv">
|
47
|
+
<a name="ClutterStage.synopsis"></a><h2>Synopsis</h2>
|
48
|
+
<pre class="synopsis"> <a class="link" href="ClutterStage.html#ClutterStage-struct" title="ClutterStage">ClutterStage</a>;
|
49
|
+
struct <a class="link" href="ClutterStage.html#ClutterStageClass" title="struct ClutterStageClass">ClutterStageClass</a>;
|
50
|
+
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> * <a class="link" href="ClutterStage.html#clutter-stage-new" title="clutter_stage_new ()">clutter_stage_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
51
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterStage.html#clutter-stage-set-title" title="clutter_stage_set_title ()">clutter_stage_set_title</a> (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
52
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *title</code></em>);
|
53
|
+
const <span class="returnvalue">gchar</span> * <a class="link" href="ClutterStage.html#clutter-stage-get-title" title="clutter_stage_get_title ()">clutter_stage_get_title</a> (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>);
|
54
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterStage.html#clutter-stage-set-user-resizable" title="clutter_stage_set_user_resizable ()">clutter_stage_set_user_resizable</a> (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
55
|
+
<em class="parameter"><code><span class="type">gboolean</span> resizable</code></em>);
|
56
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterStage.html#clutter-stage-get-user-resizable" title="clutter_stage_get_user_resizable ()">clutter_stage_get_user_resizable</a> (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>);
|
57
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterStage.html#clutter-stage-set-color" title="clutter_stage_set_color ()">clutter_stage_set_color</a> (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
58
|
+
<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>);
|
59
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterStage.html#clutter-stage-get-color" title="clutter_stage_get_color ()">clutter_stage_get_color</a> (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
60
|
+
<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>);
|
61
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterStage.html#clutter-stage-set-fullscreen" title="clutter_stage_set_fullscreen ()">clutter_stage_set_fullscreen</a> (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
62
|
+
<em class="parameter"><code><span class="type">gboolean</span> fullscreen</code></em>);
|
63
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterStage.html#clutter-stage-get-fullscreen" title="clutter_stage_get_fullscreen ()">clutter_stage_get_fullscreen</a> (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>);
|
64
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterStage.html#clutter-stage-show-cursor" title="clutter_stage_show_cursor ()">clutter_stage_show_cursor</a> (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>);
|
65
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterStage.html#clutter-stage-hide-cursor" title="clutter_stage_hide_cursor ()">clutter_stage_hide_cursor</a> (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>);
|
66
|
+
enum <a class="link" href="ClutterStage.html#ClutterPickMode" title="enum ClutterPickMode">ClutterPickMode</a>;
|
67
|
+
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> * <a class="link" href="ClutterStage.html#clutter-stage-get-actor-at-pos" title="clutter_stage_get_actor_at_pos ()">clutter_stage_get_actor_at_pos</a> (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
68
|
+
<em class="parameter"><code><a class="link" href="ClutterStage.html#ClutterPickMode" title="enum ClutterPickMode"><span class="type">ClutterPickMode</span></a> pick_mode</code></em>,
|
69
|
+
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
70
|
+
<em class="parameter"><code><span class="type">gint</span> y</code></em>);
|
71
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterStage.html#clutter-stage-ensure-current" title="clutter_stage_ensure_current ()">clutter_stage_ensure_current</a> (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>);
|
72
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterStage.html#clutter-stage-ensure-viewport" title="clutter_stage_ensure_viewport ()">clutter_stage_ensure_viewport</a> (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>);
|
73
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterStage.html#clutter-stage-ensure-redraw" title="clutter_stage_ensure_redraw ()">clutter_stage_ensure_redraw</a> (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>);
|
74
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterStage.html#clutter-stage-queue-redraw" title="clutter_stage_queue_redraw ()">clutter_stage_queue_redraw</a> (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>);
|
75
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterStage.html#clutter-actor-queue-redraw-with-clip" title="clutter_actor_queue_redraw_with_clip ()">clutter_actor_queue_redraw_with_clip</a>
|
76
|
+
(<em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *self</code></em>,
|
77
|
+
<em class="parameter"><code>const <a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-Types.html#cairo-rectangle-int-t"><span class="type">cairo_rectangle_int_t</span></a> *clip</code></em>);
|
78
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterStage.html#clutter-stage-event" title="clutter_stage_event ()">clutter_stage_event</a> (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
79
|
+
<em class="parameter"><code><a class="link" href="clutter-Events.html#ClutterEvent" title="union ClutterEvent"><span class="type">ClutterEvent</span></a> *event</code></em>);
|
80
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterStage.html#clutter-stage-set-key-focus" title="clutter_stage_set_key_focus ()">clutter_stage_set_key_focus</a> (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
81
|
+
<em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor</code></em>);
|
82
|
+
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> * <a class="link" href="ClutterStage.html#clutter-stage-get-key-focus" title="clutter_stage_get_key_focus ()">clutter_stage_get_key_focus</a> (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>);
|
83
|
+
<span class="returnvalue">guchar</span> * <a class="link" href="ClutterStage.html#clutter-stage-read-pixels" title="clutter_stage_read_pixels ()">clutter_stage_read_pixels</a> (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
84
|
+
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
85
|
+
<em class="parameter"><code><span class="type">gint</span> y</code></em>,
|
86
|
+
<em class="parameter"><code><span class="type">gint</span> width</code></em>,
|
87
|
+
<em class="parameter"><code><span class="type">gint</span> height</code></em>);
|
88
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterStage.html#clutter-stage-set-throttle-motion-events" title="clutter_stage_set_throttle_motion_events ()">clutter_stage_set_throttle_motion_events</a>
|
89
|
+
(<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
90
|
+
<em class="parameter"><code><span class="type">gboolean</span> throttle</code></em>);
|
91
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterStage.html#clutter-stage-get-throttle-motion-events" title="clutter_stage_get_throttle_motion_events ()">clutter_stage_get_throttle_motion_events</a>
|
92
|
+
(<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>);
|
93
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterStage.html#clutter-stage-set-use-alpha" title="clutter_stage_set_use_alpha ()">clutter_stage_set_use_alpha</a> (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
94
|
+
<em class="parameter"><code><span class="type">gboolean</span> use_alpha</code></em>);
|
95
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterStage.html#clutter-stage-get-use-alpha" title="clutter_stage_get_use_alpha ()">clutter_stage_get_use_alpha</a> (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>);
|
96
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterStage.html#clutter-stage-set-minimum-size" title="clutter_stage_set_minimum_size ()">clutter_stage_set_minimum_size</a> (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
97
|
+
<em class="parameter"><code><span class="type">guint</span> width</code></em>,
|
98
|
+
<em class="parameter"><code><span class="type">guint</span> height</code></em>);
|
99
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterStage.html#clutter-stage-get-minimum-size" title="clutter_stage_get_minimum_size ()">clutter_stage_get_minimum_size</a> (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
100
|
+
<em class="parameter"><code><span class="type">guint</span> *width</code></em>,
|
101
|
+
<em class="parameter"><code><span class="type">guint</span> *height</code></em>);
|
102
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterStage.html#clutter-stage-set-no-clear-hint" title="clutter_stage_set_no_clear_hint ()">clutter_stage_set_no_clear_hint</a> (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
103
|
+
<em class="parameter"><code><span class="type">gboolean</span> no_clear</code></em>);
|
104
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterStage.html#clutter-stage-get-no-clear-hint" title="clutter_stage_get_no_clear_hint ()">clutter_stage_get_no_clear_hint</a> (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>);
|
105
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterStage.html#clutter-stage-get-redraw-clip-bounds" title="clutter_stage_get_redraw_clip_bounds ()">clutter_stage_get_redraw_clip_bounds</a>
|
106
|
+
(<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
107
|
+
<em class="parameter"><code><a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-Types.html#cairo-rectangle-int-t"><span class="type">cairo_rectangle_int_t</span></a> *clip</code></em>);
|
108
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterStage.html#clutter-stage-set-accept-focus" title="clutter_stage_set_accept_focus ()">clutter_stage_set_accept_focus</a> (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
109
|
+
<em class="parameter"><code><span class="type">gboolean</span> accept_focus</code></em>);
|
110
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterStage.html#clutter-stage-get-accept-focus" title="clutter_stage_get_accept_focus ()">clutter_stage_get_accept_focus</a> (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>);
|
111
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterStage.html#clutter-stage-get-motion-events-enabled" title="clutter_stage_get_motion_events_enabled ()">clutter_stage_get_motion_events_enabled</a>
|
112
|
+
(<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>);
|
113
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterStage.html#clutter-stage-set-motion-events-enabled" title="clutter_stage_set_motion_events_enabled ()">clutter_stage_set_motion_events_enabled</a>
|
114
|
+
(<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
115
|
+
<em class="parameter"><code><span class="type">gboolean</span> enabled</code></em>);
|
116
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterStage.html#clutter-stage-set-sync-delay" title="clutter_stage_set_sync_delay ()">clutter_stage_set_sync_delay</a> (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
117
|
+
<em class="parameter"><code><span class="type">gint</span> sync_delay</code></em>);
|
118
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterStage.html#clutter-stage-skip-sync-delay" title="clutter_stage_skip_sync_delay ()">clutter_stage_skip_sync_delay</a> (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>);
|
119
|
+
|
120
|
+
<a class="link" href="ClutterStage.html#ClutterPerspective" title="ClutterPerspective">ClutterPerspective</a>;
|
121
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterStage.html#clutter-stage-set-perspective" title="clutter_stage_set_perspective ()">clutter_stage_set_perspective</a> (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
122
|
+
<em class="parameter"><code><a class="link" href="ClutterStage.html#ClutterPerspective" title="ClutterPerspective"><span class="type">ClutterPerspective</span></a> *perspective</code></em>);
|
123
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterStage.html#clutter-stage-get-perspective" title="clutter_stage_get_perspective ()">clutter_stage_get_perspective</a> (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
124
|
+
<em class="parameter"><code><a class="link" href="ClutterStage.html#ClutterPerspective" title="ClutterPerspective"><span class="type">ClutterPerspective</span></a> *perspective</code></em>);
|
125
|
+
|
126
|
+
<a class="link" href="ClutterStage.html#ClutterFog" title="ClutterFog">ClutterFog</a>;
|
127
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterStage.html#clutter-stage-set-use-fog" title="clutter_stage_set_use_fog ()">clutter_stage_set_use_fog</a> (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
128
|
+
<em class="parameter"><code><span class="type">gboolean</span> fog</code></em>);
|
129
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterStage.html#clutter-stage-get-use-fog" title="clutter_stage_get_use_fog ()">clutter_stage_get_use_fog</a> (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>);
|
130
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterStage.html#clutter-stage-set-fog" title="clutter_stage_set_fog ()">clutter_stage_set_fog</a> (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
131
|
+
<em class="parameter"><code><a class="link" href="ClutterStage.html#ClutterFog" title="ClutterFog"><span class="type">ClutterFog</span></a> *fog</code></em>);
|
132
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterStage.html#clutter-stage-get-fog" title="clutter_stage_get_fog ()">clutter_stage_get_fog</a> (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
133
|
+
<em class="parameter"><code><a class="link" href="ClutterStage.html#ClutterFog" title="ClutterFog"><span class="type">ClutterFog</span></a> *fog</code></em>);
|
134
|
+
|
135
|
+
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> * <a class="link" href="ClutterStage.html#clutter-stage-get-default" title="clutter_stage_get_default ()">clutter_stage_get_default</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
136
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterStage.html#clutter-stage-is-default" title="clutter_stage_is_default ()">clutter_stage_is_default</a> (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>);
|
137
|
+
</pre>
|
138
|
+
</div>
|
139
|
+
<div class="refsect1">
|
140
|
+
<a name="ClutterStage.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
141
|
+
<pre class="synopsis">
|
142
|
+
GObject
|
143
|
+
+----GInitiallyUnowned
|
144
|
+
+----<a class="link" href="ClutterActor.html" title="ClutterActor">ClutterActor</a>
|
145
|
+
+----<a class="link" href="ClutterGroup.html" title="ClutterGroup">ClutterGroup</a>
|
146
|
+
+----ClutterStage
|
147
|
+
</pre>
|
148
|
+
</div>
|
149
|
+
<div class="refsect1">
|
150
|
+
<a name="ClutterStage.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
151
|
+
<p>
|
152
|
+
ClutterStage implements
|
153
|
+
<a class="link" href="ClutterContainer.html" title="ClutterContainer">ClutterContainer</a>, <a class="link" href="ClutterScriptable.html" title="ClutterScriptable">ClutterScriptable</a>, <a class="link" href="ClutterAnimatable.html" title="ClutterAnimatable">ClutterAnimatable</a> and AtkImplementorIface.</p>
|
154
|
+
</div>
|
155
|
+
<div class="refsect1">
|
156
|
+
<a name="ClutterStage.properties"></a><h2>Properties</h2>
|
157
|
+
<pre class="synopsis">
|
158
|
+
"<a class="link" href="ClutterStage.html#ClutterStage--accept-focus" title='The "accept-focus" property'>accept-focus</a>" <span class="type">gboolean</span> : Read / Write
|
159
|
+
"<a class="link" href="ClutterStage.html#ClutterStage--color" title='The "color" property'>color</a>" <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>* : Read / Write
|
160
|
+
"<a class="link" href="ClutterStage.html#ClutterStage--cursor-visible" title='The "cursor-visible" property'>cursor-visible</a>" <span class="type">gboolean</span> : Read / Write
|
161
|
+
"<a class="link" href="ClutterStage.html#ClutterStage--fog" title='The "fog" property'>fog</a>" <a class="link" href="ClutterStage.html#ClutterFog" title="ClutterFog"><span class="type">ClutterFog</span></a>* : Read / Write
|
162
|
+
"<a class="link" href="ClutterStage.html#ClutterStage--fullscreen-set" title='The "fullscreen-set" property'>fullscreen-set</a>" <span class="type">gboolean</span> : Read
|
163
|
+
"<a class="link" href="ClutterStage.html#ClutterStage--key-focus" title='The "key-focus" property'>key-focus</a>" <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a>* : Read / Write
|
164
|
+
"<a class="link" href="ClutterStage.html#ClutterStage--no-clear-hint" title='The "no-clear-hint" property'>no-clear-hint</a>" <span class="type">gboolean</span> : Read / Write
|
165
|
+
"<a class="link" href="ClutterStage.html#ClutterStage--offscreen" title='The "offscreen" property'>offscreen</a>" <span class="type">gboolean</span> : Read / Write
|
166
|
+
"<a class="link" href="ClutterStage.html#ClutterStage--perspective" title='The "perspective" property'>perspective</a>" <a class="link" href="ClutterStage.html#ClutterPerspective" title="ClutterPerspective"><span class="type">ClutterPerspective</span></a>* : Read / Write
|
167
|
+
"<a class="link" href="ClutterStage.html#ClutterStage--title" title='The "title" property'>title</a>" <span class="type">gchar</span>* : Read / Write
|
168
|
+
"<a class="link" href="ClutterStage.html#ClutterStage--use-alpha" title='The "use-alpha" property'>use-alpha</a>" <span class="type">gboolean</span> : Read / Write
|
169
|
+
"<a class="link" href="ClutterStage.html#ClutterStage--use-fog" title='The "use-fog" property'>use-fog</a>" <span class="type">gboolean</span> : Read / Write
|
170
|
+
"<a class="link" href="ClutterStage.html#ClutterStage--user-resizable" title='The "user-resizable" property'>user-resizable</a>" <span class="type">gboolean</span> : Read / Write
|
171
|
+
</pre>
|
172
|
+
</div>
|
173
|
+
<div class="refsect1">
|
174
|
+
<a name="ClutterStage.signals"></a><h2>Signals</h2>
|
175
|
+
<pre class="synopsis">
|
176
|
+
"<a class="link" href="ClutterStage.html#ClutterStage-activate" title='The "activate" signal'>activate</a>" : <code class="literal">Run Last</code>
|
177
|
+
"<a class="link" href="ClutterStage.html#ClutterStage-deactivate" title='The "deactivate" signal'>deactivate</a>" : <code class="literal">Run Last</code>
|
178
|
+
"<a class="link" href="ClutterStage.html#ClutterStage-delete-event" title='The "delete-event" signal'>delete-event</a>" : <code class="literal">Run Last</code>
|
179
|
+
"<a class="link" href="ClutterStage.html#ClutterStage-fullscreen" title='The "fullscreen" signal'>fullscreen</a>" : <code class="literal">Run First</code>
|
180
|
+
"<a class="link" href="ClutterStage.html#ClutterStage-unfullscreen" title='The "unfullscreen" signal'>unfullscreen</a>" : <code class="literal">Run Last</code>
|
181
|
+
</pre>
|
182
|
+
</div>
|
183
|
+
<div class="refsect1">
|
184
|
+
<a name="ClutterStage.description"></a><h2>Description</h2>
|
185
|
+
<p>
|
186
|
+
<a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> is a top level 'window' on which child actors are placed
|
187
|
+
and manipulated.
|
188
|
+
</p>
|
189
|
+
<p>
|
190
|
+
Backends might provide support for multiple stages. The support for this
|
191
|
+
feature can be checked at run-time using the <a class="link" href="clutter-Features.html#clutter-feature-available" title="clutter_feature_available ()"><code class="function">clutter_feature_available()</code></a>
|
192
|
+
function and the <a class="link" href="clutter-Features.html#CLUTTER-FEATURE-STAGE-MULTIPLE:CAPS"><code class="literal">CLUTTER_FEATURE_STAGE_MULTIPLE</code></a> flag. If the backend used
|
193
|
+
supports multiple stages, new <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> instances can be created
|
194
|
+
using <a class="link" href="ClutterStage.html#clutter-stage-new" title="clutter_stage_new ()"><code class="function">clutter_stage_new()</code></a>. These stages must be managed by the developer
|
195
|
+
using <a class="link" href="ClutterActor.html#clutter-actor-destroy" title="clutter_actor_destroy ()"><code class="function">clutter_actor_destroy()</code></a>, which will take care of destroying all the
|
196
|
+
actors contained inside them.
|
197
|
+
</p>
|
198
|
+
<p>
|
199
|
+
<a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> is a proxy actor, wrapping the backend-specific
|
200
|
+
implementation of the windowing system. It is possible to subclass
|
201
|
+
<a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>, as long as every overridden virtual function chains up to
|
202
|
+
the parent class corresponding function.
|
203
|
+
</p>
|
204
|
+
</div>
|
205
|
+
<div class="refsect1">
|
206
|
+
<a name="ClutterStage.details"></a><h2>Details</h2>
|
207
|
+
<div class="refsect2">
|
208
|
+
<a name="ClutterStage-struct"></a><h3>ClutterStage</h3>
|
209
|
+
<pre class="programlisting">typedef struct _ClutterStage ClutterStage;</pre>
|
210
|
+
<p>
|
211
|
+
The <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> structure contains only private data
|
212
|
+
and should be accessed using the provided API
|
213
|
+
</p>
|
214
|
+
<p class="since">Since 0.1</p>
|
215
|
+
</div>
|
216
|
+
<hr>
|
217
|
+
<div class="refsect2">
|
218
|
+
<a name="ClutterStageClass"></a><h3>struct ClutterStageClass</h3>
|
219
|
+
<pre class="programlisting">struct ClutterStageClass {
|
220
|
+
/* signals */
|
221
|
+
void (* fullscreen) (ClutterStage *stage);
|
222
|
+
void (* unfullscreen) (ClutterStage *stage);
|
223
|
+
void (* activate) (ClutterStage *stage);
|
224
|
+
void (* deactivate) (ClutterStage *stage);
|
225
|
+
|
226
|
+
gboolean (* delete_event) (ClutterStage *stage,
|
227
|
+
ClutterEvent *event);
|
228
|
+
};
|
229
|
+
</pre>
|
230
|
+
<p>
|
231
|
+
The <a class="link" href="ClutterStage.html#ClutterStageClass" title="struct ClutterStageClass"><span class="type">ClutterStageClass</span></a> structure contains only private data
|
232
|
+
</p>
|
233
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
234
|
+
<colgroup>
|
235
|
+
<col align="left" valign="top">
|
236
|
+
<col>
|
237
|
+
</colgroup>
|
238
|
+
<tbody>
|
239
|
+
<tr>
|
240
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterStageClass.fullscreen"></a>fullscreen</code></em> ()</span></p></td>
|
241
|
+
<td>handler for the <a class="link" href="ClutterStage.html#ClutterStage-fullscreen" title='The "fullscreen" signal'><span class="type">"fullscreen"</span></a> signal</td>
|
242
|
+
</tr>
|
243
|
+
<tr>
|
244
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterStageClass.unfullscreen"></a>unfullscreen</code></em> ()</span></p></td>
|
245
|
+
<td>handler for the <a class="link" href="ClutterStage.html#ClutterStage-unfullscreen" title='The "unfullscreen" signal'><span class="type">"unfullscreen"</span></a> signal</td>
|
246
|
+
</tr>
|
247
|
+
<tr>
|
248
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterStageClass.activate"></a>activate</code></em> ()</span></p></td>
|
249
|
+
<td>handler for the <a class="link" href="ClutterStage.html#ClutterStage-activate" title='The "activate" signal'><span class="type">"activate"</span></a> signal</td>
|
250
|
+
</tr>
|
251
|
+
<tr>
|
252
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterStageClass.deactivate"></a>deactivate</code></em> ()</span></p></td>
|
253
|
+
<td>handler for the <a class="link" href="ClutterStage.html#ClutterStage-deactivate" title='The "deactivate" signal'><span class="type">"deactivate"</span></a> signal</td>
|
254
|
+
</tr>
|
255
|
+
<tr>
|
256
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterStageClass.delete-event"></a>delete_event</code></em> ()</span></p></td>
|
257
|
+
<td>handler for the <a class="link" href="ClutterStage.html#ClutterStage-delete-event" title='The "delete-event" signal'><span class="type">"delete-event"</span></a> signal</td>
|
258
|
+
</tr>
|
259
|
+
</tbody>
|
260
|
+
</table></div>
|
261
|
+
<p class="since">Since 0.1</p>
|
262
|
+
</div>
|
263
|
+
<hr>
|
264
|
+
<div class="refsect2">
|
265
|
+
<a name="clutter-stage-new"></a><h3>clutter_stage_new ()</h3>
|
266
|
+
<pre class="programlisting"><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> * clutter_stage_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
267
|
+
<p>
|
268
|
+
Creates a new, non-default stage. A non-default stage is a new
|
269
|
+
top-level actor which can be used as another container. It works
|
270
|
+
exactly like the default stage, but while <a class="link" href="ClutterStage.html#clutter-stage-get-default" title="clutter_stage_get_default ()"><code class="function">clutter_stage_get_default()</code></a>
|
271
|
+
will always return the same instance, you will have to keep a pointer
|
272
|
+
to any <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> returned by <a class="link" href="ClutterStage.html#clutter-stage-new" title="clutter_stage_new ()"><code class="function">clutter_stage_new()</code></a>.
|
273
|
+
</p>
|
274
|
+
<p>
|
275
|
+
The ability to support multiple stages depends on the current
|
276
|
+
backend. Use <a class="link" href="clutter-Features.html#clutter-feature-available" title="clutter_feature_available ()"><code class="function">clutter_feature_available()</code></a> and
|
277
|
+
<a class="link" href="clutter-Features.html#CLUTTER-FEATURE-STAGE-MULTIPLE:CAPS"><code class="literal">CLUTTER_FEATURE_STAGE_MULTIPLE</code></a> to check at runtime whether a
|
278
|
+
backend supports multiple stages.
|
279
|
+
</p>
|
280
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
281
|
+
<colgroup>
|
282
|
+
<col align="left" valign="top">
|
283
|
+
<col>
|
284
|
+
</colgroup>
|
285
|
+
<tbody><tr>
|
286
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
287
|
+
<td>a new stage, or <code class="literal">NULL</code> if the default backend does
|
288
|
+
not support multiple stages. Use <a class="link" href="ClutterActor.html#clutter-actor-destroy" title="clutter_actor_destroy ()"><code class="function">clutter_actor_destroy()</code></a> to
|
289
|
+
programmatically close the returned stage.</td>
|
290
|
+
</tr></tbody>
|
291
|
+
</table></div>
|
292
|
+
<p class="since">Since 0.8</p>
|
293
|
+
</div>
|
294
|
+
<hr>
|
295
|
+
<div class="refsect2">
|
296
|
+
<a name="clutter-stage-set-title"></a><h3>clutter_stage_set_title ()</h3>
|
297
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_stage_set_title (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
298
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *title</code></em>);</pre>
|
299
|
+
<p>
|
300
|
+
Sets the stage title.
|
301
|
+
</p>
|
302
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
303
|
+
<colgroup>
|
304
|
+
<col align="left" valign="top">
|
305
|
+
<col>
|
306
|
+
</colgroup>
|
307
|
+
<tbody>
|
308
|
+
<tr>
|
309
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
310
|
+
<td>A <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
311
|
+
</td>
|
312
|
+
</tr>
|
313
|
+
<tr>
|
314
|
+
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
|
315
|
+
<td>A utf8 string for the stage windows title.</td>
|
316
|
+
</tr>
|
317
|
+
</tbody>
|
318
|
+
</table></div>
|
319
|
+
<p class="since">Since 0.4</p>
|
320
|
+
</div>
|
321
|
+
<hr>
|
322
|
+
<div class="refsect2">
|
323
|
+
<a name="clutter-stage-get-title"></a><h3>clutter_stage_get_title ()</h3>
|
324
|
+
<pre class="programlisting">const <span class="returnvalue">gchar</span> * clutter_stage_get_title (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>);</pre>
|
325
|
+
<p>
|
326
|
+
Gets the stage title.
|
327
|
+
</p>
|
328
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
329
|
+
<colgroup>
|
330
|
+
<col align="left" valign="top">
|
331
|
+
<col>
|
332
|
+
</colgroup>
|
333
|
+
<tbody>
|
334
|
+
<tr>
|
335
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
336
|
+
<td>A <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
337
|
+
</td>
|
338
|
+
</tr>
|
339
|
+
<tr>
|
340
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
341
|
+
<td>pointer to the title string for the stage. The
|
342
|
+
returned string is owned by the actor and should not
|
343
|
+
be modified or freed.</td>
|
344
|
+
</tr>
|
345
|
+
</tbody>
|
346
|
+
</table></div>
|
347
|
+
<p class="since">Since 0.4</p>
|
348
|
+
</div>
|
349
|
+
<hr>
|
350
|
+
<div class="refsect2">
|
351
|
+
<a name="clutter-stage-set-user-resizable"></a><h3>clutter_stage_set_user_resizable ()</h3>
|
352
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_stage_set_user_resizable (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
353
|
+
<em class="parameter"><code><span class="type">gboolean</span> resizable</code></em>);</pre>
|
354
|
+
<p>
|
355
|
+
Sets if the stage is resizable by user interaction (e.g. via
|
356
|
+
window manager controls)
|
357
|
+
</p>
|
358
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
359
|
+
<colgroup>
|
360
|
+
<col align="left" valign="top">
|
361
|
+
<col>
|
362
|
+
</colgroup>
|
363
|
+
<tbody>
|
364
|
+
<tr>
|
365
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
366
|
+
<td>a <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
367
|
+
</td>
|
368
|
+
</tr>
|
369
|
+
<tr>
|
370
|
+
<td><p><span class="term"><em class="parameter"><code>resizable</code></em> :</span></p></td>
|
371
|
+
<td>whether the stage should be user resizable.</td>
|
372
|
+
</tr>
|
373
|
+
</tbody>
|
374
|
+
</table></div>
|
375
|
+
<p class="since">Since 0.4</p>
|
376
|
+
</div>
|
377
|
+
<hr>
|
378
|
+
<div class="refsect2">
|
379
|
+
<a name="clutter-stage-get-user-resizable"></a><h3>clutter_stage_get_user_resizable ()</h3>
|
380
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> clutter_stage_get_user_resizable (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>);</pre>
|
381
|
+
<p>
|
382
|
+
Retrieves the value set with <a class="link" href="ClutterStage.html#clutter-stage-set-user-resizable" title="clutter_stage_set_user_resizable ()"><code class="function">clutter_stage_set_user_resizable()</code></a>.
|
383
|
+
</p>
|
384
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
385
|
+
<colgroup>
|
386
|
+
<col align="left" valign="top">
|
387
|
+
<col>
|
388
|
+
</colgroup>
|
389
|
+
<tbody>
|
390
|
+
<tr>
|
391
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
392
|
+
<td>a <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
393
|
+
</td>
|
394
|
+
</tr>
|
395
|
+
<tr>
|
396
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
397
|
+
<td>
|
398
|
+
<code class="literal">TRUE</code> if the stage is resizable by the user.</td>
|
399
|
+
</tr>
|
400
|
+
</tbody>
|
401
|
+
</table></div>
|
402
|
+
<p class="since">Since 0.4</p>
|
403
|
+
</div>
|
404
|
+
<hr>
|
405
|
+
<div class="refsect2">
|
406
|
+
<a name="clutter-stage-set-color"></a><h3>clutter_stage_set_color ()</h3>
|
407
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_stage_set_color (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
408
|
+
<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>);</pre>
|
409
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
410
|
+
<h3 class="title">Warning</h3>
|
411
|
+
<p><code class="literal">clutter_stage_set_color</code> has been deprecated since version 1.10 and should not be used in newly-written code. Use <a class="link" href="ClutterActor.html#clutter-actor-set-background-color" title="clutter_actor_set_background_color ()"><code class="function">clutter_actor_set_background_color()</code></a> instead.</p>
|
412
|
+
</div>
|
413
|
+
<p>
|
414
|
+
Sets the stage color.
|
415
|
+
</p>
|
416
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
417
|
+
<colgroup>
|
418
|
+
<col align="left" valign="top">
|
419
|
+
<col>
|
420
|
+
</colgroup>
|
421
|
+
<tbody>
|
422
|
+
<tr>
|
423
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
424
|
+
<td>A <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
425
|
+
</td>
|
426
|
+
</tr>
|
427
|
+
<tr>
|
428
|
+
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
429
|
+
<td>A <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>
|
430
|
+
</td>
|
431
|
+
</tr>
|
432
|
+
</tbody>
|
433
|
+
</table></div>
|
434
|
+
</div>
|
435
|
+
<hr>
|
436
|
+
<div class="refsect2">
|
437
|
+
<a name="clutter-stage-get-color"></a><h3>clutter_stage_get_color ()</h3>
|
438
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_stage_get_color (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
439
|
+
<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>);</pre>
|
440
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
441
|
+
<h3 class="title">Warning</h3>
|
442
|
+
<p><code class="literal">clutter_stage_get_color</code> has been deprecated since version 1.10 and should not be used in newly-written code. Use <a class="link" href="ClutterActor.html#clutter-actor-get-background-color" title="clutter_actor_get_background_color ()"><code class="function">clutter_actor_get_background_color()</code></a> instead.</p>
|
443
|
+
</div>
|
444
|
+
<p>
|
445
|
+
Retrieves the stage color.
|
446
|
+
</p>
|
447
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
448
|
+
<colgroup>
|
449
|
+
<col align="left" valign="top">
|
450
|
+
<col>
|
451
|
+
</colgroup>
|
452
|
+
<tbody>
|
453
|
+
<tr>
|
454
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
455
|
+
<td>A <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
456
|
+
</td>
|
457
|
+
</tr>
|
458
|
+
<tr>
|
459
|
+
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
460
|
+
<td>return location for a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>. <span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span>
|
461
|
+
</td>
|
462
|
+
</tr>
|
463
|
+
</tbody>
|
464
|
+
</table></div>
|
465
|
+
</div>
|
466
|
+
<hr>
|
467
|
+
<div class="refsect2">
|
468
|
+
<a name="clutter-stage-set-fullscreen"></a><h3>clutter_stage_set_fullscreen ()</h3>
|
469
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_stage_set_fullscreen (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
470
|
+
<em class="parameter"><code><span class="type">gboolean</span> fullscreen</code></em>);</pre>
|
471
|
+
<p>
|
472
|
+
Asks to place the stage window in the fullscreen or unfullscreen
|
473
|
+
states.
|
474
|
+
</p>
|
475
|
+
<p>
|
476
|
+
( Note that you shouldn't assume the window is definitely full screen
|
477
|
+
afterward, because other entities (e.g. the user or window manager)
|
478
|
+
could unfullscreen it again, and not all window managers honor
|
479
|
+
requests to fullscreen windows.
|
480
|
+
</p>
|
481
|
+
<p>
|
482
|
+
If you want to receive notification of the fullscreen state you
|
483
|
+
should either use the <a class="link" href="ClutterStage.html#ClutterStage-fullscreen" title='The "fullscreen" signal'><span class="type">"fullscreen"</span></a> and
|
484
|
+
<a class="link" href="ClutterStage.html#ClutterStage-unfullscreen" title='The "unfullscreen" signal'><span class="type">"unfullscreen"</span></a> signals, or use the notify signal
|
485
|
+
for the <a class="link" href="ClutterStage.html#ClutterStage--fullscreen-set" title='The "fullscreen-set" property'><span class="type">"fullscreen-set"</span></a> property
|
486
|
+
</p>
|
487
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
488
|
+
<colgroup>
|
489
|
+
<col align="left" valign="top">
|
490
|
+
<col>
|
491
|
+
</colgroup>
|
492
|
+
<tbody>
|
493
|
+
<tr>
|
494
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
495
|
+
<td>a <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
496
|
+
</td>
|
497
|
+
</tr>
|
498
|
+
<tr>
|
499
|
+
<td><p><span class="term"><em class="parameter"><code>fullscreen</code></em> :</span></p></td>
|
500
|
+
<td>
|
501
|
+
<code class="literal">TRUE</code> to to set the stage fullscreen</td>
|
502
|
+
</tr>
|
503
|
+
</tbody>
|
504
|
+
</table></div>
|
505
|
+
<p class="since">Since 1.0</p>
|
506
|
+
</div>
|
507
|
+
<hr>
|
508
|
+
<div class="refsect2">
|
509
|
+
<a name="clutter-stage-get-fullscreen"></a><h3>clutter_stage_get_fullscreen ()</h3>
|
510
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> clutter_stage_get_fullscreen (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>);</pre>
|
511
|
+
<p>
|
512
|
+
Retrieves whether the stage is full screen or not
|
513
|
+
</p>
|
514
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
515
|
+
<colgroup>
|
516
|
+
<col align="left" valign="top">
|
517
|
+
<col>
|
518
|
+
</colgroup>
|
519
|
+
<tbody>
|
520
|
+
<tr>
|
521
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
522
|
+
<td>a <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
523
|
+
</td>
|
524
|
+
</tr>
|
525
|
+
<tr>
|
526
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
527
|
+
<td>
|
528
|
+
<code class="literal">TRUE</code> if the stage is full screen</td>
|
529
|
+
</tr>
|
530
|
+
</tbody>
|
531
|
+
</table></div>
|
532
|
+
<p class="since">Since 1.0</p>
|
533
|
+
</div>
|
534
|
+
<hr>
|
535
|
+
<div class="refsect2">
|
536
|
+
<a name="clutter-stage-show-cursor"></a><h3>clutter_stage_show_cursor ()</h3>
|
537
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_stage_show_cursor (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>);</pre>
|
538
|
+
<p>
|
539
|
+
Shows the cursor on the stage window
|
540
|
+
</p>
|
541
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
542
|
+
<colgroup>
|
543
|
+
<col align="left" valign="top">
|
544
|
+
<col>
|
545
|
+
</colgroup>
|
546
|
+
<tbody><tr>
|
547
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
548
|
+
<td>a <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
549
|
+
</td>
|
550
|
+
</tr></tbody>
|
551
|
+
</table></div>
|
552
|
+
</div>
|
553
|
+
<hr>
|
554
|
+
<div class="refsect2">
|
555
|
+
<a name="clutter-stage-hide-cursor"></a><h3>clutter_stage_hide_cursor ()</h3>
|
556
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_stage_hide_cursor (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>);</pre>
|
557
|
+
<p>
|
558
|
+
Makes the cursor invisible on the stage window
|
559
|
+
</p>
|
560
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
561
|
+
<colgroup>
|
562
|
+
<col align="left" valign="top">
|
563
|
+
<col>
|
564
|
+
</colgroup>
|
565
|
+
<tbody><tr>
|
566
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
567
|
+
<td>a <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
568
|
+
</td>
|
569
|
+
</tr></tbody>
|
570
|
+
</table></div>
|
571
|
+
<p class="since">Since 0.4</p>
|
572
|
+
</div>
|
573
|
+
<hr>
|
574
|
+
<div class="refsect2">
|
575
|
+
<a name="ClutterPickMode"></a><h3>enum ClutterPickMode</h3>
|
576
|
+
<pre class="programlisting">typedef enum {
|
577
|
+
CLUTTER_PICK_NONE = 0,
|
578
|
+
CLUTTER_PICK_REACTIVE,
|
579
|
+
CLUTTER_PICK_ALL
|
580
|
+
} ClutterPickMode;
|
581
|
+
</pre>
|
582
|
+
<p>
|
583
|
+
Controls the paint cycle of the scene graph when in pick mode
|
584
|
+
</p>
|
585
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
586
|
+
<colgroup>
|
587
|
+
<col align="left" valign="top">
|
588
|
+
<col>
|
589
|
+
</colgroup>
|
590
|
+
<tbody>
|
591
|
+
<tr>
|
592
|
+
<td><p><a name="CLUTTER-PICK-NONE:CAPS"></a><span class="term"><code class="literal">CLUTTER_PICK_NONE</code></span></p></td>
|
593
|
+
<td>Do not paint any actor
|
594
|
+
</td>
|
595
|
+
</tr>
|
596
|
+
<tr>
|
597
|
+
<td><p><a name="CLUTTER-PICK-REACTIVE:CAPS"></a><span class="term"><code class="literal">CLUTTER_PICK_REACTIVE</code></span></p></td>
|
598
|
+
<td>Paint only the reactive actors
|
599
|
+
</td>
|
600
|
+
</tr>
|
601
|
+
<tr>
|
602
|
+
<td><p><a name="CLUTTER-PICK-ALL:CAPS"></a><span class="term"><code class="literal">CLUTTER_PICK_ALL</code></span></p></td>
|
603
|
+
<td>Paint all actors
|
604
|
+
</td>
|
605
|
+
</tr>
|
606
|
+
</tbody>
|
607
|
+
</table></div>
|
608
|
+
<p class="since">Since 1.0</p>
|
609
|
+
</div>
|
610
|
+
<hr>
|
611
|
+
<div class="refsect2">
|
612
|
+
<a name="clutter-stage-get-actor-at-pos"></a><h3>clutter_stage_get_actor_at_pos ()</h3>
|
613
|
+
<pre class="programlisting"><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> * clutter_stage_get_actor_at_pos (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
614
|
+
<em class="parameter"><code><a class="link" href="ClutterStage.html#ClutterPickMode" title="enum ClutterPickMode"><span class="type">ClutterPickMode</span></a> pick_mode</code></em>,
|
615
|
+
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
616
|
+
<em class="parameter"><code><span class="type">gint</span> y</code></em>);</pre>
|
617
|
+
<p>
|
618
|
+
Checks the scene at the coordinates <em class="parameter"><code>x</code></em> and <em class="parameter"><code>y</code></em> and returns a pointer
|
619
|
+
to the <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> at those coordinates.
|
620
|
+
</p>
|
621
|
+
<p>
|
622
|
+
By using <em class="parameter"><code>pick_mode</code></em> it is possible to control which actors will be
|
623
|
+
painted and thus available.
|
624
|
+
</p>
|
625
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
626
|
+
<colgroup>
|
627
|
+
<col align="left" valign="top">
|
628
|
+
<col>
|
629
|
+
</colgroup>
|
630
|
+
<tbody>
|
631
|
+
<tr>
|
632
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
633
|
+
<td>a <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
634
|
+
</td>
|
635
|
+
</tr>
|
636
|
+
<tr>
|
637
|
+
<td><p><span class="term"><em class="parameter"><code>pick_mode</code></em> :</span></p></td>
|
638
|
+
<td>how the scene graph should be painted</td>
|
639
|
+
</tr>
|
640
|
+
<tr>
|
641
|
+
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
642
|
+
<td>X coordinate to check</td>
|
643
|
+
</tr>
|
644
|
+
<tr>
|
645
|
+
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
646
|
+
<td>Y coordinate to check</td>
|
647
|
+
</tr>
|
648
|
+
<tr>
|
649
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
650
|
+
<td>the actor at the specified coordinates,
|
651
|
+
if any. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
652
|
+
</td>
|
653
|
+
</tr>
|
654
|
+
</tbody>
|
655
|
+
</table></div>
|
656
|
+
</div>
|
657
|
+
<hr>
|
658
|
+
<div class="refsect2">
|
659
|
+
<a name="clutter-stage-ensure-current"></a><h3>clutter_stage_ensure_current ()</h3>
|
660
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_stage_ensure_current (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>);</pre>
|
661
|
+
<p>
|
662
|
+
This function essentially makes sure the right GL context is
|
663
|
+
current for the passed stage. It is not intended to
|
664
|
+
be used by applications.
|
665
|
+
</p>
|
666
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
667
|
+
<colgroup>
|
668
|
+
<col align="left" valign="top">
|
669
|
+
<col>
|
670
|
+
</colgroup>
|
671
|
+
<tbody><tr>
|
672
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
673
|
+
<td>the <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
674
|
+
</td>
|
675
|
+
</tr></tbody>
|
676
|
+
</table></div>
|
677
|
+
<p class="since">Since 0.8</p>
|
678
|
+
</div>
|
679
|
+
<hr>
|
680
|
+
<div class="refsect2">
|
681
|
+
<a name="clutter-stage-ensure-viewport"></a><h3>clutter_stage_ensure_viewport ()</h3>
|
682
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_stage_ensure_viewport (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>);</pre>
|
683
|
+
<p>
|
684
|
+
Ensures that the GL viewport is updated with the current
|
685
|
+
stage window size.
|
686
|
+
</p>
|
687
|
+
<p>
|
688
|
+
This function will queue a redraw of <em class="parameter"><code>stage</code></em>.
|
689
|
+
</p>
|
690
|
+
<p>
|
691
|
+
This function should not be called by applications; it is used
|
692
|
+
when embedding a <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> into a toolkit with another
|
693
|
+
windowing system, like GTK+.
|
694
|
+
</p>
|
695
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
696
|
+
<colgroup>
|
697
|
+
<col align="left" valign="top">
|
698
|
+
<col>
|
699
|
+
</colgroup>
|
700
|
+
<tbody><tr>
|
701
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
702
|
+
<td>a <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
703
|
+
</td>
|
704
|
+
</tr></tbody>
|
705
|
+
</table></div>
|
706
|
+
<p class="since">Since 1.0</p>
|
707
|
+
</div>
|
708
|
+
<hr>
|
709
|
+
<div class="refsect2">
|
710
|
+
<a name="clutter-stage-ensure-redraw"></a><h3>clutter_stage_ensure_redraw ()</h3>
|
711
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_stage_ensure_redraw (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>);</pre>
|
712
|
+
<p>
|
713
|
+
Ensures that <em class="parameter"><code>stage</code></em> is redrawn
|
714
|
+
</p>
|
715
|
+
<p>
|
716
|
+
This function should not be called by applications: it is
|
717
|
+
used when embedding a <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> into a toolkit with
|
718
|
+
another windowing system, like GTK+.
|
719
|
+
</p>
|
720
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
721
|
+
<colgroup>
|
722
|
+
<col align="left" valign="top">
|
723
|
+
<col>
|
724
|
+
</colgroup>
|
725
|
+
<tbody><tr>
|
726
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
727
|
+
<td>a <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
728
|
+
</td>
|
729
|
+
</tr></tbody>
|
730
|
+
</table></div>
|
731
|
+
<p class="since">Since 1.0</p>
|
732
|
+
</div>
|
733
|
+
<hr>
|
734
|
+
<div class="refsect2">
|
735
|
+
<a name="clutter-stage-queue-redraw"></a><h3>clutter_stage_queue_redraw ()</h3>
|
736
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_stage_queue_redraw (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>);</pre>
|
737
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
738
|
+
<h3 class="title">Warning</h3>
|
739
|
+
<p><code class="literal">clutter_stage_queue_redraw</code> has been deprecated since version 1.10 and should not be used in newly-written code. Use <a class="link" href="ClutterActor.html#clutter-actor-queue-redraw" title="clutter_actor_queue_redraw ()"><code class="function">clutter_actor_queue_redraw()</code></a> instead.</p>
|
740
|
+
</div>
|
741
|
+
<p>
|
742
|
+
Queues a redraw for the passed stage.
|
743
|
+
</p>
|
744
|
+
<p>
|
745
|
+
</p>
|
746
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
747
|
+
<h3 class="title">Note</h3>Applications should call <a class="link" href="ClutterActor.html#clutter-actor-queue-redraw" title="clutter_actor_queue_redraw ()"><code class="function">clutter_actor_queue_redraw()</code></a> and not
|
748
|
+
this function.</div>
|
749
|
+
<p>
|
750
|
+
</p>
|
751
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
752
|
+
<colgroup>
|
753
|
+
<col align="left" valign="top">
|
754
|
+
<col>
|
755
|
+
</colgroup>
|
756
|
+
<tbody><tr>
|
757
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
758
|
+
<td>the <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
759
|
+
</td>
|
760
|
+
</tr></tbody>
|
761
|
+
</table></div>
|
762
|
+
<p class="since">Since 0.8</p>
|
763
|
+
</div>
|
764
|
+
<hr>
|
765
|
+
<div class="refsect2">
|
766
|
+
<a name="clutter-actor-queue-redraw-with-clip"></a><h3>clutter_actor_queue_redraw_with_clip ()</h3>
|
767
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_actor_queue_redraw_with_clip
|
768
|
+
(<em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *self</code></em>,
|
769
|
+
<em class="parameter"><code>const <a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-Types.html#cairo-rectangle-int-t"><span class="type">cairo_rectangle_int_t</span></a> *clip</code></em>);</pre>
|
770
|
+
<p>
|
771
|
+
Queues a redraw on <em class="parameter"><code>self</code></em> limited to a specific, actor-relative
|
772
|
+
rectangular area.
|
773
|
+
</p>
|
774
|
+
<p>
|
775
|
+
If <em class="parameter"><code>clip</code></em> is <code class="literal">NULL</code> this function is equivalent to
|
776
|
+
<a class="link" href="ClutterActor.html#clutter-actor-queue-redraw" title="clutter_actor_queue_redraw ()"><code class="function">clutter_actor_queue_redraw()</code></a>.
|
777
|
+
</p>
|
778
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
779
|
+
<colgroup>
|
780
|
+
<col align="left" valign="top">
|
781
|
+
<col>
|
782
|
+
</colgroup>
|
783
|
+
<tbody>
|
784
|
+
<tr>
|
785
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
786
|
+
<td>a <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a>
|
787
|
+
</td>
|
788
|
+
</tr>
|
789
|
+
<tr>
|
790
|
+
<td><p><span class="term"><em class="parameter"><code>clip</code></em> :</span></p></td>
|
791
|
+
<td>a rectangular clip region, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
792
|
+
</td>
|
793
|
+
</tr>
|
794
|
+
</tbody>
|
795
|
+
</table></div>
|
796
|
+
<p class="since">Since 1.10</p>
|
797
|
+
</div>
|
798
|
+
<hr>
|
799
|
+
<div class="refsect2">
|
800
|
+
<a name="clutter-stage-event"></a><h3>clutter_stage_event ()</h3>
|
801
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> clutter_stage_event (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
802
|
+
<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>
|
803
|
+
<p>
|
804
|
+
This function is used to emit an event on the main stage.
|
805
|
+
</p>
|
806
|
+
<p>
|
807
|
+
You should rarely need to use this function, except for
|
808
|
+
synthetised events.
|
809
|
+
</p>
|
810
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
811
|
+
<colgroup>
|
812
|
+
<col align="left" valign="top">
|
813
|
+
<col>
|
814
|
+
</colgroup>
|
815
|
+
<tbody>
|
816
|
+
<tr>
|
817
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
818
|
+
<td>a <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
819
|
+
</td>
|
820
|
+
</tr>
|
821
|
+
<tr>
|
822
|
+
<td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
|
823
|
+
<td>a <a class="link" href="clutter-Events.html#ClutterEvent" title="union ClutterEvent"><span class="type">ClutterEvent</span></a>
|
824
|
+
</td>
|
825
|
+
</tr>
|
826
|
+
<tr>
|
827
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
828
|
+
<td>the return value from the signal emission</td>
|
829
|
+
</tr>
|
830
|
+
</tbody>
|
831
|
+
</table></div>
|
832
|
+
<p class="since">Since 0.4</p>
|
833
|
+
</div>
|
834
|
+
<hr>
|
835
|
+
<div class="refsect2">
|
836
|
+
<a name="clutter-stage-set-key-focus"></a><h3>clutter_stage_set_key_focus ()</h3>
|
837
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_stage_set_key_focus (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
838
|
+
<em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor</code></em>);</pre>
|
839
|
+
<p>
|
840
|
+
Sets the key focus on <em class="parameter"><code>actor</code></em>. An actor with key focus will receive
|
841
|
+
all the key events. If <em class="parameter"><code>actor</code></em> is <code class="literal">NULL</code>, the stage will receive
|
842
|
+
focus.
|
843
|
+
</p>
|
844
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
845
|
+
<colgroup>
|
846
|
+
<col align="left" valign="top">
|
847
|
+
<col>
|
848
|
+
</colgroup>
|
849
|
+
<tbody>
|
850
|
+
<tr>
|
851
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
852
|
+
<td>the <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
853
|
+
</td>
|
854
|
+
</tr>
|
855
|
+
<tr>
|
856
|
+
<td><p><span class="term"><em class="parameter"><code>actor</code></em> :</span></p></td>
|
857
|
+
<td>the actor to set key focus to, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
858
|
+
</td>
|
859
|
+
</tr>
|
860
|
+
</tbody>
|
861
|
+
</table></div>
|
862
|
+
<p class="since">Since 0.6</p>
|
863
|
+
</div>
|
864
|
+
<hr>
|
865
|
+
<div class="refsect2">
|
866
|
+
<a name="clutter-stage-get-key-focus"></a><h3>clutter_stage_get_key_focus ()</h3>
|
867
|
+
<pre class="programlisting"><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> * clutter_stage_get_key_focus (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>);</pre>
|
868
|
+
<p>
|
869
|
+
Retrieves the actor that is currently under key focus.
|
870
|
+
</p>
|
871
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
872
|
+
<colgroup>
|
873
|
+
<col align="left" valign="top">
|
874
|
+
<col>
|
875
|
+
</colgroup>
|
876
|
+
<tbody>
|
877
|
+
<tr>
|
878
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
879
|
+
<td>the <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
880
|
+
</td>
|
881
|
+
</tr>
|
882
|
+
<tr>
|
883
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
884
|
+
<td>the actor with key focus, or the stage. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
885
|
+
</td>
|
886
|
+
</tr>
|
887
|
+
</tbody>
|
888
|
+
</table></div>
|
889
|
+
<p class="since">Since 0.6</p>
|
890
|
+
</div>
|
891
|
+
<hr>
|
892
|
+
<div class="refsect2">
|
893
|
+
<a name="clutter-stage-read-pixels"></a><h3>clutter_stage_read_pixels ()</h3>
|
894
|
+
<pre class="programlisting"><span class="returnvalue">guchar</span> * clutter_stage_read_pixels (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
895
|
+
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
896
|
+
<em class="parameter"><code><span class="type">gint</span> y</code></em>,
|
897
|
+
<em class="parameter"><code><span class="type">gint</span> width</code></em>,
|
898
|
+
<em class="parameter"><code><span class="type">gint</span> height</code></em>);</pre>
|
899
|
+
<p>
|
900
|
+
Makes a screenshot of the stage in RGBA 8bit data, returns a
|
901
|
+
linear buffer with <em class="parameter"><code>width</code></em> * 4 as rowstride.
|
902
|
+
</p>
|
903
|
+
<p>
|
904
|
+
The alpha data contained in the returned buffer is driver-dependent,
|
905
|
+
and not guaranteed to hold any sensible value.
|
906
|
+
</p>
|
907
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
908
|
+
<colgroup>
|
909
|
+
<col align="left" valign="top">
|
910
|
+
<col>
|
911
|
+
</colgroup>
|
912
|
+
<tbody>
|
913
|
+
<tr>
|
914
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
915
|
+
<td>A <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
916
|
+
</td>
|
917
|
+
</tr>
|
918
|
+
<tr>
|
919
|
+
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
920
|
+
<td>x coordinate of the first pixel that is read from stage</td>
|
921
|
+
</tr>
|
922
|
+
<tr>
|
923
|
+
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
924
|
+
<td>y coordinate of the first pixel that is read from stage</td>
|
925
|
+
</tr>
|
926
|
+
<tr>
|
927
|
+
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
928
|
+
<td>Width dimention of pixels to be read, or -1 for the
|
929
|
+
entire stage width</td>
|
930
|
+
</tr>
|
931
|
+
<tr>
|
932
|
+
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
933
|
+
<td>Height dimention of pixels to be read, or -1 for the
|
934
|
+
entire stage height</td>
|
935
|
+
</tr>
|
936
|
+
<tr>
|
937
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
938
|
+
<td>a pointer to newly allocated memory with the buffer
|
939
|
+
or <code class="literal">NULL</code> if the read failed. Use <code class="function">g_free()</code> on the returned data
|
940
|
+
to release the resources it has allocated. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym>]</span>
|
941
|
+
</td>
|
942
|
+
</tr>
|
943
|
+
</tbody>
|
944
|
+
</table></div>
|
945
|
+
</div>
|
946
|
+
<hr>
|
947
|
+
<div class="refsect2">
|
948
|
+
<a name="clutter-stage-set-throttle-motion-events"></a><h3>clutter_stage_set_throttle_motion_events ()</h3>
|
949
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_stage_set_throttle_motion_events
|
950
|
+
(<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
951
|
+
<em class="parameter"><code><span class="type">gboolean</span> throttle</code></em>);</pre>
|
952
|
+
<p>
|
953
|
+
Sets whether motion events received between redraws should
|
954
|
+
be throttled or not. If motion events are throttled, those
|
955
|
+
events received by the windowing system between redraws will
|
956
|
+
be compressed so that only the last event will be propagated
|
957
|
+
to the <em class="parameter"><code>stage</code></em> and its actors.
|
958
|
+
</p>
|
959
|
+
<p>
|
960
|
+
This function should only be used if you want to have all
|
961
|
+
the motion events delivered to your application code.
|
962
|
+
</p>
|
963
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
964
|
+
<colgroup>
|
965
|
+
<col align="left" valign="top">
|
966
|
+
<col>
|
967
|
+
</colgroup>
|
968
|
+
<tbody>
|
969
|
+
<tr>
|
970
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
971
|
+
<td>a <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
972
|
+
</td>
|
973
|
+
</tr>
|
974
|
+
<tr>
|
975
|
+
<td><p><span class="term"><em class="parameter"><code>throttle</code></em> :</span></p></td>
|
976
|
+
<td>
|
977
|
+
<code class="literal">TRUE</code> to throttle motion events</td>
|
978
|
+
</tr>
|
979
|
+
</tbody>
|
980
|
+
</table></div>
|
981
|
+
<p class="since">Since 1.0</p>
|
982
|
+
</div>
|
983
|
+
<hr>
|
984
|
+
<div class="refsect2">
|
985
|
+
<a name="clutter-stage-get-throttle-motion-events"></a><h3>clutter_stage_get_throttle_motion_events ()</h3>
|
986
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> clutter_stage_get_throttle_motion_events
|
987
|
+
(<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>);</pre>
|
988
|
+
<p>
|
989
|
+
Retrieves the value set with <a class="link" href="ClutterStage.html#clutter-stage-set-throttle-motion-events" title="clutter_stage_set_throttle_motion_events ()"><code class="function">clutter_stage_set_throttle_motion_events()</code></a>
|
990
|
+
</p>
|
991
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
992
|
+
<colgroup>
|
993
|
+
<col align="left" valign="top">
|
994
|
+
<col>
|
995
|
+
</colgroup>
|
996
|
+
<tbody>
|
997
|
+
<tr>
|
998
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
999
|
+
<td>a <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
1000
|
+
</td>
|
1001
|
+
</tr>
|
1002
|
+
<tr>
|
1003
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1004
|
+
<td>
|
1005
|
+
<code class="literal">TRUE</code> if the motion events are being throttled,
|
1006
|
+
and <code class="literal">FALSE</code> otherwise</td>
|
1007
|
+
</tr>
|
1008
|
+
</tbody>
|
1009
|
+
</table></div>
|
1010
|
+
<p class="since">Since 1.0</p>
|
1011
|
+
</div>
|
1012
|
+
<hr>
|
1013
|
+
<div class="refsect2">
|
1014
|
+
<a name="clutter-stage-set-use-alpha"></a><h3>clutter_stage_set_use_alpha ()</h3>
|
1015
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_stage_set_use_alpha (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
1016
|
+
<em class="parameter"><code><span class="type">gboolean</span> use_alpha</code></em>);</pre>
|
1017
|
+
<p>
|
1018
|
+
Sets whether the <em class="parameter"><code>stage</code></em> should honour the <a class="link" href="ClutterActor.html#ClutterActor--opacity" title='The "opacity" property'><span class="type">"opacity"</span></a> and
|
1019
|
+
the alpha channel of the <a class="link" href="ClutterStage.html#ClutterStage--color" title='The "color" property'><span class="type">"color"</span></a>
|
1020
|
+
</p>
|
1021
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1022
|
+
<colgroup>
|
1023
|
+
<col align="left" valign="top">
|
1024
|
+
<col>
|
1025
|
+
</colgroup>
|
1026
|
+
<tbody>
|
1027
|
+
<tr>
|
1028
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
1029
|
+
<td>a <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
1030
|
+
</td>
|
1031
|
+
</tr>
|
1032
|
+
<tr>
|
1033
|
+
<td><p><span class="term"><em class="parameter"><code>use_alpha</code></em> :</span></p></td>
|
1034
|
+
<td>whether the stage should honour the opacity or the
|
1035
|
+
alpha channel of the stage color</td>
|
1036
|
+
</tr>
|
1037
|
+
</tbody>
|
1038
|
+
</table></div>
|
1039
|
+
<p class="since">Since 1.2</p>
|
1040
|
+
</div>
|
1041
|
+
<hr>
|
1042
|
+
<div class="refsect2">
|
1043
|
+
<a name="clutter-stage-get-use-alpha"></a><h3>clutter_stage_get_use_alpha ()</h3>
|
1044
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> clutter_stage_get_use_alpha (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>);</pre>
|
1045
|
+
<p>
|
1046
|
+
Retrieves the value set using <a class="link" href="ClutterStage.html#clutter-stage-set-use-alpha" title="clutter_stage_set_use_alpha ()"><code class="function">clutter_stage_set_use_alpha()</code></a>
|
1047
|
+
</p>
|
1048
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1049
|
+
<colgroup>
|
1050
|
+
<col align="left" valign="top">
|
1051
|
+
<col>
|
1052
|
+
</colgroup>
|
1053
|
+
<tbody>
|
1054
|
+
<tr>
|
1055
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
1056
|
+
<td>a <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
1057
|
+
</td>
|
1058
|
+
</tr>
|
1059
|
+
<tr>
|
1060
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1061
|
+
<td>
|
1062
|
+
<code class="literal">TRUE</code> if the stage should honour the opacity and the
|
1063
|
+
alpha channel of the stage color</td>
|
1064
|
+
</tr>
|
1065
|
+
</tbody>
|
1066
|
+
</table></div>
|
1067
|
+
<p class="since">Since 1.2</p>
|
1068
|
+
</div>
|
1069
|
+
<hr>
|
1070
|
+
<div class="refsect2">
|
1071
|
+
<a name="clutter-stage-set-minimum-size"></a><h3>clutter_stage_set_minimum_size ()</h3>
|
1072
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_stage_set_minimum_size (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
1073
|
+
<em class="parameter"><code><span class="type">guint</span> width</code></em>,
|
1074
|
+
<em class="parameter"><code><span class="type">guint</span> height</code></em>);</pre>
|
1075
|
+
<p>
|
1076
|
+
Sets the minimum size for a stage window, if the default backend
|
1077
|
+
uses <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> inside a window
|
1078
|
+
</p>
|
1079
|
+
<p>
|
1080
|
+
This is a convenience function, and it is equivalent to setting the
|
1081
|
+
<a class="link" href="ClutterActor.html#ClutterActor--min-width" title='The "min-width" property'><span class="type">"min-width"</span></a> and <a class="link" href="ClutterActor.html#ClutterActor--min-height" title='The "min-height" property'><span class="type">"min-height"</span></a> on <em class="parameter"><code>stage</code></em>
|
1082
|
+
</p>
|
1083
|
+
<p>
|
1084
|
+
If the current size of <em class="parameter"><code>stage</code></em> is smaller than the minimum size, the
|
1085
|
+
<em class="parameter"><code>stage</code></em> will be resized to the new <em class="parameter"><code>width</code></em> and <em class="parameter"><code>height</code></em>
|
1086
|
+
</p>
|
1087
|
+
<p>
|
1088
|
+
This function has no effect if <em class="parameter"><code>stage</code></em> is fullscreen
|
1089
|
+
</p>
|
1090
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1091
|
+
<colgroup>
|
1092
|
+
<col align="left" valign="top">
|
1093
|
+
<col>
|
1094
|
+
</colgroup>
|
1095
|
+
<tbody>
|
1096
|
+
<tr>
|
1097
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
1098
|
+
<td>a <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
1099
|
+
</td>
|
1100
|
+
</tr>
|
1101
|
+
<tr>
|
1102
|
+
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
1103
|
+
<td>width, in pixels</td>
|
1104
|
+
</tr>
|
1105
|
+
<tr>
|
1106
|
+
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
1107
|
+
<td>height, in pixels</td>
|
1108
|
+
</tr>
|
1109
|
+
</tbody>
|
1110
|
+
</table></div>
|
1111
|
+
<p class="since">Since 1.2</p>
|
1112
|
+
</div>
|
1113
|
+
<hr>
|
1114
|
+
<div class="refsect2">
|
1115
|
+
<a name="clutter-stage-get-minimum-size"></a><h3>clutter_stage_get_minimum_size ()</h3>
|
1116
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_stage_get_minimum_size (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
1117
|
+
<em class="parameter"><code><span class="type">guint</span> *width</code></em>,
|
1118
|
+
<em class="parameter"><code><span class="type">guint</span> *height</code></em>);</pre>
|
1119
|
+
<p>
|
1120
|
+
Retrieves the minimum size for a stage window as set using
|
1121
|
+
<a class="link" href="ClutterStage.html#clutter-stage-set-minimum-size" title="clutter_stage_set_minimum_size ()"><code class="function">clutter_stage_set_minimum_size()</code></a>.
|
1122
|
+
</p>
|
1123
|
+
<p>
|
1124
|
+
The returned size may not correspond to the actual minimum size and
|
1125
|
+
it is specific to the <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> implementation inside the
|
1126
|
+
Clutter backend
|
1127
|
+
</p>
|
1128
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1129
|
+
<colgroup>
|
1130
|
+
<col align="left" valign="top">
|
1131
|
+
<col>
|
1132
|
+
</colgroup>
|
1133
|
+
<tbody>
|
1134
|
+
<tr>
|
1135
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
1136
|
+
<td>a <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
1137
|
+
</td>
|
1138
|
+
</tr>
|
1139
|
+
<tr>
|
1140
|
+
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
1141
|
+
<td>return location for the minimum width, in pixels,
|
1142
|
+
or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
1143
|
+
</td>
|
1144
|
+
</tr>
|
1145
|
+
<tr>
|
1146
|
+
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
1147
|
+
<td>return location for the minimum height, in pixels,
|
1148
|
+
or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
1149
|
+
</td>
|
1150
|
+
</tr>
|
1151
|
+
</tbody>
|
1152
|
+
</table></div>
|
1153
|
+
<p class="since">Since 1.2</p>
|
1154
|
+
</div>
|
1155
|
+
<hr>
|
1156
|
+
<div class="refsect2">
|
1157
|
+
<a name="clutter-stage-set-no-clear-hint"></a><h3>clutter_stage_set_no_clear_hint ()</h3>
|
1158
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_stage_set_no_clear_hint (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
1159
|
+
<em class="parameter"><code><span class="type">gboolean</span> no_clear</code></em>);</pre>
|
1160
|
+
<p>
|
1161
|
+
Sets whether the <em class="parameter"><code>stage</code></em> should clear itself at the beginning
|
1162
|
+
of each paint cycle or not.
|
1163
|
+
</p>
|
1164
|
+
<p>
|
1165
|
+
Clearing the <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> can be a costly operation, especially
|
1166
|
+
if the stage is always covered - for instance, in a full-screen
|
1167
|
+
video player or in a game with a background texture.
|
1168
|
+
</p>
|
1169
|
+
<p>
|
1170
|
+
</p>
|
1171
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1172
|
+
<h3 class="title">Note</h3>
|
1173
|
+
<p>This setting is a hint; Clutter might discard this
|
1174
|
+
hint depending on its internal state.</p>
|
1175
|
+
</div>
|
1176
|
+
<p>
|
1177
|
+
</p>
|
1178
|
+
<p>
|
1179
|
+
</p>
|
1180
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1181
|
+
<h3 class="title">Warning</h3>
|
1182
|
+
<p>If parts of the stage are visible and you disable
|
1183
|
+
clearing you might end up with visual artifacts while painting the
|
1184
|
+
contents of the stage.</p>
|
1185
|
+
</div>
|
1186
|
+
<p>
|
1187
|
+
</p>
|
1188
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1189
|
+
<colgroup>
|
1190
|
+
<col align="left" valign="top">
|
1191
|
+
<col>
|
1192
|
+
</colgroup>
|
1193
|
+
<tbody>
|
1194
|
+
<tr>
|
1195
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
1196
|
+
<td>a <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
1197
|
+
</td>
|
1198
|
+
</tr>
|
1199
|
+
<tr>
|
1200
|
+
<td><p><span class="term"><em class="parameter"><code>no_clear</code></em> :</span></p></td>
|
1201
|
+
<td>
|
1202
|
+
<code class="literal">TRUE</code> if the <em class="parameter"><code>stage</code></em> should not clear itself on every
|
1203
|
+
repaint cycle</td>
|
1204
|
+
</tr>
|
1205
|
+
</tbody>
|
1206
|
+
</table></div>
|
1207
|
+
<p class="since">Since 1.4</p>
|
1208
|
+
</div>
|
1209
|
+
<hr>
|
1210
|
+
<div class="refsect2">
|
1211
|
+
<a name="clutter-stage-get-no-clear-hint"></a><h3>clutter_stage_get_no_clear_hint ()</h3>
|
1212
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> clutter_stage_get_no_clear_hint (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>);</pre>
|
1213
|
+
<p>
|
1214
|
+
Retrieves the hint set with <a class="link" href="ClutterStage.html#clutter-stage-set-no-clear-hint" title="clutter_stage_set_no_clear_hint ()"><code class="function">clutter_stage_set_no_clear_hint()</code></a>
|
1215
|
+
</p>
|
1216
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1217
|
+
<colgroup>
|
1218
|
+
<col align="left" valign="top">
|
1219
|
+
<col>
|
1220
|
+
</colgroup>
|
1221
|
+
<tbody>
|
1222
|
+
<tr>
|
1223
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
1224
|
+
<td>a <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
1225
|
+
</td>
|
1226
|
+
</tr>
|
1227
|
+
<tr>
|
1228
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1229
|
+
<td>
|
1230
|
+
<code class="literal">TRUE</code> if the stage should not clear itself on every paint
|
1231
|
+
cycle, and <code class="literal">FALSE</code> otherwise</td>
|
1232
|
+
</tr>
|
1233
|
+
</tbody>
|
1234
|
+
</table></div>
|
1235
|
+
<p class="since">Since 1.4</p>
|
1236
|
+
</div>
|
1237
|
+
<hr>
|
1238
|
+
<div class="refsect2">
|
1239
|
+
<a name="clutter-stage-get-redraw-clip-bounds"></a><h3>clutter_stage_get_redraw_clip_bounds ()</h3>
|
1240
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_stage_get_redraw_clip_bounds
|
1241
|
+
(<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
1242
|
+
<em class="parameter"><code><a href="/home/ebassi/gnome/install/share/gtk-doc/html/cairo/cairo-Types.html#cairo-rectangle-int-t"><span class="type">cairo_rectangle_int_t</span></a> *clip</code></em>);</pre>
|
1243
|
+
<p>
|
1244
|
+
Gets the bounds of the current redraw for <em class="parameter"><code>stage</code></em> in stage pixel
|
1245
|
+
coordinates. E.g., if only a single actor has queued a redraw then
|
1246
|
+
Clutter may redraw the stage with a clip so that it doesn't have to
|
1247
|
+
paint every pixel in the stage. This function would then return the
|
1248
|
+
bounds of that clip. An application can use this information to
|
1249
|
+
avoid some extra work if it knows that some regions of the stage
|
1250
|
+
aren't going to be painted. This should only be called while the
|
1251
|
+
stage is being painted. If there is no current redraw clip then
|
1252
|
+
this function will set <em class="parameter"><code>clip</code></em> to the full extents of the stage.
|
1253
|
+
</p>
|
1254
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1255
|
+
<colgroup>
|
1256
|
+
<col align="left" valign="top">
|
1257
|
+
<col>
|
1258
|
+
</colgroup>
|
1259
|
+
<tbody>
|
1260
|
+
<tr>
|
1261
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
1262
|
+
<td>A <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
1263
|
+
</td>
|
1264
|
+
</tr>
|
1265
|
+
<tr>
|
1266
|
+
<td><p><span class="term"><em class="parameter"><code>clip</code></em> :</span></p></td>
|
1267
|
+
<td>Return location for the clip bounds. <span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span>
|
1268
|
+
</td>
|
1269
|
+
</tr>
|
1270
|
+
</tbody>
|
1271
|
+
</table></div>
|
1272
|
+
<p class="since">Since 1.8</p>
|
1273
|
+
</div>
|
1274
|
+
<hr>
|
1275
|
+
<div class="refsect2">
|
1276
|
+
<a name="clutter-stage-set-accept-focus"></a><h3>clutter_stage_set_accept_focus ()</h3>
|
1277
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_stage_set_accept_focus (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
1278
|
+
<em class="parameter"><code><span class="type">gboolean</span> accept_focus</code></em>);</pre>
|
1279
|
+
<p>
|
1280
|
+
Sets whether the <em class="parameter"><code>stage</code></em> should accept the key focus when shown.
|
1281
|
+
</p>
|
1282
|
+
<p>
|
1283
|
+
This function should be called before showing <em class="parameter"><code>stage</code></em> using
|
1284
|
+
<a class="link" href="ClutterActor.html#clutter-actor-show" title="clutter_actor_show ()"><code class="function">clutter_actor_show()</code></a>.
|
1285
|
+
</p>
|
1286
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1287
|
+
<colgroup>
|
1288
|
+
<col align="left" valign="top">
|
1289
|
+
<col>
|
1290
|
+
</colgroup>
|
1291
|
+
<tbody>
|
1292
|
+
<tr>
|
1293
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
1294
|
+
<td>a <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
1295
|
+
</td>
|
1296
|
+
</tr>
|
1297
|
+
<tr>
|
1298
|
+
<td><p><span class="term"><em class="parameter"><code>accept_focus</code></em> :</span></p></td>
|
1299
|
+
<td>
|
1300
|
+
<code class="literal">TRUE</code> to accept focus on show</td>
|
1301
|
+
</tr>
|
1302
|
+
</tbody>
|
1303
|
+
</table></div>
|
1304
|
+
<p class="since">Since 1.6</p>
|
1305
|
+
</div>
|
1306
|
+
<hr>
|
1307
|
+
<div class="refsect2">
|
1308
|
+
<a name="clutter-stage-get-accept-focus"></a><h3>clutter_stage_get_accept_focus ()</h3>
|
1309
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> clutter_stage_get_accept_focus (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>);</pre>
|
1310
|
+
<p>
|
1311
|
+
Retrieves the value set with <a class="link" href="ClutterStage.html#clutter-stage-set-accept-focus" title="clutter_stage_set_accept_focus ()"><code class="function">clutter_stage_set_accept_focus()</code></a>.
|
1312
|
+
</p>
|
1313
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1314
|
+
<colgroup>
|
1315
|
+
<col align="left" valign="top">
|
1316
|
+
<col>
|
1317
|
+
</colgroup>
|
1318
|
+
<tbody>
|
1319
|
+
<tr>
|
1320
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
1321
|
+
<td>a <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
1322
|
+
</td>
|
1323
|
+
</tr>
|
1324
|
+
<tr>
|
1325
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1326
|
+
<td>
|
1327
|
+
<code class="literal">TRUE</code> if the <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> should accept focus, and <code class="literal">FALSE</code>
|
1328
|
+
otherwise</td>
|
1329
|
+
</tr>
|
1330
|
+
</tbody>
|
1331
|
+
</table></div>
|
1332
|
+
<p class="since">Since 1.6</p>
|
1333
|
+
</div>
|
1334
|
+
<hr>
|
1335
|
+
<div class="refsect2">
|
1336
|
+
<a name="clutter-stage-get-motion-events-enabled"></a><h3>clutter_stage_get_motion_events_enabled ()</h3>
|
1337
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> clutter_stage_get_motion_events_enabled
|
1338
|
+
(<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>);</pre>
|
1339
|
+
<p>
|
1340
|
+
Retrieves the value set using <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>.
|
1341
|
+
</p>
|
1342
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1343
|
+
<colgroup>
|
1344
|
+
<col align="left" valign="top">
|
1345
|
+
<col>
|
1346
|
+
</colgroup>
|
1347
|
+
<tbody>
|
1348
|
+
<tr>
|
1349
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
1350
|
+
<td>a <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
1351
|
+
</td>
|
1352
|
+
</tr>
|
1353
|
+
<tr>
|
1354
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1355
|
+
<td>
|
1356
|
+
<code class="literal">TRUE</code> if the per-actor motion event delivery is enabled
|
1357
|
+
and <code class="literal">FALSE</code> otherwise</td>
|
1358
|
+
</tr>
|
1359
|
+
</tbody>
|
1360
|
+
</table></div>
|
1361
|
+
<p class="since">Since 1.8</p>
|
1362
|
+
</div>
|
1363
|
+
<hr>
|
1364
|
+
<div class="refsect2">
|
1365
|
+
<a name="clutter-stage-set-motion-events-enabled"></a><h3>clutter_stage_set_motion_events_enabled ()</h3>
|
1366
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_stage_set_motion_events_enabled
|
1367
|
+
(<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
1368
|
+
<em class="parameter"><code><span class="type">gboolean</span> enabled</code></em>);</pre>
|
1369
|
+
<p>
|
1370
|
+
Sets whether per-actor motion events (and relative crossing
|
1371
|
+
events) should be disabled or not.
|
1372
|
+
</p>
|
1373
|
+
<p>
|
1374
|
+
The default is <code class="literal">TRUE</code>.
|
1375
|
+
</p>
|
1376
|
+
<p>
|
1377
|
+
If <em class="parameter"><code>enable</code></em> is <code class="literal">FALSE</code> the following events will not be delivered
|
1378
|
+
to the actors children of <em class="parameter"><code>stage</code></em>.
|
1379
|
+
</p>
|
1380
|
+
<p>
|
1381
|
+
</p>
|
1382
|
+
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
1383
|
+
<li class="listitem"><p><a class="link" href="ClutterActor.html#ClutterActor-motion-event" title='The "motion-event" signal'><span class="type">"motion-event"</span></a></p></li>
|
1384
|
+
<li class="listitem"><p><a class="link" href="ClutterActor.html#ClutterActor-enter-event" title='The "enter-event" signal'><span class="type">"enter-event"</span></a></p></li>
|
1385
|
+
<li class="listitem"><p><a class="link" href="ClutterActor.html#ClutterActor-leave-event" title='The "leave-event" signal'><span class="type">"leave-event"</span></a></p></li>
|
1386
|
+
</ul></div>
|
1387
|
+
<p>
|
1388
|
+
</p>
|
1389
|
+
<p>
|
1390
|
+
The events will still be delivered to the <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>.
|
1391
|
+
</p>
|
1392
|
+
<p>
|
1393
|
+
The main side effect of this function is that disabling the motion
|
1394
|
+
events will disable picking to detect the <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> underneath
|
1395
|
+
the pointer for each motion event. This is useful, for instance,
|
1396
|
+
when dragging a <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> across the <em class="parameter"><code>stage</code></em>: the actor underneath
|
1397
|
+
the pointer is not going to change, so it's meaningless to perform
|
1398
|
+
a pick.
|
1399
|
+
</p>
|
1400
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1401
|
+
<colgroup>
|
1402
|
+
<col align="left" valign="top">
|
1403
|
+
<col>
|
1404
|
+
</colgroup>
|
1405
|
+
<tbody>
|
1406
|
+
<tr>
|
1407
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
1408
|
+
<td>a <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
1409
|
+
</td>
|
1410
|
+
</tr>
|
1411
|
+
<tr>
|
1412
|
+
<td><p><span class="term"><em class="parameter"><code>enabled</code></em> :</span></p></td>
|
1413
|
+
<td>
|
1414
|
+
<code class="literal">TRUE</code> to enable the motion events delivery, and <code class="literal">FALSE</code>
|
1415
|
+
otherwise</td>
|
1416
|
+
</tr>
|
1417
|
+
</tbody>
|
1418
|
+
</table></div>
|
1419
|
+
<p class="since">Since 1.8</p>
|
1420
|
+
</div>
|
1421
|
+
<hr>
|
1422
|
+
<div class="refsect2">
|
1423
|
+
<a name="clutter-stage-set-sync-delay"></a><h3>clutter_stage_set_sync_delay ()</h3>
|
1424
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_stage_set_sync_delay (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
1425
|
+
<em class="parameter"><code><span class="type">gint</span> sync_delay</code></em>);</pre>
|
1426
|
+
<p>
|
1427
|
+
This function enables an alternate behavior where Clutter draws at
|
1428
|
+
a fixed point in time after the frame presentation time (also known
|
1429
|
+
as the VBlank time). This is most useful when the application
|
1430
|
+
wants to show incoming data with predictable latency. (The primary
|
1431
|
+
example of this would be a window system compositor.) By synchronizing
|
1432
|
+
to provide new data before Clutter redraws, an external source of
|
1433
|
+
updates (in the compositor, an application) can get a reliable latency.
|
1434
|
+
</p>
|
1435
|
+
<p>
|
1436
|
+
The appropriate value of <em class="parameter"><code>sync_delay</code></em> depends on the complexity of
|
1437
|
+
drawing the stage's scene graph - in general a value of between 0
|
1438
|
+
and 8 ms (up to one-half of a typical 60hz frame rate) is appropriate.
|
1439
|
+
using a larger value will reduce latency but risks skipping a frame if
|
1440
|
+
drawing the stage takes too long.
|
1441
|
+
</p>
|
1442
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1443
|
+
<colgroup>
|
1444
|
+
<col align="left" valign="top">
|
1445
|
+
<col>
|
1446
|
+
</colgroup>
|
1447
|
+
<tbody>
|
1448
|
+
<tr>
|
1449
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
1450
|
+
<td>a <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
1451
|
+
</td>
|
1452
|
+
</tr>
|
1453
|
+
<tr>
|
1454
|
+
<td><p><span class="term"><em class="parameter"><code>sync_delay</code></em> :</span></p></td>
|
1455
|
+
<td>number of milliseconds after frame presentation to wait
|
1456
|
+
before painting the next frame. If less than zero, restores the
|
1457
|
+
default behavior where redraw is throttled to the refresh rate but
|
1458
|
+
not synchronized to it.</td>
|
1459
|
+
</tr>
|
1460
|
+
</tbody>
|
1461
|
+
</table></div>
|
1462
|
+
<p class="since">Since 1.14</p>
|
1463
|
+
<p class="stability">Stability Level: Unstable</p>
|
1464
|
+
</div>
|
1465
|
+
<hr>
|
1466
|
+
<div class="refsect2">
|
1467
|
+
<a name="clutter-stage-skip-sync-delay"></a><h3>clutter_stage_skip_sync_delay ()</h3>
|
1468
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_stage_skip_sync_delay (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>);</pre>
|
1469
|
+
<p>
|
1470
|
+
Causes the next frame for the stage to be drawn as quickly as
|
1471
|
+
possible, ignoring any delay that <a class="link" href="ClutterStage.html#clutter-stage-set-sync-delay" title="clutter_stage_set_sync_delay ()"><code class="function">clutter_stage_set_sync_delay()</code></a>
|
1472
|
+
would normally cause.
|
1473
|
+
</p>
|
1474
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1475
|
+
<colgroup>
|
1476
|
+
<col align="left" valign="top">
|
1477
|
+
<col>
|
1478
|
+
</colgroup>
|
1479
|
+
<tbody><tr>
|
1480
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
1481
|
+
<td>a <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
1482
|
+
</td>
|
1483
|
+
</tr></tbody>
|
1484
|
+
</table></div>
|
1485
|
+
<p class="since">Since 1.14</p>
|
1486
|
+
<p class="stability">Stability Level: Unstable</p>
|
1487
|
+
</div>
|
1488
|
+
<hr>
|
1489
|
+
<div class="refsect2">
|
1490
|
+
<a name="ClutterPerspective"></a><h3>ClutterPerspective</h3>
|
1491
|
+
<pre class="programlisting">typedef struct {
|
1492
|
+
gfloat fovy;
|
1493
|
+
gfloat aspect;
|
1494
|
+
gfloat z_near;
|
1495
|
+
gfloat z_far;
|
1496
|
+
} ClutterPerspective;
|
1497
|
+
</pre>
|
1498
|
+
<p>
|
1499
|
+
Stage perspective definition. <a class="link" href="ClutterStage.html#ClutterPerspective" title="ClutterPerspective"><span class="type">ClutterPerspective</span></a> is only used by
|
1500
|
+
the fixed point version of <a class="link" href="ClutterStage.html#clutter-stage-set-perspective" title="clutter_stage_set_perspective ()"><code class="function">clutter_stage_set_perspective()</code></a>.
|
1501
|
+
</p>
|
1502
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1503
|
+
<colgroup>
|
1504
|
+
<col align="left" valign="top">
|
1505
|
+
<col>
|
1506
|
+
</colgroup>
|
1507
|
+
<tbody>
|
1508
|
+
<tr>
|
1509
|
+
<td><p><span class="term"><span class="type">gfloat</span> <em class="structfield"><code><a name="ClutterPerspective.fovy"></a>fovy</code></em>;</span></p></td>
|
1510
|
+
<td>the field of view angle, in degrees, in the y direction</td>
|
1511
|
+
</tr>
|
1512
|
+
<tr>
|
1513
|
+
<td><p><span class="term"><span class="type">gfloat</span> <em class="structfield"><code><a name="ClutterPerspective.aspect"></a>aspect</code></em>;</span></p></td>
|
1514
|
+
<td>the aspect ratio that determines the field of view in the x
|
1515
|
+
direction. The aspect ratio is the ratio of x (width) to y (height)</td>
|
1516
|
+
</tr>
|
1517
|
+
<tr>
|
1518
|
+
<td><p><span class="term"><span class="type">gfloat</span> <em class="structfield"><code><a name="ClutterPerspective.z-near"></a>z_near</code></em>;</span></p></td>
|
1519
|
+
<td>the distance from the viewer to the near clipping
|
1520
|
+
plane (always positive)</td>
|
1521
|
+
</tr>
|
1522
|
+
<tr>
|
1523
|
+
<td><p><span class="term"><span class="type">gfloat</span> <em class="structfield"><code><a name="ClutterPerspective.z-far"></a>z_far</code></em>;</span></p></td>
|
1524
|
+
<td>the distance from the viewer to the far clipping
|
1525
|
+
plane (always positive)</td>
|
1526
|
+
</tr>
|
1527
|
+
</tbody>
|
1528
|
+
</table></div>
|
1529
|
+
<p class="since">Since 0.4</p>
|
1530
|
+
</div>
|
1531
|
+
<hr>
|
1532
|
+
<div class="refsect2">
|
1533
|
+
<a name="clutter-stage-set-perspective"></a><h3>clutter_stage_set_perspective ()</h3>
|
1534
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_stage_set_perspective (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
1535
|
+
<em class="parameter"><code><a class="link" href="ClutterStage.html#ClutterPerspective" title="ClutterPerspective"><span class="type">ClutterPerspective</span></a> *perspective</code></em>);</pre>
|
1536
|
+
<p>
|
1537
|
+
Sets the stage perspective. Using this function is not recommended
|
1538
|
+
because it will disable Clutter's attempts to generate an
|
1539
|
+
appropriate perspective based on the size of the stage.
|
1540
|
+
</p>
|
1541
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1542
|
+
<colgroup>
|
1543
|
+
<col align="left" valign="top">
|
1544
|
+
<col>
|
1545
|
+
</colgroup>
|
1546
|
+
<tbody>
|
1547
|
+
<tr>
|
1548
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
1549
|
+
<td>A <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
1550
|
+
</td>
|
1551
|
+
</tr>
|
1552
|
+
<tr>
|
1553
|
+
<td><p><span class="term"><em class="parameter"><code>perspective</code></em> :</span></p></td>
|
1554
|
+
<td>A <a class="link" href="ClutterStage.html#ClutterPerspective" title="ClutterPerspective"><span class="type">ClutterPerspective</span></a>
|
1555
|
+
</td>
|
1556
|
+
</tr>
|
1557
|
+
</tbody>
|
1558
|
+
</table></div>
|
1559
|
+
</div>
|
1560
|
+
<hr>
|
1561
|
+
<div class="refsect2">
|
1562
|
+
<a name="clutter-stage-get-perspective"></a><h3>clutter_stage_get_perspective ()</h3>
|
1563
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_stage_get_perspective (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
1564
|
+
<em class="parameter"><code><a class="link" href="ClutterStage.html#ClutterPerspective" title="ClutterPerspective"><span class="type">ClutterPerspective</span></a> *perspective</code></em>);</pre>
|
1565
|
+
<p>
|
1566
|
+
Retrieves the stage perspective.
|
1567
|
+
</p>
|
1568
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1569
|
+
<colgroup>
|
1570
|
+
<col align="left" valign="top">
|
1571
|
+
<col>
|
1572
|
+
</colgroup>
|
1573
|
+
<tbody>
|
1574
|
+
<tr>
|
1575
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
1576
|
+
<td>A <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
1577
|
+
</td>
|
1578
|
+
</tr>
|
1579
|
+
<tr>
|
1580
|
+
<td><p><span class="term"><em class="parameter"><code>perspective</code></em> :</span></p></td>
|
1581
|
+
<td>return location for a
|
1582
|
+
<a class="link" href="ClutterStage.html#ClutterPerspective" title="ClutterPerspective"><span class="type">ClutterPerspective</span></a>. <span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1583
|
+
</td>
|
1584
|
+
</tr>
|
1585
|
+
</tbody>
|
1586
|
+
</table></div>
|
1587
|
+
</div>
|
1588
|
+
<hr>
|
1589
|
+
<div class="refsect2">
|
1590
|
+
<a name="ClutterFog"></a><h3>ClutterFog</h3>
|
1591
|
+
<pre class="programlisting">typedef struct {
|
1592
|
+
gfloat z_near;
|
1593
|
+
gfloat z_far;
|
1594
|
+
} ClutterFog;
|
1595
|
+
</pre>
|
1596
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1597
|
+
<h3 class="title">Warning</h3>
|
1598
|
+
<p><code class="literal">ClutterFog</code> has been deprecated since version 1.10 and should not be used in newly-written code. The fog-related API in <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> has been
|
1599
|
+
deprecated as well.</p>
|
1600
|
+
</div>
|
1601
|
+
<p>
|
1602
|
+
Fog settings used to create the depth cueing effect.
|
1603
|
+
</p>
|
1604
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1605
|
+
<colgroup>
|
1606
|
+
<col align="left" valign="top">
|
1607
|
+
<col>
|
1608
|
+
</colgroup>
|
1609
|
+
<tbody>
|
1610
|
+
<tr>
|
1611
|
+
<td><p><span class="term"><span class="type">gfloat</span> <em class="structfield"><code><a name="ClutterFog.z-near"></a>z_near</code></em>;</span></p></td>
|
1612
|
+
<td>starting distance from the viewer to the near clipping
|
1613
|
+
plane (always positive)</td>
|
1614
|
+
</tr>
|
1615
|
+
<tr>
|
1616
|
+
<td><p><span class="term"><span class="type">gfloat</span> <em class="structfield"><code><a name="ClutterFog.z-far"></a>z_far</code></em>;</span></p></td>
|
1617
|
+
<td>final distance from the viewer to the far clipping
|
1618
|
+
plane (always positive)</td>
|
1619
|
+
</tr>
|
1620
|
+
</tbody>
|
1621
|
+
</table></div>
|
1622
|
+
<p class="since">Since 0.6</p>
|
1623
|
+
</div>
|
1624
|
+
<hr>
|
1625
|
+
<div class="refsect2">
|
1626
|
+
<a name="clutter-stage-set-use-fog"></a><h3>clutter_stage_set_use_fog ()</h3>
|
1627
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_stage_set_use_fog (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
1628
|
+
<em class="parameter"><code><span class="type">gboolean</span> fog</code></em>);</pre>
|
1629
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1630
|
+
<h3 class="title">Warning</h3>
|
1631
|
+
<p><code class="literal">clutter_stage_set_use_fog</code> has been deprecated since version 1.10 and should not be used in newly-written code. Calling this function produces no visible effect</p>
|
1632
|
+
</div>
|
1633
|
+
<p>
|
1634
|
+
Sets whether the depth cueing effect on the stage should be enabled
|
1635
|
+
or not.
|
1636
|
+
</p>
|
1637
|
+
<p>
|
1638
|
+
Depth cueing is a 3D effect that makes actors farther away from the
|
1639
|
+
viewing point less opaque, by fading them with the stage color.
|
1640
|
+
</p>
|
1641
|
+
<p>
|
1642
|
+
The parameters of the GL fog used can be changed using the
|
1643
|
+
<a class="link" href="ClutterStage.html#clutter-stage-set-fog" title="clutter_stage_set_fog ()"><code class="function">clutter_stage_set_fog()</code></a> function.
|
1644
|
+
</p>
|
1645
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1646
|
+
<colgroup>
|
1647
|
+
<col align="left" valign="top">
|
1648
|
+
<col>
|
1649
|
+
</colgroup>
|
1650
|
+
<tbody>
|
1651
|
+
<tr>
|
1652
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
1653
|
+
<td>the <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
1654
|
+
</td>
|
1655
|
+
</tr>
|
1656
|
+
<tr>
|
1657
|
+
<td><p><span class="term"><em class="parameter"><code>fog</code></em> :</span></p></td>
|
1658
|
+
<td>
|
1659
|
+
<code class="literal">TRUE</code> for enabling the depth cueing effect</td>
|
1660
|
+
</tr>
|
1661
|
+
</tbody>
|
1662
|
+
</table></div>
|
1663
|
+
<p class="since">Since 0.6</p>
|
1664
|
+
</div>
|
1665
|
+
<hr>
|
1666
|
+
<div class="refsect2">
|
1667
|
+
<a name="clutter-stage-get-use-fog"></a><h3>clutter_stage_get_use_fog ()</h3>
|
1668
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> clutter_stage_get_use_fog (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>);</pre>
|
1669
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1670
|
+
<h3 class="title">Warning</h3>
|
1671
|
+
<p><code class="literal">clutter_stage_get_use_fog</code> has been deprecated since version 1.10 and should not be used in newly-written code. This function will always return <code class="literal">FALSE</code></p>
|
1672
|
+
</div>
|
1673
|
+
<p>
|
1674
|
+
Gets whether the depth cueing effect is enabled on <em class="parameter"><code>stage</code></em>.
|
1675
|
+
</p>
|
1676
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1677
|
+
<colgroup>
|
1678
|
+
<col align="left" valign="top">
|
1679
|
+
<col>
|
1680
|
+
</colgroup>
|
1681
|
+
<tbody>
|
1682
|
+
<tr>
|
1683
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
1684
|
+
<td>the <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
1685
|
+
</td>
|
1686
|
+
</tr>
|
1687
|
+
<tr>
|
1688
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1689
|
+
<td>
|
1690
|
+
<code class="literal">TRUE</code> if the depth cueing effect is enabled</td>
|
1691
|
+
</tr>
|
1692
|
+
</tbody>
|
1693
|
+
</table></div>
|
1694
|
+
<p class="since">Since 0.6</p>
|
1695
|
+
</div>
|
1696
|
+
<hr>
|
1697
|
+
<div class="refsect2">
|
1698
|
+
<a name="clutter-stage-set-fog"></a><h3>clutter_stage_set_fog ()</h3>
|
1699
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_stage_set_fog (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
1700
|
+
<em class="parameter"><code><a class="link" href="ClutterStage.html#ClutterFog" title="ClutterFog"><span class="type">ClutterFog</span></a> *fog</code></em>);</pre>
|
1701
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1702
|
+
<h3 class="title">Warning</h3>
|
1703
|
+
<p><code class="literal">clutter_stage_set_fog</code> has been deprecated since version 1.10 and should not be used in newly-written code. Fog settings are ignored.</p>
|
1704
|
+
</div>
|
1705
|
+
<p>
|
1706
|
+
Sets the fog (also known as "depth cueing") settings for the <em class="parameter"><code>stage</code></em>.
|
1707
|
+
</p>
|
1708
|
+
<p>
|
1709
|
+
A <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> will only use a linear fog progression, which
|
1710
|
+
depends solely on the distance from the viewer. The <code class="function">cogl_set_fog()</code>
|
1711
|
+
function in COGL exposes more of the underlying implementation,
|
1712
|
+
and allows changing the for progression function. It can be directly
|
1713
|
+
used by disabling the <a class="link" href="ClutterStage.html#ClutterStage--use-fog" title='The "use-fog" property'><span class="type">"use-fog"</span></a> property and connecting
|
1714
|
+
a signal handler to the <a class="link" href="ClutterActor.html#ClutterActor-paint" title='The "paint" signal'><span class="type">"paint"</span></a> signal on the <em class="parameter"><code>stage</code></em>,
|
1715
|
+
like:
|
1716
|
+
</p>
|
1717
|
+
<p>
|
1718
|
+
</p>
|
1719
|
+
<div class="informalexample">
|
1720
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1721
|
+
<tbody>
|
1722
|
+
<tr>
|
1723
|
+
<td class="listing_lines" align="right"><pre>1
|
1724
|
+
2</pre></td>
|
1725
|
+
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="ClutterStage.html#clutter-stage-set-use-fog">clutter_stage_set_use_fog</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">,</span><span class="normal"> FALSE</span><span class="symbol">);</span>
|
1726
|
+
<span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"paint"</span><span class="symbol">,</span><span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">on_stage_paint</span><span class="symbol">),</span><span class="normal"> NULL</span><span class="symbol">);</span></pre></td>
|
1727
|
+
</tr>
|
1728
|
+
</tbody>
|
1729
|
+
</table>
|
1730
|
+
</div>
|
1731
|
+
|
1732
|
+
<p>
|
1733
|
+
</p>
|
1734
|
+
<p>
|
1735
|
+
The paint signal handler will call <code class="function">cogl_set_fog()</code> with the
|
1736
|
+
desired settings:
|
1737
|
+
</p>
|
1738
|
+
<p>
|
1739
|
+
</p>
|
1740
|
+
<div class="informalexample">
|
1741
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1742
|
+
<tbody>
|
1743
|
+
<tr>
|
1744
|
+
<td class="listing_lines" align="right"><pre>1
|
1745
|
+
2
|
1746
|
+
3
|
1747
|
+
4
|
1748
|
+
5
|
1749
|
+
6
|
1750
|
+
7
|
1751
|
+
8
|
1752
|
+
9
|
1753
|
+
10
|
1754
|
+
11
|
1755
|
+
12
|
1756
|
+
13
|
1757
|
+
14
|
1758
|
+
15
|
1759
|
+
16
|
1760
|
+
17
|
1761
|
+
18
|
1762
|
+
19
|
1763
|
+
20</pre></td>
|
1764
|
+
<td class="listing_code"><pre class="programlisting"><span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
1765
|
+
<span class="function">on_stage_paint</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">actor</span><span class="symbol">)</span>
|
1766
|
+
<span class="cbracket">{</span>
|
1767
|
+
<span class="normal"> </span><span class="usertype">ClutterColor</span><span class="normal"> stage_color </span><span class="symbol">=</span><span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="cbracket">}</span><span class="symbol">;</span>
|
1768
|
+
<span class="normal"> </span><span class="usertype">CoglColor</span><span class="normal"> fog_color </span><span class="symbol">=</span><span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="cbracket">}</span><span class="symbol">;</span>
|
1769
|
+
|
1770
|
+
<span class="normal"> </span><span class="comment">/* set the fog color to the stage background color */</span>
|
1771
|
+
<span class="normal"> </span><span class="function"><a href="ClutterStage.html#clutter-stage-get-color">clutter_stage_get_color</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">CLUTTER_STAGE</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">actor</span><span class="symbol">),</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">stage_color</span><span class="symbol">);</span>
|
1772
|
+
<span class="normal"> </span><span class="function">cogl_color_init_from_4ub</span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">fog_color</span><span class="symbol">,</span>
|
1773
|
+
<span class="normal"> stage_color</span><span class="symbol">.</span><span class="normal">red</span><span class="symbol">,</span>
|
1774
|
+
<span class="normal"> stage_color</span><span class="symbol">.</span><span class="normal">green</span><span class="symbol">,</span>
|
1775
|
+
<span class="normal"> stage_color</span><span class="symbol">.</span><span class="normal">blue</span><span class="symbol">,</span>
|
1776
|
+
<span class="normal"> stage_color</span><span class="symbol">.</span><span class="normal">alpha</span><span class="symbol">);</span>
|
1777
|
+
|
1778
|
+
<span class="normal"> </span><span class="comment">/* enable fog */</span>
|
1779
|
+
<span class="normal"> </span><span class="function">cogl_set_fog</span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">fog_color</span><span class="symbol">,</span>
|
1780
|
+
<span class="normal"> COGL_FOG_MODE_EXPONENTIAL</span><span class="symbol">,</span><span class="normal"> </span><span class="comment">/* mode */</span>
|
1781
|
+
<span class="normal"> </span><span class="number">0.5</span><span class="symbol">,</span><span class="normal"> </span><span class="comment">/* density */</span>
|
1782
|
+
<span class="normal"> </span><span class="number">5.0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">30.0</span><span class="symbol">);</span><span class="normal"> </span><span class="comment">/* z_near and z_far */</span>
|
1783
|
+
<span class="cbracket">}</span></pre></td>
|
1784
|
+
</tr>
|
1785
|
+
</tbody>
|
1786
|
+
</table>
|
1787
|
+
</div>
|
1788
|
+
|
1789
|
+
<p>
|
1790
|
+
</p>
|
1791
|
+
<p>
|
1792
|
+
</p>
|
1793
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1794
|
+
<h3 class="title">Note</h3>The fogging functions only work correctly when the visible actors use
|
1795
|
+
unmultiplied alpha colors. By default Cogl will premultiply textures and
|
1796
|
+
<code class="function">cogl_set_source_color()</code> will premultiply colors, so unless you explicitly
|
1797
|
+
load your textures requesting an unmultiplied internal format and use
|
1798
|
+
<code class="function">cogl_material_set_color()</code> you can only use fogging with fully opaque actors.
|
1799
|
+
Support for premultiplied colors will improve in the future when we can
|
1800
|
+
depend on fragment shaders.</div>
|
1801
|
+
<p>
|
1802
|
+
</p>
|
1803
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1804
|
+
<colgroup>
|
1805
|
+
<col align="left" valign="top">
|
1806
|
+
<col>
|
1807
|
+
</colgroup>
|
1808
|
+
<tbody>
|
1809
|
+
<tr>
|
1810
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
1811
|
+
<td>the <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
1812
|
+
</td>
|
1813
|
+
</tr>
|
1814
|
+
<tr>
|
1815
|
+
<td><p><span class="term"><em class="parameter"><code>fog</code></em> :</span></p></td>
|
1816
|
+
<td>a <a class="link" href="ClutterStage.html#ClutterFog" title="ClutterFog"><span class="type">ClutterFog</span></a> structure</td>
|
1817
|
+
</tr>
|
1818
|
+
</tbody>
|
1819
|
+
</table></div>
|
1820
|
+
<p class="since">Since 0.6</p>
|
1821
|
+
</div>
|
1822
|
+
<hr>
|
1823
|
+
<div class="refsect2">
|
1824
|
+
<a name="clutter-stage-get-fog"></a><h3>clutter_stage_get_fog ()</h3>
|
1825
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_stage_get_fog (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>,
|
1826
|
+
<em class="parameter"><code><a class="link" href="ClutterStage.html#ClutterFog" title="ClutterFog"><span class="type">ClutterFog</span></a> *fog</code></em>);</pre>
|
1827
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1828
|
+
<h3 class="title">Warning</h3>
|
1829
|
+
<p><code class="literal">clutter_stage_get_fog</code> has been deprecated since version 1.10 and should not be used in newly-written code. This function will always return the default
|
1830
|
+
values of <a class="link" href="ClutterStage.html#ClutterFog" title="ClutterFog"><span class="type">ClutterFog</span></a></p>
|
1831
|
+
</div>
|
1832
|
+
<p>
|
1833
|
+
Retrieves the current depth cueing settings from the stage.
|
1834
|
+
</p>
|
1835
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1836
|
+
<colgroup>
|
1837
|
+
<col align="left" valign="top">
|
1838
|
+
<col>
|
1839
|
+
</colgroup>
|
1840
|
+
<tbody>
|
1841
|
+
<tr>
|
1842
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
1843
|
+
<td>the <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
1844
|
+
</td>
|
1845
|
+
</tr>
|
1846
|
+
<tr>
|
1847
|
+
<td><p><span class="term"><em class="parameter"><code>fog</code></em> :</span></p></td>
|
1848
|
+
<td>return location for a <a class="link" href="ClutterStage.html#ClutterFog" title="ClutterFog"><span class="type">ClutterFog</span></a> structure. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
1849
|
+
</td>
|
1850
|
+
</tr>
|
1851
|
+
</tbody>
|
1852
|
+
</table></div>
|
1853
|
+
<p class="since">Since 0.6</p>
|
1854
|
+
</div>
|
1855
|
+
<hr>
|
1856
|
+
<div class="refsect2">
|
1857
|
+
<a name="clutter-stage-get-default"></a><h3>clutter_stage_get_default ()</h3>
|
1858
|
+
<pre class="programlisting"><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> * clutter_stage_get_default (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1859
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1860
|
+
<h3 class="title">Warning</h3>
|
1861
|
+
<p><code class="literal">clutter_stage_get_default</code> has been deprecated since version 1.10 and should not be used in newly-written code. Use <a class="link" href="ClutterStage.html#clutter-stage-new" title="clutter_stage_new ()"><code class="function">clutter_stage_new()</code></a> instead.</p>
|
1862
|
+
</div>
|
1863
|
+
<p>
|
1864
|
+
Retrieves a <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> singleton.
|
1865
|
+
</p>
|
1866
|
+
<p>
|
1867
|
+
This function is not as useful as it sounds, and will most likely
|
1868
|
+
by deprecated in the future. Application code should only create
|
1869
|
+
a <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> instance using <a class="link" href="ClutterStage.html#clutter-stage-new" title="clutter_stage_new ()"><code class="function">clutter_stage_new()</code></a>, and manage the
|
1870
|
+
lifetime of the stage manually.
|
1871
|
+
</p>
|
1872
|
+
<p>
|
1873
|
+
The default stage singleton has a platform-specific behaviour: on
|
1874
|
+
platforms without the <a class="link" href="clutter-Features.html#CLUTTER-FEATURE-STAGE-MULTIPLE:CAPS"><code class="literal">CLUTTER_FEATURE_STAGE_MULTIPLE</code></a> feature flag
|
1875
|
+
set, the first <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> instance will also be set to be the
|
1876
|
+
default stage instance, and this function will always return a
|
1877
|
+
pointer to it.
|
1878
|
+
</p>
|
1879
|
+
<p>
|
1880
|
+
On platforms with the <a class="link" href="clutter-Features.html#CLUTTER-FEATURE-STAGE-MULTIPLE:CAPS"><code class="literal">CLUTTER_FEATURE_STAGE_MULTIPLE</code></a> feature flag
|
1881
|
+
set, the default stage will be created by the first call to this
|
1882
|
+
function, and every following call will return the same pointer to
|
1883
|
+
it.
|
1884
|
+
</p>
|
1885
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1886
|
+
<colgroup>
|
1887
|
+
<col align="left" valign="top">
|
1888
|
+
<col>
|
1889
|
+
</colgroup>
|
1890
|
+
<tbody><tr>
|
1891
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1892
|
+
<td>the main
|
1893
|
+
<a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>. You should never destroy or unref the returned
|
1894
|
+
actor. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Clutter.Stage]</span>
|
1895
|
+
</td>
|
1896
|
+
</tr></tbody>
|
1897
|
+
</table></div>
|
1898
|
+
</div>
|
1899
|
+
<hr>
|
1900
|
+
<div class="refsect2">
|
1901
|
+
<a name="clutter-stage-is-default"></a><h3>clutter_stage_is_default ()</h3>
|
1902
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> clutter_stage_is_default (<em class="parameter"><code><a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage</code></em>);</pre>
|
1903
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1904
|
+
<h3 class="title">Warning</h3>
|
1905
|
+
<p><code class="literal">clutter_stage_is_default</code> has been deprecated since version 1.10 and should not be used in newly-written code. Track the stage pointer inside your application
|
1906
|
+
code, or use <a class="link" href="ClutterActor.html#clutter-actor-get-stage" title="clutter_actor_get_stage ()"><code class="function">clutter_actor_get_stage()</code></a> to retrieve the stage for
|
1907
|
+
a given actor.</p>
|
1908
|
+
</div>
|
1909
|
+
<p>
|
1910
|
+
Checks if <em class="parameter"><code>stage</code></em> is the default stage, or an instance created using
|
1911
|
+
<a class="link" href="ClutterStage.html#clutter-stage-new" title="clutter_stage_new ()"><code class="function">clutter_stage_new()</code></a> but internally using the same implementation.
|
1912
|
+
</p>
|
1913
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1914
|
+
<colgroup>
|
1915
|
+
<col align="left" valign="top">
|
1916
|
+
<col>
|
1917
|
+
</colgroup>
|
1918
|
+
<tbody>
|
1919
|
+
<tr>
|
1920
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
1921
|
+
<td>a <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a>
|
1922
|
+
</td>
|
1923
|
+
</tr>
|
1924
|
+
<tr>
|
1925
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1926
|
+
<td>
|
1927
|
+
<code class="literal">TRUE</code> if the passed stage is the default one</td>
|
1928
|
+
</tr>
|
1929
|
+
</tbody>
|
1930
|
+
</table></div>
|
1931
|
+
<p class="since">Since 0.8</p>
|
1932
|
+
</div>
|
1933
|
+
</div>
|
1934
|
+
<div class="refsect1">
|
1935
|
+
<a name="ClutterStage.property-details"></a><h2>Property Details</h2>
|
1936
|
+
<div class="refsect2">
|
1937
|
+
<a name="ClutterStage--accept-focus"></a><h3>The <code class="literal">"accept-focus"</code> property</h3>
|
1938
|
+
<pre class="programlisting"> "accept-focus" <span class="type">gboolean</span> : Read / Write</pre>
|
1939
|
+
<p>
|
1940
|
+
Whether the <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> should accept key focus when shown.
|
1941
|
+
</p>
|
1942
|
+
<p>Default value: TRUE</p>
|
1943
|
+
<p class="since">Since 1.6</p>
|
1944
|
+
</div>
|
1945
|
+
<hr>
|
1946
|
+
<div class="refsect2">
|
1947
|
+
<a name="ClutterStage--color"></a><h3>The <code class="literal">"color"</code> property</h3>
|
1948
|
+
<pre class="programlisting"> "color" <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>* : Read / Write</pre>
|
1949
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1950
|
+
<h3 class="title">Warning</h3>
|
1951
|
+
<p><code class="literal">ClutterStage:color</code> has been deprecated since version 1.10 and should not be used in newly-written code. Use the <a class="link" href="ClutterActor.html#ClutterActor--background-color" title='The "background-color" property'><span class="type">"background-color"</span></a> property of
|
1952
|
+
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> instead.</p>
|
1953
|
+
</div>
|
1954
|
+
<p>
|
1955
|
+
The background color of the main stage.
|
1956
|
+
</p>
|
1957
|
+
</div>
|
1958
|
+
<hr>
|
1959
|
+
<div class="refsect2">
|
1960
|
+
<a name="ClutterStage--cursor-visible"></a><h3>The <code class="literal">"cursor-visible"</code> property</h3>
|
1961
|
+
<pre class="programlisting"> "cursor-visible" <span class="type">gboolean</span> : Read / Write</pre>
|
1962
|
+
<p>
|
1963
|
+
Whether the mouse pointer should be visible
|
1964
|
+
</p>
|
1965
|
+
<p>Default value: TRUE</p>
|
1966
|
+
</div>
|
1967
|
+
<hr>
|
1968
|
+
<div class="refsect2">
|
1969
|
+
<a name="ClutterStage--fog"></a><h3>The <code class="literal">"fog"</code> property</h3>
|
1970
|
+
<pre class="programlisting"> "fog" <a class="link" href="ClutterStage.html#ClutterFog" title="ClutterFog"><span class="type">ClutterFog</span></a>* : Read / Write</pre>
|
1971
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1972
|
+
<h3 class="title">Warning</h3>
|
1973
|
+
<p><code class="literal">ClutterStage:fog</code> has been deprecated since version 1.10 and should not be used in newly-written code. This property does not do anything.</p>
|
1974
|
+
</div>
|
1975
|
+
<p>
|
1976
|
+
The settings for the GL "fog", used only if <a class="link" href="ClutterStage.html#ClutterStage--use-fog" title='The "use-fog" property'><span class="type">"use-fog"</span></a>
|
1977
|
+
is set to <code class="literal">TRUE</code>
|
1978
|
+
</p>
|
1979
|
+
<p class="since">Since 1.0</p>
|
1980
|
+
</div>
|
1981
|
+
<hr>
|
1982
|
+
<div class="refsect2">
|
1983
|
+
<a name="ClutterStage--fullscreen-set"></a><h3>The <code class="literal">"fullscreen-set"</code> property</h3>
|
1984
|
+
<pre class="programlisting"> "fullscreen-set" <span class="type">gboolean</span> : Read</pre>
|
1985
|
+
<p>Whether the main stage is fullscreen.</p>
|
1986
|
+
<p>Default value: FALSE</p>
|
1987
|
+
</div>
|
1988
|
+
<hr>
|
1989
|
+
<div class="refsect2">
|
1990
|
+
<a name="ClutterStage--key-focus"></a><h3>The <code class="literal">"key-focus"</code> property</h3>
|
1991
|
+
<pre class="programlisting"> "key-focus" <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a>* : Read / Write</pre>
|
1992
|
+
<p>
|
1993
|
+
The <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> that will receive key events from the underlying
|
1994
|
+
windowing system.
|
1995
|
+
</p>
|
1996
|
+
<p>
|
1997
|
+
If <code class="literal">NULL</code>, the <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> will receive the events.
|
1998
|
+
</p>
|
1999
|
+
<p class="since">Since 1.2</p>
|
2000
|
+
</div>
|
2001
|
+
<hr>
|
2002
|
+
<div class="refsect2">
|
2003
|
+
<a name="ClutterStage--no-clear-hint"></a><h3>The <code class="literal">"no-clear-hint"</code> property</h3>
|
2004
|
+
<pre class="programlisting"> "no-clear-hint" <span class="type">gboolean</span> : Read / Write</pre>
|
2005
|
+
<p>
|
2006
|
+
Whether or not the <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> should clear its contents
|
2007
|
+
before each paint cycle.
|
2008
|
+
</p>
|
2009
|
+
<p>
|
2010
|
+
See <a class="link" href="ClutterStage.html#clutter-stage-set-no-clear-hint" title="clutter_stage_set_no_clear_hint ()"><code class="function">clutter_stage_set_no_clear_hint()</code></a> for further information.
|
2011
|
+
</p>
|
2012
|
+
<p>Default value: FALSE</p>
|
2013
|
+
<p class="since">Since 1.4</p>
|
2014
|
+
</div>
|
2015
|
+
<hr>
|
2016
|
+
<div class="refsect2">
|
2017
|
+
<a name="ClutterStage--offscreen"></a><h3>The <code class="literal">"offscreen"</code> property</h3>
|
2018
|
+
<pre class="programlisting"> "offscreen" <span class="type">gboolean</span> : Read / Write</pre>
|
2019
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
2020
|
+
<h3 class="title">Warning</h3>
|
2021
|
+
<p><code class="literal">ClutterStage:offscreen</code> has been deprecated since version 1.10 and should not be used in newly-written code. This property does not do anything.</p>
|
2022
|
+
</div>
|
2023
|
+
<p>
|
2024
|
+
Whether the stage should be rendered in an offscreen buffer.
|
2025
|
+
</p>
|
2026
|
+
<p>Default value: FALSE</p>
|
2027
|
+
</div>
|
2028
|
+
<hr>
|
2029
|
+
<div class="refsect2">
|
2030
|
+
<a name="ClutterStage--perspective"></a><h3>The <code class="literal">"perspective"</code> property</h3>
|
2031
|
+
<pre class="programlisting"> "perspective" <a class="link" href="ClutterStage.html#ClutterPerspective" title="ClutterPerspective"><span class="type">ClutterPerspective</span></a>* : Read / Write</pre>
|
2032
|
+
<p>
|
2033
|
+
The parameters used for the perspective projection from 3D
|
2034
|
+
coordinates to 2D
|
2035
|
+
</p>
|
2036
|
+
<p class="since">Since 0.8.2</p>
|
2037
|
+
</div>
|
2038
|
+
<hr>
|
2039
|
+
<div class="refsect2">
|
2040
|
+
<a name="ClutterStage--title"></a><h3>The <code class="literal">"title"</code> property</h3>
|
2041
|
+
<pre class="programlisting"> "title" <span class="type">gchar</span>* : Read / Write</pre>
|
2042
|
+
<p>
|
2043
|
+
The stage's title - usually displayed in stage windows title decorations.
|
2044
|
+
</p>
|
2045
|
+
<p>Default value: NULL</p>
|
2046
|
+
<p class="since">Since 0.4</p>
|
2047
|
+
</div>
|
2048
|
+
<hr>
|
2049
|
+
<div class="refsect2">
|
2050
|
+
<a name="ClutterStage--use-alpha"></a><h3>The <code class="literal">"use-alpha"</code> property</h3>
|
2051
|
+
<pre class="programlisting"> "use-alpha" <span class="type">gboolean</span> : Read / Write</pre>
|
2052
|
+
<p>
|
2053
|
+
Whether the <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> should honour the alpha component of the
|
2054
|
+
<a class="link" href="ClutterStage.html#ClutterStage--color" title='The "color" property'><span class="type">"color"</span></a> property when painting. If Clutter is run under
|
2055
|
+
a compositing manager this will result in the stage being blended
|
2056
|
+
with the underlying window(s)
|
2057
|
+
</p>
|
2058
|
+
<p>Default value: FALSE</p>
|
2059
|
+
<p class="since">Since 1.2</p>
|
2060
|
+
</div>
|
2061
|
+
<hr>
|
2062
|
+
<div class="refsect2">
|
2063
|
+
<a name="ClutterStage--use-fog"></a><h3>The <code class="literal">"use-fog"</code> property</h3>
|
2064
|
+
<pre class="programlisting"> "use-fog" <span class="type">gboolean</span> : Read / Write</pre>
|
2065
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
2066
|
+
<h3 class="title">Warning</h3>
|
2067
|
+
<p><code class="literal">ClutterStage:use-fog</code> has been deprecated since version 1.10 and should not be used in newly-written code. This property does not do anything.</p>
|
2068
|
+
</div>
|
2069
|
+
<p>
|
2070
|
+
Whether the stage should use a linear GL "fog" in creating the
|
2071
|
+
depth-cueing effect, to enhance the perception of depth by fading
|
2072
|
+
actors farther from the viewpoint.
|
2073
|
+
</p>
|
2074
|
+
<p>Default value: FALSE</p>
|
2075
|
+
<p class="since">Since 0.6</p>
|
2076
|
+
</div>
|
2077
|
+
<hr>
|
2078
|
+
<div class="refsect2">
|
2079
|
+
<a name="ClutterStage--user-resizable"></a><h3>The <code class="literal">"user-resizable"</code> property</h3>
|
2080
|
+
<pre class="programlisting"> "user-resizable" <span class="type">gboolean</span> : Read / Write</pre>
|
2081
|
+
<p>
|
2082
|
+
Whether the stage is resizable via user interaction.
|
2083
|
+
</p>
|
2084
|
+
<p>Default value: FALSE</p>
|
2085
|
+
<p class="since">Since 0.4</p>
|
2086
|
+
</div>
|
2087
|
+
</div>
|
2088
|
+
<div class="refsect1">
|
2089
|
+
<a name="ClutterStage.signal-details"></a><h2>Signal Details</h2>
|
2090
|
+
<div class="refsect2">
|
2091
|
+
<a name="ClutterStage-activate"></a><h3>The <code class="literal">"activate"</code> signal</h3>
|
2092
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage,
|
2093
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
|
2094
|
+
<p>
|
2095
|
+
The ::activate signal is emitted when the stage receives key focus
|
2096
|
+
from the underlying window system.
|
2097
|
+
</p>
|
2098
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2099
|
+
<colgroup>
|
2100
|
+
<col align="left" valign="top">
|
2101
|
+
<col>
|
2102
|
+
</colgroup>
|
2103
|
+
<tbody>
|
2104
|
+
<tr>
|
2105
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
2106
|
+
<td>the stage which was activated</td>
|
2107
|
+
</tr>
|
2108
|
+
<tr>
|
2109
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
2110
|
+
<td>user data set when the signal handler was connected.</td>
|
2111
|
+
</tr>
|
2112
|
+
</tbody>
|
2113
|
+
</table></div>
|
2114
|
+
<p class="since">Since 0.6</p>
|
2115
|
+
</div>
|
2116
|
+
<hr>
|
2117
|
+
<div class="refsect2">
|
2118
|
+
<a name="ClutterStage-deactivate"></a><h3>The <code class="literal">"deactivate"</code> signal</h3>
|
2119
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage,
|
2120
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
|
2121
|
+
<p>
|
2122
|
+
The ::activate signal is emitted when the stage loses key focus
|
2123
|
+
from the underlying window system.
|
2124
|
+
</p>
|
2125
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2126
|
+
<colgroup>
|
2127
|
+
<col align="left" valign="top">
|
2128
|
+
<col>
|
2129
|
+
</colgroup>
|
2130
|
+
<tbody>
|
2131
|
+
<tr>
|
2132
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
2133
|
+
<td>the stage which was deactivated</td>
|
2134
|
+
</tr>
|
2135
|
+
<tr>
|
2136
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
2137
|
+
<td>user data set when the signal handler was connected.</td>
|
2138
|
+
</tr>
|
2139
|
+
</tbody>
|
2140
|
+
</table></div>
|
2141
|
+
<p class="since">Since 0.6</p>
|
2142
|
+
</div>
|
2143
|
+
<hr>
|
2144
|
+
<div class="refsect2">
|
2145
|
+
<a name="ClutterStage-delete-event"></a><h3>The <code class="literal">"delete-event"</code> signal</h3>
|
2146
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> user_function (<a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage,
|
2147
|
+
<a class="link" href="clutter-Events.html#ClutterEvent" title="union ClutterEvent"><span class="type">ClutterEvent</span></a> *event,
|
2148
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
|
2149
|
+
<p>
|
2150
|
+
The ::delete-event signal is emitted when the user closes a
|
2151
|
+
<a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> window using the window controls.
|
2152
|
+
</p>
|
2153
|
+
<p>
|
2154
|
+
Clutter by default will call <a class="link" href="clutter-General.html#clutter-main-quit" title="clutter_main_quit ()"><code class="function">clutter_main_quit()</code></a> if <em class="parameter"><code>stage</code></em> is
|
2155
|
+
the default stage, and <a class="link" href="ClutterActor.html#clutter-actor-destroy" title="clutter_actor_destroy ()"><code class="function">clutter_actor_destroy()</code></a> for any other
|
2156
|
+
stage.
|
2157
|
+
</p>
|
2158
|
+
<p>
|
2159
|
+
It is possible to override the default behaviour by connecting
|
2160
|
+
a new handler and returning <code class="literal">TRUE</code> there.
|
2161
|
+
</p>
|
2162
|
+
<p>
|
2163
|
+
</p>
|
2164
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
2165
|
+
<h3 class="title">Note</h3>This signal is emitted only on Clutter backends that
|
2166
|
+
embed <a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> in native windows. It is not emitted for
|
2167
|
+
backends that use a static frame buffer.</div>
|
2168
|
+
<p>
|
2169
|
+
</p>
|
2170
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2171
|
+
<colgroup>
|
2172
|
+
<col align="left" valign="top">
|
2173
|
+
<col>
|
2174
|
+
</colgroup>
|
2175
|
+
<tbody>
|
2176
|
+
<tr>
|
2177
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
2178
|
+
<td>the stage that received the event</td>
|
2179
|
+
</tr>
|
2180
|
+
<tr>
|
2181
|
+
<td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
|
2182
|
+
<td>a <a class="link" href="clutter-Events.html#ClutterEvent" title="union ClutterEvent"><span class="type">ClutterEvent</span></a> of type <a class="link" href="clutter-Events.html#CLUTTER-DELETE:CAPS"><code class="literal">CLUTTER_DELETE</code></a>
|
2183
|
+
</td>
|
2184
|
+
</tr>
|
2185
|
+
<tr>
|
2186
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
2187
|
+
<td>user data set when the signal handler was connected.</td>
|
2188
|
+
</tr>
|
2189
|
+
</tbody>
|
2190
|
+
</table></div>
|
2191
|
+
<p class="since">Since 1.2</p>
|
2192
|
+
</div>
|
2193
|
+
<hr>
|
2194
|
+
<div class="refsect2">
|
2195
|
+
<a name="ClutterStage-fullscreen"></a><h3>The <code class="literal">"fullscreen"</code> signal</h3>
|
2196
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage,
|
2197
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">Run First</code></pre>
|
2198
|
+
<p>
|
2199
|
+
The ::fullscreen signal is emitted when the stage is made fullscreen.
|
2200
|
+
</p>
|
2201
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2202
|
+
<colgroup>
|
2203
|
+
<col align="left" valign="top">
|
2204
|
+
<col>
|
2205
|
+
</colgroup>
|
2206
|
+
<tbody>
|
2207
|
+
<tr>
|
2208
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
2209
|
+
<td>the stage which was fullscreened</td>
|
2210
|
+
</tr>
|
2211
|
+
<tr>
|
2212
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
2213
|
+
<td>user data set when the signal handler was connected.</td>
|
2214
|
+
</tr>
|
2215
|
+
</tbody>
|
2216
|
+
</table></div>
|
2217
|
+
<p class="since">Since 0.6</p>
|
2218
|
+
</div>
|
2219
|
+
<hr>
|
2220
|
+
<div class="refsect2">
|
2221
|
+
<a name="ClutterStage-unfullscreen"></a><h3>The <code class="literal">"unfullscreen"</code> signal</h3>
|
2222
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="ClutterStage.html" title="ClutterStage"><span class="type">ClutterStage</span></a> *stage,
|
2223
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
|
2224
|
+
<p>
|
2225
|
+
The ::unfullscreen signal is emitted when the stage leaves a fullscreen
|
2226
|
+
state.
|
2227
|
+
</p>
|
2228
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2229
|
+
<colgroup>
|
2230
|
+
<col align="left" valign="top">
|
2231
|
+
<col>
|
2232
|
+
</colgroup>
|
2233
|
+
<tbody>
|
2234
|
+
<tr>
|
2235
|
+
<td><p><span class="term"><em class="parameter"><code>stage</code></em> :</span></p></td>
|
2236
|
+
<td>the stage which has left a fullscreen state.</td>
|
2237
|
+
</tr>
|
2238
|
+
<tr>
|
2239
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
2240
|
+
<td>user data set when the signal handler was connected.</td>
|
2241
|
+
</tr>
|
2242
|
+
</tbody>
|
2243
|
+
</table></div>
|
2244
|
+
<p class="since">Since 0.6</p>
|
2245
|
+
</div>
|
2246
|
+
</div>
|
2247
|
+
</div>
|
2248
|
+
<div class="footer">
|
2249
|
+
<hr>
|
2250
|
+
Generated by GTK-Doc V1.18.1</div>
|
2251
|
+
</body>
|
2252
|
+
</html>
|