clutter 2.0.0-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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,311 @@
|
|
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>ClutterScriptable</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="ch11.html" title="User interface definition">
|
9
|
+
<link rel="prev" href="ClutterScript.html" title="ClutterScript">
|
10
|
+
<link rel="next" href="ch12.html" title="Generic list model">
|
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="ClutterScript.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="ch11.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="ch12.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="#ClutterScriptable.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#ClutterScriptable.description" class="shortcut">Description</a>
|
27
|
+
|
|
28
|
+
<a href="#ClutterScriptable.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
+
|
|
30
|
+
<a href="#ClutterScriptable.prerequisites" class="shortcut">Prerequisites</a>
|
31
|
+
|
|
32
|
+
<a href="#ClutterScriptable.implementations" class="shortcut">Known Implementations</a>
|
33
|
+
</td></tr>
|
34
|
+
</table>
|
35
|
+
<div class="refentry">
|
36
|
+
<a name="ClutterScriptable"></a><div class="titlepage"></div>
|
37
|
+
<div class="refnamediv"><table width="100%"><tr>
|
38
|
+
<td valign="top">
|
39
|
+
<h2><span class="refentrytitle"><a name="ClutterScriptable.top_of_page"></a>ClutterScriptable</span></h2>
|
40
|
+
<p>ClutterScriptable — Override the UI definition parsing</p>
|
41
|
+
</td>
|
42
|
+
<td valign="top" align="right"></td>
|
43
|
+
</tr></table></div>
|
44
|
+
<div class="refsynopsisdiv">
|
45
|
+
<a name="ClutterScriptable.synopsis"></a><h2>Synopsis</h2>
|
46
|
+
<pre class="synopsis"> <a class="link" href="ClutterScriptable.html#ClutterScriptable-struct" title="ClutterScriptable">ClutterScriptable</a>;
|
47
|
+
struct <a class="link" href="ClutterScriptable.html#ClutterScriptableIface" title="struct ClutterScriptableIface">ClutterScriptableIface</a>;
|
48
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterScriptable.html#clutter-scriptable-set-id" title="clutter_scriptable_set_id ()">clutter_scriptable_set_id</a> (<em class="parameter"><code><a class="link" href="ClutterScriptable.html" title="ClutterScriptable"><span class="type">ClutterScriptable</span></a> *scriptable</code></em>,
|
49
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *id_</code></em>);
|
50
|
+
const <span class="returnvalue">gchar</span> * <a class="link" href="ClutterScriptable.html#clutter-scriptable-get-id" title="clutter_scriptable_get_id ()">clutter_scriptable_get_id</a> (<em class="parameter"><code><a class="link" href="ClutterScriptable.html" title="ClutterScriptable"><span class="type">ClutterScriptable</span></a> *scriptable</code></em>);
|
51
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterScriptable.html#clutter-scriptable-parse-custom-node" title="clutter_scriptable_parse_custom_node ()">clutter_scriptable_parse_custom_node</a>
|
52
|
+
(<em class="parameter"><code><a class="link" href="ClutterScriptable.html" title="ClutterScriptable"><span class="type">ClutterScriptable</span></a> *scriptable</code></em>,
|
53
|
+
<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
|
54
|
+
<em class="parameter"><code><span class="type">GValue</span> *value</code></em>,
|
55
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
|
56
|
+
<em class="parameter"><code><span class="type">JsonNode</span> *node</code></em>);
|
57
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterScriptable.html#clutter-scriptable-set-custom-property" title="clutter_scriptable_set_custom_property ()">clutter_scriptable_set_custom_property</a>
|
58
|
+
(<em class="parameter"><code><a class="link" href="ClutterScriptable.html" title="ClutterScriptable"><span class="type">ClutterScriptable</span></a> *scriptable</code></em>,
|
59
|
+
<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
|
60
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
|
61
|
+
<em class="parameter"><code>const <span class="type">GValue</span> *value</code></em>);
|
62
|
+
</pre>
|
63
|
+
</div>
|
64
|
+
<div class="refsect1">
|
65
|
+
<a name="ClutterScriptable.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
66
|
+
<pre class="synopsis">
|
67
|
+
GInterface
|
68
|
+
+----ClutterScriptable
|
69
|
+
</pre>
|
70
|
+
</div>
|
71
|
+
<div class="refsect1">
|
72
|
+
<a name="ClutterScriptable.prerequisites"></a><h2>Prerequisites</h2>
|
73
|
+
<p>
|
74
|
+
ClutterScriptable requires
|
75
|
+
GObject.</p>
|
76
|
+
</div>
|
77
|
+
<div class="refsect1">
|
78
|
+
<a name="ClutterScriptable.implementations"></a><h2>Known Implementations</h2>
|
79
|
+
<p>
|
80
|
+
ClutterScriptable is implemented by
|
81
|
+
<a class="link" href="ClutterActor.html" title="ClutterActor">ClutterActor</a>, <a class="link" href="ClutterAlpha.html" title="ClutterAlpha">ClutterAlpha</a>, <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation">ClutterAnimation</a>, <a class="link" href="ClutterAnimator.html" title="ClutterAnimator">ClutterAnimator</a>, <a class="link" href="ClutterBehaviour.html" title="ClutterBehaviour">ClutterBehaviour</a>, <a class="link" href="ClutterBehaviourDepth.html" title="ClutterBehaviourDepth">ClutterBehaviourDepth</a>, <a class="link" href="ClutterBehaviourEllipse.html" title="ClutterBehaviourEllipse">ClutterBehaviourEllipse</a>, <a class="link" href="ClutterBehaviourOpacity.html" title="ClutterBehaviourOpacity">ClutterBehaviourOpacity</a>, <a class="link" href="ClutterBehaviourPath.html" title="ClutterBehaviourPath">ClutterBehaviourPath</a>, <a class="link" href="ClutterBehaviourRotate.html" title="ClutterBehaviourRotate">ClutterBehaviourRotate</a>, <a class="link" href="ClutterBehaviourScale.html" title="ClutterBehaviourScale">ClutterBehaviourScale</a>, <a class="link" href="ClutterBox.html" title="ClutterBox">ClutterBox</a>, <a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture">ClutterCairoTexture</a>, <a class="link" href="ClutterClone.html" title="ClutterClone">ClutterClone</a>, <a class="link" href="ClutterGroup.html" title="ClutterGroup">ClutterGroup</a>, <a class="link" href="ClutterKeyframeTransition.html" title="ClutterKeyframeTransition">ClutterKeyframeTransition</a>, <a class="link" href="ClutterListModel.html" title="ClutterListModel">ClutterListModel</a>, <a class="link" href="ClutterModel.html" title="ClutterModel">ClutterModel</a>, <a class="link" href="ClutterPropertyTransition.html" title="ClutterPropertyTransition">ClutterPropertyTransition</a>, <a class="link" href="ClutterRectangle.html" title="ClutterRectangle">ClutterRectangle</a>, <a class="link" href="ClutterScrollActor.html" title="ClutterScrollActor">ClutterScrollActor</a>, <a class="link" href="ClutterStage.html" title="ClutterStage">ClutterStage</a>, <a class="link" href="ClutterState.html" title="ClutterState">ClutterState</a>, <a class="link" href="ClutterText.html" title="ClutterText">ClutterText</a>, <a class="link" href="ClutterTexture.html" title="ClutterTexture">ClutterTexture</a>, <a class="link" href="ClutterTimeline.html" title="ClutterTimeline">ClutterTimeline</a>, <a class="link" href="ClutterTransition.html" title="ClutterTransition">ClutterTransition</a> and <a class="link" href="ClutterTransitionGroup.html" title="ClutterTransitionGroup">ClutterTransitionGroup</a>.</p>
|
82
|
+
</div>
|
83
|
+
<div class="refsect1">
|
84
|
+
<a name="ClutterScriptable.description"></a><h2>Description</h2>
|
85
|
+
<p>
|
86
|
+
The <a class="link" href="ClutterScriptable.html#ClutterScriptableIface" title="struct ClutterScriptableIface"><span class="type">ClutterScriptableIface</span></a> interface exposes the UI definition parsing
|
87
|
+
process to external classes. By implementing this interface, a class can
|
88
|
+
override the UI definition parsing and transform complex data types into
|
89
|
+
GObject properties, or allow custom properties.
|
90
|
+
</p>
|
91
|
+
<p>
|
92
|
+
<a class="link" href="ClutterScriptable.html" title="ClutterScriptable"><span class="type">ClutterScriptable</span></a> is available since Clutter 0.6
|
93
|
+
</p>
|
94
|
+
</div>
|
95
|
+
<div class="refsect1">
|
96
|
+
<a name="ClutterScriptable.details"></a><h2>Details</h2>
|
97
|
+
<div class="refsect2">
|
98
|
+
<a name="ClutterScriptable-struct"></a><h3>ClutterScriptable</h3>
|
99
|
+
<pre class="programlisting">typedef struct _ClutterScriptable ClutterScriptable;</pre>
|
100
|
+
<p>
|
101
|
+
<a class="link" href="ClutterScriptable.html" title="ClutterScriptable"><span class="type">ClutterScriptable</span></a> is an opaque structure whose members cannot be directly
|
102
|
+
accessed
|
103
|
+
</p>
|
104
|
+
<p class="since">Since 0.6</p>
|
105
|
+
</div>
|
106
|
+
<hr>
|
107
|
+
<div class="refsect2">
|
108
|
+
<a name="ClutterScriptableIface"></a><h3>struct ClutterScriptableIface</h3>
|
109
|
+
<pre class="programlisting">struct ClutterScriptableIface {
|
110
|
+
void (* set_id) (ClutterScriptable *scriptable,
|
111
|
+
const gchar *id_);
|
112
|
+
const gchar *(* get_id) (ClutterScriptable *scriptable);
|
113
|
+
|
114
|
+
gboolean (* parse_custom_node) (ClutterScriptable *scriptable,
|
115
|
+
ClutterScript *script,
|
116
|
+
GValue *value,
|
117
|
+
const gchar *name,
|
118
|
+
JsonNode *node);
|
119
|
+
void (* set_custom_property) (ClutterScriptable *scriptable,
|
120
|
+
ClutterScript *script,
|
121
|
+
const gchar *name,
|
122
|
+
const GValue *value);
|
123
|
+
};
|
124
|
+
</pre>
|
125
|
+
<p>
|
126
|
+
Interface for implementing "scriptable" objects. An object implementing
|
127
|
+
this interface can override the parsing and properties setting sequence
|
128
|
+
when loading a UI definition data with <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a>
|
129
|
+
</p>
|
130
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
131
|
+
<colgroup>
|
132
|
+
<col align="left" valign="top">
|
133
|
+
<col>
|
134
|
+
</colgroup>
|
135
|
+
<tbody>
|
136
|
+
<tr>
|
137
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterScriptableIface.set-id"></a>set_id</code></em> ()</span></p></td>
|
138
|
+
<td>virtual function for setting the id of a scriptable object</td>
|
139
|
+
</tr>
|
140
|
+
<tr>
|
141
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterScriptableIface.get-id"></a>get_id</code></em> ()</span></p></td>
|
142
|
+
<td>virtual function for getting the id of a scriptable object</td>
|
143
|
+
</tr>
|
144
|
+
<tr>
|
145
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterScriptableIface.parse-custom-node"></a>parse_custom_node</code></em> ()</span></p></td>
|
146
|
+
<td>virtual function for parsing complex data containers
|
147
|
+
into GObject properties</td>
|
148
|
+
</tr>
|
149
|
+
<tr>
|
150
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterScriptableIface.set-custom-property"></a>set_custom_property</code></em> ()</span></p></td>
|
151
|
+
<td>virtual function for setting a custom property</td>
|
152
|
+
</tr>
|
153
|
+
</tbody>
|
154
|
+
</table></div>
|
155
|
+
<p class="since">Since 0.6</p>
|
156
|
+
</div>
|
157
|
+
<hr>
|
158
|
+
<div class="refsect2">
|
159
|
+
<a name="clutter-scriptable-set-id"></a><h3>clutter_scriptable_set_id ()</h3>
|
160
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_scriptable_set_id (<em class="parameter"><code><a class="link" href="ClutterScriptable.html" title="ClutterScriptable"><span class="type">ClutterScriptable</span></a> *scriptable</code></em>,
|
161
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *id_</code></em>);</pre>
|
162
|
+
<p>
|
163
|
+
Sets <em class="parameter"><code>id_</code></em> as the unique Clutter script it for this instance of
|
164
|
+
<a class="link" href="ClutterScriptable.html#ClutterScriptableIface" title="struct ClutterScriptableIface"><span class="type">ClutterScriptableIface</span></a>.
|
165
|
+
</p>
|
166
|
+
<p>
|
167
|
+
This name can be used by user interface designer applications to
|
168
|
+
define a unique name for an object constructable using the UI
|
169
|
+
definition language parsed by <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a>.
|
170
|
+
</p>
|
171
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
172
|
+
<colgroup>
|
173
|
+
<col align="left" valign="top">
|
174
|
+
<col>
|
175
|
+
</colgroup>
|
176
|
+
<tbody>
|
177
|
+
<tr>
|
178
|
+
<td><p><span class="term"><em class="parameter"><code>scriptable</code></em> :</span></p></td>
|
179
|
+
<td>a <a class="link" href="ClutterScriptable.html" title="ClutterScriptable"><span class="type">ClutterScriptable</span></a>
|
180
|
+
</td>
|
181
|
+
</tr>
|
182
|
+
<tr>
|
183
|
+
<td><p><span class="term"><em class="parameter"><code>id_</code></em> :</span></p></td>
|
184
|
+
<td>the <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> id of the object</td>
|
185
|
+
</tr>
|
186
|
+
</tbody>
|
187
|
+
</table></div>
|
188
|
+
<p class="since">Since 0.6</p>
|
189
|
+
</div>
|
190
|
+
<hr>
|
191
|
+
<div class="refsect2">
|
192
|
+
<a name="clutter-scriptable-get-id"></a><h3>clutter_scriptable_get_id ()</h3>
|
193
|
+
<pre class="programlisting">const <span class="returnvalue">gchar</span> * clutter_scriptable_get_id (<em class="parameter"><code><a class="link" href="ClutterScriptable.html" title="ClutterScriptable"><span class="type">ClutterScriptable</span></a> *scriptable</code></em>);</pre>
|
194
|
+
<p>
|
195
|
+
Retrieves the id of <em class="parameter"><code>scriptable</code></em> set using <a class="link" href="ClutterScriptable.html#clutter-scriptable-set-id" title="clutter_scriptable_set_id ()"><code class="function">clutter_scriptable_set_id()</code></a>.
|
196
|
+
</p>
|
197
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
198
|
+
<colgroup>
|
199
|
+
<col align="left" valign="top">
|
200
|
+
<col>
|
201
|
+
</colgroup>
|
202
|
+
<tbody>
|
203
|
+
<tr>
|
204
|
+
<td><p><span class="term"><em class="parameter"><code>scriptable</code></em> :</span></p></td>
|
205
|
+
<td>a <a class="link" href="ClutterScriptable.html" title="ClutterScriptable"><span class="type">ClutterScriptable</span></a>
|
206
|
+
</td>
|
207
|
+
</tr>
|
208
|
+
<tr>
|
209
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
210
|
+
<td>the id of the object. The returned string is owned by
|
211
|
+
the scriptable object and should never be modified of freed</td>
|
212
|
+
</tr>
|
213
|
+
</tbody>
|
214
|
+
</table></div>
|
215
|
+
<p class="since">Since 0.6</p>
|
216
|
+
</div>
|
217
|
+
<hr>
|
218
|
+
<div class="refsect2">
|
219
|
+
<a name="clutter-scriptable-parse-custom-node"></a><h3>clutter_scriptable_parse_custom_node ()</h3>
|
220
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> clutter_scriptable_parse_custom_node
|
221
|
+
(<em class="parameter"><code><a class="link" href="ClutterScriptable.html" title="ClutterScriptable"><span class="type">ClutterScriptable</span></a> *scriptable</code></em>,
|
222
|
+
<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
|
223
|
+
<em class="parameter"><code><span class="type">GValue</span> *value</code></em>,
|
224
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
|
225
|
+
<em class="parameter"><code><span class="type">JsonNode</span> *node</code></em>);</pre>
|
226
|
+
<p>
|
227
|
+
Parses the passed JSON node. The implementation must set the type
|
228
|
+
of the passed <span class="type">GValue</span> pointer using <code class="function">g_value_init()</code>.
|
229
|
+
</p>
|
230
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
231
|
+
<colgroup>
|
232
|
+
<col align="left" valign="top">
|
233
|
+
<col>
|
234
|
+
</colgroup>
|
235
|
+
<tbody>
|
236
|
+
<tr>
|
237
|
+
<td><p><span class="term"><em class="parameter"><code>scriptable</code></em> :</span></p></td>
|
238
|
+
<td>a <a class="link" href="ClutterScriptable.html" title="ClutterScriptable"><span class="type">ClutterScriptable</span></a>
|
239
|
+
</td>
|
240
|
+
</tr>
|
241
|
+
<tr>
|
242
|
+
<td><p><span class="term"><em class="parameter"><code>script</code></em> :</span></p></td>
|
243
|
+
<td>the <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> creating the scriptable instance</td>
|
244
|
+
</tr>
|
245
|
+
<tr>
|
246
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
247
|
+
<td>the generic value to be set</td>
|
248
|
+
</tr>
|
249
|
+
<tr>
|
250
|
+
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
251
|
+
<td>the name of the node</td>
|
252
|
+
</tr>
|
253
|
+
<tr>
|
254
|
+
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
|
255
|
+
<td>the JSON node to be parsed</td>
|
256
|
+
</tr>
|
257
|
+
<tr>
|
258
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
259
|
+
<td>
|
260
|
+
<code class="literal">TRUE</code> if the node was successfully parsed, <code class="literal">FALSE</code> otherwise.</td>
|
261
|
+
</tr>
|
262
|
+
</tbody>
|
263
|
+
</table></div>
|
264
|
+
<p class="since">Since 0.6</p>
|
265
|
+
</div>
|
266
|
+
<hr>
|
267
|
+
<div class="refsect2">
|
268
|
+
<a name="clutter-scriptable-set-custom-property"></a><h3>clutter_scriptable_set_custom_property ()</h3>
|
269
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_scriptable_set_custom_property
|
270
|
+
(<em class="parameter"><code><a class="link" href="ClutterScriptable.html" title="ClutterScriptable"><span class="type">ClutterScriptable</span></a> *scriptable</code></em>,
|
271
|
+
<em class="parameter"><code><a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> *script</code></em>,
|
272
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
|
273
|
+
<em class="parameter"><code>const <span class="type">GValue</span> *value</code></em>);</pre>
|
274
|
+
<p>
|
275
|
+
Overrides the common properties setting. The underlying virtual
|
276
|
+
function should be used when implementing custom properties.
|
277
|
+
</p>
|
278
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
279
|
+
<colgroup>
|
280
|
+
<col align="left" valign="top">
|
281
|
+
<col>
|
282
|
+
</colgroup>
|
283
|
+
<tbody>
|
284
|
+
<tr>
|
285
|
+
<td><p><span class="term"><em class="parameter"><code>scriptable</code></em> :</span></p></td>
|
286
|
+
<td>a <a class="link" href="ClutterScriptable.html" title="ClutterScriptable"><span class="type">ClutterScriptable</span></a>
|
287
|
+
</td>
|
288
|
+
</tr>
|
289
|
+
<tr>
|
290
|
+
<td><p><span class="term"><em class="parameter"><code>script</code></em> :</span></p></td>
|
291
|
+
<td>the <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> creating the scriptable instance</td>
|
292
|
+
</tr>
|
293
|
+
<tr>
|
294
|
+
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
295
|
+
<td>the name of the property</td>
|
296
|
+
</tr>
|
297
|
+
<tr>
|
298
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
299
|
+
<td>the value of the property</td>
|
300
|
+
</tr>
|
301
|
+
</tbody>
|
302
|
+
</table></div>
|
303
|
+
<p class="since">Since 0.6</p>
|
304
|
+
</div>
|
305
|
+
</div>
|
306
|
+
</div>
|
307
|
+
<div class="footer">
|
308
|
+
<hr>
|
309
|
+
Generated by GTK-Doc V1.18.1</div>
|
310
|
+
</body>
|
311
|
+
</html>
|
@@ -0,0 +1,731 @@
|
|
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>ClutterScrollActor</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="ClutterText.html" title="ClutterText">
|
10
|
+
<link rel="next" href="ch03.html" title="Layout managers">
|
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="ClutterText.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="ch03.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="#ClutterScrollActor.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#ClutterScrollActor.description" class="shortcut">Description</a>
|
27
|
+
|
|
28
|
+
<a href="#ClutterScrollActor.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
+
|
|
30
|
+
<a href="#ClutterScrollActor.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
|
31
|
+
|
|
32
|
+
<a href="#ClutterScrollActor.properties" class="shortcut">Properties</a>
|
33
|
+
</td></tr>
|
34
|
+
</table>
|
35
|
+
<div class="refentry">
|
36
|
+
<a name="ClutterScrollActor"></a><div class="titlepage"></div>
|
37
|
+
<div class="refnamediv"><table width="100%"><tr>
|
38
|
+
<td valign="top">
|
39
|
+
<h2><span class="refentrytitle"><a name="ClutterScrollActor.top_of_page"></a>ClutterScrollActor</span></h2>
|
40
|
+
<p>ClutterScrollActor — An actor for displaying a portion of its children</p>
|
41
|
+
</td>
|
42
|
+
<td valign="top" align="right"></td>
|
43
|
+
</tr></table></div>
|
44
|
+
<div class="refsynopsisdiv">
|
45
|
+
<a name="ClutterScrollActor.synopsis"></a><h2>Synopsis</h2>
|
46
|
+
<pre class="synopsis"> <a class="link" href="ClutterScrollActor.html#ClutterScrollActor-struct" title="ClutterScrollActor">ClutterScrollActor</a>;
|
47
|
+
struct <a class="link" href="ClutterScrollActor.html#ClutterScrollActorClass" title="struct ClutterScrollActorClass">ClutterScrollActorClass</a>;
|
48
|
+
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> * <a class="link" href="ClutterScrollActor.html#clutter-scroll-actor-new" title="clutter_scroll_actor_new ()">clutter_scroll_actor_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
49
|
+
enum <a class="link" href="ClutterScrollActor.html#ClutterScrollMode" title="enum ClutterScrollMode">ClutterScrollMode</a>;
|
50
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterScrollActor.html#clutter-scroll-actor-set-scroll-mode" title="clutter_scroll_actor_set_scroll_mode ()">clutter_scroll_actor_set_scroll_mode</a>
|
51
|
+
(<em class="parameter"><code><a class="link" href="ClutterScrollActor.html" title="ClutterScrollActor"><span class="type">ClutterScrollActor</span></a> *actor</code></em>,
|
52
|
+
<em class="parameter"><code><a class="link" href="ClutterScrollActor.html#ClutterScrollMode" title="enum ClutterScrollMode"><span class="type">ClutterScrollMode</span></a> mode</code></em>);
|
53
|
+
<a class="link" href="ClutterScrollActor.html#ClutterScrollMode" title="enum ClutterScrollMode"><span class="returnvalue">ClutterScrollMode</span></a> <a class="link" href="ClutterScrollActor.html#clutter-scroll-actor-get-scroll-mode" title="clutter_scroll_actor_get_scroll_mode ()">clutter_scroll_actor_get_scroll_mode</a>
|
54
|
+
(<em class="parameter"><code><a class="link" href="ClutterScrollActor.html" title="ClutterScrollActor"><span class="type">ClutterScrollActor</span></a> *actor</code></em>);
|
55
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterScrollActor.html#clutter-scroll-actor-scroll-to-point" title="clutter_scroll_actor_scroll_to_point ()">clutter_scroll_actor_scroll_to_point</a>
|
56
|
+
(<em class="parameter"><code><a class="link" href="ClutterScrollActor.html" title="ClutterScrollActor"><span class="type">ClutterScrollActor</span></a> *actor</code></em>,
|
57
|
+
<em class="parameter"><code>const <a class="link" href="clutter-Base-geometric-types.html#ClutterPoint" title="struct ClutterPoint"><span class="type">ClutterPoint</span></a> *point</code></em>);
|
58
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterScrollActor.html#clutter-scroll-actor-scroll-to-rect" title="clutter_scroll_actor_scroll_to_rect ()">clutter_scroll_actor_scroll_to_rect</a> (<em class="parameter"><code><a class="link" href="ClutterScrollActor.html" title="ClutterScrollActor"><span class="type">ClutterScrollActor</span></a> *actor</code></em>,
|
59
|
+
<em class="parameter"><code>const <a class="link" href="clutter-Base-geometric-types.html#ClutterRect" title="struct ClutterRect"><span class="type">ClutterRect</span></a> *rect</code></em>);
|
60
|
+
</pre>
|
61
|
+
</div>
|
62
|
+
<div class="refsect1">
|
63
|
+
<a name="ClutterScrollActor.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
64
|
+
<pre class="synopsis">
|
65
|
+
GObject
|
66
|
+
+----GInitiallyUnowned
|
67
|
+
+----<a class="link" href="ClutterActor.html" title="ClutterActor">ClutterActor</a>
|
68
|
+
+----ClutterScrollActor
|
69
|
+
</pre>
|
70
|
+
</div>
|
71
|
+
<div class="refsect1">
|
72
|
+
<a name="ClutterScrollActor.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
73
|
+
<p>
|
74
|
+
ClutterScrollActor implements
|
75
|
+
<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>
|
76
|
+
</div>
|
77
|
+
<div class="refsect1">
|
78
|
+
<a name="ClutterScrollActor.properties"></a><h2>Properties</h2>
|
79
|
+
<pre class="synopsis">
|
80
|
+
"<a class="link" href="ClutterScrollActor.html#ClutterScrollActor--scroll-mode" title='The "scroll-mode" property'>scroll-mode</a>" <a class="link" href="ClutterScrollActor.html#ClutterScrollMode" title="enum ClutterScrollMode"><span class="type">ClutterScrollMode</span></a> : Read / Write
|
81
|
+
</pre>
|
82
|
+
</div>
|
83
|
+
<div class="refsect1">
|
84
|
+
<a name="ClutterScrollActor.description"></a><h2>Description</h2>
|
85
|
+
<p>
|
86
|
+
<a class="link" href="ClutterScrollActor.html" title="ClutterScrollActor"><span class="type">ClutterScrollActor</span></a> is an actor that can be used to display a portion
|
87
|
+
of the contents of its children.
|
88
|
+
</p>
|
89
|
+
<p>
|
90
|
+
The extent of the area of a <a class="link" href="ClutterScrollActor.html" title="ClutterScrollActor"><span class="type">ClutterScrollActor</span></a> is defined by the size
|
91
|
+
of its children; the visible region of the children of a <a class="link" href="ClutterScrollActor.html" title="ClutterScrollActor"><span class="type">ClutterScrollActor</span></a>
|
92
|
+
is set by using <a class="link" href="ClutterScrollActor.html#clutter-scroll-actor-scroll-to-point" title="clutter_scroll_actor_scroll_to_point ()"><code class="function">clutter_scroll_actor_scroll_to_point()</code></a> or by using
|
93
|
+
<a class="link" href="ClutterScrollActor.html#clutter-scroll-actor-scroll-to-rect" title="clutter_scroll_actor_scroll_to_rect ()"><code class="function">clutter_scroll_actor_scroll_to_rect()</code></a> to define a point or a rectangle
|
94
|
+
acting as the origin, respectively.
|
95
|
+
</p>
|
96
|
+
<p>
|
97
|
+
<a class="link" href="ClutterScrollActor.html" title="ClutterScrollActor"><span class="type">ClutterScrollActor</span></a> does not provide pointer or keyboard event handling,
|
98
|
+
nor does it provide visible scroll handles.
|
99
|
+
</p>
|
100
|
+
<p>
|
101
|
+
</p>
|
102
|
+
<div class="informalexample">
|
103
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
104
|
+
<tbody>
|
105
|
+
<tr>
|
106
|
+
<td class="listing_lines" align="right"><pre>1
|
107
|
+
2
|
108
|
+
3
|
109
|
+
4
|
110
|
+
5
|
111
|
+
6
|
112
|
+
7
|
113
|
+
8
|
114
|
+
9
|
115
|
+
10
|
116
|
+
11
|
117
|
+
12
|
118
|
+
13
|
119
|
+
14
|
120
|
+
15
|
121
|
+
16
|
122
|
+
17
|
123
|
+
18
|
124
|
+
19
|
125
|
+
20
|
126
|
+
21
|
127
|
+
22
|
128
|
+
23
|
129
|
+
24
|
130
|
+
25
|
131
|
+
26
|
132
|
+
27
|
133
|
+
28
|
134
|
+
29
|
135
|
+
30
|
136
|
+
31
|
137
|
+
32
|
138
|
+
33
|
139
|
+
34
|
140
|
+
35
|
141
|
+
36
|
142
|
+
37
|
143
|
+
38
|
144
|
+
39
|
145
|
+
40
|
146
|
+
41
|
147
|
+
42
|
148
|
+
43
|
149
|
+
44
|
150
|
+
45
|
151
|
+
46
|
152
|
+
47
|
153
|
+
48
|
154
|
+
49
|
155
|
+
50
|
156
|
+
51
|
157
|
+
52
|
158
|
+
53
|
159
|
+
54
|
160
|
+
55
|
161
|
+
56
|
162
|
+
57
|
163
|
+
58
|
164
|
+
59
|
165
|
+
60
|
166
|
+
61
|
167
|
+
62
|
168
|
+
63
|
169
|
+
64
|
170
|
+
65
|
171
|
+
66
|
172
|
+
67
|
173
|
+
68
|
174
|
+
69
|
175
|
+
70
|
176
|
+
71
|
177
|
+
72
|
178
|
+
73
|
179
|
+
74
|
180
|
+
75
|
181
|
+
76
|
182
|
+
77
|
183
|
+
78
|
184
|
+
79
|
185
|
+
80
|
186
|
+
81
|
187
|
+
82
|
188
|
+
83
|
189
|
+
84
|
190
|
+
85
|
191
|
+
86
|
192
|
+
87
|
193
|
+
88
|
194
|
+
89
|
195
|
+
90
|
196
|
+
91
|
197
|
+
92
|
198
|
+
93
|
199
|
+
94
|
200
|
+
95
|
201
|
+
96
|
202
|
+
97
|
203
|
+
98
|
204
|
+
99
|
205
|
+
100
|
206
|
+
101
|
207
|
+
102
|
208
|
+
103
|
209
|
+
104
|
210
|
+
105
|
211
|
+
106
|
212
|
+
107
|
213
|
+
108
|
214
|
+
109
|
215
|
+
110
|
216
|
+
111
|
217
|
+
112
|
218
|
+
113
|
219
|
+
114
|
220
|
+
115
|
221
|
+
116
|
222
|
+
117
|
223
|
+
118
|
224
|
+
119
|
225
|
+
120
|
226
|
+
121
|
227
|
+
122
|
228
|
+
123
|
229
|
+
124
|
230
|
+
125
|
231
|
+
126
|
232
|
+
127
|
233
|
+
128
|
234
|
+
129
|
235
|
+
130
|
236
|
+
131
|
237
|
+
132
|
238
|
+
133
|
239
|
+
134
|
240
|
+
135
|
241
|
+
136
|
242
|
+
137
|
243
|
+
138
|
244
|
+
139
|
245
|
+
140
|
246
|
+
141
|
247
|
+
142
|
248
|
+
143
|
249
|
+
144
|
250
|
+
145
|
251
|
+
146
|
252
|
+
147
|
253
|
+
148
|
254
|
+
149
|
255
|
+
150
|
256
|
+
151
|
257
|
+
152
|
258
|
+
153
|
259
|
+
154
|
260
|
+
155
|
261
|
+
156
|
262
|
+
157
|
263
|
+
158
|
264
|
+
159
|
265
|
+
160
|
266
|
+
161
|
267
|
+
162
|
268
|
+
163
|
269
|
+
164
|
270
|
+
165
|
271
|
+
166
|
272
|
+
167
|
273
|
+
168
|
274
|
+
169
|
275
|
+
170
|
276
|
+
171
|
277
|
+
172
|
278
|
+
173
|
279
|
+
174
|
280
|
+
175
|
281
|
+
176
|
282
|
+
177
|
283
|
+
178
|
284
|
+
179
|
285
|
+
180
|
286
|
+
181
|
287
|
+
182
|
288
|
+
183
|
289
|
+
184
|
290
|
+
185
|
291
|
+
186
|
292
|
+
187
|
293
|
+
188
|
294
|
+
189
|
295
|
+
190
|
296
|
+
191
|
297
|
+
192
|
298
|
+
193</pre></td>
|
299
|
+
<td class="listing_code"><pre class="programlisting"><span class="preproc">#include</span><span class="normal"> </span><span class="string"><stdlib.h></span>
|
300
|
+
<span class="preproc">#include</span><span class="normal"> </span><span class="string"><glib.h></span>
|
301
|
+
<span class="preproc">#include</span><span class="normal"> </span><span class="string"><clutter/clutter.h></span>
|
302
|
+
|
303
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">menu_items_name</span><span class="symbol">[]</span><span class="normal"> </span><span class="symbol">=</span><span class="normal"> </span><span class="cbracket">{</span>
|
304
|
+
<span class="normal"> </span><span class="string">"Option 1"</span><span class="symbol">,</span>
|
305
|
+
<span class="normal"> </span><span class="string">"Option 2"</span><span class="symbol">,</span>
|
306
|
+
<span class="normal"> </span><span class="string">"Option 3"</span><span class="symbol">,</span>
|
307
|
+
<span class="normal"> </span><span class="string">"Option 4"</span><span class="symbol">,</span>
|
308
|
+
<span class="normal"> </span><span class="string">"Option 5"</span><span class="symbol">,</span>
|
309
|
+
<span class="normal"> </span><span class="string">"Option 6"</span><span class="symbol">,</span>
|
310
|
+
<span class="normal"> </span><span class="string">"Option 7"</span><span class="symbol">,</span>
|
311
|
+
<span class="normal"> </span><span class="string">"Option 8"</span><span class="symbol">,</span>
|
312
|
+
<span class="normal"> </span><span class="string">"Option 9"</span><span class="symbol">,</span>
|
313
|
+
<span class="normal"> </span><span class="string">"Option 10"</span><span class="symbol">,</span>
|
314
|
+
<span class="normal"> </span><span class="string">"Option 11"</span><span class="symbol">,</span>
|
315
|
+
<span class="cbracket">}</span><span class="symbol">;</span>
|
316
|
+
|
317
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="usertype">guint</span><span class="normal"> menu_items_len </span><span class="symbol">=</span><span class="normal"> </span><span class="function">G_N_ELEMENTS</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">menu_items_name</span><span class="symbol">);</span>
|
318
|
+
|
319
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
320
|
+
<span class="function">select_item_at_index</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">scroll</span><span class="symbol">,</span><span class="normal"> </span>
|
321
|
+
<span class="normal"> </span><span class="type">int</span><span class="normal"> index_</span><span class="symbol">)</span>
|
322
|
+
<span class="cbracket">{</span>
|
323
|
+
<span class="normal"> </span><span class="usertype">ClutterPoint</span><span class="normal"> point</span><span class="symbol">;</span>
|
324
|
+
<span class="normal"> </span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">menu</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">item</span><span class="symbol">;</span>
|
325
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> old_selected</span><span class="symbol">;</span>
|
326
|
+
|
327
|
+
<span class="normal"> menu </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-get-first-child">clutter_actor_get_first_child</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">scroll</span><span class="symbol">);</span>
|
328
|
+
|
329
|
+
<span class="normal"> old_selected </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_object_get_data</span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_OBJECT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">scroll</span><span class="symbol">),</span><span class="normal"> </span><span class="string">"selected-item"</span><span class="symbol">);</span>
|
330
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">old_selected </span><span class="symbol">!=</span><span class="normal"> NULL</span><span class="symbol">)</span>
|
331
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
332
|
+
<span class="normal"> item </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-get-child-at-index">clutter_actor_get_child_at_index</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">menu</span><span class="symbol">,</span><span class="normal"> </span><span class="function">GPOINTER_TO_INT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">old_selected</span><span class="symbol">));</span>
|
333
|
+
<span class="normal"> </span><span class="function"><a href="ClutterText.html#clutter-text-set-color">clutter_text_set_color</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">CLUTTER_TEXT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">item</span><span class="symbol">),</span><span class="normal"> CLUTTER_COLOR_White</span><span class="symbol">);</span>
|
334
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
335
|
+
|
336
|
+
<span class="normal"> </span><span class="comment">/* wrap around the index */</span>
|
337
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">index_ </span><span class="symbol"><</span><span class="normal"> </span><span class="number">0</span><span class="symbol">)</span>
|
338
|
+
<span class="normal"> index_ </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-get-n-children">clutter_actor_get_n_children</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">menu</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">-</span><span class="normal"> </span><span class="number">1</span><span class="symbol">;</span>
|
339
|
+
<span class="normal"> </span><span class="keyword">else</span><span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">index_ </span><span class="symbol">>=</span><span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-get-n-children">clutter_actor_get_n_children</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">menu</span><span class="symbol">))</span>
|
340
|
+
<span class="normal"> index_ </span><span class="symbol">=</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span>
|
341
|
+
|
342
|
+
<span class="normal"> item </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-get-child-at-index">clutter_actor_get_child_at_index</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">menu</span><span class="symbol">,</span><span class="normal"> index_</span><span class="symbol">);</span>
|
343
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-get-position">clutter_actor_get_position</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">item</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">point</span><span class="symbol">.</span><span class="normal">x</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">point</span><span class="symbol">.</span><span class="normal">y</span><span class="symbol">);</span>
|
344
|
+
|
345
|
+
<span class="normal"> </span><span class="comment">/* scroll to the actor's position; the menu actor is always set at (0, 0),</span>
|
346
|
+
<span class="comment"> * so it does not contribute any further offset, and we can use the position</span>
|
347
|
+
<span class="comment"> * of its children to ask the ScrollActor to scroll the visible region; if</span>
|
348
|
+
<span class="comment"> * the menu actor had an offset, or was transformed, we would have needed to</span>
|
349
|
+
<span class="comment"> * get their relative transformed position instead.</span>
|
350
|
+
<span class="comment"> */</span>
|
351
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-save-easing-state">clutter_actor_save_easing_state</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">scroll</span><span class="symbol">);</span>
|
352
|
+
<span class="normal"> </span><span class="function"><a href="ClutterScrollActor.html#clutter-scroll-actor-scroll-to-point">clutter_scroll_actor_scroll_to_point</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">CLUTTER_SCROLL_ACTOR</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">scroll</span><span class="symbol">),</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">point</span><span class="symbol">);</span>
|
353
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-restore-easing-state">clutter_actor_restore_easing_state</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">scroll</span><span class="symbol">);</span>
|
354
|
+
|
355
|
+
<span class="normal"> </span><span class="function"><a href="ClutterText.html#clutter-text-set-color">clutter_text_set_color</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">CLUTTER_TEXT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">item</span><span class="symbol">),</span><span class="normal"> CLUTTER_COLOR_LightSkyBlue</span><span class="symbol">);</span>
|
356
|
+
|
357
|
+
<span class="normal"> </span><span class="comment">/* store the index of the currently selected item, so that we can</span>
|
358
|
+
<span class="comment"> * implement select_next_item() and select_prev_item()</span>
|
359
|
+
<span class="comment"> */</span>
|
360
|
+
<span class="normal"> </span><span class="function">g_object_set_data</span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_OBJECT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">scroll</span><span class="symbol">),</span><span class="normal"> </span><span class="string">"selected-item"</span><span class="symbol">,</span>
|
361
|
+
<span class="normal"> </span><span class="function">GINT_TO_POINTER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">index_</span><span class="symbol">));</span>
|
362
|
+
<span class="cbracket">}</span>
|
363
|
+
|
364
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
365
|
+
<span class="function">select_next_item</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">scroll</span><span class="symbol">)</span>
|
366
|
+
<span class="cbracket">{</span>
|
367
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> selected_ </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_object_get_data</span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_OBJECT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">scroll</span><span class="symbol">),</span><span class="normal"> </span><span class="string">"selected-item"</span><span class="symbol">);</span>
|
368
|
+
|
369
|
+
<span class="normal"> </span><span class="function">select_item_at_index</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">scroll</span><span class="symbol">,</span><span class="normal"> </span><span class="function">GPOINTER_TO_INT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">selected_</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">+</span><span class="normal"> </span><span class="number">1</span><span class="symbol">);</span>
|
370
|
+
<span class="cbracket">}</span>
|
371
|
+
|
372
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
373
|
+
<span class="function">select_prev_item</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">scroll</span><span class="symbol">)</span>
|
374
|
+
<span class="cbracket">{</span>
|
375
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> selected_ </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_object_get_data</span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_OBJECT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">scroll</span><span class="symbol">),</span><span class="normal"> </span><span class="string">"selected-item"</span><span class="symbol">);</span>
|
376
|
+
|
377
|
+
<span class="normal"> </span><span class="function">select_item_at_index</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">scroll</span><span class="symbol">,</span><span class="normal"> </span><span class="function">GPOINTER_TO_INT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">selected_</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">-</span><span class="normal"> </span><span class="number">1</span><span class="symbol">);</span>
|
378
|
+
<span class="cbracket">}</span>
|
379
|
+
|
380
|
+
<span class="keyword">static</span><span class="normal"> <a href="ClutterActor.html">ClutterActor</a> </span><span class="symbol">*</span>
|
381
|
+
<span class="function">create_menu_item</span><span class="normal"> </span><span class="symbol">(</span><span class="keyword">const</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">name</span><span class="symbol">)</span>
|
382
|
+
<span class="cbracket">{</span>
|
383
|
+
<span class="normal"> </span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">text</span><span class="symbol">;</span>
|
384
|
+
|
385
|
+
<span class="normal"> text </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterText.html#clutter-text-new">clutter_text_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
386
|
+
<span class="normal"> </span><span class="function"><a href="ClutterText.html#clutter-text-set-font-name">clutter_text_set_font_name</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">CLUTTER_TEXT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">),</span><span class="normal"> </span><span class="string">"Sans Bold 24"</span><span class="symbol">);</span>
|
387
|
+
<span class="normal"> </span><span class="function"><a href="ClutterText.html#clutter-text-set-text">clutter_text_set_text</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">CLUTTER_TEXT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">),</span><span class="normal"> name</span><span class="symbol">);</span>
|
388
|
+
<span class="normal"> </span><span class="function"><a href="ClutterText.html#clutter-text-set-color">clutter_text_set_color</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">CLUTTER_TEXT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">),</span><span class="normal"> CLUTTER_COLOR_White</span><span class="symbol">);</span>
|
389
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-margin-left">clutter_actor_set_margin_left</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">,</span><span class="normal"> </span><span class="number">12</span><span class="symbol">.</span><span class="normal">f</span><span class="symbol">);</span>
|
390
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-margin-right">clutter_actor_set_margin_right</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">,</span><span class="normal"> </span><span class="number">12</span><span class="symbol">.</span><span class="normal">f</span><span class="symbol">);</span>
|
391
|
+
|
392
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> text</span><span class="symbol">;</span>
|
393
|
+
<span class="cbracket">}</span>
|
394
|
+
|
395
|
+
<span class="keyword">static</span><span class="normal"> <a href="ClutterActor.html">ClutterActor</a> </span><span class="symbol">*</span>
|
396
|
+
<span class="function">create_menu_actor</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">scroll</span><span class="symbol">)</span>
|
397
|
+
<span class="cbracket">{</span>
|
398
|
+
<span class="normal"> </span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">menu</span><span class="symbol">;</span>
|
399
|
+
<span class="normal"> </span><span class="usertype">ClutterLayoutManager</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">layout_manager</span><span class="symbol">;</span>
|
400
|
+
<span class="normal"> </span><span class="usertype">guint</span><span class="normal"> i</span><span class="symbol">;</span>
|
401
|
+
|
402
|
+
<span class="normal"> </span><span class="comment">/* this is our menu; it contains items in a vertical layout */</span>
|
403
|
+
<span class="normal"> layout_manager </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterBoxLayout.html#clutter-box-layout-new">clutter_box_layout_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
404
|
+
<span class="normal"> </span><span class="function"><a href="ClutterBoxLayout.html#clutter-box-layout-set-orientation">clutter_box_layout_set_orientation</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">CLUTTER_BOX_LAYOUT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout_manager</span><span class="symbol">),</span>
|
405
|
+
<span class="normal"> <a href="ClutterBoxLayout.html#CLUTTER-ORIENTATION-VERTICAL:CAPS">CLUTTER_ORIENTATION_VERTICAL</a></span><span class="symbol">);</span>
|
406
|
+
<span class="normal"> </span><span class="function"><a href="ClutterBoxLayout.html#clutter-box-layout-set-spacing">clutter_box_layout_set_spacing</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">CLUTTER_BOX_LAYOUT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout_manager</span><span class="symbol">),</span><span class="normal"> </span><span class="number">12</span><span class="symbol">.</span><span class="normal">f</span><span class="symbol">);</span>
|
407
|
+
|
408
|
+
<span class="normal"> menu </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-new">clutter_actor_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
409
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-layout-manager">clutter_actor_set_layout_manager</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">menu</span><span class="symbol">,</span><span class="normal"> layout_manager</span><span class="symbol">);</span>
|
410
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-background-color">clutter_actor_set_background_color</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">menu</span><span class="symbol">,</span><span class="normal"> CLUTTER_COLOR_Black</span><span class="symbol">);</span>
|
411
|
+
|
412
|
+
<span class="normal"> </span><span class="comment">/* these are the items */</span>
|
413
|
+
<span class="normal"> </span><span class="keyword">for</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">i </span><span class="symbol">=</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span><span class="normal"> i </span><span class="symbol"><</span><span class="normal"> menu_items_len</span><span class="symbol">;</span><span class="normal"> i</span><span class="symbol">++)</span>
|
414
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-add-child">clutter_actor_add_child</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">menu</span><span class="symbol">,</span><span class="normal"> </span><span class="function">create_menu_item</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">menu_items_name</span><span class="symbol">[</span><span class="normal">i</span><span class="symbol">]));</span>
|
415
|
+
|
416
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> menu</span><span class="symbol">;</span>
|
417
|
+
<span class="cbracket">}</span>
|
418
|
+
|
419
|
+
<span class="keyword">static</span><span class="normal"> <a href="ClutterActor.html">ClutterActor</a> </span><span class="symbol">*</span>
|
420
|
+
<span class="function">create_scroll_actor</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">stage</span><span class="symbol">)</span>
|
421
|
+
<span class="cbracket">{</span>
|
422
|
+
<span class="normal"> </span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">scroll</span><span class="symbol">;</span>
|
423
|
+
|
424
|
+
<span class="normal"> </span><span class="comment">/* our scrollable viewport */</span>
|
425
|
+
<span class="normal"> scroll </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterScrollActor.html#clutter-scroll-actor-new">clutter_scroll_actor_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
426
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-name">clutter_actor_set_name</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">scroll</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"scroll"</span><span class="symbol">);</span>
|
427
|
+
|
428
|
+
<span class="normal"> </span><span class="comment">/* give a vertical offset, and constrain the viewport so that its size</span>
|
429
|
+
<span class="comment"> * is bound to the stage size</span>
|
430
|
+
<span class="comment"> */</span>
|
431
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-position">clutter_actor_set_position</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">scroll</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">.</span><span class="normal">f</span><span class="symbol">,</span><span class="normal"> </span><span class="number">18</span><span class="symbol">.</span><span class="normal">f</span><span class="symbol">);</span>
|
432
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-add-constraint">clutter_actor_add_constraint</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">scroll</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="ClutterAlignConstraint.html#clutter-align-constraint-new">clutter_align_constraint_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">,</span><span class="normal"> <a href="ClutterAlignConstraint.html#CLUTTER-ALIGN-X-AXIS:CAPS">CLUTTER_ALIGN_X_AXIS</a></span><span class="symbol">,</span><span class="normal"> </span><span class="number">0.5</span><span class="symbol">));</span>
|
433
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-add-constraint">clutter_actor_add_constraint</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">scroll</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="ClutterBindConstraint.html#clutter-bind-constraint-new">clutter_bind_constraint_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">,</span><span class="normal"> <a href="ClutterBindConstraint.html#CLUTTER-BIND-HEIGHT:CAPS">CLUTTER_BIND_HEIGHT</a></span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="number">36</span><span class="symbol">.</span><span class="normal">f</span><span class="symbol">));</span>
|
434
|
+
|
435
|
+
<span class="normal"> </span><span class="comment">/* we only want to scroll the contents vertically, and</span>
|
436
|
+
<span class="comment"> * ignore any horizontal component</span>
|
437
|
+
<span class="comment"> */</span>
|
438
|
+
<span class="normal"> </span><span class="function"><a href="ClutterScrollActor.html#clutter-scroll-actor-set-scroll-mode">clutter_scroll_actor_set_scroll_mode</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">CLUTTER_SCROLL_ACTOR</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">scroll</span><span class="symbol">),</span>
|
439
|
+
<span class="normal"> <a href="ClutterScrollActor.html#CLUTTER-SCROLL-VERTICALLY:CAPS">CLUTTER_SCROLL_VERTICALLY</a></span><span class="symbol">);</span>
|
440
|
+
|
441
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-add-child">clutter_actor_add_child</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">scroll</span><span class="symbol">,</span><span class="normal"> </span><span class="function">create_menu_actor</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">scroll</span><span class="symbol">));</span>
|
442
|
+
|
443
|
+
<span class="normal"> </span><span class="comment">/* select the first item */</span>
|
444
|
+
<span class="normal"> </span><span class="function">select_item_at_index</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">scroll</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">);</span>
|
445
|
+
|
446
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> scroll</span><span class="symbol">;</span>
|
447
|
+
<span class="cbracket">}</span>
|
448
|
+
|
449
|
+
<span class="keyword">static</span><span class="normal"> gboolean</span>
|
450
|
+
<span class="function">on_key_press</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">stage</span><span class="symbol">,</span>
|
451
|
+
<span class="normal"> </span><span class="usertype">ClutterEvent</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">event</span><span class="symbol">,</span>
|
452
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> unused</span><span class="symbol">)</span>
|
453
|
+
<span class="cbracket">{</span>
|
454
|
+
<span class="normal"> </span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">scroll</span><span class="symbol">;</span>
|
455
|
+
<span class="normal"> </span><span class="usertype">guint</span><span class="normal"> key_symbol</span><span class="symbol">;</span>
|
456
|
+
|
457
|
+
<span class="normal"> scroll </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-get-first-child">clutter_actor_get_first_child</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">);</span>
|
458
|
+
|
459
|
+
<span class="normal"> key_symbol </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="clutter-Events.html#clutter-event-get-key-symbol">clutter_event_get_key_symbol</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">event</span><span class="symbol">);</span>
|
460
|
+
|
461
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">key_symbol </span><span class="symbol">==</span><span class="normal"> CLUTTER_KEY_Up</span><span class="symbol">)</span>
|
462
|
+
<span class="normal"> </span><span class="function">select_prev_item</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">scroll</span><span class="symbol">);</span>
|
463
|
+
<span class="normal"> </span><span class="keyword">else</span><span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">key_symbol </span><span class="symbol">==</span><span class="normal"> CLUTTER_KEY_Down</span><span class="symbol">)</span>
|
464
|
+
<span class="normal"> </span><span class="function">select_next_item</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">scroll</span><span class="symbol">);</span>
|
465
|
+
|
466
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="clutter-Events.html#CLUTTER-EVENT-STOP:CAPS">CLUTTER_EVENT_STOP</a></span><span class="symbol">;</span>
|
467
|
+
<span class="cbracket">}</span>
|
468
|
+
|
469
|
+
<span class="type">int</span>
|
470
|
+
<span class="function">main</span><span class="normal"> </span><span class="symbol">(</span><span class="type">int</span><span class="normal"> argc</span><span class="symbol">,</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">argv</span><span class="symbol">[])</span>
|
471
|
+
<span class="cbracket">{</span>
|
472
|
+
<span class="normal"> </span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">stage</span><span class="symbol">;</span>
|
473
|
+
|
474
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="clutter-General.html#clutter-init">clutter_init</a></span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">argc</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">argv</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">!=</span><span class="normal"> <a href="clutter-General.html#CLUTTER-INIT-SUCCESS:CAPS">CLUTTER_INIT_SUCCESS</a></span><span class="symbol">)</span>
|
475
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> EXIT_FAILURE</span><span class="symbol">;</span>
|
476
|
+
|
477
|
+
<span class="normal"> </span><span class="comment">/* create a new stage */</span>
|
478
|
+
<span class="normal"> stage </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterStage.html#clutter-stage-new">clutter_stage_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
479
|
+
<span class="normal"> </span><span class="function"><a href="ClutterStage.html#clutter-stage-set-title">clutter_stage_set_title</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">stage</span><span class="symbol">),</span><span class="normal"> </span><span class="string">"Scroll Actor"</span><span class="symbol">);</span>
|
480
|
+
<span class="normal"> </span><span class="function"><a href="ClutterStage.html#clutter-stage-set-user-resizable">clutter_stage_set_user_resizable</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">stage</span><span class="symbol">),</span><span class="normal"> TRUE</span><span class="symbol">);</span>
|
481
|
+
<span class="normal"> </span><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">"destroy"</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"><a href="clutter-General.html#clutter-main-quit">clutter_main_quit</a></span><span class="symbol">),</span><span class="normal"> NULL</span><span class="symbol">);</span>
|
482
|
+
<span class="normal"> </span><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">"key-press-event"</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_key_press</span><span class="symbol">),</span><span class="normal"> NULL</span><span class="symbol">);</span>
|
483
|
+
|
484
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-add-child">clutter_actor_add_child</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">,</span><span class="normal"> </span><span class="function">create_scroll_actor</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">));</span>
|
485
|
+
|
486
|
+
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-show">clutter_actor_show</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">);</span>
|
487
|
+
|
488
|
+
<span class="normal"> </span><span class="function"><a href="clutter-General.html#clutter-main">clutter_main</a></span><span class="normal"> </span><span class="symbol">();</span>
|
489
|
+
|
490
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> EXIT_SUCCESS</span><span class="symbol">;</span>
|
491
|
+
<span class="cbracket">}</span></pre></td>
|
492
|
+
</tr>
|
493
|
+
</tbody>
|
494
|
+
</table>
|
495
|
+
</div>
|
496
|
+
|
497
|
+
<p>
|
498
|
+
</p>
|
499
|
+
<p>
|
500
|
+
<a class="link" href="ClutterScrollActor.html" title="ClutterScrollActor"><span class="type">ClutterScrollActor</span></a> is available since Clutter 1.12.
|
501
|
+
</p>
|
502
|
+
</div>
|
503
|
+
<div class="refsect1">
|
504
|
+
<a name="ClutterScrollActor.details"></a><h2>Details</h2>
|
505
|
+
<div class="refsect2">
|
506
|
+
<a name="ClutterScrollActor-struct"></a><h3>ClutterScrollActor</h3>
|
507
|
+
<pre class="programlisting">typedef struct _ClutterScrollActor ClutterScrollActor;</pre>
|
508
|
+
<p>
|
509
|
+
The <span class="structname">ClutterScrollActor</span> structure contains only
|
510
|
+
private data, and should be accessed using the provided API.
|
511
|
+
</p>
|
512
|
+
<p class="since">Since 1.12</p>
|
513
|
+
</div>
|
514
|
+
<hr>
|
515
|
+
<div class="refsect2">
|
516
|
+
<a name="ClutterScrollActorClass"></a><h3>struct ClutterScrollActorClass</h3>
|
517
|
+
<pre class="programlisting">struct ClutterScrollActorClass {
|
518
|
+
};
|
519
|
+
</pre>
|
520
|
+
<p>
|
521
|
+
The <span class="structname">ClutterScrollActor</span> structure contains only
|
522
|
+
private data.
|
523
|
+
</p>
|
524
|
+
<p class="since">Since 1.12</p>
|
525
|
+
</div>
|
526
|
+
<hr>
|
527
|
+
<div class="refsect2">
|
528
|
+
<a name="clutter-scroll-actor-new"></a><h3>clutter_scroll_actor_new ()</h3>
|
529
|
+
<pre class="programlisting"><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> * clutter_scroll_actor_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
530
|
+
<p>
|
531
|
+
Creates a new <a class="link" href="ClutterScrollActor.html" title="ClutterScrollActor"><span class="type">ClutterScrollActor</span></a>.
|
532
|
+
</p>
|
533
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
534
|
+
<colgroup>
|
535
|
+
<col align="left" valign="top">
|
536
|
+
<col>
|
537
|
+
</colgroup>
|
538
|
+
<tbody><tr>
|
539
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
540
|
+
<td>The newly created <a class="link" href="ClutterScrollActor.html" title="ClutterScrollActor"><span class="type">ClutterScrollActor</span></a>
|
541
|
+
instance.</td>
|
542
|
+
</tr></tbody>
|
543
|
+
</table></div>
|
544
|
+
<p class="since">Since 1.12</p>
|
545
|
+
</div>
|
546
|
+
<hr>
|
547
|
+
<div class="refsect2">
|
548
|
+
<a name="ClutterScrollMode"></a><h3>enum ClutterScrollMode</h3>
|
549
|
+
<pre class="programlisting">typedef enum {
|
550
|
+
/*< prefix=CLUTTER_SCROLL >*/
|
551
|
+
CLUTTER_SCROLL_NONE = 0,
|
552
|
+
|
553
|
+
CLUTTER_SCROLL_HORIZONTALLY = 1 << 0,
|
554
|
+
CLUTTER_SCROLL_VERTICALLY = 1 << 1,
|
555
|
+
|
556
|
+
CLUTTER_SCROLL_BOTH = CLUTTER_SCROLL_HORIZONTALLY | CLUTTER_SCROLL_VERTICALLY
|
557
|
+
} ClutterScrollMode;
|
558
|
+
</pre>
|
559
|
+
<p>
|
560
|
+
Scroll modes.
|
561
|
+
</p>
|
562
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
563
|
+
<colgroup>
|
564
|
+
<col align="left" valign="top">
|
565
|
+
<col>
|
566
|
+
</colgroup>
|
567
|
+
<tbody>
|
568
|
+
<tr>
|
569
|
+
<td><p><a name="CLUTTER-SCROLL-NONE:CAPS"></a><span class="term"><code class="literal">CLUTTER_SCROLL_NONE</code></span></p></td>
|
570
|
+
<td>Ignore scrolling
|
571
|
+
</td>
|
572
|
+
</tr>
|
573
|
+
<tr>
|
574
|
+
<td><p><a name="CLUTTER-SCROLL-HORIZONTALLY:CAPS"></a><span class="term"><code class="literal">CLUTTER_SCROLL_HORIZONTALLY</code></span></p></td>
|
575
|
+
<td>Scroll only horizontally
|
576
|
+
</td>
|
577
|
+
</tr>
|
578
|
+
<tr>
|
579
|
+
<td><p><a name="CLUTTER-SCROLL-VERTICALLY:CAPS"></a><span class="term"><code class="literal">CLUTTER_SCROLL_VERTICALLY</code></span></p></td>
|
580
|
+
<td>Scroll only vertically
|
581
|
+
</td>
|
582
|
+
</tr>
|
583
|
+
<tr>
|
584
|
+
<td><p><a name="CLUTTER-SCROLL-BOTH:CAPS"></a><span class="term"><code class="literal">CLUTTER_SCROLL_BOTH</code></span></p></td>
|
585
|
+
<td>Scroll in both directions
|
586
|
+
</td>
|
587
|
+
</tr>
|
588
|
+
</tbody>
|
589
|
+
</table></div>
|
590
|
+
<p class="since">Since 1.12</p>
|
591
|
+
</div>
|
592
|
+
<hr>
|
593
|
+
<div class="refsect2">
|
594
|
+
<a name="clutter-scroll-actor-set-scroll-mode"></a><h3>clutter_scroll_actor_set_scroll_mode ()</h3>
|
595
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_scroll_actor_set_scroll_mode
|
596
|
+
(<em class="parameter"><code><a class="link" href="ClutterScrollActor.html" title="ClutterScrollActor"><span class="type">ClutterScrollActor</span></a> *actor</code></em>,
|
597
|
+
<em class="parameter"><code><a class="link" href="ClutterScrollActor.html#ClutterScrollMode" title="enum ClutterScrollMode"><span class="type">ClutterScrollMode</span></a> mode</code></em>);</pre>
|
598
|
+
<p>
|
599
|
+
Sets the <a class="link" href="ClutterScrollActor.html#ClutterScrollActor--scroll-mode" title='The "scroll-mode" property'><span class="type">"scroll-mode"</span></a> property.
|
600
|
+
</p>
|
601
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
602
|
+
<colgroup>
|
603
|
+
<col align="left" valign="top">
|
604
|
+
<col>
|
605
|
+
</colgroup>
|
606
|
+
<tbody>
|
607
|
+
<tr>
|
608
|
+
<td><p><span class="term"><em class="parameter"><code>actor</code></em> :</span></p></td>
|
609
|
+
<td>a <a class="link" href="ClutterScrollActor.html" title="ClutterScrollActor"><span class="type">ClutterScrollActor</span></a>
|
610
|
+
</td>
|
611
|
+
</tr>
|
612
|
+
<tr>
|
613
|
+
<td><p><span class="term"><em class="parameter"><code>mode</code></em> :</span></p></td>
|
614
|
+
<td>a <a class="link" href="ClutterScrollActor.html#ClutterScrollMode" title="enum ClutterScrollMode"><span class="type">ClutterScrollMode</span></a>
|
615
|
+
</td>
|
616
|
+
</tr>
|
617
|
+
</tbody>
|
618
|
+
</table></div>
|
619
|
+
<p class="since">Since 1.12</p>
|
620
|
+
</div>
|
621
|
+
<hr>
|
622
|
+
<div class="refsect2">
|
623
|
+
<a name="clutter-scroll-actor-get-scroll-mode"></a><h3>clutter_scroll_actor_get_scroll_mode ()</h3>
|
624
|
+
<pre class="programlisting"><a class="link" href="ClutterScrollActor.html#ClutterScrollMode" title="enum ClutterScrollMode"><span class="returnvalue">ClutterScrollMode</span></a> clutter_scroll_actor_get_scroll_mode
|
625
|
+
(<em class="parameter"><code><a class="link" href="ClutterScrollActor.html" title="ClutterScrollActor"><span class="type">ClutterScrollActor</span></a> *actor</code></em>);</pre>
|
626
|
+
<p>
|
627
|
+
Retrieves the <a class="link" href="ClutterScrollActor.html#ClutterScrollActor--scroll-mode" title='The "scroll-mode" property'><span class="type">"scroll-mode"</span></a> property
|
628
|
+
</p>
|
629
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
630
|
+
<colgroup>
|
631
|
+
<col align="left" valign="top">
|
632
|
+
<col>
|
633
|
+
</colgroup>
|
634
|
+
<tbody>
|
635
|
+
<tr>
|
636
|
+
<td><p><span class="term"><em class="parameter"><code>actor</code></em> :</span></p></td>
|
637
|
+
<td>a <a class="link" href="ClutterScrollActor.html" title="ClutterScrollActor"><span class="type">ClutterScrollActor</span></a>
|
638
|
+
</td>
|
639
|
+
</tr>
|
640
|
+
<tr>
|
641
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
642
|
+
<td>the scrolling mode</td>
|
643
|
+
</tr>
|
644
|
+
</tbody>
|
645
|
+
</table></div>
|
646
|
+
<p class="since">Since 1.12</p>
|
647
|
+
</div>
|
648
|
+
<hr>
|
649
|
+
<div class="refsect2">
|
650
|
+
<a name="clutter-scroll-actor-scroll-to-point"></a><h3>clutter_scroll_actor_scroll_to_point ()</h3>
|
651
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_scroll_actor_scroll_to_point
|
652
|
+
(<em class="parameter"><code><a class="link" href="ClutterScrollActor.html" title="ClutterScrollActor"><span class="type">ClutterScrollActor</span></a> *actor</code></em>,
|
653
|
+
<em class="parameter"><code>const <a class="link" href="clutter-Base-geometric-types.html#ClutterPoint" title="struct ClutterPoint"><span class="type">ClutterPoint</span></a> *point</code></em>);</pre>
|
654
|
+
<p>
|
655
|
+
Scrolls the contents of <em class="parameter"><code>actor</code></em> so that <em class="parameter"><code>point</code></em> is the new origin
|
656
|
+
of the visible area.
|
657
|
+
</p>
|
658
|
+
<p>
|
659
|
+
The coordinates of <em class="parameter"><code>point</code></em> must be relative to the <em class="parameter"><code>actor</code></em>.
|
660
|
+
</p>
|
661
|
+
<p>
|
662
|
+
This function will use the currently set easing state of the <em class="parameter"><code>actor</code></em>
|
663
|
+
to transition from the current scroll origin to the new one.
|
664
|
+
</p>
|
665
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
666
|
+
<colgroup>
|
667
|
+
<col align="left" valign="top">
|
668
|
+
<col>
|
669
|
+
</colgroup>
|
670
|
+
<tbody>
|
671
|
+
<tr>
|
672
|
+
<td><p><span class="term"><em class="parameter"><code>actor</code></em> :</span></p></td>
|
673
|
+
<td>a <a class="link" href="ClutterScrollActor.html" title="ClutterScrollActor"><span class="type">ClutterScrollActor</span></a>
|
674
|
+
</td>
|
675
|
+
</tr>
|
676
|
+
<tr>
|
677
|
+
<td><p><span class="term"><em class="parameter"><code>point</code></em> :</span></p></td>
|
678
|
+
<td>a <a class="link" href="clutter-Base-geometric-types.html#ClutterPoint" title="struct ClutterPoint"><span class="type">ClutterPoint</span></a>
|
679
|
+
</td>
|
680
|
+
</tr>
|
681
|
+
</tbody>
|
682
|
+
</table></div>
|
683
|
+
<p class="since">Since 1.12</p>
|
684
|
+
</div>
|
685
|
+
<hr>
|
686
|
+
<div class="refsect2">
|
687
|
+
<a name="clutter-scroll-actor-scroll-to-rect"></a><h3>clutter_scroll_actor_scroll_to_rect ()</h3>
|
688
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_scroll_actor_scroll_to_rect (<em class="parameter"><code><a class="link" href="ClutterScrollActor.html" title="ClutterScrollActor"><span class="type">ClutterScrollActor</span></a> *actor</code></em>,
|
689
|
+
<em class="parameter"><code>const <a class="link" href="clutter-Base-geometric-types.html#ClutterRect" title="struct ClutterRect"><span class="type">ClutterRect</span></a> *rect</code></em>);</pre>
|
690
|
+
<p>
|
691
|
+
Scrolls <em class="parameter"><code>actor</code></em> so that <em class="parameter"><code>rect</code></em> is in the visible portion.
|
692
|
+
</p>
|
693
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
694
|
+
<colgroup>
|
695
|
+
<col align="left" valign="top">
|
696
|
+
<col>
|
697
|
+
</colgroup>
|
698
|
+
<tbody>
|
699
|
+
<tr>
|
700
|
+
<td><p><span class="term"><em class="parameter"><code>actor</code></em> :</span></p></td>
|
701
|
+
<td>a <a class="link" href="ClutterScrollActor.html" title="ClutterScrollActor"><span class="type">ClutterScrollActor</span></a>
|
702
|
+
</td>
|
703
|
+
</tr>
|
704
|
+
<tr>
|
705
|
+
<td><p><span class="term"><em class="parameter"><code>rect</code></em> :</span></p></td>
|
706
|
+
<td>a <a class="link" href="clutter-Base-geometric-types.html#ClutterRect" title="struct ClutterRect"><span class="type">ClutterRect</span></a>
|
707
|
+
</td>
|
708
|
+
</tr>
|
709
|
+
</tbody>
|
710
|
+
</table></div>
|
711
|
+
<p class="since">Since 1.12</p>
|
712
|
+
</div>
|
713
|
+
</div>
|
714
|
+
<div class="refsect1">
|
715
|
+
<a name="ClutterScrollActor.property-details"></a><h2>Property Details</h2>
|
716
|
+
<div class="refsect2">
|
717
|
+
<a name="ClutterScrollActor--scroll-mode"></a><h3>The <code class="literal">"scroll-mode"</code> property</h3>
|
718
|
+
<pre class="programlisting"> "scroll-mode" <a class="link" href="ClutterScrollActor.html#ClutterScrollMode" title="enum ClutterScrollMode"><span class="type">ClutterScrollMode</span></a> : Read / Write</pre>
|
719
|
+
<p>
|
720
|
+
The scrollin direction.
|
721
|
+
</p>
|
722
|
+
<p>Default value: CLUTTER_SCROLL_HORIZONTALLY|CLUTTER_SCROLL_VERTICALLY</p>
|
723
|
+
<p class="since">Since 1.12</p>
|
724
|
+
</div>
|
725
|
+
</div>
|
726
|
+
</div>
|
727
|
+
<div class="footer">
|
728
|
+
<hr>
|
729
|
+
Generated by GTK-Doc V1.18.1</div>
|
730
|
+
</body>
|
731
|
+
</html>
|