[gtkmm] Update .defs.



commit 7154c36c9c0e0987a39b3fdadb45fe853ec65e48
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Mar 28 12:26:00 2016 +0200

    Update .defs.

 gtk/src/gtk_enums.defs   |   51 +++++----
 gtk/src/gtk_methods.defs |  254 +++++++++++++++++++++++-----------------------
 2 files changed, 157 insertions(+), 148 deletions(-)
---
diff --git a/gtk/src/gtk_enums.defs b/gtk/src/gtk_enums.defs
index f0ba630..122bcb6 100644
--- a/gtk/src/gtk_enums.defs
+++ b/gtk/src/gtk_enums.defs
@@ -19,7 +19,9 @@
 ;;   GTK_LICENSE_GPL_2_0_ONLY,
 ;;   GTK_LICENSE_GPL_3_0_ONLY,
 ;;   GTK_LICENSE_LGPL_2_1_ONLY,
-;;   GTK_LICENSE_LGPL_3_0_ONLY
+;;   GTK_LICENSE_LGPL_3_0_ONLY,
+;; 
+;;   GTK_LICENSE_AGPL_3_0
 ;; } GtkLicense;
 
 (define-enum-extended License
@@ -39,6 +41,7 @@
     '("gpl-3-0-only" "GTK_LICENSE_GPL_3_0_ONLY" "10")
     '("lgpl-2-1-only" "GTK_LICENSE_LGPL_2_1_ONLY" "11")
     '("lgpl-3-0-only" "GTK_LICENSE_LGPL_3_0_ONLY" "12")
+    '("agpl-3-0" "GTK_LICENSE_AGPL_3_0" "13")
   )
 )
 
@@ -369,7 +372,8 @@
 ;;   GTK_DEBUG_INTERACTIVE     = 1 << 17,
 ;;   GTK_DEBUG_TOUCHSCREEN     = 1 << 18,
 ;;   GTK_DEBUG_ACTIONS         = 1 << 19,
-;;   GTK_DEBUG_RESIZE          = 1 << 20
+;;   GTK_DEBUG_RESIZE          = 1 << 20,
+;;   GTK_DEBUG_LAYOUT          = 1 << 21
 ;; } GtkDebugFlag;
 
 (define-flags-extended DebugFlag
@@ -397,6 +401,7 @@
     '("touchscreen" "GTK_DEBUG_TOUCHSCREEN" "1 << 18")
     '("actions" "GTK_DEBUG_ACTIONS" "1 << 19")
     '("resize" "GTK_DEBUG_RESIZE" "1 << 20")
+    '("layout" "GTK_DEBUG_LAYOUT" "1 << 21")
   )
 )
 
@@ -454,7 +459,7 @@
   )
 )
 
-;; From gtkdnd.h
+;; From gtkdragdest.h
 
 ;; Original typedef:
 ;; typedef enum {
@@ -475,25 +480,6 @@
   )
 )
 
-;; Original typedef:
-;; typedef enum {
-;;   GTK_TARGET_SAME_APP = 1 << 0,    /*< nick=same-app >*/
-;;   GTK_TARGET_SAME_WIDGET = 1 << 1, /*< nick=same-widget >*/
-;;   GTK_TARGET_OTHER_APP = 1 << 2,   /*< nick=other-app >*/
-;;   GTK_TARGET_OTHER_WIDGET = 1 << 3 /*< nick=other-widget >*/
-;; } GtkTargetFlags;
-
-(define-flags-extended TargetFlags
-  (in-module "Gtk")
-  (c-name "GtkTargetFlags")
-  (values
-    '("same-app" "GTK_TARGET_SAME_APP" "1 << 0")
-    '("same-widget" "GTK_TARGET_SAME_WIDGET" "1 << 1")
-    '("other-app" "GTK_TARGET_OTHER_APP" "1 << 2")
-    '("other-widget" "GTK_TARGET_OTHER_WIDGET" "1 << 3")
-  )
-)
-
 ;; From gtkentry.h
 
 ;; Original typedef:
@@ -2412,6 +2398,27 @@
   )
 )
 
+;; From gtkselection.h
+
+;; Original typedef:
+;; typedef enum {
+;;   GTK_TARGET_SAME_APP = 1 << 0,    /*< nick=same-app >*/
+;;   GTK_TARGET_SAME_WIDGET = 1 << 1, /*< nick=same-widget >*/
+;;   GTK_TARGET_OTHER_APP = 1 << 2,   /*< nick=other-app >*/
+;;   GTK_TARGET_OTHER_WIDGET = 1 << 3 /*< nick=other-widget >*/
+;; } GtkTargetFlags;
+
+(define-flags-extended TargetFlags
+  (in-module "Gtk")
+  (c-name "GtkTargetFlags")
+  (values
+    '("same-app" "GTK_TARGET_SAME_APP" "1 << 0")
+    '("same-widget" "GTK_TARGET_SAME_WIDGET" "1 << 1")
+    '("other-app" "GTK_TARGET_OTHER_APP" "1 << 2")
+    '("other-widget" "GTK_TARGET_OTHER_WIDGET" "1 << 3")
+  )
+)
+
 ;; From gtkshortcutsshortcut.h
 
 ;; Original typedef:
