Container
Object Hierarchy:
Description:
public interface Container :
Object
Base interface for container actors.
The add, remove and foreach virtual functions must be provided by any implementation; the other virtual
functions are optional.
All known implementing classes:
Content:
Static methods:
Methods:
- public void add (Actor[] actors)
Adds a list of
Actors to container.
- public abstract void add_actor (Actor actor)
Adds a Actor
to container.
- public void add_valist (Actor first_actor, va_list var_args)
Alternative va_list version of
add.
- public void child_get (Actor actor, ...)
Gets container 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 container,
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 container.
- public virtual void create_child_meta (Actor actor)
Creates the
ChildMeta wrapping actor inside the container
, if the ClutterContainerIface::child_meta_type class member is not set to
INVALID.
- public virtual void destroy_child_meta (Actor actor)
Destroys the
ChildMeta wrapping actor inside the container
, if any.
- public weak Actor find_child_by_name (string child_name)
Finds a child actor of a container by its name.
- public abstract void @foreach (Callback callback)
Calls callback for each child of container that
was added by the application (with add_actor).
- public virtual void foreach_with_internals (Callback callback)
Calls callback for each child of container,
including "internal" children built in to the container itself that were never added by the application.
- public virtual weak ChildMeta get_child_meta (Actor actor)
Retrieves the
ChildMeta which contains the data about the container
specific state for actor.
- public List<weak Actor> get_children ()
Retrieves all the children of container.
- 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
Actors from container.
- public abstract void remove_actor (Actor actor)
Removes actor from container.
- 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