Virtual Method
GtkBuildableconstruct_child
since: 2.12
Declaration [src]
GObject*
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-
Type:
GtkBuilderGtkBuilderused to construct this object.The data is owned by the caller of the method. name-
Type:
const gchar*Name of child to construct.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string.
Return value
Type: GObject
The constructed child.
| The caller of the method takes ownership of the returned data, and is responsible for freeing it. |