clutter 2.0.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +129 -0
- data/lib/clutter.rb +145 -0
- data/lib/clutter/actor-iter.rb +33 -0
- data/lib/clutter/actor.rb +34 -0
- data/lib/clutter/animatable.rb +26 -0
- data/lib/clutter/cairo.rb +24 -0
- data/lib/clutter/color.rb +55 -0
- data/lib/clutter/event.rb +21 -0
- data/lib/clutter/point.rb +25 -0
- data/lib/clutter/text.rb +23 -0
- data/lib/clutter/threads.rb +38 -0
- data/sample/basic-actor.rb +125 -0
- data/sample/bin-layout.rb +215 -0
- data/sample/box-layout.rb +196 -0
- data/sample/canvas.rb +117 -0
- data/sample/constraints.rb +81 -0
- data/sample/drag-action.rb +177 -0
- data/sample/drop-action.rb +198 -0
- data/sample/easing-modes.rb +145 -0
- data/sample/flow-layout.rb +121 -0
- data/sample/grid-layout.rb +239 -0
- data/sample/image-content.rb +88 -0
- data/sample/pan-action.rb +100 -0
- data/sample/redhand.png +0 -0
- data/sample/rounded-rectangle.rb +90 -0
- data/sample/scroll-actor.rb +105 -0
- data/test/clutter-test-utils.rb +21 -0
- data/test/run-test.rb +50 -0
- data/vendor/local/bin/libclutter-1.0-0.dll +0 -0
- data/vendor/local/bin/libcogl-12.dll +0 -0
- data/vendor/local/bin/libcogl-pango-12.dll +0 -0
- data/vendor/local/bin/libglut-0.dll +0 -0
- data/vendor/local/bin/libjson-glib-1.0-0.dll +0 -0
- data/vendor/local/include/GL/freeglut.h +22 -0
- data/vendor/local/include/GL/freeglut_ext.h +239 -0
- data/vendor/local/include/GL/freeglut_std.h +636 -0
- data/vendor/local/include/GL/glut.h +21 -0
- data/vendor/local/include/clutter-1.0/cally/cally-actor.h +155 -0
- data/vendor/local/include/clutter-1.0/cally/cally-clone.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-factory.h +117 -0
- data/vendor/local/include/clutter-1.0/cally/cally-group.h +85 -0
- data/vendor/local/include/clutter-1.0/cally/cally-main.h +39 -0
- data/vendor/local/include/clutter-1.0/cally/cally-rectangle.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-root.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-stage.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-text.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-texture.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-util.h +80 -0
- data/vendor/local/include/clutter-1.0/cally/cally.h +40 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-action.h +103 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor-meta.h +113 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor.h +735 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-align-constraint.h +69 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-animatable.h +116 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-backend.h +74 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-bin-layout.h +84 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-bind-constraint.h +69 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-binding-pool.h +122 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-blur-effect.h +57 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-box-layout.h +159 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-brightness-contrast-effect.h +80 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-cairo.h +59 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-canvas.h +100 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-child-meta.h +120 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-click-action.h +114 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-clone.h +90 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-cogl-compat.h +52 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-color-static.h +79 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-color.h +175 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-colorize-effect.h +63 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-config.h +19 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-constraint.h +108 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-container.h +184 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-content.h +103 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-deform-effect.h +111 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-deprecated.h +43 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-desaturate-effect.h +61 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-device-manager.h +104 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-drag-action.h +142 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-drop-action.h +113 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-effect.h +120 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-enum-types.h +183 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-enums.h +1362 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-event.h +509 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-feature.h +40 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-fixed-layout.h +80 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-flow-layout.h +110 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-gesture-action.h +154 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-grid-layout.h +161 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-group.h +95 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-image.h +141 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-input-device.h +118 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-interval.h +141 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-keyframe-transition.h +120 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-keysyms.h +2304 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-layout-manager.h +215 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-layout-meta.h +101 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-list-model.h +88 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-macros.h +279 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-main.h +148 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-marshal.h +273 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-model.h +381 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-offscreen-effect.h +112 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-page-turn-effect.h +72 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-paint-node.h +102 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-paint-nodes.h +150 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-pan-action.h +147 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-path-constraint.h +66 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-path.h +155 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-property-transition.h +91 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-rotate-action.h +100 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-script.h +204 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-scriptable.h +107 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-scroll-actor.h +97 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-settings.h +25 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-shader-effect.h +114 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-shader-types.h +95 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-snap-constraint.h +73 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage-manager.h +81 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage.h +215 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-swipe-action.h +107 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-table-layout.h +157 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-tap-action.h +102 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-text-buffer.h +172 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-text.h +237 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-texture.h +128 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-timeline.h +201 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-transition-group.h +91 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-transition.h +132 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-types.h +715 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-units.h +166 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-version.h +302 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-zoom-action.h +114 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter.h +118 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-actor.h +161 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-alpha.h +144 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-animatable.h +47 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-animation.h +206 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-animator.h +186 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-backend.h +64 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-depth.h +101 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-ellipse.h +159 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-opacity.h +115 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-path.h +135 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-rotate.h +119 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-scale.h +107 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour.h +170 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-bin-layout.h +56 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-box.h +143 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-cairo-texture.h +139 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-container.h +93 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-fixed.h +97 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-frame-source.h +49 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-group.h +62 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-input-device.h +41 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-keysyms.h +2306 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-main.h +96 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-media.h +121 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-rectangle.h +117 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-score.h +144 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-shader.h +182 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-stage-manager.h +42 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-stage.h +102 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-state.h +187 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-texture.h +138 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-timeline.h +41 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-timeout-pool.h +69 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-util.h +40 -0
- data/vendor/local/include/clutter-1.0/clutter/win32/clutter-win32.h +58 -0
- data/vendor/local/include/cogl/cogl-pango/cogl-pango.h +245 -0
- data/vendor/local/include/cogl/cogl/cogl-attribute-buffer.h +131 -0
- data/vendor/local/include/cogl/cogl/cogl-attribute.h +532 -0
- data/vendor/local/include/cogl/cogl/cogl-bitmap.h +314 -0
- data/vendor/local/include/cogl/cogl/cogl-buffer.h +309 -0
- data/vendor/local/include/cogl/cogl/cogl-clip-state.h +50 -0
- data/vendor/local/include/cogl/cogl/cogl-clutter.h +47 -0
- data/vendor/local/include/cogl/cogl/cogl-color.h +543 -0
- data/vendor/local/include/cogl/cogl/cogl-context.h +350 -0
- data/vendor/local/include/cogl/cogl/cogl-defines.h +50 -0
- data/vendor/local/include/cogl/cogl/cogl-deprecated.h +36 -0
- data/vendor/local/include/cogl/cogl/cogl-depth-state.h +264 -0
- data/vendor/local/include/cogl/cogl/cogl-display.h +192 -0
- data/vendor/local/include/cogl/cogl/cogl-enum-types.h +100 -0
- data/vendor/local/include/cogl/cogl/cogl-error.h +176 -0
- data/vendor/local/include/cogl/cogl/cogl-euler.h +251 -0
- data/vendor/local/include/cogl/cogl/cogl-fixed.h +804 -0
- data/vendor/local/include/cogl/cogl/cogl-frame-info.h +129 -0
- data/vendor/local/include/cogl/cogl/cogl-framebuffer.h +1829 -0
- data/vendor/local/include/cogl/cogl/cogl-gles2-types.h +474 -0
- data/vendor/local/include/cogl/cogl/cogl-gles2.h +374 -0
- data/vendor/local/include/cogl/cogl/cogl-glib-source.h +59 -0
- data/vendor/local/include/cogl/cogl/cogl-index-buffer.h +85 -0
- data/vendor/local/include/cogl/cogl/cogl-indices.h +145 -0
- data/vendor/local/include/cogl/cogl/cogl-material-compat.h +1276 -0
- data/vendor/local/include/cogl/cogl/cogl-matrix-stack.h +620 -0
- data/vendor/local/include/cogl/cogl/cogl-matrix.h +798 -0
- data/vendor/local/include/cogl/cogl/cogl-meta-texture.h +181 -0
- data/vendor/local/include/cogl/cogl/cogl-object.h +219 -0
- data/vendor/local/include/cogl/cogl/cogl-offscreen.h +117 -0
- data/vendor/local/include/cogl/cogl/cogl-onscreen-template.h +106 -0
- data/vendor/local/include/cogl/cogl/cogl-onscreen.h +741 -0
- data/vendor/local/include/cogl/cogl/cogl-output.h +242 -0
- data/vendor/local/include/cogl/cogl/cogl-pango.h +33 -0
- data/vendor/local/include/cogl/cogl/cogl-path-functions.h +430 -0
- data/vendor/local/include/cogl/cogl/cogl-path.h +102 -0
- data/vendor/local/include/cogl/cogl/cogl-pipeline-layer-state.h +613 -0
- data/vendor/local/include/cogl/cogl/cogl-pipeline-state.h +924 -0
- data/vendor/local/include/cogl/cogl/cogl-pipeline.h +173 -0
- data/vendor/local/include/cogl/cogl/cogl-pixel-buffer.h +114 -0
- data/vendor/local/include/cogl/cogl/cogl-poll.h +174 -0
- data/vendor/local/include/cogl/cogl/cogl-primitive-texture.h +98 -0
- data/vendor/local/include/cogl/cogl/cogl-primitive.h +866 -0
- data/vendor/local/include/cogl/cogl/cogl-primitives.h +190 -0
- data/vendor/local/include/cogl/cogl/cogl-quaternion.h +545 -0
- data/vendor/local/include/cogl/cogl/cogl-renderer.h +423 -0
- data/vendor/local/include/cogl/cogl/cogl-shader.h +654 -0
- data/vendor/local/include/cogl/cogl/cogl-snippet.h +786 -0
- data/vendor/local/include/cogl/cogl/cogl-sub-texture.h +122 -0
- data/vendor/local/include/cogl/cogl/cogl-swap-chain.h +51 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-gl.h +73 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-sliced.h +130 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-2d.h +191 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-3d.h +187 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-rectangle.h +204 -0
- data/vendor/local/include/cogl/cogl/cogl-texture.h +611 -0
- data/vendor/local/include/cogl/cogl/cogl-types.h +912 -0
- data/vendor/local/include/cogl/cogl/cogl-vector.h +351 -0
- data/vendor/local/include/cogl/cogl/cogl-version.h +185 -0
- data/vendor/local/include/cogl/cogl/cogl-vertex-buffer.h +409 -0
- data/vendor/local/include/cogl/cogl/cogl-win32-renderer.h +99 -0
- data/vendor/local/include/cogl/cogl/cogl.h +151 -0
- data/vendor/local/include/cogl/cogl/cogl1-context.h +1169 -0
- data/vendor/local/include/cogl/cogl/cogl2-compatibility.h +55 -0
- data/vendor/local/include/cogl/cogl/cogl2-experimental.h +31 -0
- data/vendor/local/include/cogl/cogl/cogl2-path.h +506 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-core-functions.h +191 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-gles2-functions.h +36 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-glsl-functions.h +279 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles-core-functions.h +141 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles2-core-functions.h +179 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-builder.h +106 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-enum-types.h +36 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-generator.h +107 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-glib.h +46 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-gobject.h +182 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-gvariant.h +46 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-parser.h +173 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-path.h +97 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-reader.h +150 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-types.h +334 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-version.h +100 -0
- data/vendor/local/lib/girepository-1.0/Cally-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Clutter-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Cogl-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/CoglPango-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Json-1.0.typelib +0 -0
- data/vendor/local/lib/libclutter-1.0.dll.a +0 -0
- data/vendor/local/lib/libclutter-1.0.la +41 -0
- data/vendor/local/lib/libcogl-pango.dll.a +0 -0
- data/vendor/local/lib/libcogl-pango.la +41 -0
- data/vendor/local/lib/libcogl.dll.a +0 -0
- data/vendor/local/lib/libcogl.la +41 -0
- data/vendor/local/lib/libglut.a +0 -0
- data/vendor/local/lib/libglut.dll.a +0 -0
- data/vendor/local/lib/libglut.la +41 -0
- data/vendor/local/lib/libjson-glib-1.0.dll.a +0 -0
- data/vendor/local/lib/libjson-glib-1.0.la +41 -0
- data/vendor/local/lib/pkgconfig/cally-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/clutter-1.0.pc +24 -0
- data/vendor/local/lib/pkgconfig/clutter-win32-1.0.pc +24 -0
- data/vendor/local/lib/pkgconfig/cogl-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-2.0-experimental.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-gl-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-pango-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-pango-2.0-experimental.pc +13 -0
- data/vendor/local/lib/pkgconfig/json-glib-1.0.pc +11 -0
- data/vendor/local/share/cogl/examples-data/crate.jpg +0 -0
- data/vendor/local/share/gir-1.0/Cally-1.0.gir +679 -0
- data/vendor/local/share/gir-1.0/Clutter-1.0.gir +67473 -0
- data/vendor/local/share/gir-1.0/Cogl-1.0.gir +8383 -0
- data/vendor/local/share/gir-1.0/CoglPango-1.0.gir +306 -0
- data/vendor/local/share/gir-1.0/Json-1.0.gir +4333 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyActor.html +415 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyClone.html +136 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyGroup.html +139 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyRectangle.html +135 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyRoot.html +123 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyStage.html +140 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyText.html +133 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyTexture.html +135 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyUtil.html +100 -0
- data/vendor/local/share/gtk-doc/html/cally/cally-General-API.html +167 -0
- data/vendor/local/share/gtk-doc/html/cally/cally.devhelp2 +73 -0
- data/vendor/local/share/gtk-doc/html/cally/callyannotationglossary.html +43 -0
- data/vendor/local/share/gtk-doc/html/cally/callybase.html +71 -0
- data/vendor/local/share/gtk-doc/html/cally/callyobjecthierarchy.html +45 -0
- data/vendor/local/share/gtk-doc/html/cally/callyobjectindex.html +64 -0
- data/vendor/local/share/gtk-doc/html/cally/callyobjects.html +39 -0
- data/vendor/local/share/gtk-doc/html/cally/ch01.html +53 -0
- data/vendor/local/share/gtk-doc/html/cally/ch02.html +41 -0
- data/vendor/local/share/gtk-doc/html/cally/clutter-overview.html +96 -0
- data/vendor/local/share/gtk-doc/html/cally/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/index.html +103 -0
- data/vendor/local/share/gtk-doc/html/cally/index.sgml +103 -0
- data/vendor/local/share/gtk-doc/html/cally/ix01.html +198 -0
- data/vendor/local/share/gtk-doc/html/cally/ix02.html +31 -0
- data/vendor/local/share/gtk-doc/html/cally/ix03.html +190 -0
- data/vendor/local/share/gtk-doc/html/cally/ix04.html +42 -0
- data/vendor/local/share/gtk-doc/html/cally/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/license.html +58 -0
- data/vendor/local/share/gtk-doc/html/cally/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/style.css +266 -0
- data/vendor/local/share/gtk-doc/html/cally/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAction.html +110 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActor.html +13714 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActorMeta.html +322 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlignConstraint.html +404 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlpha.html +747 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimatable.html +432 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimator.html +1218 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBackend.html +684 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviour.html +697 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourDepth.html +278 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourEllipse.html +844 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourOpacity.html +283 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourPath.html +450 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourRotate.html +608 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourScale.html +432 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBinLayout.html +1056 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBindConstraint.html +780 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBlurEffect.html +109 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBox.html +657 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBoxLayout.html +1232 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBrightnessContrastEffect.html +410 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCairoTexture.html +1018 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCanvas.html +469 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterChildMeta.html +253 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClickAction.html +587 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClone.html +219 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterColorizeEffect.html +193 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterConstraint.html +336 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContainer.html +1346 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContent.html +309 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeformEffect.html +353 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDesaturateEffect.html +200 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeviceManager.html +408 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDragAction.html +1224 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDropAction.html +965 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterEffect.html +386 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFixedLayout.html +115 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFlowLayout.html +1016 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGestureAction.html +867 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGridLayout.html +808 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGroup.html +231 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterImage.html +674 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterInputDevice.html +1488 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterKeyframeTransition.html +525 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutManager.html +1376 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutMeta.html +161 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterListModel.html +211 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterMedia.html +900 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModel.html +1715 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModelIter.html +644 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterOffscreenEffect.html +350 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPageTurnEffect.html +333 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPaintNode.html +534 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPanAction.html +785 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPath.html +1327 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPathConstraint.html +321 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPropertyTransition.html +216 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRectangle.html +369 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRotateAction.html +183 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScore.html +881 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScript.html +1365 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScriptable.html +311 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScrollActor.html +731 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSettings.html +301 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterShaderEffect.html +595 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSnapConstraint.html +421 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterStage.html +2252 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterState.html +1558 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSwipeAction.html +280 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTableLayout.html +1146 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTapAction.html +192 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterText.html +3058 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTextBuffer.html +736 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTexture.html +1829 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTimeline.html +2441 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransition.html +574 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransitionGroup.html +227 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterZoomAction.html +400 -0
- data/vendor/local/share/gtk-doc/html/clutter/actor-box.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/actor-example.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/animator-key-frames.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/annotation-glossary.html +111 -0
- data/vendor/local/share/gtk-doc/html/clutter/bin-layout.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/box-layout.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/building-clutter.html +275 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch01.html +65 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch02.html +47 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch03.html +51 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch04.html +59 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch05.html +44 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch06.html +57 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch07.html +38 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch08.html +38 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch09.html +53 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch10.html +78 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch11.html +38 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch12.html +41 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Base-geometric-types.html +3471 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterGLXTexturePixmap.html +225 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterWaylandSurface.html +314 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterX11TexturePixmap.html +361 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Colors.html +1363 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-EGL-Specific-Support.html +129 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Events.html +2653 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Features.html +200 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-GDK-Specific-Support.html +249 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-General.html +2550 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Implicit-Animations.html +2571 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Intel-CE3100-CE4100-Specific-Support.html +181 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Key-Bindings.html +890 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Paint-Nodes.html +351 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Shaders.html +1004 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Stage-Manager.html +341 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Unit-conversion.html +843 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Utilities.html +549 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Value-intervals.html +1023 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Versioning-Macros.html +525 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-compositor-specific-support.html +83 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Win32-Specific-Support.html +201 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-X11-Specific-Support.html +806 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-overview.html +77 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter.devhelp2 +2715 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutteranimation.html +65 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterbackends.html +71 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterbase.html +202 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterglossary.html +37 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjecthierarchy.html +118 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjectindex.html +184 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjects.html +37 -0
- data/vendor/local/share/gtk-doc/html/clutter/cluttertools.html +105 -0
- data/vendor/local/share/gtk-doc/html/clutter/constraints-example.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/deprecated.html +86 -0
- data/vendor/local/share/gtk-doc/html/clutter/easing-modes.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/event-flow.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/flow-layout.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/go01.html +114 -0
- data/vendor/local/share/gtk-doc/html/clutter/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/index.html +451 -0
- data/vendor/local/share/gtk-doc/html/clutter/index.sgml +3272 -0
- data/vendor/local/share/gtk-doc/html/clutter/iterating-paths.html +56 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix01.html +8815 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix02.html +1961 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix03.html +454 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix04.html +583 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix05.html +957 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix06.html +642 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix07.html +1530 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix08.html +820 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix09.html +1005 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix10.html +369 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix11.html +366 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix12.html +1078 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix13.html +984 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix14.html +99 -0
- data/vendor/local/share/gtk-doc/html/clutter/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/license.html +58 -0
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterAnimation.html +223 -0
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterBehaviour.html +197 -0
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterEffect.html +154 -0
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterPath.html +156 -0
- data/vendor/local/share/gtk-doc/html/clutter/migration.html +49 -0
- data/vendor/local/share/gtk-doc/html/clutter/offscreen-redirect.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/path-alpha-func.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/pt09.html +31 -0
- data/vendor/local/share/gtk-doc/html/clutter/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/running-clutter.html +373 -0
- data/vendor/local/share/gtk-doc/html/clutter/style.css +266 -0
- data/vendor/local/share/gtk-doc/html/clutter/table-layout.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/using-cairo.html +36 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonBuilder.html +513 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonGenerator.html +492 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonParser.html +871 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonPath.html +464 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonReader.html +898 -0
- data/vendor/local/share/gtk-doc/html/json-glib/annotation-glossary.html +87 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ch01.html +41 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ch02.html +41 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ch03.html +38 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ch04.html +38 -0
- data/vendor/local/share/gtk-doc/html/json-glib/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/index.html +125 -0
- data/vendor/local/share/gtk-doc/html/json-glib/index.sgml +308 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix01.html +926 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix02.html +54 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix03.html +61 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix04.html +54 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix05.html +186 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix06.html +121 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix07.html +161 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix08.html +137 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-advanced.html +47 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-base.html +61 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Boxed-Types-Serialization.html +382 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html +310 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Array.html +850 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-GVariant-Integration.html +272 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Node.html +942 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Object.html +993 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Serializable-Interface.html +476 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html +148 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.devhelp2 +281 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.html +38 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-streams.html +63 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-tools.html +39 -0
- data/vendor/local/share/gtk-doc/html/json-glib/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/license.html +58 -0
- data/vendor/local/share/gtk-doc/html/json-glib/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/style.css +266 -0
- data/vendor/local/share/gtk-doc/html/json-glib/up.png +0 -0
- data/vendor/local/share/license/clutter/COPYING +502 -0
- data/vendor/local/share/license/cogl/COPYING +502 -0
- data/vendor/local/share/license/freeglut/AUTHORS +39 -0
- data/vendor/local/share/license/freeglut/COPYING +27 -0
- data/vendor/local/share/license/json-glib/COPYING +504 -0
- data/vendor/local/share/locale/an/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/az_IR/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ur/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/cogl.mo +0 -0
- metadata +747 -0
@@ -0,0 +1,1715 @@
|
|
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>ClutterModel</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="ch12.html" title="Generic list model">
|
9
|
+
<link rel="prev" href="ch12.html" title="Generic list model">
|
10
|
+
<link rel="next" href="ClutterModelIter.html" title="ClutterModelIter">
|
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="ch12.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="ch12.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="ClutterModelIter.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="#ClutterModel.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#ClutterModel.description" class="shortcut">Description</a>
|
27
|
+
|
|
28
|
+
<a href="#ClutterModel.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
+
|
|
30
|
+
<a href="#ClutterModel.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
|
31
|
+
|
|
32
|
+
<a href="#ClutterModel.properties" class="shortcut">Properties</a>
|
33
|
+
|
|
34
|
+
<a href="#ClutterModel.signals" class="shortcut">Signals</a>
|
35
|
+
</td></tr>
|
36
|
+
</table>
|
37
|
+
<div class="refentry">
|
38
|
+
<a name="ClutterModel"></a><div class="titlepage"></div>
|
39
|
+
<div class="refnamediv"><table width="100%"><tr>
|
40
|
+
<td valign="top">
|
41
|
+
<h2><span class="refentrytitle"><a name="ClutterModel.top_of_page"></a>ClutterModel</span></h2>
|
42
|
+
<p>ClutterModel — A generic model implementation</p>
|
43
|
+
</td>
|
44
|
+
<td valign="top" align="right"></td>
|
45
|
+
</tr></table></div>
|
46
|
+
<div class="refsynopsisdiv">
|
47
|
+
<a name="ClutterModel.synopsis"></a><h2>Synopsis</h2>
|
48
|
+
<pre class="synopsis">struct <a class="link" href="ClutterModel.html#ClutterModel-struct" title="struct ClutterModel">ClutterModel</a>;
|
49
|
+
struct <a class="link" href="ClutterModel.html#ClutterModelClass" title="struct ClutterModelClass">ClutterModelClass</a>;
|
50
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterModel.html#clutter-model-set-names" title="clutter_model_set_names ()">clutter_model_set_names</a> (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
51
|
+
<em class="parameter"><code><span class="type">guint</span> n_columns</code></em>,
|
52
|
+
<em class="parameter"><code>const <span class="type">gchar</span> * const names[]</code></em>);
|
53
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterModel.html#clutter-model-set-types" title="clutter_model_set_types ()">clutter_model_set_types</a> (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
54
|
+
<em class="parameter"><code><span class="type">guint</span> n_columns</code></em>,
|
55
|
+
<em class="parameter"><code><span class="type">GType</span> *types</code></em>);
|
56
|
+
const <span class="returnvalue">gchar</span> * <a class="link" href="ClutterModel.html#clutter-model-get-column-name" title="clutter_model_get_column_name ()">clutter_model_get_column_name</a> (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
57
|
+
<em class="parameter"><code><span class="type">guint</span> column</code></em>);
|
58
|
+
<span class="returnvalue">GType</span> <a class="link" href="ClutterModel.html#clutter-model-get-column-type" title="clutter_model_get_column_type ()">clutter_model_get_column_type</a> (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
59
|
+
<em class="parameter"><code><span class="type">guint</span> column</code></em>);
|
60
|
+
<span class="returnvalue">guint</span> <a class="link" href="ClutterModel.html#clutter-model-get-n-columns" title="clutter_model_get_n_columns ()">clutter_model_get_n_columns</a> (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>);
|
61
|
+
<span class="returnvalue">guint</span> <a class="link" href="ClutterModel.html#clutter-model-get-n-rows" title="clutter_model_get_n_rows ()">clutter_model_get_n_rows</a> (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>);
|
62
|
+
|
63
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterModel.html#clutter-model-append" title="clutter_model_append ()">clutter_model_append</a> (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
64
|
+
<em class="parameter"><code>...</code></em>);
|
65
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterModel.html#clutter-model-appendv" title="clutter_model_appendv ()">clutter_model_appendv</a> (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
66
|
+
<em class="parameter"><code><span class="type">guint</span> n_columns</code></em>,
|
67
|
+
<em class="parameter"><code><span class="type">guint</span> *columns</code></em>,
|
68
|
+
<em class="parameter"><code><span class="type">GValue</span> *values</code></em>);
|
69
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterModel.html#clutter-model-prepend" title="clutter_model_prepend ()">clutter_model_prepend</a> (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
70
|
+
<em class="parameter"><code>...</code></em>);
|
71
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterModel.html#clutter-model-prependv" title="clutter_model_prependv ()">clutter_model_prependv</a> (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
72
|
+
<em class="parameter"><code><span class="type">guint</span> n_columns</code></em>,
|
73
|
+
<em class="parameter"><code><span class="type">guint</span> *columns</code></em>,
|
74
|
+
<em class="parameter"><code><span class="type">GValue</span> *values</code></em>);
|
75
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterModel.html#clutter-model-insert" title="clutter_model_insert ()">clutter_model_insert</a> (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
76
|
+
<em class="parameter"><code><span class="type">guint</span> row</code></em>,
|
77
|
+
<em class="parameter"><code>...</code></em>);
|
78
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterModel.html#clutter-model-insertv" title="clutter_model_insertv ()">clutter_model_insertv</a> (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
79
|
+
<em class="parameter"><code><span class="type">guint</span> row</code></em>,
|
80
|
+
<em class="parameter"><code><span class="type">guint</span> n_columns</code></em>,
|
81
|
+
<em class="parameter"><code><span class="type">guint</span> *columns</code></em>,
|
82
|
+
<em class="parameter"><code><span class="type">GValue</span> *values</code></em>);
|
83
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterModel.html#clutter-model-insert-value" title="clutter_model_insert_value ()">clutter_model_insert_value</a> (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
84
|
+
<em class="parameter"><code><span class="type">guint</span> row</code></em>,
|
85
|
+
<em class="parameter"><code><span class="type">guint</span> column</code></em>,
|
86
|
+
<em class="parameter"><code>const <span class="type">GValue</span> *value</code></em>);
|
87
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterModel.html#clutter-model-remove" title="clutter_model_remove ()">clutter_model_remove</a> (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
88
|
+
<em class="parameter"><code><span class="type">guint</span> row</code></em>);
|
89
|
+
|
90
|
+
<span class="returnvalue">gboolean</span> (<a class="link" href="ClutterModel.html#ClutterModelForeachFunc" title="ClutterModelForeachFunc ()">*ClutterModelForeachFunc</a>) (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
91
|
+
<em class="parameter"><code><a class="link" href="ClutterModelIter.html" title="ClutterModelIter"><span class="type">ClutterModelIter</span></a> *iter</code></em>,
|
92
|
+
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
|
93
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterModel.html#clutter-model-foreach" title="clutter_model_foreach ()">clutter_model_foreach</a> (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
94
|
+
<em class="parameter"><code><a class="link" href="ClutterModel.html#ClutterModelForeachFunc" title="ClutterModelForeachFunc ()"><span class="type">ClutterModelForeachFunc</span></a> func</code></em>,
|
95
|
+
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
|
96
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterModel.html#clutter-model-set-sorting-column" title="clutter_model_set_sorting_column ()">clutter_model_set_sorting_column</a> (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
97
|
+
<em class="parameter"><code><span class="type">gint</span> column</code></em>);
|
98
|
+
<span class="returnvalue">gint</span> <a class="link" href="ClutterModel.html#clutter-model-get-sorting-column" title="clutter_model_get_sorting_column ()">clutter_model_get_sorting_column</a> (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>);
|
99
|
+
<span class="returnvalue">gint</span> (<a class="link" href="ClutterModel.html#ClutterModelSortFunc" title="ClutterModelSortFunc ()">*ClutterModelSortFunc</a>) (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
100
|
+
<em class="parameter"><code>const <span class="type">GValue</span> *a</code></em>,
|
101
|
+
<em class="parameter"><code>const <span class="type">GValue</span> *b</code></em>,
|
102
|
+
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
|
103
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterModel.html#clutter-model-set-sort" title="clutter_model_set_sort ()">clutter_model_set_sort</a> (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
104
|
+
<em class="parameter"><code><span class="type">gint</span> column</code></em>,
|
105
|
+
<em class="parameter"><code><a class="link" href="ClutterModel.html#ClutterModelSortFunc" title="ClutterModelSortFunc ()"><span class="type">ClutterModelSortFunc</span></a> func</code></em>,
|
106
|
+
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
|
107
|
+
<em class="parameter"><code><span class="type">GDestroyNotify</span> notify</code></em>);
|
108
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterModel.html#clutter-model-resort" title="clutter_model_resort ()">clutter_model_resort</a> (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>);
|
109
|
+
<span class="returnvalue">gboolean</span> (<a class="link" href="ClutterModel.html#ClutterModelFilterFunc" title="ClutterModelFilterFunc ()">*ClutterModelFilterFunc</a>) (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
110
|
+
<em class="parameter"><code><a class="link" href="ClutterModelIter.html" title="ClutterModelIter"><span class="type">ClutterModelIter</span></a> *iter</code></em>,
|
111
|
+
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
|
112
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterModel.html#clutter-model-set-filter" title="clutter_model_set_filter ()">clutter_model_set_filter</a> (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
113
|
+
<em class="parameter"><code><a class="link" href="ClutterModel.html#ClutterModelFilterFunc" title="ClutterModelFilterFunc ()"><span class="type">ClutterModelFilterFunc</span></a> func</code></em>,
|
114
|
+
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
|
115
|
+
<em class="parameter"><code><span class="type">GDestroyNotify</span> notify</code></em>);
|
116
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterModel.html#clutter-model-get-filter-set" title="clutter_model_get_filter_set ()">clutter_model_get_filter_set</a> (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>);
|
117
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterModel.html#clutter-model-filter-iter" title="clutter_model_filter_iter ()">clutter_model_filter_iter</a> (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
118
|
+
<em class="parameter"><code><a class="link" href="ClutterModelIter.html" title="ClutterModelIter"><span class="type">ClutterModelIter</span></a> *iter</code></em>);
|
119
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterModel.html#clutter-model-filter-row" title="clutter_model_filter_row ()">clutter_model_filter_row</a> (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
120
|
+
<em class="parameter"><code><span class="type">guint</span> row</code></em>);
|
121
|
+
|
122
|
+
<a class="link" href="ClutterModelIter.html" title="ClutterModelIter"><span class="returnvalue">ClutterModelIter</span></a> * <a class="link" href="ClutterModel.html#clutter-model-get-first-iter" title="clutter_model_get_first_iter ()">clutter_model_get_first_iter</a> (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>);
|
123
|
+
<a class="link" href="ClutterModelIter.html" title="ClutterModelIter"><span class="returnvalue">ClutterModelIter</span></a> * <a class="link" href="ClutterModel.html#clutter-model-get-last-iter" title="clutter_model_get_last_iter ()">clutter_model_get_last_iter</a> (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>);
|
124
|
+
<a class="link" href="ClutterModelIter.html" title="ClutterModelIter"><span class="returnvalue">ClutterModelIter</span></a> * <a class="link" href="ClutterModel.html#clutter-model-get-iter-at-row" title="clutter_model_get_iter_at_row ()">clutter_model_get_iter_at_row</a> (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
125
|
+
<em class="parameter"><code><span class="type">guint</span> row</code></em>);
|
126
|
+
</pre>
|
127
|
+
</div>
|
128
|
+
<div class="refsect1">
|
129
|
+
<a name="ClutterModel.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
130
|
+
<pre class="synopsis">
|
131
|
+
GObject
|
132
|
+
+----ClutterModel
|
133
|
+
+----<a class="link" href="ClutterListModel.html" title="ClutterListModel">ClutterListModel</a>
|
134
|
+
</pre>
|
135
|
+
</div>
|
136
|
+
<div class="refsect1">
|
137
|
+
<a name="ClutterModel.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
138
|
+
<p>
|
139
|
+
ClutterModel implements
|
140
|
+
<a class="link" href="ClutterScriptable.html" title="ClutterScriptable">ClutterScriptable</a>.</p>
|
141
|
+
</div>
|
142
|
+
<div class="refsect1">
|
143
|
+
<a name="ClutterModel.properties"></a><h2>Properties</h2>
|
144
|
+
<pre class="synopsis">
|
145
|
+
"<a class="link" href="ClutterModel.html#ClutterModel--filter-set" title='The "filter-set" property'>filter-set</a>" <span class="type">gboolean</span> : Read
|
146
|
+
</pre>
|
147
|
+
</div>
|
148
|
+
<div class="refsect1">
|
149
|
+
<a name="ClutterModel.signals"></a><h2>Signals</h2>
|
150
|
+
<pre class="synopsis">
|
151
|
+
"<a class="link" href="ClutterModel.html#ClutterModel-filter-changed" title='The "filter-changed" signal'>filter-changed</a>" : <code class="literal">Run Last</code>
|
152
|
+
"<a class="link" href="ClutterModel.html#ClutterModel-row-added" title='The "row-added" signal'>row-added</a>" : <code class="literal">Run Last</code>
|
153
|
+
"<a class="link" href="ClutterModel.html#ClutterModel-row-changed" title='The "row-changed" signal'>row-changed</a>" : <code class="literal">Run Last</code>
|
154
|
+
"<a class="link" href="ClutterModel.html#ClutterModel-row-removed" title='The "row-removed" signal'>row-removed</a>" : <code class="literal">Run Last</code>
|
155
|
+
"<a class="link" href="ClutterModel.html#ClutterModel-sort-changed" title='The "sort-changed" signal'>sort-changed</a>" : <code class="literal">Run Last</code>
|
156
|
+
</pre>
|
157
|
+
</div>
|
158
|
+
<div class="refsect1">
|
159
|
+
<a name="ClutterModel.description"></a><h2>Description</h2>
|
160
|
+
<p>
|
161
|
+
<a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> is a generic list model API which can be used to implement
|
162
|
+
the model-view-controller architectural pattern in Clutter.
|
163
|
+
</p>
|
164
|
+
<p>
|
165
|
+
The <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> class is a list model which can accept most GObject
|
166
|
+
types as a column type.
|
167
|
+
</p>
|
168
|
+
<p>
|
169
|
+
Creating a simple clutter model:
|
170
|
+
</p>
|
171
|
+
<div class="informalexample">
|
172
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
173
|
+
<tbody>
|
174
|
+
<tr>
|
175
|
+
<td class="listing_lines" align="right"><pre>1
|
176
|
+
2
|
177
|
+
3
|
178
|
+
4
|
179
|
+
5
|
180
|
+
6
|
181
|
+
7
|
182
|
+
8
|
183
|
+
9
|
184
|
+
10
|
185
|
+
11
|
186
|
+
12
|
187
|
+
13
|
188
|
+
14
|
189
|
+
15
|
190
|
+
16
|
191
|
+
17
|
192
|
+
18
|
193
|
+
19
|
194
|
+
20
|
195
|
+
21
|
196
|
+
22
|
197
|
+
23
|
198
|
+
24
|
199
|
+
25
|
200
|
+
26
|
201
|
+
27
|
202
|
+
28</pre></td>
|
203
|
+
<td class="listing_code"><pre class="programlisting"><span class="keyword">enum</span>
|
204
|
+
<span class="cbracket">{</span>
|
205
|
+
<span class="normal"> COLUMN_INT</span><span class="symbol">,</span>
|
206
|
+
<span class="normal"> COLUMN_STRING</span><span class="symbol">,</span>
|
207
|
+
|
208
|
+
<span class="normal"> N_COLUMNS</span>
|
209
|
+
<span class="cbracket">}</span><span class="symbol">;</span>
|
210
|
+
|
211
|
+
<span class="cbracket">{</span>
|
212
|
+
<span class="normal"> </span><span class="usertype">ClutterModel</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">model</span><span class="symbol">;</span>
|
213
|
+
<span class="normal"> </span><span class="usertype">gint</span><span class="normal"> i</span><span class="symbol">;</span>
|
214
|
+
|
215
|
+
<span class="normal"> model </span><span class="symbol">=</span><span class="normal"> </span><span class="function">clutter_model_default_new</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">N_COLUMNS</span><span class="symbol">,</span>
|
216
|
+
<span class="normal"> </span><span class="comment">/* column type, column title */</span>
|
217
|
+
<span class="normal"> G_TYPE_INT</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"my integers"</span><span class="symbol">,</span>
|
218
|
+
<span class="normal"> G_TYPE_STRING</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"my strings"</span><span class="symbol">);</span>
|
219
|
+
<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"> </span><span class="number">10</span><span class="symbol">;</span><span class="normal"> i</span><span class="symbol">++)</span>
|
220
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
221
|
+
<span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">string </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_strdup_printf</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"String %d"</span><span class="symbol">,</span><span class="normal"> i</span><span class="symbol">);</span>
|
222
|
+
<span class="normal"> </span><span class="function"><a href="ClutterModel.html#clutter-model-append">clutter_model_append</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">model</span><span class="symbol">,</span>
|
223
|
+
<span class="normal"> COLUMN_INT</span><span class="symbol">,</span><span class="normal"> i</span><span class="symbol">,</span>
|
224
|
+
<span class="normal"> COLUMN_STRING</span><span class="symbol">,</span><span class="normal"> string</span><span class="symbol">,</span>
|
225
|
+
<span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">);</span>
|
226
|
+
<span class="normal"> </span><span class="function">g_free</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">string</span><span class="symbol">);</span>
|
227
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
228
|
+
|
229
|
+
<span class="normal"> </span>
|
230
|
+
<span class="cbracket">}</span></pre></td>
|
231
|
+
</tr>
|
232
|
+
</tbody>
|
233
|
+
</table>
|
234
|
+
</div>
|
235
|
+
|
236
|
+
<p>
|
237
|
+
</p>
|
238
|
+
<p>
|
239
|
+
Iterating through the model consists of retrieving a new <a class="link" href="ClutterModelIter.html" title="ClutterModelIter"><span class="type">ClutterModelIter</span></a>
|
240
|
+
pointing to the starting row, and calling <a class="link" href="ClutterModelIter.html#clutter-model-iter-next" title="clutter_model_iter_next ()"><code class="function">clutter_model_iter_next()</code></a> or
|
241
|
+
<a class="link" href="ClutterModelIter.html#clutter-model-iter-prev" title="clutter_model_iter_prev ()"><code class="function">clutter_model_iter_prev()</code></a> to move forward or backwards, repectively.
|
242
|
+
</p>
|
243
|
+
<p>
|
244
|
+
A valid <a class="link" href="ClutterModelIter.html" title="ClutterModelIter"><span class="type">ClutterModelIter</span></a> represents the position between two rows in the
|
245
|
+
model. For example, the "first" iterator represents the gap immediately
|
246
|
+
before the first row, and the "last" iterator represents the gap immediately
|
247
|
+
after the last row. In an empty sequence, the first and last iterators are
|
248
|
+
the same.
|
249
|
+
</p>
|
250
|
+
<p>
|
251
|
+
Iterating a <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>:
|
252
|
+
</p>
|
253
|
+
<div class="informalexample">
|
254
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
255
|
+
<tbody>
|
256
|
+
<tr>
|
257
|
+
<td class="listing_lines" align="right"><pre>1
|
258
|
+
2
|
259
|
+
3
|
260
|
+
4
|
261
|
+
5
|
262
|
+
6
|
263
|
+
7
|
264
|
+
8
|
265
|
+
9
|
266
|
+
10
|
267
|
+
11
|
268
|
+
12
|
269
|
+
13
|
270
|
+
14
|
271
|
+
15
|
272
|
+
16
|
273
|
+
17
|
274
|
+
18
|
275
|
+
19
|
276
|
+
20
|
277
|
+
21
|
278
|
+
22
|
279
|
+
23
|
280
|
+
24
|
281
|
+
25
|
282
|
+
26
|
283
|
+
27</pre></td>
|
284
|
+
<td class="listing_code"><pre class="programlisting"><span class="keyword">enum</span>
|
285
|
+
<span class="cbracket">{</span>
|
286
|
+
<span class="normal"> COLUMN_INT</span><span class="symbol">,</span>
|
287
|
+
<span class="normal"> COLUMN_STRING</span><span class="symbol">.</span>
|
288
|
+
|
289
|
+
<span class="normal"> N_COLUMNS</span>
|
290
|
+
<span class="cbracket">}</span><span class="symbol">;</span>
|
291
|
+
|
292
|
+
<span class="cbracket">{</span>
|
293
|
+
<span class="normal"> </span><span class="usertype">ClutterModel</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">model</span><span class="symbol">;</span>
|
294
|
+
<span class="normal"> </span><span class="usertype">ClutterModelIter</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">iter </span><span class="symbol">=</span><span class="normal"> NULL</span><span class="symbol">;</span>
|
295
|
+
|
296
|
+
<span class="normal"> </span><span class="comment">/* Fill the model */</span>
|
297
|
+
<span class="normal"> model </span><span class="symbol">=</span><span class="normal"> </span><span class="function">populate_model</span><span class="normal"> </span><span class="symbol">();</span>
|
298
|
+
|
299
|
+
<span class="normal"> </span><span class="comment">/* Get the first iter */</span>
|
300
|
+
<span class="normal"> iter </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterModel.html#clutter-model-get-first-iter">clutter_model_get_first_iter</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">model</span><span class="symbol">);</span>
|
301
|
+
<span class="normal"> </span><span class="keyword">while</span><span class="normal"> </span><span class="symbol">(!</span><span class="function"><a href="ClutterModelIter.html#clutter-model-iter-is-last">clutter_model_iter_is_last</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">iter</span><span class="symbol">))</span>
|
302
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
303
|
+
<span class="normal"> </span><span class="function">print_row</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">iter</span><span class="symbol">);</span>
|
304
|
+
<span class="normal"> </span>
|
305
|
+
<span class="normal"> iter </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterModelIter.html#clutter-model-iter-next">clutter_model_iter_next</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">iter</span><span class="symbol">);</span>
|
306
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
307
|
+
|
308
|
+
<span class="normal"> </span><span class="comment">/* Make sure to unref the iter */</span>
|
309
|
+
<span class="normal"> </span><span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">iter</span><span class="symbol">);</span>
|
310
|
+
<span class="cbracket">}</span></pre></td>
|
311
|
+
</tr>
|
312
|
+
</tbody>
|
313
|
+
</table>
|
314
|
+
</div>
|
315
|
+
|
316
|
+
<p>
|
317
|
+
</p>
|
318
|
+
<p>
|
319
|
+
<a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> is an abstract class. Clutter provides a list model
|
320
|
+
implementation called <a class="link" href="ClutterListModel.html" title="ClutterListModel"><span class="type">ClutterListModel</span></a> which has been optimised
|
321
|
+
for insertion and look up in sorted lists.
|
322
|
+
</p>
|
323
|
+
<p>
|
324
|
+
</p>
|
325
|
+
<div class="refsect2">
|
326
|
+
<a name="ClutterModel-script"></a><h3>ClutterModel custom properties for <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a>
|
327
|
+
</h3>
|
328
|
+
<p><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> defines a custom property "columns" for <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a>
|
329
|
+
which allows defining the column names and types. It also defines a custom
|
330
|
+
"rows" property which allows filling the <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> with some
|
331
|
+
data.</p>
|
332
|
+
<div class="example">
|
333
|
+
<a name="ClutterModel-script-example"></a><p class="title"><b>Example 11. Example of the "columns" and "rows" custom properties</b></p>
|
334
|
+
<div class="example-contents">
|
335
|
+
<p>The definition below will create a <a class="link" href="ClutterListModel.html" title="ClutterListModel"><span class="type">ClutterListModel</span></a> with three
|
336
|
+
columns: the first one with name "Name" and containing strings; the
|
337
|
+
second one with name "Score" and containing integers; the third one with
|
338
|
+
name "Icon" and containing <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a>s. The model is filled
|
339
|
+
with three rows. A row can be defined either with an array that holds
|
340
|
+
all columns of a row, or an object that holds "column-name" :
|
341
|
+
"column-value" pairs.
|
342
|
+
</p>
|
343
|
+
<pre class="programlisting">
|
344
|
+
{
|
345
|
+
"type" : "ClutterListModel",
|
346
|
+
"id" : "teams-model",
|
347
|
+
"columns" : [
|
348
|
+
[ "Name", "gchararray" ],
|
349
|
+
[ "Score", "gint" ],
|
350
|
+
[ "Icon", "ClutterTexture" ]
|
351
|
+
],
|
352
|
+
"rows" : [
|
353
|
+
[ "Team 1", 42, { "type" : "ClutterTexture", "filename" : "team1.png" } ],
|
354
|
+
[ "Team 2", 23, "team2-icon-script-id" ],
|
355
|
+
{ "Name" : "Team 3", "Icon" : "team3-icon-script-id" }
|
356
|
+
]
|
357
|
+
}
|
358
|
+
</pre>
|
359
|
+
</div>
|
360
|
+
</div>
|
361
|
+
<br class="example-break">
|
362
|
+
</div>
|
363
|
+
<p>
|
364
|
+
</p>
|
365
|
+
<p>
|
366
|
+
<a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> is available since Clutter 0.6
|
367
|
+
</p>
|
368
|
+
</div>
|
369
|
+
<div class="refsect1">
|
370
|
+
<a name="ClutterModel.details"></a><h2>Details</h2>
|
371
|
+
<div class="refsect2">
|
372
|
+
<a name="ClutterModel-struct"></a><h3>struct ClutterModel</h3>
|
373
|
+
<pre class="programlisting">struct ClutterModel;</pre>
|
374
|
+
<p>
|
375
|
+
Base class for list models. The <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> structure contains
|
376
|
+
only private data and should be manipulated using the provided
|
377
|
+
API.
|
378
|
+
</p>
|
379
|
+
<p class="since">Since 0.6</p>
|
380
|
+
</div>
|
381
|
+
<hr>
|
382
|
+
<div class="refsect2">
|
383
|
+
<a name="ClutterModelClass"></a><h3>struct ClutterModelClass</h3>
|
384
|
+
<pre class="programlisting">struct ClutterModelClass {
|
385
|
+
/* vtable */
|
386
|
+
guint (* get_n_rows) (ClutterModel *model);
|
387
|
+
guint (* get_n_columns) (ClutterModel *model);
|
388
|
+
const gchar * (* get_column_name) (ClutterModel *model,
|
389
|
+
guint column);
|
390
|
+
GType (* get_column_type) (ClutterModel *model,
|
391
|
+
guint column);
|
392
|
+
ClutterModelIter *(* insert_row) (ClutterModel *model,
|
393
|
+
gint index_);
|
394
|
+
void (* remove_row) (ClutterModel *model,
|
395
|
+
guint row);
|
396
|
+
ClutterModelIter *(* get_iter_at_row) (ClutterModel *model,
|
397
|
+
guint row);
|
398
|
+
void (* resort) (ClutterModel *model,
|
399
|
+
ClutterModelSortFunc func,
|
400
|
+
gpointer data);
|
401
|
+
|
402
|
+
/* signals */
|
403
|
+
void (* row_added) (ClutterModel *model,
|
404
|
+
ClutterModelIter *iter);
|
405
|
+
void (* row_removed) (ClutterModel *model,
|
406
|
+
ClutterModelIter *iter);
|
407
|
+
void (* row_changed) (ClutterModel *model,
|
408
|
+
ClutterModelIter *iter);
|
409
|
+
void (* sort_changed) (ClutterModel *model);
|
410
|
+
void (* filter_changed) (ClutterModel *model);
|
411
|
+
};
|
412
|
+
</pre>
|
413
|
+
<p>
|
414
|
+
Class for <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> instances.
|
415
|
+
</p>
|
416
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
417
|
+
<colgroup>
|
418
|
+
<col align="left" valign="top">
|
419
|
+
<col>
|
420
|
+
</colgroup>
|
421
|
+
<tbody>
|
422
|
+
<tr>
|
423
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterModelClass.get-n-rows"></a>get_n_rows</code></em> ()</span></p></td>
|
424
|
+
<td>virtual function for returning the number of rows
|
425
|
+
of the model</td>
|
426
|
+
</tr>
|
427
|
+
<tr>
|
428
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterModelClass.get-n-columns"></a>get_n_columns</code></em> ()</span></p></td>
|
429
|
+
<td>virtual function for retuning the number of columns
|
430
|
+
of the model</td>
|
431
|
+
</tr>
|
432
|
+
<tr>
|
433
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterModelClass.get-column-name"></a>get_column_name</code></em> ()</span></p></td>
|
434
|
+
<td>virtual function for returning the name of a column</td>
|
435
|
+
</tr>
|
436
|
+
<tr>
|
437
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterModelClass.get-column-type"></a>get_column_type</code></em> ()</span></p></td>
|
438
|
+
<td>virtual function for returning the type of a column</td>
|
439
|
+
</tr>
|
440
|
+
<tr>
|
441
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterModelClass.insert-row"></a>insert_row</code></em> ()</span></p></td>
|
442
|
+
<td>virtual function for inserting a row at the given index
|
443
|
+
and returning an iterator pointing to it; if the index is a negative
|
444
|
+
integer, the row should be appended to the model</td>
|
445
|
+
</tr>
|
446
|
+
<tr>
|
447
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterModelClass.remove-row"></a>remove_row</code></em> ()</span></p></td>
|
448
|
+
<td>virtual function for removing a row at the given index</td>
|
449
|
+
</tr>
|
450
|
+
<tr>
|
451
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterModelClass.get-iter-at-row"></a>get_iter_at_row</code></em> ()</span></p></td>
|
452
|
+
<td>virtual function for returning an iterator for the
|
453
|
+
given row</td>
|
454
|
+
</tr>
|
455
|
+
<tr>
|
456
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterModelClass.resort"></a>resort</code></em> ()</span></p></td>
|
457
|
+
<td>virtual function for sorting the model using the passed
|
458
|
+
sorting function</td>
|
459
|
+
</tr>
|
460
|
+
<tr>
|
461
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterModelClass.row-added"></a>row_added</code></em> ()</span></p></td>
|
462
|
+
<td>signal class handler for ClutterModel::row-added</td>
|
463
|
+
</tr>
|
464
|
+
<tr>
|
465
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterModelClass.row-removed"></a>row_removed</code></em> ()</span></p></td>
|
466
|
+
<td>signal class handler for ClutterModel::row-removed</td>
|
467
|
+
</tr>
|
468
|
+
<tr>
|
469
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterModelClass.row-changed"></a>row_changed</code></em> ()</span></p></td>
|
470
|
+
<td>signal class handler for ClutterModel::row-changed</td>
|
471
|
+
</tr>
|
472
|
+
<tr>
|
473
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterModelClass.sort-changed"></a>sort_changed</code></em> ()</span></p></td>
|
474
|
+
<td>signal class handler for ClutterModel::sort-changed</td>
|
475
|
+
</tr>
|
476
|
+
<tr>
|
477
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterModelClass.filter-changed"></a>filter_changed</code></em> ()</span></p></td>
|
478
|
+
<td>signal class handler for ClutterModel::filter-changed</td>
|
479
|
+
</tr>
|
480
|
+
</tbody>
|
481
|
+
</table></div>
|
482
|
+
<p class="since">Since 0.6</p>
|
483
|
+
</div>
|
484
|
+
<hr>
|
485
|
+
<div class="refsect2">
|
486
|
+
<a name="clutter-model-set-names"></a><h3>clutter_model_set_names ()</h3>
|
487
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_model_set_names (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
488
|
+
<em class="parameter"><code><span class="type">guint</span> n_columns</code></em>,
|
489
|
+
<em class="parameter"><code>const <span class="type">gchar</span> * const names[]</code></em>);</pre>
|
490
|
+
<p>
|
491
|
+
Assigns a name to the columns of a <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>.
|
492
|
+
</p>
|
493
|
+
<p>
|
494
|
+
This function is meant primarily for <span class="type">GObjects</span> that inherit from
|
495
|
+
<a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>, and should only be used when contructing a <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>.
|
496
|
+
It will not work after the initial creation of the <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>.
|
497
|
+
</p>
|
498
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
499
|
+
<colgroup>
|
500
|
+
<col align="left" valign="top">
|
501
|
+
<col>
|
502
|
+
</colgroup>
|
503
|
+
<tbody>
|
504
|
+
<tr>
|
505
|
+
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
506
|
+
<td>a <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>
|
507
|
+
</td>
|
508
|
+
</tr>
|
509
|
+
<tr>
|
510
|
+
<td><p><span class="term"><em class="parameter"><code>n_columns</code></em> :</span></p></td>
|
511
|
+
<td>the number of column names</td>
|
512
|
+
</tr>
|
513
|
+
<tr>
|
514
|
+
<td><p><span class="term"><em class="parameter"><code>names</code></em> :</span></p></td>
|
515
|
+
<td>an array of strings. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_columns]</span>
|
516
|
+
</td>
|
517
|
+
</tr>
|
518
|
+
</tbody>
|
519
|
+
</table></div>
|
520
|
+
<p class="since">Since 0.6</p>
|
521
|
+
</div>
|
522
|
+
<hr>
|
523
|
+
<div class="refsect2">
|
524
|
+
<a name="clutter-model-set-types"></a><h3>clutter_model_set_types ()</h3>
|
525
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_model_set_types (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
526
|
+
<em class="parameter"><code><span class="type">guint</span> n_columns</code></em>,
|
527
|
+
<em class="parameter"><code><span class="type">GType</span> *types</code></em>);</pre>
|
528
|
+
<p>
|
529
|
+
Sets the types of the columns inside a <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>.
|
530
|
+
</p>
|
531
|
+
<p>
|
532
|
+
This function is meant primarily for <span class="type">GObjects</span> that inherit from
|
533
|
+
<a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>, and should only be used when contructing a <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>.
|
534
|
+
It will not work after the initial creation of the <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>.
|
535
|
+
</p>
|
536
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
537
|
+
<colgroup>
|
538
|
+
<col align="left" valign="top">
|
539
|
+
<col>
|
540
|
+
</colgroup>
|
541
|
+
<tbody>
|
542
|
+
<tr>
|
543
|
+
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
544
|
+
<td>a <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>
|
545
|
+
</td>
|
546
|
+
</tr>
|
547
|
+
<tr>
|
548
|
+
<td><p><span class="term"><em class="parameter"><code>n_columns</code></em> :</span></p></td>
|
549
|
+
<td>number of columns for the model</td>
|
550
|
+
</tr>
|
551
|
+
<tr>
|
552
|
+
<td><p><span class="term"><em class="parameter"><code>types</code></em> :</span></p></td>
|
553
|
+
<td>an array of <span class="type">GType</span> types. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_columns]</span>
|
554
|
+
</td>
|
555
|
+
</tr>
|
556
|
+
</tbody>
|
557
|
+
</table></div>
|
558
|
+
<p class="since">Since 0.6</p>
|
559
|
+
</div>
|
560
|
+
<hr>
|
561
|
+
<div class="refsect2">
|
562
|
+
<a name="clutter-model-get-column-name"></a><h3>clutter_model_get_column_name ()</h3>
|
563
|
+
<pre class="programlisting">const <span class="returnvalue">gchar</span> * clutter_model_get_column_name (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
564
|
+
<em class="parameter"><code><span class="type">guint</span> column</code></em>);</pre>
|
565
|
+
<p>
|
566
|
+
Retrieves the name of the <em class="parameter"><code>column</code></em>
|
567
|
+
</p>
|
568
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
569
|
+
<colgroup>
|
570
|
+
<col align="left" valign="top">
|
571
|
+
<col>
|
572
|
+
</colgroup>
|
573
|
+
<tbody>
|
574
|
+
<tr>
|
575
|
+
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
576
|
+
<td><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a></td>
|
577
|
+
</tr>
|
578
|
+
<tr>
|
579
|
+
<td><p><span class="term"><em class="parameter"><code>column</code></em> :</span></p></td>
|
580
|
+
<td>the column number</td>
|
581
|
+
</tr>
|
582
|
+
<tr>
|
583
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
584
|
+
<td>the name of the column. The model holds the returned
|
585
|
+
string, and it should not be modified or freed</td>
|
586
|
+
</tr>
|
587
|
+
</tbody>
|
588
|
+
</table></div>
|
589
|
+
<p class="since">Since 0.6</p>
|
590
|
+
</div>
|
591
|
+
<hr>
|
592
|
+
<div class="refsect2">
|
593
|
+
<a name="clutter-model-get-column-type"></a><h3>clutter_model_get_column_type ()</h3>
|
594
|
+
<pre class="programlisting"><span class="returnvalue">GType</span> clutter_model_get_column_type (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
595
|
+
<em class="parameter"><code><span class="type">guint</span> column</code></em>);</pre>
|
596
|
+
<p>
|
597
|
+
Retrieves the type of the <em class="parameter"><code>column</code></em>.
|
598
|
+
</p>
|
599
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
600
|
+
<colgroup>
|
601
|
+
<col align="left" valign="top">
|
602
|
+
<col>
|
603
|
+
</colgroup>
|
604
|
+
<tbody>
|
605
|
+
<tr>
|
606
|
+
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
607
|
+
<td><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a></td>
|
608
|
+
</tr>
|
609
|
+
<tr>
|
610
|
+
<td><p><span class="term"><em class="parameter"><code>column</code></em> :</span></p></td>
|
611
|
+
<td>the column number</td>
|
612
|
+
</tr>
|
613
|
+
<tr>
|
614
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
615
|
+
<td>the type of the column.</td>
|
616
|
+
</tr>
|
617
|
+
</tbody>
|
618
|
+
</table></div>
|
619
|
+
<p class="since">Since 0.6</p>
|
620
|
+
</div>
|
621
|
+
<hr>
|
622
|
+
<div class="refsect2">
|
623
|
+
<a name="clutter-model-get-n-columns"></a><h3>clutter_model_get_n_columns ()</h3>
|
624
|
+
<pre class="programlisting"><span class="returnvalue">guint</span> clutter_model_get_n_columns (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>);</pre>
|
625
|
+
<p>
|
626
|
+
Retrieves the number of columns inside <em class="parameter"><code>model</code></em>.
|
627
|
+
</p>
|
628
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
629
|
+
<colgroup>
|
630
|
+
<col align="left" valign="top">
|
631
|
+
<col>
|
632
|
+
</colgroup>
|
633
|
+
<tbody>
|
634
|
+
<tr>
|
635
|
+
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
636
|
+
<td>a <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>
|
637
|
+
</td>
|
638
|
+
</tr>
|
639
|
+
<tr>
|
640
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
641
|
+
<td>the number of columns</td>
|
642
|
+
</tr>
|
643
|
+
</tbody>
|
644
|
+
</table></div>
|
645
|
+
<p class="since">Since 0.6</p>
|
646
|
+
</div>
|
647
|
+
<hr>
|
648
|
+
<div class="refsect2">
|
649
|
+
<a name="clutter-model-get-n-rows"></a><h3>clutter_model_get_n_rows ()</h3>
|
650
|
+
<pre class="programlisting"><span class="returnvalue">guint</span> clutter_model_get_n_rows (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>);</pre>
|
651
|
+
<p>
|
652
|
+
Retrieves the number of rows inside <em class="parameter"><code>model</code></em>, eventually taking
|
653
|
+
into account any filtering function set using <a class="link" href="ClutterModel.html#clutter-model-set-filter" title="clutter_model_set_filter ()"><code class="function">clutter_model_set_filter()</code></a>.
|
654
|
+
</p>
|
655
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
656
|
+
<colgroup>
|
657
|
+
<col align="left" valign="top">
|
658
|
+
<col>
|
659
|
+
</colgroup>
|
660
|
+
<tbody>
|
661
|
+
<tr>
|
662
|
+
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
663
|
+
<td>a <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>
|
664
|
+
</td>
|
665
|
+
</tr>
|
666
|
+
<tr>
|
667
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
668
|
+
<td>The length of the <em class="parameter"><code>model</code></em>. If there is a filter set, then
|
669
|
+
the length of the filtered <em class="parameter"><code>model</code></em> is returned.</td>
|
670
|
+
</tr>
|
671
|
+
</tbody>
|
672
|
+
</table></div>
|
673
|
+
<p class="since">Since 0.6</p>
|
674
|
+
</div>
|
675
|
+
<hr>
|
676
|
+
<div class="refsect2">
|
677
|
+
<a name="clutter-model-append"></a><h3>clutter_model_append ()</h3>
|
678
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_model_append (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
679
|
+
<em class="parameter"><code>...</code></em>);</pre>
|
680
|
+
<p>
|
681
|
+
Creates and appends a new row to the <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>, setting the
|
682
|
+
row values upon creation. For example, to append a new row where
|
683
|
+
column 0 is type <code class="literal">G_TYPE_INT</code> and column 1 is of type <code class="literal">G_TYPE_STRING</code>:
|
684
|
+
</p>
|
685
|
+
<p>
|
686
|
+
</p>
|
687
|
+
<div class="informalexample">
|
688
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
689
|
+
<tbody>
|
690
|
+
<tr>
|
691
|
+
<td class="listing_lines" align="right"><pre>1
|
692
|
+
2
|
693
|
+
3
|
694
|
+
4
|
695
|
+
5</pre></td>
|
696
|
+
<td class="listing_code"><pre class="programlisting"><span class="usertype">ClutterModel</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">model</span><span class="symbol">;</span>
|
697
|
+
<span class="normal">model </span><span class="symbol">=</span><span class="normal"> </span><span class="function">clutter_model_default_new</span><span class="normal"> </span><span class="symbol">(</span><span class="number">2</span><span class="symbol">,</span>
|
698
|
+
<span class="normal"> G_TYPE_INT</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Score"</span><span class="symbol">,</span>
|
699
|
+
<span class="normal"> G_TYPE_STRING</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Team"</span><span class="symbol">);</span>
|
700
|
+
<span class="function"><a href="ClutterModel.html#clutter-model-append">clutter_model_append</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">model</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">42</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Team <GTKDOCLINK HREF="</span><span class="number">1</span><span class="symbol">:</span><span class="normal">CAPS</span><span class="string">">1</GTKDOCLINK>"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">);</span></pre></td>
|
701
|
+
</tr>
|
702
|
+
</tbody>
|
703
|
+
</table>
|
704
|
+
</div>
|
705
|
+
|
706
|
+
<p>
|
707
|
+
</p>
|
708
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
709
|
+
<colgroup>
|
710
|
+
<col align="left" valign="top">
|
711
|
+
<col>
|
712
|
+
</colgroup>
|
713
|
+
<tbody>
|
714
|
+
<tr>
|
715
|
+
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
716
|
+
<td>a <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>
|
717
|
+
</td>
|
718
|
+
</tr>
|
719
|
+
<tr>
|
720
|
+
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
721
|
+
<td>pairs of column number and value, terminated with -1</td>
|
722
|
+
</tr>
|
723
|
+
</tbody>
|
724
|
+
</table></div>
|
725
|
+
<p class="since">Since 0.6</p>
|
726
|
+
</div>
|
727
|
+
<hr>
|
728
|
+
<div class="refsect2">
|
729
|
+
<a name="clutter-model-appendv"></a><h3>clutter_model_appendv ()</h3>
|
730
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_model_appendv (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
731
|
+
<em class="parameter"><code><span class="type">guint</span> n_columns</code></em>,
|
732
|
+
<em class="parameter"><code><span class="type">guint</span> *columns</code></em>,
|
733
|
+
<em class="parameter"><code><span class="type">GValue</span> *values</code></em>);</pre>
|
734
|
+
<p>
|
735
|
+
Creates and appends a new row to the <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>, setting the row
|
736
|
+
values for the given <em class="parameter"><code>columns</code></em> upon creation.
|
737
|
+
</p>
|
738
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
739
|
+
<colgroup>
|
740
|
+
<col align="left" valign="top">
|
741
|
+
<col>
|
742
|
+
</colgroup>
|
743
|
+
<tbody>
|
744
|
+
<tr>
|
745
|
+
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
746
|
+
<td>a <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>
|
747
|
+
</td>
|
748
|
+
</tr>
|
749
|
+
<tr>
|
750
|
+
<td><p><span class="term"><em class="parameter"><code>n_columns</code></em> :</span></p></td>
|
751
|
+
<td>the number of columns and values</td>
|
752
|
+
</tr>
|
753
|
+
<tr>
|
754
|
+
<td><p><span class="term"><em class="parameter"><code>columns</code></em> :</span></p></td>
|
755
|
+
<td>a vector with the columns to set. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_columns]</span>
|
756
|
+
</td>
|
757
|
+
</tr>
|
758
|
+
<tr>
|
759
|
+
<td><p><span class="term"><em class="parameter"><code>values</code></em> :</span></p></td>
|
760
|
+
<td>a vector with the values. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_columns]</span>
|
761
|
+
</td>
|
762
|
+
</tr>
|
763
|
+
</tbody>
|
764
|
+
</table></div>
|
765
|
+
<p class="since">Since 0.6</p>
|
766
|
+
</div>
|
767
|
+
<hr>
|
768
|
+
<div class="refsect2">
|
769
|
+
<a name="clutter-model-prepend"></a><h3>clutter_model_prepend ()</h3>
|
770
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_model_prepend (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
771
|
+
<em class="parameter"><code>...</code></em>);</pre>
|
772
|
+
<p>
|
773
|
+
Creates and prepends a new row to the <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>, setting the row
|
774
|
+
values upon creation. For example, to prepend a new row where column 0
|
775
|
+
is type <code class="literal">G_TYPE_INT</code> and column 1 is of type <code class="literal">G_TYPE_STRING</code>:
|
776
|
+
</p>
|
777
|
+
<p>
|
778
|
+
</p>
|
779
|
+
<div class="informalexample">
|
780
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
781
|
+
<tbody>
|
782
|
+
<tr>
|
783
|
+
<td class="listing_lines" align="right"><pre>1
|
784
|
+
2
|
785
|
+
3
|
786
|
+
4
|
787
|
+
5</pre></td>
|
788
|
+
<td class="listing_code"><pre class="programlisting"><span class="usertype">ClutterModel</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">model</span><span class="symbol">;</span>
|
789
|
+
<span class="normal">model </span><span class="symbol">=</span><span class="normal"> </span><span class="function">clutter_model_default_new</span><span class="normal"> </span><span class="symbol">(</span><span class="number">2</span><span class="symbol">,</span>
|
790
|
+
<span class="normal"> G_TYPE_INT</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Score"</span><span class="symbol">,</span>
|
791
|
+
<span class="normal"> G_TYPE_STRING</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Team"</span><span class="symbol">);</span>
|
792
|
+
<span class="function"><a href="ClutterModel.html#clutter-model-prepend">clutter_model_prepend</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">model</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">42</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Team <GTKDOCLINK HREF="</span><span class="number">1</span><span class="symbol">:</span><span class="normal">CAPS</span><span class="string">">1</GTKDOCLINK>"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">);</span></pre></td>
|
793
|
+
</tr>
|
794
|
+
</tbody>
|
795
|
+
</table>
|
796
|
+
</div>
|
797
|
+
|
798
|
+
<p>
|
799
|
+
</p>
|
800
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
801
|
+
<colgroup>
|
802
|
+
<col align="left" valign="top">
|
803
|
+
<col>
|
804
|
+
</colgroup>
|
805
|
+
<tbody>
|
806
|
+
<tr>
|
807
|
+
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
808
|
+
<td>a <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>
|
809
|
+
</td>
|
810
|
+
</tr>
|
811
|
+
<tr>
|
812
|
+
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
813
|
+
<td>pairs of column number and value, terminated with -1</td>
|
814
|
+
</tr>
|
815
|
+
</tbody>
|
816
|
+
</table></div>
|
817
|
+
<p class="since">Since 0.6</p>
|
818
|
+
</div>
|
819
|
+
<hr>
|
820
|
+
<div class="refsect2">
|
821
|
+
<a name="clutter-model-prependv"></a><h3>clutter_model_prependv ()</h3>
|
822
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_model_prependv (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
823
|
+
<em class="parameter"><code><span class="type">guint</span> n_columns</code></em>,
|
824
|
+
<em class="parameter"><code><span class="type">guint</span> *columns</code></em>,
|
825
|
+
<em class="parameter"><code><span class="type">GValue</span> *values</code></em>);</pre>
|
826
|
+
<p>
|
827
|
+
Creates and prepends a new row to the <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>, setting the row
|
828
|
+
values for the given <em class="parameter"><code>columns</code></em> upon creation.
|
829
|
+
</p>
|
830
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
831
|
+
<colgroup>
|
832
|
+
<col align="left" valign="top">
|
833
|
+
<col>
|
834
|
+
</colgroup>
|
835
|
+
<tbody>
|
836
|
+
<tr>
|
837
|
+
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
838
|
+
<td>a <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>
|
839
|
+
</td>
|
840
|
+
</tr>
|
841
|
+
<tr>
|
842
|
+
<td><p><span class="term"><em class="parameter"><code>n_columns</code></em> :</span></p></td>
|
843
|
+
<td>the number of columns and values to set</td>
|
844
|
+
</tr>
|
845
|
+
<tr>
|
846
|
+
<td><p><span class="term"><em class="parameter"><code>columns</code></em> :</span></p></td>
|
847
|
+
<td>a vector containing the columns to set. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_columns]</span>
|
848
|
+
</td>
|
849
|
+
</tr>
|
850
|
+
<tr>
|
851
|
+
<td><p><span class="term"><em class="parameter"><code>values</code></em> :</span></p></td>
|
852
|
+
<td>a vector containing the values for the cells. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_columns]</span>
|
853
|
+
</td>
|
854
|
+
</tr>
|
855
|
+
</tbody>
|
856
|
+
</table></div>
|
857
|
+
<p class="since">Since 0.6</p>
|
858
|
+
</div>
|
859
|
+
<hr>
|
860
|
+
<div class="refsect2">
|
861
|
+
<a name="clutter-model-insert"></a><h3>clutter_model_insert ()</h3>
|
862
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_model_insert (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
863
|
+
<em class="parameter"><code><span class="type">guint</span> row</code></em>,
|
864
|
+
<em class="parameter"><code>...</code></em>);</pre>
|
865
|
+
<p>
|
866
|
+
Inserts a new row to the <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> at <em class="parameter"><code>row</code></em>, setting the row
|
867
|
+
values upon creation. For example, to insert a new row at index 100,
|
868
|
+
where column 0 is type <code class="literal">G_TYPE_INT</code> and column 1 is of type
|
869
|
+
<code class="literal">G_TYPE_STRING</code>:
|
870
|
+
</p>
|
871
|
+
<p>
|
872
|
+
</p>
|
873
|
+
<div class="informalexample">
|
874
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
875
|
+
<tbody>
|
876
|
+
<tr>
|
877
|
+
<td class="listing_lines" align="right"><pre>1
|
878
|
+
2
|
879
|
+
3
|
880
|
+
4
|
881
|
+
5</pre></td>
|
882
|
+
<td class="listing_code"><pre class="programlisting"><span class="usertype">ClutterModel</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">model</span><span class="symbol">;</span>
|
883
|
+
<span class="normal">model </span><span class="symbol">=</span><span class="normal"> </span><span class="function">clutter_model_default_new</span><span class="normal"> </span><span class="symbol">(</span><span class="number">2</span><span class="symbol">,</span>
|
884
|
+
<span class="normal"> G_TYPE_INT</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Score"</span><span class="symbol">,</span>
|
885
|
+
<span class="normal"> G_TYPE_STRING</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Team"</span><span class="symbol">);</span>
|
886
|
+
<span class="function"><a href="ClutterModel.html#clutter-model-insert">clutter_model_insert</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">model</span><span class="symbol">,</span><span class="normal"> </span><span class="number">3</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">42</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Team <GTKDOCLINK HREF="</span><span class="number">1</span><span class="symbol">:</span><span class="normal">CAPS</span><span class="string">">1</GTKDOCLINK>"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">);</span></pre></td>
|
887
|
+
</tr>
|
888
|
+
</tbody>
|
889
|
+
</table>
|
890
|
+
</div>
|
891
|
+
|
892
|
+
<p>
|
893
|
+
</p>
|
894
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
895
|
+
<colgroup>
|
896
|
+
<col align="left" valign="top">
|
897
|
+
<col>
|
898
|
+
</colgroup>
|
899
|
+
<tbody>
|
900
|
+
<tr>
|
901
|
+
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
902
|
+
<td>a <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>
|
903
|
+
</td>
|
904
|
+
</tr>
|
905
|
+
<tr>
|
906
|
+
<td><p><span class="term"><em class="parameter"><code>row</code></em> :</span></p></td>
|
907
|
+
<td>the position to insert the new row</td>
|
908
|
+
</tr>
|
909
|
+
<tr>
|
910
|
+
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
911
|
+
<td>pairs of column number and value, terminated with -1</td>
|
912
|
+
</tr>
|
913
|
+
</tbody>
|
914
|
+
</table></div>
|
915
|
+
<p class="since">Since 0.6</p>
|
916
|
+
</div>
|
917
|
+
<hr>
|
918
|
+
<div class="refsect2">
|
919
|
+
<a name="clutter-model-insertv"></a><h3>clutter_model_insertv ()</h3>
|
920
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_model_insertv (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
921
|
+
<em class="parameter"><code><span class="type">guint</span> row</code></em>,
|
922
|
+
<em class="parameter"><code><span class="type">guint</span> n_columns</code></em>,
|
923
|
+
<em class="parameter"><code><span class="type">guint</span> *columns</code></em>,
|
924
|
+
<em class="parameter"><code><span class="type">GValue</span> *values</code></em>);</pre>
|
925
|
+
<p>
|
926
|
+
Inserts data at <em class="parameter"><code>row</code></em> into the <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>, setting the row
|
927
|
+
values for the given <em class="parameter"><code>columns</code></em> upon creation.
|
928
|
+
</p>
|
929
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
930
|
+
<colgroup>
|
931
|
+
<col align="left" valign="top">
|
932
|
+
<col>
|
933
|
+
</colgroup>
|
934
|
+
<tbody>
|
935
|
+
<tr>
|
936
|
+
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
937
|
+
<td>a <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>
|
938
|
+
</td>
|
939
|
+
</tr>
|
940
|
+
<tr>
|
941
|
+
<td><p><span class="term"><em class="parameter"><code>row</code></em> :</span></p></td>
|
942
|
+
<td>row index</td>
|
943
|
+
</tr>
|
944
|
+
<tr>
|
945
|
+
<td><p><span class="term"><em class="parameter"><code>n_columns</code></em> :</span></p></td>
|
946
|
+
<td>the number of columns and values to set</td>
|
947
|
+
</tr>
|
948
|
+
<tr>
|
949
|
+
<td><p><span class="term"><em class="parameter"><code>columns</code></em> :</span></p></td>
|
950
|
+
<td>a vector containing the columns to set. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_columns]</span>
|
951
|
+
</td>
|
952
|
+
</tr>
|
953
|
+
<tr>
|
954
|
+
<td><p><span class="term"><em class="parameter"><code>values</code></em> :</span></p></td>
|
955
|
+
<td>a vector containing the values for the cells. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_columns]</span>
|
956
|
+
</td>
|
957
|
+
</tr>
|
958
|
+
</tbody>
|
959
|
+
</table></div>
|
960
|
+
<p class="since">Since 0.6</p>
|
961
|
+
</div>
|
962
|
+
<hr>
|
963
|
+
<div class="refsect2">
|
964
|
+
<a name="clutter-model-insert-value"></a><h3>clutter_model_insert_value ()</h3>
|
965
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_model_insert_value (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
966
|
+
<em class="parameter"><code><span class="type">guint</span> row</code></em>,
|
967
|
+
<em class="parameter"><code><span class="type">guint</span> column</code></em>,
|
968
|
+
<em class="parameter"><code>const <span class="type">GValue</span> *value</code></em>);</pre>
|
969
|
+
<p>
|
970
|
+
Sets the data in the cell specified by <em class="parameter"><code>iter</code></em> and <em class="parameter"><code>column</code></em>. The type of
|
971
|
+
<em class="parameter"><code>value</code></em> must be convertable to the type of the column. If the row does
|
972
|
+
not exist then it is created.
|
973
|
+
</p>
|
974
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
975
|
+
<colgroup>
|
976
|
+
<col align="left" valign="top">
|
977
|
+
<col>
|
978
|
+
</colgroup>
|
979
|
+
<tbody>
|
980
|
+
<tr>
|
981
|
+
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
982
|
+
<td>a <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>
|
983
|
+
</td>
|
984
|
+
</tr>
|
985
|
+
<tr>
|
986
|
+
<td><p><span class="term"><em class="parameter"><code>row</code></em> :</span></p></td>
|
987
|
+
<td>position of the row to modify</td>
|
988
|
+
</tr>
|
989
|
+
<tr>
|
990
|
+
<td><p><span class="term"><em class="parameter"><code>column</code></em> :</span></p></td>
|
991
|
+
<td>column to modify</td>
|
992
|
+
</tr>
|
993
|
+
<tr>
|
994
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
995
|
+
<td>new value for the cell</td>
|
996
|
+
</tr>
|
997
|
+
</tbody>
|
998
|
+
</table></div>
|
999
|
+
<p class="since">Since 0.6</p>
|
1000
|
+
</div>
|
1001
|
+
<hr>
|
1002
|
+
<div class="refsect2">
|
1003
|
+
<a name="clutter-model-remove"></a><h3>clutter_model_remove ()</h3>
|
1004
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_model_remove (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
1005
|
+
<em class="parameter"><code><span class="type">guint</span> row</code></em>);</pre>
|
1006
|
+
<p>
|
1007
|
+
Removes the row at the given position from the model.
|
1008
|
+
</p>
|
1009
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1010
|
+
<colgroup>
|
1011
|
+
<col align="left" valign="top">
|
1012
|
+
<col>
|
1013
|
+
</colgroup>
|
1014
|
+
<tbody>
|
1015
|
+
<tr>
|
1016
|
+
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
1017
|
+
<td>a <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>
|
1018
|
+
</td>
|
1019
|
+
</tr>
|
1020
|
+
<tr>
|
1021
|
+
<td><p><span class="term"><em class="parameter"><code>row</code></em> :</span></p></td>
|
1022
|
+
<td>position of row to remove</td>
|
1023
|
+
</tr>
|
1024
|
+
</tbody>
|
1025
|
+
</table></div>
|
1026
|
+
<p class="since">Since 0.6</p>
|
1027
|
+
</div>
|
1028
|
+
<hr>
|
1029
|
+
<div class="refsect2">
|
1030
|
+
<a name="ClutterModelForeachFunc"></a><h3>ClutterModelForeachFunc ()</h3>
|
1031
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> (*ClutterModelForeachFunc) (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
1032
|
+
<em class="parameter"><code><a class="link" href="ClutterModelIter.html" title="ClutterModelIter"><span class="type">ClutterModelIter</span></a> *iter</code></em>,
|
1033
|
+
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
|
1034
|
+
<p>
|
1035
|
+
Iterates on the content of a row in the model
|
1036
|
+
</p>
|
1037
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1038
|
+
<colgroup>
|
1039
|
+
<col align="left" valign="top">
|
1040
|
+
<col>
|
1041
|
+
</colgroup>
|
1042
|
+
<tbody>
|
1043
|
+
<tr>
|
1044
|
+
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
1045
|
+
<td>a <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>
|
1046
|
+
</td>
|
1047
|
+
</tr>
|
1048
|
+
<tr>
|
1049
|
+
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
1050
|
+
<td>the iterator for the row</td>
|
1051
|
+
</tr>
|
1052
|
+
<tr>
|
1053
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1054
|
+
<td>data passed to <a class="link" href="ClutterModel.html#clutter-model-foreach" title="clutter_model_foreach ()"><code class="function">clutter_model_foreach()</code></a>
|
1055
|
+
</td>
|
1056
|
+
</tr>
|
1057
|
+
<tr>
|
1058
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1059
|
+
<td>
|
1060
|
+
<code class="literal">TRUE</code> if the iteration should continue, <code class="literal">FALSE</code> otherwise</td>
|
1061
|
+
</tr>
|
1062
|
+
</tbody>
|
1063
|
+
</table></div>
|
1064
|
+
<p class="since">Since 0.6</p>
|
1065
|
+
</div>
|
1066
|
+
<hr>
|
1067
|
+
<div class="refsect2">
|
1068
|
+
<a name="clutter-model-foreach"></a><h3>clutter_model_foreach ()</h3>
|
1069
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_model_foreach (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
1070
|
+
<em class="parameter"><code><a class="link" href="ClutterModel.html#ClutterModelForeachFunc" title="ClutterModelForeachFunc ()"><span class="type">ClutterModelForeachFunc</span></a> func</code></em>,
|
1071
|
+
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
|
1072
|
+
<p>
|
1073
|
+
Calls <em class="parameter"><code>func</code></em> for each row in the model.
|
1074
|
+
</p>
|
1075
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1076
|
+
<colgroup>
|
1077
|
+
<col align="left" valign="top">
|
1078
|
+
<col>
|
1079
|
+
</colgroup>
|
1080
|
+
<tbody>
|
1081
|
+
<tr>
|
1082
|
+
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
1083
|
+
<td>a <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>
|
1084
|
+
</td>
|
1085
|
+
</tr>
|
1086
|
+
<tr>
|
1087
|
+
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
|
1088
|
+
<td>a <a class="link" href="ClutterModel.html#ClutterModelForeachFunc" title="ClutterModelForeachFunc ()"><span class="type">ClutterModelForeachFunc</span></a>. <span class="annotation">[<acronym title="The callback is valid only during the call to the method."><span class="acronym">scope call</span></acronym>]</span>
|
1089
|
+
</td>
|
1090
|
+
</tr>
|
1091
|
+
<tr>
|
1092
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1093
|
+
<td>user data to pass to <em class="parameter"><code>func</code></em>
|
1094
|
+
</td>
|
1095
|
+
</tr>
|
1096
|
+
</tbody>
|
1097
|
+
</table></div>
|
1098
|
+
<p class="since">Since 0.6</p>
|
1099
|
+
</div>
|
1100
|
+
<hr>
|
1101
|
+
<div class="refsect2">
|
1102
|
+
<a name="clutter-model-set-sorting-column"></a><h3>clutter_model_set_sorting_column ()</h3>
|
1103
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_model_set_sorting_column (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
1104
|
+
<em class="parameter"><code><span class="type">gint</span> column</code></em>);</pre>
|
1105
|
+
<p>
|
1106
|
+
Sets the model to sort by <em class="parameter"><code>column</code></em>. If <em class="parameter"><code>column</code></em> is a negative value
|
1107
|
+
the sorting column will be unset.
|
1108
|
+
</p>
|
1109
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1110
|
+
<colgroup>
|
1111
|
+
<col align="left" valign="top">
|
1112
|
+
<col>
|
1113
|
+
</colgroup>
|
1114
|
+
<tbody>
|
1115
|
+
<tr>
|
1116
|
+
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
1117
|
+
<td>a <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>
|
1118
|
+
</td>
|
1119
|
+
</tr>
|
1120
|
+
<tr>
|
1121
|
+
<td><p><span class="term"><em class="parameter"><code>column</code></em> :</span></p></td>
|
1122
|
+
<td>the column of the <em class="parameter"><code>model</code></em> to sort, or -1</td>
|
1123
|
+
</tr>
|
1124
|
+
</tbody>
|
1125
|
+
</table></div>
|
1126
|
+
<p class="since">Since 0.6</p>
|
1127
|
+
</div>
|
1128
|
+
<hr>
|
1129
|
+
<div class="refsect2">
|
1130
|
+
<a name="clutter-model-get-sorting-column"></a><h3>clutter_model_get_sorting_column ()</h3>
|
1131
|
+
<pre class="programlisting"><span class="returnvalue">gint</span> clutter_model_get_sorting_column (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>);</pre>
|
1132
|
+
<p>
|
1133
|
+
Retrieves the number of column used for sorting the <em class="parameter"><code>model</code></em>.
|
1134
|
+
</p>
|
1135
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1136
|
+
<colgroup>
|
1137
|
+
<col align="left" valign="top">
|
1138
|
+
<col>
|
1139
|
+
</colgroup>
|
1140
|
+
<tbody>
|
1141
|
+
<tr>
|
1142
|
+
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
1143
|
+
<td>a <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>
|
1144
|
+
</td>
|
1145
|
+
</tr>
|
1146
|
+
<tr>
|
1147
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1148
|
+
<td>a column number, or -1 if the model is not sorted</td>
|
1149
|
+
</tr>
|
1150
|
+
</tbody>
|
1151
|
+
</table></div>
|
1152
|
+
<p class="since">Since 0.6</p>
|
1153
|
+
</div>
|
1154
|
+
<hr>
|
1155
|
+
<div class="refsect2">
|
1156
|
+
<a name="ClutterModelSortFunc"></a><h3>ClutterModelSortFunc ()</h3>
|
1157
|
+
<pre class="programlisting"><span class="returnvalue">gint</span> (*ClutterModelSortFunc) (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
1158
|
+
<em class="parameter"><code>const <span class="type">GValue</span> *a</code></em>,
|
1159
|
+
<em class="parameter"><code>const <span class="type">GValue</span> *b</code></em>,
|
1160
|
+
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
|
1161
|
+
<p>
|
1162
|
+
Compares the content of two rows in the model.
|
1163
|
+
</p>
|
1164
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1165
|
+
<colgroup>
|
1166
|
+
<col align="left" valign="top">
|
1167
|
+
<col>
|
1168
|
+
</colgroup>
|
1169
|
+
<tbody>
|
1170
|
+
<tr>
|
1171
|
+
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
1172
|
+
<td>a <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>
|
1173
|
+
</td>
|
1174
|
+
</tr>
|
1175
|
+
<tr>
|
1176
|
+
<td><p><span class="term"><em class="parameter"><code>a</code></em> :</span></p></td>
|
1177
|
+
<td>a <span class="type">GValue</span> representing the contents of the row</td>
|
1178
|
+
</tr>
|
1179
|
+
<tr>
|
1180
|
+
<td><p><span class="term"><em class="parameter"><code>b</code></em> :</span></p></td>
|
1181
|
+
<td>a <span class="type">GValue</span> representing the contents of the second row</td>
|
1182
|
+
</tr>
|
1183
|
+
<tr>
|
1184
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1185
|
+
<td>data passed to <a class="link" href="ClutterModel.html#clutter-model-set-sort" title="clutter_model_set_sort ()"><code class="function">clutter_model_set_sort()</code></a>
|
1186
|
+
</td>
|
1187
|
+
</tr>
|
1188
|
+
<tr>
|
1189
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1190
|
+
<td>a positive integer if <em class="parameter"><code>a</code></em> is after <em class="parameter"><code>b</code></em>, a negative integer if
|
1191
|
+
<em class="parameter"><code>a</code></em> is before <em class="parameter"><code>b</code></em>, or 0 if the rows are the same</td>
|
1192
|
+
</tr>
|
1193
|
+
</tbody>
|
1194
|
+
</table></div>
|
1195
|
+
<p class="since">Since 0.6</p>
|
1196
|
+
</div>
|
1197
|
+
<hr>
|
1198
|
+
<div class="refsect2">
|
1199
|
+
<a name="clutter-model-set-sort"></a><h3>clutter_model_set_sort ()</h3>
|
1200
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_model_set_sort (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
1201
|
+
<em class="parameter"><code><span class="type">gint</span> column</code></em>,
|
1202
|
+
<em class="parameter"><code><a class="link" href="ClutterModel.html#ClutterModelSortFunc" title="ClutterModelSortFunc ()"><span class="type">ClutterModelSortFunc</span></a> func</code></em>,
|
1203
|
+
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
|
1204
|
+
<em class="parameter"><code><span class="type">GDestroyNotify</span> notify</code></em>);</pre>
|
1205
|
+
<p>
|
1206
|
+
Sorts <em class="parameter"><code>model</code></em> using the given sorting function.
|
1207
|
+
</p>
|
1208
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1209
|
+
<colgroup>
|
1210
|
+
<col align="left" valign="top">
|
1211
|
+
<col>
|
1212
|
+
</colgroup>
|
1213
|
+
<tbody>
|
1214
|
+
<tr>
|
1215
|
+
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
1216
|
+
<td>a <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>
|
1217
|
+
</td>
|
1218
|
+
</tr>
|
1219
|
+
<tr>
|
1220
|
+
<td><p><span class="term"><em class="parameter"><code>column</code></em> :</span></p></td>
|
1221
|
+
<td>the column to sort on</td>
|
1222
|
+
</tr>
|
1223
|
+
<tr>
|
1224
|
+
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
|
1225
|
+
<td>a <a class="link" href="ClutterModel.html#ClutterModelSortFunc" title="ClutterModelSortFunc ()"><span class="type">ClutterModelSortFunc</span></a>, or <span class="type">NULL</span>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1226
|
+
</td>
|
1227
|
+
</tr>
|
1228
|
+
<tr>
|
1229
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1230
|
+
<td>user data to pass to <em class="parameter"><code>func</code></em>, or <span class="type">NULL</span>
|
1231
|
+
</td>
|
1232
|
+
</tr>
|
1233
|
+
<tr>
|
1234
|
+
<td><p><span class="term"><em class="parameter"><code>notify</code></em> :</span></p></td>
|
1235
|
+
<td>destroy notifier of <em class="parameter"><code>user_data</code></em>, or <span class="type">NULL</span>
|
1236
|
+
</td>
|
1237
|
+
</tr>
|
1238
|
+
</tbody>
|
1239
|
+
</table></div>
|
1240
|
+
<p class="since">Since 0.6</p>
|
1241
|
+
</div>
|
1242
|
+
<hr>
|
1243
|
+
<div class="refsect2">
|
1244
|
+
<a name="clutter-model-resort"></a><h3>clutter_model_resort ()</h3>
|
1245
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_model_resort (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>);</pre>
|
1246
|
+
<p>
|
1247
|
+
Force a resort on the <em class="parameter"><code>model</code></em>. This function should only be
|
1248
|
+
used by subclasses of <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>.
|
1249
|
+
</p>
|
1250
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1251
|
+
<colgroup>
|
1252
|
+
<col align="left" valign="top">
|
1253
|
+
<col>
|
1254
|
+
</colgroup>
|
1255
|
+
<tbody><tr>
|
1256
|
+
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
1257
|
+
<td>a <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>
|
1258
|
+
</td>
|
1259
|
+
</tr></tbody>
|
1260
|
+
</table></div>
|
1261
|
+
<p class="since">Since 0.6</p>
|
1262
|
+
</div>
|
1263
|
+
<hr>
|
1264
|
+
<div class="refsect2">
|
1265
|
+
<a name="ClutterModelFilterFunc"></a><h3>ClutterModelFilterFunc ()</h3>
|
1266
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> (*ClutterModelFilterFunc) (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
1267
|
+
<em class="parameter"><code><a class="link" href="ClutterModelIter.html" title="ClutterModelIter"><span class="type">ClutterModelIter</span></a> *iter</code></em>,
|
1268
|
+
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
|
1269
|
+
<p>
|
1270
|
+
Filters the content of a row in the model.
|
1271
|
+
</p>
|
1272
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1273
|
+
<colgroup>
|
1274
|
+
<col align="left" valign="top">
|
1275
|
+
<col>
|
1276
|
+
</colgroup>
|
1277
|
+
<tbody>
|
1278
|
+
<tr>
|
1279
|
+
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
1280
|
+
<td>a <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>
|
1281
|
+
</td>
|
1282
|
+
</tr>
|
1283
|
+
<tr>
|
1284
|
+
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
1285
|
+
<td>the iterator for the row</td>
|
1286
|
+
</tr>
|
1287
|
+
<tr>
|
1288
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1289
|
+
<td>data passed to <a class="link" href="ClutterModel.html#clutter-model-set-filter" title="clutter_model_set_filter ()"><code class="function">clutter_model_set_filter()</code></a>
|
1290
|
+
</td>
|
1291
|
+
</tr>
|
1292
|
+
<tr>
|
1293
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1294
|
+
<td>If the row should be displayed, return <code class="literal">TRUE</code>
|
1295
|
+
</td>
|
1296
|
+
</tr>
|
1297
|
+
</tbody>
|
1298
|
+
</table></div>
|
1299
|
+
<p class="since">Since 0.6</p>
|
1300
|
+
</div>
|
1301
|
+
<hr>
|
1302
|
+
<div class="refsect2">
|
1303
|
+
<a name="clutter-model-set-filter"></a><h3>clutter_model_set_filter ()</h3>
|
1304
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_model_set_filter (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
1305
|
+
<em class="parameter"><code><a class="link" href="ClutterModel.html#ClutterModelFilterFunc" title="ClutterModelFilterFunc ()"><span class="type">ClutterModelFilterFunc</span></a> func</code></em>,
|
1306
|
+
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
|
1307
|
+
<em class="parameter"><code><span class="type">GDestroyNotify</span> notify</code></em>);</pre>
|
1308
|
+
<p>
|
1309
|
+
Filters the <em class="parameter"><code>model</code></em> using the given filtering function.
|
1310
|
+
</p>
|
1311
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1312
|
+
<colgroup>
|
1313
|
+
<col align="left" valign="top">
|
1314
|
+
<col>
|
1315
|
+
</colgroup>
|
1316
|
+
<tbody>
|
1317
|
+
<tr>
|
1318
|
+
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
1319
|
+
<td>a <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>
|
1320
|
+
</td>
|
1321
|
+
</tr>
|
1322
|
+
<tr>
|
1323
|
+
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
|
1324
|
+
<td>a <a class="link" href="ClutterModel.html#ClutterModelFilterFunc" title="ClutterModelFilterFunc ()"><span class="type">ClutterModelFilterFunc</span></a>, or <span class="type">NULL</span>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1325
|
+
</td>
|
1326
|
+
</tr>
|
1327
|
+
<tr>
|
1328
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1329
|
+
<td>user data to pass to <em class="parameter"><code>func</code></em>, or <span class="type">NULL</span>
|
1330
|
+
</td>
|
1331
|
+
</tr>
|
1332
|
+
<tr>
|
1333
|
+
<td><p><span class="term"><em class="parameter"><code>notify</code></em> :</span></p></td>
|
1334
|
+
<td>destroy notifier of <em class="parameter"><code>user_data</code></em>, or <span class="type">NULL</span>
|
1335
|
+
</td>
|
1336
|
+
</tr>
|
1337
|
+
</tbody>
|
1338
|
+
</table></div>
|
1339
|
+
<p class="since">Since 0.6</p>
|
1340
|
+
</div>
|
1341
|
+
<hr>
|
1342
|
+
<div class="refsect2">
|
1343
|
+
<a name="clutter-model-get-filter-set"></a><h3>clutter_model_get_filter_set ()</h3>
|
1344
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> clutter_model_get_filter_set (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>);</pre>
|
1345
|
+
<p>
|
1346
|
+
Returns whether the <em class="parameter"><code>model</code></em> has a filter in place, set
|
1347
|
+
using <a class="link" href="ClutterModel.html#clutter-model-set-filter" title="clutter_model_set_filter ()"><code class="function">clutter_model_set_filter()</code></a>
|
1348
|
+
</p>
|
1349
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1350
|
+
<colgroup>
|
1351
|
+
<col align="left" valign="top">
|
1352
|
+
<col>
|
1353
|
+
</colgroup>
|
1354
|
+
<tbody>
|
1355
|
+
<tr>
|
1356
|
+
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
1357
|
+
<td>a <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>
|
1358
|
+
</td>
|
1359
|
+
</tr>
|
1360
|
+
<tr>
|
1361
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1362
|
+
<td>
|
1363
|
+
<code class="literal">TRUE</code> if a filter is set</td>
|
1364
|
+
</tr>
|
1365
|
+
</tbody>
|
1366
|
+
</table></div>
|
1367
|
+
<p class="since">Since 1.0</p>
|
1368
|
+
</div>
|
1369
|
+
<hr>
|
1370
|
+
<div class="refsect2">
|
1371
|
+
<a name="clutter-model-filter-iter"></a><h3>clutter_model_filter_iter ()</h3>
|
1372
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> clutter_model_filter_iter (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
1373
|
+
<em class="parameter"><code><a class="link" href="ClutterModelIter.html" title="ClutterModelIter"><span class="type">ClutterModelIter</span></a> *iter</code></em>);</pre>
|
1374
|
+
<p>
|
1375
|
+
Checks whether the row pointer by <em class="parameter"><code>iter</code></em> should be filtered or not using
|
1376
|
+
the filtering function set on <em class="parameter"><code>model</code></em>.
|
1377
|
+
</p>
|
1378
|
+
<p>
|
1379
|
+
This function should be used only by subclasses of <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>.
|
1380
|
+
</p>
|
1381
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1382
|
+
<colgroup>
|
1383
|
+
<col align="left" valign="top">
|
1384
|
+
<col>
|
1385
|
+
</colgroup>
|
1386
|
+
<tbody>
|
1387
|
+
<tr>
|
1388
|
+
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
1389
|
+
<td>a <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>
|
1390
|
+
</td>
|
1391
|
+
</tr>
|
1392
|
+
<tr>
|
1393
|
+
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
1394
|
+
<td>the row to filter</td>
|
1395
|
+
</tr>
|
1396
|
+
<tr>
|
1397
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1398
|
+
<td>
|
1399
|
+
<code class="literal">TRUE</code> if the row should be displayed,
|
1400
|
+
<code class="literal">FALSE</code> otherwise</td>
|
1401
|
+
</tr>
|
1402
|
+
</tbody>
|
1403
|
+
</table></div>
|
1404
|
+
<p class="since">Since 0.6</p>
|
1405
|
+
</div>
|
1406
|
+
<hr>
|
1407
|
+
<div class="refsect2">
|
1408
|
+
<a name="clutter-model-filter-row"></a><h3>clutter_model_filter_row ()</h3>
|
1409
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> clutter_model_filter_row (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
1410
|
+
<em class="parameter"><code><span class="type">guint</span> row</code></em>);</pre>
|
1411
|
+
<p>
|
1412
|
+
Checks whether <em class="parameter"><code>row</code></em> should be filtered or not using the
|
1413
|
+
filtering function set on <em class="parameter"><code>model</code></em>.
|
1414
|
+
</p>
|
1415
|
+
<p>
|
1416
|
+
This function should be used only by subclasses of <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>.
|
1417
|
+
</p>
|
1418
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1419
|
+
<colgroup>
|
1420
|
+
<col align="left" valign="top">
|
1421
|
+
<col>
|
1422
|
+
</colgroup>
|
1423
|
+
<tbody>
|
1424
|
+
<tr>
|
1425
|
+
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
1426
|
+
<td>a <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>
|
1427
|
+
</td>
|
1428
|
+
</tr>
|
1429
|
+
<tr>
|
1430
|
+
<td><p><span class="term"><em class="parameter"><code>row</code></em> :</span></p></td>
|
1431
|
+
<td>the row to filter</td>
|
1432
|
+
</tr>
|
1433
|
+
<tr>
|
1434
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1435
|
+
<td>
|
1436
|
+
<code class="literal">TRUE</code> if the row should be displayed,
|
1437
|
+
<code class="literal">FALSE</code> otherwise</td>
|
1438
|
+
</tr>
|
1439
|
+
</tbody>
|
1440
|
+
</table></div>
|
1441
|
+
<p class="since">Since 0.6</p>
|
1442
|
+
</div>
|
1443
|
+
<hr>
|
1444
|
+
<div class="refsect2">
|
1445
|
+
<a name="clutter-model-get-first-iter"></a><h3>clutter_model_get_first_iter ()</h3>
|
1446
|
+
<pre class="programlisting"><a class="link" href="ClutterModelIter.html" title="ClutterModelIter"><span class="returnvalue">ClutterModelIter</span></a> * clutter_model_get_first_iter (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>);</pre>
|
1447
|
+
<p>
|
1448
|
+
Retrieves a <a class="link" href="ClutterModelIter.html" title="ClutterModelIter"><span class="type">ClutterModelIter</span></a> representing the first non-filtered
|
1449
|
+
row in <em class="parameter"><code>model</code></em>.
|
1450
|
+
</p>
|
1451
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1452
|
+
<colgroup>
|
1453
|
+
<col align="left" valign="top">
|
1454
|
+
<col>
|
1455
|
+
</colgroup>
|
1456
|
+
<tbody>
|
1457
|
+
<tr>
|
1458
|
+
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
1459
|
+
<td>a <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>
|
1460
|
+
</td>
|
1461
|
+
</tr>
|
1462
|
+
<tr>
|
1463
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1464
|
+
<td>A new <a class="link" href="ClutterModelIter.html" title="ClutterModelIter"><span class="type">ClutterModelIter</span></a>.
|
1465
|
+
Call <code class="function">g_object_unref()</code> when done using it. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
1466
|
+
</td>
|
1467
|
+
</tr>
|
1468
|
+
</tbody>
|
1469
|
+
</table></div>
|
1470
|
+
<p class="since">Since 0.6</p>
|
1471
|
+
</div>
|
1472
|
+
<hr>
|
1473
|
+
<div class="refsect2">
|
1474
|
+
<a name="clutter-model-get-last-iter"></a><h3>clutter_model_get_last_iter ()</h3>
|
1475
|
+
<pre class="programlisting"><a class="link" href="ClutterModelIter.html" title="ClutterModelIter"><span class="returnvalue">ClutterModelIter</span></a> * clutter_model_get_last_iter (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>);</pre>
|
1476
|
+
<p>
|
1477
|
+
Retrieves a <a class="link" href="ClutterModelIter.html" title="ClutterModelIter"><span class="type">ClutterModelIter</span></a> representing the last non-filtered
|
1478
|
+
row in <em class="parameter"><code>model</code></em>.
|
1479
|
+
</p>
|
1480
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1481
|
+
<colgroup>
|
1482
|
+
<col align="left" valign="top">
|
1483
|
+
<col>
|
1484
|
+
</colgroup>
|
1485
|
+
<tbody>
|
1486
|
+
<tr>
|
1487
|
+
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
1488
|
+
<td>a <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>
|
1489
|
+
</td>
|
1490
|
+
</tr>
|
1491
|
+
<tr>
|
1492
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1493
|
+
<td>A new <a class="link" href="ClutterModelIter.html" title="ClutterModelIter"><span class="type">ClutterModelIter</span></a>.
|
1494
|
+
Call <code class="function">g_object_unref()</code> when done using it. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
1495
|
+
</td>
|
1496
|
+
</tr>
|
1497
|
+
</tbody>
|
1498
|
+
</table></div>
|
1499
|
+
<p class="since">Since 0.6</p>
|
1500
|
+
</div>
|
1501
|
+
<hr>
|
1502
|
+
<div class="refsect2">
|
1503
|
+
<a name="clutter-model-get-iter-at-row"></a><h3>clutter_model_get_iter_at_row ()</h3>
|
1504
|
+
<pre class="programlisting"><a class="link" href="ClutterModelIter.html" title="ClutterModelIter"><span class="returnvalue">ClutterModelIter</span></a> * clutter_model_get_iter_at_row (<em class="parameter"><code><a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model</code></em>,
|
1505
|
+
<em class="parameter"><code><span class="type">guint</span> row</code></em>);</pre>
|
1506
|
+
<p>
|
1507
|
+
Retrieves a <a class="link" href="ClutterModelIter.html" title="ClutterModelIter"><span class="type">ClutterModelIter</span></a> representing the row at the given index.
|
1508
|
+
</p>
|
1509
|
+
<p>
|
1510
|
+
If a filter function has been set using <a class="link" href="ClutterModel.html#clutter-model-set-filter" title="clutter_model_set_filter ()"><code class="function">clutter_model_set_filter()</code></a>
|
1511
|
+
then the <em class="parameter"><code>model</code></em> implementation will return the first non filtered
|
1512
|
+
row.
|
1513
|
+
</p>
|
1514
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1515
|
+
<colgroup>
|
1516
|
+
<col align="left" valign="top">
|
1517
|
+
<col>
|
1518
|
+
</colgroup>
|
1519
|
+
<tbody>
|
1520
|
+
<tr>
|
1521
|
+
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
1522
|
+
<td>a <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a>
|
1523
|
+
</td>
|
1524
|
+
</tr>
|
1525
|
+
<tr>
|
1526
|
+
<td><p><span class="term"><em class="parameter"><code>row</code></em> :</span></p></td>
|
1527
|
+
<td>position of the row to retrieve</td>
|
1528
|
+
</tr>
|
1529
|
+
<tr>
|
1530
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1531
|
+
<td>A new <a class="link" href="ClutterModelIter.html" title="ClutterModelIter"><span class="type">ClutterModelIter</span></a>, or <code class="literal">NULL</code> if <em class="parameter"><code>row</code></em> was
|
1532
|
+
out of bounds. When done using the iterator object, call <code class="function">g_object_unref()</code>
|
1533
|
+
to deallocate its resources. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
1534
|
+
</td>
|
1535
|
+
</tr>
|
1536
|
+
</tbody>
|
1537
|
+
</table></div>
|
1538
|
+
<p class="since">Since 0.6</p>
|
1539
|
+
</div>
|
1540
|
+
</div>
|
1541
|
+
<div class="refsect1">
|
1542
|
+
<a name="ClutterModel.property-details"></a><h2>Property Details</h2>
|
1543
|
+
<div class="refsect2">
|
1544
|
+
<a name="ClutterModel--filter-set"></a><h3>The <code class="literal">"filter-set"</code> property</h3>
|
1545
|
+
<pre class="programlisting"> "filter-set" <span class="type">gboolean</span> : Read</pre>
|
1546
|
+
<p>
|
1547
|
+
Whether the <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> has a filter set
|
1548
|
+
</p>
|
1549
|
+
<p>
|
1550
|
+
This property is set to <code class="literal">TRUE</code> if a filter function has been
|
1551
|
+
set using <a class="link" href="ClutterModel.html#clutter-model-set-filter" title="clutter_model_set_filter ()"><code class="function">clutter_model_set_filter()</code></a>
|
1552
|
+
</p>
|
1553
|
+
<p>Default value: FALSE</p>
|
1554
|
+
<p class="since">Since 1.0</p>
|
1555
|
+
</div>
|
1556
|
+
</div>
|
1557
|
+
<div class="refsect1">
|
1558
|
+
<a name="ClutterModel.signal-details"></a><h2>Signal Details</h2>
|
1559
|
+
<div class="refsect2">
|
1560
|
+
<a name="ClutterModel-filter-changed"></a><h3>The <code class="literal">"filter-changed"</code> signal</h3>
|
1561
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model,
|
1562
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
|
1563
|
+
<p>
|
1564
|
+
The ::filter-changed signal is emitted when a new filter has been applied
|
1565
|
+
</p>
|
1566
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1567
|
+
<colgroup>
|
1568
|
+
<col align="left" valign="top">
|
1569
|
+
<col>
|
1570
|
+
</colgroup>
|
1571
|
+
<tbody>
|
1572
|
+
<tr>
|
1573
|
+
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
1574
|
+
<td>the <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> on which the signal is emitted</td>
|
1575
|
+
</tr>
|
1576
|
+
<tr>
|
1577
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1578
|
+
<td>user data set when the signal handler was connected.</td>
|
1579
|
+
</tr>
|
1580
|
+
</tbody>
|
1581
|
+
</table></div>
|
1582
|
+
<p class="since">Since 0.6</p>
|
1583
|
+
</div>
|
1584
|
+
<hr>
|
1585
|
+
<div class="refsect2">
|
1586
|
+
<a name="ClutterModel-row-added"></a><h3>The <code class="literal">"row-added"</code> signal</h3>
|
1587
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model,
|
1588
|
+
<a class="link" href="ClutterModelIter.html" title="ClutterModelIter"><span class="type">ClutterModelIter</span></a> *iter,
|
1589
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
|
1590
|
+
<p>
|
1591
|
+
The ::row-added signal is emitted when a new row has been added.
|
1592
|
+
The data on the row has already been set when the ::row-added signal
|
1593
|
+
has been emitted.
|
1594
|
+
</p>
|
1595
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1596
|
+
<colgroup>
|
1597
|
+
<col align="left" valign="top">
|
1598
|
+
<col>
|
1599
|
+
</colgroup>
|
1600
|
+
<tbody>
|
1601
|
+
<tr>
|
1602
|
+
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
1603
|
+
<td>the <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> on which the signal is emitted</td>
|
1604
|
+
</tr>
|
1605
|
+
<tr>
|
1606
|
+
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
1607
|
+
<td>a <a class="link" href="ClutterModelIter.html" title="ClutterModelIter"><span class="type">ClutterModelIter</span></a> pointing to the new row</td>
|
1608
|
+
</tr>
|
1609
|
+
<tr>
|
1610
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1611
|
+
<td>user data set when the signal handler was connected.</td>
|
1612
|
+
</tr>
|
1613
|
+
</tbody>
|
1614
|
+
</table></div>
|
1615
|
+
<p class="since">Since 0.6</p>
|
1616
|
+
</div>
|
1617
|
+
<hr>
|
1618
|
+
<div class="refsect2">
|
1619
|
+
<a name="ClutterModel-row-changed"></a><h3>The <code class="literal">"row-changed"</code> signal</h3>
|
1620
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model,
|
1621
|
+
<a class="link" href="ClutterModelIter.html" title="ClutterModelIter"><span class="type">ClutterModelIter</span></a> *iter,
|
1622
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
|
1623
|
+
<p>
|
1624
|
+
The ::row-removed signal is emitted when a row has been changed.
|
1625
|
+
The data on the row has already been updated when the ::row-changed
|
1626
|
+
signal has been emitted.
|
1627
|
+
</p>
|
1628
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1629
|
+
<colgroup>
|
1630
|
+
<col align="left" valign="top">
|
1631
|
+
<col>
|
1632
|
+
</colgroup>
|
1633
|
+
<tbody>
|
1634
|
+
<tr>
|
1635
|
+
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
1636
|
+
<td>the <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> on which the signal is emitted</td>
|
1637
|
+
</tr>
|
1638
|
+
<tr>
|
1639
|
+
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
1640
|
+
<td>a <a class="link" href="ClutterModelIter.html" title="ClutterModelIter"><span class="type">ClutterModelIter</span></a> pointing to the changed row</td>
|
1641
|
+
</tr>
|
1642
|
+
<tr>
|
1643
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1644
|
+
<td>user data set when the signal handler was connected.</td>
|
1645
|
+
</tr>
|
1646
|
+
</tbody>
|
1647
|
+
</table></div>
|
1648
|
+
<p class="since">Since 0.6</p>
|
1649
|
+
</div>
|
1650
|
+
<hr>
|
1651
|
+
<div class="refsect2">
|
1652
|
+
<a name="ClutterModel-row-removed"></a><h3>The <code class="literal">"row-removed"</code> signal</h3>
|
1653
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model,
|
1654
|
+
<a class="link" href="ClutterModelIter.html" title="ClutterModelIter"><span class="type">ClutterModelIter</span></a> *iter,
|
1655
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
|
1656
|
+
<p>
|
1657
|
+
The ::row-removed signal is emitted when a row has been removed.
|
1658
|
+
The data on the row pointed by the passed iterator is still valid
|
1659
|
+
when the ::row-removed signal has been emitted.
|
1660
|
+
</p>
|
1661
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1662
|
+
<colgroup>
|
1663
|
+
<col align="left" valign="top">
|
1664
|
+
<col>
|
1665
|
+
</colgroup>
|
1666
|
+
<tbody>
|
1667
|
+
<tr>
|
1668
|
+
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
1669
|
+
<td>the <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> on which the signal is emitted</td>
|
1670
|
+
</tr>
|
1671
|
+
<tr>
|
1672
|
+
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
1673
|
+
<td>a <a class="link" href="ClutterModelIter.html" title="ClutterModelIter"><span class="type">ClutterModelIter</span></a> pointing to the removed row</td>
|
1674
|
+
</tr>
|
1675
|
+
<tr>
|
1676
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1677
|
+
<td>user data set when the signal handler was connected.</td>
|
1678
|
+
</tr>
|
1679
|
+
</tbody>
|
1680
|
+
</table></div>
|
1681
|
+
<p class="since">Since 0.6</p>
|
1682
|
+
</div>
|
1683
|
+
<hr>
|
1684
|
+
<div class="refsect2">
|
1685
|
+
<a name="ClutterModel-sort-changed"></a><h3>The <code class="literal">"sort-changed"</code> signal</h3>
|
1686
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> *model,
|
1687
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
|
1688
|
+
<p>
|
1689
|
+
The ::sort-changed signal is emitted after the model has been sorted
|
1690
|
+
</p>
|
1691
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1692
|
+
<colgroup>
|
1693
|
+
<col align="left" valign="top">
|
1694
|
+
<col>
|
1695
|
+
</colgroup>
|
1696
|
+
<tbody>
|
1697
|
+
<tr>
|
1698
|
+
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
1699
|
+
<td>the <a class="link" href="ClutterModel.html" title="ClutterModel"><span class="type">ClutterModel</span></a> on which the signal is emitted</td>
|
1700
|
+
</tr>
|
1701
|
+
<tr>
|
1702
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1703
|
+
<td>user data set when the signal handler was connected.</td>
|
1704
|
+
</tr>
|
1705
|
+
</tbody>
|
1706
|
+
</table></div>
|
1707
|
+
<p class="since">Since 0.6</p>
|
1708
|
+
</div>
|
1709
|
+
</div>
|
1710
|
+
</div>
|
1711
|
+
<div class="footer">
|
1712
|
+
<hr>
|
1713
|
+
Generated by GTK-Doc V1.18.1</div>
|
1714
|
+
</body>
|
1715
|
+
</html>
|