AgsParameter

AgsParameter — Complete GParameter

Functions

Includes

#include <ags/lib/ags_parameter.h>

Description

Functions completing GParameter API.

Functions

ags_parameter_grow ()

GParameter *
ags_parameter_grow (GType object_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().

Parameters

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

Types and Values