Method

GtkBuilderget_object

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 const gchar*
 

Name of object to get.

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

Return value

Returns: GObject
 

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

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