Top | ![]() |
![]() |
![]() |
![]() |
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.
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 |
Since: 3.0