TypeScript API Documentation for GOBJECT
API Version: 2.0
Library Version: 2.86.4
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
This function is meant to be called from the complete_type_info function of a GObject.TypePlugin implementation, as in the following example:
complete_type_info
static voidmy_enum_complete_type_info (GTypePlugin *plugin, GType g_type, GTypeInfo *info, GTypeValueTable *value_table){ static const GEnumValue values[] = { { MY_ENUM_FOO, "MY_ENUM_FOO", "foo" }, { MY_ENUM_BAR, "MY_ENUM_BAR", "bar" }, { 0, NULL, NULL } }; g_enum_complete_type_info (type, info, values);} Copy
static voidmy_enum_complete_type_info (GTypePlugin *plugin, GType g_type, GTypeInfo *info, GTypeValueTable *value_table){ static const GEnumValue values[] = { { MY_ENUM_FOO, "MY_ENUM_FOO", "foo" }, { MY_ENUM_BAR, "MY_ENUM_BAR", "bar" }, { 0, NULL, NULL } }; g_enum_complete_type_info (type, info, values);}
the type identifier of the type being completed
An array of GObject.EnumValue structs for the possible enumeration values. The array is terminated by a struct with all members being 0.
This function is meant to be called from the
complete_type_infofunction of a GObject.TypePlugin implementation, as in the following example: