[gtkmm] Regenerate gtk_signals.defs.patch and gtk_signals.defs



commit 47a84164987d68e520f6c51a946e615bb3ce4227
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date:   Thu Mar 3 13:32:04 2016 +0100

    Regenerate gtk_signals.defs.patch and gtk_signals.defs
    
    * tools/extra_defs_gen/generate_defs_gtk.cc: Add get_defs(GTK_TYPE_SHORTCUTS_*)
    and get_child_properties(GTK_TYPE_OVERLAY).
    * gtk/src/gtk_signals.defs:
    * gtk/src/gtk_signals.defs.patch: Regenerated.
    The new parameter in GtkPlacesSidebar::show-other-locations is not included.
    That change will probably be reverted. See gtk+ bug #754743.

 gtk/src/gtk_signals.defs                  |  307 +++++++++++++++++++++++++----
 gtk/src/gtk_signals.defs.patch            |   60 +++---
 tools/extra_defs_gen/generate_defs_gtk.cc |    5 +
 3 files changed, 296 insertions(+), 76 deletions(-)
---
diff --git a/gtk/src/gtk_signals.defs b/gtk/src/gtk_signals.defs
index 970faa8..041b88a 100644
--- a/gtk/src/gtk_signals.defs
+++ b/gtk/src/gtk_signals.defs
@@ -1067,15 +1067,6 @@
   (construct-only #f)
 )
 
