Function
GObjecttype_register_dynamic
Declaration [src]
GType
g_type_register_dynamic (
GType parent_type,
const gchar* type_name,
GTypePlugin* plugin,
GTypeFlags flags
)
Description [src]
Registers type_name as the name of a new dynamic type derived from
parent_type. The type system uses the information contained in the
GTypePlugin structure pointed to by plugin to manage the type and its
instances (if not abstract). The value of flags determines the nature
(e.g. abstract or not) of the type.
Parameters
parent_type-
Type:
GTypeType from which this type will be derived.
type_name-
Type:
const gchar*0-terminated string used as the name of the new type.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. plugin-
Type:
GTypePluginGTypePluginstructure to retrieve theGTypeInfofrom.The data is owned by the caller of the function. flags-
Type:
GTypeFlagsBitwise combination of
GTypeFlagsvalues.