Method

GtkContaineradd_with_properties

Declaration [src]

void
gtk_container_add_with_properties (
  GtkContainer* container,
  GtkWidget* widget,
  const gchar* first_prop_name,
  ...
)

Description [src]

Adds widget to container, setting child properties at the same time. See gtk_container_add() and gtk_container_child_set() for more details.

This method is not directly available to language bindings.

Parameters

widget

Type: GtkWidget

A widget to be placed inside container.

The data is owned by the caller of the method.
first_prop_name

Type: const gchar*

The name of the first child property to set.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
...

Type: 

A NULL-terminated list of property names and values, starting with first_prop_name.