Container
Object Hierarchy:
Description:
[
CCode ( type_id =
"clutter_container_get_type ()" ) ]
[
Version ( since =
"0.4" ) ]
public interface Container :
Object
Container is an opaque structure whose members cannot be directly accessed
All known implementing classes:
Content:
Static methods:
Methods:
- public abstract void @foreach (Callback callback)
Calls callback for each child of
this that was added by the application (with
add_actor).
- public void add (Actor[] actors)
Adds a list of Actor
<!-- -->s to this.
- public abstract void add_actor (Actor actor)
- public void add_valist (Actor first_actor, va_list var_args)
Alternative va_list version of
add.
- public void child_get (Actor actor, ...)
Gets this specific properties of an
actor.
- public void child_get_property (Actor child, string property, Value value)
Gets a container specific property of a child of
this, In general, a copy is made of the property contents and the caller is responsible for freeing
the memory by calling unset.
- public void child_set (Actor actor, ...)
Sets container specific properties on the child of a container.
- public void child_set_property (Actor child, string property, Value value)
Sets a container-specific property on a child of
this.
- public virtual void create_child_meta (Actor actor)
Creates the
ChildMeta wrapping actor inside the this, if the
ClutterContainerIface::child_meta_type class member is not set to g_type_invalid.
- public virtual void destroy_child_meta (Actor actor)
Destroys the
ChildMeta wrapping actor inside the this, if any.
- public unowned Actor find_child_by_name (string child_name)
Finds a child actor of a container by its name.
- public class unowned ParamSpec find_child_property (string property_name)
- public virtual void foreach_with_internals (Callback callback)
Calls callback for each child of
this, including "internal" children built in to the container itself that were never added by the
application.
- public virtual unowned ChildMeta get_child_meta (Actor actor)
Retrieves the
ChildMeta which contains the data about the this specific state for actor.
- public List<unowned Actor> get_children ()
Retrieves all the children of this.
- public class unowned ParamSpec[] list_child_properties ()
- public virtual void lower_child (Actor actor, Actor? sibling = null)
Lowers actor to sibling level, in the depth
ordering.
- public virtual void raise_child (Actor actor, Actor? sibling = null)
Raises actor to sibling level, in the depth
ordering.
- public void remove (...)
Removes a null terminated list of
Actor<!-- -->s from this.
- public abstract void remove_actor (Actor actor)
Removes actor from this
.
- public void remove_valist (Actor first_actor, va_list var_args)
Alternative va_list version of
remove.
- public abstract void sort_depth_order ()
Sorts a container's children using their depth.
Signals:
Inherited Members:
All known members inherited from class GLib.Object