Method
GtkContainerforeach
Declaration [src]
void
gtk_container_foreach (
GtkContainer* container,
GtkCallback callback,
gpointer callback_data
)
Description [src]
Invokes callback
on each non-internal child of container
.
See gtk_container_forall()
for details on what constitutes
an “internal” child. For all practical purposes, this function
should iterate over precisely those child widgets that were
added to the container by the application with explicit add()
calls.
It is permissible to remove the child from the callback
handler.
Most applications should use gtk_container_foreach(), rather than gtk_container_forall().
Parameters
callback
-
Type:
GtkCallback
A callback.
callback_data
-
Type:
gpointer
Callback user data.
The argument can be NULL
.The data is owned by the caller of the method.