diff --git a/gtk/src/gtk_methods.defs b/gtk/src/gtk_methods.defs
index af17a3f..39052dc 100644
--- a/gtk/src/gtk_methods.defs
+++ b/gtk/src/gtk_methods.defs
@@ -1524,6 +1524,7 @@
     '("gpl-3-0-only" "GTK_LICENSE_GPL_3_0_ONLY")
     '("lgpl-2-1-only" "GTK_LICENSE_LGPL_2_1_ONLY")
     '("lgpl-3-0-only" "GTK_LICENSE_LGPL_3_0_ONLY")
+    '("agpl-3-0" "GTK_LICENSE_AGPL_3_0")
   )
 )
 
@@ -1717,6 +1718,7 @@
     '("touchscreen" "GTK_DEBUG_TOUCHSCREEN")
     '("actions" "GTK_DEBUG_ACTIONS")
     '("resize" "GTK_DEBUG_RESIZE")
+    '("layout" "GTK_DEBUG_LAYOUT")
   )
 )
 
@@ -1762,18 +1764,6 @@
   )
 )
 
-(define-flags TargetFlags
-  (in-module "Gtk")
-  (c-name "GtkTargetFlags")
-  (gtype-id "GTK_TYPE_TARGET_FLAGS")
-  (values
-    '("same-app" "GTK_TARGET_SAME_APP")
-    '("same-widget" "GTK_TARGET_SAME_WIDGET")
-    '("other-app" "GTK_TARGET_OTHER_APP")
-    '("other-widget" "GTK_TARGET_OTHER_WIDGET")
-  )
-)
-
 (define-enum EntryIconPosition
   (in-module "Gtk")
   (c-name "GtkEntryIconPosition")
@@ -2882,6 +2872,18 @@
   )
 )
 
+(define-flags TargetFlags
+  (in-module "Gtk")
+  (c-name "GtkTargetFlags")
+  (gtype-id "GTK_TYPE_TARGET_FLAGS")
+  (values
+    '("same-app" "GTK_TARGET_SAME_APP")
+    '("same-widget" "GTK_TARGET_SAME_WIDGET")
+    '("other-app" "GTK_TARGET_OTHER_APP")
+    '("other-widget" "GTK_TARGET_OTHER_WIDGET")
+  )
+)
+
 (define-enum ShortcutType
   (in-module "Gtk")
   (c-name "GtkShortcutType")
@@ -8047,6 +8049,12 @@
   (return-type "none")
 )
 
+(define-method get_selection
+  (of-object "GtkClipboard")
+  (c-name "gtk_clipboard_get_selection")
+  (return-type "GdkAtom")
+)
+
 
 
 ;; From gtkcolorbutton.h
@@ -9441,105 +9449,6 @@
   )
 )
 
