Removed the unused cursor field in the structure.

1998-12-07  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gtk/gtkpaned.h (struct _GtkPaned): Removed the unused cursor
	field in the structure.
This commit is contained in:
Federico Mena Quintero 1998-12-07 15:53:21 +00:00 committed by Arturo Espinosa
parent 337bdee253
commit 139e3cd47d
9 changed files with 153 additions and 114 deletions

View File

@ -1,3 +1,8 @@
1998-12-07 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtkpaned.h (struct _GtkPaned): Removed the unused cursor
field in the structure.
Mon Dec 7 15:15:06 GMT 1998 Tony Gale <gale@gtk.org>
* docs/gtk_tut.sgml: Start mass update for GTK 1.1

View File

@ -1,3 +1,8 @@
1998-12-07 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtkpaned.h (struct _GtkPaned): Removed the unused cursor
field in the structure.
Mon Dec 7 15:15:06 GMT 1998 Tony Gale <gale@gtk.org>
* docs/gtk_tut.sgml: Start mass update for GTK 1.1

View File

@ -1,3 +1,8 @@
1998-12-07 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtkpaned.h (struct _GtkPaned): Removed the unused cursor
field in the structure.
Mon Dec 7 15:15:06 GMT 1998 Tony Gale <gale@gtk.org>
* docs/gtk_tut.sgml: Start mass update for GTK 1.1

View File

@ -1,3 +1,8 @@
1998-12-07 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtkpaned.h (struct _GtkPaned): Removed the unused cursor
field in the structure.
Mon Dec 7 15:15:06 GMT 1998 Tony Gale <gale@gtk.org>
* docs/gtk_tut.sgml: Start mass update for GTK 1.1

View File

@ -1,3 +1,8 @@
1998-12-07 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtkpaned.h (struct _GtkPaned): Removed the unused cursor
field in the structure.
Mon Dec 7 15:15:06 GMT 1998 Tony Gale <gale@gtk.org>
* docs/gtk_tut.sgml: Start mass update for GTK 1.1

View File

@ -1,3 +1,8 @@
1998-12-07 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtkpaned.h (struct _GtkPaned): Removed the unused cursor
field in the structure.
Mon Dec 7 15:15:06 GMT 1998 Tony Gale <gale@gtk.org>
* docs/gtk_tut.sgml: Start mass update for GTK 1.1

View File

@ -1,3 +1,8 @@
1998-12-07 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtkpaned.h (struct _GtkPaned): Removed the unused cursor
field in the structure.
Mon Dec 7 15:15:06 GMT 1998 Tony Gale <gale@gtk.org>
* docs/gtk_tut.sgml: Start mass update for GTK 1.1

View File

@ -47,7 +47,6 @@ struct _GtkPaned
GtkWidget *child2;
GdkWindow *handle;
GdkCursor *cursor;
GdkRectangle groove_rectangle;
GdkGC *xor_gc;

View File

