Lines Matching full:enum_class
382 * @enum_class: a #GEnumClass
391 g_enum_get_value_by_name (GEnumClass *enum_class,
394 g_return_val_if_fail (G_IS_ENUM_CLASS (enum_class), NULL);
397 if (enum_class->n_values)
401 for (enum_value = enum_class->values; enum_value->value_name; enum_value++)
440 * @enum_class: a #GEnumClass
449 g_enum_get_value_by_nick (GEnumClass *enum_class,
452 g_return_val_if_fail (G_IS_ENUM_CLASS (enum_class), NULL);
455 if (enum_class->n_values)
459 for (enum_value = enum_class->values; enum_value->value_name; enum_value++)
498 * @enum_class: a #GEnumClass
507 g_enum_get_value (GEnumClass *enum_class,
510 g_return_val_if_fail (G_IS_ENUM_CLASS (enum_class), NULL);
512 if (enum_class->n_values)
516 for (enum_value = enum_class->values; enum_value->value_name; enum_value++)