Method

GtkBuildableadd_child

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 GtkBuilder
 

A GtkBuilder.

 The data is owned by the caller of the function.
child GObject
 

Child to add.

 The data is owned by the caller of the function.
type const gchar*
 

Kind of child or NULL.

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