-(define-property focus-on-click
-  (of-object "GtkButton")
-  (prop-type "GParamBoolean")
-  (docs "Whether the button grabs focus when it is clicked with the mouse")
-  (readable #t)
-  (writable #t)
-  (construct-only #f)
-)
-
 (define-property xalign
   (of-object "GtkButton")
   (prop-type "GParamFloat")
@@ -2786,15 +2777,6 @@
   (construct-only #f)
 )
 
-(define-property focus-on-click
-  (of-object "GtkComboBox")
-  (prop-type "GParamBoolean")
-  (docs "Whether the combo box grabs focus when it is clicked with the mouse")
-  (readable #t)
-  (writable #t)
-  (construct-only #f)
-)
-
 (define-property popup-shown
   (of-object "GtkComboBox")
   (prop-type "GParamBoolean")
@@ -3026,19 +3008,19 @@
 
 ;; From GtkDialog
 
-(define-signal response
+(define-signal close
   (of-object "GtkDialog")
   (return-type "void")
   (when "last")
-  (parameters
-    '("gint" "p0")
-  )
 )
 
-(define-signal close
+(define-signal response
   (of-object "GtkDialog")
   (return-type "void")
   (when "last")
+  (parameters
+    '("gint" "p0")
+  )
 )
 
 (define-property use-header-bar
@@ -4075,15 +4057,6 @@
   (construct-only #t)
 )
 
-(define-property focus-on-click
-  (of-object "GtkFileChooserButton")
-  (prop-type "GParamBoolean")
-  (docs "Whether the button grabs focus when it is clicked with the mouse")
-  (readable #t)
-  (writable #t)
-  (construct-only #f)
-)
-
 (define-property title
   (of-object "GtkFileChooserButton")
   (prop-type "GParamString")
@@ -5173,19 +5146,19 @@
 
 ;; From GtkInfoBar
 
-(define-signal response
+(define-signal close
   (of-object "GtkInfoBar")
   (return-type "void")
   (when "last")
-  (parameters
-    '("gint" "p0")
-  )
 )
 
-(define-signal close
+(define-signal response
   (of-object "GtkInfoBar")
   (return-type "void")
   (when "last")
+  (parameters
+    '("gint" "p0")
+  )
 )
 
 (define-property message-type
@@ -6864,6 +6837,24 @@
   (when "first")
 )
 
+(define-signal mount
+  (of-object "GtkPlacesSidebar")
+  (return-type "void")
+  (when "first")
+  (parameters
+    '("GMountOperation*" "p0")
+  )
+)
+
+(define-signal unmount
+  (of-object "GtkPlacesSidebar")
+  (return-type "void")
+  (when "first")
+  (parameters
+    '("GMountOperation*" "p0")
+  )
+)
+
 (define-property location
   (of-object "GtkPlacesSidebar")
   (prop-type "GParamObject")
@@ -9124,6 +9115,224 @@
   (construct-only #f)
 )
 
+;; From GtkShortcutsGroup
+
+(define-property title
+  (of-object "GtkShortcutsGroup")
+  (prop-type "GParamString")
+  (docs "Title")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property view
+  (of-object "GtkShortcutsGroup")
+  (prop-type "GParamString")
+  (docs "View")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property accel-size-group
+  (of-object "GtkShortcutsGroup")
+  (prop-type "GParamObject")
+  (docs "Accelerator Size Group")
+  (readable #f)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property title-size-group
+  (of-object "GtkShortcutsGroup")
+  (prop-type "GParamObject")
+  (docs "Title Size Group")
+  (readable #f)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property height
+  (of-object "GtkShortcutsGroup")
+  (prop-type "GParamUInt")
+  (docs "Height")
+  (readable #t)
+  (writable #f)
+  (construct-only #f)
+)
+
+;; From GtkShortcutsSection
+
+(define-signal change-current-page
+  (of-object "GtkShortcutsSection")
+  (return-type "gboolean")
+  (when "last")
+  (parameters
+    '("gint" "p0")
+  )
+)
+
+(define-property title
+  (of-object "GtkShortcutsSection")
+  (prop-type "GParamString")
+  (docs "Title")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property section-name
+  (of-object "GtkShortcutsSection")
+  (prop-type "GParamString")
+  (docs "Section Name")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property view-name
+  (of-object "GtkShortcutsSection")
+  (prop-type "GParamString")
+  (docs "View Name")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property max-height
+  (of-object "GtkShortcutsSection")
+  (prop-type "GParamUInt")
+  (docs "Maximum Height")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+;; From GtkShortcutsShortcut
+
+(define-property accelerator
+  (of-object "GtkShortcutsShortcut")
+  (prop-type "GParamString")
+  (docs "The accelerator keys for shortcuts of type 'Accelerator'")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property icon
+  (of-object "GtkShortcutsShortcut")
+  (prop-type "GParamObject")
+  (docs "The icon to show for shortcuts of type 'Other Gesture'")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property icon-set
+  (of-object "GtkShortcutsShortcut")
+  (prop-type "GParamBoolean")
+  (docs "Whether an icon has been set")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property title
+  (of-object "GtkShortcutsShortcut")
+  (prop-type "GParamString")
+  (docs "A short description for the shortcut")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property subtitle
+  (of-object "GtkShortcutsShortcut")
+  (prop-type "GParamString")
+  (docs "A short description for the gesture")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property subtitle-set
+  (of-object "GtkShortcutsShortcut")
+  (prop-type "GParamBoolean")
+  (docs "Whether a subtitle has been set")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property accel-size-group
+  (of-object "GtkShortcutsShortcut")
+  (prop-type "GParamObject")
+  (docs "Accelerator Size Group")
+  (readable #f)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property title-size-group
+  (of-object "GtkShortcutsShortcut")
+  (prop-type "GParamObject")
+  (docs "Title Size Group")
+  (readable #f)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property direction
+  (of-object "GtkShortcutsShortcut")
+  (prop-type "GParamEnum")
+  (docs "Text direction for which this shortcut is active")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property shortcut-type
+  (of-object "GtkShortcutsShortcut")
+  (prop-type "GParamEnum")
+  (docs "The type of shortcut that is represented")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+;; From GtkShortcutsWindow
+
+(define-signal close
+  (of-object "GtkShortcutsWindow")
+  (return-type "void")
+  (when "last")
+)
+
+(define-signal search
+  (of-object "GtkShortcutsWindow")
+  (return-type "void")
+  (when "last")
+)
+
+(define-property section-name
+  (of-object "GtkShortcutsWindow")
+  (prop-type "GParamString")
+  (docs "Section Name")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property view-name
+  (of-object "GtkShortcutsWindow")
+  (prop-type "GParamString")
+  (docs "View Name")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
 ;; From GtkSizeGroup
 
 (define-property mode
@@ -12231,12 +12440,6 @@
   )
 )
 
-(define-signal composited-changed
-  (of-object "GtkWidget")
-  (return-type "void")
-  (when "last")
-)
-
 (define-signal delete-event
   (of-object "GtkWidget")
   (return-type "gboolean")
@@ -13497,6 +13700,24 @@
   (construct-only #f)
 )
 
+(define-child-property pass-through
+  (of-object "GtkOverlay")
+  (prop-type "GParamBoolean")
+  (docs "Pass through input, does not affect main child")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-child-property index
+  (of-object "GtkOverlay")
+  (prop-type "GParamInt")
+  (docs "The index of the overlay in the parent, -1 for the main child")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
 (define-child-property submenu
   (of-object "GtkPopoverMenu")
   (prop-type "GParamString")
diff --git a/gtk/src/gtk_signals.defs.patch b/gtk/src/gtk_signals.defs.patch
index d4f5e73..4ff7c44 100644
--- a/gtk/src/gtk_signals.defs.patch
+++ b/gtk/src/gtk_signals.defs.patch
@@ -1,6 +1,6 @@
---- ./../../gtk/src/gtk_signals.defs.orig      2015-07-19 18:40:07.056725612 +0200
-+++ ./../../gtk/src/gtk_signals.defs   2015-07-19 18:59:53.172028886 +0200
-@@ -2472,21 +2472,21 @@
+--- ./../../gtk/src/gtk_signals.defs.orig      2016-03-03 11:05:17.315383570 +0100
++++ ./../../gtk/src/gtk_signals.defs   2016-03-03 11:06:47.487578859 +0100
+@@ -2463,21 +2463,21 @@
    (construct-only #f)
  )
  
@@ -69,7 +69,7 @@
    (of-object "GtkComboBox")
    (prop-type "GParamObject")
    (docs "The model for the combo box")
-@@ -3004,21 +3004,21 @@
+@@ -2995,21 +2995,21 @@
  )
  
  ;; From GtkCssProvider
@@ -87,12 +87,12 @@
  
  ;; From GtkDialog
  
- (define-signal response
+ (define-signal close
    (of-object "GtkDialog")
    (return-type "void")
    (when "last")
-   (parameters
-@@ -3157,31 +3157,31 @@
+ )
+@@ -3148,31 +3148,31 @@
      '("const-gchar*" "p0")
    )
  )
@@ -126,7 +126,7 @@
    (readable #t)
    (writable #t)
    (construct-only #f)
-@@ -6020,21 +6020,21 @@
+@@ -6074,21 +6074,21 @@
    (of-object "GtkMenuItem")
    (return-type "void")
    (when "first")
@@ -149,7 +149,7 @@
    (parameters
      '("gint" "p0")
    )
-@@ -6701,32 +6701,32 @@
+@@ -6755,32 +6755,32 @@
    (construct-only #f)
  )
  
@@ -184,7 +184,7 @@
    (when "first")
    (parameters
      '("const-gchar*" "p0")
-@@ -6745,41 +6745,41 @@
+@@ -6799,41 +6799,41 @@
    (return-type "void")
    (when "first")
  )
@@ -230,7 +230,7 @@
    (when "first")
  )
  
-@@ -7186,21 +7186,21 @@
+@@ -7267,21 +7267,21 @@
  )
  
  (define-signal status-changed
@@ -253,7 +253,7 @@
    (parameters
      '("GtkWidget*" "p0")
      '("GtkPageSetup*" "p1")
-@@ -7948,21 +7948,21 @@
+@@ -8029,21 +8029,21 @@
    (docs "Whether the child is revealed and the animation target reached")
    (readable #t)
    (writable #f)
@@ -276,9 +276,9 @@
    (of-object "GtkScale")
    (prop-type "GParamInt")
    (docs "The number of decimal places that are displayed in the value")
-@@ -8409,21 +8409,21 @@
+@@ -8490,21 +8490,21 @@
    (prop-type "GParamString")
-   (docs "Name of default font to use")
+   (docs "The default font family and size to use")
    (readable #t)
    (writable #t)
    (construct-only #f)
@@ -299,7 +299,7 @@
    (prop-type "GParamString")
    (docs "List of currently active GTK modules")
    (readable #t)
-@@ -9085,21 +9085,21 @@
+@@ -9384,21 +9384,21 @@
    (of-object "GtkSpinButton")
    (return-type "void")
    (when "last")
@@ -322,12 +322,12 @@
  )
  
  (define-signal wrapped
-@@ -9307,39 +9307,39 @@
+@@ -9633,39 +9633,39 @@
+   (parameters
+     '("gint" "p0")
    )
  )
  
- ;; From GtkStatusIcon
- 
  (define-signal button-press-event
    (of-object "GtkStatusIcon")
    (return-type "gboolean")
@@ -365,7 +365,7 @@
    (parameters
      '("gint" "p0")
      '("gint" "p1")
-@@ -9347,21 +9347,21 @@
+@@ -9673,21 +9673,21 @@
      '("GtkTooltip*" "p3")
    )
  )
@@ -387,8 +387,8 @@
    (when "first")
  )
  
- (define-signal size-changed
-@@ -9981,53 +9981,53 @@
+ (define-property pixbuf
+@@ -10298,53 +10298,53 @@
    (of-object "GtkTextBuffer")
    (return-type "void")
    (when "last")
@@ -447,7 +447,7 @@
  )
  
  (define-signal end-user-action
-@@ -10121,21 +10121,21 @@
+@@ -10438,21 +10438,21 @@
  
  ;; From GtkTextTag
  
@@ -470,7 +470,7 @@
    (readable #t)
    (writable #t)
    (construct-only #t)
-@@ -11207,21 +11207,21 @@
+@@ -11560,21 +11560,21 @@
    )
  )
  
@@ -493,7 +493,7 @@
    (return-type "void")
    (when "first")
  )
-@@ -11956,30 +11956,30 @@
+@@ -12315,30 +12315,30 @@
    (parameters
      '("gboolean" "p0")
    )
@@ -526,7 +526,7 @@
    (parameters
      '("gboolean" "p0")
    )
-@@ -12034,198 +12034,198 @@
+@@ -12393,192 +12393,192 @@
    (parameters
      '("GdkEvent*" "p0")
    )
@@ -582,12 +582,6 @@
    )
  )
  
- (define-signal composited-changed
-   (of-object "GtkWidget")
-   (return-type "void")
-   (when "last")
- )
- 
  (define-signal delete-event
    (of-object "GtkWidget")
    (return-type "gboolean")
@@ -745,7 +739,7 @@
    (parameters
      '("GtkSelectionData*" "p0")
      '("guint" "p1")
-@@ -12241,30 +12241,30 @@
+@@ -12594,30 +12594,30 @@
      '("guint" "p1")
      '("guint" "p2")
    )
@@ -778,7 +772,7 @@
    (parameters
      '("GdkDragContext*" "p0")
      '("guint" "p1")
-@@ -12356,48 +12356,48 @@
+@@ -12709,48 +12709,48 @@
      '("guint" "p4")
      '("guint" "p5")
    )
diff --git a/tools/extra_defs_gen/generate_defs_gtk.cc b/tools/extra_defs_gen/generate_defs_gtk.cc
index db96a48..8e36053 100644
--- a/tools/extra_defs_gen/generate_defs_gtk.cc
+++ b/tools/extra_defs_gen/generate_defs_gtk.cc
@@ -205,6 +205,10 @@ int main(int argc, char** argv)
             << get_defs( GTK_TYPE_SEPARATOR )
             << get_defs( GTK_TYPE_SEPARATOR_TOOL_ITEM )
             << get_defs( GTK_TYPE_SETTINGS )
+            << get_defs( GTK_TYPE_SHORTCUTS_GROUP )
+            << get_defs( GTK_TYPE_SHORTCUTS_SECTION )
+            << get_defs( GTK_TYPE_SHORTCUTS_SHORTCUT )
+            << get_defs( GTK_TYPE_SHORTCUTS_WINDOW )
             << get_defs( GTK_TYPE_SIZE_GROUP )
 #ifdef GDK_WINDOWING_X11
             << get_defs( GTK_TYPE_SOCKET )
@@ -263,6 +267,7 @@ int main(int argc, char** argv)
             << get_child_properties( GTK_TYPE_LIST_BOX )
             << get_child_properties( GTK_TYPE_MENU_SHELL )
             << get_child_properties( GTK_TYPE_NOTEBOOK )
+            << get_child_properties( GTK_TYPE_OVERLAY )
             << get_child_properties( GTK_TYPE_POPOVER_MENU )
 #ifdef GDK_WINDOWING_X11
             << get_child_properties( GTK_TYPE_SOCKET )


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