gimpconfig-register

gimpconfig-register

Functions

Description

Functions

gimp_config_type_register ()

GType
gimp_config_type_register (GType parent_type,
                           const gchar *type_name,
                           GParamSpec **pspecs,
                           gint n_pspecs);

This function is a fancy wrapper around g_type_register_static(). It creates a new object type as subclass of parent_type , installs pspecs on it and makes the new type implement the GimpConfig interface.

Parameters

parent_type

type from which this type will be derived

 

type_name

string used as the name of the new type

 

pspecs

array of GParamSpec to install as properties on the new type.

[array length=n_pspecs]

n_pspecs

the number of param specs in pspecs

 

Returns

the newly registered GType

Since: 3.0

Types and Values