@ -1,6 +1,13 @@
/* Generated by makeenums.pl */
static GtkEnumValue _gtk_calendar_display_options_values[] = {
static const GtkEnumValue _gtk_accel_flags_values[] = {
{ GTK_ACCEL_VISIBLE, "GTK_ACCEL_VISIBLE", "visible" },
{ GTK_ACCEL_SIGNAL_VISIBLE, "GTK_ACCEL_SIGNAL_VISIBLE", "signal-visible" },
{ GTK_ACCEL_LOCKED, "GTK_ACCEL_LOCKED", "locked" },
{ GTK_ACCEL_MASK, "GTK_ACCEL_MASK", "mask" },
{ 0, NULL, NULL }
};
static const GtkEnumValue _gtk_calendar_display_options_values[] = {
{ GTK_CALENDAR_SHOW_HEADING, "GTK_CALENDAR_SHOW_HEADING", "show-heading" },
{ GTK_CALENDAR_SHOW_DAY_NAMES, "GTK_CALENDAR_SHOW_DAY_NAMES", "show-day-names" },
{ GTK_CALENDAR_NO_MONTH_CHANGE, "GTK_CALENDAR_NO_MONTH_CHANGE", "no-month-change" },
@ -8,7 +15,7 @@ static GtkEnumValue _gtk_calendar_display_options_values[] = {
{ GTK_CALENDAR_WEEK_START_MONDAY, "GTK_CALENDAR_WEEK_START_MONDAY", "week-start-monday" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_cell_type_values[] = {
static const GtkEnumValue _gtk_cell_type_values[] = {
{ GTK_CELL_EMPTY, "GTK_CELL_EMPTY", "empty" },
{ GTK_CELL_TEXT, "GTK_CELL_TEXT", "text" },
{ GTK_CELL_PIXMAP, "GTK_CELL_PIXMAP", "pixmap" },
@ -16,27 +23,27 @@ static GtkEnumValue _gtk_cell_type_values[] = {
{ GTK_CELL_WIDGET, "GTK_CELL_WIDGET", "widget" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_c_tree_pos_values[] = {
static const GtkEnumValue _gtk_ctree_pos_values[] = {
{ GTK_CTREE_POS_BEFORE, "GTK_CTREE_POS_BEFORE", "before" },
{ GTK_CTREE_POS_AS_CHILD, "GTK_CTREE_POS_AS_CHILD", "as-child" },
{ GTK_CTREE_POS_AFTER, "GTK_CTREE_POS_AFTER", "after" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_c_tree_line_style_values[] = {
static const GtkEnumValue _gtk_ctree_line_style_values[] = {
{ GTK_CTREE_LINES_NONE, "GTK_CTREE_LINES_NONE", "none" },
{ GTK_CTREE_LINES_SOLID, "GTK_CTREE_LINES_SOLID", "solid" },
{ GTK_CTREE_LINES_DOTTED, "GTK_CTREE_LINES_DOTTED", "dotted" },
{ GTK_CTREE_LINES_TABBED, "GTK_CTREE_LINES_TABBED", "tabbed" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_c_tree_expander_style_values[] = {
static const GtkEnumValue _gtk_ctree_expander_style_values[] = {
{ GTK_CTREE_EXPANDER_NONE, "GTK_CTREE_EXPANDER_NONE", "none" },
{ GTK_CTREE_EXPANDER_SQUARE, "GTK_CTREE_EXPANDER_SQUARE", "square" },
{ GTK_CTREE_EXPANDER_TRIANGLE, "GTK_CTREE_EXPANDER_TRIANGLE", "triangle" },
{ GTK_CTREE_EXPANDER_CIRCULAR, "GTK_CTREE_EXPANDER_CIRCULAR", "circular" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_c_tree_expansion_type_values[] = {
static const GtkEnumValue _gtk_ctree_expansion_type_values[] = {
{ GTK_CTREE_EXPANSION_EXPAND, "GTK_CTREE_EXPANSION_EXPAND", "expand" },
{ GTK_CTREE_EXPANSION_EXPAND_RECURSIVE, "GTK_CTREE_EXPANSION_EXPAND_RECURSIVE", "expand-recursive" },
{ GTK_CTREE_EXPANSION_COLLAPSE, "GTK_CTREE_EXPANSION_COLLAPSE", "collapse" },
@ -45,41 +52,39 @@ static GtkEnumValue _gtk_c_tree_expansion_type_values[] = {
{ GTK_CTREE_EXPANSION_TOGGLE_RECURSIVE, "GTK_CTREE_EXPANSION_TOGGLE_RECURSIVE", "toggle-recursive" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_debug_flag_values[] = {
static const GtkEnumValue _gtk_debug_flag_values[] = {
{ GTK_DEBUG_OBJECTS, "GTK_DEBUG_OBJECTS", "objects" },
{ GTK_DEBUG_MISC, "GTK_DEBUG_MISC", "misc" },
{ GTK_DEBUG_SIGNALS, "GTK_DEBUG_SIGNALS", "signals" },
{ GTK_DEBUG_DND, "GTK_DEBUG_DND", "dnd" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_dest_defaults_values[] = {
static const GtkEnumValue _gtk_dest_defaults_values[] = {
{ GTK_DEST_DEFAULT_MOTION, "GTK_DEST_DEFAULT_MOTION", "motion" },
{ GTK_DEST_DEFAULT_HIGHLIGHT, "GTK_DEST_DEFAULT_HIGHLIGHT", "highlight" },
{ GTK_DEST_DEFAULT_DROP, "GTK_DEST_DEFAULT_DROP", "drop" },
{ GTK_DEST_DEFAULT_ALL, "GTK_DEST_DEFAULT_ALL", "all" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_accel_flags_values[] = {
{ GTK_ACCEL_VISIBLE, "GTK_ACCEL_VISIBLE", "visible" },
{ GTK_ACCEL_SIGNAL_VISIBLE, "GTK_ACCEL_SIGNAL_VISIBLE", "signal-visible" },
{ GTK_ACCEL_LOCKED, "GTK_ACCEL_LOCKED", "locked" },
{ GTK_ACCEL_MASK, "GTK_ACCEL_MASK", "mask" },
static const GtkEnumValue _gtk_target_flags_values[] = {
{ GTK_TARGET_SAME_APP, "GTK_TARGET_SAME_APP", "same-app" },
{ GTK_TARGET_SAME_WIDGET, "GTK_TARGET_SAME_WIDGET", "same-widget" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_arrow_type_values[] = {
static const GtkEnumValue _gtk_arrow_type_values[] = {
{ GTK_ARROW_UP, "GTK_ARROW_UP", "up" },
{ GTK_ARROW_DOWN, "GTK_ARROW_DOWN", "down" },
{ GTK_ARROW_LEFT, "GTK_ARROW_LEFT", "left" },
{ GTK_ARROW_RIGHT, "GTK_ARROW_RIGHT", "right" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_attach_options_values[] = {
static const GtkEnumValue _gtk_attach_options_values[] = {
{ GTK_EXPAND, "GTK_EXPAND", "expand" },
{ GTK_SHRINK, "GTK_SHRINK", "shrink" },
{ GTK_FILL, "GTK_FILL", "fill" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_button_box_style_values[] = {
static const GtkEnumValue _gtk_button_box_style_values[] = {
{ GTK_BUTTONBOX_DEFAULT_STYLE, "GTK_BUTTONBOX_DEFAULT_STYLE", "default-style" },
{ GTK_BUTTONBOX_SPREAD, "GTK_BUTTONBOX_SPREAD", "spread" },
{ GTK_BUTTONBOX_EDGE, "GTK_BUTTONBOX_EDGE", "edge" },
@ -87,13 +92,13 @@ static GtkEnumValue _gtk_button_box_style_values[] = {
{ GTK_BUTTONBOX_END, "GTK_BUTTONBOX_END", "end" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_curve_type_values[] = {
static const GtkEnumValue _gtk_curve_type_values[] = {
{ GTK_CURVE_TYPE_LINEAR, "GTK_CURVE_TYPE_LINEAR", "linear" },
{ GTK_CURVE_TYPE_SPLINE, "GTK_CURVE_TYPE_SPLINE", "spline" },
{ GTK_CURVE_TYPE_FREE, "GTK_CURVE_TYPE_FREE", "free" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_direction_type_values[] = {
static const GtkEnumValue _gtk_direction_type_values[] = {
{ GTK_DIR_TAB_FORWARD, "GTK_DIR_TAB_FORWARD", "tab-forward" },
{ GTK_DIR_TAB_BACKWARD, "GTK_DIR_TAB_BACKWARD", "tab-backward" },
{ GTK_DIR_UP, "GTK_DIR_UP", "up" },
@ -102,14 +107,14 @@ static GtkEnumValue _gtk_direction_type_values[] = {
{ GTK_DIR_RIGHT, "GTK_DIR_RIGHT", "right" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_justification_values[] = {
static const GtkEnumValue _gtk_justification_values[] = {
{ GTK_JUSTIFY_LEFT, "GTK_JUSTIFY_LEFT", "left" },
{ GTK_JUSTIFY_RIGHT, "GTK_JUSTIFY_RIGHT", "right" },
{ GTK_JUSTIFY_CENTER, "GTK_JUSTIFY_CENTER", "center" },
{ GTK_JUSTIFY_FILL, "GTK_JUSTIFY_FILL", "fill" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_match_type_values[] = {
static const GtkEnumValue _gtk_match_type_values[] = {
{ GTK_MATCH_ALL, "GTK_MATCH_ALL", "all" },
{ GTK_MATCH_ALL_TAIL, "GTK_MATCH_ALL_TAIL", "all-tail" },
{ GTK_MATCH_HEAD, "GTK_MATCH_HEAD", "head" },
@ -118,43 +123,43 @@ static GtkEnumValue _gtk_match_type_values[] = {
{ GTK_MATCH_LAST, "GTK_MATCH_LAST", "last" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_menu_direction_type_values[] = {
static const GtkEnumValue _gtk_menu_direction_type_values[] = {
{ GTK_MENU_DIR_PARENT, "GTK_MENU_DIR_PARENT", "parent" },
{ GTK_MENU_DIR_CHILD, "GTK_MENU_DIR_CHILD", "child" },
{ GTK_MENU_DIR_NEXT, "GTK_MENU_DIR_NEXT", "next" },
{ GTK_MENU_DIR_PREV, "GTK_MENU_DIR_PREV", "prev" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_menu_factory_type_values[] = {
static const GtkEnumValue _gtk_menu_factory_type_values[] = {
{ GTK_MENU_FACTORY_MENU, "GTK_MENU_FACTORY_MENU", "menu" },
{ GTK_MENU_FACTORY_MENU_BAR, "GTK_MENU_FACTORY_MENU_BAR", "menu-bar" },
{ GTK_MENU_FACTORY_OPTION_MENU, "GTK_MENU_FACTORY_OPTION_MENU", "option-menu" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_metric_type_values[] = {
static const GtkEnumValue _gtk_metric_type_values[] = {
{ GTK_PIXELS, "GTK_PIXELS", "pixels" },
{ GTK_INCHES, "GTK_INCHES", "inches" },
{ GTK_CENTIMETERS, "GTK_CENTIMETERS", "centimeters" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_orientation_values[] = {
static const GtkEnumValue _gtk_orientation_values[] = {
{ GTK_ORIENTATION_HORIZONTAL, "GTK_ORIENTATION_HORIZONTAL", "horizontal" },
{ GTK_ORIENTATION_VERTICAL, "GTK_ORIENTATION_VERTICAL", "vertical" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_corner_type_values[] = {
static const GtkEnumValue _gtk_corner_type_values[] = {
{ GTK_CORNER_TOP_LEFT, "GTK_CORNER_TOP_LEFT", "top-left" },
{ GTK_CORNER_BOTTOM_LEFT, "GTK_CORNER_BOTTOM_LEFT", "bottom-left" },
{ GTK_CORNER_TOP_RIGHT, "GTK_CORNER_TOP_RIGHT", "top-right" },
{ GTK_CORNER_BOTTOM_RIGHT, "GTK_CORNER_BOTTOM_RIGHT", "bottom-right" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_pack_type_values[] = {
static const GtkEnumValue _gtk_pack_type_values[] = {
{ GTK_PACK_START, "GTK_PACK_START", "start" },
{ GTK_PACK_END, "GTK_PACK_END", "end" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_path_priority_type_values[] = {
static const GtkEnumValue _gtk_path_priority_type_values[] = {
{ GTK_PATH_PRIO_LOWEST, "GTK_PATH_PRIO_LOWEST", "lowest" },
{ GTK_PATH_PRIO_GTK, "GTK_PATH_PRIO_GTK", "gtk" },
{ GTK_PATH_PRIO_APPLICATION, "GTK_PATH_PRIO_APPLICATION", "application" },
@ -163,51 +168,52 @@ static GtkEnumValue _gtk_path_priority_type_values[] = {
{ GTK_PATH_PRIO_MASK, "GTK_PATH_PRIO_MASK", "mask" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_path_type_values[] = {
static const GtkEnumValue _gtk_path_type_values[] = {
{ GTK_PATH_WIDGET, "GTK_PATH_WIDGET", "widget" },
{ GTK_PATH_WIDGET_CLASS, "GTK_PATH_WIDGET_CLASS", "widget-class" },
{ GTK_PATH_CLASS, "GTK_PATH_CLASS", "class" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_policy_type_values[] = {
static const GtkEnumValue _gtk_policy_type_values[] = {
{ GTK_POLICY_ALWAYS, "GTK_POLICY_ALWAYS", "always" },
{ GTK_POLICY_AUTOMATIC, "GTK_POLICY_AUTOMATIC", "automatic" },
{ GTK_POLICY_NEVER, "GTK_POLICY_NEVER", "never" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_position_type_values[] = {
static const GtkEnumValue _gtk_position_type_values[] = {
{ GTK_POS_LEFT, "GTK_POS_LEFT", "left" },
{ GTK_POS_RIGHT, "GTK_POS_RIGHT", "right" },
{ GTK_POS_TOP, "GTK_POS_TOP", "top" },
{ GTK_POS_BOTTOM, "GTK_POS_BOTTOM", "bottom" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_preview_type_values[] = {
static const GtkEnumValue _gtk_preview_type_values[] = {
{ GTK_PREVIEW_COLOR, "GTK_PREVIEW_COLOR", "color" },
{ GTK_PREVIEW_GRAYSCALE, "GTK_PREVIEW_GRAYSCALE", "grayscale" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_relief_style_values[] = {
static const GtkEnumValue _gtk_relief_style_values[] = {
{ GTK_RELIEF_NORMAL, "GTK_RELIEF_NORMAL", "normal" },
{ GTK_RELIEF_HALF, "GTK_RELIEF_HALF", "half" },
{ GTK_RELIEF_NONE, "GTK_RELIEF_NONE", "none" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_resize_mode_values[] = {
static const GtkEnumValue _gtk_resize_mode_values[] = {
{ GTK_RESIZE_PARENT, "GTK_RESIZE_PARENT", "parent" },
{ GTK_RESIZE_QUEUE, "GTK_RESIZE_QUEUE", "queue" },
{ GTK_RESIZE_IMMEDIATE, "GTK_RESIZE_IMMEDIATE", "immediate" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_signal_run_type_values[] = {
static const GtkEnumValue _gtk_signal_run_type_values[] = {
{ GTK_RUN_FIRST, "GTK_RUN_FIRST", "first" },
{ GTK_RUN_LAST, "GTK_RUN_LAST", "last" },
{ GTK_RUN_BOTH, "GTK_RUN_BOTH", "both" },
{ GTK_RUN_MASK, "GTK_RUN_MASK", "mask" },
{ GTK_RUN_NO_RECURSE, "GTK_RUN_NO_RECURSE", "no-recurse" },
{ GTK_RUN_ACTION, "GTK_RUN_ACTION", "action" },
{ GTK_RUN_NO_HOOKS, "GTK_RUN_NO_HOOKS", "no-hooks" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_scroll_type_values[] = {
static const GtkEnumValue _gtk_scroll_type_values[] = {
{ GTK_SCROLL_NONE, "GTK_SCROLL_NONE", "none" },
{ GTK_SCROLL_STEP_BACKWARD, "GTK_SCROLL_STEP_BACKWARD", "step-backward" },
{ GTK_SCROLL_STEP_FORWARD, "GTK_SCROLL_STEP_FORWARD", "step-forward" },
@ -216,14 +222,14 @@ static GtkEnumValue _gtk_scroll_type_values[] = {
{ GTK_SCROLL_JUMP, "GTK_SCROLL_JUMP", "jump" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_selection_mode_values[] = {
static const GtkEnumValue _gtk_selection_mode_values[] = {
{ GTK_SELECTION_SINGLE, "GTK_SELECTION_SINGLE", "single" },
{ GTK_SELECTION_BROWSE, "GTK_SELECTION_BROWSE", "browse" },
{ GTK_SELECTION_MULTIPLE, "GTK_SELECTION_MULTIPLE", "multiple" },
{ GTK_SELECTION_EXTENDED, "GTK_SELECTION_EXTENDED", "extended" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_shadow_type_values[] = {
static const GtkEnumValue _gtk_shadow_type_values[] = {
{ GTK_SHADOW_NONE, "GTK_SHADOW_NONE", "none" },
{ GTK_SHADOW_IN, "GTK_SHADOW_IN", "in" },
{ GTK_SHADOW_OUT, "GTK_SHADOW_OUT", "out" },
@ -231,7 +237,7 @@ static GtkEnumValue _gtk_shadow_type_values[] = {
{ GTK_SHADOW_ETCHED_OUT, "GTK_SHADOW_ETCHED_OUT", "etched-out" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_state_type_values[] = {
static const GtkEnumValue _gtk_state_type_values[] = {
{ GTK_STATE_NORMAL, "GTK_STATE_NORMAL", "normal" },
{ GTK_STATE_ACTIVE, "GTK_STATE_ACTIVE", "active" },
{ GTK_STATE_PRELIGHT, "GTK_STATE_PRELIGHT", "prelight" },
@ -239,106 +245,106 @@ static GtkEnumValue _gtk_state_type_values[] = {
{ GTK_STATE_INSENSITIVE, "GTK_STATE_INSENSITIVE", "insensitive" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_submenu_direction_values[] = {
static const GtkEnumValue _gtk_submenu_direction_values[] = {
{ GTK_DIRECTION_LEFT, "GTK_DIRECTION_LEFT", "left" },
{ GTK_DIRECTION_RIGHT, "GTK_DIRECTION_RIGHT", "right" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_submenu_placement_values[] = {
static const GtkEnumValue _gtk_submenu_placement_values[] = {
{ GTK_TOP_BOTTOM, "GTK_TOP_BOTTOM", "top-bottom" },
{ GTK_LEFT_RIGHT, "GTK_LEFT_RIGHT", "left-right" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_toolbar_style_values[] = {
static const GtkEnumValue _gtk_toolbar_style_values[] = {
{ GTK_TOOLBAR_ICONS, "GTK_TOOLBAR_ICONS", "icons" },
{ GTK_TOOLBAR_TEXT, "GTK_TOOLBAR_TEXT", "text" },
{ GTK_TOOLBAR_BOTH, "GTK_TOOLBAR_BOTH", "both" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_trough_type_values[] = {
static const GtkEnumValue _gtk_trough_type_values[] = {
{ GTK_TROUGH_NONE, "GTK_TROUGH_NONE", "none" },
{ GTK_TROUGH_START, "GTK_TROUGH_START", "start" },
{ GTK_TROUGH_END, "GTK_TROUGH_END", "end" },
{ GTK_TROUGH_JUMP, "GTK_TROUGH_JUMP", "jump" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_update_type_values[] = {
static const GtkEnumValue _gtk_update_type_values[] = {
{ GTK_UPDATE_CONTINUOUS, "GTK_UPDATE_CONTINUOUS", "continuous" },
{ GTK_UPDATE_DISCONTINUOUS, "GTK_UPDATE_DISCONTINUOUS", "discontinuous" },
{ GTK_UPDATE_DELAYED, "GTK_UPDATE_DELAYED", "delayed" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_visibility_values[] = {
static const GtkEnumValue _gtk_visibility_values[] = {
{ GTK_VISIBILITY_NONE, "GTK_VISIBILITY_NONE", "none" },
{ GTK_VISIBILITY_PARTIAL, "GTK_VISIBILITY_PARTIAL", "partial" },
{ GTK_VISIBILITY_FULL, "GTK_VISIBILITY_FULL", "full" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_window_position_values[] = {
static const GtkEnumValue _gtk_window_position_values[] = {
{ GTK_WIN_POS_NONE, "GTK_WIN_POS_NONE", "none" },
{ GTK_WIN_POS_CENTER, "GTK_WIN_POS_CENTER", "center" },
{ GTK_WIN_POS_MOUSE, "GTK_WIN_POS_MOUSE", "mouse" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_window_type_values[] = {
static const GtkEnumValue _gtk_window_type_values[] = {
{ GTK_WINDOW_TOPLEVEL, "GTK_WINDOW_TOPLEVEL", "toplevel" },
{ GTK_WINDOW_DIALOG, "GTK_WINDOW_DIALOG", "dialog" },
{ GTK_WINDOW_POPUP, "GTK_WINDOW_POPUP", "popup" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_sort_type_values[] = {
static const GtkEnumValue _gtk_sort_type_values[] = {
{ GTK_SORT_ASCENDING, "GTK_SORT_ASCENDING", "ascending" },
{ GTK_SORT_DESCENDING, "GTK_SORT_DESCENDING", "descending" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_font_metric_type_values[] = {
static const GtkEnumValue _gtk_font_metric_type_values[] = {
{ GTK_FONT_METRIC_PIXELS, "GTK_FONT_METRIC_PIXELS", "pixels" },
{ GTK_FONT_METRIC_POINTS, "GTK_FONT_METRIC_POINTS", "points" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_font_type_values[] = {
static const GtkEnumValue _gtk_font_type_values[] = {
{ GTK_FONT_BITMAP, "GTK_FONT_BITMAP", "bitmap" },
{ GTK_FONT_SCALABLE, "GTK_FONT_SCALABLE", "scalable" },
{ GTK_FONT_SCALABLE_BITMAP, "GTK_FONT_SCALABLE_BITMAP", "scalable-bitmap" },
{ GTK_FONT_ALL, "GTK_FONT_ALL", "all" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_font_filter_type_values[] = {
static const GtkEnumValue _gtk_font_filter_type_values[] = {
{ GTK_FONT_FILTER_BASE, "GTK_FONT_FILTER_BASE", "base" },
{ GTK_FONT_FILTER_USER, "GTK_FONT_FILTER_USER", "user" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_object_flags_values[] = {
static const GtkEnumValue _gtk_object_flags_values[] = {
{ GTK_DESTROYED, "GTK_DESTROYED", "destroyed" },
{ GTK_FLOATING, "GTK_FLOATING", "floating" },
{ GTK_CONNECTED, "GTK_CONNECTED", "connected" },
{ GTK_RESERVED_2, "GTK_RESERVED_2", "reserved-2" },
{ GTK_OBJECT_FLAG_LAST, "GTK_OBJECT_FLAG_LAST", "object-flag-last" },
{ GTK_CONSTRUCTED, "GTK_CONSTRUCTED", "constructed" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_arg_flags_values[] = {
static const GtkEnumValue _gtk_arg_flags_values[] = {
{ GTK_ARG_READABLE, "GTK_ARG_READABLE", "readable" },
{ GTK_ARG_WRITABLE, "GTK_ARG_WRITABLE", "writable" },
{ GTK_ARG_CONSTRUCT, "GTK_ARG_CONSTRUCT", "construct" },
{ GTK_ARG_CONSTRUCT_ONLY, "GTK_ARG_CONSTRUCT_ONLY", "construct-only" },
{ GTK_ARG_CHILD_ARG, "GTK_ARG_CHILD_ARG", "child-arg" },
{ GTK_ARG_MASK, "GTK_ARG_MASK", "mask" },
{ GTK_ARG_READWRITE, "GTK_ARG_READWRITE", "readwrite" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_packer_options_values[] = {
static const GtkEnumValue _gtk_packer_options_values[] = {
{ GTK_PACK_EXPAND, "GTK_PACK_EXPAND", "expand" },
{ GTK_FILL_X, "GTK_FILL_X", "fill-x" },
{ GTK_FILL_Y, "GTK_FILL_Y", "fill-y" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_side_type_values[] = {
static const GtkEnumValue _gtk_side_type_values[] = {
{ GTK_SIDE_TOP, "GTK_SIDE_TOP", "top" },
{ GTK_SIDE_BOTTOM, "GTK_SIDE_BOTTOM", "bottom" },
{ GTK_SIDE_LEFT, "GTK_SIDE_LEFT", "left" },
{ GTK_SIDE_RIGHT, "GTK_SIDE_RIGHT", "right" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_anchor_type_values[] = {
static const GtkEnumValue _gtk_anchor_type_values[] = {
{ GTK_ANCHOR_CENTER, "GTK_ANCHOR_CENTER", "center" },
{ GTK_ANCHOR_NORTH, "GTK_ANCHOR_NORTH", "north" },
{ GTK_ANCHOR_NORTH_WEST, "GTK_ANCHOR_NORTH_WEST", "north-west" },
@ -358,7 +364,7 @@ static GtkEnumValue _gtk_anchor_type_values[] = {
{ GTK_ANCHOR_E, "GTK_ANCHOR_E", "e" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_private_flags_values[] = {
static const GtkEnumValue _gtk_private_flags_values[] = {
{ PRIVATE_GTK_USER_STYLE, "PRIVATE_GTK_USER_STYLE", "user-style" },
{ PRIVATE_GTK_REDRAW_PENDING, "PRIVATE_GTK_REDRAW_PENDING", "redraw-pending" },
{ PRIVATE_GTK_RESIZE_PENDING, "PRIVATE_GTK_RESIZE_PENDING", "resize-pending" },
@ -368,26 +374,26 @@ static GtkEnumValue _gtk_private_flags_values[] = {
{ PRIVATE_GTK_IN_REPARENT, "PRIVATE_GTK_IN_REPARENT", "in-reparent" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_progress_bar_style_values[] = {
static const GtkEnumValue _gtk_progress_bar_style_values[] = {
{ GTK_PROGRESS_CONTINUOUS, "GTK_PROGRESS_CONTINUOUS", "continuous" },
{ GTK_PROGRESS_DISCRETE, "GTK_PROGRESS_DISCRETE", "discrete" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_progress_bar_orientation_values[] = {
static const GtkEnumValue _gtk_progress_bar_orientation_values[] = {
{ GTK_PROGRESS_LEFT_TO_RIGHT, "GTK_PROGRESS_LEFT_TO_RIGHT", "left-to-right" },
{ GTK_PROGRESS_RIGHT_TO_LEFT, "GTK_PROGRESS_RIGHT_TO_LEFT", "right-to-left" },
{ GTK_PROGRESS_BOTTOM_TO_TOP, "GTK_PROGRESS_BOTTOM_TO_TOP", "bottom-to-top" },
{ GTK_PROGRESS_TOP_TO_BOTTOM, "GTK_PROGRESS_TOP_TO_BOTTOM", "top-to-bottom" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_rc_flags_values[] = {
static const GtkEnumValue _gtk_rc_flags_values[] = {
{ GTK_RC_FG, "GTK_RC_FG", "fg" },
{ GTK_RC_BG, "GTK_RC_BG", "bg" },
{ GTK_RC_TEXT, "GTK_RC_TEXT", "text" },
{ GTK_RC_BASE, "GTK_RC_BASE", "base" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_rc_token_type_values[] = {
static const GtkEnumValue _gtk_rc_token_type_values[] = {
{ GTK_RC_TOKEN_INVALID, "GTK_RC_TOKEN_INVALID", "invalid" },
{ GTK_RC_TOKEN_INCLUDE, "GTK_RC_TOKEN_INCLUDE", "include" },
{ GTK_RC_TOKEN_NORMAL, "GTK_RC_TOKEN_NORMAL", "normal" },
@ -419,12 +425,12 @@ static GtkEnumValue _gtk_rc_token_type_values[] = {
{ GTK_RC_TOKEN_LAST, "GTK_RC_TOKEN_LAST", "last" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_spin_button_update_policy_values[] = {
static const GtkEnumValue _gtk_spin_button_update_policy_values[] = {
{ GTK_UPDATE_ALWAYS, "GTK_UPDATE_ALWAYS", "always" },
{ GTK_UPDATE_IF_VALID, "GTK_UPDATE_IF_VALID", "if-valid" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_spin_type_values[] = {
static const GtkEnumValue _gtk_spin_type_values[] = {
{ GTK_SPIN_STEP_FORWARD, "GTK_SPIN_STEP_FORWARD", "step-forward" },
{ GTK_SPIN_STEP_BACKWARD, "GTK_SPIN_STEP_BACKWARD", "step-backward" },
{ GTK_SPIN_PAGE_FORWARD, "GTK_SPIN_PAGE_FORWARD", "page-forward" },
@ -434,7 +440,7 @@ static GtkEnumValue _gtk_spin_type_values[] = {
{ GTK_SPIN_USER_DEFINED, "GTK_SPIN_USER_DEFINED", "user-defined" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_toolbar_child_type_values[] = {
static const GtkEnumValue _gtk_toolbar_child_type_values[] = {
{ GTK_TOOLBAR_CHILD_SPACE, "GTK_TOOLBAR_CHILD_SPACE", "space" },
{ GTK_TOOLBAR_CHILD_BUTTON, "GTK_TOOLBAR_CHILD_BUTTON", "button" },
{ GTK_TOOLBAR_CHILD_TOGGLEBUTTON, "GTK_TOOLBAR_CHILD_TOGGLEBUTTON", "togglebutton" },
@ -442,12 +448,12 @@ static GtkEnumValue _gtk_toolbar_child_type_values[] = {
{ GTK_TOOLBAR_CHILD_WIDGET, "GTK_TOOLBAR_CHILD_WIDGET", "widget" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_tree_view_mode_values[] = {
static const GtkEnumValue _gtk_tree_view_mode_values[] = {
{ GTK_TREE_VIEW_LINE, "GTK_TREE_VIEW_LINE", "line" },
{ GTK_TREE_VIEW_ITEM, "GTK_TREE_VIEW_ITEM", "item" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_fundamental_type_values[] = {
static const GtkEnumValue _gtk_fundamental_type_values[] = {
{ GTK_TYPE_INVALID, "GTK_TYPE_INVALID", "invalid" },
{ GTK_TYPE_NONE, "GTK_TYPE_NONE", "none" },
{ GTK_TYPE_CHAR, "GTK_TYPE_CHAR", "char" },
@ -472,7 +478,7 @@ static GtkEnumValue _gtk_fundamental_type_values[] = {
{ GTK_TYPE_OBJECT, "GTK_TYPE_OBJECT", "object" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gtk_widget_flags_values[] = {
static const GtkEnumValue _gtk_widget_flags_values[] = {
{ GTK_TOPLEVEL, "GTK_TOPLEVEL", "toplevel" },
{ GTK_NO_WINDOW, "GTK_NO_WINDOW", "no-window" },
{ GTK_REALIZED, "GTK_REALIZED", "realized" },
@ -487,10 +493,9 @@ static GtkEnumValue _gtk_widget_flags_values[] = {
{ GTK_HAS_GRAB, "GTK_HAS_GRAB", "has-grab" },
{ GTK_RC_STYLE, "GTK_RC_STYLE", "rc-style" },
{ GTK_COMPOSITE_CHILD, "GTK_COMPOSITE_CHILD", "composite-child" },
{ GTK_BASIC, "GTK_BASIC", "basic" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_window_type_values[] = {
static const GtkEnumValue _gdk_window_type_values[] = {
{ GDK_WINDOW_ROOT, "GDK_WINDOW_ROOT", "root" },
{ GDK_WINDOW_TOPLEVEL, "GDK_WINDOW_TOPLEVEL", "toplevel" },
{ GDK_WINDOW_CHILD, "GDK_WINDOW_CHILD", "child" },
@ -500,18 +505,18 @@ static GtkEnumValue _gdk_window_type_values[] = {
{ GDK_WINDOW_FOREIGN, "GDK_WINDOW_FOREIGN", "foreign" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_window_class_values[] = {
static const GtkEnumValue _gdk_window_class_values[] = {
{ GDK_INPUT_OUTPUT, "GDK_INPUT_OUTPUT", "output" },
{ GDK_INPUT_ONLY, "GDK_INPUT_ONLY", "only" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_image_type_values[] = {
static const GtkEnumValue _gdk_image_type_values[] = {
{ GDK_IMAGE_NORMAL, "GDK_IMAGE_NORMAL", "normal" },
{ GDK_IMAGE_SHARED, "GDK_IMAGE_SHARED", "shared" },
{ GDK_IMAGE_FASTEST, "GDK_IMAGE_FASTEST", "fastest" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_visual_type_values[] = {
static const GtkEnumValue _gdk_visual_type_values[] = {
{ GDK_VISUAL_STATIC_GRAY, "GDK_VISUAL_STATIC_GRAY", "static-gray" },
{ GDK_VISUAL_GRAYSCALE, "GDK_VISUAL_GRAYSCALE", "grayscale" },
{ GDK_VISUAL_STATIC_COLOR, "GDK_VISUAL_STATIC_COLOR", "static-color" },
@ -520,12 +525,12 @@ static GtkEnumValue _gdk_visual_type_values[] = {
{ GDK_VISUAL_DIRECT_COLOR, "GDK_VISUAL_DIRECT_COLOR", "direct-color" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_font_type_values[] = {
static const GtkEnumValue _gdk_font_type_values[] = {
{ GDK_FONT_FONT, "GDK_FONT_FONT", "font" },
{ GDK_FONT_FONTSET, "GDK_FONT_FONTSET", "fontset" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_window_attributes_type_values[] = {
static const GtkEnumValue _gdk_window_attributes_type_values[] = {
{ GDK_WA_TITLE, "GDK_WA_TITLE", "title" },
{ GDK_WA_X, "GDK_WA_X", "x" },
{ GDK_WA_Y, "GDK_WA_Y", "y" },
@ -536,13 +541,13 @@ static GtkEnumValue _gdk_window_attributes_type_values[] = {
{ GDK_WA_NOREDIR, "GDK_WA_NOREDIR", "noredir" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_window_hints_values[] = {
static const GtkEnumValue _gdk_window_hints_values[] = {
{ GDK_HINT_POS, "GDK_HINT_POS", "pos" },
{ GDK_HINT_MIN_SIZE, "GDK_HINT_MIN_SIZE", "min-size" },
{ GDK_HINT_MAX_SIZE, "GDK_HINT_MAX_SIZE", "max-size" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_function_values[] = {
static const GtkEnumValue _gdk_function_values[] = {
{ GDK_COPY, "GDK_COPY", "copy" },
{ GDK_INVERT, "GDK_INVERT", "invert" },
{ GDK_XOR, "GDK_XOR", "xor" },
@ -560,38 +565,38 @@ static GtkEnumValue _gdk_function_values[] = {
{ GDK_SET, "GDK_SET", "set" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_fill_values[] = {
static const GtkEnumValue _gdk_fill_values[] = {
{ GDK_SOLID, "GDK_SOLID", "solid" },
{ GDK_TILED, "GDK_TILED", "tiled" },
{ GDK_STIPPLED, "GDK_STIPPLED", "stippled" },
{ GDK_OPAQUE_STIPPLED, "GDK_OPAQUE_STIPPLED", "opaque-stippled" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_fill_rule_values[] = {
static const GtkEnumValue _gdk_fill_rule_values[] = {
{ GDK_EVEN_ODD_RULE, "GDK_EVEN_ODD_RULE", "even-odd-rule" },
{ GDK_WINDING_RULE, "GDK_WINDING_RULE", "winding-rule" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_line_style_values[] = {
static const GtkEnumValue _gdk_line_style_values[] = {
{ GDK_LINE_SOLID, "GDK_LINE_SOLID", "solid" },
{ GDK_LINE_ON_OFF_DASH, "GDK_LINE_ON_OFF_DASH", "on-off-dash" },
{ GDK_LINE_DOUBLE_DASH, "GDK_LINE_DOUBLE_DASH", "double-dash" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_cap_style_values[] = {
static const GtkEnumValue _gdk_cap_style_values[] = {
{ GDK_CAP_NOT_LAST, "GDK_CAP_NOT_LAST", "not-last" },
{ GDK_CAP_BUTT, "GDK_CAP_BUTT", "butt" },
{ GDK_CAP_ROUND, "GDK_CAP_ROUND", "round" },
{ GDK_CAP_PROJECTING, "GDK_CAP_PROJECTING", "projecting" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_join_style_values[] = {
static const GtkEnumValue _gdk_join_style_values[] = {
{ GDK_JOIN_MITER, "GDK_JOIN_MITER", "miter" },
{ GDK_JOIN_ROUND, "GDK_JOIN_ROUND", "round" },
{ GDK_JOIN_BEVEL, "GDK_JOIN_BEVEL", "bevel" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_cursor_type_values[] = {
static const GtkEnumValue _gdk_cursor_type_values[] = {
{ GDK_NUM_GLYPHS, "GDK_NUM_GLYPHS", "num-glyphs" },
{ GDK_X_CURSOR, "GDK_X_CURSOR", "x-cursor" },
{ GDK_ARROW, "GDK_ARROW", "arrow" },
@ -674,19 +679,19 @@ static GtkEnumValue _gdk_cursor_type_values[] = {
{ GDK_CURSOR_IS_PIXMAP, "GDK_CURSOR_IS_PIXMAP", "cursor-is-pixmap" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_filter_return_values[] = {
static const GtkEnumValue _gdk_filter_return_values[] = {
{ GDK_FILTER_CONTINUE, "GDK_FILTER_CONTINUE", "continue" },
{ GDK_FILTER_TRANSLATE, "GDK_FILTER_TRANSLATE", "translate" },
{ GDK_FILTER_REMOVE, "GDK_FILTER_REMOVE", "remove" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_visibility_state_values[] = {
static const GtkEnumValue _gdk_visibility_state_values[] = {
{ GDK_VISIBILITY_UNOBSCURED, "GDK_VISIBILITY_UNOBSCURED", "unobscured" },
{ GDK_VISIBILITY_PARTIAL, "GDK_VISIBILITY_PARTIAL", "partial" },
{ GDK_VISIBILITY_FULLY_OBSCURED, "GDK_VISIBILITY_FULLY_OBSCURED", "fully-obscured" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_event_type_values[] = {
static const GtkEnumValue _gdk_event_type_values[] = {
{ GDK_NOTHING, "GDK_NOTHING", "nothing" },
{ GDK_DELETE, "GDK_DELETE", "delete" },
{ GDK_DESTROY, "GDK_DESTROY", "destroy" },
@ -721,7 +726,7 @@ static GtkEnumValue _gdk_event_type_values[] = {
{ GDK_NO_EXPOSE, "GDK_NO_EXPOSE", "no-expose" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_event_mask_values[] = {
static const GtkEnumValue _gdk_event_mask_values[] = {
{ GDK_EXPOSURE_MASK, "GDK_EXPOSURE_MASK", "exposure-mask" },
{ GDK_POINTER_MOTION_MASK, "GDK_POINTER_MOTION_MASK", "pointer-motion-mask" },
{ GDK_POINTER_MOTION_HINT_MASK, "GDK_POINTER_MOTION_HINT_MASK", "pointer-motion-hint-mask" },
@ -745,7 +750,7 @@ static GtkEnumValue _gdk_event_mask_values[] = {
{ GDK_ALL_EVENTS_MASK, "GDK_ALL_EVENTS_MASK", "all-events-mask" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_notify_type_values[] = {
static const GtkEnumValue _gdk_notify_type_values[] = {
{ GDK_NOTIFY_ANCESTOR, "GDK_NOTIFY_ANCESTOR", "ancestor" },
{ GDK_NOTIFY_VIRTUAL, "GDK_NOTIFY_VIRTUAL", "virtual" },
{ GDK_NOTIFY_INFERIOR, "GDK_NOTIFY_INFERIOR", "inferior" },
@ -754,13 +759,13 @@ static GtkEnumValue _gdk_notify_type_values[] = {
{ GDK_NOTIFY_UNKNOWN, "GDK_NOTIFY_UNKNOWN", "unknown" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_crossing_mode_values[] = {
static const GtkEnumValue _gdk_crossing_mode_values[] = {
{ GDK_CROSSING_NORMAL, "GDK_CROSSING_NORMAL", "normal" },
{ GDK_CROSSING_GRAB, "GDK_CROSSING_GRAB", "grab" },
{ GDK_CROSSING_UNGRAB, "GDK_CROSSING_UNGRAB", "ungrab" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_modifier_type_values[] = {
static const GtkEnumValue _gdk_modifier_type_values[] = {
{ GDK_SHIFT_MASK, "GDK_SHIFT_MASK", "shift-mask" },
{ GDK_LOCK_MASK, "GDK_LOCK_MASK", "lock-mask" },
{ GDK_CONTROL_MASK, "GDK_CONTROL_MASK", "control-mask" },
@ -778,18 +783,18 @@ static GtkEnumValue _gdk_modifier_type_values[] = {
{ GDK_MODIFIER_MASK, "GDK_MODIFIER_MASK", "modifier-mask" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_subwindow_mode_values[] = {
static const GtkEnumValue _gdk_subwindow_mode_values[] = {
{ GDK_CLIP_BY_CHILDREN, "GDK_CLIP_BY_CHILDREN", "clip-by-children" },
{ GDK_INCLUDE_INFERIORS, "GDK_INCLUDE_INFERIORS", "include-inferiors" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_input_condition_values[] = {
static const GtkEnumValue _gdk_input_condition_values[] = {
{ GDK_INPUT_READ, "GDK_INPUT_READ", "read" },
{ GDK_INPUT_WRITE, "GDK_INPUT_WRITE", "write" },
{ GDK_INPUT_EXCEPTION, "GDK_INPUT_EXCEPTION", "exception" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_status_values[] = {
static const GtkEnumValue _gdk_status_values[] = {
{ GDK_OK, "GDK_OK", "ok" },
{ GDK_ERROR, "GDK_ERROR", "error" },
{ GDK_ERROR_PARAM, "GDK_ERROR_PARAM", "error-param" },
@ -797,12 +802,12 @@ static GtkEnumValue _gdk_status_values[] = {
{ GDK_ERROR_MEM, "GDK_ERROR_MEM", "error-mem" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_byte_order_values[] = {
static const GtkEnumValue _gdk_byte_order_values[] = {
{ GDK_LSB_FIRST, "GDK_LSB_FIRST", "lsb-first" },
{ GDK_MSB_FIRST, "GDK_MSB_FIRST", "msb-first" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_gc_values_mask_values[] = {
static const GtkEnumValue _gdk_gc_values_mask_values[] = {
{ GDK_GC_FOREGROUND, "GDK_GC_FOREGROUND", "foreground" },
{ GDK_GC_BACKGROUND, "GDK_GC_BACKGROUND", "background" },
{ GDK_GC_FONT, "GDK_GC_FONT", "font" },
@ -823,36 +828,36 @@ static GtkEnumValue _gdk_gc_values_mask_values[] = {
{ GDK_GC_JOIN_STYLE, "GDK_GC_JOIN_STYLE", "join-style" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_selection_values[] = {
static const GtkEnumValue _gdk_selection_values[] = {
{ GDK_SELECTION_PRIMARY, "GDK_SELECTION_PRIMARY", "primary" },
{ GDK_SELECTION_SECONDARY, "GDK_SELECTION_SECONDARY", "secondary" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_property_state_values[] = {
static const GtkEnumValue _gdk_property_state_values[] = {
{ GDK_PROPERTY_NEW_VALUE, "GDK_PROPERTY_NEW_VALUE", "new-value" },
{ GDK_PROPERTY_DELETE, "GDK_PROPERTY_DELETE", "delete" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_prop_mode_values[] = {
static const GtkEnumValue _gdk_prop_mode_values[] = {
{ GDK_PROP_MODE_REPLACE, "GDK_PROP_MODE_REPLACE", "replace" },
{ GDK_PROP_MODE_PREPEND, "GDK_PROP_MODE_PREPEND", "prepend" },
{ GDK_PROP_MODE_APPEND, "GDK_PROP_MODE_APPEND", "append" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_input_source_values[] = {
static const GtkEnumValue _gdk_input_source_values[] = {
{ GDK_SOURCE_MOUSE, "GDK_SOURCE_MOUSE", "mouse" },
{ GDK_SOURCE_PEN, "GDK_SOURCE_PEN", "pen" },
{ GDK_SOURCE_ERASER, "GDK_SOURCE_ERASER", "eraser" },
{ GDK_SOURCE_CURSOR, "GDK_SOURCE_CURSOR", "cursor" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_input_mode_values[] = {
static const GtkEnumValue _gdk_input_mode_values[] = {
{ GDK_MODE_DISABLED, "GDK_MODE_DISABLED", "disabled" },
{ GDK_MODE_SCREEN, "GDK_MODE_SCREEN", "screen" },
{ GDK_MODE_WINDOW, "GDK_MODE_WINDOW", "window" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_axis_use_values[] = {
static const GtkEnumValue _gdk_axis_use_values[] = {
{ GDK_AXIS_IGNORE, "GDK_AXIS_IGNORE", "ignore" },
{ GDK_AXIS_X, "GDK_AXIS_X", "x" },
{ GDK_AXIS_Y, "GDK_AXIS_Y", "y" },
@ -862,7 +867,7 @@ static GtkEnumValue _gdk_axis_use_values[] = {
{ GDK_AXIS_LAST, "GDK_AXIS_LAST", "last" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_target_values[] = {
static const GtkEnumValue _gdk_target_values[] = {
{ GDK_TARGET_BITMAP, "GDK_TARGET_BITMAP", "bitmap" },
{ GDK_TARGET_COLORMAP, "GDK_TARGET_COLORMAP", "colormap" },
{ GDK_TARGET_DRAWABLE, "GDK_TARGET_DRAWABLE", "drawable" },
@ -870,7 +875,7 @@ static GtkEnumValue _gdk_target_values[] = {
{ GDK_TARGET_STRING, "GDK_TARGET_STRING", "string" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_selection_type_values[] = {
static const GtkEnumValue _gdk_selection_type_values[] = {
{ GDK_SELECTION_TYPE_ATOM, "GDK_SELECTION_TYPE_ATOM", "atom" },
{ GDK_SELECTION_TYPE_BITMAP, "GDK_SELECTION_TYPE_BITMAP", "bitmap" },
{ GDK_SELECTION_TYPE_COLORMAP, "GDK_SELECTION_TYPE_COLORMAP", "colormap" },
@ -881,13 +886,13 @@ static GtkEnumValue _gdk_selection_type_values[] = {
{ GDK_SELECTION_TYPE_STRING, "GDK_SELECTION_TYPE_STRING", "string" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_extension_mode_values[] = {
static const GtkEnumValue _gdk_extension_mode_values[] = {
{ GDK_EXTENSION_EVENTS_NONE, "GDK_EXTENSION_EVENTS_NONE", "none" },
{ GDK_EXTENSION_EVENTS_ALL, "GDK_EXTENSION_EVENTS_ALL", "all" },
{ GDK_EXTENSION_EVENTS_CURSOR, "GDK_EXTENSION_EVENTS_CURSOR", "cursor" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_im_style_values[] = {
static const GtkEnumValue _gdk_im_style_values[] = {
{ GDK_IM_PREEDIT_AREA, "GDK_IM_PREEDIT_AREA", "preedit-area" },
{ GDK_IM_PREEDIT_CALLBACKS, "GDK_IM_PREEDIT_CALLBACKS", "preedit-callbacks" },
{ GDK_IM_PREEDIT_POSITION, "GDK_IM_PREEDIT_POSITION", "preedit-position" },
@ -901,7 +906,7 @@ static GtkEnumValue _gdk_im_style_values[] = {
{ GDK_IM_STATUS_MASK, "GDK_IM_STATUS_MASK", "status-mask" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_wm_decoration_values[] = {
static const GtkEnumValue _gdk_wm_decoration_values[] = {
{ GDK_DECOR_ALL, "GDK_DECOR_ALL", "all" },
{ GDK_DECOR_BORDER, "GDK_DECOR_BORDER", "border" },
{ GDK_DECOR_RESIZEH, "GDK_DECOR_RESIZEH", "resizeh" },
@ -911,7 +916,7 @@ static GtkEnumValue _gdk_wm_decoration_values[] = {
{ GDK_DECOR_MAXIMIZE, "GDK_DECOR_MAXIMIZE", "maximize" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_wm_function_values[] = {
static const GtkEnumValue _gdk_wm_function_values[] = {
{ GDK_FUNC_ALL, "GDK_FUNC_ALL", "all" },
{ GDK_FUNC_RESIZE, "GDK_FUNC_RESIZE", "resize" },
{ GDK_FUNC_MOVE, "GDK_FUNC_MOVE", "move" },
@ -920,7 +925,7 @@ static GtkEnumValue _gdk_wm_function_values[] = {
{ GDK_FUNC_CLOSE, "GDK_FUNC_CLOSE", "close" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_color_context_mode_values[] = {
static const GtkEnumValue _gdk_color_context_mode_values[] = {
{ GDK_CC_MODE_UNDEFINED, "GDK_CC_MODE_UNDEFINED", "undefined" },
{ GDK_CC_MODE_BW, "GDK_CC_MODE_BW", "bw" },
{ GDK_CC_MODE_STD_CMAP, "GDK_CC_MODE_STD_CMAP", "std-cmap" },
@ -929,13 +934,13 @@ static GtkEnumValue _gdk_color_context_mode_values[] = {
{ GDK_CC_MODE_PALETTE, "GDK_CC_MODE_PALETTE", "palette" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_overlap_type_values[] = {
static const GtkEnumValue _gdk_overlap_type_values[] = {
{ GDK_OVERLAP_RECTANGLE_IN, "GDK_OVERLAP_RECTANGLE_IN", "in" },
{ GDK_OVERLAP_RECTANGLE_OUT, "GDK_OVERLAP_RECTANGLE_OUT", "out" },
{ GDK_OVERLAP_RECTANGLE_PART, "GDK_OVERLAP_RECTANGLE_PART", "part" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_drag_action_values[] = {
static const GtkEnumValue _gdk_drag_action_values[] = {
{ GDK_ACTION_DEFAULT, "GDK_ACTION_DEFAULT", "default" },
{ GDK_ACTION_COPY, "GDK_ACTION_COPY", "copy" },
{ GDK_ACTION_MOVE, "GDK_ACTION_MOVE", "move" },
@ -944,13 +949,13 @@ static GtkEnumValue _gdk_drag_action_values[] = {
{ GDK_ACTION_ASK, "GDK_ACTION_ASK", "ask" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_drag_protocol_values[] = {
static const GtkEnumValue _gdk_drag_protocol_values[] = {
{ GDK_DRAG_PROTO_MOTIF, "GDK_DRAG_PROTO_MOTIF", "motif" },
{ GDK_DRAG_PROTO_XDND, "GDK_DRAG_PROTO_XDND", "xdnd" },
{ GDK_DRAG_PROTO_ROOTWIN, "GDK_DRAG_PROTO_ROOTWIN", "rootwin" },
{ 0, NULL, NULL }
};
static GtkEnumValue _gdk_rgb_dither_values[] = {
static const GtkEnumValue _gdk_rgb_dither_values[] = {
{ GDK_RGB_DITHER_NONE, "GDK_RGB_DITHER_NONE", "none" },
{ GDK_RGB_DITHER_NORMAL, "GDK_RGB_DITHER_NORMAL", "normal" },
{ GDK_RGB_DITHER_MAX, "GDK_RGB_DITHER_MAX", "max" },