Container
Object Hierarchy:
Description:
[ CCode ( type_id = "clutter_container_get_type ()" ) ]
[ Version ( since = "0.4" ) ]
public interface Container : Object
[ Version ( since = "0.4" ) ]
public interface Container : Object
Container is an opaque structure whose members cannot be directly accessed
All known implementing classes:
Namespace: Clutter
Package: clutter-1.0
Content:
Static methods:
- public static unowned ParamSpec class_find_child_property (ObjectClass klass, string property_name)
Looks up the ParamSpec for a child property of
klass
. - public static ParamSpec[] class_list_child_properties (ObjectClass klass)
Returns an array of ParamSpec for all child properties.
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)
Adds a Actor to this.
- 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)
- 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
tosibling
level, in the depth ordering. - public virtual void raise_child (Actor actor, Actor? sibling = null)
Raises
actor
tosibling
level, in the depth ordering. - public void remove (...)
Removes a
null
terminated list of Actors 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:
- public virtual signal void actor_added (Actor actor)
The actor_added signal is emitted each time an actor has been added to
container
. - public virtual signal void actor_removed (Actor actor)
The actor_removed signal is emitted each time an actor is removed from
container
. - public virtual signal void child_notify (Actor child, ParamSpec pspec)
The child_notify signal is emitted each time a property is being set through the child_set and child_set_property calls.
Inherited Members:
All known members inherited from class GLib.Object