[gtkmm] Regenerated GDK .defs.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Regenerated GDK .defs.
- Date: Mon, 23 Jun 2014 11:19:54 +0000 (UTC)
commit 3a108f099187a0190a3d6ddd33115337393eb668
Author: Murray Cumming <murrayc murrayc com>
Date: Mon Jun 23 12:05:17 2014 +0200
Regenerated GDK .defs.
gdk/src/gdk_methods.defs | 126 +++++++++++++++--------------
gdk/src/gdk_signals.defs | 2 +-
tools/gen_scripts/gdk_generate_methods.sh | 2 +-
3 files changed, 67 insertions(+), 63 deletions(-)
---
diff --git a/gdk/src/gdk_methods.defs b/gdk/src/gdk_methods.defs
index 3a45058..5532705 100644
--- a/gdk/src/gdk_methods.defs
+++ b/gdk/src/gdk_methods.defs
@@ -901,57 +901,6 @@
-;; From gdkcolor.h
-
-(define-function gdk_color_get_type
- (c-name "gdk_color_get_type")
- (return-type "GType")
-)
-
-(define-method copy
- (of-object "GdkColor")
- (c-name "gdk_color_copy")
- (return-type "GdkColor*")
-)
-
-(define-method free
- (of-object "GdkColor")
- (c-name "gdk_color_free")
- (return-type "none")
-)
-
-(define-method hash
- (of-object "GdkColor")
- (c-name "gdk_color_hash")
- (return-type "guint")
-)
-
-(define-method equal
- (of-object "GdkColor")
- (c-name "gdk_color_equal")
- (return-type "gboolean")
- (parameters
- '("const-GdkColor*" "colorb")
- )
-)
-
-(define-function gdk_color_parse
- (c-name "gdk_color_parse")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "spec")
- '("GdkColor*" "color")
- )
-)
-
-(define-method to_string
- (of-object "GdkColor")
- (c-name "gdk_color_to_string")
- (return-type "gchar*")
-)
-
-
-
;; From gdkconfig.h
@@ -2106,6 +2055,11 @@
(return-type "GType")
)
+(define-function gdk_event_sequence_get_type
+ (c-name "gdk_event_sequence_get_type")
+ (return-type "GType")
+)
+
(define-function gdk_events_pending
(c-name "gdk_events_pending")
(return-type "gboolean")
@@ -2540,16 +2494,6 @@
;; From gdkinternals.h
-(define-function gdk_synthesize_window_state
- (c-name "gdk_synthesize_window_state")
- (return-type "none")
- (parameters
- '("GdkWindow*" "window")
- '("GdkWindowState" "unset_flags")
- '("GdkWindowState" "set_flags")
- )
-)
-
(define-function gdk_offscreen_window_get_type
(c-name "gdk_offscreen_window_get_type")
(return-type "GType")
@@ -5087,6 +5031,15 @@
)
)
+(define-method show_window_menu
+ (of-object "GdkWindow")
+ (c-name "gdk_window_show_window_menu")
+ (return-type "gboolean")
+ (parameters
+ '("GdkEvent*" "event")
+ )
+)
+
;; From gdkwindowimpl.h
@@ -5109,3 +5062,54 @@
;; From stamp-gdkenumtypes.h
+
+;; From gdkcolor.h
+
+(define-function gdk_color_get_type
+ (c-name "gdk_color_get_type")
+ (return-type "GType")
+)
+
+(define-method copy
+ (of-object "GdkColor")
+ (c-name "gdk_color_copy")
+ (return-type "GdkColor*")
+)
+
+(define-method free
+ (of-object "GdkColor")
+ (c-name "gdk_color_free")
+ (return-type "none")
+)
+
+(define-method hash
+ (of-object "GdkColor")
+ (c-name "gdk_color_hash")
+ (return-type "guint")
+)
+
+(define-method equal
+ (of-object "GdkColor")
+ (c-name "gdk_color_equal")
+ (return-type "gboolean")
+ (parameters
+ '("const-GdkColor*" "colorb")
+ )
+)
+
+(define-function gdk_color_parse
+ (c-name "gdk_color_parse")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "spec")
+ '("GdkColor*" "color")
+ )
+)
+
+(define-method to_string
+ (of-object "GdkColor")
+ (c-name "gdk_color_to_string")
+ (return-type "gchar*")
+)
+
+
diff --git a/gdk/src/gdk_signals.defs b/gdk/src/gdk_signals.defs
index 3182848..3cb1643 100644
--- a/gdk/src/gdk_signals.defs
+++ b/gdk/src/gdk_signals.defs
@@ -160,7 +160,7 @@
)
)
-;; From GdkRGBA
+;; GdkRGBA is neither a GObject nor a GInterface. Not checked for signals and properties.
;; From GdkScreen
diff --git a/tools/gen_scripts/gdk_generate_methods.sh b/tools/gen_scripts/gdk_generate_methods.sh
index 7c98c81..1682ec1 100755
--- a/tools/gen_scripts/gdk_generate_methods.sh
+++ b/tools/gen_scripts/gdk_generate_methods.sh
@@ -14,5 +14,5 @@ ROOT_DIR="$(dirname "$0")/../.."
OUT_DIR="$ROOT_DIR/gdk/src"
H2DEF_PY="$JHBUILD_SOURCES/glibmm/tools/defs_gen/h2def.py"
-$H2DEF_PY "$PREFIX"/gtk+/gdk/*.h > "$OUT_DIR"/gdk_methods.defs
+$H2DEF_PY "$PREFIX"/gtk+/gdk/*.h "$PREFIX"/gtk+/gdk/deprecated/*.h > "$OUT_DIR"/gdk_methods.defs
$H2DEF_PY "$PREFIX"/gdk-pixbuf/gdk-pixbuf/gdk*.h > "$OUT_DIR"/gdk_pixbuf_methods.defs
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]