Method

GtkBuildableadd_child

since: 2.12

Declaration [src]

void
gtk_buildable_add_child (
  GtkBuildable* buildable,
  GtkBuilder* builder,
  GObject* child,
  const gchar* type
)

Description [src]

Adds a child to buildable. type is an optional string describing how the child should be added.

Available since: 2.12

Parameters

builder

Type: GtkBuilder

A GtkBuilder.

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

Type: GObject

Child to add.

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

Type: const gchar*

Kind of child or NULL.

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