Flags.registerStatic

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

class Flags
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