Enums.registerStatic

Registers a new static enumeration type with the name name. It is normally more convenient to let glib-mkenums generate a my_enum_get_type() function from a usual C enumeration definition than to write one yourself using g_enum_register_static().

class Enums
static
registerStatic

Parameters

name string

A nul-terminated string used as the name of the new type.

Return Value

Type: GType

The new type identifier.

Meta