g_type_register_static_simple (
  GType parent_type,
  const gchar* type_name,
  guint class_size,
  GClassInitFunc class_init,
  guint instance_size,
  GInstanceInitFunc instance_init,
  GTypeFlags flags


Registers type_name as the name of a new static type derived from parent_type. The value of flags determines the nature (e.g. abstract or not) of the type. It works by filling a GTypeInfo struct and calling g_type_register_static().

Available since:2.12
This function is not directly available to language bindings


parent_type GType

Type from which this type will be derived.

type_name 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.
class_size guint

Size of the class structure (see GTypeInfo)

class_init GClassInitFunc

Location of the class initialization function (see GTypeInfo)

instance_size guint

Size of the instance structure (see GTypeInfo)

instance_init GInstanceInitFunc

Location of the instance initialization function (see GTypeInfo)

flags GTypeFlags

Bitwise combination of GTypeFlags values.

Return value

Returns: GType

The new type identifier.