AgsParameter

AgsParameter — Complete GParameter

Synopsis

#include <ags/lib/ags_parameter.h>

GParameter *        ags_parameter_grow                  (GType type,
                                                         GParameter *params,
                                                         guint *n_params,
                                                         ...);

Description

Functions completing GParameter API.

Details

ags_parameter_grow ()

GParameter *        ags_parameter_grow                  (GType type,
                                                         GParameter *params,
                                                         guint *n_params,
                                                         ...);

Grow parameter array of object_type object. This function is mainly used to prepare a GParameter array to instantiate a new GObject by using g_object_newv().

object_type :

the GType of the object's properties

params :

the GParameter array

n_params :

location to store new size

... :

a NULL-terminated list of properties name and value

Returns :

the resized GParameter array

Since 0.3