@foreach


Description:

[ Version ( deprecated = true , deprecated_since = "1.10" , since = "0.4" ) ]
public abstract void @foreach (Callback callback)

Warning: @foreach is deprecated since 1.10.

Calls callback for each child of this that was added by the application (with add_actor).

Note:

Use get_first_child or get_last_child to retrieve the beginning of the list of children, and get_next_sibling and get_previous_sibling to iterate over it; alternatively, use the ActorIter API.

Does not iterate over "internal" children that are part of the container's own implementation, if any.

This function calls the ClutterContainerIface.foreach virtual function, which has been deprecated.

Parameters:

this

a Container

callback

a function to be called for each child

user_data

data to be passed to the function, or null