|
Data Structures |
struct | _GEnumClass |
struct | _GFlagsClass |
struct | _GEnumValue |
struct | _GFlagsValue |
Defines |
#define | G_TYPE_IS_ENUM(type) (G_TYPE_FUNDAMENTAL (type) == G_TYPE_ENUM) |
#define | G_ENUM_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), G_TYPE_ENUM, GEnumClass)) |
#define | G_IS_ENUM_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), G_TYPE_ENUM)) |
#define | G_ENUM_CLASS_TYPE(class) (G_TYPE_FROM_CLASS (class)) |
#define | G_ENUM_CLASS_TYPE_NAME(class) (g_type_name (G_ENUM_CLASS_TYPE (class))) |
#define | G_TYPE_IS_FLAGS(type) (G_TYPE_FUNDAMENTAL (type) == G_TYPE_FLAGS) |
#define | G_FLAGS_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), G_TYPE_FLAGS, GFlagsClass)) |
#define | G_IS_FLAGS_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), G_TYPE_FLAGS)) |
#define | G_FLAGS_CLASS_TYPE(class) (G_TYPE_FROM_CLASS (class)) |
#define | G_FLAGS_CLASS_TYPE_NAME(class) (g_type_name (G_FLAGS_CLASS_TYPE (class))) |
#define | G_VALUE_HOLDS_ENUM(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_ENUM)) |
#define | G_VALUE_HOLDS_FLAGS(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_FLAGS)) |
Typedefs |
typedef _GEnumClass | GEnumClass |
typedef _GFlagsClass | GFlagsClass |
typedef _GEnumValue | GEnumValue |
typedef _GFlagsValue | GFlagsValue |
Functions |
IMPORT_C GEnumValue * | g_enum_get_value (GEnumClass *enum_class, gint value) |
IMPORT_C GEnumValue * | g_enum_get_value_by_name (GEnumClass *enum_class, const gchar *name) |
IMPORT_C GEnumValue * | g_enum_get_value_by_nick (GEnumClass *enum_class, const gchar *nick) |
IMPORT_C GFlagsValue * | g_flags_get_first_value (GFlagsClass *flags_class, guint value) |
IMPORT_C GFlagsValue * | g_flags_get_value_by_name (GFlagsClass *flags_class, const gchar *name) |
IMPORT_C GFlagsValue * | g_flags_get_value_by_nick (GFlagsClass *flags_class, const gchar *nick) |
IMPORT_C void | g_value_set_enum (GValue *value, gint v_enum) |
IMPORT_C gint | g_value_get_enum (const GValue *value) |
IMPORT_C void | g_value_set_flags (GValue *value, guint v_flags) |
IMPORT_C guint | g_value_get_flags (const GValue *value) |
IMPORT_C GType | g_enum_register_static (const gchar *name, const GEnumValue *const_static_values) |
IMPORT_C GType | g_flags_register_static (const gchar *name, const GFlagsValue *const_static_values) |
IMPORT_C void | g_enum_complete_type_info (GType g_enum_type, GTypeInfo *info, const GEnumValue *const_values) |
IMPORT_C void | g_flags_complete_type_info (GType g_flags_type, GTypeInfo *info, const GFlagsValue *const_values) |