2008-05-28 Emmanuele Bassi <ebassi@openedhand.com>

Bug 882 - Allow child properties for containers implementing the
	          ClutterContainer interface (Øyvind Kolås)

	* clutter/clutter-child-meta.[ch]: Base class for the metadata
	of a ClutterActor inside a ClutterContainer; the ChildMeta
	object implements a wrapper for storing data that is attached
	to a ClutterActor only when it's part of a ClutterContainer.
	The ChildMeta object is used to store the child properties
	accessible through the ClutterContainer API.

	* clutter/clutter-container.[ch]: Creates the ChildMeta for
	each actor, in case the Container specifies the ChildMeta
	type to use.

	* clutter/Makefile.am: Add clutter-child-meta.[ch] to the build.

	* clutter/clutter-marshal.list: Add the marshaller for the
	ClutterContainer::child-notify signal.

	* clutter/clutter-types.h: Declare ClutterContainer and
	ClutterChildMeta to avoid recursive inclusion.
This commit is contained in:
Emmanuele Bassi
2008-05-28 13:48:11 +00:00
parent 717d9768ed
commit a0747e8c2d
10 changed files with 1016 additions and 50 deletions

View File

@ -327,6 +327,7 @@
<title>Abstract classes and interfaces</title>
<xi:include href="xml/clutter-actor.xml"/>
<xi:include href="xml/clutter-container.xml"/>
<xi:include href="xml/clutter-child-data.xml"/>
<xi:include href="xml/clutter-media.xml"/>
</chapter>

View File

@ -247,10 +247,24 @@ clutter_container_remove
clutter_container_remove_valist
clutter_container_get_children
clutter_container_foreach
<SUBSECTION>
clutter_container_find_child_by_name
clutter_container_raise_child
clutter_container_lower_child
clutter_container_sort_depth_order
<SUBSECTION>
clutter_container_find_child_property
clutter_container_list_child_properties
clutter_container_child_set_property
clutter_container_child_get_property
clutter_container_child_set
clutter_container_child_get
<SUBSECTION>
clutter_container_get_child_data
<SUBSECTION Standard>
CLUTTER_TYPE_CONTAINER
CLUTTER_CONTAINER
@ -260,6 +274,24 @@ CLUTTER_CONTAINER_GET_IFACE
clutter_container_get_type
</SECTION>
<SECTION>
<FILE>clutter-child-data</FILE>
<TITLE>ClutterChildData<TITLE>
ClutterChildData
ClutterChildDataClass
clutter_child_data_get_container
clutter_child_data_get_actor
<SUBSECTION Standard>
CLUTTER_TYPE_CHILD_DATA
CLUTTER_CHILD_DATA
CLUTTER_IS_CHILD_DATA
CLUTTER_CHILD_DATA_CLASS
CLUTTER_IS_CHILD_DATA_CLASS
CLUTTER_CHILD_DATA_GET_CLASS
<SUBSECTION Private>
clutter_child_data_get_type
</SECTION>
<SECTION>
<FILE>clutter-rectangle</FILE>
<TITLE>ClutterRectangle</TITLE>