Constructor

GtkBuildernew_from_resource

since: 3.10

Declaration [src]

GtkBuilder*
gtk_builder_new_from_resource (
  const gchar* resource_path
)

Description [src]

Builds the [GtkBuilder UI definition][BUILDER-UI] at resource_path.

If there is an error locating the resource or parsing the description, then the program will be aborted.

Available since: 3.10

Parameters

resource_path

Type: const gchar*

A GResource resource path.

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

Return value

Type: GtkBuilder

A GtkBuilder containing the described interface.

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