2006-06-21 18:34:25 -04:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
|
|
|
|
<!ENTITY version SYSTEM "version.xml">
|
2007-06-16 16:56:40 -04:00
|
|
|
<!ENTITY clutter-SubclassingActor SYSTEM "xml/subclassing-ClutterActor.sgml">
|
2007-07-26 10:00:20 -04:00
|
|
|
<!ENTITY clutter-animation SYSTEM "xml/clutter-animation.sgml">
|
2008-02-13 11:46:07 -05:00
|
|
|
<!ENTITY creating-your-own-behaviours SYSTEM "xml/creating-your-own-behaviours.sgml">
|
2006-06-21 18:34:25 -04:00
|
|
|
]>
|
|
|
|
|
|
|
|
<book id="index" xmlns:xi="http://www.w3.org/2003/XInclude">
|
|
|
|
<bookinfo>
|
|
|
|
<title>Clutter &version; Reference Manual</title>
|
2006-06-22 05:06:24 -04:00
|
|
|
<releaseinfo>Version &version;</releaseinfo>
|
|
|
|
|
|
|
|
<copyright>
|
2007-07-26 10:00:20 -04:00
|
|
|
<year>2007</year>
|
2006-06-22 05:06:24 -04:00
|
|
|
<holder>OpenedHand LTD</holder>
|
|
|
|
</copyright>
|
|
|
|
|
|
|
|
<legalnotice>
|
|
|
|
<para>
|
|
|
|
Permission is granted to copy, distribute and/or modify this
|
|
|
|
document under the terms of the <citetitle>GNU Free
|
|
|
|
Documentation License</citetitle>, Version 1.1 or any later
|
|
|
|
version published by the Free Software Foundation with no
|
|
|
|
Invariant Sections, no Front-Cover Texts, and no Back-Cover
|
|
|
|
Texts. You may obtain a copy of the <citetitle>GNU Free
|
|
|
|
Documentation License</citetitle> from the Free Software
|
|
|
|
Foundation by visiting <ulink type="http"
|
|
|
|
url="http://www.fsf.org">their Web site</ulink> or by writing
|
|
|
|
to:
|
|
|
|
|
|
|
|
<address>
|
|
|
|
The Free Software Foundation, Inc.,
|
|
|
|
<street>59 Temple Place</street> - Suite 330,
|
|
|
|
<city>Boston</city>, <state>MA</state> <postcode>02111-1307</postcode>,
|
|
|
|
<country>USA</country>
|
|
|
|
</address>
|
|
|
|
</para>
|
|
|
|
</legalnotice>
|
2006-06-21 18:34:25 -04:00
|
|
|
</bookinfo>
|
|
|
|
|
2007-06-14 11:29:52 -04:00
|
|
|
<part id="clutter">
|
2006-06-21 18:34:25 -04:00
|
|
|
<title>Clutter Overview</title>
|
2007-06-14 11:29:52 -04:00
|
|
|
|
|
|
|
<partintro>
|
|
|
|
|
2006-06-21 18:34:25 -04:00
|
|
|
<para>
|
2006-06-22 04:40:37 -04:00
|
|
|
|
|
|
|
Clutter is a GObject based library for creating fast, visually
|
2007-01-18 06:11:18 -05:00
|
|
|
rich graphical user interfaces.
|
2006-06-22 04:40:37 -04:00
|
|
|
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
|
2007-01-18 06:11:18 -05:00
|
|
|
Clutter semantics work by having a stage (a window) and then
|
|
|
|
adding actors (widgets) to the stage and manipulating via the
|
|
|
|
actor api. Actors can contain child actors (ClutterGroup for
|
|
|
|
example) and be manipulated as a whole.
|
2006-06-22 04:40:37 -04:00
|
|
|
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
|
2007-01-18 06:11:18 -05:00
|
|
|
Animations and visual effects can be created via the use of
|
|
|
|
timelines and behaviours. Timelines provide accurate frame based
|
|
|
|
animations. Behaviours further extend this by taking a timeline, a
|
|
|
|
control function (ClutterAlpha) and then applying to actors as to
|
|
|
|
modify a property as a function of time.
|
2006-06-22 04:40:37 -04:00
|
|
|
|
2006-06-21 18:34:25 -04:00
|
|
|
</para>
|
2007-06-14 11:29:52 -04:00
|
|
|
|
2008-02-08 09:50:33 -05:00
|
|
|
<para>
|
|
|
|
|
|
|
|
Clutter depends on the following libraries:
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
|
|
|
<term>GLib</term>
|
|
|
|
<listitem>
|
|
|
|
<para>A general-purpose utility library, not specific to
|
|
|
|
graphical user interfaces. GLib provides many useful data
|
|
|
|
types, macros, type conversions, string utilities, file
|
|
|
|
utilities, a main loop abstraction, and so on.</para>
|
|
|
|
</listitem>
|
|
|
|
<term>GObject</term>
|
|
|
|
<listitem>
|
|
|
|
<para>The GLib Object System provides the required
|
|
|
|
implementations of a flexible, extensible and intentionally
|
|
|
|
easy to map (into other languages) object-oriented framework
|
|
|
|
for C.</para>
|
|
|
|
</listitem>
|
|
|
|
<term>Pango</term>
|
|
|
|
<listitem>
|
|
|
|
<para>Pango is a library for laying out and rendering of
|
|
|
|
text, with an emphasis on internationalization.</para>
|
|
|
|
</listitem>
|
|
|
|
<term>GDK-Pixbuf</term>
|
|
|
|
<listitem>
|
|
|
|
<para>GDK-Pixbuf is a library for loading and manipulating
|
|
|
|
various image file formats.</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2007-06-14 11:29:52 -04:00
|
|
|
</partintro>
|
|
|
|
</part>
|
|
|
|
|
2008-02-13 11:46:07 -05:00
|
|
|
<part id="clutterbuilding">
|
|
|
|
<title>Building Clutter</title>
|
|
|
|
|
|
|
|
<partintro>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
FIXME: Linux, Windows, OSX. Embedded?
|
|
|
|
</para>
|
|
|
|
|
|
|
|
</partintro>
|
|
|
|
</part>
|
|
|
|
|
|
|
|
|
2007-06-14 11:29:52 -04:00
|
|
|
<part id="clutterbase">
|
|
|
|
<title>Clutter Core Reference</title>
|
|
|
|
|
|
|
|
<chapter>
|
2007-11-23 12:25:50 -05:00
|
|
|
<title>Abstract classes and interfaces</title>
|
2007-06-14 11:29:52 -04:00
|
|
|
<xi:include href="xml/clutter-actor.xml"/>
|
|
|
|
<xi:include href="xml/clutter-container.xml"/>
|
|
|
|
<xi:include href="xml/clutter-media.xml"/>
|
|
|
|
</chapter>
|
|
|
|
|
|
|
|
<chapter>
|
2007-11-23 12:25:50 -05:00
|
|
|
<title>Base actors</title>
|
2007-06-14 11:29:52 -04:00
|
|
|
<xi:include href="xml/clutter-stage.xml"/>
|
|
|
|
<xi:include href="xml/clutter-rectangle.xml"/>
|
|
|
|
<xi:include href="xml/clutter-texture.xml"/>
|
|
|
|
<xi:include href="xml/clutter-clone-texture.xml"/>
|
|
|
|
<xi:include href="xml/clutter-label.xml"/>
|
|
|
|
<xi:include href="xml/clutter-entry.xml"/>
|
|
|
|
</chapter>
|
|
|
|
|
|
|
|
<chapter>
|
2007-11-23 12:25:50 -05:00
|
|
|
<title>Container actors</title>
|
2007-06-16 16:56:40 -04:00
|
|
|
|
2007-06-14 11:29:52 -04:00
|
|
|
<xi:include href="xml/clutter-group.xml"/>
|
|
|
|
</chapter>
|
|
|
|
|
|
|
|
</part>
|
|
|
|
|
|
|
|
<part id="clutteranimation">
|
|
|
|
<title>Clutter Animation Support</title>
|
2007-07-26 10:00:20 -04:00
|
|
|
|
2007-06-14 11:29:52 -04:00
|
|
|
<chapter>
|
2007-11-23 12:25:50 -05:00
|
|
|
<title>Base classes</title>
|
2007-06-16 16:56:40 -04:00
|
|
|
|
2007-06-14 11:29:52 -04:00
|
|
|
<xi:include href="xml/clutter-timeline.xml"/>
|
2007-12-04 11:26:19 -05:00
|
|
|
<xi:include href="xml/clutter-score.xml"/>
|
2007-06-14 11:29:52 -04:00
|
|
|
<xi:include href="xml/clutter-alpha.xml"/>
|
|
|
|
<xi:include href="xml/clutter-behaviour.xml"/>
|
|
|
|
</chapter>
|
|
|
|
|
|
|
|
<chapter>
|
2007-11-23 12:25:50 -05:00
|
|
|
<title>Behaviours</title>
|
2007-06-16 16:56:40 -04:00
|
|
|
|
2007-06-14 11:29:52 -04:00
|
|
|
<xi:include href="xml/clutter-behaviour-bspline.xml"/>
|
2007-07-09 17:38:54 -04:00
|
|
|
<xi:include href="xml/clutter-behaviour-depth.xml"/>
|
2007-06-14 11:29:52 -04:00
|
|
|
<xi:include href="xml/clutter-behaviour-ellipse.xml"/>
|
|
|
|
<xi:include href="xml/clutter-behaviour-opacity.xml"/>
|
|
|
|
<xi:include href="xml/clutter-behaviour-path.xml"/>
|
|
|
|
<xi:include href="xml/clutter-behaviour-rotate.xml"/>
|
|
|
|
<xi:include href="xml/clutter-behaviour-scale.xml"/>
|
|
|
|
</chapter>
|
|
|
|
|
|
|
|
<chapter>
|
2007-11-23 12:25:50 -05:00
|
|
|
<title>Simple effects API</title>
|
2007-06-16 16:56:40 -04:00
|
|
|
|
2007-07-04 07:16:04 -04:00
|
|
|
<xi:include href="xml/clutter-effect.xml"/>
|
2007-06-14 11:29:52 -04:00
|
|
|
</chapter>
|
|
|
|
|
|
|
|
</part>
|
|
|
|
|
|
|
|
<part>
|
2006-06-21 18:34:25 -04:00
|
|
|
<title>Clutter Tools</title>
|
2007-06-14 11:29:52 -04:00
|
|
|
|
2007-10-25 10:46:59 -04:00
|
|
|
<chapter>
|
2007-11-23 12:25:50 -05:00
|
|
|
<title>General purpose API</title>
|
2007-10-25 10:46:59 -04:00
|
|
|
|
|
|
|
<xi:include href="xml/clutter-color.xml"/>
|
2007-11-23 12:25:50 -05:00
|
|
|
<xi:include href="xml/clutter-event.xml"/>
|
2007-10-25 10:46:59 -04:00
|
|
|
<xi:include href="xml/clutter-fixed.xml"/>
|
2007-11-23 12:25:50 -05:00
|
|
|
<xi:include href="xml/clutter-main.xml"/>
|
2007-12-10 06:03:24 -05:00
|
|
|
<xi:include href="xml/clutter-shader.xml"/>
|
2007-10-25 10:46:59 -04:00
|
|
|
<xi:include href="xml/clutter-units.xml"/>
|
2007-11-23 12:25:50 -05:00
|
|
|
<xi:include href="xml/clutter-util.xml"/>
|
|
|
|
<xi:include href="xml/clutter-version.xml"/>
|
2007-10-25 10:46:59 -04:00
|
|
|
</chapter>
|
|
|
|
|
|
|
|
<chapter>
|
2007-11-23 12:25:50 -05:00
|
|
|
<title>User interface definition</title>
|
2007-10-25 10:46:59 -04:00
|
|
|
|
|
|
|
<xi:include href="xml/clutter-script.xml"/>
|
|
|
|
<xi:include href="xml/clutter-scriptable.xml"/>
|
|
|
|
</chapter>
|
2007-11-23 12:25:50 -05:00
|
|
|
|
|
|
|
<chapter>
|
|
|
|
<title>Generic list model</title>
|
|
|
|
|
|
|
|
<xi:include href="xml/clutter-model.xml"/>
|
|
|
|
<xi:include href="xml/clutter-model-iter.xml"/>
|
2008-01-09 09:34:24 -05:00
|
|
|
<xi:include href="xml/clutter-list-model.xml"/>
|
2007-11-23 12:25:50 -05:00
|
|
|
</chapter>
|
2007-06-14 11:29:52 -04:00
|
|
|
</part>
|
|
|
|
|
|
|
|
<part>
|
2007-03-22 16:31:53 -04:00
|
|
|
<title>Clutter Backends</title>
|
2007-06-16 16:56:40 -04:00
|
|
|
|
|
|
|
<partintro>
|
|
|
|
<para>Clutter is usually compiled against a specific drawing backend.
|
|
|
|
All backends have a common API for querying the underlying platform,
|
|
|
|
and some of them might have specific API exposed by Clutter.</para>
|
|
|
|
</partintro>
|
2007-06-14 11:29:52 -04:00
|
|
|
|
2007-03-22 16:31:53 -04:00
|
|
|
<xi:include href="xml/clutter-backend.xml"/>
|
2007-11-15 12:35:47 -05:00
|
|
|
<xi:include href="xml/clutter-x11.xml"/>
|
2006-06-22 04:40:37 -04:00
|
|
|
|
2007-06-14 11:29:52 -04:00
|
|
|
</part>
|
|
|
|
|
2007-06-16 16:56:40 -04:00
|
|
|
<part>
|
|
|
|
<title>Additional Documentation</title>
|
|
|
|
|
|
|
|
<partintro>
|
|
|
|
<para>This section contains additional useful documentation for
|
|
|
|
developing with Clutter.</para>
|
|
|
|
</partintro>
|
|
|
|
|
|
|
|
&clutter-SubclassingActor;
|
|
|
|
|
2007-07-26 10:00:20 -04:00
|
|
|
&clutter-animation;
|
|
|
|
|
2008-02-13 11:46:07 -05:00
|
|
|
&creating-your-own-behaviours;
|
|
|
|
|
2007-06-16 16:56:40 -04:00
|
|
|
</part>
|
|
|
|
|
2007-06-14 11:29:52 -04:00
|
|
|
<index>
|
|
|
|
<title>Index</title>
|
|
|
|
</index>
|
2007-08-04 05:52:51 -04:00
|
|
|
<index role="deprecated">
|
|
|
|
<title>Index of deprecated symbols</title>
|
|
|
|
</index>
|
|
|
|
<index role="0.2">
|
|
|
|
<title>Index of new symbols in 0.2</title>
|
|
|
|
</index>
|
|
|
|
<index role="0.4">
|
|
|
|
<title>Index of new symbols in 0.4</title>
|
|
|
|
</index>
|
2007-08-13 13:01:35 -04:00
|
|
|
<index role="0.6">
|
|
|
|
<title>Index of new symbols in 0.6</title>
|
|
|
|
</index>
|
2007-01-18 03:53:50 -05:00
|
|
|
|
2006-06-22 04:40:37 -04:00
|
|
|
<appendix id="license">
|
|
|
|
<title>License</title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
This library is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the <citetitle>GNU Library General
|
|
|
|
Public License</citetitle> as published by the Free Software
|
|
|
|
Foundation; either version 2 of the License, or (at your option)
|
|
|
|
any later version.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
This library is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
<citetitle>GNU Library General Public License</citetitle> for
|
|
|
|
more details.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
You may obtain a copy of the <citetitle>GNU Library General
|
|
|
|
Public License</citetitle> from the Free Software Foundation by
|
|
|
|
visiting <ulink type="http" url="http://www.fsf.org">their Web
|
|
|
|
site</ulink> or by writing to:
|
|
|
|
|
|
|
|
<address>
|
|
|
|
Free Software Foundation, Inc.
|
|
|
|
<street>59 Temple Place</street> - Suite 330
|
|
|
|
<city>Boston</city>, <state>MA</state> <postcode>02111-1307</postcode>
|
|
|
|
<country>USA</country>
|
|
|
|
</address>
|
|
|
|
</para>
|
|
|
|
</appendix>
|
|
|
|
|
2006-06-21 18:34:25 -04:00
|
|
|
</book>
|