void gtk_container_add ( GtkContainer* container, GtkWidget* widget )
container. Typically used for simple containers
GtkButton; for more complicated
layout containers such as
GtkGrid, this function will
pick default packing parameters that may not be correct. So
consider functions such as
gtk_grid_attach() as an alternative to
those cases. A widget may be added to only one container at a time;
you can’t place the same widget inside two different containers.
Note that some containers, such as
may add intermediate children between the added widget and the container.
A widget to be placed inside
|The data is owned by the caller of the function.|