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,192 @@
|
|
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>ClutterTapAction</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
|
7
|
+
<link rel="home" href="index.html" title="Clutter Reference Manual">
|
8
|
+
<link rel="up" href="ch04.html" title="Actions">
|
9
|
+
<link rel="prev" href="ClutterZoomAction.html" title="ClutterZoomAction">
|
10
|
+
<link rel="next" href="ch05.html" title="Constraints">
|
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="ClutterZoomAction.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="ch04.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
+
<th width="100%" align="center">Clutter Reference Manual</th>
|
21
|
+
<td><a accesskey="n" href="ch05.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="#ClutterTapAction.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#ClutterTapAction.description" class="shortcut">Description</a>
|
27
|
+
|
|
28
|
+
<a href="#ClutterTapAction.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
+
|
|
30
|
+
<a href="#ClutterTapAction.signals" class="shortcut">Signals</a>
|
31
|
+
</td></tr>
|
32
|
+
</table>
|
33
|
+
<div class="refentry">
|
34
|
+
<a name="ClutterTapAction"></a><div class="titlepage"></div>
|
35
|
+
<div class="refnamediv"><table width="100%"><tr>
|
36
|
+
<td valign="top">
|
37
|
+
<h2><span class="refentrytitle"><a name="ClutterTapAction.top_of_page"></a>ClutterTapAction</span></h2>
|
38
|
+
<p>ClutterTapAction — Action for tap gestures</p>
|
39
|
+
</td>
|
40
|
+
<td valign="top" align="right"></td>
|
41
|
+
</tr></table></div>
|
42
|
+
<div class="refsynopsisdiv">
|
43
|
+
<a name="ClutterTapAction.synopsis"></a><h2>Synopsis</h2>
|
44
|
+
<pre class="synopsis">struct <a class="link" href="ClutterTapAction.html#ClutterTapAction-struct" title="struct ClutterTapAction">ClutterTapAction</a>;
|
45
|
+
struct <a class="link" href="ClutterTapAction.html#ClutterTapActionClass" title="struct ClutterTapActionClass">ClutterTapActionClass</a>;
|
46
|
+
<a class="link" href="ClutterAction.html" title="ClutterAction"><span class="returnvalue">ClutterAction</span></a> * <a class="link" href="ClutterTapAction.html#clutter-tap-action-new" title="clutter_tap_action_new ()">clutter_tap_action_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
47
|
+
</pre>
|
48
|
+
</div>
|
49
|
+
<div class="refsect1">
|
50
|
+
<a name="ClutterTapAction.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
51
|
+
<pre class="synopsis">
|
52
|
+
GObject
|
53
|
+
+----GInitiallyUnowned
|
54
|
+
+----<a class="link" href="ClutterActorMeta.html" title="ClutterActorMeta">ClutterActorMeta</a>
|
55
|
+
+----<a class="link" href="ClutterAction.html" title="ClutterAction">ClutterAction</a>
|
56
|
+
+----<a class="link" href="ClutterGestureAction.html" title="ClutterGestureAction">ClutterGestureAction</a>
|
57
|
+
+----ClutterTapAction
|
58
|
+
</pre>
|
59
|
+
</div>
|
60
|
+
<div class="refsect1">
|
61
|
+
<a name="ClutterTapAction.signals"></a><h2>Signals</h2>
|
62
|
+
<pre class="synopsis">
|
63
|
+
"<a class="link" href="ClutterTapAction.html#ClutterTapAction-tap" title='The "tap" signal'>tap</a>" : <code class="literal">Run Last</code>
|
64
|
+
</pre>
|
65
|
+
</div>
|
66
|
+
<div class="refsect1">
|
67
|
+
<a name="ClutterTapAction.description"></a><h2>Description</h2>
|
68
|
+
<p>
|
69
|
+
<a class="link" href="ClutterTapAction.html" title="ClutterTapAction"><span class="type">ClutterTapAction</span></a> is a sub-class of <a class="link" href="ClutterGestureAction.html" title="ClutterGestureAction"><span class="type">ClutterGestureAction</span></a> that implements
|
70
|
+
the logic for recognizing mouse clicks and touch tap gestures.
|
71
|
+
</p>
|
72
|
+
<p>
|
73
|
+
The simplest usage of <a class="link" href="ClutterTapAction.html" title="ClutterTapAction"><span class="type">ClutterTapAction</span></a> consists in adding it to
|
74
|
+
a <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> with a child, setting it as reactive and connecting a
|
75
|
+
callback for the <a class="link" href="ClutterTapAction.html#ClutterTapAction-tap" title='The "tap" signal'><span class="type">"tap"</span></a> signal, along the lines of the
|
76
|
+
following code:
|
77
|
+
</p>
|
78
|
+
<p>
|
79
|
+
</p>
|
80
|
+
<div class="informalexample">
|
81
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
82
|
+
<tbody>
|
83
|
+
<tr>
|
84
|
+
<td class="listing_lines" align="right"><pre>1
|
85
|
+
2
|
86
|
+
3</pre></td>
|
87
|
+
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="ClutterActor.html#clutter-actor-add-action">clutter_actor_add_action</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">actor</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="ClutterTapAction.html#clutter-tap-action-new">clutter_tap_action_new</a></span><span class="normal"> </span><span class="symbol">());</span>
|
88
|
+
<span class="function"><a href="ClutterActor.html#clutter-actor-set-reactive">clutter_actor_set_reactive</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">actor</span><span class="symbol">,</span><span class="normal"> TRUE</span><span class="symbol">);</span>
|
89
|
+
<span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">action</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"tap"</span><span class="symbol">,</span><span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">on_tap_callback</span><span class="symbol">),</span><span class="normal"> NULL</span><span class="symbol">);</span></pre></td>
|
90
|
+
</tr>
|
91
|
+
</tbody>
|
92
|
+
</table>
|
93
|
+
</div>
|
94
|
+
|
95
|
+
<p>
|
96
|
+
</p>
|
97
|
+
</div>
|
98
|
+
<div class="refsect1">
|
99
|
+
<a name="ClutterTapAction.details"></a><h2>Details</h2>
|
100
|
+
<div class="refsect2">
|
101
|
+
<a name="ClutterTapAction-struct"></a><h3>struct ClutterTapAction</h3>
|
102
|
+
<pre class="programlisting">struct ClutterTapAction;</pre>
|
103
|
+
<p>
|
104
|
+
The <span class="structname">ClutterTapAction</span> structure contains
|
105
|
+
only private data and should be accessed using the provided API
|
106
|
+
</p>
|
107
|
+
<p class="since">Since 1.14</p>
|
108
|
+
</div>
|
109
|
+
<hr>
|
110
|
+
<div class="refsect2">
|
111
|
+
<a name="ClutterTapActionClass"></a><h3>struct ClutterTapActionClass</h3>
|
112
|
+
<pre class="programlisting">struct ClutterTapActionClass {
|
113
|
+
gboolean (* tap) (ClutterTapAction *action,
|
114
|
+
ClutterActor *actor);
|
115
|
+
};
|
116
|
+
</pre>
|
117
|
+
<p>
|
118
|
+
The <span class="structname">ClutterTapActionClass</span> structure contains
|
119
|
+
only private data.
|
120
|
+
</p>
|
121
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
122
|
+
<colgroup>
|
123
|
+
<col align="left" valign="top">
|
124
|
+
<col>
|
125
|
+
</colgroup>
|
126
|
+
<tbody><tr>
|
127
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterTapActionClass.tap"></a>tap</code></em> ()</span></p></td>
|
128
|
+
<td>class handler for the <a class="link" href="ClutterTapAction.html#ClutterTapAction-tap" title='The "tap" signal'><span class="type">"tap"</span></a> signal</td>
|
129
|
+
</tr></tbody>
|
130
|
+
</table></div>
|
131
|
+
</div>
|
132
|
+
<hr>
|
133
|
+
<div class="refsect2">
|
134
|
+
<a name="clutter-tap-action-new"></a><h3>clutter_tap_action_new ()</h3>
|
135
|
+
<pre class="programlisting"><a class="link" href="ClutterAction.html" title="ClutterAction"><span class="returnvalue">ClutterAction</span></a> * clutter_tap_action_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
136
|
+
<p>
|
137
|
+
Creates a new <a class="link" href="ClutterTapAction.html" title="ClutterTapAction"><span class="type">ClutterTapAction</span></a> instance
|
138
|
+
</p>
|
139
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
140
|
+
<colgroup>
|
141
|
+
<col align="left" valign="top">
|
142
|
+
<col>
|
143
|
+
</colgroup>
|
144
|
+
<tbody><tr>
|
145
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
146
|
+
<td>the newly created <a class="link" href="ClutterTapAction.html" title="ClutterTapAction"><span class="type">ClutterTapAction</span></a>
|
147
|
+
</td>
|
148
|
+
</tr></tbody>
|
149
|
+
</table></div>
|
150
|
+
<p class="since">Since 1.14</p>
|
151
|
+
</div>
|
152
|
+
</div>
|
153
|
+
<div class="refsect1">
|
154
|
+
<a name="ClutterTapAction.signal-details"></a><h2>Signal Details</h2>
|
155
|
+
<div class="refsect2">
|
156
|
+
<a name="ClutterTapAction-tap"></a><h3>The <code class="literal">"tap"</code> signal</h3>
|
157
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="ClutterTapAction.html" title="ClutterTapAction"><span class="type">ClutterTapAction</span></a> *action,
|
158
|
+
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *actor,
|
159
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
|
160
|
+
<p>
|
161
|
+
The ::tap signal is emitted when the tap gesture is complete.
|
162
|
+
</p>
|
163
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
164
|
+
<colgroup>
|
165
|
+
<col align="left" valign="top">
|
166
|
+
<col>
|
167
|
+
</colgroup>
|
168
|
+
<tbody>
|
169
|
+
<tr>
|
170
|
+
<td><p><span class="term"><em class="parameter"><code>action</code></em> :</span></p></td>
|
171
|
+
<td>the <a class="link" href="ClutterTapAction.html" title="ClutterTapAction"><span class="type">ClutterTapAction</span></a> that emitted the signal</td>
|
172
|
+
</tr>
|
173
|
+
<tr>
|
174
|
+
<td><p><span class="term"><em class="parameter"><code>actor</code></em> :</span></p></td>
|
175
|
+
<td>the <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> attached to the <em class="parameter"><code>action</code></em>
|
176
|
+
</td>
|
177
|
+
</tr>
|
178
|
+
<tr>
|
179
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
180
|
+
<td>user data set when the signal handler was connected.</td>
|
181
|
+
</tr>
|
182
|
+
</tbody>
|
183
|
+
</table></div>
|
184
|
+
<p class="since">Since 1.14</p>
|
185
|
+
</div>
|
186
|
+
</div>
|
187
|
+
</div>
|
188
|
+
<div class="footer">
|
189
|
+
<hr>
|
190
|
+
Generated by GTK-Doc V1.18.1</div>
|
191
|
+
</body>
|
192
|
+
</html>
|
@@ -0,0 +1,3058 @@
|
|
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>ClutterText</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
|
7
|
+
<link rel="home" href="index.html" title="Clutter Reference Manual">
|
8
|
+
<link rel="up" href="ch02.html" title="Base actors">
|
9
|
+
<link rel="prev" href="ClutterClone.html" title="ClutterClone">
|
10
|
+
<link rel="next" href="ClutterScrollActor.html" title="ClutterScrollActor">
|
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="ClutterClone.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
+
<th width="100%" align="center">Clutter Reference Manual</th>
|
21
|
+
<td><a accesskey="n" href="ClutterScrollActor.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="#ClutterText.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#ClutterText.description" class="shortcut">Description</a>
|
27
|
+
|
|
28
|
+
<a href="#ClutterText.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
+
|
|
30
|
+
<a href="#ClutterText.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
|
31
|
+
|
|
32
|
+
<a href="#ClutterText.properties" class="shortcut">Properties</a>
|
33
|
+
|
|
34
|
+
<a href="#ClutterText.signals" class="shortcut">Signals</a>
|
35
|
+
</td></tr>
|
36
|
+
</table>
|
37
|
+
<div class="refentry">
|
38
|
+
<a name="ClutterText"></a><div class="titlepage"></div>
|
39
|
+
<div class="refnamediv"><table width="100%"><tr>
|
40
|
+
<td valign="top">
|
41
|
+
<h2><span class="refentrytitle"><a name="ClutterText.top_of_page"></a>ClutterText</span></h2>
|
42
|
+
<p>ClutterText — An actor for displaying and editing text</p>
|
43
|
+
</td>
|
44
|
+
<td valign="top" align="right"></td>
|
45
|
+
</tr></table></div>
|
46
|
+
<div class="refsynopsisdiv">
|
47
|
+
<a name="ClutterText.synopsis"></a><h2>Synopsis</h2>
|
48
|
+
<pre class="synopsis">struct <a class="link" href="ClutterText.html#ClutterText-struct" title="struct ClutterText">ClutterText</a>;
|
49
|
+
struct <a class="link" href="ClutterText.html#ClutterTextClass" title="struct ClutterTextClass">ClutterTextClass</a>;
|
50
|
+
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> * <a class="link" href="ClutterText.html#clutter-text-new" title="clutter_text_new ()">clutter_text_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
51
|
+
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> * <a class="link" href="ClutterText.html#clutter-text-new-full" title="clutter_text_new_full ()">clutter_text_new_full</a> (<em class="parameter"><code>const <span class="type">gchar</span> *font_name</code></em>,
|
52
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>,
|
53
|
+
<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>);
|
54
|
+
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> * <a class="link" href="ClutterText.html#clutter-text-new-with-text" title="clutter_text_new_with_text ()">clutter_text_new_with_text</a> (<em class="parameter"><code>const <span class="type">gchar</span> *font_name</code></em>,
|
55
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>);
|
56
|
+
<a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> * <a class="link" href="ClutterText.html#clutter-text-new-with-buffer" title="clutter_text_new_with_buffer ()">clutter_text_new_with_buffer</a> (<em class="parameter"><code><a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> *buffer</code></em>);
|
57
|
+
|
58
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterText.html#clutter-text-set-buffer" title="clutter_text_set_buffer ()">clutter_text_set_buffer</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
59
|
+
<em class="parameter"><code><a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> *buffer</code></em>);
|
60
|
+
<a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="returnvalue">ClutterTextBuffer</span></a> * <a class="link" href="ClutterText.html#clutter-text-get-buffer" title="clutter_text_get_buffer ()">clutter_text_get_buffer</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);
|
61
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterText.html#clutter-text-set-text" title="clutter_text_set_text ()">clutter_text_set_text</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
62
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>);
|
63
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterText.html#clutter-text-set-markup" title="clutter_text_set_markup ()">clutter_text_set_markup</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
64
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *markup</code></em>);
|
65
|
+
const <span class="returnvalue">gchar</span> * <a class="link" href="ClutterText.html#clutter-text-get-text" title="clutter_text_get_text ()">clutter_text_get_text</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);
|
66
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterText.html#clutter-text-set-activatable" title="clutter_text_set_activatable ()">clutter_text_set_activatable</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
67
|
+
<em class="parameter"><code><span class="type">gboolean</span> activatable</code></em>);
|
68
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterText.html#clutter-text-get-activatable" title="clutter_text_get_activatable ()">clutter_text_get_activatable</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);
|
69
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterText.html#clutter-text-set-attributes" title="clutter_text_set_attributes ()">clutter_text_set_attributes</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
70
|
+
<em class="parameter"><code><span class="type">PangoAttrList</span> *attrs</code></em>);
|
71
|
+
<span class="returnvalue">PangoAttrList</span> * <a class="link" href="ClutterText.html#clutter-text-get-attributes" title="clutter_text_get_attributes ()">clutter_text_get_attributes</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);
|
72
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterText.html#clutter-text-set-color" title="clutter_text_set_color ()">clutter_text_set_color</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
73
|
+
<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>);
|
74
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterText.html#clutter-text-get-color" title="clutter_text_get_color ()">clutter_text_get_color</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
75
|
+
<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>);
|
76
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterText.html#clutter-text-set-ellipsize" title="clutter_text_set_ellipsize ()">clutter_text_set_ellipsize</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
77
|
+
<em class="parameter"><code><span class="type">PangoEllipsizeMode</span> mode</code></em>);
|
78
|
+
<span class="returnvalue">PangoEllipsizeMode</span> <a class="link" href="ClutterText.html#clutter-text-get-ellipsize" title="clutter_text_get_ellipsize ()">clutter_text_get_ellipsize</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);
|
79
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterText.html#clutter-text-set-font-name" title="clutter_text_set_font_name ()">clutter_text_set_font_name</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
80
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *font_name</code></em>);
|
81
|
+
const <span class="returnvalue">gchar</span> * <a class="link" href="ClutterText.html#clutter-text-get-font-name" title="clutter_text_get_font_name ()">clutter_text_get_font_name</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);
|
82
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterText.html#clutter-text-set-font-description" title="clutter_text_set_font_description ()">clutter_text_set_font_description</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
83
|
+
<em class="parameter"><code><span class="type">PangoFontDescription</span> *font_desc</code></em>);
|
84
|
+
<span class="returnvalue">PangoFontDescription</span> * <a class="link" href="ClutterText.html#clutter-text-get-font-description" title="clutter_text_get_font_description ()">clutter_text_get_font_description</a>
|
85
|
+
(<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);
|
86
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterText.html#clutter-text-set-password-char" title="clutter_text_set_password_char ()">clutter_text_set_password_char</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
87
|
+
<em class="parameter"><code><span class="type">gunichar</span> wc</code></em>);
|
88
|
+
<span class="returnvalue">gunichar</span> <a class="link" href="ClutterText.html#clutter-text-get-password-char" title="clutter_text_get_password_char ()">clutter_text_get_password_char</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);
|
89
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterText.html#clutter-text-set-justify" title="clutter_text_set_justify ()">clutter_text_set_justify</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
90
|
+
<em class="parameter"><code><span class="type">gboolean</span> justify</code></em>);
|
91
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterText.html#clutter-text-get-justify" title="clutter_text_get_justify ()">clutter_text_get_justify</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);
|
92
|
+
<span class="returnvalue">PangoLayout</span> * <a class="link" href="ClutterText.html#clutter-text-get-layout" title="clutter_text_get_layout ()">clutter_text_get_layout</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);
|
93
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterText.html#clutter-text-set-line-alignment" title="clutter_text_set_line_alignment ()">clutter_text_set_line_alignment</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
94
|
+
<em class="parameter"><code><span class="type">PangoAlignment</span> alignment</code></em>);
|
95
|
+
<span class="returnvalue">PangoAlignment</span> <a class="link" href="ClutterText.html#clutter-text-get-line-alignment" title="clutter_text_get_line_alignment ()">clutter_text_get_line_alignment</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);
|
96
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterText.html#clutter-text-set-line-wrap" title="clutter_text_set_line_wrap ()">clutter_text_set_line_wrap</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
97
|
+
<em class="parameter"><code><span class="type">gboolean</span> line_wrap</code></em>);
|
98
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterText.html#clutter-text-get-line-wrap" title="clutter_text_get_line_wrap ()">clutter_text_get_line_wrap</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);
|
99
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterText.html#clutter-text-set-line-wrap-mode" title="clutter_text_set_line_wrap_mode ()">clutter_text_set_line_wrap_mode</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
100
|
+
<em class="parameter"><code><span class="type">PangoWrapMode</span> wrap_mode</code></em>);
|
101
|
+
<span class="returnvalue">PangoWrapMode</span> <a class="link" href="ClutterText.html#clutter-text-get-line-wrap-mode" title="clutter_text_get_line_wrap_mode ()">clutter_text_get_line_wrap_mode</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);
|
102
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterText.html#clutter-text-set-max-length" title="clutter_text_set_max_length ()">clutter_text_set_max_length</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
103
|
+
<em class="parameter"><code><span class="type">gint</span> max</code></em>);
|
104
|
+
<span class="returnvalue">gint</span> <a class="link" href="ClutterText.html#clutter-text-get-max-length" title="clutter_text_get_max_length ()">clutter_text_get_max_length</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);
|
105
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterText.html#clutter-text-set-selectable" title="clutter_text_set_selectable ()">clutter_text_set_selectable</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
106
|
+
<em class="parameter"><code><span class="type">gboolean</span> selectable</code></em>);
|
107
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterText.html#clutter-text-get-selectable" title="clutter_text_get_selectable ()">clutter_text_get_selectable</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);
|
108
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterText.html#clutter-text-set-selection" title="clutter_text_set_selection ()">clutter_text_set_selection</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
109
|
+
<em class="parameter"><code><span class="type">gssize</span> start_pos</code></em>,
|
110
|
+
<em class="parameter"><code><span class="type">gssize</span> end_pos</code></em>);
|
111
|
+
<span class="returnvalue">gchar</span> * <a class="link" href="ClutterText.html#clutter-text-get-selection" title="clutter_text_get_selection ()">clutter_text_get_selection</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);
|
112
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterText.html#clutter-text-set-selection-bound" title="clutter_text_set_selection_bound ()">clutter_text_set_selection_bound</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
113
|
+
<em class="parameter"><code><span class="type">gint</span> selection_bound</code></em>);
|
114
|
+
<span class="returnvalue">gint</span> <a class="link" href="ClutterText.html#clutter-text-get-selection-bound" title="clutter_text_get_selection_bound ()">clutter_text_get_selection_bound</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);
|
115
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterText.html#clutter-text-set-single-line-mode" title="clutter_text_set_single_line_mode ()">clutter_text_set_single_line_mode</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
116
|
+
<em class="parameter"><code><span class="type">gboolean</span> single_line</code></em>);
|
117
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterText.html#clutter-text-get-single-line-mode" title="clutter_text_get_single_line_mode ()">clutter_text_get_single_line_mode</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);
|
118
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterText.html#clutter-text-set-use-markup" title="clutter_text_set_use_markup ()">clutter_text_set_use_markup</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
119
|
+
<em class="parameter"><code><span class="type">gboolean</span> setting</code></em>);
|
120
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterText.html#clutter-text-get-use-markup" title="clutter_text_get_use_markup ()">clutter_text_get_use_markup</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);
|
121
|
+
|
122
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterText.html#clutter-text-set-editable" title="clutter_text_set_editable ()">clutter_text_set_editable</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
123
|
+
<em class="parameter"><code><span class="type">gboolean</span> editable</code></em>);
|
124
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterText.html#clutter-text-get-editable" title="clutter_text_get_editable ()">clutter_text_get_editable</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);
|
125
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterText.html#clutter-text-insert-text" title="clutter_text_insert_text ()">clutter_text_insert_text</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
126
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>,
|
127
|
+
<em class="parameter"><code><span class="type">gssize</span> position</code></em>);
|
128
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterText.html#clutter-text-insert-unichar" title="clutter_text_insert_unichar ()">clutter_text_insert_unichar</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
129
|
+
<em class="parameter"><code><span class="type">gunichar</span> wc</code></em>);
|
130
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterText.html#clutter-text-delete-chars" title="clutter_text_delete_chars ()">clutter_text_delete_chars</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
131
|
+
<em class="parameter"><code><span class="type">guint</span> n_chars</code></em>);
|
132
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterText.html#clutter-text-delete-text" title="clutter_text_delete_text ()">clutter_text_delete_text</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
133
|
+
<em class="parameter"><code><span class="type">gssize</span> start_pos</code></em>,
|
134
|
+
<em class="parameter"><code><span class="type">gssize</span> end_pos</code></em>);
|
135
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterText.html#clutter-text-delete-selection" title="clutter_text_delete_selection ()">clutter_text_delete_selection</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);
|
136
|
+
<span class="returnvalue">gchar</span> * <a class="link" href="ClutterText.html#clutter-text-get-chars" title="clutter_text_get_chars ()">clutter_text_get_chars</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
137
|
+
<em class="parameter"><code><span class="type">gssize</span> start_pos</code></em>,
|
138
|
+
<em class="parameter"><code><span class="type">gssize</span> end_pos</code></em>);
|
139
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterText.html#clutter-text-set-cursor-color" title="clutter_text_set_cursor_color ()">clutter_text_set_cursor_color</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
140
|
+
<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>);
|
141
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterText.html#clutter-text-get-cursor-color" title="clutter_text_get_cursor_color ()">clutter_text_get_cursor_color</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
142
|
+
<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>);
|
143
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterText.html#clutter-text-set-selection-color" title="clutter_text_set_selection_color ()">clutter_text_set_selection_color</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
144
|
+
<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>);
|
145
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterText.html#clutter-text-get-selection-color" title="clutter_text_get_selection_color ()">clutter_text_get_selection_color</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
146
|
+
<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>);
|
147
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterText.html#clutter-text-set-selected-text-color" title="clutter_text_set_selected_text_color ()">clutter_text_set_selected_text_color</a>
|
148
|
+
(<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
149
|
+
<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>);
|
150
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterText.html#clutter-text-get-selected-text-color" title="clutter_text_get_selected_text_color ()">clutter_text_get_selected_text_color</a>
|
151
|
+
(<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
152
|
+
<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>);
|
153
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterText.html#clutter-text-set-cursor-position" title="clutter_text_set_cursor_position ()">clutter_text_set_cursor_position</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
154
|
+
<em class="parameter"><code><span class="type">gint</span> position</code></em>);
|
155
|
+
<span class="returnvalue">gint</span> <a class="link" href="ClutterText.html#clutter-text-get-cursor-position" title="clutter_text_get_cursor_position ()">clutter_text_get_cursor_position</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);
|
156
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterText.html#clutter-text-set-cursor-visible" title="clutter_text_set_cursor_visible ()">clutter_text_set_cursor_visible</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
157
|
+
<em class="parameter"><code><span class="type">gboolean</span> cursor_visible</code></em>);
|
158
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterText.html#clutter-text-get-cursor-visible" title="clutter_text_get_cursor_visible ()">clutter_text_get_cursor_visible</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);
|
159
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterText.html#clutter-text-set-cursor-size" title="clutter_text_set_cursor_size ()">clutter_text_set_cursor_size</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
160
|
+
<em class="parameter"><code><span class="type">gint</span> size</code></em>);
|
161
|
+
<span class="returnvalue">guint</span> <a class="link" href="ClutterText.html#clutter-text-get-cursor-size" title="clutter_text_get_cursor_size ()">clutter_text_get_cursor_size</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);
|
162
|
+
|
163
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterText.html#clutter-text-activate" title="clutter_text_activate ()">clutter_text_activate</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);
|
164
|
+
<span class="returnvalue">gint</span> <a class="link" href="ClutterText.html#clutter-text-coords-to-position" title="clutter_text_coords_to_position ()">clutter_text_coords_to_position</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
165
|
+
<em class="parameter"><code><span class="type">gfloat</span> x</code></em>,
|
166
|
+
<em class="parameter"><code><span class="type">gfloat</span> y</code></em>);
|
167
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterText.html#clutter-text-position-to-coords" title="clutter_text_position_to_coords ()">clutter_text_position_to_coords</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
168
|
+
<em class="parameter"><code><span class="type">gint</span> position</code></em>,
|
169
|
+
<em class="parameter"><code><span class="type">gfloat</span> *x</code></em>,
|
170
|
+
<em class="parameter"><code><span class="type">gfloat</span> *y</code></em>,
|
171
|
+
<em class="parameter"><code><span class="type">gfloat</span> *line_height</code></em>);
|
172
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterText.html#clutter-text-set-preedit-string" title="clutter_text_set_preedit_string ()">clutter_text_set_preedit_string</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
173
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *preedit_str</code></em>,
|
174
|
+
<em class="parameter"><code><span class="type">PangoAttrList</span> *preedit_attrs</code></em>,
|
175
|
+
<em class="parameter"><code><span class="type">guint</span> cursor_pos</code></em>);
|
176
|
+
<span class="returnvalue">void</span> <a class="link" href="ClutterText.html#clutter-text-get-layout-offsets" title="clutter_text_get_layout_offsets ()">clutter_text_get_layout_offsets</a> (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
177
|
+
<em class="parameter"><code><span class="type">gint</span> *x</code></em>,
|
178
|
+
<em class="parameter"><code><span class="type">gint</span> *y</code></em>);
|
179
|
+
</pre>
|
180
|
+
</div>
|
181
|
+
<div class="refsect1">
|
182
|
+
<a name="ClutterText.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
183
|
+
<pre class="synopsis">
|
184
|
+
GObject
|
185
|
+
+----GInitiallyUnowned
|
186
|
+
+----<a class="link" href="ClutterActor.html" title="ClutterActor">ClutterActor</a>
|
187
|
+
+----ClutterText
|
188
|
+
</pre>
|
189
|
+
</div>
|
190
|
+
<div class="refsect1">
|
191
|
+
<a name="ClutterText.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
192
|
+
<p>
|
193
|
+
ClutterText implements
|
194
|
+
<a class="link" href="ClutterContainer.html" title="ClutterContainer">ClutterContainer</a>, <a class="link" href="ClutterScriptable.html" title="ClutterScriptable">ClutterScriptable</a>, <a class="link" href="ClutterAnimatable.html" title="ClutterAnimatable">ClutterAnimatable</a> and AtkImplementorIface.</p>
|
195
|
+
</div>
|
196
|
+
<div class="refsect1">
|
197
|
+
<a name="ClutterText.properties"></a><h2>Properties</h2>
|
198
|
+
<pre class="synopsis">
|
199
|
+
"<a class="link" href="ClutterText.html#ClutterText--activatable" title='The "activatable" property'>activatable</a>" <span class="type">gboolean</span> : Read / Write
|
200
|
+
"<a class="link" href="ClutterText.html#ClutterText--attributes" title='The "attributes" property'>attributes</a>" <span class="type">PangoAttrList</span>* : Read / Write
|
201
|
+
"<a class="link" href="ClutterText.html#ClutterText--buffer" title='The "buffer" property'>buffer</a>" <a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a>* : Read / Write
|
202
|
+
"<a class="link" href="ClutterText.html#ClutterText--color" title='The "color" property'>color</a>" <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>* : Read / Write
|
203
|
+
"<a class="link" href="ClutterText.html#ClutterText--cursor-color" title='The "cursor-color" property'>cursor-color</a>" <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>* : Read / Write
|
204
|
+
"<a class="link" href="ClutterText.html#ClutterText--cursor-color-set" title='The "cursor-color-set" property'>cursor-color-set</a>" <span class="type">gboolean</span> : Read
|
205
|
+
"<a class="link" href="ClutterText.html#ClutterText--cursor-position" title='The "cursor-position" property'>cursor-position</a>" <span class="type">gint</span> : Read / Write
|
206
|
+
"<a class="link" href="ClutterText.html#ClutterText--cursor-size" title='The "cursor-size" property'>cursor-size</a>" <span class="type">gint</span> : Read / Write
|
207
|
+
"<a class="link" href="ClutterText.html#ClutterText--cursor-visible" title='The "cursor-visible" property'>cursor-visible</a>" <span class="type">gboolean</span> : Read / Write
|
208
|
+
"<a class="link" href="ClutterText.html#ClutterText--editable" title='The "editable" property'>editable</a>" <span class="type">gboolean</span> : Read / Write
|
209
|
+
"<a class="link" href="ClutterText.html#ClutterText--ellipsize" title='The "ellipsize" property'>ellipsize</a>" <span class="type">PangoEllipsizeMode</span> : Read / Write
|
210
|
+
"<a class="link" href="ClutterText.html#ClutterText--font-description" title='The "font-description" property'>font-description</a>" <span class="type">PangoFontDescription</span>* : Read / Write
|
211
|
+
"<a class="link" href="ClutterText.html#ClutterText--font-name" title='The "font-name" property'>font-name</a>" <span class="type">gchar</span>* : Read / Write
|
212
|
+
"<a class="link" href="ClutterText.html#ClutterText--justify" title='The "justify" property'>justify</a>" <span class="type">gboolean</span> : Read / Write
|
213
|
+
"<a class="link" href="ClutterText.html#ClutterText--line-alignment" title='The "line-alignment" property'>line-alignment</a>" <span class="type">PangoAlignment</span> : Read / Write
|
214
|
+
"<a class="link" href="ClutterText.html#ClutterText--line-wrap" title='The "line-wrap" property'>line-wrap</a>" <span class="type">gboolean</span> : Read / Write
|
215
|
+
"<a class="link" href="ClutterText.html#ClutterText--line-wrap-mode" title='The "line-wrap-mode" property'>line-wrap-mode</a>" <span class="type">PangoWrapMode</span> : Read / Write
|
216
|
+
"<a class="link" href="ClutterText.html#ClutterText--max-length" title='The "max-length" property'>max-length</a>" <span class="type">gint</span> : Read / Write
|
217
|
+
"<a class="link" href="ClutterText.html#ClutterText--password-char" title='The "password-char" property'>password-char</a>" <span class="type">guint</span> : Read / Write
|
218
|
+
"<a class="link" href="ClutterText.html#ClutterText--position" title='The "position" property'>position</a>" <span class="type">gint</span> : Read / Write
|
219
|
+
"<a class="link" href="ClutterText.html#ClutterText--selectable" title='The "selectable" property'>selectable</a>" <span class="type">gboolean</span> : Read / Write
|
220
|
+
"<a class="link" href="ClutterText.html#ClutterText--selected-text-color" title='The "selected-text-color" property'>selected-text-color</a>" <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>* : Read / Write
|
221
|
+
"<a class="link" href="ClutterText.html#ClutterText--selected-text-color-set" title='The "selected-text-color-set" property'>selected-text-color-set</a>" <span class="type">gboolean</span> : Read
|
222
|
+
"<a class="link" href="ClutterText.html#ClutterText--selection-bound" title='The "selection-bound" property'>selection-bound</a>" <span class="type">gint</span> : Read / Write
|
223
|
+
"<a class="link" href="ClutterText.html#ClutterText--selection-color" title='The "selection-color" property'>selection-color</a>" <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>* : Read / Write
|
224
|
+
"<a class="link" href="ClutterText.html#ClutterText--selection-color-set" title='The "selection-color-set" property'>selection-color-set</a>" <span class="type">gboolean</span> : Read
|
225
|
+
"<a class="link" href="ClutterText.html#ClutterText--single-line-mode" title='The "single-line-mode" property'>single-line-mode</a>" <span class="type">gboolean</span> : Read / Write
|
226
|
+
"<a class="link" href="ClutterText.html#ClutterText--text" title='The "text" property'>text</a>" <span class="type">gchar</span>* : Read / Write
|
227
|
+
"<a class="link" href="ClutterText.html#ClutterText--use-markup" title='The "use-markup" property'>use-markup</a>" <span class="type">gboolean</span> : Read / Write
|
228
|
+
</pre>
|
229
|
+
</div>
|
230
|
+
<div class="refsect1">
|
231
|
+
<a name="ClutterText.signals"></a><h2>Signals</h2>
|
232
|
+
<pre class="synopsis">
|
233
|
+
"<a class="link" href="ClutterText.html#ClutterText-activate" title='The "activate" signal'>activate</a>" : <code class="literal">Run Last</code>
|
234
|
+
"<a class="link" href="ClutterText.html#ClutterText-cursor-event" title='The "cursor-event" signal'>cursor-event</a>" : <code class="literal">Run Last</code>
|
235
|
+
"<a class="link" href="ClutterText.html#ClutterText-delete-text" title='The "delete-text" signal'>delete-text</a>" : <code class="literal">Action</code>
|
236
|
+
"<a class="link" href="ClutterText.html#ClutterText-insert-text" title='The "insert-text" signal'>insert-text</a>" : <code class="literal">Action</code>
|
237
|
+
"<a class="link" href="ClutterText.html#ClutterText-text-changed" title='The "text-changed" signal'>text-changed</a>" : <code class="literal">Run Last</code>
|
238
|
+
</pre>
|
239
|
+
</div>
|
240
|
+
<div class="refsect1">
|
241
|
+
<a name="ClutterText.description"></a><h2>Description</h2>
|
242
|
+
<p>
|
243
|
+
<a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> is an actor that displays custom text using Pango
|
244
|
+
as the text rendering engine.
|
245
|
+
</p>
|
246
|
+
<p>
|
247
|
+
<a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> also allows inline editing of the text if the
|
248
|
+
actor is set editable using <a class="link" href="ClutterText.html#clutter-text-set-editable" title="clutter_text_set_editable ()"><code class="function">clutter_text_set_editable()</code></a>.
|
249
|
+
</p>
|
250
|
+
<p>
|
251
|
+
Selection using keyboard or pointers can be enabled using
|
252
|
+
<a class="link" href="ClutterText.html#clutter-text-set-selectable" title="clutter_text_set_selectable ()"><code class="function">clutter_text_set_selectable()</code></a>.
|
253
|
+
</p>
|
254
|
+
<p>
|
255
|
+
<a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> is available since Clutter 1.0
|
256
|
+
</p>
|
257
|
+
</div>
|
258
|
+
<div class="refsect1">
|
259
|
+
<a name="ClutterText.details"></a><h2>Details</h2>
|
260
|
+
<div class="refsect2">
|
261
|
+
<a name="ClutterText-struct"></a><h3>struct ClutterText</h3>
|
262
|
+
<pre class="programlisting">struct ClutterText;</pre>
|
263
|
+
<p>
|
264
|
+
The <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> struct contains only private data.
|
265
|
+
</p>
|
266
|
+
<p class="since">Since 1.0</p>
|
267
|
+
</div>
|
268
|
+
<hr>
|
269
|
+
<div class="refsect2">
|
270
|
+
<a name="ClutterTextClass"></a><h3>struct ClutterTextClass</h3>
|
271
|
+
<pre class="programlisting">struct ClutterTextClass {
|
272
|
+
/* signals, not vfuncs */
|
273
|
+
void (* text_changed) (ClutterText *self);
|
274
|
+
void (* activate) (ClutterText *self);
|
275
|
+
void (* cursor_event) (ClutterText *self,
|
276
|
+
const ClutterGeometry *geometry);
|
277
|
+
};
|
278
|
+
</pre>
|
279
|
+
<p>
|
280
|
+
The <a class="link" href="ClutterText.html#ClutterTextClass" title="struct ClutterTextClass"><span class="type">ClutterTextClass</span></a> struct contains only private data.
|
281
|
+
</p>
|
282
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
283
|
+
<colgroup>
|
284
|
+
<col align="left" valign="top">
|
285
|
+
<col>
|
286
|
+
</colgroup>
|
287
|
+
<tbody>
|
288
|
+
<tr>
|
289
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterTextClass.text-changed"></a>text_changed</code></em> ()</span></p></td>
|
290
|
+
<td>class handler for the <a class="link" href="ClutterText.html#ClutterText-text-changed" title='The "text-changed" signal'><span class="type">"text-changed"</span></a> signal</td>
|
291
|
+
</tr>
|
292
|
+
<tr>
|
293
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterTextClass.activate"></a>activate</code></em> ()</span></p></td>
|
294
|
+
<td>class handler for the <a class="link" href="ClutterText.html#ClutterText-activate" title='The "activate" signal'><span class="type">"activate"</span></a> signal</td>
|
295
|
+
</tr>
|
296
|
+
<tr>
|
297
|
+
<td><p><span class="term"><em class="structfield"><code><a name="ClutterTextClass.cursor-event"></a>cursor_event</code></em> ()</span></p></td>
|
298
|
+
<td>class handler for the <a class="link" href="ClutterText.html#ClutterText-cursor-event" title='The "cursor-event" signal'><span class="type">"cursor_event"</span></a> signal</td>
|
299
|
+
</tr>
|
300
|
+
</tbody>
|
301
|
+
</table></div>
|
302
|
+
<p class="since">Since 1.0</p>
|
303
|
+
</div>
|
304
|
+
<hr>
|
305
|
+
<div class="refsect2">
|
306
|
+
<a name="clutter-text-new"></a><h3>clutter_text_new ()</h3>
|
307
|
+
<pre class="programlisting"><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> * clutter_text_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
308
|
+
<p>
|
309
|
+
Creates a new <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor. This actor can be used to
|
310
|
+
display and edit text.
|
311
|
+
</p>
|
312
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
313
|
+
<colgroup>
|
314
|
+
<col align="left" valign="top">
|
315
|
+
<col>
|
316
|
+
</colgroup>
|
317
|
+
<tbody><tr>
|
318
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
319
|
+
<td>the newly created <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor</td>
|
320
|
+
</tr></tbody>
|
321
|
+
</table></div>
|
322
|
+
<p class="since">Since 1.0</p>
|
323
|
+
</div>
|
324
|
+
<hr>
|
325
|
+
<div class="refsect2">
|
326
|
+
<a name="clutter-text-new-full"></a><h3>clutter_text_new_full ()</h3>
|
327
|
+
<pre class="programlisting"><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> * clutter_text_new_full (<em class="parameter"><code>const <span class="type">gchar</span> *font_name</code></em>,
|
328
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>,
|
329
|
+
<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>);</pre>
|
330
|
+
<p>
|
331
|
+
Creates a new <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor, using <em class="parameter"><code>font_name</code></em> as the font
|
332
|
+
description; <em class="parameter"><code>text</code></em> will be used to set the contents of the actor;
|
333
|
+
and <em class="parameter"><code>color</code></em> will be used as the color to render <em class="parameter"><code>text</code></em>.
|
334
|
+
</p>
|
335
|
+
<p>
|
336
|
+
This function is equivalent to calling <a class="link" href="ClutterText.html#clutter-text-new" title="clutter_text_new ()"><code class="function">clutter_text_new()</code></a>,
|
337
|
+
<a class="link" href="ClutterText.html#clutter-text-set-font-name" title="clutter_text_set_font_name ()"><code class="function">clutter_text_set_font_name()</code></a>, <a class="link" href="ClutterText.html#clutter-text-set-text" title="clutter_text_set_text ()"><code class="function">clutter_text_set_text()</code></a> and
|
338
|
+
<a class="link" href="ClutterText.html#clutter-text-set-color" title="clutter_text_set_color ()"><code class="function">clutter_text_set_color()</code></a>.
|
339
|
+
</p>
|
340
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
341
|
+
<colgroup>
|
342
|
+
<col align="left" valign="top">
|
343
|
+
<col>
|
344
|
+
</colgroup>
|
345
|
+
<tbody>
|
346
|
+
<tr>
|
347
|
+
<td><p><span class="term"><em class="parameter"><code>font_name</code></em> :</span></p></td>
|
348
|
+
<td>a string with a font description</td>
|
349
|
+
</tr>
|
350
|
+
<tr>
|
351
|
+
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
352
|
+
<td>the contents of the actor</td>
|
353
|
+
</tr>
|
354
|
+
<tr>
|
355
|
+
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
356
|
+
<td>the color to be used to render <em class="parameter"><code>text</code></em>
|
357
|
+
</td>
|
358
|
+
</tr>
|
359
|
+
<tr>
|
360
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
361
|
+
<td>the newly created <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor</td>
|
362
|
+
</tr>
|
363
|
+
</tbody>
|
364
|
+
</table></div>
|
365
|
+
<p class="since">Since 1.0</p>
|
366
|
+
</div>
|
367
|
+
<hr>
|
368
|
+
<div class="refsect2">
|
369
|
+
<a name="clutter-text-new-with-text"></a><h3>clutter_text_new_with_text ()</h3>
|
370
|
+
<pre class="programlisting"><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> * clutter_text_new_with_text (<em class="parameter"><code>const <span class="type">gchar</span> *font_name</code></em>,
|
371
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>);</pre>
|
372
|
+
<p>
|
373
|
+
Creates a new <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor, using <em class="parameter"><code>font_name</code></em> as the font
|
374
|
+
description; <em class="parameter"><code>text</code></em> will be used to set the contents of the actor.
|
375
|
+
</p>
|
376
|
+
<p>
|
377
|
+
This function is equivalent to calling <a class="link" href="ClutterText.html#clutter-text-new" title="clutter_text_new ()"><code class="function">clutter_text_new()</code></a>,
|
378
|
+
<a class="link" href="ClutterText.html#clutter-text-set-font-name" title="clutter_text_set_font_name ()"><code class="function">clutter_text_set_font_name()</code></a>, and <a class="link" href="ClutterText.html#clutter-text-set-text" title="clutter_text_set_text ()"><code class="function">clutter_text_set_text()</code></a>.
|
379
|
+
</p>
|
380
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
381
|
+
<colgroup>
|
382
|
+
<col align="left" valign="top">
|
383
|
+
<col>
|
384
|
+
</colgroup>
|
385
|
+
<tbody>
|
386
|
+
<tr>
|
387
|
+
<td><p><span class="term"><em class="parameter"><code>font_name</code></em> :</span></p></td>
|
388
|
+
<td>a string with a font description. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
389
|
+
</td>
|
390
|
+
</tr>
|
391
|
+
<tr>
|
392
|
+
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
393
|
+
<td>the contents of the actor</td>
|
394
|
+
</tr>
|
395
|
+
<tr>
|
396
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
397
|
+
<td>the newly created <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor</td>
|
398
|
+
</tr>
|
399
|
+
</tbody>
|
400
|
+
</table></div>
|
401
|
+
<p class="since">Since 1.0</p>
|
402
|
+
</div>
|
403
|
+
<hr>
|
404
|
+
<div class="refsect2">
|
405
|
+
<a name="clutter-text-new-with-buffer"></a><h3>clutter_text_new_with_buffer ()</h3>
|
406
|
+
<pre class="programlisting"><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="returnvalue">ClutterActor</span></a> * clutter_text_new_with_buffer (<em class="parameter"><code><a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> *buffer</code></em>);</pre>
|
407
|
+
<p>
|
408
|
+
Creates a new entry with the specified text buffer.
|
409
|
+
</p>
|
410
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
411
|
+
<colgroup>
|
412
|
+
<col align="left" valign="top">
|
413
|
+
<col>
|
414
|
+
</colgroup>
|
415
|
+
<tbody>
|
416
|
+
<tr>
|
417
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
418
|
+
<td>The buffer to use for the new <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>.</td>
|
419
|
+
</tr>
|
420
|
+
<tr>
|
421
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
422
|
+
<td>a new <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
423
|
+
</td>
|
424
|
+
</tr>
|
425
|
+
</tbody>
|
426
|
+
</table></div>
|
427
|
+
<p class="since">Since 1.10</p>
|
428
|
+
</div>
|
429
|
+
<hr>
|
430
|
+
<div class="refsect2">
|
431
|
+
<a name="clutter-text-set-buffer"></a><h3>clutter_text_set_buffer ()</h3>
|
432
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_text_set_buffer (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
433
|
+
<em class="parameter"><code><a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> *buffer</code></em>);</pre>
|
434
|
+
<p>
|
435
|
+
Set the <a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> object which holds the text for
|
436
|
+
this widget.
|
437
|
+
</p>
|
438
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
439
|
+
<colgroup>
|
440
|
+
<col align="left" valign="top">
|
441
|
+
<col>
|
442
|
+
</colgroup>
|
443
|
+
<tbody>
|
444
|
+
<tr>
|
445
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
446
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
447
|
+
</td>
|
448
|
+
</tr>
|
449
|
+
<tr>
|
450
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
451
|
+
<td>a <a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a>
|
452
|
+
</td>
|
453
|
+
</tr>
|
454
|
+
</tbody>
|
455
|
+
</table></div>
|
456
|
+
<p class="since">Since 1.10</p>
|
457
|
+
</div>
|
458
|
+
<hr>
|
459
|
+
<div class="refsect2">
|
460
|
+
<a name="clutter-text-get-buffer"></a><h3>clutter_text_get_buffer ()</h3>
|
461
|
+
<pre class="programlisting"><a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="returnvalue">ClutterTextBuffer</span></a> * clutter_text_get_buffer (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);</pre>
|
462
|
+
<p>
|
463
|
+
Get the <a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a> object which holds the text for
|
464
|
+
this widget.
|
465
|
+
</p>
|
466
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
467
|
+
<colgroup>
|
468
|
+
<col align="left" valign="top">
|
469
|
+
<col>
|
470
|
+
</colgroup>
|
471
|
+
<tbody>
|
472
|
+
<tr>
|
473
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
474
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
475
|
+
</td>
|
476
|
+
</tr>
|
477
|
+
<tr>
|
478
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
479
|
+
<td>A <span class="type">GtkEntryBuffer</span> object. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
480
|
+
</td>
|
481
|
+
</tr>
|
482
|
+
</tbody>
|
483
|
+
</table></div>
|
484
|
+
<p class="since">Since 1.10</p>
|
485
|
+
</div>
|
486
|
+
<hr>
|
487
|
+
<div class="refsect2">
|
488
|
+
<a name="clutter-text-set-text"></a><h3>clutter_text_set_text ()</h3>
|
489
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_text_set_text (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
490
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>);</pre>
|
491
|
+
<p>
|
492
|
+
Sets the contents of a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor.
|
493
|
+
</p>
|
494
|
+
<p>
|
495
|
+
If the <a class="link" href="ClutterText.html#ClutterText--use-markup" title='The "use-markup" property'><span class="type">"use-markup"</span></a> property was set to <code class="literal">TRUE</code> it
|
496
|
+
will be reset to <code class="literal">FALSE</code> as a side effect. If you want to
|
497
|
+
maintain the <a class="link" href="ClutterText.html#ClutterText--use-markup" title='The "use-markup" property'><span class="type">"use-markup"</span></a> you should use the
|
498
|
+
<a class="link" href="ClutterText.html#clutter-text-set-markup" title="clutter_text_set_markup ()"><code class="function">clutter_text_set_markup()</code></a> function instead
|
499
|
+
</p>
|
500
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
501
|
+
<colgroup>
|
502
|
+
<col align="left" valign="top">
|
503
|
+
<col>
|
504
|
+
</colgroup>
|
505
|
+
<tbody>
|
506
|
+
<tr>
|
507
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
508
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
509
|
+
</td>
|
510
|
+
</tr>
|
511
|
+
<tr>
|
512
|
+
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
513
|
+
<td>the text to set. Passing <code class="literal">NULL</code> is the same
|
514
|
+
as passing "" (the empty string). <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
515
|
+
</td>
|
516
|
+
</tr>
|
517
|
+
</tbody>
|
518
|
+
</table></div>
|
519
|
+
<p class="since">Since 1.0</p>
|
520
|
+
</div>
|
521
|
+
<hr>
|
522
|
+
<div class="refsect2">
|
523
|
+
<a name="clutter-text-set-markup"></a><h3>clutter_text_set_markup ()</h3>
|
524
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_text_set_markup (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
525
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *markup</code></em>);</pre>
|
526
|
+
<p>
|
527
|
+
Sets <em class="parameter"><code>markup</code></em> as the contents of a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>.
|
528
|
+
</p>
|
529
|
+
<p>
|
530
|
+
This is a convenience function for setting a string containing
|
531
|
+
Pango markup, and it is logically equivalent to:
|
532
|
+
</p>
|
533
|
+
<p>
|
534
|
+
</p>
|
535
|
+
<div class="informalexample">
|
536
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
537
|
+
<tbody>
|
538
|
+
<tr>
|
539
|
+
<td class="listing_lines" align="right"><pre>1
|
540
|
+
2
|
541
|
+
3</pre></td>
|
542
|
+
<td class="listing_code"><pre class="programlisting"><span class="comment">/* the order is important */</span>
|
543
|
+
<span class="function"><a href="ClutterText.html#clutter-text-set-text">clutter_text_set_text</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">CLUTTER_TEXT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">actor</span><span class="symbol">),</span><span class="normal"> markup</span><span class="symbol">);</span>
|
544
|
+
<span class="function"><a href="ClutterText.html#clutter-text-set-use-markup">clutter_text_set_use_markup</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">CLUTTER_TEXT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">actor</span><span class="symbol">),</span><span class="normal"> TRUE</span><span class="symbol">);</span></pre></td>
|
545
|
+
</tr>
|
546
|
+
</tbody>
|
547
|
+
</table>
|
548
|
+
</div>
|
549
|
+
|
550
|
+
<p>
|
551
|
+
</p>
|
552
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
553
|
+
<colgroup>
|
554
|
+
<col align="left" valign="top">
|
555
|
+
<col>
|
556
|
+
</colgroup>
|
557
|
+
<tbody>
|
558
|
+
<tr>
|
559
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
560
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
561
|
+
</td>
|
562
|
+
</tr>
|
563
|
+
<tr>
|
564
|
+
<td><p><span class="term"><em class="parameter"><code>markup</code></em> :</span></p></td>
|
565
|
+
<td>a string containing Pango markup.
|
566
|
+
Passing <code class="literal">NULL</code> is the same as passing "" (the empty string). <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
567
|
+
</td>
|
568
|
+
</tr>
|
569
|
+
</tbody>
|
570
|
+
</table></div>
|
571
|
+
<p class="since">Since 1.0</p>
|
572
|
+
</div>
|
573
|
+
<hr>
|
574
|
+
<div class="refsect2">
|
575
|
+
<a name="clutter-text-get-text"></a><h3>clutter_text_get_text ()</h3>
|
576
|
+
<pre class="programlisting">const <span class="returnvalue">gchar</span> * clutter_text_get_text (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);</pre>
|
577
|
+
<p>
|
578
|
+
Retrieves a pointer to the current contents of a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
579
|
+
actor.
|
580
|
+
</p>
|
581
|
+
<p>
|
582
|
+
If you need a copy of the contents for manipulating, either
|
583
|
+
use <code class="function">g_strdup()</code> on the returned string, or use:
|
584
|
+
</p>
|
585
|
+
<p>
|
586
|
+
</p>
|
587
|
+
<div class="informalexample">
|
588
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
589
|
+
<tbody>
|
590
|
+
<tr>
|
591
|
+
<td class="listing_lines" align="right"><pre>1</pre></td>
|
592
|
+
<td class="listing_code"><pre class="programlisting"><span class="normal">copy </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterText.html#clutter-text-get-chars">clutter_text_get_chars</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">);</span></pre></td>
|
593
|
+
</tr>
|
594
|
+
</tbody>
|
595
|
+
</table>
|
596
|
+
</div>
|
597
|
+
|
598
|
+
<p>
|
599
|
+
</p>
|
600
|
+
<p>
|
601
|
+
Which will return a newly allocated string.
|
602
|
+
</p>
|
603
|
+
<p>
|
604
|
+
If the <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor is empty, this function will return
|
605
|
+
an empty string, and not <code class="literal">NULL</code>.
|
606
|
+
</p>
|
607
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
608
|
+
<colgroup>
|
609
|
+
<col align="left" valign="top">
|
610
|
+
<col>
|
611
|
+
</colgroup>
|
612
|
+
<tbody>
|
613
|
+
<tr>
|
614
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
615
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
616
|
+
</td>
|
617
|
+
</tr>
|
618
|
+
<tr>
|
619
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
620
|
+
<td>the contents of the actor. The returned
|
621
|
+
string is owned by the <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor and should never be modified
|
622
|
+
or freed. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
623
|
+
</td>
|
624
|
+
</tr>
|
625
|
+
</tbody>
|
626
|
+
</table></div>
|
627
|
+
<p class="since">Since 1.0</p>
|
628
|
+
</div>
|
629
|
+
<hr>
|
630
|
+
<div class="refsect2">
|
631
|
+
<a name="clutter-text-set-activatable"></a><h3>clutter_text_set_activatable ()</h3>
|
632
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_text_set_activatable (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
633
|
+
<em class="parameter"><code><span class="type">gboolean</span> activatable</code></em>);</pre>
|
634
|
+
<p>
|
635
|
+
Sets whether a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor should be activatable.
|
636
|
+
</p>
|
637
|
+
<p>
|
638
|
+
An activatable <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor will emit the <a class="link" href="ClutterText.html#ClutterText-activate" title='The "activate" signal'><span class="type">"activate"</span></a>
|
639
|
+
signal whenever the 'Enter' (or 'Return') key is pressed; if it is not
|
640
|
+
activatable, a new line will be appended to the current content.
|
641
|
+
</p>
|
642
|
+
<p>
|
643
|
+
An activatable <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> must also be set as editable using
|
644
|
+
<a class="link" href="ClutterText.html#clutter-text-set-editable" title="clutter_text_set_editable ()"><code class="function">clutter_text_set_editable()</code></a>.
|
645
|
+
</p>
|
646
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
647
|
+
<colgroup>
|
648
|
+
<col align="left" valign="top">
|
649
|
+
<col>
|
650
|
+
</colgroup>
|
651
|
+
<tbody>
|
652
|
+
<tr>
|
653
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
654
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
655
|
+
</td>
|
656
|
+
</tr>
|
657
|
+
<tr>
|
658
|
+
<td><p><span class="term"><em class="parameter"><code>activatable</code></em> :</span></p></td>
|
659
|
+
<td>whether the <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor should be activatable</td>
|
660
|
+
</tr>
|
661
|
+
</tbody>
|
662
|
+
</table></div>
|
663
|
+
<p class="since">Since 1.0</p>
|
664
|
+
</div>
|
665
|
+
<hr>
|
666
|
+
<div class="refsect2">
|
667
|
+
<a name="clutter-text-get-activatable"></a><h3>clutter_text_get_activatable ()</h3>
|
668
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> clutter_text_get_activatable (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);</pre>
|
669
|
+
<p>
|
670
|
+
Retrieves whether a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> is activatable or not.
|
671
|
+
</p>
|
672
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
673
|
+
<colgroup>
|
674
|
+
<col align="left" valign="top">
|
675
|
+
<col>
|
676
|
+
</colgroup>
|
677
|
+
<tbody>
|
678
|
+
<tr>
|
679
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
680
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
681
|
+
</td>
|
682
|
+
</tr>
|
683
|
+
<tr>
|
684
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
685
|
+
<td>
|
686
|
+
<code class="literal">TRUE</code> if the actor is activatable</td>
|
687
|
+
</tr>
|
688
|
+
</tbody>
|
689
|
+
</table></div>
|
690
|
+
<p class="since">Since 1.0</p>
|
691
|
+
</div>
|
692
|
+
<hr>
|
693
|
+
<div class="refsect2">
|
694
|
+
<a name="clutter-text-set-attributes"></a><h3>clutter_text_set_attributes ()</h3>
|
695
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_text_set_attributes (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
696
|
+
<em class="parameter"><code><span class="type">PangoAttrList</span> *attrs</code></em>);</pre>
|
697
|
+
<p>
|
698
|
+
Sets the attributes list that are going to be applied to the
|
699
|
+
<a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> contents.
|
700
|
+
</p>
|
701
|
+
<p>
|
702
|
+
The <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor will take a reference on the <span class="type">PangoAttrList</span>
|
703
|
+
passed to this function.
|
704
|
+
</p>
|
705
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
706
|
+
<colgroup>
|
707
|
+
<col align="left" valign="top">
|
708
|
+
<col>
|
709
|
+
</colgroup>
|
710
|
+
<tbody>
|
711
|
+
<tr>
|
712
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
713
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
714
|
+
</td>
|
715
|
+
</tr>
|
716
|
+
<tr>
|
717
|
+
<td><p><span class="term"><em class="parameter"><code>attrs</code></em> :</span></p></td>
|
718
|
+
<td>a <span class="type">PangoAttrList</span> or <code class="literal">NULL</code> to unset the attributes. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
719
|
+
</td>
|
720
|
+
</tr>
|
721
|
+
</tbody>
|
722
|
+
</table></div>
|
723
|
+
<p class="since">Since 1.0</p>
|
724
|
+
</div>
|
725
|
+
<hr>
|
726
|
+
<div class="refsect2">
|
727
|
+
<a name="clutter-text-get-attributes"></a><h3>clutter_text_get_attributes ()</h3>
|
728
|
+
<pre class="programlisting"><span class="returnvalue">PangoAttrList</span> * clutter_text_get_attributes (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);</pre>
|
729
|
+
<p>
|
730
|
+
Gets the attribute list that was set on the <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor
|
731
|
+
<a class="link" href="ClutterText.html#clutter-text-set-attributes" title="clutter_text_set_attributes ()"><code class="function">clutter_text_set_attributes()</code></a>, if any.
|
732
|
+
</p>
|
733
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
734
|
+
<colgroup>
|
735
|
+
<col align="left" valign="top">
|
736
|
+
<col>
|
737
|
+
</colgroup>
|
738
|
+
<tbody>
|
739
|
+
<tr>
|
740
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
741
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
742
|
+
</td>
|
743
|
+
</tr>
|
744
|
+
<tr>
|
745
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
746
|
+
<td>the attribute list, or <code class="literal">NULL</code> if none was set. The
|
747
|
+
returned value is owned by the <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> and should not be unreferenced. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
748
|
+
</td>
|
749
|
+
</tr>
|
750
|
+
</tbody>
|
751
|
+
</table></div>
|
752
|
+
<p class="since">Since 1.0</p>
|
753
|
+
</div>
|
754
|
+
<hr>
|
755
|
+
<div class="refsect2">
|
756
|
+
<a name="clutter-text-set-color"></a><h3>clutter_text_set_color ()</h3>
|
757
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_text_set_color (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
758
|
+
<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>);</pre>
|
759
|
+
<p>
|
760
|
+
Sets the color of the contents of a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor.
|
761
|
+
</p>
|
762
|
+
<p>
|
763
|
+
The overall opacity of the <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor will be the
|
764
|
+
result of the alpha value of <em class="parameter"><code>color</code></em> and the composited
|
765
|
+
opacity of the actor itself on the scenegraph, as returned
|
766
|
+
by <a class="link" href="ClutterActor.html#clutter-actor-get-paint-opacity" title="clutter_actor_get_paint_opacity ()"><code class="function">clutter_actor_get_paint_opacity()</code></a>.
|
767
|
+
</p>
|
768
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
769
|
+
<colgroup>
|
770
|
+
<col align="left" valign="top">
|
771
|
+
<col>
|
772
|
+
</colgroup>
|
773
|
+
<tbody>
|
774
|
+
<tr>
|
775
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
776
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
777
|
+
</td>
|
778
|
+
</tr>
|
779
|
+
<tr>
|
780
|
+
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
781
|
+
<td>a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>
|
782
|
+
</td>
|
783
|
+
</tr>
|
784
|
+
</tbody>
|
785
|
+
</table></div>
|
786
|
+
<p class="since">Since 1.0</p>
|
787
|
+
</div>
|
788
|
+
<hr>
|
789
|
+
<div class="refsect2">
|
790
|
+
<a name="clutter-text-get-color"></a><h3>clutter_text_get_color ()</h3>
|
791
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_text_get_color (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
792
|
+
<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>);</pre>
|
793
|
+
<p>
|
794
|
+
Retrieves the text color as set by <a class="link" href="ClutterText.html#clutter-text-set-color" title="clutter_text_set_color ()"><code class="function">clutter_text_set_color()</code></a>.
|
795
|
+
</p>
|
796
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
797
|
+
<colgroup>
|
798
|
+
<col align="left" valign="top">
|
799
|
+
<col>
|
800
|
+
</colgroup>
|
801
|
+
<tbody>
|
802
|
+
<tr>
|
803
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
804
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
805
|
+
</td>
|
806
|
+
</tr>
|
807
|
+
<tr>
|
808
|
+
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
809
|
+
<td>return location for a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>. <span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span>
|
810
|
+
</td>
|
811
|
+
</tr>
|
812
|
+
</tbody>
|
813
|
+
</table></div>
|
814
|
+
<p class="since">Since 1.0</p>
|
815
|
+
</div>
|
816
|
+
<hr>
|
817
|
+
<div class="refsect2">
|
818
|
+
<a name="clutter-text-set-ellipsize"></a><h3>clutter_text_set_ellipsize ()</h3>
|
819
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_text_set_ellipsize (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
820
|
+
<em class="parameter"><code><span class="type">PangoEllipsizeMode</span> mode</code></em>);</pre>
|
821
|
+
<p>
|
822
|
+
Sets the mode used to ellipsize (add an ellipsis: "...") to the
|
823
|
+
text if there is not enough space to render the entire contents
|
824
|
+
of a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor
|
825
|
+
</p>
|
826
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
827
|
+
<colgroup>
|
828
|
+
<col align="left" valign="top">
|
829
|
+
<col>
|
830
|
+
</colgroup>
|
831
|
+
<tbody>
|
832
|
+
<tr>
|
833
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
834
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
835
|
+
</td>
|
836
|
+
</tr>
|
837
|
+
<tr>
|
838
|
+
<td><p><span class="term"><em class="parameter"><code>mode</code></em> :</span></p></td>
|
839
|
+
<td>a <span class="type">PangoEllipsizeMode</span>
|
840
|
+
</td>
|
841
|
+
</tr>
|
842
|
+
</tbody>
|
843
|
+
</table></div>
|
844
|
+
<p class="since">Since 1.0</p>
|
845
|
+
</div>
|
846
|
+
<hr>
|
847
|
+
<div class="refsect2">
|
848
|
+
<a name="clutter-text-get-ellipsize"></a><h3>clutter_text_get_ellipsize ()</h3>
|
849
|
+
<pre class="programlisting"><span class="returnvalue">PangoEllipsizeMode</span> clutter_text_get_ellipsize (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);</pre>
|
850
|
+
<p>
|
851
|
+
Returns the ellipsizing position of a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor, as
|
852
|
+
set by <a class="link" href="ClutterText.html#clutter-text-set-ellipsize" title="clutter_text_set_ellipsize ()"><code class="function">clutter_text_set_ellipsize()</code></a>.
|
853
|
+
</p>
|
854
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
855
|
+
<colgroup>
|
856
|
+
<col align="left" valign="top">
|
857
|
+
<col>
|
858
|
+
</colgroup>
|
859
|
+
<tbody>
|
860
|
+
<tr>
|
861
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
862
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
863
|
+
</td>
|
864
|
+
</tr>
|
865
|
+
<tr>
|
866
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
867
|
+
<td><span class="type">PangoEllipsizeMode</span></td>
|
868
|
+
</tr>
|
869
|
+
</tbody>
|
870
|
+
</table></div>
|
871
|
+
<p class="since">Since 1.0</p>
|
872
|
+
</div>
|
873
|
+
<hr>
|
874
|
+
<div class="refsect2">
|
875
|
+
<a name="clutter-text-set-font-name"></a><h3>clutter_text_set_font_name ()</h3>
|
876
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_text_set_font_name (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
877
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *font_name</code></em>);</pre>
|
878
|
+
<p>
|
879
|
+
Sets the font used by a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>. The <em class="parameter"><code>font_name</code></em> string
|
880
|
+
must either be <code class="literal">NULL</code>, which means that the font name from the
|
881
|
+
default <a class="link" href="ClutterBackend.html" title="ClutterBackend"><span class="type">ClutterBackend</span></a> will be used; or be something that can
|
882
|
+
be parsed by the <code class="function">pango_font_description_from_string()</code> function,
|
883
|
+
like:
|
884
|
+
</p>
|
885
|
+
<p>
|
886
|
+
</p>
|
887
|
+
<div class="informalexample">
|
888
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
889
|
+
<tbody>
|
890
|
+
<tr>
|
891
|
+
<td class="listing_lines" align="right"><pre>1
|
892
|
+
2
|
893
|
+
3</pre></td>
|
894
|
+
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="ClutterText.html#clutter-text-set-font-name">clutter_text_set_font_name</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Sans 10pt"</span><span class="symbol">);</span>
|
895
|
+
<span class="function"><a href="ClutterText.html#clutter-text-set-font-name">clutter_text_set_font_name</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Serif 16px"</span><span class="symbol">);</span>
|
896
|
+
<span class="function"><a href="ClutterText.html#clutter-text-set-font-name">clutter_text_set_font_name</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Helvetica 10"</span><span class="symbol">);</span></pre></td>
|
897
|
+
</tr>
|
898
|
+
</tbody>
|
899
|
+
</table>
|
900
|
+
</div>
|
901
|
+
|
902
|
+
<p>
|
903
|
+
</p>
|
904
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
905
|
+
<colgroup>
|
906
|
+
<col align="left" valign="top">
|
907
|
+
<col>
|
908
|
+
</colgroup>
|
909
|
+
<tbody>
|
910
|
+
<tr>
|
911
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
912
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
913
|
+
</td>
|
914
|
+
</tr>
|
915
|
+
<tr>
|
916
|
+
<td><p><span class="term"><em class="parameter"><code>font_name</code></em> :</span></p></td>
|
917
|
+
<td>a font name, or <code class="literal">NULL</code> to set the default font name. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
918
|
+
</td>
|
919
|
+
</tr>
|
920
|
+
</tbody>
|
921
|
+
</table></div>
|
922
|
+
<p class="since">Since 1.0</p>
|
923
|
+
</div>
|
924
|
+
<hr>
|
925
|
+
<div class="refsect2">
|
926
|
+
<a name="clutter-text-get-font-name"></a><h3>clutter_text_get_font_name ()</h3>
|
927
|
+
<pre class="programlisting">const <span class="returnvalue">gchar</span> * clutter_text_get_font_name (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);</pre>
|
928
|
+
<p>
|
929
|
+
Retrieves the font name as set by <a class="link" href="ClutterText.html#clutter-text-set-font-name" title="clutter_text_set_font_name ()"><code class="function">clutter_text_set_font_name()</code></a>.
|
930
|
+
</p>
|
931
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
932
|
+
<colgroup>
|
933
|
+
<col align="left" valign="top">
|
934
|
+
<col>
|
935
|
+
</colgroup>
|
936
|
+
<tbody>
|
937
|
+
<tr>
|
938
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
939
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
940
|
+
</td>
|
941
|
+
</tr>
|
942
|
+
<tr>
|
943
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
944
|
+
<td>a string containing the font name. The returned
|
945
|
+
string is owned by the <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor and should not be
|
946
|
+
modified or freed</td>
|
947
|
+
</tr>
|
948
|
+
</tbody>
|
949
|
+
</table></div>
|
950
|
+
<p class="since">Since 1.0</p>
|
951
|
+
</div>
|
952
|
+
<hr>
|
953
|
+
<div class="refsect2">
|
954
|
+
<a name="clutter-text-set-font-description"></a><h3>clutter_text_set_font_description ()</h3>
|
955
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_text_set_font_description (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
956
|
+
<em class="parameter"><code><span class="type">PangoFontDescription</span> *font_desc</code></em>);</pre>
|
957
|
+
<p>
|
958
|
+
Sets <em class="parameter"><code>font_desc</code></em> as the font description for a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
959
|
+
</p>
|
960
|
+
<p>
|
961
|
+
The <span class="type">PangoFontDescription</span> is copied by the <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor
|
962
|
+
so you can safely call <code class="function">pango_font_description_free()</code> on it after
|
963
|
+
calling this function.
|
964
|
+
</p>
|
965
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
966
|
+
<colgroup>
|
967
|
+
<col align="left" valign="top">
|
968
|
+
<col>
|
969
|
+
</colgroup>
|
970
|
+
<tbody>
|
971
|
+
<tr>
|
972
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
973
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
974
|
+
</td>
|
975
|
+
</tr>
|
976
|
+
<tr>
|
977
|
+
<td><p><span class="term"><em class="parameter"><code>font_desc</code></em> :</span></p></td>
|
978
|
+
<td>a <span class="type">PangoFontDescription</span>
|
979
|
+
</td>
|
980
|
+
</tr>
|
981
|
+
</tbody>
|
982
|
+
</table></div>
|
983
|
+
<p class="since">Since 1.2</p>
|
984
|
+
</div>
|
985
|
+
<hr>
|
986
|
+
<div class="refsect2">
|
987
|
+
<a name="clutter-text-get-font-description"></a><h3>clutter_text_get_font_description ()</h3>
|
988
|
+
<pre class="programlisting"><span class="returnvalue">PangoFontDescription</span> * clutter_text_get_font_description
|
989
|
+
(<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);</pre>
|
990
|
+
<p>
|
991
|
+
Retrieves the <span class="type">PangoFontDescription</span> used by <em class="parameter"><code>self</code></em>
|
992
|
+
</p>
|
993
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
994
|
+
<colgroup>
|
995
|
+
<col align="left" valign="top">
|
996
|
+
<col>
|
997
|
+
</colgroup>
|
998
|
+
<tbody>
|
999
|
+
<tr>
|
1000
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
1001
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
1002
|
+
</td>
|
1003
|
+
</tr>
|
1004
|
+
<tr>
|
1005
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1006
|
+
<td>a <span class="type">PangoFontDescription</span>. The returned value is owned
|
1007
|
+
by the <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor and it should not be modified or freed</td>
|
1008
|
+
</tr>
|
1009
|
+
</tbody>
|
1010
|
+
</table></div>
|
1011
|
+
<p class="since">Since 1.2</p>
|
1012
|
+
</div>
|
1013
|
+
<hr>
|
1014
|
+
<div class="refsect2">
|
1015
|
+
<a name="clutter-text-set-password-char"></a><h3>clutter_text_set_password_char ()</h3>
|
1016
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_text_set_password_char (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
1017
|
+
<em class="parameter"><code><span class="type">gunichar</span> wc</code></em>);</pre>
|
1018
|
+
<p>
|
1019
|
+
Sets the character to use in place of the actual text in a
|
1020
|
+
password text actor.
|
1021
|
+
</p>
|
1022
|
+
<p>
|
1023
|
+
If <em class="parameter"><code>wc</code></em> is 0 the text will be displayed as it is entered in the
|
1024
|
+
<a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor.
|
1025
|
+
</p>
|
1026
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1027
|
+
<colgroup>
|
1028
|
+
<col align="left" valign="top">
|
1029
|
+
<col>
|
1030
|
+
</colgroup>
|
1031
|
+
<tbody>
|
1032
|
+
<tr>
|
1033
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
1034
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
1035
|
+
</td>
|
1036
|
+
</tr>
|
1037
|
+
<tr>
|
1038
|
+
<td><p><span class="term"><em class="parameter"><code>wc</code></em> :</span></p></td>
|
1039
|
+
<td>a Unicode character, or 0 to unset the password character</td>
|
1040
|
+
</tr>
|
1041
|
+
</tbody>
|
1042
|
+
</table></div>
|
1043
|
+
<p class="since">Since 1.0</p>
|
1044
|
+
</div>
|
1045
|
+
<hr>
|
1046
|
+
<div class="refsect2">
|
1047
|
+
<a name="clutter-text-get-password-char"></a><h3>clutter_text_get_password_char ()</h3>
|
1048
|
+
<pre class="programlisting"><span class="returnvalue">gunichar</span> clutter_text_get_password_char (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);</pre>
|
1049
|
+
<p>
|
1050
|
+
Retrieves the character to use in place of the actual text
|
1051
|
+
as set by <a class="link" href="ClutterText.html#clutter-text-set-password-char" title="clutter_text_set_password_char ()"><code class="function">clutter_text_set_password_char()</code></a>.
|
1052
|
+
</p>
|
1053
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1054
|
+
<colgroup>
|
1055
|
+
<col align="left" valign="top">
|
1056
|
+
<col>
|
1057
|
+
</colgroup>
|
1058
|
+
<tbody>
|
1059
|
+
<tr>
|
1060
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
1061
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
1062
|
+
</td>
|
1063
|
+
</tr>
|
1064
|
+
<tr>
|
1065
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1066
|
+
<td>a Unicode character or 0 if the password
|
1067
|
+
character is not set</td>
|
1068
|
+
</tr>
|
1069
|
+
</tbody>
|
1070
|
+
</table></div>
|
1071
|
+
<p class="since">Since 1.0</p>
|
1072
|
+
</div>
|
1073
|
+
<hr>
|
1074
|
+
<div class="refsect2">
|
1075
|
+
<a name="clutter-text-set-justify"></a><h3>clutter_text_set_justify ()</h3>
|
1076
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_text_set_justify (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
1077
|
+
<em class="parameter"><code><span class="type">gboolean</span> justify</code></em>);</pre>
|
1078
|
+
<p>
|
1079
|
+
Sets whether the text of the <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor should be justified
|
1080
|
+
on both margins. This setting is ignored if Clutter is compiled
|
1081
|
+
against Pango < 1.18.
|
1082
|
+
</p>
|
1083
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1084
|
+
<colgroup>
|
1085
|
+
<col align="left" valign="top">
|
1086
|
+
<col>
|
1087
|
+
</colgroup>
|
1088
|
+
<tbody>
|
1089
|
+
<tr>
|
1090
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
1091
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
1092
|
+
</td>
|
1093
|
+
</tr>
|
1094
|
+
<tr>
|
1095
|
+
<td><p><span class="term"><em class="parameter"><code>justify</code></em> :</span></p></td>
|
1096
|
+
<td>whether the text should be justified</td>
|
1097
|
+
</tr>
|
1098
|
+
</tbody>
|
1099
|
+
</table></div>
|
1100
|
+
<p class="since">Since 1.0</p>
|
1101
|
+
</div>
|
1102
|
+
<hr>
|
1103
|
+
<div class="refsect2">
|
1104
|
+
<a name="clutter-text-get-justify"></a><h3>clutter_text_get_justify ()</h3>
|
1105
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> clutter_text_get_justify (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);</pre>
|
1106
|
+
<p>
|
1107
|
+
Retrieves whether the <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor should justify its contents
|
1108
|
+
on both margins.
|
1109
|
+
</p>
|
1110
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1111
|
+
<colgroup>
|
1112
|
+
<col align="left" valign="top">
|
1113
|
+
<col>
|
1114
|
+
</colgroup>
|
1115
|
+
<tbody>
|
1116
|
+
<tr>
|
1117
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
1118
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
1119
|
+
</td>
|
1120
|
+
</tr>
|
1121
|
+
<tr>
|
1122
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1123
|
+
<td>
|
1124
|
+
<code class="literal">TRUE</code> if the text should be justified</td>
|
1125
|
+
</tr>
|
1126
|
+
</tbody>
|
1127
|
+
</table></div>
|
1128
|
+
<p class="since">Since 0.6</p>
|
1129
|
+
</div>
|
1130
|
+
<hr>
|
1131
|
+
<div class="refsect2">
|
1132
|
+
<a name="clutter-text-get-layout"></a><h3>clutter_text_get_layout ()</h3>
|
1133
|
+
<pre class="programlisting"><span class="returnvalue">PangoLayout</span> * clutter_text_get_layout (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);</pre>
|
1134
|
+
<p>
|
1135
|
+
Retrieves the current <span class="type">PangoLayout</span> used by a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor.
|
1136
|
+
</p>
|
1137
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1138
|
+
<colgroup>
|
1139
|
+
<col align="left" valign="top">
|
1140
|
+
<col>
|
1141
|
+
</colgroup>
|
1142
|
+
<tbody>
|
1143
|
+
<tr>
|
1144
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
1145
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
1146
|
+
</td>
|
1147
|
+
</tr>
|
1148
|
+
<tr>
|
1149
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1150
|
+
<td>a <span class="type">PangoLayout</span>. The returned object is owned by
|
1151
|
+
the <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor and should not be modified or freed. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1152
|
+
</td>
|
1153
|
+
</tr>
|
1154
|
+
</tbody>
|
1155
|
+
</table></div>
|
1156
|
+
<p class="since">Since 1.0</p>
|
1157
|
+
</div>
|
1158
|
+
<hr>
|
1159
|
+
<div class="refsect2">
|
1160
|
+
<a name="clutter-text-set-line-alignment"></a><h3>clutter_text_set_line_alignment ()</h3>
|
1161
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_text_set_line_alignment (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
1162
|
+
<em class="parameter"><code><span class="type">PangoAlignment</span> alignment</code></em>);</pre>
|
1163
|
+
<p>
|
1164
|
+
Sets the way that the lines of a wrapped label are aligned with
|
1165
|
+
respect to each other. This does not affect the overall alignment
|
1166
|
+
of the label within its allocated or specified width.
|
1167
|
+
</p>
|
1168
|
+
<p>
|
1169
|
+
To align a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor you should add it to a container
|
1170
|
+
that supports alignment, or use the anchor point.
|
1171
|
+
</p>
|
1172
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1173
|
+
<colgroup>
|
1174
|
+
<col align="left" valign="top">
|
1175
|
+
<col>
|
1176
|
+
</colgroup>
|
1177
|
+
<tbody>
|
1178
|
+
<tr>
|
1179
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
1180
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
1181
|
+
</td>
|
1182
|
+
</tr>
|
1183
|
+
<tr>
|
1184
|
+
<td><p><span class="term"><em class="parameter"><code>alignment</code></em> :</span></p></td>
|
1185
|
+
<td>A <span class="type">PangoAlignment</span>
|
1186
|
+
</td>
|
1187
|
+
</tr>
|
1188
|
+
</tbody>
|
1189
|
+
</table></div>
|
1190
|
+
<p class="since">Since 1.0</p>
|
1191
|
+
</div>
|
1192
|
+
<hr>
|
1193
|
+
<div class="refsect2">
|
1194
|
+
<a name="clutter-text-get-line-alignment"></a><h3>clutter_text_get_line_alignment ()</h3>
|
1195
|
+
<pre class="programlisting"><span class="returnvalue">PangoAlignment</span> clutter_text_get_line_alignment (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);</pre>
|
1196
|
+
<p>
|
1197
|
+
Retrieves the alignment of a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>, as set by
|
1198
|
+
<a class="link" href="ClutterText.html#clutter-text-set-line-alignment" title="clutter_text_set_line_alignment ()"><code class="function">clutter_text_set_line_alignment()</code></a>.
|
1199
|
+
</p>
|
1200
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1201
|
+
<colgroup>
|
1202
|
+
<col align="left" valign="top">
|
1203
|
+
<col>
|
1204
|
+
</colgroup>
|
1205
|
+
<tbody>
|
1206
|
+
<tr>
|
1207
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
1208
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
1209
|
+
</td>
|
1210
|
+
</tr>
|
1211
|
+
<tr>
|
1212
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1213
|
+
<td>a <span class="type">PangoAlignment</span>
|
1214
|
+
</td>
|
1215
|
+
</tr>
|
1216
|
+
</tbody>
|
1217
|
+
</table></div>
|
1218
|
+
<p class="since">Since 1.0</p>
|
1219
|
+
</div>
|
1220
|
+
<hr>
|
1221
|
+
<div class="refsect2">
|
1222
|
+
<a name="clutter-text-set-line-wrap"></a><h3>clutter_text_set_line_wrap ()</h3>
|
1223
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_text_set_line_wrap (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
1224
|
+
<em class="parameter"><code><span class="type">gboolean</span> line_wrap</code></em>);</pre>
|
1225
|
+
<p>
|
1226
|
+
Sets whether the contents of a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor should wrap,
|
1227
|
+
if they don't fit the size assigned to the actor.
|
1228
|
+
</p>
|
1229
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1230
|
+
<colgroup>
|
1231
|
+
<col align="left" valign="top">
|
1232
|
+
<col>
|
1233
|
+
</colgroup>
|
1234
|
+
<tbody>
|
1235
|
+
<tr>
|
1236
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
1237
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
1238
|
+
</td>
|
1239
|
+
</tr>
|
1240
|
+
<tr>
|
1241
|
+
<td><p><span class="term"><em class="parameter"><code>line_wrap</code></em> :</span></p></td>
|
1242
|
+
<td>whether the contents should wrap</td>
|
1243
|
+
</tr>
|
1244
|
+
</tbody>
|
1245
|
+
</table></div>
|
1246
|
+
<p class="since">Since 1.0</p>
|
1247
|
+
</div>
|
1248
|
+
<hr>
|
1249
|
+
<div class="refsect2">
|
1250
|
+
<a name="clutter-text-get-line-wrap"></a><h3>clutter_text_get_line_wrap ()</h3>
|
1251
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> clutter_text_get_line_wrap (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);</pre>
|
1252
|
+
<p>
|
1253
|
+
Retrieves the value set using <a class="link" href="ClutterText.html#clutter-text-set-line-wrap" title="clutter_text_set_line_wrap ()"><code class="function">clutter_text_set_line_wrap()</code></a>.
|
1254
|
+
</p>
|
1255
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1256
|
+
<colgroup>
|
1257
|
+
<col align="left" valign="top">
|
1258
|
+
<col>
|
1259
|
+
</colgroup>
|
1260
|
+
<tbody>
|
1261
|
+
<tr>
|
1262
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
1263
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
1264
|
+
</td>
|
1265
|
+
</tr>
|
1266
|
+
<tr>
|
1267
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1268
|
+
<td>
|
1269
|
+
<code class="literal">TRUE</code> if the <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor should wrap
|
1270
|
+
its contents</td>
|
1271
|
+
</tr>
|
1272
|
+
</tbody>
|
1273
|
+
</table></div>
|
1274
|
+
<p class="since">Since 1.0</p>
|
1275
|
+
</div>
|
1276
|
+
<hr>
|
1277
|
+
<div class="refsect2">
|
1278
|
+
<a name="clutter-text-set-line-wrap-mode"></a><h3>clutter_text_set_line_wrap_mode ()</h3>
|
1279
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_text_set_line_wrap_mode (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
1280
|
+
<em class="parameter"><code><span class="type">PangoWrapMode</span> wrap_mode</code></em>);</pre>
|
1281
|
+
<p>
|
1282
|
+
If line wrapping is enabled (see <a class="link" href="ClutterText.html#clutter-text-set-line-wrap" title="clutter_text_set_line_wrap ()"><code class="function">clutter_text_set_line_wrap()</code></a>) this
|
1283
|
+
function controls how the line wrapping is performed. The default is
|
1284
|
+
<code class="literal">PANGO_WRAP_WORD</code> which means wrap on word boundaries.
|
1285
|
+
</p>
|
1286
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1287
|
+
<colgroup>
|
1288
|
+
<col align="left" valign="top">
|
1289
|
+
<col>
|
1290
|
+
</colgroup>
|
1291
|
+
<tbody>
|
1292
|
+
<tr>
|
1293
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
1294
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
1295
|
+
</td>
|
1296
|
+
</tr>
|
1297
|
+
<tr>
|
1298
|
+
<td><p><span class="term"><em class="parameter"><code>wrap_mode</code></em> :</span></p></td>
|
1299
|
+
<td>the line wrapping mode</td>
|
1300
|
+
</tr>
|
1301
|
+
</tbody>
|
1302
|
+
</table></div>
|
1303
|
+
<p class="since">Since 1.0</p>
|
1304
|
+
</div>
|
1305
|
+
<hr>
|
1306
|
+
<div class="refsect2">
|
1307
|
+
<a name="clutter-text-get-line-wrap-mode"></a><h3>clutter_text_get_line_wrap_mode ()</h3>
|
1308
|
+
<pre class="programlisting"><span class="returnvalue">PangoWrapMode</span> clutter_text_get_line_wrap_mode (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);</pre>
|
1309
|
+
<p>
|
1310
|
+
Retrieves the line wrap mode used by the <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor.
|
1311
|
+
</p>
|
1312
|
+
<p>
|
1313
|
+
See <a class="link" href="ClutterText.html#clutter-text-set-line-wrap-mode" title="clutter_text_set_line_wrap_mode ()"><code class="function">clutter_text_set_line_wrap_mode()</code></a>.
|
1314
|
+
</p>
|
1315
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1316
|
+
<colgroup>
|
1317
|
+
<col align="left" valign="top">
|
1318
|
+
<col>
|
1319
|
+
</colgroup>
|
1320
|
+
<tbody>
|
1321
|
+
<tr>
|
1322
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
1323
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
1324
|
+
</td>
|
1325
|
+
</tr>
|
1326
|
+
<tr>
|
1327
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1328
|
+
<td>the wrap mode used by the <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
1329
|
+
</td>
|
1330
|
+
</tr>
|
1331
|
+
</tbody>
|
1332
|
+
</table></div>
|
1333
|
+
<p class="since">Since 1.0</p>
|
1334
|
+
</div>
|
1335
|
+
<hr>
|
1336
|
+
<div class="refsect2">
|
1337
|
+
<a name="clutter-text-set-max-length"></a><h3>clutter_text_set_max_length ()</h3>
|
1338
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_text_set_max_length (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
1339
|
+
<em class="parameter"><code><span class="type">gint</span> max</code></em>);</pre>
|
1340
|
+
<p>
|
1341
|
+
Sets the maximum allowed length of the contents of the actor. If the
|
1342
|
+
current contents are longer than the given length, then they will be
|
1343
|
+
truncated to fit.
|
1344
|
+
</p>
|
1345
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1346
|
+
<colgroup>
|
1347
|
+
<col align="left" valign="top">
|
1348
|
+
<col>
|
1349
|
+
</colgroup>
|
1350
|
+
<tbody>
|
1351
|
+
<tr>
|
1352
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
1353
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
1354
|
+
</td>
|
1355
|
+
</tr>
|
1356
|
+
<tr>
|
1357
|
+
<td><p><span class="term"><em class="parameter"><code>max</code></em> :</span></p></td>
|
1358
|
+
<td>the maximum number of characters allowed in the text actor; 0
|
1359
|
+
to disable or -1 to set the length of the current string</td>
|
1360
|
+
</tr>
|
1361
|
+
</tbody>
|
1362
|
+
</table></div>
|
1363
|
+
<p class="since">Since 1.0</p>
|
1364
|
+
</div>
|
1365
|
+
<hr>
|
1366
|
+
<div class="refsect2">
|
1367
|
+
<a name="clutter-text-get-max-length"></a><h3>clutter_text_get_max_length ()</h3>
|
1368
|
+
<pre class="programlisting"><span class="returnvalue">gint</span> clutter_text_get_max_length (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);</pre>
|
1369
|
+
<p>
|
1370
|
+
Gets the maximum length of text that can be set into a text actor.
|
1371
|
+
</p>
|
1372
|
+
<p>
|
1373
|
+
See <a class="link" href="ClutterText.html#clutter-text-set-max-length" title="clutter_text_set_max_length ()"><code class="function">clutter_text_set_max_length()</code></a>.
|
1374
|
+
</p>
|
1375
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1376
|
+
<colgroup>
|
1377
|
+
<col align="left" valign="top">
|
1378
|
+
<col>
|
1379
|
+
</colgroup>
|
1380
|
+
<tbody>
|
1381
|
+
<tr>
|
1382
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
1383
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
1384
|
+
</td>
|
1385
|
+
</tr>
|
1386
|
+
<tr>
|
1387
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1388
|
+
<td>the maximum number of characters.</td>
|
1389
|
+
</tr>
|
1390
|
+
</tbody>
|
1391
|
+
</table></div>
|
1392
|
+
<p class="since">Since 1.0</p>
|
1393
|
+
</div>
|
1394
|
+
<hr>
|
1395
|
+
<div class="refsect2">
|
1396
|
+
<a name="clutter-text-set-selectable"></a><h3>clutter_text_set_selectable ()</h3>
|
1397
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_text_set_selectable (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
1398
|
+
<em class="parameter"><code><span class="type">gboolean</span> selectable</code></em>);</pre>
|
1399
|
+
<p>
|
1400
|
+
Sets whether a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor should be selectable.
|
1401
|
+
</p>
|
1402
|
+
<p>
|
1403
|
+
A selectable <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> will allow selecting its contents using
|
1404
|
+
the pointer or the keyboard.
|
1405
|
+
</p>
|
1406
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1407
|
+
<colgroup>
|
1408
|
+
<col align="left" valign="top">
|
1409
|
+
<col>
|
1410
|
+
</colgroup>
|
1411
|
+
<tbody>
|
1412
|
+
<tr>
|
1413
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
1414
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
1415
|
+
</td>
|
1416
|
+
</tr>
|
1417
|
+
<tr>
|
1418
|
+
<td><p><span class="term"><em class="parameter"><code>selectable</code></em> :</span></p></td>
|
1419
|
+
<td>whether the <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor should be selectable</td>
|
1420
|
+
</tr>
|
1421
|
+
</tbody>
|
1422
|
+
</table></div>
|
1423
|
+
<p class="since">Since 1.0</p>
|
1424
|
+
</div>
|
1425
|
+
<hr>
|
1426
|
+
<div class="refsect2">
|
1427
|
+
<a name="clutter-text-get-selectable"></a><h3>clutter_text_get_selectable ()</h3>
|
1428
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> clutter_text_get_selectable (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);</pre>
|
1429
|
+
<p>
|
1430
|
+
Retrieves whether a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> is selectable or not.
|
1431
|
+
</p>
|
1432
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1433
|
+
<colgroup>
|
1434
|
+
<col align="left" valign="top">
|
1435
|
+
<col>
|
1436
|
+
</colgroup>
|
1437
|
+
<tbody>
|
1438
|
+
<tr>
|
1439
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
1440
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
1441
|
+
</td>
|
1442
|
+
</tr>
|
1443
|
+
<tr>
|
1444
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1445
|
+
<td>
|
1446
|
+
<code class="literal">TRUE</code> if the actor is selectable</td>
|
1447
|
+
</tr>
|
1448
|
+
</tbody>
|
1449
|
+
</table></div>
|
1450
|
+
<p class="since">Since 1.0</p>
|
1451
|
+
</div>
|
1452
|
+
<hr>
|
1453
|
+
<div class="refsect2">
|
1454
|
+
<a name="clutter-text-set-selection"></a><h3>clutter_text_set_selection ()</h3>
|
1455
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_text_set_selection (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
1456
|
+
<em class="parameter"><code><span class="type">gssize</span> start_pos</code></em>,
|
1457
|
+
<em class="parameter"><code><span class="type">gssize</span> end_pos</code></em>);</pre>
|
1458
|
+
<p>
|
1459
|
+
Selects the region of text between <em class="parameter"><code>start_pos</code></em> and <em class="parameter"><code>end_pos</code></em>.
|
1460
|
+
</p>
|
1461
|
+
<p>
|
1462
|
+
This function changes the position of the cursor to match
|
1463
|
+
<em class="parameter"><code>start_pos</code></em> and the selection bound to match <em class="parameter"><code>end_pos</code></em>.
|
1464
|
+
</p>
|
1465
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1466
|
+
<colgroup>
|
1467
|
+
<col align="left" valign="top">
|
1468
|
+
<col>
|
1469
|
+
</colgroup>
|
1470
|
+
<tbody>
|
1471
|
+
<tr>
|
1472
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
1473
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
1474
|
+
</td>
|
1475
|
+
</tr>
|
1476
|
+
<tr>
|
1477
|
+
<td><p><span class="term"><em class="parameter"><code>start_pos</code></em> :</span></p></td>
|
1478
|
+
<td>start of the selection, in characters</td>
|
1479
|
+
</tr>
|
1480
|
+
<tr>
|
1481
|
+
<td><p><span class="term"><em class="parameter"><code>end_pos</code></em> :</span></p></td>
|
1482
|
+
<td>end of the selection, in characters</td>
|
1483
|
+
</tr>
|
1484
|
+
</tbody>
|
1485
|
+
</table></div>
|
1486
|
+
<p class="since">Since 1.0</p>
|
1487
|
+
</div>
|
1488
|
+
<hr>
|
1489
|
+
<div class="refsect2">
|
1490
|
+
<a name="clutter-text-get-selection"></a><h3>clutter_text_get_selection ()</h3>
|
1491
|
+
<pre class="programlisting"><span class="returnvalue">gchar</span> * clutter_text_get_selection (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);</pre>
|
1492
|
+
<p>
|
1493
|
+
Retrieves the currently selected text.
|
1494
|
+
</p>
|
1495
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1496
|
+
<colgroup>
|
1497
|
+
<col align="left" valign="top">
|
1498
|
+
<col>
|
1499
|
+
</colgroup>
|
1500
|
+
<tbody>
|
1501
|
+
<tr>
|
1502
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
1503
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
1504
|
+
</td>
|
1505
|
+
</tr>
|
1506
|
+
<tr>
|
1507
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1508
|
+
<td>a newly allocated string containing the currently
|
1509
|
+
selected text, or <code class="literal">NULL</code>. Use <code class="function">g_free()</code> to free the returned
|
1510
|
+
string.</td>
|
1511
|
+
</tr>
|
1512
|
+
</tbody>
|
1513
|
+
</table></div>
|
1514
|
+
<p class="since">Since 1.0</p>
|
1515
|
+
</div>
|
1516
|
+
<hr>
|
1517
|
+
<div class="refsect2">
|
1518
|
+
<a name="clutter-text-set-selection-bound"></a><h3>clutter_text_set_selection_bound ()</h3>
|
1519
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_text_set_selection_bound (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
1520
|
+
<em class="parameter"><code><span class="type">gint</span> selection_bound</code></em>);</pre>
|
1521
|
+
<p>
|
1522
|
+
Sets the other end of the selection, starting from the current
|
1523
|
+
cursor position.
|
1524
|
+
</p>
|
1525
|
+
<p>
|
1526
|
+
If <em class="parameter"><code>selection_bound</code></em> is -1, the selection unset.
|
1527
|
+
</p>
|
1528
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1529
|
+
<colgroup>
|
1530
|
+
<col align="left" valign="top">
|
1531
|
+
<col>
|
1532
|
+
</colgroup>
|
1533
|
+
<tbody>
|
1534
|
+
<tr>
|
1535
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
1536
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
1537
|
+
</td>
|
1538
|
+
</tr>
|
1539
|
+
<tr>
|
1540
|
+
<td><p><span class="term"><em class="parameter"><code>selection_bound</code></em> :</span></p></td>
|
1541
|
+
<td>the position of the end of the selection, in characters</td>
|
1542
|
+
</tr>
|
1543
|
+
</tbody>
|
1544
|
+
</table></div>
|
1545
|
+
<p class="since">Since 1.0</p>
|
1546
|
+
</div>
|
1547
|
+
<hr>
|
1548
|
+
<div class="refsect2">
|
1549
|
+
<a name="clutter-text-get-selection-bound"></a><h3>clutter_text_get_selection_bound ()</h3>
|
1550
|
+
<pre class="programlisting"><span class="returnvalue">gint</span> clutter_text_get_selection_bound (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);</pre>
|
1551
|
+
<p>
|
1552
|
+
Retrieves the other end of the selection of a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor,
|
1553
|
+
in characters from the current cursor position.
|
1554
|
+
</p>
|
1555
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1556
|
+
<colgroup>
|
1557
|
+
<col align="left" valign="top">
|
1558
|
+
<col>
|
1559
|
+
</colgroup>
|
1560
|
+
<tbody>
|
1561
|
+
<tr>
|
1562
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
1563
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
1564
|
+
</td>
|
1565
|
+
</tr>
|
1566
|
+
<tr>
|
1567
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1568
|
+
<td>the position of the other end of the selection</td>
|
1569
|
+
</tr>
|
1570
|
+
</tbody>
|
1571
|
+
</table></div>
|
1572
|
+
<p class="since">Since 1.0</p>
|
1573
|
+
</div>
|
1574
|
+
<hr>
|
1575
|
+
<div class="refsect2">
|
1576
|
+
<a name="clutter-text-set-single-line-mode"></a><h3>clutter_text_set_single_line_mode ()</h3>
|
1577
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_text_set_single_line_mode (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
1578
|
+
<em class="parameter"><code><span class="type">gboolean</span> single_line</code></em>);</pre>
|
1579
|
+
<p>
|
1580
|
+
Sets whether a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor should be in single line mode
|
1581
|
+
or not. Only editable <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>s can be in single line
|
1582
|
+
mode.
|
1583
|
+
</p>
|
1584
|
+
<p>
|
1585
|
+
A text actor in single line mode will not wrap text and will clip
|
1586
|
+
the visible area to the predefined size. The contents of the
|
1587
|
+
text actor will scroll to display the end of the text if its length
|
1588
|
+
is bigger than the allocated width.
|
1589
|
+
</p>
|
1590
|
+
<p>
|
1591
|
+
When setting the single line mode the <a class="link" href="ClutterText.html#ClutterText--activatable" title='The "activatable" property'><span class="type">"activatable"</span></a>
|
1592
|
+
property is also set as a side effect. Instead of entering a new
|
1593
|
+
line character, the text actor will emit the <a class="link" href="ClutterText.html#ClutterText-activate" title='The "activate" signal'><span class="type">"activate"</span></a>
|
1594
|
+
signal.
|
1595
|
+
</p>
|
1596
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1597
|
+
<colgroup>
|
1598
|
+
<col align="left" valign="top">
|
1599
|
+
<col>
|
1600
|
+
</colgroup>
|
1601
|
+
<tbody>
|
1602
|
+
<tr>
|
1603
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
1604
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
1605
|
+
</td>
|
1606
|
+
</tr>
|
1607
|
+
<tr>
|
1608
|
+
<td><p><span class="term"><em class="parameter"><code>single_line</code></em> :</span></p></td>
|
1609
|
+
<td>whether to enable single line mode</td>
|
1610
|
+
</tr>
|
1611
|
+
</tbody>
|
1612
|
+
</table></div>
|
1613
|
+
<p class="since">Since 1.0</p>
|
1614
|
+
</div>
|
1615
|
+
<hr>
|
1616
|
+
<div class="refsect2">
|
1617
|
+
<a name="clutter-text-get-single-line-mode"></a><h3>clutter_text_get_single_line_mode ()</h3>
|
1618
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> clutter_text_get_single_line_mode (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);</pre>
|
1619
|
+
<p>
|
1620
|
+
Retrieves whether the <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor is in single line mode.
|
1621
|
+
</p>
|
1622
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1623
|
+
<colgroup>
|
1624
|
+
<col align="left" valign="top">
|
1625
|
+
<col>
|
1626
|
+
</colgroup>
|
1627
|
+
<tbody>
|
1628
|
+
<tr>
|
1629
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
1630
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
1631
|
+
</td>
|
1632
|
+
</tr>
|
1633
|
+
<tr>
|
1634
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1635
|
+
<td>
|
1636
|
+
<code class="literal">TRUE</code> if the <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor is in single line mode</td>
|
1637
|
+
</tr>
|
1638
|
+
</tbody>
|
1639
|
+
</table></div>
|
1640
|
+
<p class="since">Since 1.0</p>
|
1641
|
+
</div>
|
1642
|
+
<hr>
|
1643
|
+
<div class="refsect2">
|
1644
|
+
<a name="clutter-text-set-use-markup"></a><h3>clutter_text_set_use_markup ()</h3>
|
1645
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_text_set_use_markup (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
1646
|
+
<em class="parameter"><code><span class="type">gboolean</span> setting</code></em>);</pre>
|
1647
|
+
<p>
|
1648
|
+
Sets whether the contents of the <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor contains markup
|
1649
|
+
in Pango's text markup language.
|
1650
|
+
</p>
|
1651
|
+
<p>
|
1652
|
+
Setting <a class="link" href="ClutterText.html#ClutterText--use-markup" title='The "use-markup" property'><span class="type">"use-markup"</span></a> on an editable <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> will
|
1653
|
+
not have any effect except hiding the markup.
|
1654
|
+
</p>
|
1655
|
+
<p>
|
1656
|
+
See also <a class="link" href="ClutterText.html#ClutterText--use-markup" title='The "use-markup" property'><span class="type">"use-markup"</span></a>.
|
1657
|
+
</p>
|
1658
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1659
|
+
<colgroup>
|
1660
|
+
<col align="left" valign="top">
|
1661
|
+
<col>
|
1662
|
+
</colgroup>
|
1663
|
+
<tbody>
|
1664
|
+
<tr>
|
1665
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
1666
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
1667
|
+
</td>
|
1668
|
+
</tr>
|
1669
|
+
<tr>
|
1670
|
+
<td><p><span class="term"><em class="parameter"><code>setting</code></em> :</span></p></td>
|
1671
|
+
<td>
|
1672
|
+
<code class="literal">TRUE</code> if the text should be parsed for markup.</td>
|
1673
|
+
</tr>
|
1674
|
+
</tbody>
|
1675
|
+
</table></div>
|
1676
|
+
<p class="since">Since 1.0</p>
|
1677
|
+
</div>
|
1678
|
+
<hr>
|
1679
|
+
<div class="refsect2">
|
1680
|
+
<a name="clutter-text-get-use-markup"></a><h3>clutter_text_get_use_markup ()</h3>
|
1681
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> clutter_text_get_use_markup (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);</pre>
|
1682
|
+
<p>
|
1683
|
+
Retrieves whether the contents of the <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor should be
|
1684
|
+
parsed for the Pango text markup.
|
1685
|
+
</p>
|
1686
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1687
|
+
<colgroup>
|
1688
|
+
<col align="left" valign="top">
|
1689
|
+
<col>
|
1690
|
+
</colgroup>
|
1691
|
+
<tbody>
|
1692
|
+
<tr>
|
1693
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
1694
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
1695
|
+
</td>
|
1696
|
+
</tr>
|
1697
|
+
<tr>
|
1698
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1699
|
+
<td>
|
1700
|
+
<code class="literal">TRUE</code> if the contents will be parsed for markup</td>
|
1701
|
+
</tr>
|
1702
|
+
</tbody>
|
1703
|
+
</table></div>
|
1704
|
+
<p class="since">Since 1.0</p>
|
1705
|
+
</div>
|
1706
|
+
<hr>
|
1707
|
+
<div class="refsect2">
|
1708
|
+
<a name="clutter-text-set-editable"></a><h3>clutter_text_set_editable ()</h3>
|
1709
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_text_set_editable (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
1710
|
+
<em class="parameter"><code><span class="type">gboolean</span> editable</code></em>);</pre>
|
1711
|
+
<p>
|
1712
|
+
Sets whether the <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor should be editable.
|
1713
|
+
</p>
|
1714
|
+
<p>
|
1715
|
+
An editable <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> with key focus set using
|
1716
|
+
<a class="link" href="ClutterActor.html#clutter-actor-grab-key-focus" title="clutter_actor_grab_key_focus ()"><code class="function">clutter_actor_grab_key_focus()</code></a> or <a class="link" href="ClutterStage.html#clutter-stage-set-key-focus" title="clutter_stage_set_key_focus ()"><code class="function">clutter_stage_set_key_focus()</code></a>
|
1717
|
+
will receive key events and will update its contents accordingly.
|
1718
|
+
</p>
|
1719
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1720
|
+
<colgroup>
|
1721
|
+
<col align="left" valign="top">
|
1722
|
+
<col>
|
1723
|
+
</colgroup>
|
1724
|
+
<tbody>
|
1725
|
+
<tr>
|
1726
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
1727
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
1728
|
+
</td>
|
1729
|
+
</tr>
|
1730
|
+
<tr>
|
1731
|
+
<td><p><span class="term"><em class="parameter"><code>editable</code></em> :</span></p></td>
|
1732
|
+
<td>whether the <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> should be editable</td>
|
1733
|
+
</tr>
|
1734
|
+
</tbody>
|
1735
|
+
</table></div>
|
1736
|
+
<p class="since">Since 1.0</p>
|
1737
|
+
</div>
|
1738
|
+
<hr>
|
1739
|
+
<div class="refsect2">
|
1740
|
+
<a name="clutter-text-get-editable"></a><h3>clutter_text_get_editable ()</h3>
|
1741
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> clutter_text_get_editable (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);</pre>
|
1742
|
+
<p>
|
1743
|
+
Retrieves whether a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> is editable or not.
|
1744
|
+
</p>
|
1745
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1746
|
+
<colgroup>
|
1747
|
+
<col align="left" valign="top">
|
1748
|
+
<col>
|
1749
|
+
</colgroup>
|
1750
|
+
<tbody>
|
1751
|
+
<tr>
|
1752
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
1753
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
1754
|
+
</td>
|
1755
|
+
</tr>
|
1756
|
+
<tr>
|
1757
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1758
|
+
<td>
|
1759
|
+
<code class="literal">TRUE</code> if the actor is editable</td>
|
1760
|
+
</tr>
|
1761
|
+
</tbody>
|
1762
|
+
</table></div>
|
1763
|
+
<p class="since">Since 1.0</p>
|
1764
|
+
</div>
|
1765
|
+
<hr>
|
1766
|
+
<div class="refsect2">
|
1767
|
+
<a name="clutter-text-insert-text"></a><h3>clutter_text_insert_text ()</h3>
|
1768
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_text_insert_text (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
1769
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>,
|
1770
|
+
<em class="parameter"><code><span class="type">gssize</span> position</code></em>);</pre>
|
1771
|
+
<p>
|
1772
|
+
Inserts <em class="parameter"><code>text</code></em> into a <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> at the given position.
|
1773
|
+
</p>
|
1774
|
+
<p>
|
1775
|
+
If <em class="parameter"><code>position</code></em> is a negative number, the text will be appended
|
1776
|
+
at the end of the current contents of the <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>.
|
1777
|
+
</p>
|
1778
|
+
<p>
|
1779
|
+
The position is expressed in characters, not in bytes.
|
1780
|
+
</p>
|
1781
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1782
|
+
<colgroup>
|
1783
|
+
<col align="left" valign="top">
|
1784
|
+
<col>
|
1785
|
+
</colgroup>
|
1786
|
+
<tbody>
|
1787
|
+
<tr>
|
1788
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
1789
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
1790
|
+
</td>
|
1791
|
+
</tr>
|
1792
|
+
<tr>
|
1793
|
+
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
1794
|
+
<td>the text to be inserted</td>
|
1795
|
+
</tr>
|
1796
|
+
<tr>
|
1797
|
+
<td><p><span class="term"><em class="parameter"><code>position</code></em> :</span></p></td>
|
1798
|
+
<td>the position of the insertion, or -1</td>
|
1799
|
+
</tr>
|
1800
|
+
</tbody>
|
1801
|
+
</table></div>
|
1802
|
+
<p class="since">Since 1.0</p>
|
1803
|
+
</div>
|
1804
|
+
<hr>
|
1805
|
+
<div class="refsect2">
|
1806
|
+
<a name="clutter-text-insert-unichar"></a><h3>clutter_text_insert_unichar ()</h3>
|
1807
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_text_insert_unichar (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
1808
|
+
<em class="parameter"><code><span class="type">gunichar</span> wc</code></em>);</pre>
|
1809
|
+
<p>
|
1810
|
+
Inserts <em class="parameter"><code>wc</code></em> at the current cursor position of a
|
1811
|
+
<a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor.
|
1812
|
+
</p>
|
1813
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1814
|
+
<colgroup>
|
1815
|
+
<col align="left" valign="top">
|
1816
|
+
<col>
|
1817
|
+
</colgroup>
|
1818
|
+
<tbody>
|
1819
|
+
<tr>
|
1820
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
1821
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
1822
|
+
</td>
|
1823
|
+
</tr>
|
1824
|
+
<tr>
|
1825
|
+
<td><p><span class="term"><em class="parameter"><code>wc</code></em> :</span></p></td>
|
1826
|
+
<td>a Unicode character</td>
|
1827
|
+
</tr>
|
1828
|
+
</tbody>
|
1829
|
+
</table></div>
|
1830
|
+
<p class="since">Since 1.0</p>
|
1831
|
+
</div>
|
1832
|
+
<hr>
|
1833
|
+
<div class="refsect2">
|
1834
|
+
<a name="clutter-text-delete-chars"></a><h3>clutter_text_delete_chars ()</h3>
|
1835
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_text_delete_chars (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
1836
|
+
<em class="parameter"><code><span class="type">guint</span> n_chars</code></em>);</pre>
|
1837
|
+
<p>
|
1838
|
+
Deletes <em class="parameter"><code>n_chars</code></em> inside a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor, starting from the
|
1839
|
+
current cursor position.
|
1840
|
+
</p>
|
1841
|
+
<p>
|
1842
|
+
Somewhat awkwardly, the cursor position is decremented by the same
|
1843
|
+
number of characters you've deleted.
|
1844
|
+
</p>
|
1845
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1846
|
+
<colgroup>
|
1847
|
+
<col align="left" valign="top">
|
1848
|
+
<col>
|
1849
|
+
</colgroup>
|
1850
|
+
<tbody>
|
1851
|
+
<tr>
|
1852
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
1853
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
1854
|
+
</td>
|
1855
|
+
</tr>
|
1856
|
+
<tr>
|
1857
|
+
<td><p><span class="term"><em class="parameter"><code>n_chars</code></em> :</span></p></td>
|
1858
|
+
<td>the number of characters to delete</td>
|
1859
|
+
</tr>
|
1860
|
+
</tbody>
|
1861
|
+
</table></div>
|
1862
|
+
<p class="since">Since 1.0</p>
|
1863
|
+
</div>
|
1864
|
+
<hr>
|
1865
|
+
<div class="refsect2">
|
1866
|
+
<a name="clutter-text-delete-text"></a><h3>clutter_text_delete_text ()</h3>
|
1867
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_text_delete_text (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
1868
|
+
<em class="parameter"><code><span class="type">gssize</span> start_pos</code></em>,
|
1869
|
+
<em class="parameter"><code><span class="type">gssize</span> end_pos</code></em>);</pre>
|
1870
|
+
<p>
|
1871
|
+
Deletes the text inside a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor between <em class="parameter"><code>start_pos</code></em>
|
1872
|
+
and <em class="parameter"><code>end_pos</code></em>.
|
1873
|
+
</p>
|
1874
|
+
<p>
|
1875
|
+
The starting and ending positions are expressed in characters,
|
1876
|
+
not in bytes.
|
1877
|
+
</p>
|
1878
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1879
|
+
<colgroup>
|
1880
|
+
<col align="left" valign="top">
|
1881
|
+
<col>
|
1882
|
+
</colgroup>
|
1883
|
+
<tbody>
|
1884
|
+
<tr>
|
1885
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
1886
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
1887
|
+
</td>
|
1888
|
+
</tr>
|
1889
|
+
<tr>
|
1890
|
+
<td><p><span class="term"><em class="parameter"><code>start_pos</code></em> :</span></p></td>
|
1891
|
+
<td>starting position</td>
|
1892
|
+
</tr>
|
1893
|
+
<tr>
|
1894
|
+
<td><p><span class="term"><em class="parameter"><code>end_pos</code></em> :</span></p></td>
|
1895
|
+
<td>ending position</td>
|
1896
|
+
</tr>
|
1897
|
+
</tbody>
|
1898
|
+
</table></div>
|
1899
|
+
<p class="since">Since 1.0</p>
|
1900
|
+
</div>
|
1901
|
+
<hr>
|
1902
|
+
<div class="refsect2">
|
1903
|
+
<a name="clutter-text-delete-selection"></a><h3>clutter_text_delete_selection ()</h3>
|
1904
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> clutter_text_delete_selection (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);</pre>
|
1905
|
+
<p>
|
1906
|
+
Deletes the currently selected text
|
1907
|
+
</p>
|
1908
|
+
<p>
|
1909
|
+
This function is only useful in subclasses of <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
1910
|
+
</p>
|
1911
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1912
|
+
<colgroup>
|
1913
|
+
<col align="left" valign="top">
|
1914
|
+
<col>
|
1915
|
+
</colgroup>
|
1916
|
+
<tbody>
|
1917
|
+
<tr>
|
1918
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
1919
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
1920
|
+
</td>
|
1921
|
+
</tr>
|
1922
|
+
<tr>
|
1923
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1924
|
+
<td>
|
1925
|
+
<code class="literal">TRUE</code> if text was deleted or if the text actor
|
1926
|
+
is empty, and <code class="literal">FALSE</code> otherwise</td>
|
1927
|
+
</tr>
|
1928
|
+
</tbody>
|
1929
|
+
</table></div>
|
1930
|
+
<p class="since">Since 1.0</p>
|
1931
|
+
</div>
|
1932
|
+
<hr>
|
1933
|
+
<div class="refsect2">
|
1934
|
+
<a name="clutter-text-get-chars"></a><h3>clutter_text_get_chars ()</h3>
|
1935
|
+
<pre class="programlisting"><span class="returnvalue">gchar</span> * clutter_text_get_chars (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
1936
|
+
<em class="parameter"><code><span class="type">gssize</span> start_pos</code></em>,
|
1937
|
+
<em class="parameter"><code><span class="type">gssize</span> end_pos</code></em>);</pre>
|
1938
|
+
<p>
|
1939
|
+
Retrieves the contents of the <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor between
|
1940
|
+
<em class="parameter"><code>start_pos</code></em> and <em class="parameter"><code>end_pos</code></em>, but not including <em class="parameter"><code>end_pos</code></em>.
|
1941
|
+
</p>
|
1942
|
+
<p>
|
1943
|
+
The positions are specified in characters, not in bytes.
|
1944
|
+
</p>
|
1945
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1946
|
+
<colgroup>
|
1947
|
+
<col align="left" valign="top">
|
1948
|
+
<col>
|
1949
|
+
</colgroup>
|
1950
|
+
<tbody>
|
1951
|
+
<tr>
|
1952
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
1953
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
1954
|
+
</td>
|
1955
|
+
</tr>
|
1956
|
+
<tr>
|
1957
|
+
<td><p><span class="term"><em class="parameter"><code>start_pos</code></em> :</span></p></td>
|
1958
|
+
<td>start of text, in characters</td>
|
1959
|
+
</tr>
|
1960
|
+
<tr>
|
1961
|
+
<td><p><span class="term"><em class="parameter"><code>end_pos</code></em> :</span></p></td>
|
1962
|
+
<td>end of text, in characters</td>
|
1963
|
+
</tr>
|
1964
|
+
<tr>
|
1965
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1966
|
+
<td>a newly allocated string with the contents of
|
1967
|
+
the text actor between the specified positions. Use <code class="function">g_free()</code>
|
1968
|
+
to free the resources when done</td>
|
1969
|
+
</tr>
|
1970
|
+
</tbody>
|
1971
|
+
</table></div>
|
1972
|
+
<p class="since">Since 1.0</p>
|
1973
|
+
</div>
|
1974
|
+
<hr>
|
1975
|
+
<div class="refsect2">
|
1976
|
+
<a name="clutter-text-set-cursor-color"></a><h3>clutter_text_set_cursor_color ()</h3>
|
1977
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_text_set_cursor_color (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
1978
|
+
<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>);</pre>
|
1979
|
+
<p>
|
1980
|
+
Sets the color of the cursor of a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor.
|
1981
|
+
</p>
|
1982
|
+
<p>
|
1983
|
+
If <em class="parameter"><code>color</code></em> is <code class="literal">NULL</code>, the cursor color will be the same as the
|
1984
|
+
text color.
|
1985
|
+
</p>
|
1986
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1987
|
+
<colgroup>
|
1988
|
+
<col align="left" valign="top">
|
1989
|
+
<col>
|
1990
|
+
</colgroup>
|
1991
|
+
<tbody>
|
1992
|
+
<tr>
|
1993
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
1994
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
1995
|
+
</td>
|
1996
|
+
</tr>
|
1997
|
+
<tr>
|
1998
|
+
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
1999
|
+
<td>the color of the cursor, or <code class="literal">NULL</code> to unset it. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2000
|
+
</td>
|
2001
|
+
</tr>
|
2002
|
+
</tbody>
|
2003
|
+
</table></div>
|
2004
|
+
<p class="since">Since 1.0</p>
|
2005
|
+
</div>
|
2006
|
+
<hr>
|
2007
|
+
<div class="refsect2">
|
2008
|
+
<a name="clutter-text-get-cursor-color"></a><h3>clutter_text_get_cursor_color ()</h3>
|
2009
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_text_get_cursor_color (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
2010
|
+
<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>);</pre>
|
2011
|
+
<p>
|
2012
|
+
Retrieves the color of the cursor of a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor.
|
2013
|
+
</p>
|
2014
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2015
|
+
<colgroup>
|
2016
|
+
<col align="left" valign="top">
|
2017
|
+
<col>
|
2018
|
+
</colgroup>
|
2019
|
+
<tbody>
|
2020
|
+
<tr>
|
2021
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
2022
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
2023
|
+
</td>
|
2024
|
+
</tr>
|
2025
|
+
<tr>
|
2026
|
+
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
2027
|
+
<td>return location for a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
2028
|
+
</td>
|
2029
|
+
</tr>
|
2030
|
+
</tbody>
|
2031
|
+
</table></div>
|
2032
|
+
<p class="since">Since 1.0</p>
|
2033
|
+
</div>
|
2034
|
+
<hr>
|
2035
|
+
<div class="refsect2">
|
2036
|
+
<a name="clutter-text-set-selection-color"></a><h3>clutter_text_set_selection_color ()</h3>
|
2037
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_text_set_selection_color (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
2038
|
+
<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>);</pre>
|
2039
|
+
<p>
|
2040
|
+
Sets the color of the selection of a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor.
|
2041
|
+
</p>
|
2042
|
+
<p>
|
2043
|
+
If <em class="parameter"><code>color</code></em> is <code class="literal">NULL</code>, the selection color will be the same as the
|
2044
|
+
cursor color, or if no cursor color is set either then it will be
|
2045
|
+
the same as the text color.
|
2046
|
+
</p>
|
2047
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2048
|
+
<colgroup>
|
2049
|
+
<col align="left" valign="top">
|
2050
|
+
<col>
|
2051
|
+
</colgroup>
|
2052
|
+
<tbody>
|
2053
|
+
<tr>
|
2054
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
2055
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
2056
|
+
</td>
|
2057
|
+
</tr>
|
2058
|
+
<tr>
|
2059
|
+
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
2060
|
+
<td>the color of the selection, or <code class="literal">NULL</code> to unset it. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2061
|
+
</td>
|
2062
|
+
</tr>
|
2063
|
+
</tbody>
|
2064
|
+
</table></div>
|
2065
|
+
<p class="since">Since 1.0</p>
|
2066
|
+
</div>
|
2067
|
+
<hr>
|
2068
|
+
<div class="refsect2">
|
2069
|
+
<a name="clutter-text-get-selection-color"></a><h3>clutter_text_get_selection_color ()</h3>
|
2070
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_text_get_selection_color (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
2071
|
+
<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>);</pre>
|
2072
|
+
<p>
|
2073
|
+
Retrieves the color of the selection of a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor.
|
2074
|
+
</p>
|
2075
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2076
|
+
<colgroup>
|
2077
|
+
<col align="left" valign="top">
|
2078
|
+
<col>
|
2079
|
+
</colgroup>
|
2080
|
+
<tbody>
|
2081
|
+
<tr>
|
2082
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
2083
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
2084
|
+
</td>
|
2085
|
+
</tr>
|
2086
|
+
<tr>
|
2087
|
+
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
2088
|
+
<td>return location for a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>. <span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span>
|
2089
|
+
</td>
|
2090
|
+
</tr>
|
2091
|
+
</tbody>
|
2092
|
+
</table></div>
|
2093
|
+
<p class="since">Since 1.0</p>
|
2094
|
+
</div>
|
2095
|
+
<hr>
|
2096
|
+
<div class="refsect2">
|
2097
|
+
<a name="clutter-text-set-selected-text-color"></a><h3>clutter_text_set_selected_text_color ()</h3>
|
2098
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_text_set_selected_text_color
|
2099
|
+
(<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
2100
|
+
<em class="parameter"><code>const <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>);</pre>
|
2101
|
+
<p>
|
2102
|
+
Sets the selected text color of a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor.
|
2103
|
+
</p>
|
2104
|
+
<p>
|
2105
|
+
If <em class="parameter"><code>color</code></em> is <code class="literal">NULL</code>, the selected text color will be the same as the
|
2106
|
+
selection color, which then falls back to cursor, and then text color.
|
2107
|
+
</p>
|
2108
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2109
|
+
<colgroup>
|
2110
|
+
<col align="left" valign="top">
|
2111
|
+
<col>
|
2112
|
+
</colgroup>
|
2113
|
+
<tbody>
|
2114
|
+
<tr>
|
2115
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
2116
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
2117
|
+
</td>
|
2118
|
+
</tr>
|
2119
|
+
<tr>
|
2120
|
+
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
2121
|
+
<td>the selected text color, or <code class="literal">NULL</code> to unset it. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2122
|
+
</td>
|
2123
|
+
</tr>
|
2124
|
+
</tbody>
|
2125
|
+
</table></div>
|
2126
|
+
<p class="since">Since 1.8</p>
|
2127
|
+
</div>
|
2128
|
+
<hr>
|
2129
|
+
<div class="refsect2">
|
2130
|
+
<a name="clutter-text-get-selected-text-color"></a><h3>clutter_text_get_selected_text_color ()</h3>
|
2131
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_text_get_selected_text_color
|
2132
|
+
(<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
2133
|
+
<em class="parameter"><code><a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a> *color</code></em>);</pre>
|
2134
|
+
<p>
|
2135
|
+
Retrieves the color of selected text of a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor.
|
2136
|
+
</p>
|
2137
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2138
|
+
<colgroup>
|
2139
|
+
<col align="left" valign="top">
|
2140
|
+
<col>
|
2141
|
+
</colgroup>
|
2142
|
+
<tbody>
|
2143
|
+
<tr>
|
2144
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
2145
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
2146
|
+
</td>
|
2147
|
+
</tr>
|
2148
|
+
<tr>
|
2149
|
+
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
2150
|
+
<td>return location for a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>. <span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span>
|
2151
|
+
</td>
|
2152
|
+
</tr>
|
2153
|
+
</tbody>
|
2154
|
+
</table></div>
|
2155
|
+
<p class="since">Since 1.8</p>
|
2156
|
+
</div>
|
2157
|
+
<hr>
|
2158
|
+
<div class="refsect2">
|
2159
|
+
<a name="clutter-text-set-cursor-position"></a><h3>clutter_text_set_cursor_position ()</h3>
|
2160
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_text_set_cursor_position (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
2161
|
+
<em class="parameter"><code><span class="type">gint</span> position</code></em>);</pre>
|
2162
|
+
<p>
|
2163
|
+
Sets the cursor of a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor at <em class="parameter"><code>position</code></em>.
|
2164
|
+
</p>
|
2165
|
+
<p>
|
2166
|
+
The position is expressed in characters, not in bytes.
|
2167
|
+
</p>
|
2168
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2169
|
+
<colgroup>
|
2170
|
+
<col align="left" valign="top">
|
2171
|
+
<col>
|
2172
|
+
</colgroup>
|
2173
|
+
<tbody>
|
2174
|
+
<tr>
|
2175
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
2176
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
2177
|
+
</td>
|
2178
|
+
</tr>
|
2179
|
+
<tr>
|
2180
|
+
<td><p><span class="term"><em class="parameter"><code>position</code></em> :</span></p></td>
|
2181
|
+
<td>the new cursor position, in characters</td>
|
2182
|
+
</tr>
|
2183
|
+
</tbody>
|
2184
|
+
</table></div>
|
2185
|
+
<p class="since">Since 1.0</p>
|
2186
|
+
</div>
|
2187
|
+
<hr>
|
2188
|
+
<div class="refsect2">
|
2189
|
+
<a name="clutter-text-get-cursor-position"></a><h3>clutter_text_get_cursor_position ()</h3>
|
2190
|
+
<pre class="programlisting"><span class="returnvalue">gint</span> clutter_text_get_cursor_position (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);</pre>
|
2191
|
+
<p>
|
2192
|
+
Retrieves the cursor position.
|
2193
|
+
</p>
|
2194
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2195
|
+
<colgroup>
|
2196
|
+
<col align="left" valign="top">
|
2197
|
+
<col>
|
2198
|
+
</colgroup>
|
2199
|
+
<tbody>
|
2200
|
+
<tr>
|
2201
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
2202
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
2203
|
+
</td>
|
2204
|
+
</tr>
|
2205
|
+
<tr>
|
2206
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2207
|
+
<td>the cursor position, in characters</td>
|
2208
|
+
</tr>
|
2209
|
+
</tbody>
|
2210
|
+
</table></div>
|
2211
|
+
<p class="since">Since 1.0</p>
|
2212
|
+
</div>
|
2213
|
+
<hr>
|
2214
|
+
<div class="refsect2">
|
2215
|
+
<a name="clutter-text-set-cursor-visible"></a><h3>clutter_text_set_cursor_visible ()</h3>
|
2216
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_text_set_cursor_visible (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
2217
|
+
<em class="parameter"><code><span class="type">gboolean</span> cursor_visible</code></em>);</pre>
|
2218
|
+
<p>
|
2219
|
+
Sets whether the cursor of a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor should be
|
2220
|
+
visible or not.
|
2221
|
+
</p>
|
2222
|
+
<p>
|
2223
|
+
The color of the cursor will be the same as the text color
|
2224
|
+
unless <a class="link" href="ClutterText.html#clutter-text-set-cursor-color" title="clutter_text_set_cursor_color ()"><code class="function">clutter_text_set_cursor_color()</code></a> has been called.
|
2225
|
+
</p>
|
2226
|
+
<p>
|
2227
|
+
The size of the cursor can be set using <a class="link" href="ClutterText.html#clutter-text-set-cursor-size" title="clutter_text_set_cursor_size ()"><code class="function">clutter_text_set_cursor_size()</code></a>.
|
2228
|
+
</p>
|
2229
|
+
<p>
|
2230
|
+
The position of the cursor can be changed programmatically using
|
2231
|
+
<a class="link" href="ClutterText.html#clutter-text-set-cursor-position" title="clutter_text_set_cursor_position ()"><code class="function">clutter_text_set_cursor_position()</code></a>.
|
2232
|
+
</p>
|
2233
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2234
|
+
<colgroup>
|
2235
|
+
<col align="left" valign="top">
|
2236
|
+
<col>
|
2237
|
+
</colgroup>
|
2238
|
+
<tbody>
|
2239
|
+
<tr>
|
2240
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
2241
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
2242
|
+
</td>
|
2243
|
+
</tr>
|
2244
|
+
<tr>
|
2245
|
+
<td><p><span class="term"><em class="parameter"><code>cursor_visible</code></em> :</span></p></td>
|
2246
|
+
<td>whether the cursor should be visible</td>
|
2247
|
+
</tr>
|
2248
|
+
</tbody>
|
2249
|
+
</table></div>
|
2250
|
+
<p class="since">Since 1.0</p>
|
2251
|
+
</div>
|
2252
|
+
<hr>
|
2253
|
+
<div class="refsect2">
|
2254
|
+
<a name="clutter-text-get-cursor-visible"></a><h3>clutter_text_get_cursor_visible ()</h3>
|
2255
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> clutter_text_get_cursor_visible (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);</pre>
|
2256
|
+
<p>
|
2257
|
+
Retrieves whether the cursor of a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor is visible.
|
2258
|
+
</p>
|
2259
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2260
|
+
<colgroup>
|
2261
|
+
<col align="left" valign="top">
|
2262
|
+
<col>
|
2263
|
+
</colgroup>
|
2264
|
+
<tbody>
|
2265
|
+
<tr>
|
2266
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
2267
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
2268
|
+
</td>
|
2269
|
+
</tr>
|
2270
|
+
<tr>
|
2271
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2272
|
+
<td>
|
2273
|
+
<code class="literal">TRUE</code> if the cursor is visible</td>
|
2274
|
+
</tr>
|
2275
|
+
</tbody>
|
2276
|
+
</table></div>
|
2277
|
+
<p class="since">Since 1.0</p>
|
2278
|
+
</div>
|
2279
|
+
<hr>
|
2280
|
+
<div class="refsect2">
|
2281
|
+
<a name="clutter-text-set-cursor-size"></a><h3>clutter_text_set_cursor_size ()</h3>
|
2282
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_text_set_cursor_size (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
2283
|
+
<em class="parameter"><code><span class="type">gint</span> size</code></em>);</pre>
|
2284
|
+
<p>
|
2285
|
+
Sets the size of the cursor of a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>. The cursor
|
2286
|
+
will only be visible if the <a class="link" href="ClutterText.html#ClutterText--cursor-visible" title='The "cursor-visible" property'><span class="type">"cursor-visible"</span></a> property
|
2287
|
+
is set to <code class="literal">TRUE</code>.
|
2288
|
+
</p>
|
2289
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2290
|
+
<colgroup>
|
2291
|
+
<col align="left" valign="top">
|
2292
|
+
<col>
|
2293
|
+
</colgroup>
|
2294
|
+
<tbody>
|
2295
|
+
<tr>
|
2296
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
2297
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
2298
|
+
</td>
|
2299
|
+
</tr>
|
2300
|
+
<tr>
|
2301
|
+
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
|
2302
|
+
<td>the size of the cursor, in pixels, or -1 to use the
|
2303
|
+
default value</td>
|
2304
|
+
</tr>
|
2305
|
+
</tbody>
|
2306
|
+
</table></div>
|
2307
|
+
<p class="since">Since 1.0</p>
|
2308
|
+
</div>
|
2309
|
+
<hr>
|
2310
|
+
<div class="refsect2">
|
2311
|
+
<a name="clutter-text-get-cursor-size"></a><h3>clutter_text_get_cursor_size ()</h3>
|
2312
|
+
<pre class="programlisting"><span class="returnvalue">guint</span> clutter_text_get_cursor_size (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);</pre>
|
2313
|
+
<p>
|
2314
|
+
Retrieves the size of the cursor of a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor.
|
2315
|
+
</p>
|
2316
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2317
|
+
<colgroup>
|
2318
|
+
<col align="left" valign="top">
|
2319
|
+
<col>
|
2320
|
+
</colgroup>
|
2321
|
+
<tbody>
|
2322
|
+
<tr>
|
2323
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
2324
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
2325
|
+
</td>
|
2326
|
+
</tr>
|
2327
|
+
<tr>
|
2328
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2329
|
+
<td>the size of the cursor, in pixels</td>
|
2330
|
+
</tr>
|
2331
|
+
</tbody>
|
2332
|
+
</table></div>
|
2333
|
+
<p class="since">Since 1.0</p>
|
2334
|
+
</div>
|
2335
|
+
<hr>
|
2336
|
+
<div class="refsect2">
|
2337
|
+
<a name="clutter-text-activate"></a><h3>clutter_text_activate ()</h3>
|
2338
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> clutter_text_activate (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>);</pre>
|
2339
|
+
<p>
|
2340
|
+
Emits the <a class="link" href="ClutterText.html#ClutterText-activate" title='The "activate" signal'><span class="type">"activate"</span></a> signal, if <em class="parameter"><code>self</code></em> has been set
|
2341
|
+
as activatable using <a class="link" href="ClutterText.html#clutter-text-set-activatable" title="clutter_text_set_activatable ()"><code class="function">clutter_text_set_activatable()</code></a>.
|
2342
|
+
</p>
|
2343
|
+
<p>
|
2344
|
+
This function can be used to emit the ::activate signal inside
|
2345
|
+
a <a class="link" href="ClutterActor.html#ClutterActor-captured-event" title='The "captured-event" signal'><span class="type">"captured-event"</span></a> or <a class="link" href="ClutterActor.html#ClutterActor-key-press-event" title='The "key-press-event" signal'><span class="type">"key-press-event"</span></a>
|
2346
|
+
signal handlers before the default signal handler for the
|
2347
|
+
<a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> is invoked.
|
2348
|
+
</p>
|
2349
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2350
|
+
<colgroup>
|
2351
|
+
<col align="left" valign="top">
|
2352
|
+
<col>
|
2353
|
+
</colgroup>
|
2354
|
+
<tbody>
|
2355
|
+
<tr>
|
2356
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
2357
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
2358
|
+
</td>
|
2359
|
+
</tr>
|
2360
|
+
<tr>
|
2361
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2362
|
+
<td>
|
2363
|
+
<code class="literal">TRUE</code> if the ::activate signal has been emitted,
|
2364
|
+
and <code class="literal">FALSE</code> otherwise</td>
|
2365
|
+
</tr>
|
2366
|
+
</tbody>
|
2367
|
+
</table></div>
|
2368
|
+
<p class="since">Since 1.0</p>
|
2369
|
+
</div>
|
2370
|
+
<hr>
|
2371
|
+
<div class="refsect2">
|
2372
|
+
<a name="clutter-text-coords-to-position"></a><h3>clutter_text_coords_to_position ()</h3>
|
2373
|
+
<pre class="programlisting"><span class="returnvalue">gint</span> clutter_text_coords_to_position (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
2374
|
+
<em class="parameter"><code><span class="type">gfloat</span> x</code></em>,
|
2375
|
+
<em class="parameter"><code><span class="type">gfloat</span> y</code></em>);</pre>
|
2376
|
+
<p>
|
2377
|
+
Retrieves the position of the character at the given coordinates.
|
2378
|
+
</p>
|
2379
|
+
<p>
|
2380
|
+
Return: the position of the character
|
2381
|
+
</p>
|
2382
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2383
|
+
<colgroup>
|
2384
|
+
<col align="left" valign="top">
|
2385
|
+
<col>
|
2386
|
+
</colgroup>
|
2387
|
+
<tbody>
|
2388
|
+
<tr>
|
2389
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
2390
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
2391
|
+
</td>
|
2392
|
+
</tr>
|
2393
|
+
<tr>
|
2394
|
+
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
2395
|
+
<td>the X coordinate, relative to the actor</td>
|
2396
|
+
</tr>
|
2397
|
+
<tr>
|
2398
|
+
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
2399
|
+
<td>the Y coordinate, relative to the actor</td>
|
2400
|
+
</tr>
|
2401
|
+
</tbody>
|
2402
|
+
</table></div>
|
2403
|
+
<p class="since">Since 1.10</p>
|
2404
|
+
</div>
|
2405
|
+
<hr>
|
2406
|
+
<div class="refsect2">
|
2407
|
+
<a name="clutter-text-position-to-coords"></a><h3>clutter_text_position_to_coords ()</h3>
|
2408
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> clutter_text_position_to_coords (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
2409
|
+
<em class="parameter"><code><span class="type">gint</span> position</code></em>,
|
2410
|
+
<em class="parameter"><code><span class="type">gfloat</span> *x</code></em>,
|
2411
|
+
<em class="parameter"><code><span class="type">gfloat</span> *y</code></em>,
|
2412
|
+
<em class="parameter"><code><span class="type">gfloat</span> *line_height</code></em>);</pre>
|
2413
|
+
<p>
|
2414
|
+
Retrieves the coordinates of the given <em class="parameter"><code>position</code></em>.
|
2415
|
+
</p>
|
2416
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2417
|
+
<colgroup>
|
2418
|
+
<col align="left" valign="top">
|
2419
|
+
<col>
|
2420
|
+
</colgroup>
|
2421
|
+
<tbody>
|
2422
|
+
<tr>
|
2423
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
2424
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
2425
|
+
</td>
|
2426
|
+
</tr>
|
2427
|
+
<tr>
|
2428
|
+
<td><p><span class="term"><em class="parameter"><code>position</code></em> :</span></p></td>
|
2429
|
+
<td>position in characters</td>
|
2430
|
+
</tr>
|
2431
|
+
<tr>
|
2432
|
+
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
2433
|
+
<td>return location for the X coordinate, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
2434
|
+
</td>
|
2435
|
+
</tr>
|
2436
|
+
<tr>
|
2437
|
+
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
2438
|
+
<td>return location for the Y coordinate, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
2439
|
+
</td>
|
2440
|
+
</tr>
|
2441
|
+
<tr>
|
2442
|
+
<td><p><span class="term"><em class="parameter"><code>line_height</code></em> :</span></p></td>
|
2443
|
+
<td>return location for the line height, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
2444
|
+
</td>
|
2445
|
+
</tr>
|
2446
|
+
<tr>
|
2447
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2448
|
+
<td>
|
2449
|
+
<code class="literal">TRUE</code> if the conversion was successful</td>
|
2450
|
+
</tr>
|
2451
|
+
</tbody>
|
2452
|
+
</table></div>
|
2453
|
+
<p class="since">Since 1.0</p>
|
2454
|
+
</div>
|
2455
|
+
<hr>
|
2456
|
+
<div class="refsect2">
|
2457
|
+
<a name="clutter-text-set-preedit-string"></a><h3>clutter_text_set_preedit_string ()</h3>
|
2458
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_text_set_preedit_string (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
2459
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *preedit_str</code></em>,
|
2460
|
+
<em class="parameter"><code><span class="type">PangoAttrList</span> *preedit_attrs</code></em>,
|
2461
|
+
<em class="parameter"><code><span class="type">guint</span> cursor_pos</code></em>);</pre>
|
2462
|
+
<p>
|
2463
|
+
Sets, or unsets, the pre-edit string. This function is useful
|
2464
|
+
for input methods to display a string (with eventual specific
|
2465
|
+
Pango attributes) before it is entered inside the <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
2466
|
+
buffer.
|
2467
|
+
</p>
|
2468
|
+
<p>
|
2469
|
+
The preedit string and attributes are ignored if the <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
2470
|
+
actor is not editable.
|
2471
|
+
</p>
|
2472
|
+
<p>
|
2473
|
+
This function should not be used by applications
|
2474
|
+
</p>
|
2475
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2476
|
+
<colgroup>
|
2477
|
+
<col align="left" valign="top">
|
2478
|
+
<col>
|
2479
|
+
</colgroup>
|
2480
|
+
<tbody>
|
2481
|
+
<tr>
|
2482
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
2483
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
2484
|
+
</td>
|
2485
|
+
</tr>
|
2486
|
+
<tr>
|
2487
|
+
<td><p><span class="term"><em class="parameter"><code>preedit_str</code></em> :</span></p></td>
|
2488
|
+
<td>the pre-edit string, or <code class="literal">NULL</code> to unset it. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2489
|
+
</td>
|
2490
|
+
</tr>
|
2491
|
+
<tr>
|
2492
|
+
<td><p><span class="term"><em class="parameter"><code>preedit_attrs</code></em> :</span></p></td>
|
2493
|
+
<td>the pre-edit string attributes. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2494
|
+
</td>
|
2495
|
+
</tr>
|
2496
|
+
<tr>
|
2497
|
+
<td><p><span class="term"><em class="parameter"><code>cursor_pos</code></em> :</span></p></td>
|
2498
|
+
<td>the cursor position for the pre-edit string</td>
|
2499
|
+
</tr>
|
2500
|
+
</tbody>
|
2501
|
+
</table></div>
|
2502
|
+
<p class="since">Since 1.2</p>
|
2503
|
+
</div>
|
2504
|
+
<hr>
|
2505
|
+
<div class="refsect2">
|
2506
|
+
<a name="clutter-text-get-layout-offsets"></a><h3>clutter_text_get_layout_offsets ()</h3>
|
2507
|
+
<pre class="programlisting"><span class="returnvalue">void</span> clutter_text_get_layout_offsets (<em class="parameter"><code><a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self</code></em>,
|
2508
|
+
<em class="parameter"><code><span class="type">gint</span> *x</code></em>,
|
2509
|
+
<em class="parameter"><code><span class="type">gint</span> *y</code></em>);</pre>
|
2510
|
+
<p>
|
2511
|
+
Obtains the coordinates where the <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> will draw the <span class="type">PangoLayout</span>
|
2512
|
+
representing the text.
|
2513
|
+
</p>
|
2514
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2515
|
+
<colgroup>
|
2516
|
+
<col align="left" valign="top">
|
2517
|
+
<col>
|
2518
|
+
</colgroup>
|
2519
|
+
<tbody>
|
2520
|
+
<tr>
|
2521
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
2522
|
+
<td>a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
2523
|
+
</td>
|
2524
|
+
</tr>
|
2525
|
+
<tr>
|
2526
|
+
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
2527
|
+
<td>location to store X offset of layout, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
2528
|
+
</td>
|
2529
|
+
</tr>
|
2530
|
+
<tr>
|
2531
|
+
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
2532
|
+
<td>location to store Y offset of layout, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
2533
|
+
</td>
|
2534
|
+
</tr>
|
2535
|
+
</tbody>
|
2536
|
+
</table></div>
|
2537
|
+
<p class="since">Since 1.8</p>
|
2538
|
+
</div>
|
2539
|
+
</div>
|
2540
|
+
<div class="refsect1">
|
2541
|
+
<a name="ClutterText.property-details"></a><h2>Property Details</h2>
|
2542
|
+
<div class="refsect2">
|
2543
|
+
<a name="ClutterText--activatable"></a><h3>The <code class="literal">"activatable"</code> property</h3>
|
2544
|
+
<pre class="programlisting"> "activatable" <span class="type">gboolean</span> : Read / Write</pre>
|
2545
|
+
<p>
|
2546
|
+
Toggles whether return invokes the activate signal or not.
|
2547
|
+
</p>
|
2548
|
+
<p>Default value: TRUE</p>
|
2549
|
+
<p class="since">Since 1.0</p>
|
2550
|
+
</div>
|
2551
|
+
<hr>
|
2552
|
+
<div class="refsect2">
|
2553
|
+
<a name="ClutterText--attributes"></a><h3>The <code class="literal">"attributes"</code> property</h3>
|
2554
|
+
<pre class="programlisting"> "attributes" <span class="type">PangoAttrList</span>* : Read / Write</pre>
|
2555
|
+
<p>
|
2556
|
+
A list of <span class="type">PangoStyleAttribute</span>s to be applied to the
|
2557
|
+
contents of the <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor.
|
2558
|
+
</p>
|
2559
|
+
<p class="since">Since 1.0</p>
|
2560
|
+
</div>
|
2561
|
+
<hr>
|
2562
|
+
<div class="refsect2">
|
2563
|
+
<a name="ClutterText--buffer"></a><h3>The <code class="literal">"buffer"</code> property</h3>
|
2564
|
+
<pre class="programlisting"> "buffer" <a class="link" href="ClutterTextBuffer.html" title="ClutterTextBuffer"><span class="type">ClutterTextBuffer</span></a>* : Read / Write</pre>
|
2565
|
+
<p>
|
2566
|
+
The buffer which stores the text for this <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>.
|
2567
|
+
</p>
|
2568
|
+
<p>
|
2569
|
+
If set to <code class="literal">NULL</code>, a default buffer will be created.
|
2570
|
+
</p>
|
2571
|
+
<p class="since">Since 1.8</p>
|
2572
|
+
</div>
|
2573
|
+
<hr>
|
2574
|
+
<div class="refsect2">
|
2575
|
+
<a name="ClutterText--color"></a><h3>The <code class="literal">"color"</code> property</h3>
|
2576
|
+
<pre class="programlisting"> "color" <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>* : Read / Write</pre>
|
2577
|
+
<p>
|
2578
|
+
The color used to render the text.
|
2579
|
+
</p>
|
2580
|
+
<p class="since">Since 1.0</p>
|
2581
|
+
</div>
|
2582
|
+
<hr>
|
2583
|
+
<div class="refsect2">
|
2584
|
+
<a name="ClutterText--cursor-color"></a><h3>The <code class="literal">"cursor-color"</code> property</h3>
|
2585
|
+
<pre class="programlisting"> "cursor-color" <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>* : Read / Write</pre>
|
2586
|
+
<p>
|
2587
|
+
The color of the cursor.
|
2588
|
+
</p>
|
2589
|
+
<p class="since">Since 1.0</p>
|
2590
|
+
</div>
|
2591
|
+
<hr>
|
2592
|
+
<div class="refsect2">
|
2593
|
+
<a name="ClutterText--cursor-color-set"></a><h3>The <code class="literal">"cursor-color-set"</code> property</h3>
|
2594
|
+
<pre class="programlisting"> "cursor-color-set" <span class="type">gboolean</span> : Read</pre>
|
2595
|
+
<p>
|
2596
|
+
Will be set to <code class="literal">TRUE</code> if <a class="link" href="ClutterText.html#ClutterText--cursor-color" title='The "cursor-color" property'><span class="type">"cursor-color"</span></a> has been set.
|
2597
|
+
</p>
|
2598
|
+
<p>Default value: FALSE</p>
|
2599
|
+
<p class="since">Since 1.0</p>
|
2600
|
+
</div>
|
2601
|
+
<hr>
|
2602
|
+
<div class="refsect2">
|
2603
|
+
<a name="ClutterText--cursor-position"></a><h3>The <code class="literal">"cursor-position"</code> property</h3>
|
2604
|
+
<pre class="programlisting"> "cursor-position" <span class="type">gint</span> : Read / Write</pre>
|
2605
|
+
<p>
|
2606
|
+
The current input cursor position. -1 is taken to be the end of the text
|
2607
|
+
</p>
|
2608
|
+
<p>Allowed values: >= G_MAXULONG</p>
|
2609
|
+
<p>Default value: -1</p>
|
2610
|
+
<p class="since">Since 1.12</p>
|
2611
|
+
</div>
|
2612
|
+
<hr>
|
2613
|
+
<div class="refsect2">
|
2614
|
+
<a name="ClutterText--cursor-size"></a><h3>The <code class="literal">"cursor-size"</code> property</h3>
|
2615
|
+
<pre class="programlisting"> "cursor-size" <span class="type">gint</span> : Read / Write</pre>
|
2616
|
+
<p>
|
2617
|
+
The size of the cursor, in pixels. If set to -1 the size used will
|
2618
|
+
be the default cursor size of 2 pixels.
|
2619
|
+
</p>
|
2620
|
+
<p>Allowed values: >= G_MAXULONG</p>
|
2621
|
+
<p>Default value: 2</p>
|
2622
|
+
<p class="since">Since 1.0</p>
|
2623
|
+
</div>
|
2624
|
+
<hr>
|
2625
|
+
<div class="refsect2">
|
2626
|
+
<a name="ClutterText--cursor-visible"></a><h3>The <code class="literal">"cursor-visible"</code> property</h3>
|
2627
|
+
<pre class="programlisting"> "cursor-visible" <span class="type">gboolean</span> : Read / Write</pre>
|
2628
|
+
<p>
|
2629
|
+
Whether the input cursor is visible or not, it will only be visible
|
2630
|
+
if both <a class="link" href="ClutterText.html#ClutterText--cursor-visible" title='The "cursor-visible" property'><span class="type">"cursor-visible"</span></a> and <a class="link" href="ClutterText.html#ClutterText--editable" title='The "editable" property'><span class="type">"editable"</span></a> are
|
2631
|
+
set to <code class="literal">TRUE</code>.
|
2632
|
+
</p>
|
2633
|
+
<p>Default value: TRUE</p>
|
2634
|
+
<p class="since">Since 1.0</p>
|
2635
|
+
</div>
|
2636
|
+
<hr>
|
2637
|
+
<div class="refsect2">
|
2638
|
+
<a name="ClutterText--editable"></a><h3>The <code class="literal">"editable"</code> property</h3>
|
2639
|
+
<pre class="programlisting"> "editable" <span class="type">gboolean</span> : Read / Write</pre>
|
2640
|
+
<p>
|
2641
|
+
Whether key events delivered to the actor causes editing.
|
2642
|
+
</p>
|
2643
|
+
<p>Default value: FALSE</p>
|
2644
|
+
<p class="since">Since 1.0</p>
|
2645
|
+
</div>
|
2646
|
+
<hr>
|
2647
|
+
<div class="refsect2">
|
2648
|
+
<a name="ClutterText--ellipsize"></a><h3>The <code class="literal">"ellipsize"</code> property</h3>
|
2649
|
+
<pre class="programlisting"> "ellipsize" <span class="type">PangoEllipsizeMode</span> : Read / Write</pre>
|
2650
|
+
<p>
|
2651
|
+
The preferred place to ellipsize the contents of the <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor
|
2652
|
+
</p>
|
2653
|
+
<p>Default value: PANGO_ELLIPSIZE_NONE</p>
|
2654
|
+
<p class="since">Since 1.0</p>
|
2655
|
+
</div>
|
2656
|
+
<hr>
|
2657
|
+
<div class="refsect2">
|
2658
|
+
<a name="ClutterText--font-description"></a><h3>The <code class="literal">"font-description"</code> property</h3>
|
2659
|
+
<pre class="programlisting"> "font-description" <span class="type">PangoFontDescription</span>* : Read / Write</pre>
|
2660
|
+
<p>
|
2661
|
+
The <span class="type">PangoFontDescription</span> that should be used by the <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>
|
2662
|
+
</p>
|
2663
|
+
<p>
|
2664
|
+
If you have a string describing the font then you should look at
|
2665
|
+
<a class="link" href="ClutterText.html#ClutterText--font-name" title='The "font-name" property'><span class="type">"font-name"</span></a> instead
|
2666
|
+
</p>
|
2667
|
+
<p class="since">Since 1.2</p>
|
2668
|
+
</div>
|
2669
|
+
<hr>
|
2670
|
+
<div class="refsect2">
|
2671
|
+
<a name="ClutterText--font-name"></a><h3>The <code class="literal">"font-name"</code> property</h3>
|
2672
|
+
<pre class="programlisting"> "font-name" <span class="type">gchar</span>* : Read / Write</pre>
|
2673
|
+
<p>
|
2674
|
+
The font to be used by the <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a>, as a string
|
2675
|
+
that can be parsed by <code class="function">pango_font_description_from_string()</code>.
|
2676
|
+
</p>
|
2677
|
+
<p>
|
2678
|
+
If set to <code class="literal">NULL</code>, the default system font will be used instead.
|
2679
|
+
</p>
|
2680
|
+
<p>Default value: NULL</p>
|
2681
|
+
<p class="since">Since 1.0</p>
|
2682
|
+
</div>
|
2683
|
+
<hr>
|
2684
|
+
<div class="refsect2">
|
2685
|
+
<a name="ClutterText--justify"></a><h3>The <code class="literal">"justify"</code> property</h3>
|
2686
|
+
<pre class="programlisting"> "justify" <span class="type">gboolean</span> : Read / Write</pre>
|
2687
|
+
<p>
|
2688
|
+
Whether the contents of the <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> should be justified
|
2689
|
+
on both margins.
|
2690
|
+
</p>
|
2691
|
+
<p>Default value: FALSE</p>
|
2692
|
+
<p class="since">Since 1.0</p>
|
2693
|
+
</div>
|
2694
|
+
<hr>
|
2695
|
+
<div class="refsect2">
|
2696
|
+
<a name="ClutterText--line-alignment"></a><h3>The <code class="literal">"line-alignment"</code> property</h3>
|
2697
|
+
<pre class="programlisting"> "line-alignment" <span class="type">PangoAlignment</span> : Read / Write</pre>
|
2698
|
+
<p>
|
2699
|
+
The preferred alignment for the text. This property controls
|
2700
|
+
the alignment of multi-line paragraphs.
|
2701
|
+
</p>
|
2702
|
+
<p>Default value: PANGO_ALIGN_LEFT</p>
|
2703
|
+
<p class="since">Since 1.0</p>
|
2704
|
+
</div>
|
2705
|
+
<hr>
|
2706
|
+
<div class="refsect2">
|
2707
|
+
<a name="ClutterText--line-wrap"></a><h3>The <code class="literal">"line-wrap"</code> property</h3>
|
2708
|
+
<pre class="programlisting"> "line-wrap" <span class="type">gboolean</span> : Read / Write</pre>
|
2709
|
+
<p>
|
2710
|
+
Whether to wrap the lines of <a class="link" href="ClutterText.html#ClutterText--text" title='The "text" property'><span class="type">"text"</span></a> if the contents
|
2711
|
+
exceed the available allocation. The wrapping strategy is
|
2712
|
+
controlled by the <a class="link" href="ClutterText.html#ClutterText--line-wrap-mode" title='The "line-wrap-mode" property'><span class="type">"line-wrap-mode"</span></a> property.
|
2713
|
+
</p>
|
2714
|
+
<p>Default value: FALSE</p>
|
2715
|
+
<p class="since">Since 1.0</p>
|
2716
|
+
</div>
|
2717
|
+
<hr>
|
2718
|
+
<div class="refsect2">
|
2719
|
+
<a name="ClutterText--line-wrap-mode"></a><h3>The <code class="literal">"line-wrap-mode"</code> property</h3>
|
2720
|
+
<pre class="programlisting"> "line-wrap-mode" <span class="type">PangoWrapMode</span> : Read / Write</pre>
|
2721
|
+
<p>
|
2722
|
+
If <a class="link" href="ClutterText.html#ClutterText--line-wrap" title='The "line-wrap" property'><span class="type">"line-wrap"</span></a> is set to <code class="literal">TRUE</code>, this property will
|
2723
|
+
control how the text is wrapped.
|
2724
|
+
</p>
|
2725
|
+
<p>Default value: PANGO_WRAP_WORD</p>
|
2726
|
+
<p class="since">Since 1.0</p>
|
2727
|
+
</div>
|
2728
|
+
<hr>
|
2729
|
+
<div class="refsect2">
|
2730
|
+
<a name="ClutterText--max-length"></a><h3>The <code class="literal">"max-length"</code> property</h3>
|
2731
|
+
<pre class="programlisting"> "max-length" <span class="type">gint</span> : Read / Write</pre>
|
2732
|
+
<p>
|
2733
|
+
The maximum length of the contents of the <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor.
|
2734
|
+
</p>
|
2735
|
+
<p>Allowed values: >= G_MAXULONG</p>
|
2736
|
+
<p>Default value: 0</p>
|
2737
|
+
<p class="since">Since 1.0</p>
|
2738
|
+
</div>
|
2739
|
+
<hr>
|
2740
|
+
<div class="refsect2">
|
2741
|
+
<a name="ClutterText--password-char"></a><h3>The <code class="literal">"password-char"</code> property</h3>
|
2742
|
+
<pre class="programlisting"> "password-char" <span class="type">guint</span> : Read / Write</pre>
|
2743
|
+
<p>
|
2744
|
+
If non-zero, the character that should be used in place of
|
2745
|
+
the actual text in a password text actor.
|
2746
|
+
</p>
|
2747
|
+
<p>Default value: 0</p>
|
2748
|
+
<p class="since">Since 1.0</p>
|
2749
|
+
</div>
|
2750
|
+
<hr>
|
2751
|
+
<div class="refsect2">
|
2752
|
+
<a name="ClutterText--position"></a><h3>The <code class="literal">"position"</code> property</h3>
|
2753
|
+
<pre class="programlisting"> "position" <span class="type">gint</span> : Read / Write</pre>
|
2754
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
2755
|
+
<h3 class="title">Warning</h3>
|
2756
|
+
<p><code class="literal">ClutterText:position</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use ClutterText:cursor-position instead.</p>
|
2757
|
+
</div>
|
2758
|
+
<p>
|
2759
|
+
The current input cursor position. -1 is taken to be the end of the text
|
2760
|
+
</p>
|
2761
|
+
<p>Allowed values: >= G_MAXULONG</p>
|
2762
|
+
<p>Default value: -1</p>
|
2763
|
+
<p class="since">Since 1.0</p>
|
2764
|
+
</div>
|
2765
|
+
<hr>
|
2766
|
+
<div class="refsect2">
|
2767
|
+
<a name="ClutterText--selectable"></a><h3>The <code class="literal">"selectable"</code> property</h3>
|
2768
|
+
<pre class="programlisting"> "selectable" <span class="type">gboolean</span> : Read / Write</pre>
|
2769
|
+
<p>
|
2770
|
+
Whether it is possible to select text, either using the pointer
|
2771
|
+
or the keyboard.
|
2772
|
+
</p>
|
2773
|
+
<p>Default value: TRUE</p>
|
2774
|
+
<p class="since">Since 1.0</p>
|
2775
|
+
</div>
|
2776
|
+
<hr>
|
2777
|
+
<div class="refsect2">
|
2778
|
+
<a name="ClutterText--selected-text-color"></a><h3>The <code class="literal">"selected-text-color"</code> property</h3>
|
2779
|
+
<pre class="programlisting"> "selected-text-color" <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>* : Read / Write</pre>
|
2780
|
+
<p>
|
2781
|
+
The color of selected text.
|
2782
|
+
</p>
|
2783
|
+
<p class="since">Since 1.8</p>
|
2784
|
+
</div>
|
2785
|
+
<hr>
|
2786
|
+
<div class="refsect2">
|
2787
|
+
<a name="ClutterText--selected-text-color-set"></a><h3>The <code class="literal">"selected-text-color-set"</code> property</h3>
|
2788
|
+
<pre class="programlisting"> "selected-text-color-set" <span class="type">gboolean</span> : Read</pre>
|
2789
|
+
<p>
|
2790
|
+
Will be set to <code class="literal">TRUE</code> if <a class="link" href="ClutterText.html#ClutterText--selected-text-color" title='The "selected-text-color" property'><span class="type">"selected-text-color"</span></a> has been set.
|
2791
|
+
</p>
|
2792
|
+
<p>Default value: FALSE</p>
|
2793
|
+
<p class="since">Since 1.8</p>
|
2794
|
+
</div>
|
2795
|
+
<hr>
|
2796
|
+
<div class="refsect2">
|
2797
|
+
<a name="ClutterText--selection-bound"></a><h3>The <code class="literal">"selection-bound"</code> property</h3>
|
2798
|
+
<pre class="programlisting"> "selection-bound" <span class="type">gint</span> : Read / Write</pre>
|
2799
|
+
<p>
|
2800
|
+
The current input cursor position. -1 is taken to be the end of the text
|
2801
|
+
</p>
|
2802
|
+
<p>Allowed values: >= G_MAXULONG</p>
|
2803
|
+
<p>Default value: -1</p>
|
2804
|
+
<p class="since">Since 1.0</p>
|
2805
|
+
</div>
|
2806
|
+
<hr>
|
2807
|
+
<div class="refsect2">
|
2808
|
+
<a name="ClutterText--selection-color"></a><h3>The <code class="literal">"selection-color"</code> property</h3>
|
2809
|
+
<pre class="programlisting"> "selection-color" <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor"><span class="type">ClutterColor</span></a>* : Read / Write</pre>
|
2810
|
+
<p>
|
2811
|
+
The color of the selection.
|
2812
|
+
</p>
|
2813
|
+
<p class="since">Since 1.0</p>
|
2814
|
+
</div>
|
2815
|
+
<hr>
|
2816
|
+
<div class="refsect2">
|
2817
|
+
<a name="ClutterText--selection-color-set"></a><h3>The <code class="literal">"selection-color-set"</code> property</h3>
|
2818
|
+
<pre class="programlisting"> "selection-color-set" <span class="type">gboolean</span> : Read</pre>
|
2819
|
+
<p>
|
2820
|
+
Will be set to <code class="literal">TRUE</code> if <a class="link" href="ClutterText.html#ClutterText--selection-color" title='The "selection-color" property'><span class="type">"selection-color"</span></a> has been set.
|
2821
|
+
</p>
|
2822
|
+
<p>Default value: FALSE</p>
|
2823
|
+
<p class="since">Since 1.0</p>
|
2824
|
+
</div>
|
2825
|
+
<hr>
|
2826
|
+
<div class="refsect2">
|
2827
|
+
<a name="ClutterText--single-line-mode"></a><h3>The <code class="literal">"single-line-mode"</code> property</h3>
|
2828
|
+
<pre class="programlisting"> "single-line-mode" <span class="type">gboolean</span> : Read / Write</pre>
|
2829
|
+
<p>
|
2830
|
+
Whether the <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor should be in single line mode
|
2831
|
+
or not. A single line <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor will only contain a
|
2832
|
+
single line of text, scrolling it in case its length is bigger
|
2833
|
+
than the allocated size.
|
2834
|
+
</p>
|
2835
|
+
<p>
|
2836
|
+
Setting this property will also set the <a class="link" href="ClutterText.html#ClutterText--activatable" title='The "activatable" property'><span class="type">"activatable"</span></a>
|
2837
|
+
property as a side-effect.
|
2838
|
+
</p>
|
2839
|
+
<p>
|
2840
|
+
The <a class="link" href="ClutterText.html#ClutterText--single-line-mode" title='The "single-line-mode" property'><span class="type">"single-line-mode"</span></a> property is used only if the
|
2841
|
+
<a class="link" href="ClutterText.html#ClutterText--editable" title='The "editable" property'><span class="type">"editable"</span></a> property is set to <code class="literal">TRUE</code>.
|
2842
|
+
</p>
|
2843
|
+
<p>Default value: FALSE</p>
|
2844
|
+
<p class="since">Since 1.0</p>
|
2845
|
+
</div>
|
2846
|
+
<hr>
|
2847
|
+
<div class="refsect2">
|
2848
|
+
<a name="ClutterText--text"></a><h3>The <code class="literal">"text"</code> property</h3>
|
2849
|
+
<pre class="programlisting"> "text" <span class="type">gchar</span>* : Read / Write</pre>
|
2850
|
+
<p>
|
2851
|
+
The text to render inside the actor.
|
2852
|
+
</p>
|
2853
|
+
<p>Default value: ""</p>
|
2854
|
+
<p class="since">Since 1.0</p>
|
2855
|
+
</div>
|
2856
|
+
<hr>
|
2857
|
+
<div class="refsect2">
|
2858
|
+
<a name="ClutterText--use-markup"></a><h3>The <code class="literal">"use-markup"</code> property</h3>
|
2859
|
+
<pre class="programlisting"> "use-markup" <span class="type">gboolean</span> : Read / Write</pre>
|
2860
|
+
<p>
|
2861
|
+
Whether the text includes Pango markup.
|
2862
|
+
</p>
|
2863
|
+
<p>
|
2864
|
+
For more informations about the Pango markup format, see
|
2865
|
+
<code class="function">pango_layout_set_markup()</code> in the Pango documentation.
|
2866
|
+
</p>
|
2867
|
+
<p>
|
2868
|
+
</p>
|
2869
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
2870
|
+
<h3 class="title">Note</h3>It is not possible to round-trip this property between
|
2871
|
+
<code class="literal">TRUE</code> and <code class="literal">FALSE</code>. Once a string with markup has been set on
|
2872
|
+
a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor with :use-markup set to <code class="literal">TRUE</code>, the markup
|
2873
|
+
is stripped from the string.</div>
|
2874
|
+
<p>
|
2875
|
+
</p>
|
2876
|
+
<p>Default value: FALSE</p>
|
2877
|
+
<p class="since">Since 1.0</p>
|
2878
|
+
</div>
|
2879
|
+
</div>
|
2880
|
+
<div class="refsect1">
|
2881
|
+
<a name="ClutterText.signal-details"></a><h2>Signal Details</h2>
|
2882
|
+
<div class="refsect2">
|
2883
|
+
<a name="ClutterText-activate"></a><h3>The <code class="literal">"activate"</code> signal</h3>
|
2884
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self,
|
2885
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
|
2886
|
+
<p>
|
2887
|
+
The ::activate signal is emitted each time the actor is 'activated'
|
2888
|
+
by the user, normally by pressing the 'Enter' key. The signal is
|
2889
|
+
emitted only if <a class="link" href="ClutterText.html#ClutterText--activatable" title='The "activatable" property'><span class="type">"activatable"</span></a> is set to <code class="literal">TRUE</code>.
|
2890
|
+
</p>
|
2891
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2892
|
+
<colgroup>
|
2893
|
+
<col align="left" valign="top">
|
2894
|
+
<col>
|
2895
|
+
</colgroup>
|
2896
|
+
<tbody>
|
2897
|
+
<tr>
|
2898
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
2899
|
+
<td>the <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> that emitted the signal</td>
|
2900
|
+
</tr>
|
2901
|
+
<tr>
|
2902
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
2903
|
+
<td>user data set when the signal handler was connected.</td>
|
2904
|
+
</tr>
|
2905
|
+
</tbody>
|
2906
|
+
</table></div>
|
2907
|
+
<p class="since">Since 1.0</p>
|
2908
|
+
</div>
|
2909
|
+
<hr>
|
2910
|
+
<div class="refsect2">
|
2911
|
+
<a name="ClutterText-cursor-event"></a><h3>The <code class="literal">"cursor-event"</code> signal</h3>
|
2912
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self,
|
2913
|
+
<a class="link" href="clutter-Base-geometric-types.html#ClutterGeometry" title="struct ClutterGeometry"><span class="type">ClutterGeometry</span></a> *geometry,
|
2914
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
|
2915
|
+
<p>
|
2916
|
+
The ::cursor-event signal is emitted whenever the cursor position
|
2917
|
+
changes inside a <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> actor. Inside <em class="parameter"><code>geometry</code></em> it is stored
|
2918
|
+
the current position and size of the cursor, relative to the actor
|
2919
|
+
itself.
|
2920
|
+
</p>
|
2921
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2922
|
+
<colgroup>
|
2923
|
+
<col align="left" valign="top">
|
2924
|
+
<col>
|
2925
|
+
</colgroup>
|
2926
|
+
<tbody>
|
2927
|
+
<tr>
|
2928
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
2929
|
+
<td>the <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> that emitted the signal</td>
|
2930
|
+
</tr>
|
2931
|
+
<tr>
|
2932
|
+
<td><p><span class="term"><em class="parameter"><code>geometry</code></em> :</span></p></td>
|
2933
|
+
<td>the coordinates of the cursor</td>
|
2934
|
+
</tr>
|
2935
|
+
<tr>
|
2936
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
2937
|
+
<td>user data set when the signal handler was connected.</td>
|
2938
|
+
</tr>
|
2939
|
+
</tbody>
|
2940
|
+
</table></div>
|
2941
|
+
<p class="since">Since 1.0</p>
|
2942
|
+
</div>
|
2943
|
+
<hr>
|
2944
|
+
<div class="refsect2">
|
2945
|
+
<a name="ClutterText-delete-text"></a><h3>The <code class="literal">"delete-text"</code> signal</h3>
|
2946
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self,
|
2947
|
+
<span class="type">gint</span> start_pos,
|
2948
|
+
<span class="type">gint</span> end_pos,
|
2949
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">Action</code></pre>
|
2950
|
+
<p>
|
2951
|
+
This signal is emitted when text is deleted from the actor by
|
2952
|
+
the user. It is emitted before <em class="parameter"><code>self</code></em> text changes.
|
2953
|
+
</p>
|
2954
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2955
|
+
<colgroup>
|
2956
|
+
<col align="left" valign="top">
|
2957
|
+
<col>
|
2958
|
+
</colgroup>
|
2959
|
+
<tbody>
|
2960
|
+
<tr>
|
2961
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
2962
|
+
<td>the <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> that emitted the signal</td>
|
2963
|
+
</tr>
|
2964
|
+
<tr>
|
2965
|
+
<td><p><span class="term"><em class="parameter"><code>start_pos</code></em> :</span></p></td>
|
2966
|
+
<td>the starting position</td>
|
2967
|
+
</tr>
|
2968
|
+
<tr>
|
2969
|
+
<td><p><span class="term"><em class="parameter"><code>end_pos</code></em> :</span></p></td>
|
2970
|
+
<td>the end position</td>
|
2971
|
+
</tr>
|
2972
|
+
<tr>
|
2973
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
2974
|
+
<td>user data set when the signal handler was connected.</td>
|
2975
|
+
</tr>
|
2976
|
+
</tbody>
|
2977
|
+
</table></div>
|
2978
|
+
<p class="since">Since 1.2</p>
|
2979
|
+
</div>
|
2980
|
+
<hr>
|
2981
|
+
<div class="refsect2">
|
2982
|
+
<a name="ClutterText-insert-text"></a><h3>The <code class="literal">"insert-text"</code> signal</h3>
|
2983
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self,
|
2984
|
+
<span class="type">gchar</span> *new_text,
|
2985
|
+
<span class="type">gint</span> new_text_length,
|
2986
|
+
<span class="type">gpointer</span> position,
|
2987
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">Action</code></pre>
|
2988
|
+
<p>
|
2989
|
+
This signal is emitted when text is inserted into the actor by
|
2990
|
+
the user. It is emitted before <em class="parameter"><code>self</code></em> text changes.
|
2991
|
+
</p>
|
2992
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2993
|
+
<colgroup>
|
2994
|
+
<col align="left" valign="top">
|
2995
|
+
<col>
|
2996
|
+
</colgroup>
|
2997
|
+
<tbody>
|
2998
|
+
<tr>
|
2999
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
3000
|
+
<td>the <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> that emitted the signal</td>
|
3001
|
+
</tr>
|
3002
|
+
<tr>
|
3003
|
+
<td><p><span class="term"><em class="parameter"><code>new_text</code></em> :</span></p></td>
|
3004
|
+
<td>the new text to insert</td>
|
3005
|
+
</tr>
|
3006
|
+
<tr>
|
3007
|
+
<td><p><span class="term"><em class="parameter"><code>new_text_length</code></em> :</span></p></td>
|
3008
|
+
<td>the length of the new text, in bytes, or -1 if
|
3009
|
+
new_text is nul-terminated</td>
|
3010
|
+
</tr>
|
3011
|
+
<tr>
|
3012
|
+
<td><p><span class="term"><em class="parameter"><code>position</code></em> :</span></p></td>
|
3013
|
+
<td>the position, in characters, at which to insert the
|
3014
|
+
new text. this is an in-out parameter. After the signal
|
3015
|
+
emission is finished, it should point after the newly
|
3016
|
+
inserted text.</td>
|
3017
|
+
</tr>
|
3018
|
+
<tr>
|
3019
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
3020
|
+
<td>user data set when the signal handler was connected.</td>
|
3021
|
+
</tr>
|
3022
|
+
</tbody>
|
3023
|
+
</table></div>
|
3024
|
+
<p class="since">Since 1.2</p>
|
3025
|
+
</div>
|
3026
|
+
<hr>
|
3027
|
+
<div class="refsect2">
|
3028
|
+
<a name="ClutterText-text-changed"></a><h3>The <code class="literal">"text-changed"</code> signal</h3>
|
3029
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> *self,
|
3030
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
|
3031
|
+
<p>
|
3032
|
+
The ::text-changed signal is emitted after <em class="parameter"><code>actor</code></em>'s text changes
|
3033
|
+
</p>
|
3034
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3035
|
+
<colgroup>
|
3036
|
+
<col align="left" valign="top">
|
3037
|
+
<col>
|
3038
|
+
</colgroup>
|
3039
|
+
<tbody>
|
3040
|
+
<tr>
|
3041
|
+
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
|
3042
|
+
<td>the <a class="link" href="ClutterText.html" title="ClutterText"><span class="type">ClutterText</span></a> that emitted the signal</td>
|
3043
|
+
</tr>
|
3044
|
+
<tr>
|
3045
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
3046
|
+
<td>user data set when the signal handler was connected.</td>
|
3047
|
+
</tr>
|
3048
|
+
</tbody>
|
3049
|
+
</table></div>
|
3050
|
+
<p class="since">Since 1.0</p>
|
3051
|
+
</div>
|
3052
|
+
</div>
|
3053
|
+
</div>
|
3054
|
+
<div class="footer">
|
3055
|
+
<hr>
|
3056
|
+
Generated by GTK-Doc V1.18.1</div>
|
3057
|
+
</body>
|
3058
|
+
</html>
|