[gtkmm] Regenerate enums .defs.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Regenerate enums .defs.
- Date: Wed, 3 Dec 2014 12:25:56 +0000 (UTC)
commit d78c50c0f0be90bc6a18a3d46d9df7aaf6f0a9e1
Author: Murray Cumming <murrayc murrayc com>
Date: Wed Dec 3 12:18:17 2014 +0100
Regenerate enums .defs.
gdk/src/gdk_enums.defs | 63 +++++++++++++++++++++++++++++++++++++++-
gtk/src/gtk_enums.defs | 74 +++++++++++++++++++++++++++++++++++++++++++++++-
2 files changed, 134 insertions(+), 3 deletions(-)
---
diff --git a/gdk/src/gdk_enums.defs b/gdk/src/gdk_enums.defs
index fc1cf92..fd506ac 100644
--- a/gdk/src/gdk_enums.defs
+++ b/gdk/src/gdk_enums.defs
@@ -685,7 +685,8 @@
;; GDK_DEBUG_DRAW = 1 << 9,
;; GDK_DEBUG_EVENTLOOP = 1 << 10,
;; GDK_DEBUG_FRAMES = 1 << 11,
-;; GDK_DEBUG_SETTINGS = 1 << 12
+;; GDK_DEBUG_SETTINGS = 1 << 12,
+;; GDK_DEBUG_OPENGL = 1 << 13,
;; } GdkDebugFlag;
(define-flags-extended DebugFlag
@@ -705,6 +706,7 @@
'("eventloop" "GDK_DEBUG_EVENTLOOP" "1 << 10")
'("frames" "GDK_DEBUG_FRAMES" "1 << 11")
'("settings" "GDK_DEBUG_SETTINGS" "1 << 12")
+ '("opengl" "GDK_DEBUG_OPENGL" "1 << 13")
)
)
@@ -726,6 +728,27 @@
)
;; Original typedef:
+;; typedef enum {
+;; GDK_GL_DISABLE = 1 << 0,
+;; GDK_GL_ALWAYS = 1 << 1,
+;; GDK_GL_SOFTWARE_DRAW_GL = 1 << 2,
+;; GDK_GL_SOFTWARE_DRAW_SURFACE = 1 << 3,
+;; GDK_GL_TEXTURE_RECTANGLE = 1 << 4
+;; } GdkGLFlags;
+
+(define-flags-extended GLFlags
+ (in-module "Gdk")
+ (c-name "GdkGLFlags")
+ (values
+ '("disable" "GDK_GL_DISABLE" "1 << 0")
+ '("always" "GDK_GL_ALWAYS" "1 << 1")
+ '("software-draw-gl" "GDK_GL_SOFTWARE_DRAW_GL" "1 << 2")
+ '("software-draw-surface" "GDK_GL_SOFTWARE_DRAW_SURFACE" "1 << 3")
+ '("texture-rectangle" "GDK_GL_TEXTURE_RECTANGLE" "1 << 4")
+ )
+)
+
+;; Original typedef:
;; typedef enum
;; {
;; GDK_ARG_STRING,
@@ -956,7 +979,8 @@
;; GDK_GRAB_ALREADY_GRABBED = 1,
;; GDK_GRAB_INVALID_TIME = 2,
;; GDK_GRAB_NOT_VIEWABLE = 3,
-;; GDK_GRAB_FROZEN = 4
+;; GDK_GRAB_FROZEN = 4,
+;; GDK_GRAB_FAILED = 5
;; } GdkGrabStatus;
(define-enum-extended GrabStatus
@@ -968,6 +992,7 @@
'("invalid-time" "GDK_GRAB_INVALID_TIME" "2")
'("not-viewable" "GDK_GRAB_NOT_VIEWABLE" "3")
'("frozen" "GDK_GRAB_FROZEN" "4")
+ '("failed" "GDK_GRAB_FAILED" "5")
)
)
@@ -1049,6 +1074,40 @@
)
)
+;; Original typedef:
+;; typedef enum {
+;; GDK_GL_PROFILE_DEFAULT,
+;; GDK_GL_PROFILE_LEGACY,
+;; GDK_GL_PROFILE_3_2_CORE
+;; } GdkGLProfile;
+
+(define-enum-extended GLProfile
+ (in-module "Gdk")
+ (c-name "GdkGLProfile")
+ (values
+ '("default" "GDK_GL_PROFILE_DEFAULT" "0")
+ '("legacy" "GDK_GL_PROFILE_LEGACY" "1")
+ '("3-2-core" "GDK_GL_PROFILE_3_2_CORE" "2")
+ )
+)
+
+;; Original typedef:
+;; typedef enum {
+;; GDK_GL_ERROR_NOT_AVAILABLE,
+;; GDK_GL_ERROR_UNSUPPORTED_FORMAT,
+;; GDK_GL_ERROR_UNSUPPORTED_PROFILE
+;; } GdkGLError;
+
+(define-enum-extended GLError
+ (in-module "Gdk")
+ (c-name "GdkGLError")
+ (values
+ '("not-available" "GDK_GL_ERROR_NOT_AVAILABLE" "0")
+ '("unsupported-format" "GDK_GL_ERROR_UNSUPPORTED_FORMAT" "1")
+ '("unsupported-profile" "GDK_GL_ERROR_UNSUPPORTED_PROFILE" "2")
+ )
+)
+
;; From gdkvisual.h
;; Original typedef:
diff --git a/gtk/src/gtk_enums.defs b/gtk/src/gtk_enums.defs
index 39928fe..a6a40a9 100644
--- a/gtk/src/gtk_enums.defs
+++ b/gtk/src/gtk_enums.defs
@@ -491,6 +491,35 @@
;; Original typedef:
;; typedef enum /*< skip >*/ {
+;; GTK_CSS_AFFECTS_FOREGROUND = (1 << 0),
+;; GTK_CSS_AFFECTS_BACKGROUND = (1 << 1),
+;; GTK_CSS_AFFECTS_BORDER = (1 << 2),
+;; GTK_CSS_AFFECTS_FONT = (1 << 3),
+;; GTK_CSS_AFFECTS_TEXT = (1 << 4),
+;; GTK_CSS_AFFECTS_ICON = (1 << 5),
+;; GTK_CSS_AFFECTS_OUTLINE = (1 << 6),
+;; GTK_CSS_AFFECTS_CLIP = (1 << 7),
+;; GTK_CSS_AFFECTS_SIZE = (1 << 8)
+;; } GtkCssAffects;
+
+(define-flags-extended CssAffects
+ (in-module "Gtk")
+ (c-name "GtkCssAffects")
+ (values
+ '("foreground" "GTK_CSS_AFFECTS_FOREGROUND" "(1 << 0)")
+ '("background" "GTK_CSS_AFFECTS_BACKGROUND" "(1 << 1)")
+ '("border" "GTK_CSS_AFFECTS_BORDER" "(1 << 2)")
+ '("font" "GTK_CSS_AFFECTS_FONT" "(1 << 3)")
+ '("text" "GTK_CSS_AFFECTS_TEXT" "(1 << 4)")
+ '("icon" "GTK_CSS_AFFECTS_ICON" "(1 << 5)")
+ '("outline" "GTK_CSS_AFFECTS_OUTLINE" "(1 << 6)")
+ '("clip" "GTK_CSS_AFFECTS_CLIP" "(1 << 7)")
+ '("size" "GTK_CSS_AFFECTS_SIZE" "(1 << 8)")
+ )
+)
+
+;; Original typedef:
+;; typedef enum /*< skip >*/ {
;; GTK_CSS_AREA_BORDER_BOX,
;; GTK_CSS_AREA_PADDING_BOX,
;; GTK_CSS_AREA_CONTENT_BOX
@@ -2310,6 +2339,25 @@
)
)
+;; From gtkmodelbutton.h
+
+;; Original typedef:
+;; typedef enum {
+;; GTK_BUTTON_ROLE_NORMAL,
+;; GTK_BUTTON_ROLE_CHECK,
+;; GTK_BUTTON_ROLE_RADIO
+;; } GtkButtonRole;
+
+(define-enum-extended ButtonRole
+ (in-module "Gtk")
+ (c-name "GtkButtonRole")
+ (values
+ '("normal" "GTK_BUTTON_ROLE_NORMAL" "0")
+ '("check" "GTK_BUTTON_ROLE_CHECK" "1")
+ '("radio" "GTK_BUTTON_ROLE_RADIO" "2")
+ )
+)
+
;; From gtknotebook.h
;; Original typedef:
@@ -2777,7 +2825,8 @@
;; {
;; GTK_POLICY_ALWAYS,
;; GTK_POLICY_AUTOMATIC,
-;; GTK_POLICY_NEVER
+;; GTK_POLICY_NEVER,
+;; GTK_POLICY_EXTERNAL
;; } GtkPolicyType;
(define-enum-extended PolicyType
@@ -2787,6 +2836,29 @@
'("always" "GTK_POLICY_ALWAYS" "0")
'("automatic" "GTK_POLICY_AUTOMATIC" "1")
'("never" "GTK_POLICY_NEVER" "2")
+ '("external" "GTK_POLICY_EXTERNAL" "3")
+ )
+)
+
+;; From gtksettingsprivate.h
+
+;; Original typedef:
+;; typedef enum
+;; {
+;; GTK_SETTINGS_SOURCE_DEFAULT,
+;; GTK_SETTINGS_SOURCE_THEME,
+;; GTK_SETTINGS_SOURCE_XSETTING,
+;; GTK_SETTINGS_SOURCE_APPLICATION
+;; } GtkSettingsSource;
+
+(define-enum-extended SettingsSource
+ (in-module "Gtk")
+ (c-name "GtkSettingsSource")
+ (values
+ '("default" "GTK_SETTINGS_SOURCE_DEFAULT" "0")
+ '("theme" "GTK_SETTINGS_SOURCE_THEME" "1")
+ '("xsetting" "GTK_SETTINGS_SOURCE_XSETTING" "2")
+ '("application" "GTK_SETTINGS_SOURCE_APPLICATION" "3")
)
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]