1 
2 /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */
3 
4 #include "config.h"
5 #include "gtk.h"
6 #include "gtkprivate.h"
7 #include "gtkprivatetypebuiltins.h"
8 /* enumerations from "gtkcsstypesprivate.h" */
9 GType
_gtk_css_affects_get_type(void)10 _gtk_css_affects_get_type (void)
11 {
12   static volatile gsize g_define_type_id__volatile = 0;
13 
14   if (g_once_init_enter (&g_define_type_id__volatile))
15     {
16       static const GFlagsValue values[] = {
17         { GTK_CSS_AFFECTS_FOREGROUND, "GTK_CSS_AFFECTS_FOREGROUND", "foreground" },
18         { GTK_CSS_AFFECTS_BACKGROUND, "GTK_CSS_AFFECTS_BACKGROUND", "background" },
19         { GTK_CSS_AFFECTS_BORDER, "GTK_CSS_AFFECTS_BORDER", "border" },
20         { GTK_CSS_AFFECTS_FONT, "GTK_CSS_AFFECTS_FONT", "font" },
21         { GTK_CSS_AFFECTS_TEXT, "GTK_CSS_AFFECTS_TEXT", "text" },
22         { GTK_CSS_AFFECTS_TEXT_ATTRS, "GTK_CSS_AFFECTS_TEXT_ATTRS", "text-attrs" },
23         { GTK_CSS_AFFECTS_ICON, "GTK_CSS_AFFECTS_ICON", "icon" },
24         { GTK_CSS_AFFECTS_SYMBOLIC_ICON, "GTK_CSS_AFFECTS_SYMBOLIC_ICON", "symbolic-icon" },
25         { GTK_CSS_AFFECTS_OUTLINE, "GTK_CSS_AFFECTS_OUTLINE", "outline" },
26         { GTK_CSS_AFFECTS_CLIP, "GTK_CSS_AFFECTS_CLIP", "clip" },
27         { GTK_CSS_AFFECTS_SIZE, "GTK_CSS_AFFECTS_SIZE", "size" },
28         { 0, NULL, NULL }
29       };
30       GType g_define_type_id =
31         g_flags_register_static (g_intern_static_string ("GtkCssAffects"), values);
32       g_once_init_leave (&g_define_type_id__volatile, g_define_type_id);
33     }
34 
35   return g_define_type_id__volatile;
36 }
37 /* enumerations from "gtktexthandleprivate.h" */
38 GType
_gtk_text_handle_position_get_type(void)39 _gtk_text_handle_position_get_type (void)
40 {
41   static volatile gsize g_define_type_id__volatile = 0;
42 
43   if (g_once_init_enter (&g_define_type_id__volatile))
44     {
45       static const GEnumValue values[] = {
46         { GTK_TEXT_HANDLE_POSITION_CURSOR, "GTK_TEXT_HANDLE_POSITION_CURSOR", "cursor" },
47         { GTK_TEXT_HANDLE_POSITION_SELECTION_START, "GTK_TEXT_HANDLE_POSITION_SELECTION_START", "selection-start" },
48         { GTK_TEXT_HANDLE_POSITION_SELECTION_END, "GTK_TEXT_HANDLE_POSITION_SELECTION_END", "selection-end" },
49         { 0, NULL, NULL }
50       };
51       GType g_define_type_id =
52         g_enum_register_static (g_intern_static_string ("GtkTextHandlePosition"), values);
53       g_once_init_leave (&g_define_type_id__volatile, g_define_type_id);
54     }
55 
56   return g_define_type_id__volatile;
57 }
58 GType
_gtk_text_handle_mode_get_type(void)59 _gtk_text_handle_mode_get_type (void)
60 {
61   static volatile gsize g_define_type_id__volatile = 0;
62 
63   if (g_once_init_enter (&g_define_type_id__volatile))
64     {
65       static const GEnumValue values[] = {
66         { GTK_TEXT_HANDLE_MODE_NONE, "GTK_TEXT_HANDLE_MODE_NONE", "none" },
67         { GTK_TEXT_HANDLE_MODE_CURSOR, "GTK_TEXT_HANDLE_MODE_CURSOR", "cursor" },
68         { GTK_TEXT_HANDLE_MODE_SELECTION, "GTK_TEXT_HANDLE_MODE_SELECTION", "selection" },
69         { 0, NULL, NULL }
70       };
71       GType g_define_type_id =
72         g_enum_register_static (g_intern_static_string ("GtkTextHandleMode"), values);
73       g_once_init_leave (&g_define_type_id__volatile, g_define_type_id);
74     }
75 
76   return g_define_type_id__volatile;
77 }
78 
79 
80 /* Generated data ends here */
81 
82