[gtkmm] Regenerate gtk_signals.defs



commit 9a8f1debb6acf3270ff9550b8deff5fb346d73f1
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date:   Sun Mar 5 15:45:45 2017 +0100

    Regenerate gtk_signals.defs
    
    * tools/extra_defs_gen/generate_defs_gtk.cc: Add missing
    get_child_properties() for ActionBar, Assistant, ButtonBox and Menu.
    * gtk/src/gtk_signals.defs: Regenerate

 gtk/src/gtk_signals.defs                  |  138 +++++++++++++++++++++++++---
 tools/extra_defs_gen/generate_defs_gtk.cc |    8 ++-
 2 files changed, 129 insertions(+), 17 deletions(-)
---
diff --git a/gtk/src/gtk_signals.defs b/gtk/src/gtk_signals.defs
index 536422b..a477544 100644
--- a/gtk/src/gtk_signals.defs
+++ b/gtk/src/gtk_signals.defs
@@ -7086,7 +7086,7 @@
 (define-property digits
   (of-object "GtkScale")
   (prop-type "GParamInt")
-  (docs "The number of decimal places that are displayed in the value")
+  (docs "The number of decimal places to which the value is rounded")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -11716,6 +11716,60 @@
   (construct-only #f)
 )
 
+(define-child-property pack-type
+  (of-object "GtkActionBar")
+  (prop-type "GParamEnum")
+  (docs "A GtkPackType indicating whether the child is packed with reference to the start or end of the 
parent")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-child-property position
+  (of-object "GtkActionBar")
+  (prop-type "GParamInt")
+  (docs "The index of the child in the parent")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-child-property page-type
+  (of-object "GtkAssistant")
+  (prop-type "GParamEnum")
+  (docs "The type of the assistant page")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-child-property title
+  (of-object "GtkAssistant")
+  (prop-type "GParamString")
+  (docs "The title of the assistant page")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-child-property complete
+  (of-object "GtkAssistant")
+  (prop-type "GParamBoolean")
+  (docs "Whether all required fields on the page have been filled out")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-child-property has-padding
+  (of-object "GtkAssistant")
+  (prop-type "GParamBoolean")
+  (docs "Whether the assistant adds padding around the page")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
 (define-child-property expand
   (of-object "GtkBox")
   (prop-type "GParamBoolean")
@@ -11752,6 +11806,24 @@
   (construct-only #f)
 )
 
+(define-child-property secondary
+  (of-object "GtkButtonBox")
+  (prop-type "GParamBoolean")
+  (docs "If TRUE, the child appears in a secondary group of children, suitable for, e.g., help buttons")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-child-property non-homogeneous
+  (of-object "GtkButtonBox")
+  (prop-type "GParamBoolean")
+  (docs "If TRUE, the child will not be subject to homogeneous sizing")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
 (define-child-property x
   (of-object "GtkFixed")
   (prop-type "GParamInt")
@@ -11824,37 +11896,55 @@
   (construct-only #f)
 )
 
-(define-child-property resize
-  (of-object "GtkPaned")
-  (prop-type "GParamBoolean")
-  (docs "If TRUE, the child expands and shrinks along with the paned widget")
+(define-child-property x
+  (of-object "GtkLayout")
+  (prop-type "GParamInt")
+  (docs "X position of child widget")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-child-property shrink
-  (of-object "GtkPaned")
-  (prop-type "GParamBoolean")
-  (docs "If TRUE, the child can be made smaller than its requisition")
+(define-child-property y
+  (of-object "GtkLayout")
+  (prop-type "GParamInt")
+  (docs "Y position of child widget")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-child-property x
-  (of-object "GtkLayout")
+(define-child-property left-attach
+  (of-object "GtkMenu")
   (prop-type "GParamInt")
-  (docs "X position of child widget")
+  (docs "The column number to attach the left side of the child to")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-child-property y
-  (of-object "GtkLayout")
+(define-child-property right-attach
+  (of-object "GtkMenu")
   (prop-type "GParamInt")
-  (docs "Y position of child widget")
+  (docs "The column number to attach the right side of the child to")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-child-property top-attach
+  (of-object "GtkMenu")
+  (prop-type "GParamInt")
+  (docs "The row number to attach the top of the child to")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-child-property bottom-attach
+  (of-object "GtkMenu")
+  (prop-type "GParamInt")
+  (docs "The row number to attach the bottom of the child to")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -11941,6 +12031,24 @@
   (construct-only #f)
 )
 
+(define-child-property resize
+  (of-object "GtkPaned")
+  (prop-type "GParamBoolean")
+  (docs "If TRUE, the child expands and shrinks along with the paned widget")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-child-property shrink
+  (of-object "GtkPaned")
+  (prop-type "GParamBoolean")
+  (docs "If TRUE, the child can be made smaller than its requisition")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
 (define-child-property submenu
   (of-object "GtkPopoverMenu")
   (prop-type "GParamString")
diff --git a/tools/extra_defs_gen/generate_defs_gtk.cc b/tools/extra_defs_gen/generate_defs_gtk.cc
index c5f9dd3..0d70cc2 100644
--- a/tools/extra_defs_gen/generate_defs_gtk.cc
+++ b/tools/extra_defs_gen/generate_defs_gtk.cc
@@ -225,19 +225,23 @@ int main(int /* argc */, char** /* argv */)
             << get_defs( GTK_TYPE_WINDOW )
             ;
 
-  std::cout << get_child_properties( GTK_TYPE_BIN )
+  std::cout << get_child_properties( GTK_TYPE_ACTION_BAR )
+            << get_child_properties( GTK_TYPE_ASSISTANT )
+            << get_child_properties( GTK_TYPE_BIN )
             << get_child_properties( GTK_TYPE_BOX )
+            << get_child_properties( GTK_TYPE_BUTTON_BOX )
             << get_child_properties( GTK_TYPE_FIXED )
             << get_child_properties( GTK_TYPE_FLOW_BOX )
             << get_child_properties( GTK_TYPE_GRID )
             << get_child_properties( GTK_TYPE_HEADER_BAR )
-            << get_child_properties( GTK_TYPE_PANED )
             << get_child_properties( GTK_TYPE_ICON_VIEW )
             << get_child_properties( GTK_TYPE_LAYOUT )
             << get_child_properties( GTK_TYPE_LIST_BOX )
+            << get_child_properties( GTK_TYPE_MENU )
             << get_child_properties( GTK_TYPE_MENU_SHELL )
             << get_child_properties( GTK_TYPE_NOTEBOOK )
             << get_child_properties( GTK_TYPE_OVERLAY )
+            << get_child_properties( GTK_TYPE_PANED )
             << get_child_properties( GTK_TYPE_POPOVER_MENU )
             << get_child_properties( GTK_TYPE_STACK )
             << get_child_properties( GTK_TYPE_TEXT_VIEW )


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