Import line: | Clutter = imports.gi.Clutter; |
GIR File: | Clutter-1.0.gir |
C documentation: | ClutterContainer |
Interface : | Container |
Implementations: | Champlain.CustomMarker, Clutter.Box, Clutter.Group, Clutter.Stage |
None |
Method / Constructor | Defined By | |
---|---|---|
add_actor
(Actor actor)
:
none
Adds a ClutterActor to container.
Adds a ClutterActor to container. This function will emit the
"actor-added" signal. The actor should be parented to ClutterContainer.
|
Clutter.Container | |
Gets a container specific property of a child of container, In general,
a copy is made of the property contents and the caller is responsible for freeing the memory by calling g_value_unset().
Gets a container specific property of a child of container, In general,
a copy is made of the property contents and the caller is responsible for freeing the memory by calling g_value_unset(). Note that clutter_container_child_set_property() is really intended for language bindings, clutter_container_child_set() is much more convenient for C programming.
|
Clutter.Container | |
|
Clutter.Container | |
Sets a container-specific property on a child of container.
Sets a container-specific property on a child of container.
|
Clutter.Container | |
create_child_meta
(Actor actor)
:
none
Creates the ClutterChildMeta wrapping actor inside the
class member is not set to G_TYPE_INVALID.
Creates the ClutterChildMeta wrapping actor inside the
class member is not set to G_TYPE_INVALID. This function is only useful when adding a ClutterActor to a ClutterContainer implementation outside of the ClutterContainer::add() virtual function implementation. Applications should not call this function.
|
Clutter.Container | |
destroy_child_meta
(Actor actor)
:
none
Destroys the ClutterChildMeta wrapping actor inside the
This function is only useful when removing a ClutterActor to a ClutterContainer implementation outside of the ClutterContainer::add() virtual function implementation.
Destroys the ClutterChildMeta wrapping actor inside the
This function is only useful when removing a ClutterActor to a ClutterContainer implementation outside of the ClutterContainer::add() virtual function implementation. Applications should not call this function.
|
Clutter.Container | |
find_child_by_name
(String child_name)
:
Clutter.Actor
Finds a child actor of a container by its name.
Finds a child actor of a container by its name. Search recurses
into any child container. or NULL if no actor with that name was found.
|
Clutter.Container | |
Calls callback for each child of container that was added
by the application (with clutter_container_add_actor()).
Calls callback for each child of container that was added
by the application (with clutter_container_add_actor()). Does not iterate over "internal" children that are part of the container's own implementation, if any.
|
Clutter.Container | |
Calls callback for each child of container, including "internal"
children built in to the container itself that were never added by the application.
Calls callback for each child of container, including "internal"
children built in to the container itself that were never added by the application.
|
Clutter.Container | |
get_child_meta
(Actor actor)
:
Clutter.ChildMeta
Retrieves the ClutterChildMeta which contains the data about the
of container or NULL if the specifiec actor does not exist or the container is not configured to provide ClutterChildMetas
Retrieves the ClutterChildMeta which contains the data about the
of container or NULL if the specifiec actor does not exist or the container is not configured to provide ClutterChildMetas
|
Clutter.Container | |
get_children
()
:
Array
Retrieves all the children of container.
Retrieves all the children of container.
of ClutterActors. Use g_list_free() on the returned list when done.
|
Clutter.Container | |
Lowers actor to sibling level, in the depth ordering.
Lowers actor to sibling level, in the depth ordering.
|
Clutter.Container | |
Raises actor to sibling level, in the depth ordering.
Raises actor to sibling level, in the depth ordering.
|
Clutter.Container | |
remove_actor
(Actor actor)
:
none
Removes actor from container.
Removes actor from container. The actor should be unparented, so
if you want to keep it around you must hold a reference to it yourself, using g_object_ref(). When the actor has been removed, the "actor-removed" signal is emitted by container.
|
Clutter.Container | |
sort_depth_order
()
:
none
Sorts a container's children using their depth.
Sorts a container's children using their depth. This function should not
be normally used by applications.
|
Clutter.Container |
Event | Defined By | |
---|---|---|
The ::actor-added signal is emitted each time an actor
has been added to container.
The ::actor-added signal is emitted each time an actor
has been added to container.
|
Clutter.Container | |
The ::actor-removed signal is emitted each time an actor
is removed from container.
The ::actor-removed signal is emitted each time an actor
is removed from container.
|
Clutter.Container | |
The ::child-notify signal is emitted each time a property is
being set through the clutter_container_child_set() and clutter_container_child_set_property() calls.
The ::child-notify signal is emitted each time a property is
being set through the clutter_container_child_set() and clutter_container_child_set_property() calls.
|
Clutter.Container |
Class / Namespace | Method / Signal / Properties |
---|---|
Clutter.ChildMeta
Property |
container : Clutter.Container
The ClutterContainer that created this ClutterChildMeta.
|
Clutter.ChildMeta
Method |
get_container
()
:
Clutter.Container
Retrieves the container using data
|
Clutter.LayoutManager
Method |
Allocates the children of container given an area
See also clutter_actor_allocate() |
Clutter.LayoutManager
Method |
Gets a property on the ClutterLayoutMeta created by manager and
attached to a child of container The GValue must already be initialized to the type of the property and has to be unset with g_value_unset() after extracting the real value out of it |
Clutter.LayoutManager
Method |
Sets a property on the ClutterLayoutMeta created by manager and
attached to a child of container |
Clutter.LayoutManager
Method |
Retrieves the ClutterLayoutMeta that the layout manager associated
to the actor child of container, eventually by creating one if the ClutterLayoutManager supports layout properties does not have layout properties |
Clutter.LayoutManager
Method |
Computes the minimum and natural heights of the container according
to manager. |
Clutter.LayoutManager
Method |
Computes the minimum and natural widths of the container according
to manager. |
Clutter.LayoutManager
Method |
set_container
(Container container)
:
none
If the ClutterLayoutManager sub-class allows it, allow
adding a weak reference of the container using manager from within the layout manager The layout manager should not increase the reference count of the container |