Constructor

GtkBuildernew

since: 2.12

Declaration [src]

GtkBuilder*
gtk_builder_new (
  void
)

Description [src]

Creates a new empty builder object.

This function is only useful if you intend to make multiple calls to gtk_builder_add_from_file(), gtk_builder_add_from_resource() or gtk_builder_add_from_string() in order to merge multiple UI descriptions into a single builder.

Most users will probably want to use gtk_builder_new_from_file(), gtk_builder_new_from_resource() or gtk_builder_new_from_string().

Available since: 2.12

Return value

Type: GtkBuilder

A new (empty) GtkBuilder object.

The caller of the function takes ownership of the data, and is responsible for freeing it.