Method

TemplateScopeset_object

Declaration

void
tmpl_scope_set_object (
  TmplScope* self,
  const gchar* name,
  GObject* value
)

Description

Sets the value of the symbol named name to the object value.

Parameters

name

Type: const gchar*

A name for the symbol.

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

Type: GObject

A GObject or NULL.

The argument can be NULL.
The data is owned by the caller of the method.