Emitted by the container when a child is added with the add method. When this signal is emitted, both the container and child are passed to the callback. The add signal is only emitted when a child is added to the container using the add method. If a child is added using the box method pack_start() , the add signal will not be emitted.

Callback function

void callback(GtkContainer container, GtkWidget child);