Module: Clutter::Container
- Defined in:
- (unknown)
Overview
Clutter::Container is an opaque structure whose members cannot be directly
accessed
Instance Method Summary collapse
- #actor_added(container, actor) ⇒ nil
- #actor_removed(container, actor) ⇒ nil
- #add(container, actor) ⇒ nil
-
#add_actor(actor) ⇒ nil
Adds a Clutter::Actor to container.
-
#add_valist(first_actor, var_args) ⇒ nil
Alternative va_list version of clutter_container_add().
-
#child_get(actor, first_prop, array) ⇒ nil
Gets container specific properties of an actor.
-
#child_get_property(child, property, value) ⇒ nil
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().
- #child_notify(container, child, pspec) ⇒ nil
-
#child_set(actor, first_prop, array) ⇒ nil
Sets container specific properties on the child of a container.
-
#child_set_property(child, property, value) ⇒ nil
Sets a container-specific property on a child of container.
-
#children ⇒ GLib::List<Clutter::Actor>
Retrieves all the children of container.
- #create_child_meta(container, actor) ⇒ nil
- #destroy_child_meta(container, actor) ⇒ nil
-
#find_child_by_name(child_name) ⇒ Clutter::Actor
Finds a child actor of a container by its name.
- #foreach(container, callback, user_data) ⇒ nil
- #foreach_with_internals(container, callback, user_data) ⇒ nil
-
#get_child_meta(container, actor) ⇒ Clutter::ChildMeta
The Clutter::ChildMeta for the actor child of container or nil if the specifiec actor does not exist or the container is not configured to provide Clutter::ChildMetas.
- #lower(container, actor, sibling) ⇒ nil
-
#lower_child(actor, sibling) ⇒ nil
Lowers actor to sibling level, in the depth ordering.
- #raise(container, actor, sibling) ⇒ nil
-
#raise_child(actor, sibling) ⇒ nil
Raises actor to sibling level, in the depth ordering.
- #remove(container, actor) ⇒ nil
-
#remove_actor(actor) ⇒ nil
Removes actor from container.
-
#remove_valist(first_actor, var_args) ⇒ nil
Alternative va_list version of clutter_container_remove().
- #sort_depth_order(container) ⇒ nil
Instance Method Details
#actor_added(container, actor) ⇒ nil
#actor_removed(container, actor) ⇒ nil
#add(container, actor) ⇒ nil
#add_actor(actor) ⇒ nil
Adds a Clutter::Actor to container. This function will emit the
"actor-added" signal. The actor should be parented to
container. You cannot add a Clutter::Actor to more than one
Clutter::Container.
This function will call Clutter::ContainerIface.add(), which is a
deprecated virtual function. The default implementation will
call clutter_actor_add_child().
#add_valist(first_actor, var_args) ⇒ nil
Alternative va_list version of clutter_container_add().
This function will call Clutter::ContainerIface.add(), which is a
deprecated virtual function. The default implementation will
call clutter_actor_add_child().
#child_get(actor, first_prop, array) ⇒ nil
Gets container specific properties of an actor.
In general, a copy is made of the property contents and the caller is
responsible for freeing the memory in the appropriate manner for the type, for
instance by calling g_free() or g_object_unref().
pairs terminated with NULL.
#child_get_property(child, property, value) ⇒ nil
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.
#child_notify(container, child, pspec) ⇒ nil
#child_set(actor, first_prop, array) ⇒ nil
Sets container specific properties on the child of a container.
pairs terminated with NULL.
#child_set_property(child, property, value) ⇒ nil
Sets a container-specific property on a child of container.
#children ⇒ GLib::List<Clutter::Actor>
Retrieves all the children of container.
#create_child_meta(container, actor) ⇒ nil
#destroy_child_meta(container, actor) ⇒ nil
#find_child_by_name(child_name) ⇒ Clutter::Actor
Finds a child actor of a container by its name. Search recurses
into any child container.
#foreach(container, callback, user_data) ⇒ nil
#foreach_with_internals(container, callback, user_data) ⇒ nil
#get_child_meta(container, actor) ⇒ Clutter::ChildMeta
Returns the Clutter::ChildMeta for the actor child
of container or nil if the specifiec actor does not exist or the
container is not configured to provide Clutter::ChildMetas.
#lower(container, actor, sibling) ⇒ nil
#lower_child(actor, sibling) ⇒ nil
Lowers actor to sibling level, in the depth ordering.
This function calls the Clutter::ContainerIface.lower() virtual function,
which has been deprecated. The default implementation will call
clutter_actor_set_child_below_sibling().
#raise(container, actor, sibling) ⇒ nil
#raise_child(actor, sibling) ⇒ nil
Raises actor to sibling level, in the depth ordering.
This function calls the Clutter::ContainerIface.raise() virtual function,
which has been deprecated. The default implementation will call
clutter_actor_set_child_above_sibling().
#remove(container, actor) ⇒ nil
#remove_actor(actor) ⇒ nil
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.
This function will call Clutter::ContainerIface.remove(), which is a
deprecated virtual function. The default implementation will call
clutter_actor_remove_child().
#remove_valist(first_actor, var_args) ⇒ nil
Alternative va_list version of clutter_container_remove().
This function will call Clutter::ContainerIface.remove(), which is a
deprecated virtual function. The default implementation will call
clutter_actor_remove_child().