| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" |
| 3 |
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ |
| 4 |
<!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'"> |
| 5 |
<!ENTITY % gtkdocentities SYSTEM "xml/gtkdocentities.ent"> |
| 6 |
%gtkdocentities; |
| 7 |
]> |
| 8 |
|
| 9 |
<book id="clutter" lang="en"> |
| 10 |
<bookinfo> |
| 11 |
<title>Clutter Reference Manual</title> |
| 12 |
<releaseinfo>for Clutter &package_version;</releaseinfo> |
| 13 |
|
| 14 |
<copyright> |
| 15 |
<year>2006</year> |
| 16 |
<year>2007</year> |
| 17 |
<year>2008</year> |
| 18 |
<holder>OpenedHand LTD</holder> |
| 19 |
</copyright> |
| 20 |
|
| 21 |
<copyright> |
| 22 |
<year>2009</year> |
| 23 |
<year>2010</year> |
| 24 |
<year>2011</year> |
| 25 |
<year>2012</year> |
| 26 |
<holder>Intel Corporation</holder> |
| 27 |
</copyright> |
| 28 |
|
| 29 |
<legalnotice> |
| 30 |
<para> |
| 31 |
Permission is granted to copy, distribute and/or modify this |
| 32 |
document under the terms of the <citetitle>GNU Free |
| 33 |
Documentation License</citetitle>, Version 1.1 or any later |
| 34 |
version published by the Free Software Foundation with no |
| 35 |
Invariant Sections, no Front-Cover Texts, and no Back-Cover |
| 36 |
Texts. You may obtain a copy of the <citetitle>GNU Free |
| 37 |
Documentation License</citetitle> from the Free Software |
| 38 |
Foundation by visiting <ulink type="http" |
| 39 |
url="http://www.fsf.org">their Web site</ulink> or by writing |
| 40 |
to: |
| 41 |
|
| 42 |
<address> |
| 43 |
The Free Software Foundation, Inc., |
| 44 |
<street>59 Temple Place</street> - Suite 330, |
| 45 |
<city>Boston</city>, <state>MA</state> <postcode>02111-1307</postcode>, |
| 46 |
<country>USA</country> |
| 47 |
</address> |
| 48 |
</para> |
| 49 |
</legalnotice> |
| 50 |
</bookinfo> |
| 51 |
|
| 52 |
<xi:include href="xml/clutter-overview.xml"/> |
| 53 |
<xi:include href="xml/building-clutter.xml"/> |
| 54 |
<xi:include href="xml/running-clutter.xml"/> |
| 55 |
|
| 56 |
<part id="clutterbase"> |
| 57 |
<title>Clutter Core Reference</title> |
| 58 |
|
| 59 |
<chapter> |
| 60 |
<title>Abstract classes and interfaces</title> |
| 61 |
<xi:include href="xml/clutter-actor.xml"/> |
| 62 |
<xi:include href="xml/clutter-container.xml"/> |
| 63 |
<xi:include href="xml/clutter-child-meta.xml"/> |
| 64 |
<xi:include href="xml/clutter-media.xml"/> |
| 65 |
<xi:include href="xml/clutter-layout-manager.xml"/> |
| 66 |
<xi:include href="xml/clutter-layout-meta.xml"/> |
| 67 |
<xi:include href="xml/clutter-actor-meta.xml"/> |
| 68 |
<xi:include href="xml/clutter-action.xml"/> |
| 69 |
<xi:include href="xml/clutter-constraint.xml"/> |
| 70 |
<xi:include href="xml/clutter-effect.xml"/> |
| 71 |
<xi:include href="xml/clutter-content.xml"/> |
| 72 |
</chapter> |
| 73 |
|
| 74 |
<chapter> |
| 75 |
<title>Base actors</title> |
| 76 |
<xi:include href="xml/clutter-stage.xml"/> |
| 77 |
<xi:include href="xml/clutter-clone.xml"/> |
| 78 |
<xi:include href="xml/clutter-text.xml"/> |
| 79 |
<xi:include href="xml/clutter-scroll-actor.xml"/> |
| 80 |
</chapter> |
| 81 |
|
| 82 |
<chapter> |
| 83 |
<title>Layout managers</title> |
| 84 |
|
| 85 |
<xi:include href="xml/clutter-fixed-layout.xml"/> |
| 86 |
<xi:include href="xml/clutter-bin-layout.xml"/> |
| 87 |
<xi:include href="xml/clutter-flow-layout.xml"/> |
| 88 |
<xi:include href="xml/clutter-box-layout.xml"/> |
| 89 |
<xi:include href="xml/clutter-grid-layout.xml"/> |
| 90 |
</chapter> |
| 91 |
|
| 92 |
<chapter> |
| 93 |
<title>Actions</title> |
| 94 |
|
| 95 |
<xi:include href="xml/clutter-click-action.xml"/> |
| 96 |
<xi:include href="xml/clutter-drag-action.xml"/> |
| 97 |
<xi:include href="xml/clutter-drop-action.xml"/> |
| 98 |
<xi:include href="xml/clutter-gesture-action.xml"/> |
| 99 |
<xi:include href="xml/clutter-pan-action.xml"/> |
| 100 |
<xi:include href="xml/clutter-swipe-action.xml"/> |
| 101 |
<xi:include href="xml/clutter-rotate-action.xml"/> |
| 102 |
<xi:include href="xml/clutter-zoom-action.xml"/> |
| 103 |
<xi:include href="xml/clutter-tap-action.xml"/> |
| 104 |
</chapter> |
| 105 |
|
| 106 |
<chapter> |
| 107 |
<title>Constraints</title> |
| 108 |
|
| 109 |
<xi:include href="xml/clutter-align-constraint.xml"/> |
| 110 |
<xi:include href="xml/clutter-bind-constraint.xml"/> |
| 111 |
<xi:include href="xml/clutter-path-constraint.xml"/> |
| 112 |
<xi:include href="xml/clutter-snap-constraint.xml"/> |
| 113 |
</chapter> |
| 114 |
|
| 115 |
<chapter> |
| 116 |
<title>Effects</title> |
| 117 |
|
| 118 |
<xi:include href="xml/clutter-offscreen-effect.xml"/> |
| 119 |
<xi:include href="xml/clutter-shader-effect.xml"/> |
| 120 |
<xi:include href="xml/clutter-deform-effect.xml"/> |
| 121 |
|
| 122 |
<xi:include href="xml/clutter-blur-effect.xml"/> |
| 123 |
<xi:include href="xml/clutter-brightness-contrast-effect.xml"/> |
| 124 |
<xi:include href="xml/clutter-colorize-effect.xml"/> |
| 125 |
<xi:include href="xml/clutter-desaturate-effect.xml"/> |
| 126 |
<xi:include href="xml/clutter-page-turn-effect.xml"/> |
| 127 |
</chapter> |
| 128 |
|
| 129 |
<chapter> |
| 130 |
<title>Content</title> |
| 131 |
|
| 132 |
<xi:include href="xml/clutter-canvas.xml"/> |
| 133 |
<xi:include href="xml/clutter-image.xml"/> |
| 134 |
</chapter> |
| 135 |
|
| 136 |
<chapter> |
| 137 |
<title>Paint Objects</title> |
| 138 |
|
| 139 |
<xi:include href="xml/clutter-paint-node.xml"/> |
| 140 |
<xi:include href="xml/clutter-paint-nodes.xml"/> |
| 141 |
</chapter> |
| 142 |
|
| 143 |
</part> |
| 144 |
|
| 145 |
<part id="clutteranimation"> |
| 146 |
<title>Clutter Animation Framework</title> |
| 147 |
|
| 148 |
<partintro> |
| 149 |
<para>Clutter has a fully extensible animation framework |
| 150 |
providing support for explicit and implicit animations of |
| 151 |
single actors as well as groups of actors.</para> |
| 152 |
</partintro> |
| 153 |
|
| 154 |
<chapter> |
| 155 |
<title>Base classes</title> |
| 156 |
|
| 157 |
<xi:include href="xml/clutter-timeline.xml"/> |
| 158 |
<xi:include href="xml/clutter-interval.xml"/> |
| 159 |
<xi:include href="xml/clutter-animatable.xml"/> |
| 160 |
<xi:include href="xml/clutter-transition.xml"/> |
| 161 |
<xi:include href="xml/clutter-property-transition.xml"/> |
| 162 |
<xi:include href="xml/clutter-keyframe-transition.xml"/> |
| 163 |
<xi:include href="xml/clutter-transition-group.xml"/> |
| 164 |
</chapter> |
| 165 |
|
| 166 |
</part> |
| 167 |
|
| 168 |
<part id="cluttertools"> |
| 169 |
<title>Clutter Tools</title> |
| 170 |
|
| 171 |
<chapter> |
| 172 |
<title>General purpose API</title> |
| 173 |
|
| 174 |
<xi:include href="xml/clutter-color.xml"/> |
| 175 |
<xi:include href="xml/clutter-binding-pool.xml"/> |
| 176 |
<xi:include href="xml/clutter-device-manager.xml"/> |
| 177 |
<xi:include href="xml/clutter-event.xml"/> |
| 178 |
<xi:include href="xml/clutter-feature.xml"/> |
| 179 |
<xi:include href="xml/clutter-geometric-types.xml"/> |
| 180 |
<xi:include href="xml/clutter-input-device.xml"/> |
| 181 |
<xi:include href="xml/clutter-main.xml"/> |
| 182 |
<xi:include href="xml/clutter-path.xml"/> |
| 183 |
<xi:include href="xml/clutter-settings.xml"/> |
| 184 |
<xi:include href="xml/clutter-stage-manager.xml"/> |
| 185 |
<xi:include href="xml/clutter-text-buffer.xml"/> |
| 186 |
<xi:include href="xml/clutter-units.xml"/> |
| 187 |
<xi:include href="xml/clutter-cairo.xml"/> |
| 188 |
<xi:include href="xml/clutter-util.xml"/> |
| 189 |
<xi:include href="xml/clutter-version.xml"/> |
| 190 |
</chapter> |
| 191 |
|
| 192 |
<chapter> |
| 193 |
<title>User interface definition</title> |
| 194 |
|
| 195 |
<xi:include href="xml/clutter-script.xml"/> |
| 196 |
<xi:include href="xml/clutter-scriptable.xml"/> |
| 197 |
</chapter> |
| 198 |
|
| 199 |
<chapter> |
| 200 |
<title>Generic list model</title> |
| 201 |
|
| 202 |
<xi:include href="xml/clutter-model.xml"/> |
| 203 |
<xi:include href="xml/clutter-model-iter.xml"/> |
| 204 |
<xi:include href="xml/clutter-list-model.xml"/> |
| 205 |
</chapter> |
| 206 |
|
| 207 |
</part> |
| 208 |
|
| 209 |
<part id="clutterbackends"> |
| 210 |
<title>Clutter Backends</title> |
| 211 |
|
| 212 |
<partintro> |
| 213 |
<para>Clutter is usually compiled against a specific drawing backend. |
| 214 |
All backends have a common API for querying the underlying platform, |
| 215 |
and some of them might have specific API exposed by Clutter.</para> |
| 216 |
</partintro> |
| 217 |
|
| 218 |
<xi:include href="xml/clutter-backend.xml"/> |
| 219 |
<xi:include href="xml/clutter-x11.xml"/> |
| 220 |
<xi:include href="xml/clutter-x11-texture-pixmap.xml"/> |
| 221 |
<xi:include href="xml/clutter-glx-texture-pixmap.xml"/> |
| 222 |
<xi:include href="xml/clutter-win32.xml"/> |
| 223 |
<xi:include href="xml/clutter-egl.xml"/> |
| 224 |
<xi:include href="xml/clutter-cex100.xml"/> |
| 225 |
<xi:include href="xml/clutter-gdk.xml"/> |
| 226 |
<xi:include href="xml/clutter-wayland.xml"/> |
| 227 |
<xi:include href="xml/clutter-wayland-compositor.xml"/> |
| 228 |
<xi:include href="xml/clutter-wayland-surface.xml"/> |
| 229 |
<xi:include href="xml/clutter-mir.xml"/> |
| 230 |
</part> |
| 231 |
|
| 232 |
<part id="cally"> |
| 233 |
<title>Accessibility</title> |
| 234 |
|
| 235 |
<partintro> |
| 236 |
<para>Clutter provides support for accessibility technologies by |
| 237 |
implementing the ATK interfaces. Since Clutter is a low-level tool |
| 238 |
kit, and developers are supposed to create more complex actor |
| 239 |
classes, we expose a low level API under the Cally namespace; this |
| 240 |
API can be used as the base to build more accessibility features |
| 241 |
inside custom derived ClutterActor classes.</para> |
| 242 |
</partintro> |
| 243 |
|
| 244 |
<chapter> |
| 245 |
<title>Base Classes</title> |
| 246 |
|
| 247 |
<xi:include href="xml/cally-actor.xml"/> |
| 248 |
<xi:include href="xml/cally-group.xml"/> |
| 249 |
<xi:include href="xml/cally-stage.xml"/> |
| 250 |
<xi:include href="xml/cally-texture.xml"/> |
| 251 |
<xi:include href="xml/cally-rectangle.xml"/> |
| 252 |
<xi:include href="xml/cally-text.xml"/> |
| 253 |
<xi:include href="xml/cally-clone.xml"/> |
| 254 |
</chapter> |
| 255 |
|
| 256 |
<chapter> |
| 257 |
<title>Utility API</title> |
| 258 |
|
| 259 |
<xi:include href="xml/cally.xml"/> |
| 260 |
<xi:include href="xml/cally-util.xml"/> |
| 261 |
<xi:include href="xml/cally-root.xml"/> |
| 262 |
|
| 263 |
</chapter> |
| 264 |
</part> |
| 265 |
|
| 266 |
<part id="migration"> |
| 267 |
<title>Migrating from previous version of Clutter</title> |
| 268 |
|
| 269 |
<partintro> |
| 270 |
<part>This section describes the changes that need to be |
| 271 |
done in applications using Clutter to use new features or |
| 272 |
to migrate from old, deprecated API to the new ones.</part> |
| 273 |
</partintro> |
| 274 |
|
| 275 |
<xi:include href="xml/migrating-ClutterEffect.xml"/> |
| 276 |
<xi:include href="xml/migrating-ClutterPath.xml"/> |
| 277 |
<xi:include href="xml/migrating-ClutterBehaviour.xml"/> |
| 278 |
<xi:include href="xml/migrating-ClutterAnimation.xml"/> |
| 279 |
|
| 280 |
</part> |
| 281 |
|
| 282 |
<part id="deprecated"> |
| 283 |
<title>Deprecated Classes</title> |
| 284 |
|
| 285 |
<xi:include href="xml/clutter-alpha.xml"/> |
| 286 |
<xi:include href="xml/clutter-animation.xml"/> |
| 287 |
<xi:include href="xml/clutter-animator.xml"/> |
| 288 |
<xi:include href="xml/clutter-behaviour.xml"/> |
| 289 |
<xi:include href="xml/clutter-behaviour-depth.xml"/> |
| 290 |
<xi:include href="xml/clutter-behaviour-ellipse.xml"/> |
| 291 |
<xi:include href="xml/clutter-behaviour-opacity.xml"/> |
| 292 |
<xi:include href="xml/clutter-behaviour-path.xml"/> |
| 293 |
<xi:include href="xml/clutter-behaviour-rotate.xml"/> |
| 294 |
<xi:include href="xml/clutter-behaviour-scale.xml"/> |
| 295 |
<xi:include href="xml/clutter-box.xml"/> |
| 296 |
<xi:include href="xml/clutter-cairo-texture.xml"/> |
| 297 |
<xi:include href="xml/clutter-group.xml"/> |
| 298 |
<xi:include href="xml/clutter-rectangle.xml"/> |
| 299 |
<xi:include href="xml/clutter-score.xml"/> |
| 300 |
<xi:include href="xml/clutter-shader.xml"/> |
| 301 |
<xi:include href="xml/clutter-state.xml"/> |
| 302 |
<xi:include href="xml/clutter-table-layout.xml"/> |
| 303 |
<xi:include href="xml/clutter-texture.xml"/> |
| 304 |
</part> |
| 305 |
|
| 306 |
<part id="clutterobjects"> |
| 307 |
<title>Clutter Actors and Objects</title> |
| 308 |
|
| 309 |
<chapter id="clutterobjecthierarchy"> |
| 310 |
<title>Object Hierarchy</title> |
| 311 |
|
| 312 |
<xi:include href="xml/tree_index.sgml"><xi:fallback /></xi:include> |
| 313 |
</chapter> |
| 314 |
|
| 315 |
<chapter id="clutterobjectindex"> |
| 316 |
<title>Object Index</title> |
| 317 |
|
| 318 |
<xi:include href="xml/object_index.sgml"><xi:fallback /></xi:include> |
| 319 |
</chapter> |
| 320 |
</part> |
| 321 |
|
| 322 |
<part id="clutterglossary"> |
| 323 |
<title>Glossaries</title> |
| 324 |
|
| 325 |
<xi:include href="xml/glossary.xml"><xi:fallback /></xi:include> |
| 326 |
<xi:include href="xml/annotation-glossary.xml"><xi:fallback /></xi:include> |
| 327 |
</part> |
| 328 |
|
| 329 |
<index> |
| 330 |
<title>Index of all symbols</title> |
| 331 |
<xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include> |
| 332 |
</index> |
| 333 |
|
| 334 |
<index role="deprecated"> |
| 335 |
<title>Index of deprecated symbols</title> |
| 336 |
<xi:include href="xml/api-index-deprecated.xml"><xi:fallback /></xi:include> |
| 337 |
</index> |
| 338 |
|
| 339 |
<index role="0.2"> |
| 340 |
<title>Index of new symbols in 0.2</title> |
| 341 |
<xi:include href="xml/api-index-0.2.xml"><xi:fallback /></xi:include> |
| 342 |
</index> |
| 343 |
|
| 344 |
<index role="0.4"> |
| 345 |
<title>Index of new symbols in 0.4</title> |
| 346 |
<xi:include href="xml/api-index-0.4.xml"><xi:fallback /></xi:include> |
| 347 |
</index> |
| 348 |
|
| 349 |
<index role="0.6"> |
| 350 |
<title>Index of new symbols in 0.6</title> |
| 351 |
<xi:include href="xml/api-index-0.6.xml"><xi:fallback /></xi:include> |
| 352 |
</index> |
| 353 |
|
| 354 |
<index role="0.8"> |
| 355 |
<title>Index of new symbols in 0.8</title> |
| 356 |
<xi:include href="xml/api-index-0.8.xml"><xi:fallback /></xi:include> |
| 357 |
</index> |
| 358 |
|
| 359 |
<index role="1.0"> |
| 360 |
<title>Index of new symbols in 1.0</title> |
| 361 |
<xi:include href="xml/api-index-1.0.xml"><xi:fallback /></xi:include> |
| 362 |
</index> |
| 363 |
|
| 364 |
<index role="1.2"> |
| 365 |
<title>Index of new symbols in 1.2</title> |
| 366 |
<xi:include href="xml/api-index-1.2.xml"><xi:fallback /></xi:include> |
| 367 |
</index> |
| 368 |
|
| 369 |
<index role="1.4"> |
| 370 |
<title>Index of new symbols in 1.4</title> |
| 371 |
<xi:include href="xml/api-index-1.4.xml"><xi:fallback /></xi:include> |
| 372 |
</index> |
| 373 |
|
| 374 |
<index role="1.6"> |
| 375 |
<title>Index of new symbols in 1.6</title> |
| 376 |
<xi:include href="xml/api-index-1.6.xml"><xi:fallback /></xi:include> |
| 377 |
</index> |
| 378 |
|
| 379 |
<index role="1.8"> |
| 380 |
<title>Index of new symbols in 1.8</title> |
| 381 |
<xi:include href="xml/api-index-1.8.xml"><xi:fallback /></xi:include> |
| 382 |
</index> |
| 383 |
|
| 384 |
<index role="1.10"> |
| 385 |
<title>Index of new symbols in 1.10</title> |
| 386 |
<xi:include href="xml/api-index-1.10.xml"><xi:fallback /></xi:include> |
| 387 |
</index> |
| 388 |
|
| 389 |
<index role="1.12"> |
| 390 |
<title>Index of new symbols in 1.12</title> |
| 391 |
<xi:include href="xml/api-index-1.12.xml"><xi:fallback /></xi:include> |
| 392 |
</index> |
| 393 |
|
| 394 |
<index role="1.14"> |
| 395 |
<title>Index of new symbols in 1.14</title> |
| 396 |
<xi:include href="xml/api-index-1.14.xml"><xi:fallback /></xi:include> |
| 397 |
</index> |
| 398 |
|
| 399 |
<index role="1.16"> |
| 400 |
<title>Index of new symbols in 1.16</title> |
| 401 |
<xi:include href="xml/api-index-1.16.xml"><xi:fallback /></xi:include> |
| 402 |
</index> |
| 403 |
|
| 404 |
<index role="1.18"> |
| 405 |
<title>Index of new symbols in 1.18</title> |
| 406 |
<xi:include href="xml/api-index-1.18.xml"><xi:fallback /></xi:include> |
| 407 |
</index> |
| 408 |
|
| 409 |
<index role="1.20"> |
| 410 |
<title>Index of new symbols in 1.20</title> |
| 411 |
<xi:include href="xml/api-index-1.20.xml"><xi:fallback /></xi:include> |
| 412 |
</index> |
| 413 |
|
| 414 |
<index role="1.22"> |
| 415 |
<title>Index of new symbols in 1.22</title> |
| 416 |
<xi:include href="xml/api-index-1.22.xml"><xi:fallback /></xi:include> |
| 417 |
</index> |
| 418 |
|
| 419 |
<index role="1.24"> |
| 420 |
<title>Index of new symbols in 1.24</title> |
| 421 |
<xi:include href="xml/api-index-1.24.xml"><xi:fallback /></xi:include> |
| 422 |
</index> |
| 423 |
|
| 424 |
<index role="1.26"> |
| 425 |
<title>Index of new symbols in 1.26</title> |
| 426 |
<xi:include href="xml/api-index-1.26.xml"><xi:fallback /></xi:include> |
| 427 |
</index> |
| 428 |
|
| 429 |
<appendix id="license"> |
| 430 |
<title>License</title> |
| 431 |
|
| 432 |
<para> |
| 433 |
This library is free software; you can redistribute it and/or |
| 434 |
modify it under the terms of the <citetitle>GNU Library General |
| 435 |
Public License</citetitle> as published by the Free Software |
| 436 |
Foundation; either version 2 of the License, or (at your option) |
| 437 |
any later version. |
| 438 |
</para> |
| 439 |
|
| 440 |
<para> |
| 441 |
This library is distributed in the hope that it will be useful, |
| 442 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 443 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 444 |
<citetitle>GNU Library General Public License</citetitle> for |
| 445 |
more details. |
| 446 |
</para> |
| 447 |
|
| 448 |
<para> |
| 449 |
You may obtain a copy of the <citetitle>GNU Library General |
| 450 |
Public License</citetitle> from the Free Software Foundation by |
| 451 |
visiting <ulink type="http" url="http://www.fsf.org">their Web |
| 452 |
site</ulink> or by writing to: |
| 453 |
|
| 454 |
<address> |
| 455 |
Free Software Foundation, Inc. |
| 456 |
<street>59 Temple Place</street> - Suite 330 |
| 457 |
<city>Boston</city>, <state>MA</state> <postcode>02111-1307</postcode> |
| 458 |
<country>USA</country> |
| 459 |
</address> |
| 460 |
</para> |
| 461 |
</appendix> |
| 462 |
|
| 463 |
</book> |