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,310 @@
|
|
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>GObject Serialization</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
7
|
+
<link rel="home" href="index.html" title="JSON-GLib Reference Manual">
|
8
|
+
<link rel="up" href="json-advanced.html" title="Part IV. JSON-GLib Advanced API">
|
9
|
+
<link rel="prev" href="json-advanced.html" title="Part IV. JSON-GLib Advanced API">
|
10
|
+
<link rel="next" href="json-glib-Serializable-Interface.html" title="Serializable Interface">
|
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="json-advanced.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="json-advanced.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">JSON-GLib Reference Manual</th>
|
21
|
+
<td><a accesskey="n" href="json-glib-Serializable-Interface.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="#json-glib-GObject-Serialization.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#json-glib-GObject-Serialization.description" class="shortcut">Description</a>
|
27
|
+
</td></tr>
|
28
|
+
</table>
|
29
|
+
<div class="refentry">
|
30
|
+
<a name="json-glib-GObject-Serialization"></a><div class="titlepage"></div>
|
31
|
+
<div class="refnamediv"><table width="100%"><tr>
|
32
|
+
<td valign="top">
|
33
|
+
<h2><span class="refentrytitle"><a name="json-glib-GObject-Serialization.top_of_page"></a>GObject Serialization</span></h2>
|
34
|
+
<p>GObject Serialization — Serialize and deserialize GObjects</p>
|
35
|
+
</td>
|
36
|
+
<td valign="top" align="right"></td>
|
37
|
+
</tr></table></div>
|
38
|
+
<div class="refsynopsisdiv">
|
39
|
+
<a name="json-glib-GObject-Serialization.synopsis"></a><h2>Synopsis</h2>
|
40
|
+
<pre class="synopsis"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> * <a class="link" href="json-glib-GObject-Serialization.html#json-gobject-serialize" title="json_gobject_serialize ()">json_gobject_serialize</a> (<em class="parameter"><code><span class="type">GObject</span> *gobject</code></em>);
|
41
|
+
<span class="returnvalue">GObject</span> * <a class="link" href="json-glib-GObject-Serialization.html#json-gobject-deserialize" title="json_gobject_deserialize ()">json_gobject_deserialize</a> (<em class="parameter"><code><span class="type">GType</span> gtype</code></em>,
|
42
|
+
<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);
|
43
|
+
<span class="returnvalue">gchar</span> * <a class="link" href="json-glib-GObject-Serialization.html#json-gobject-to-data" title="json_gobject_to_data ()">json_gobject_to_data</a> (<em class="parameter"><code><span class="type">GObject</span> *gobject</code></em>,
|
44
|
+
<em class="parameter"><code><span class="type">gsize</span> *length</code></em>);
|
45
|
+
<span class="returnvalue">GObject</span> * <a class="link" href="json-glib-GObject-Serialization.html#json-gobject-from-data" title="json_gobject_from_data ()">json_gobject_from_data</a> (<em class="parameter"><code><span class="type">GType</span> gtype</code></em>,
|
46
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *data</code></em>,
|
47
|
+
<em class="parameter"><code><span class="type">gssize</span> length</code></em>,
|
48
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
49
|
+
|
50
|
+
<span class="returnvalue">GObject</span> * <a class="link" href="json-glib-GObject-Serialization.html#json-construct-gobject" title="json_construct_gobject ()">json_construct_gobject</a> (<em class="parameter"><code><span class="type">GType</span> gtype</code></em>,
|
51
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *data</code></em>,
|
52
|
+
<em class="parameter"><code><span class="type">gsize</span> length</code></em>,
|
53
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
54
|
+
<span class="returnvalue">gchar</span> * <a class="link" href="json-glib-GObject-Serialization.html#json-serialize-gobject" title="json_serialize_gobject ()">json_serialize_gobject</a> (<em class="parameter"><code><span class="type">GObject</span> *gobject</code></em>,
|
55
|
+
<em class="parameter"><code><span class="type">gsize</span> *length</code></em>);
|
56
|
+
</pre>
|
57
|
+
</div>
|
58
|
+
<div class="refsect1">
|
59
|
+
<a name="json-glib-GObject-Serialization.description"></a><h2>Description</h2>
|
60
|
+
<p>
|
61
|
+
JSON-GLib provides API for serializing and deserializing <span class="type">GObject</span>s
|
62
|
+
to and from JSON data streams.
|
63
|
+
</p>
|
64
|
+
<p>
|
65
|
+
Simple <span class="type">GObject</span> classes can be (de)serialized into JSON objects, if the
|
66
|
+
properties have compatible types with the native JSON types (integers,
|
67
|
+
booleans, strings, string vectors). If the class to be (de)serialized has
|
68
|
+
complex data types for properties (like boxed types or other objects)
|
69
|
+
then the class should implement the provided <span class="type">JsonSerializable</span> interface
|
70
|
+
and its virtual functions.
|
71
|
+
</p>
|
72
|
+
</div>
|
73
|
+
<div class="refsect1">
|
74
|
+
<a name="json-glib-GObject-Serialization.details"></a><h2>Details</h2>
|
75
|
+
<div class="refsect2">
|
76
|
+
<a name="json-gobject-serialize"></a><h3>json_gobject_serialize ()</h3>
|
77
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> * json_gobject_serialize (<em class="parameter"><code><span class="type">GObject</span> *gobject</code></em>);</pre>
|
78
|
+
<p>
|
79
|
+
Creates a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> representing the passed <span class="type">GObject</span>
|
80
|
+
instance. Each member of the returned JSON object will
|
81
|
+
map to a property of the <span class="type">GObject</span>
|
82
|
+
</p>
|
83
|
+
<div class="variablelist"><table border="0">
|
84
|
+
<col align="left" valign="top">
|
85
|
+
<tbody>
|
86
|
+
<tr>
|
87
|
+
<td><p><span class="term"><em class="parameter"><code>gobject</code></em> :</span></p></td>
|
88
|
+
<td>a <span class="type">GObject</span>
|
89
|
+
</td>
|
90
|
+
</tr>
|
91
|
+
<tr>
|
92
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
93
|
+
<td>the newly created <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
94
|
+
of type <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-OBJECT:CAPS"><code class="literal">JSON_NODE_OBJECT</code></a>. Use <a class="link" href="json-glib-JSON-Node.html#json-node-free" title="json_node_free ()"><code class="function">json_node_free()</code></a> to free
|
95
|
+
the resources allocated by this function. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
96
|
+
</td>
|
97
|
+
</tr>
|
98
|
+
</tbody>
|
99
|
+
</table></div>
|
100
|
+
<p class="since">Since 0.10</p>
|
101
|
+
</div>
|
102
|
+
<hr>
|
103
|
+
<div class="refsect2">
|
104
|
+
<a name="json-gobject-deserialize"></a><h3>json_gobject_deserialize ()</h3>
|
105
|
+
<pre class="programlisting"><span class="returnvalue">GObject</span> * json_gobject_deserialize (<em class="parameter"><code><span class="type">GType</span> gtype</code></em>,
|
106
|
+
<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
|
107
|
+
<p>
|
108
|
+
Creates a new <span class="type">GObject</span> of type <em class="parameter"><code>gtype</code></em>, and constructs it
|
109
|
+
using the members of the passed <a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a>
|
110
|
+
</p>
|
111
|
+
<div class="variablelist"><table border="0">
|
112
|
+
<col align="left" valign="top">
|
113
|
+
<tbody>
|
114
|
+
<tr>
|
115
|
+
<td><p><span class="term"><em class="parameter"><code>gtype</code></em> :</span></p></td>
|
116
|
+
<td>the type of the <span class="type">GObject</span> to create</td>
|
117
|
+
</tr>
|
118
|
+
<tr>
|
119
|
+
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
|
120
|
+
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> of type <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-OBJECT:CAPS"><code class="literal">JSON_NODE_OBJECT</code></a> describing the
|
121
|
+
instance of type <em class="parameter"><code>gtype</code></em>
|
122
|
+
</td>
|
123
|
+
</tr>
|
124
|
+
<tr>
|
125
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
126
|
+
<td>The newly created <span class="type">GObject</span>
|
127
|
+
instance. Use <code class="function">g_object_unref()</code> to free the resources
|
128
|
+
allocated by this function. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
129
|
+
</td>
|
130
|
+
</tr>
|
131
|
+
</tbody>
|
132
|
+
</table></div>
|
133
|
+
<p class="since">Since 0.10</p>
|
134
|
+
</div>
|
135
|
+
<hr>
|
136
|
+
<div class="refsect2">
|
137
|
+
<a name="json-gobject-to-data"></a><h3>json_gobject_to_data ()</h3>
|
138
|
+
<pre class="programlisting"><span class="returnvalue">gchar</span> * json_gobject_to_data (<em class="parameter"><code><span class="type">GObject</span> *gobject</code></em>,
|
139
|
+
<em class="parameter"><code><span class="type">gsize</span> *length</code></em>);</pre>
|
140
|
+
<p>
|
141
|
+
Serializes a <span class="type">GObject</span> into a JSON data stream, iterating recursively
|
142
|
+
over each property.
|
143
|
+
</p>
|
144
|
+
<p>
|
145
|
+
If <em class="parameter"><code>gobject</code></em> implements the <a class="link" href="json-glib-Serializable-Interface.html#JsonSerializableIface" title="struct JsonSerializableIface"><span class="type">JsonSerializableIface</span></a> interface, it will
|
146
|
+
be asked to serialize all its properties; otherwise, the default
|
147
|
+
implementation will be use to translate the compatible types into
|
148
|
+
JSON native types.
|
149
|
+
</p>
|
150
|
+
<div class="variablelist"><table border="0">
|
151
|
+
<col align="left" valign="top">
|
152
|
+
<tbody>
|
153
|
+
<tr>
|
154
|
+
<td><p><span class="term"><em class="parameter"><code>gobject</code></em> :</span></p></td>
|
155
|
+
<td>a <span class="type">GObject</span>
|
156
|
+
</td>
|
157
|
+
</tr>
|
158
|
+
<tr>
|
159
|
+
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
160
|
+
<td>return value for the length of the buffer, or <a href="/home/ebassi/gnome3/install/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
161
|
+
</td>
|
162
|
+
</tr>
|
163
|
+
<tr>
|
164
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
165
|
+
<td>a JSON data stream representing the passed <span class="type">GObject</span>
|
166
|
+
</td>
|
167
|
+
</tr>
|
168
|
+
</tbody>
|
169
|
+
</table></div>
|
170
|
+
<p class="since">Since 0.10</p>
|
171
|
+
</div>
|
172
|
+
<hr>
|
173
|
+
<div class="refsect2">
|
174
|
+
<a name="json-gobject-from-data"></a><h3>json_gobject_from_data ()</h3>
|
175
|
+
<pre class="programlisting"><span class="returnvalue">GObject</span> * json_gobject_from_data (<em class="parameter"><code><span class="type">GType</span> gtype</code></em>,
|
176
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *data</code></em>,
|
177
|
+
<em class="parameter"><code><span class="type">gssize</span> length</code></em>,
|
178
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
179
|
+
<p>
|
180
|
+
Deserializes a JSON data stream and creates the corresponding
|
181
|
+
<span class="type">GObject</span> class. If <em class="parameter"><code>gtype</code></em> implements the <a class="link" href="json-glib-Serializable-Interface.html#JsonSerializableIface" title="struct JsonSerializableIface"><span class="type">JsonSerializableIface</span></a>
|
182
|
+
interface, it will be asked to deserialize all the JSON members
|
183
|
+
into the respective properties; otherwise, the default implementation
|
184
|
+
will be used to translate the compatible JSON native types.
|
185
|
+
</p>
|
186
|
+
<p>
|
187
|
+
Note: the JSON data stream must be an object declaration.
|
188
|
+
</p>
|
189
|
+
<div class="variablelist"><table border="0">
|
190
|
+
<col align="left" valign="top">
|
191
|
+
<tbody>
|
192
|
+
<tr>
|
193
|
+
<td><p><span class="term"><em class="parameter"><code>gtype</code></em> :</span></p></td>
|
194
|
+
<td>the <span class="type">GType</span> of object to construct</td>
|
195
|
+
</tr>
|
196
|
+
<tr>
|
197
|
+
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
198
|
+
<td>a JSON data stream</td>
|
199
|
+
</tr>
|
200
|
+
<tr>
|
201
|
+
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
202
|
+
<td>length of the data stream, or -1 if it is NUL-terminated</td>
|
203
|
+
</tr>
|
204
|
+
<tr>
|
205
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
206
|
+
<td>return location for a <span class="type">GError</span>, or <a href="/home/ebassi/gnome3/install/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
207
|
+
</td>
|
208
|
+
</tr>
|
209
|
+
<tr>
|
210
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
211
|
+
<td>a <span class="type">GObject</span> or <a href="/home/ebassi/gnome3/install/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
212
|
+
</td>
|
213
|
+
</tr>
|
214
|
+
</tbody>
|
215
|
+
</table></div>
|
216
|
+
<p class="since">Since 0.10</p>
|
217
|
+
</div>
|
218
|
+
<hr>
|
219
|
+
<div class="refsect2">
|
220
|
+
<a name="json-construct-gobject"></a><h3>json_construct_gobject ()</h3>
|
221
|
+
<pre class="programlisting"><span class="returnvalue">GObject</span> * json_construct_gobject (<em class="parameter"><code><span class="type">GType</span> gtype</code></em>,
|
222
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *data</code></em>,
|
223
|
+
<em class="parameter"><code><span class="type">gsize</span> length</code></em>,
|
224
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
225
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
226
|
+
<h3 class="title">Warning</h3>
|
227
|
+
<p><code class="literal">json_construct_gobject</code> has been deprecated since version 0.10 and should not be used in newly-written code. Use <a class="link" href="json-glib-GObject-Serialization.html#json-gobject-from-data" title="json_gobject_from_data ()"><code class="function">json_gobject_from_data()</code></a> instead</p>
|
228
|
+
</div>
|
229
|
+
<p>
|
230
|
+
Deserializes a JSON data stream and creates the corresponding
|
231
|
+
<span class="type">GObject</span> class. If <em class="parameter"><code>gtype</code></em> implements the <a class="link" href="json-glib-Serializable-Interface.html#JsonSerializableIface" title="struct JsonSerializableIface"><span class="type">JsonSerializableIface</span></a>
|
232
|
+
interface, it will be asked to deserialize all the JSON members
|
233
|
+
into the respective properties; otherwise, the default implementation
|
234
|
+
will be used to translate the compatible JSON native types.
|
235
|
+
</p>
|
236
|
+
<p>
|
237
|
+
Note: the JSON data stream must be an object declaration.
|
238
|
+
</p>
|
239
|
+
<div class="variablelist"><table border="0">
|
240
|
+
<col align="left" valign="top">
|
241
|
+
<tbody>
|
242
|
+
<tr>
|
243
|
+
<td><p><span class="term"><em class="parameter"><code>gtype</code></em> :</span></p></td>
|
244
|
+
<td>the <span class="type">GType</span> of object to construct</td>
|
245
|
+
</tr>
|
246
|
+
<tr>
|
247
|
+
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
248
|
+
<td>a JSON data stream</td>
|
249
|
+
</tr>
|
250
|
+
<tr>
|
251
|
+
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
252
|
+
<td>length of the data stream</td>
|
253
|
+
</tr>
|
254
|
+
<tr>
|
255
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
256
|
+
<td>return location for a <span class="type">GError</span>, or <a href="/home/ebassi/gnome3/install/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
257
|
+
</td>
|
258
|
+
</tr>
|
259
|
+
<tr>
|
260
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
261
|
+
<td>a <span class="type">GObject</span> or <a href="/home/ebassi/gnome3/install/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
262
|
+
</td>
|
263
|
+
</tr>
|
264
|
+
</tbody>
|
265
|
+
</table></div>
|
266
|
+
<p class="since">Since 0.4</p>
|
267
|
+
</div>
|
268
|
+
<hr>
|
269
|
+
<div class="refsect2">
|
270
|
+
<a name="json-serialize-gobject"></a><h3>json_serialize_gobject ()</h3>
|
271
|
+
<pre class="programlisting"><span class="returnvalue">gchar</span> * json_serialize_gobject (<em class="parameter"><code><span class="type">GObject</span> *gobject</code></em>,
|
272
|
+
<em class="parameter"><code><span class="type">gsize</span> *length</code></em>);</pre>
|
273
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
274
|
+
<h3 class="title">Warning</h3>
|
275
|
+
<p><code class="literal">json_serialize_gobject</code> has been deprecated since version 0.10 and should not be used in newly-written code. Use <a class="link" href="json-glib-GObject-Serialization.html#json-gobject-to-data" title="json_gobject_to_data ()"><code class="function">json_gobject_to_data()</code></a> instead</p>
|
276
|
+
</div>
|
277
|
+
<p>
|
278
|
+
Serializes a <span class="type">GObject</span> into a JSON data stream. If <em class="parameter"><code>gobject</code></em> implements
|
279
|
+
the <a class="link" href="json-glib-Serializable-Interface.html#JsonSerializableIface" title="struct JsonSerializableIface"><span class="type">JsonSerializableIface</span></a> interface, it will be asked to serizalize all
|
280
|
+
its properties; otherwise, the default implementation will be use to
|
281
|
+
translate the compatible types into JSON native types.
|
282
|
+
</p>
|
283
|
+
<div class="variablelist"><table border="0">
|
284
|
+
<col align="left" valign="top">
|
285
|
+
<tbody>
|
286
|
+
<tr>
|
287
|
+
<td><p><span class="term"><em class="parameter"><code>gobject</code></em> :</span></p></td>
|
288
|
+
<td>a <span class="type">GObject</span>
|
289
|
+
</td>
|
290
|
+
</tr>
|
291
|
+
<tr>
|
292
|
+
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
293
|
+
<td>return value for the length of the buffer, or <a href="/home/ebassi/gnome3/install/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
294
|
+
</td>
|
295
|
+
</tr>
|
296
|
+
<tr>
|
297
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
298
|
+
<td>a JSON data stream representing the passed <span class="type">GObject</span>
|
299
|
+
</td>
|
300
|
+
</tr>
|
301
|
+
</tbody>
|
302
|
+
</table></div>
|
303
|
+
</div>
|
304
|
+
</div>
|
305
|
+
</div>
|
306
|
+
<div class="footer">
|
307
|
+
<hr>
|
308
|
+
Generated by GTK-Doc V1.18.1</div>
|
309
|
+
</body>
|
310
|
+
</html>
|
@@ -0,0 +1,850 @@
|
|
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>JSON Array</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
7
|
+
<link rel="home" href="index.html" title="JSON-GLib Reference Manual">
|
8
|
+
<link rel="up" href="ch01.html" title="Data Types">
|
9
|
+
<link rel="prev" href="json-glib-JSON-Node.html" title="JSON Node">
|
10
|
+
<link rel="next" href="json-glib-JSON-Object.html" title="JSON Object">
|
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="json-glib-JSON-Node.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="ch01.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">JSON-GLib Reference Manual</th>
|
21
|
+
<td><a accesskey="n" href="json-glib-JSON-Object.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="#json-glib-JSON-Array.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#json-glib-JSON-Array.description" class="shortcut">Description</a>
|
27
|
+
</td></tr>
|
28
|
+
</table>
|
29
|
+
<div class="refentry">
|
30
|
+
<a name="json-glib-JSON-Array"></a><div class="titlepage"></div>
|
31
|
+
<div class="refnamediv"><table width="100%"><tr>
|
32
|
+
<td valign="top">
|
33
|
+
<h2><span class="refentrytitle"><a name="json-glib-JSON-Array.top_of_page"></a>JSON Array</span></h2>
|
34
|
+
<p>JSON Array — a JSON array representation</p>
|
35
|
+
</td>
|
36
|
+
<td valign="top" align="right"></td>
|
37
|
+
</tr></table></div>
|
38
|
+
<div class="refsynopsisdiv">
|
39
|
+
<a name="json-glib-JSON-Array.synopsis"></a><h2>Synopsis</h2>
|
40
|
+
<pre class="synopsis"> <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray">JsonArray</a>;
|
41
|
+
<a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="returnvalue">JsonArray</span></a> * <a class="link" href="json-glib-JSON-Array.html#json-array-new" title="json_array_new ()">json_array_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
42
|
+
<a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="returnvalue">JsonArray</span></a> * <a class="link" href="json-glib-JSON-Array.html#json-array-sized-new" title="json_array_sized_new ()">json_array_sized_new</a> (<em class="parameter"><code><span class="type">guint</span> n_elements</code></em>);
|
43
|
+
<a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="returnvalue">JsonArray</span></a> * <a class="link" href="json-glib-JSON-Array.html#json-array-ref" title="json_array_ref ()">json_array_ref</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>);
|
44
|
+
<span class="returnvalue">void</span> <a class="link" href="json-glib-JSON-Array.html#json-array-unref" title="json_array_unref ()">json_array_unref</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>);
|
45
|
+
|
46
|
+
<span class="returnvalue">void</span> <a class="link" href="json-glib-JSON-Array.html#json-array-add-element" title="json_array_add_element ()">json_array_add_element</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
47
|
+
<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);
|
48
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> * <a class="link" href="json-glib-JSON-Array.html#json-array-get-element" title="json_array_get_element ()">json_array_get_element</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
49
|
+
<em class="parameter"><code><span class="type">guint</span> index_</code></em>);
|
50
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> * <a class="link" href="json-glib-JSON-Array.html#json-array-dup-element" title="json_array_dup_element ()">json_array_dup_element</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
51
|
+
<em class="parameter"><code><span class="type">guint</span> index_</code></em>);
|
52
|
+
<span class="returnvalue">GList</span> * <a class="link" href="json-glib-JSON-Array.html#json-array-get-elements" title="json_array_get_elements ()">json_array_get_elements</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>);
|
53
|
+
<span class="returnvalue">guint</span> <a class="link" href="json-glib-JSON-Array.html#json-array-get-length" title="json_array_get_length ()">json_array_get_length</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>);
|
54
|
+
<span class="returnvalue">void</span> <a class="link" href="json-glib-JSON-Array.html#json-array-remove-element" title="json_array_remove_element ()">json_array_remove_element</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
55
|
+
<em class="parameter"><code><span class="type">guint</span> index_</code></em>);
|
56
|
+
<span class="returnvalue">void</span> (<a class="link" href="json-glib-JSON-Array.html#JsonArrayForeach" title="JsonArrayForeach ()">*JsonArrayForeach</a>) (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
57
|
+
<em class="parameter"><code><span class="type">guint</span> index_</code></em>,
|
58
|
+
<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *element_node</code></em>,
|
59
|
+
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
|
60
|
+
<span class="returnvalue">void</span> <a class="link" href="json-glib-JSON-Array.html#json-array-foreach-element" title="json_array_foreach_element ()">json_array_foreach_element</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
61
|
+
<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArrayForeach" title="JsonArrayForeach ()"><span class="type">JsonArrayForeach</span></a> func</code></em>,
|
62
|
+
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);
|
63
|
+
|
64
|
+
<span class="returnvalue">void</span> <a class="link" href="json-glib-JSON-Array.html#json-array-add-array-element" title="json_array_add_array_element ()">json_array_add_array_element</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
65
|
+
<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *value</code></em>);
|
66
|
+
<a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="returnvalue">JsonArray</span></a> * <a class="link" href="json-glib-JSON-Array.html#json-array-get-array-element" title="json_array_get_array_element ()">json_array_get_array_element</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
67
|
+
<em class="parameter"><code><span class="type">guint</span> index_</code></em>);
|
68
|
+
<span class="returnvalue">void</span> <a class="link" href="json-glib-JSON-Array.html#json-array-add-boolean-element" title="json_array_add_boolean_element ()">json_array_add_boolean_element</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
69
|
+
<em class="parameter"><code><span class="type">gboolean</span> value</code></em>);
|
70
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="json-glib-JSON-Array.html#json-array-get-boolean-element" title="json_array_get_boolean_element ()">json_array_get_boolean_element</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
71
|
+
<em class="parameter"><code><span class="type">guint</span> index_</code></em>);
|
72
|
+
<span class="returnvalue">void</span> <a class="link" href="json-glib-JSON-Array.html#json-array-add-double-element" title="json_array_add_double_element ()">json_array_add_double_element</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
73
|
+
<em class="parameter"><code><span class="type">gdouble</span> value</code></em>);
|
74
|
+
<span class="returnvalue">gdouble</span> <a class="link" href="json-glib-JSON-Array.html#json-array-get-double-element" title="json_array_get_double_element ()">json_array_get_double_element</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
75
|
+
<em class="parameter"><code><span class="type">guint</span> index_</code></em>);
|
76
|
+
<span class="returnvalue">void</span> <a class="link" href="json-glib-JSON-Array.html#json-array-add-int-element" title="json_array_add_int_element ()">json_array_add_int_element</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
77
|
+
<em class="parameter"><code><span class="type">gint64</span> value</code></em>);
|
78
|
+
<span class="returnvalue">gint64</span> <a class="link" href="json-glib-JSON-Array.html#json-array-get-int-element" title="json_array_get_int_element ()">json_array_get_int_element</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
79
|
+
<em class="parameter"><code><span class="type">guint</span> index_</code></em>);
|
80
|
+
<span class="returnvalue">void</span> <a class="link" href="json-glib-JSON-Array.html#json-array-add-null-element" title="json_array_add_null_element ()">json_array_add_null_element</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>);
|
81
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="json-glib-JSON-Array.html#json-array-get-null-element" title="json_array_get_null_element ()">json_array_get_null_element</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
82
|
+
<em class="parameter"><code><span class="type">guint</span> index_</code></em>);
|
83
|
+
<span class="returnvalue">void</span> <a class="link" href="json-glib-JSON-Array.html#json-array-add-object-element" title="json_array_add_object_element ()">json_array_add_object_element</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
84
|
+
<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a> *value</code></em>);
|
85
|
+
<a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="returnvalue">JsonObject</span></a> * <a class="link" href="json-glib-JSON-Array.html#json-array-get-object-element" title="json_array_get_object_element ()">json_array_get_object_element</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
86
|
+
<em class="parameter"><code><span class="type">guint</span> index_</code></em>);
|
87
|
+
<span class="returnvalue">void</span> <a class="link" href="json-glib-JSON-Array.html#json-array-add-string-element" title="json_array_add_string_element ()">json_array_add_string_element</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
88
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);
|
89
|
+
const <span class="returnvalue">gchar</span> * <a class="link" href="json-glib-JSON-Array.html#json-array-get-string-element" title="json_array_get_string_element ()">json_array_get_string_element</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
90
|
+
<em class="parameter"><code><span class="type">guint</span> index_</code></em>);
|
91
|
+
</pre>
|
92
|
+
</div>
|
93
|
+
<div class="refsect1">
|
94
|
+
<a name="json-glib-JSON-Array.description"></a><h2>Description</h2>
|
95
|
+
<p>
|
96
|
+
<a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> is the representation of the array type inside JSON. It contains
|
97
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>s, which may contain fundamental types, other arrays or
|
98
|
+
objects.
|
99
|
+
</p>
|
100
|
+
<p>
|
101
|
+
Since arrays can be expensive, they are reference counted. You can control
|
102
|
+
the lifetime of a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> using <a class="link" href="json-glib-JSON-Array.html#json-array-ref" title="json_array_ref ()"><code class="function">json_array_ref()</code></a> and <a class="link" href="json-glib-JSON-Array.html#json-array-unref" title="json_array_unref ()"><code class="function">json_array_unref()</code></a>.
|
103
|
+
</p>
|
104
|
+
<p>
|
105
|
+
To append an element, use <a class="link" href="json-glib-JSON-Array.html#json-array-add-element" title="json_array_add_element ()"><code class="function">json_array_add_element()</code></a>.
|
106
|
+
To extract an element at a given index, use <a class="link" href="json-glib-JSON-Array.html#json-array-get-element" title="json_array_get_element ()"><code class="function">json_array_get_element()</code></a>.
|
107
|
+
To retrieve the entire array in list form, use <a class="link" href="json-glib-JSON-Array.html#json-array-get-elements" title="json_array_get_elements ()"><code class="function">json_array_get_elements()</code></a>.
|
108
|
+
To retrieve the length of the array, use <a class="link" href="json-glib-JSON-Array.html#json-array-get-length" title="json_array_get_length ()"><code class="function">json_array_get_length()</code></a>.
|
109
|
+
</p>
|
110
|
+
</div>
|
111
|
+
<div class="refsect1">
|
112
|
+
<a name="json-glib-JSON-Array.details"></a><h2>Details</h2>
|
113
|
+
<div class="refsect2">
|
114
|
+
<a name="JsonArray"></a><h3>JsonArray</h3>
|
115
|
+
<pre class="programlisting">typedef struct _JsonArray JsonArray;</pre>
|
116
|
+
<p>
|
117
|
+
A JSON array type. The contents of the <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> structure are private
|
118
|
+
and should only be accessed by the provided API
|
119
|
+
</p>
|
120
|
+
</div>
|
121
|
+
<hr>
|
122
|
+
<div class="refsect2">
|
123
|
+
<a name="json-array-new"></a><h3>json_array_new ()</h3>
|
124
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="returnvalue">JsonArray</span></a> * json_array_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
125
|
+
<p>
|
126
|
+
Creates a new <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>.
|
127
|
+
</p>
|
128
|
+
<div class="variablelist"><table border="0">
|
129
|
+
<col align="left" valign="top">
|
130
|
+
<tbody><tr>
|
131
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
132
|
+
<td>the newly created <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
133
|
+
</td>
|
134
|
+
</tr></tbody>
|
135
|
+
</table></div>
|
136
|
+
</div>
|
137
|
+
<hr>
|
138
|
+
<div class="refsect2">
|
139
|
+
<a name="json-array-sized-new"></a><h3>json_array_sized_new ()</h3>
|
140
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="returnvalue">JsonArray</span></a> * json_array_sized_new (<em class="parameter"><code><span class="type">guint</span> n_elements</code></em>);</pre>
|
141
|
+
<p>
|
142
|
+
Creates a new <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> with <em class="parameter"><code>n_elements</code></em> slots already allocated.
|
143
|
+
</p>
|
144
|
+
<div class="variablelist"><table border="0">
|
145
|
+
<col align="left" valign="top">
|
146
|
+
<tbody>
|
147
|
+
<tr>
|
148
|
+
<td><p><span class="term"><em class="parameter"><code>n_elements</code></em> :</span></p></td>
|
149
|
+
<td>number of slots to pre-allocate</td>
|
150
|
+
</tr>
|
151
|
+
<tr>
|
152
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
153
|
+
<td>the newly created <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
154
|
+
</td>
|
155
|
+
</tr>
|
156
|
+
</tbody>
|
157
|
+
</table></div>
|
158
|
+
</div>
|
159
|
+
<hr>
|
160
|
+
<div class="refsect2">
|
161
|
+
<a name="json-array-ref"></a><h3>json_array_ref ()</h3>
|
162
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="returnvalue">JsonArray</span></a> * json_array_ref (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>);</pre>
|
163
|
+
<p>
|
164
|
+
Increase by one the reference count of a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>.
|
165
|
+
</p>
|
166
|
+
<div class="variablelist"><table border="0">
|
167
|
+
<col align="left" valign="top">
|
168
|
+
<tbody>
|
169
|
+
<tr>
|
170
|
+
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
171
|
+
<td>a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
172
|
+
</td>
|
173
|
+
</tr>
|
174
|
+
<tr>
|
175
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
176
|
+
<td>the passed <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>, with the reference count
|
177
|
+
increased by one.</td>
|
178
|
+
</tr>
|
179
|
+
</tbody>
|
180
|
+
</table></div>
|
181
|
+
</div>
|
182
|
+
<hr>
|
183
|
+
<div class="refsect2">
|
184
|
+
<a name="json-array-unref"></a><h3>json_array_unref ()</h3>
|
185
|
+
<pre class="programlisting"><span class="returnvalue">void</span> json_array_unref (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>);</pre>
|
186
|
+
<p>
|
187
|
+
Decreases by one the reference count of a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>. If the
|
188
|
+
reference count reaches zero, the array is destroyed and all
|
189
|
+
its allocated resources are freed.
|
190
|
+
</p>
|
191
|
+
<div class="variablelist"><table border="0">
|
192
|
+
<col align="left" valign="top">
|
193
|
+
<tbody><tr>
|
194
|
+
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
195
|
+
<td>a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
196
|
+
</td>
|
197
|
+
</tr></tbody>
|
198
|
+
</table></div>
|
199
|
+
</div>
|
200
|
+
<hr>
|
201
|
+
<div class="refsect2">
|
202
|
+
<a name="json-array-add-element"></a><h3>json_array_add_element ()</h3>
|
203
|
+
<pre class="programlisting"><span class="returnvalue">void</span> json_array_add_element (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
204
|
+
<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
|
205
|
+
<p>
|
206
|
+
Appends <em class="parameter"><code>node</code></em> inside <em class="parameter"><code>array</code></em>. The array will take ownership of the
|
207
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>.
|
208
|
+
</p>
|
209
|
+
<div class="variablelist"><table border="0">
|
210
|
+
<col align="left" valign="top">
|
211
|
+
<tbody>
|
212
|
+
<tr>
|
213
|
+
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
214
|
+
<td>a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
215
|
+
</td>
|
216
|
+
</tr>
|
217
|
+
<tr>
|
218
|
+
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
|
219
|
+
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
220
|
+
</td>
|
221
|
+
</tr>
|
222
|
+
</tbody>
|
223
|
+
</table></div>
|
224
|
+
</div>
|
225
|
+
<hr>
|
226
|
+
<div class="refsect2">
|
227
|
+
<a name="json-array-get-element"></a><h3>json_array_get_element ()</h3>
|
228
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> * json_array_get_element (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
229
|
+
<em class="parameter"><code><span class="type">guint</span> index_</code></em>);</pre>
|
230
|
+
<p>
|
231
|
+
Retrieves the <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> containing the value of the element at <em class="parameter"><code>index_</code></em>
|
232
|
+
inside a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>.
|
233
|
+
</p>
|
234
|
+
<div class="variablelist"><table border="0">
|
235
|
+
<col align="left" valign="top">
|
236
|
+
<tbody>
|
237
|
+
<tr>
|
238
|
+
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
239
|
+
<td>a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
240
|
+
</td>
|
241
|
+
</tr>
|
242
|
+
<tr>
|
243
|
+
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
|
244
|
+
<td>the index of the element to retrieve</td>
|
245
|
+
</tr>
|
246
|
+
<tr>
|
247
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
248
|
+
<td>a pointer to the <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> at the requested index. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
249
|
+
</td>
|
250
|
+
</tr>
|
251
|
+
</tbody>
|
252
|
+
</table></div>
|
253
|
+
</div>
|
254
|
+
<hr>
|
255
|
+
<div class="refsect2">
|
256
|
+
<a name="json-array-dup-element"></a><h3>json_array_dup_element ()</h3>
|
257
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> * json_array_dup_element (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
258
|
+
<em class="parameter"><code><span class="type">guint</span> index_</code></em>);</pre>
|
259
|
+
<p>
|
260
|
+
Retrieves a copy of the <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> containing the value of the
|
261
|
+
element at <em class="parameter"><code>index_</code></em> inside a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
262
|
+
</p>
|
263
|
+
<div class="variablelist"><table border="0">
|
264
|
+
<col align="left" valign="top">
|
265
|
+
<tbody>
|
266
|
+
<tr>
|
267
|
+
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
268
|
+
<td>a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
269
|
+
</td>
|
270
|
+
</tr>
|
271
|
+
<tr>
|
272
|
+
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
|
273
|
+
<td>the index of the element to retrieve</td>
|
274
|
+
</tr>
|
275
|
+
<tr>
|
276
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
277
|
+
<td>a copy of the <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> at the requested
|
278
|
+
index. Use <a class="link" href="json-glib-JSON-Node.html#json-node-free" title="json_node_free ()"><code class="function">json_node_free()</code></a> when done. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
279
|
+
</td>
|
280
|
+
</tr>
|
281
|
+
</tbody>
|
282
|
+
</table></div>
|
283
|
+
<p class="since">Since 0.6</p>
|
284
|
+
</div>
|
285
|
+
<hr>
|
286
|
+
<div class="refsect2">
|
287
|
+
<a name="json-array-get-elements"></a><h3>json_array_get_elements ()</h3>
|
288
|
+
<pre class="programlisting"><span class="returnvalue">GList</span> * json_array_get_elements (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>);</pre>
|
289
|
+
<p>
|
290
|
+
Gets the elements of a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> as a list of <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>s.
|
291
|
+
</p>
|
292
|
+
<div class="variablelist"><table border="0">
|
293
|
+
<col align="left" valign="top">
|
294
|
+
<tbody>
|
295
|
+
<tr>
|
296
|
+
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
297
|
+
<td>a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
298
|
+
</td>
|
299
|
+
</tr>
|
300
|
+
<tr>
|
301
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
302
|
+
<td>a <span class="type">GList</span>
|
303
|
+
containing the elements of the array. The contents of the list are
|
304
|
+
owned by the array and should never be modified or freed. Use
|
305
|
+
<code class="function">g_list_free()</code> on the returned list when done using it. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> JsonNode][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span>
|
306
|
+
</td>
|
307
|
+
</tr>
|
308
|
+
</tbody>
|
309
|
+
</table></div>
|
310
|
+
</div>
|
311
|
+
<hr>
|
312
|
+
<div class="refsect2">
|
313
|
+
<a name="json-array-get-length"></a><h3>json_array_get_length ()</h3>
|
314
|
+
<pre class="programlisting"><span class="returnvalue">guint</span> json_array_get_length (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>);</pre>
|
315
|
+
<p>
|
316
|
+
Retrieves the length of a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
317
|
+
</p>
|
318
|
+
<div class="variablelist"><table border="0">
|
319
|
+
<col align="left" valign="top">
|
320
|
+
<tbody>
|
321
|
+
<tr>
|
322
|
+
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
323
|
+
<td>a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
324
|
+
</td>
|
325
|
+
</tr>
|
326
|
+
<tr>
|
327
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
328
|
+
<td>the length of the array</td>
|
329
|
+
</tr>
|
330
|
+
</tbody>
|
331
|
+
</table></div>
|
332
|
+
</div>
|
333
|
+
<hr>
|
334
|
+
<div class="refsect2">
|
335
|
+
<a name="json-array-remove-element"></a><h3>json_array_remove_element ()</h3>
|
336
|
+
<pre class="programlisting"><span class="returnvalue">void</span> json_array_remove_element (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
337
|
+
<em class="parameter"><code><span class="type">guint</span> index_</code></em>);</pre>
|
338
|
+
<p>
|
339
|
+
Removes the <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> inside <em class="parameter"><code>array</code></em> at <em class="parameter"><code>index_</code></em> freeing its allocated
|
340
|
+
resources.
|
341
|
+
</p>
|
342
|
+
<div class="variablelist"><table border="0">
|
343
|
+
<col align="left" valign="top">
|
344
|
+
<tbody>
|
345
|
+
<tr>
|
346
|
+
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
347
|
+
<td>a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
348
|
+
</td>
|
349
|
+
</tr>
|
350
|
+
<tr>
|
351
|
+
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
|
352
|
+
<td>the position of the element to be removed</td>
|
353
|
+
</tr>
|
354
|
+
</tbody>
|
355
|
+
</table></div>
|
356
|
+
</div>
|
357
|
+
<hr>
|
358
|
+
<div class="refsect2">
|
359
|
+
<a name="JsonArrayForeach"></a><h3>JsonArrayForeach ()</h3>
|
360
|
+
<pre class="programlisting"><span class="returnvalue">void</span> (*JsonArrayForeach) (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
361
|
+
<em class="parameter"><code><span class="type">guint</span> index_</code></em>,
|
362
|
+
<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *element_node</code></em>,
|
363
|
+
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
|
364
|
+
<p>
|
365
|
+
The function to be passed to <a class="link" href="json-glib-JSON-Array.html#json-array-foreach-element" title="json_array_foreach_element ()"><code class="function">json_array_foreach_element()</code></a>. You
|
366
|
+
should not add or remove elements to and from <em class="parameter"><code>array</code></em> within
|
367
|
+
this function. It is safe to change the value of <em class="parameter"><code>element_node</code></em>.
|
368
|
+
</p>
|
369
|
+
<div class="variablelist"><table border="0">
|
370
|
+
<col align="left" valign="top">
|
371
|
+
<tbody>
|
372
|
+
<tr>
|
373
|
+
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
374
|
+
<td>the iterated <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
375
|
+
</td>
|
376
|
+
</tr>
|
377
|
+
<tr>
|
378
|
+
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
|
379
|
+
<td>the index of the element</td>
|
380
|
+
</tr>
|
381
|
+
<tr>
|
382
|
+
<td><p><span class="term"><em class="parameter"><code>element_node</code></em> :</span></p></td>
|
383
|
+
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> containing the value at <em class="parameter"><code>index_</code></em>
|
384
|
+
</td>
|
385
|
+
</tr>
|
386
|
+
<tr>
|
387
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
388
|
+
<td>data passed to the function</td>
|
389
|
+
</tr>
|
390
|
+
</tbody>
|
391
|
+
</table></div>
|
392
|
+
<p class="since">Since 0.8</p>
|
393
|
+
</div>
|
394
|
+
<hr>
|
395
|
+
<div class="refsect2">
|
396
|
+
<a name="json-array-foreach-element"></a><h3>json_array_foreach_element ()</h3>
|
397
|
+
<pre class="programlisting"><span class="returnvalue">void</span> json_array_foreach_element (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
398
|
+
<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArrayForeach" title="JsonArrayForeach ()"><span class="type">JsonArrayForeach</span></a> func</code></em>,
|
399
|
+
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
|
400
|
+
<p>
|
401
|
+
Iterates over all elements of <em class="parameter"><code>array</code></em> and calls <em class="parameter"><code>func</code></em> on
|
402
|
+
each one of them.
|
403
|
+
</p>
|
404
|
+
<p>
|
405
|
+
It is safe to change the value of a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> of the <em class="parameter"><code>array</code></em>
|
406
|
+
from within the iterator <em class="parameter"><code>func</code></em>, but it is not safe to add or
|
407
|
+
remove elements from the <em class="parameter"><code>array</code></em>.
|
408
|
+
</p>
|
409
|
+
<div class="variablelist"><table border="0">
|
410
|
+
<col align="left" valign="top">
|
411
|
+
<tbody>
|
412
|
+
<tr>
|
413
|
+
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
414
|
+
<td>a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
415
|
+
</td>
|
416
|
+
</tr>
|
417
|
+
<tr>
|
418
|
+
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
|
419
|
+
<td>the function to be called on each element. <span class="annotation">[<acronym title="The callback is valid only during the call to the method."><span class="acronym">scope call</span></acronym>]</span>
|
420
|
+
</td>
|
421
|
+
</tr>
|
422
|
+
<tr>
|
423
|
+
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
424
|
+
<td>data to be passed to the function. <span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span>
|
425
|
+
</td>
|
426
|
+
</tr>
|
427
|
+
</tbody>
|
428
|
+
</table></div>
|
429
|
+
<p class="since">Since 0.8</p>
|
430
|
+
</div>
|
431
|
+
<hr>
|
432
|
+
<div class="refsect2">
|
433
|
+
<a name="json-array-add-array-element"></a><h3>json_array_add_array_element ()</h3>
|
434
|
+
<pre class="programlisting"><span class="returnvalue">void</span> json_array_add_array_element (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
435
|
+
<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *value</code></em>);</pre>
|
436
|
+
<p>
|
437
|
+
Conveniently adds an array into <em class="parameter"><code>array</code></em>. The <em class="parameter"><code>array</code></em> takes ownership
|
438
|
+
of the newly added <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
439
|
+
</p>
|
440
|
+
<p>
|
441
|
+
See also: <a class="link" href="json-glib-JSON-Array.html#json-array-add-element" title="json_array_add_element ()"><code class="function">json_array_add_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#json-node-take-array" title="json_node_take_array ()"><code class="function">json_node_take_array()</code></a>
|
442
|
+
</p>
|
443
|
+
<div class="variablelist"><table border="0">
|
444
|
+
<col align="left" valign="top">
|
445
|
+
<tbody>
|
446
|
+
<tr>
|
447
|
+
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
448
|
+
<td>a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
449
|
+
</td>
|
450
|
+
</tr>
|
451
|
+
<tr>
|
452
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
453
|
+
<td>a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
454
|
+
</td>
|
455
|
+
</tr>
|
456
|
+
</tbody>
|
457
|
+
</table></div>
|
458
|
+
<p class="since">Since 0.8</p>
|
459
|
+
</div>
|
460
|
+
<hr>
|
461
|
+
<div class="refsect2">
|
462
|
+
<a name="json-array-get-array-element"></a><h3>json_array_get_array_element ()</h3>
|
463
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="returnvalue">JsonArray</span></a> * json_array_get_array_element (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
464
|
+
<em class="parameter"><code><span class="type">guint</span> index_</code></em>);</pre>
|
465
|
+
<p>
|
466
|
+
Conveniently retrieves the array from the element at <em class="parameter"><code>index_</code></em>
|
467
|
+
inside <em class="parameter"><code>array</code></em>
|
468
|
+
</p>
|
469
|
+
<p>
|
470
|
+
See also: <a class="link" href="json-glib-JSON-Array.html#json-array-get-element" title="json_array_get_element ()"><code class="function">json_array_get_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#json-node-get-array" title="json_node_get_array ()"><code class="function">json_node_get_array()</code></a>
|
471
|
+
</p>
|
472
|
+
<div class="variablelist"><table border="0">
|
473
|
+
<col align="left" valign="top">
|
474
|
+
<tbody>
|
475
|
+
<tr>
|
476
|
+
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
477
|
+
<td>a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
478
|
+
</td>
|
479
|
+
</tr>
|
480
|
+
<tr>
|
481
|
+
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
|
482
|
+
<td>the index of the element to retrieve</td>
|
483
|
+
</tr>
|
484
|
+
<tr>
|
485
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
486
|
+
<td>the array. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
487
|
+
</td>
|
488
|
+
</tr>
|
489
|
+
</tbody>
|
490
|
+
</table></div>
|
491
|
+
<p class="since">Since 0.8</p>
|
492
|
+
</div>
|
493
|
+
<hr>
|
494
|
+
<div class="refsect2">
|
495
|
+
<a name="json-array-add-boolean-element"></a><h3>json_array_add_boolean_element ()</h3>
|
496
|
+
<pre class="programlisting"><span class="returnvalue">void</span> json_array_add_boolean_element (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
497
|
+
<em class="parameter"><code><span class="type">gboolean</span> value</code></em>);</pre>
|
498
|
+
<p>
|
499
|
+
Conveniently adds a boolean <em class="parameter"><code>value</code></em> into <em class="parameter"><code>array</code></em>
|
500
|
+
</p>
|
501
|
+
<p>
|
502
|
+
See also: <a class="link" href="json-glib-JSON-Array.html#json-array-add-element" title="json_array_add_element ()"><code class="function">json_array_add_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#json-node-set-boolean" title="json_node_set_boolean ()"><code class="function">json_node_set_boolean()</code></a>
|
503
|
+
</p>
|
504
|
+
<div class="variablelist"><table border="0">
|
505
|
+
<col align="left" valign="top">
|
506
|
+
<tbody>
|
507
|
+
<tr>
|
508
|
+
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
509
|
+
<td>a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
510
|
+
</td>
|
511
|
+
</tr>
|
512
|
+
<tr>
|
513
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
514
|
+
<td>a boolean value</td>
|
515
|
+
</tr>
|
516
|
+
</tbody>
|
517
|
+
</table></div>
|
518
|
+
<p class="since">Since 0.8</p>
|
519
|
+
</div>
|
520
|
+
<hr>
|
521
|
+
<div class="refsect2">
|
522
|
+
<a name="json-array-get-boolean-element"></a><h3>json_array_get_boolean_element ()</h3>
|
523
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> json_array_get_boolean_element (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
524
|
+
<em class="parameter"><code><span class="type">guint</span> index_</code></em>);</pre>
|
525
|
+
<p>
|
526
|
+
Conveniently retrieves the boolean value of the element at <em class="parameter"><code>index_</code></em>
|
527
|
+
inside <em class="parameter"><code>array</code></em>
|
528
|
+
</p>
|
529
|
+
<p>
|
530
|
+
See also: <a class="link" href="json-glib-JSON-Array.html#json-array-get-element" title="json_array_get_element ()"><code class="function">json_array_get_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#json-node-get-boolean" title="json_node_get_boolean ()"><code class="function">json_node_get_boolean()</code></a>
|
531
|
+
</p>
|
532
|
+
<div class="variablelist"><table border="0">
|
533
|
+
<col align="left" valign="top">
|
534
|
+
<tbody>
|
535
|
+
<tr>
|
536
|
+
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
537
|
+
<td>a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
538
|
+
</td>
|
539
|
+
</tr>
|
540
|
+
<tr>
|
541
|
+
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
|
542
|
+
<td>the index of the element to retrieve</td>
|
543
|
+
</tr>
|
544
|
+
<tr>
|
545
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
546
|
+
<td>the integer value</td>
|
547
|
+
</tr>
|
548
|
+
</tbody>
|
549
|
+
</table></div>
|
550
|
+
<p class="since">Since 0.8</p>
|
551
|
+
</div>
|
552
|
+
<hr>
|
553
|
+
<div class="refsect2">
|
554
|
+
<a name="json-array-add-double-element"></a><h3>json_array_add_double_element ()</h3>
|
555
|
+
<pre class="programlisting"><span class="returnvalue">void</span> json_array_add_double_element (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
556
|
+
<em class="parameter"><code><span class="type">gdouble</span> value</code></em>);</pre>
|
557
|
+
<p>
|
558
|
+
Conveniently adds a floating point <em class="parameter"><code>value</code></em> into <em class="parameter"><code>array</code></em>
|
559
|
+
</p>
|
560
|
+
<p>
|
561
|
+
See also: <a class="link" href="json-glib-JSON-Array.html#json-array-add-element" title="json_array_add_element ()"><code class="function">json_array_add_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#json-node-set-double" title="json_node_set_double ()"><code class="function">json_node_set_double()</code></a>
|
562
|
+
</p>
|
563
|
+
<div class="variablelist"><table border="0">
|
564
|
+
<col align="left" valign="top">
|
565
|
+
<tbody>
|
566
|
+
<tr>
|
567
|
+
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
568
|
+
<td>a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
569
|
+
</td>
|
570
|
+
</tr>
|
571
|
+
<tr>
|
572
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
573
|
+
<td>a floating point value</td>
|
574
|
+
</tr>
|
575
|
+
</tbody>
|
576
|
+
</table></div>
|
577
|
+
<p class="since">Since 0.8</p>
|
578
|
+
</div>
|
579
|
+
<hr>
|
580
|
+
<div class="refsect2">
|
581
|
+
<a name="json-array-get-double-element"></a><h3>json_array_get_double_element ()</h3>
|
582
|
+
<pre class="programlisting"><span class="returnvalue">gdouble</span> json_array_get_double_element (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
583
|
+
<em class="parameter"><code><span class="type">guint</span> index_</code></em>);</pre>
|
584
|
+
<p>
|
585
|
+
Conveniently retrieves the floating point value of the element at
|
586
|
+
<em class="parameter"><code>index_</code></em> inside <em class="parameter"><code>array</code></em>
|
587
|
+
</p>
|
588
|
+
<p>
|
589
|
+
See also: <a class="link" href="json-glib-JSON-Array.html#json-array-get-element" title="json_array_get_element ()"><code class="function">json_array_get_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#json-node-get-double" title="json_node_get_double ()"><code class="function">json_node_get_double()</code></a>
|
590
|
+
</p>
|
591
|
+
<div class="variablelist"><table border="0">
|
592
|
+
<col align="left" valign="top">
|
593
|
+
<tbody>
|
594
|
+
<tr>
|
595
|
+
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
596
|
+
<td>a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
597
|
+
</td>
|
598
|
+
</tr>
|
599
|
+
<tr>
|
600
|
+
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
|
601
|
+
<td>the index of the element to retrieve</td>
|
602
|
+
</tr>
|
603
|
+
<tr>
|
604
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
605
|
+
<td>the floating point value</td>
|
606
|
+
</tr>
|
607
|
+
</tbody>
|
608
|
+
</table></div>
|
609
|
+
<p class="since">Since 0.8</p>
|
610
|
+
</div>
|
611
|
+
<hr>
|
612
|
+
<div class="refsect2">
|
613
|
+
<a name="json-array-add-int-element"></a><h3>json_array_add_int_element ()</h3>
|
614
|
+
<pre class="programlisting"><span class="returnvalue">void</span> json_array_add_int_element (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
615
|
+
<em class="parameter"><code><span class="type">gint64</span> value</code></em>);</pre>
|
616
|
+
<p>
|
617
|
+
Conveniently adds an integer <em class="parameter"><code>value</code></em> into <em class="parameter"><code>array</code></em>
|
618
|
+
</p>
|
619
|
+
<p>
|
620
|
+
See also: <a class="link" href="json-glib-JSON-Array.html#json-array-add-element" title="json_array_add_element ()"><code class="function">json_array_add_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#json-node-set-int" title="json_node_set_int ()"><code class="function">json_node_set_int()</code></a>
|
621
|
+
</p>
|
622
|
+
<div class="variablelist"><table border="0">
|
623
|
+
<col align="left" valign="top">
|
624
|
+
<tbody>
|
625
|
+
<tr>
|
626
|
+
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
627
|
+
<td>a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
628
|
+
</td>
|
629
|
+
</tr>
|
630
|
+
<tr>
|
631
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
632
|
+
<td>an integer value</td>
|
633
|
+
</tr>
|
634
|
+
</tbody>
|
635
|
+
</table></div>
|
636
|
+
<p class="since">Since 0.8</p>
|
637
|
+
</div>
|
638
|
+
<hr>
|
639
|
+
<div class="refsect2">
|
640
|
+
<a name="json-array-get-int-element"></a><h3>json_array_get_int_element ()</h3>
|
641
|
+
<pre class="programlisting"><span class="returnvalue">gint64</span> json_array_get_int_element (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
642
|
+
<em class="parameter"><code><span class="type">guint</span> index_</code></em>);</pre>
|
643
|
+
<p>
|
644
|
+
Conveniently retrieves the integer value of the element at <em class="parameter"><code>index_</code></em>
|
645
|
+
inside <em class="parameter"><code>array</code></em>
|
646
|
+
</p>
|
647
|
+
<p>
|
648
|
+
See also: <a class="link" href="json-glib-JSON-Array.html#json-array-get-element" title="json_array_get_element ()"><code class="function">json_array_get_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#json-node-get-int" title="json_node_get_int ()"><code class="function">json_node_get_int()</code></a>
|
649
|
+
</p>
|
650
|
+
<div class="variablelist"><table border="0">
|
651
|
+
<col align="left" valign="top">
|
652
|
+
<tbody>
|
653
|
+
<tr>
|
654
|
+
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
655
|
+
<td>a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
656
|
+
</td>
|
657
|
+
</tr>
|
658
|
+
<tr>
|
659
|
+
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
|
660
|
+
<td>the index of the element to retrieve</td>
|
661
|
+
</tr>
|
662
|
+
<tr>
|
663
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
664
|
+
<td>the integer value</td>
|
665
|
+
</tr>
|
666
|
+
</tbody>
|
667
|
+
</table></div>
|
668
|
+
<p class="since">Since 0.8</p>
|
669
|
+
</div>
|
670
|
+
<hr>
|
671
|
+
<div class="refsect2">
|
672
|
+
<a name="json-array-add-null-element"></a><h3>json_array_add_null_element ()</h3>
|
673
|
+
<pre class="programlisting"><span class="returnvalue">void</span> json_array_add_null_element (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>);</pre>
|
674
|
+
<p>
|
675
|
+
Conveniently adds a null element into <em class="parameter"><code>array</code></em>
|
676
|
+
</p>
|
677
|
+
<p>
|
678
|
+
See also: <a class="link" href="json-glib-JSON-Array.html#json-array-add-element" title="json_array_add_element ()"><code class="function">json_array_add_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-NULL:CAPS"><code class="literal">JSON_NODE_NULL</code></a>
|
679
|
+
</p>
|
680
|
+
<div class="variablelist"><table border="0">
|
681
|
+
<col align="left" valign="top">
|
682
|
+
<tbody><tr>
|
683
|
+
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
684
|
+
<td>a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
685
|
+
</td>
|
686
|
+
</tr></tbody>
|
687
|
+
</table></div>
|
688
|
+
<p class="since">Since 0.8</p>
|
689
|
+
</div>
|
690
|
+
<hr>
|
691
|
+
<div class="refsect2">
|
692
|
+
<a name="json-array-get-null-element"></a><h3>json_array_get_null_element ()</h3>
|
693
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> json_array_get_null_element (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
694
|
+
<em class="parameter"><code><span class="type">guint</span> index_</code></em>);</pre>
|
695
|
+
<p>
|
696
|
+
Conveniently retrieves whether the element at <em class="parameter"><code>index_</code></em> is set to null
|
697
|
+
</p>
|
698
|
+
<p>
|
699
|
+
See also: <a class="link" href="json-glib-JSON-Array.html#json-array-get-element" title="json_array_get_element ()"><code class="function">json_array_get_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-TYPE:CAPS" title="JSON_NODE_TYPE()"><code class="function">JSON_NODE_TYPE()</code></a>, <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-NULL:CAPS"><code class="literal">JSON_NODE_NULL</code></a>
|
700
|
+
</p>
|
701
|
+
<div class="variablelist"><table border="0">
|
702
|
+
<col align="left" valign="top">
|
703
|
+
<tbody>
|
704
|
+
<tr>
|
705
|
+
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
706
|
+
<td>a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
707
|
+
</td>
|
708
|
+
</tr>
|
709
|
+
<tr>
|
710
|
+
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
|
711
|
+
<td>the index of the element to retrieve</td>
|
712
|
+
</tr>
|
713
|
+
<tr>
|
714
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
715
|
+
<td>
|
716
|
+
<code class="literal">TRUE</code> if the element is null</td>
|
717
|
+
</tr>
|
718
|
+
</tbody>
|
719
|
+
</table></div>
|
720
|
+
<p class="since">Since 0.8</p>
|
721
|
+
</div>
|
722
|
+
<hr>
|
723
|
+
<div class="refsect2">
|
724
|
+
<a name="json-array-add-object-element"></a><h3>json_array_add_object_element ()</h3>
|
725
|
+
<pre class="programlisting"><span class="returnvalue">void</span> json_array_add_object_element (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
726
|
+
<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a> *value</code></em>);</pre>
|
727
|
+
<p>
|
728
|
+
Conveniently adds an object into <em class="parameter"><code>array</code></em>. The <em class="parameter"><code>array</code></em> takes ownership
|
729
|
+
of the newly added <a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a>
|
730
|
+
</p>
|
731
|
+
<p>
|
732
|
+
See also: <a class="link" href="json-glib-JSON-Array.html#json-array-add-element" title="json_array_add_element ()"><code class="function">json_array_add_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#json-node-take-object" title="json_node_take_object ()"><code class="function">json_node_take_object()</code></a>
|
733
|
+
</p>
|
734
|
+
<div class="variablelist"><table border="0">
|
735
|
+
<col align="left" valign="top">
|
736
|
+
<tbody>
|
737
|
+
<tr>
|
738
|
+
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
739
|
+
<td>a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
740
|
+
</td>
|
741
|
+
</tr>
|
742
|
+
<tr>
|
743
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
744
|
+
<td>a <a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
745
|
+
</td>
|
746
|
+
</tr>
|
747
|
+
</tbody>
|
748
|
+
</table></div>
|
749
|
+
<p class="since">Since 0.8</p>
|
750
|
+
</div>
|
751
|
+
<hr>
|
752
|
+
<div class="refsect2">
|
753
|
+
<a name="json-array-get-object-element"></a><h3>json_array_get_object_element ()</h3>
|
754
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="returnvalue">JsonObject</span></a> * json_array_get_object_element (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
755
|
+
<em class="parameter"><code><span class="type">guint</span> index_</code></em>);</pre>
|
756
|
+
<p>
|
757
|
+
Conveniently retrieves the object from the element at <em class="parameter"><code>index_</code></em>
|
758
|
+
inside <em class="parameter"><code>array</code></em>
|
759
|
+
</p>
|
760
|
+
<p>
|
761
|
+
See also: <a class="link" href="json-glib-JSON-Array.html#json-array-get-element" title="json_array_get_element ()"><code class="function">json_array_get_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#json-node-get-object" title="json_node_get_object ()"><code class="function">json_node_get_object()</code></a>
|
762
|
+
</p>
|
763
|
+
<div class="variablelist"><table border="0">
|
764
|
+
<col align="left" valign="top">
|
765
|
+
<tbody>
|
766
|
+
<tr>
|
767
|
+
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
768
|
+
<td>a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
769
|
+
</td>
|
770
|
+
</tr>
|
771
|
+
<tr>
|
772
|
+
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
|
773
|
+
<td>the index of the element to retrieve</td>
|
774
|
+
</tr>
|
775
|
+
<tr>
|
776
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
777
|
+
<td>the object. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
778
|
+
</td>
|
779
|
+
</tr>
|
780
|
+
</tbody>
|
781
|
+
</table></div>
|
782
|
+
<p class="since">Since 0.8</p>
|
783
|
+
</div>
|
784
|
+
<hr>
|
785
|
+
<div class="refsect2">
|
786
|
+
<a name="json-array-add-string-element"></a><h3>json_array_add_string_element ()</h3>
|
787
|
+
<pre class="programlisting"><span class="returnvalue">void</span> json_array_add_string_element (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
788
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
|
789
|
+
<p>
|
790
|
+
Conveniently adds a string <em class="parameter"><code>value</code></em> into <em class="parameter"><code>array</code></em>
|
791
|
+
</p>
|
792
|
+
<p>
|
793
|
+
See also: <a class="link" href="json-glib-JSON-Array.html#json-array-add-element" title="json_array_add_element ()"><code class="function">json_array_add_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#json-node-set-string" title="json_node_set_string ()"><code class="function">json_node_set_string()</code></a>
|
794
|
+
</p>
|
795
|
+
<div class="variablelist"><table border="0">
|
796
|
+
<col align="left" valign="top">
|
797
|
+
<tbody>
|
798
|
+
<tr>
|
799
|
+
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
800
|
+
<td>a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
801
|
+
</td>
|
802
|
+
</tr>
|
803
|
+
<tr>
|
804
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
805
|
+
<td>a string value</td>
|
806
|
+
</tr>
|
807
|
+
</tbody>
|
808
|
+
</table></div>
|
809
|
+
<p class="since">Since 0.8</p>
|
810
|
+
</div>
|
811
|
+
<hr>
|
812
|
+
<div class="refsect2">
|
813
|
+
<a name="json-array-get-string-element"></a><h3>json_array_get_string_element ()</h3>
|
814
|
+
<pre class="programlisting">const <span class="returnvalue">gchar</span> * json_array_get_string_element (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
815
|
+
<em class="parameter"><code><span class="type">guint</span> index_</code></em>);</pre>
|
816
|
+
<p>
|
817
|
+
Conveniently retrieves the string value of the element at <em class="parameter"><code>index_</code></em>
|
818
|
+
inside <em class="parameter"><code>array</code></em>
|
819
|
+
</p>
|
820
|
+
<p>
|
821
|
+
See also: <a class="link" href="json-glib-JSON-Array.html#json-array-get-element" title="json_array_get_element ()"><code class="function">json_array_get_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#json-node-get-string" title="json_node_get_string ()"><code class="function">json_node_get_string()</code></a>
|
822
|
+
</p>
|
823
|
+
<div class="variablelist"><table border="0">
|
824
|
+
<col align="left" valign="top">
|
825
|
+
<tbody>
|
826
|
+
<tr>
|
827
|
+
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
828
|
+
<td>a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
829
|
+
</td>
|
830
|
+
</tr>
|
831
|
+
<tr>
|
832
|
+
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
|
833
|
+
<td>the index of the element to retrieve</td>
|
834
|
+
</tr>
|
835
|
+
<tr>
|
836
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
837
|
+
<td>the string value; the returned string is owned by
|
838
|
+
the <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> and should not be modified or freed</td>
|
839
|
+
</tr>
|
840
|
+
</tbody>
|
841
|
+
</table></div>
|
842
|
+
<p class="since">Since 0.8</p>
|
843
|
+
</div>
|
844
|
+
</div>
|
845
|
+
</div>
|
846
|
+
<div class="footer">
|
847
|
+
<hr>
|
848
|
+
Generated by GTK-Doc V1.18.1</div>
|
849
|
+
</body>
|
850
|
+
</html>
|