-(define-function gtk_drag_dest_set
-  (c-name "gtk_drag_dest_set")
-  (return-type "none")
-  (parameters
-    '("GtkWidget*" "widget")
-    '("GtkDestDefaults" "flags")
-    '("const-GtkTargetEntry*" "targets")
-    '("gint" "n_targets")
-    '("GdkDragAction" "actions")
-  )
-)
-
-(define-function gtk_drag_dest_set_proxy
-  (c-name "gtk_drag_dest_set_proxy")
-  (return-type "none")
-  (parameters
-    '("GtkWidget*" "widget")
-    '("GdkWindow*" "proxy_window")
-    '("GdkDragProtocol" "protocol")
-    '("gboolean" "use_coordinates")
-  )
-)
-
-(define-function gtk_drag_dest_unset
-  (c-name "gtk_drag_dest_unset")
-  (return-type "none")
-  (parameters
-    '("GtkWidget*" "widget")
-  )
-)
-
-(define-function gtk_drag_dest_find_target
-  (c-name "gtk_drag_dest_find_target")
-  (return-type "GdkAtom")
-  (parameters
-    '("GtkWidget*" "widget")
-    '("GdkDragContext*" "context")
-    '("GtkTargetList*" "target_list")
-  )
-)
-
-(define-function gtk_drag_dest_get_target_list
-  (c-name "gtk_drag_dest_get_target_list")
-  (return-type "GtkTargetList*")
-  (parameters
-    '("GtkWidget*" "widget")
-  )
-)
-
-(define-function gtk_drag_dest_set_target_list
-  (c-name "gtk_drag_dest_set_target_list")
-  (return-type "none")
-  (parameters
-    '("GtkWidget*" "widget")
-    '("GtkTargetList*" "target_list")
-  )
-)
-
-(define-function gtk_drag_dest_add_text_targets
-  (c-name "gtk_drag_dest_add_text_targets")
-  (return-type "none")
-  (parameters
-    '("GtkWidget*" "widget")
-  )
-)
-
-(define-function gtk_drag_dest_add_image_targets
-  (c-name "gtk_drag_dest_add_image_targets")
-  (return-type "none")
-  (parameters
-    '("GtkWidget*" "widget")
-  )
-)
-
-(define-function gtk_drag_dest_add_uri_targets
-  (c-name "gtk_drag_dest_add_uri_targets")
-  (return-type "none")
-  (parameters
-    '("GtkWidget*" "widget")
-  )
-)
-
-(define-function gtk_drag_dest_set_track_motion
-  (c-name "gtk_drag_dest_set_track_motion")
-  (return-type "none")
-  (parameters
-    '("GtkWidget*" "widget")
-    '("gboolean" "track_motion")
-  )
-)
-
-(define-function gtk_drag_dest_get_track_motion
-  (c-name "gtk_drag_dest_get_track_motion")
-  (return-type "gboolean")
-  (parameters
-    '("GtkWidget*" "widget")
-  )
-)
-
 (define-function gtk_drag_begin_with_coordinates
   (c-name "gtk_drag_begin_with_coordinates")
   (return-type "GdkDragContext*")
@@ -9660,6 +9569,109 @@
 
 
 
+;; From gtkdragdest.h
+
+(define-function gtk_drag_dest_set
+  (c-name "gtk_drag_dest_set")
+  (return-type "none")
+  (parameters
+    '("GtkWidget*" "widget")
+    '("GtkDestDefaults" "flags")
+    '("const-GtkTargetEntry*" "targets")
+    '("gint" "n_targets")
+    '("GdkDragAction" "actions")
+  )
+)
+
+(define-function gtk_drag_dest_set_proxy
+  (c-name "gtk_drag_dest_set_proxy")
+  (return-type "none")
+  (parameters
+    '("GtkWidget*" "widget")
+    '("GdkWindow*" "proxy_window")
+    '("GdkDragProtocol" "protocol")
+    '("gboolean" "use_coordinates")
+  )
+)
+
+(define-function gtk_drag_dest_unset
+  (c-name "gtk_drag_dest_unset")
+  (return-type "none")
+  (parameters
+    '("GtkWidget*" "widget")
+  )
+)
+
+(define-function gtk_drag_dest_find_target
+  (c-name "gtk_drag_dest_find_target")
+  (return-type "GdkAtom")
+  (parameters
+    '("GtkWidget*" "widget")
+    '("GdkDragContext*" "context")
+    '("GtkTargetList*" "target_list")
+  )
+)
+
+(define-function gtk_drag_dest_get_target_list
+  (c-name "gtk_drag_dest_get_target_list")
+  (return-type "GtkTargetList*")
+  (parameters
+    '("GtkWidget*" "widget")
+  )
+)
+
+(define-function gtk_drag_dest_set_target_list
+  (c-name "gtk_drag_dest_set_target_list")
+  (return-type "none")
+  (parameters
+    '("GtkWidget*" "widget")
+    '("GtkTargetList*" "target_list")
+  )
+)
+
+(define-function gtk_drag_dest_add_text_targets
+  (c-name "gtk_drag_dest_add_text_targets")
+  (return-type "none")
+  (parameters
+    '("GtkWidget*" "widget")
+  )
+)
+
+(define-function gtk_drag_dest_add_image_targets
+  (c-name "gtk_drag_dest_add_image_targets")
+  (return-type "none")
+  (parameters
+    '("GtkWidget*" "widget")
+  )
+)
+
+(define-function gtk_drag_dest_add_uri_targets
+  (c-name "gtk_drag_dest_add_uri_targets")
+  (return-type "none")
+  (parameters
+    '("GtkWidget*" "widget")
+  )
+)
+
+(define-function gtk_drag_dest_set_track_motion
+  (c-name "gtk_drag_dest_set_track_motion")
+  (return-type "none")
+  (parameters
+    '("GtkWidget*" "widget")
+    '("gboolean" "track_motion")
+  )
+)
+
+(define-function gtk_drag_dest_get_track_motion
+  (c-name "gtk_drag_dest_get_track_motion")
+  (return-type "gboolean")
+  (parameters
+    '("GtkWidget*" "widget")
+  )
+)
+
+
+
 ;; From gtkdragsource.h
 
 (define-function gtk_drag_source_set
@@ -32235,11 +32247,6 @@
   (return-type "GType")
 )
 
-(define-function gtk_target_flags_get_type
-  (c-name "gtk_target_flags_get_type")
-  (return-type "GType")
-)
-
 (define-function gtk_entry_icon_position_get_type
   (c-name "gtk_entry_icon_position_get_type")
   (return-type "GType")
@@ -32615,6 +32622,11 @@
   (return-type "GType")
 )
 
+(define-function gtk_target_flags_get_type
+  (c-name "gtk_target_flags_get_type")
+  (return-type "GType")
+)
+
 (define-function gtk_shortcut_type_get_type
   (c-name "gtk_shortcut_type_get_type")
   (return-type "GType")
@@ -35088,16 +35100,6 @@
   )
 )
 
-(define-method iter_add_qclass
-  (of-object "GtkWidgetPath")
-  (c-name "gtk_widget_path_iter_add_qclass")
-  (return-type "none")
-  (parameters
-    '("gint" "pos")
-    '("GQuark" "qname")
-  )
-)
-
 
 
 ;; From gtkwin32embed.h


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]