Method

GtkBuilderget_object

since: 2.12

Declaration [src]

GObject*
gtk_builder_get_object (
  GtkBuilder* builder,
  const gchar* name
)

Description [src]

Gets the object named name. Note that this function does not increment the reference count of the returned object.

Available since: 2.12

Parameters

name

Type: const gchar*

Name of object to get.

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

Return value

Type: GObject

The object named name or NULL if it could not be found in the object tree.

The returned data is owned by the instance.
The return value can be NULL.