Method
GtkBuildableconstruct_child
Declaration [src]
GObject*
gtk_buildable_construct_child (
GtkBuildable* buildable,
GtkBuilder* builder,
const gchar* name
)
Description [src]
Constructs a child of buildable
with the name name
.
GtkBuilder
calls this function if a “constructor” has been
specified in the UI definition.
Available since: | 2.12 |
Parameters
builder |
GtkBuilder |
|
|
The data is owned by the caller of the function. | |
name |
const gchar* |
Name of child to construct. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. |
Return value
Returns: | GObject |
The constructed child. |
|
The caller of the method takes ownership of the data, and is responsible for freeing it. |