Method
GObjectObjectgetv
since: 2.54
Declaration
void
g_object_getv (
GObject* object,
guint n_properties,
const gchar** names,
GValue* values
)
Description
Gets n_properties properties for an object.
Obtained properties will be set to values. All properties must be valid.
Warnings will be emitted and undefined behaviour may result if invalid
properties are passed in.
Available since: 2.54
Parameters
n_properties-
Type:
guintThe number of properties.
names-
Type: An array of
gchar*The names of each property to get.
The length of the array is specified in the n_propertiesargument.The data is owned by the caller of the method. Each element is a NUL terminated UTF-8 string. values-
Type: An array of
GValueThe values of each property to get.
The length of the array is specified in the n_propertiesargument.The data is owned by the caller of the method.