[gtkmm] Regenerate *_methods.defs



commit 0bab2ba16ffa15551fbc7276635744d69f80d32e
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Aug 22 20:01:10 2014 +0200

    Regenerate *_methods.defs

 gtk/src/gtk_methods.defs |  727 ++++++++++++++++++++++++++++------------------
 1 files changed, 442 insertions(+), 285 deletions(-)
---
diff --git a/gtk/src/gtk_methods.defs b/gtk/src/gtk_methods.defs
index c253cef..1431fdb 100644
--- a/gtk/src/gtk_methods.defs
+++ b/gtk/src/gtk_methods.defs
@@ -2039,7 +2039,6 @@
     '("parent-sibling-state" "GTK_CSS_CHANGE_PARENT_SIBLING_STATE")
     '("source" "GTK_CSS_CHANGE_SOURCE")
     '("animate" "GTK_CSS_CHANGE_ANIMATE")
-    '("force-invalidate" "GTK_CSS_CHANGE_FORCE_INVALIDATE")
     '("reserved-bit" "GTK_CSS_CHANGE_RESERVED_BIT")
   )
 )
@@ -2211,6 +2210,8 @@
     '("pixel-cache" "GTK_DEBUG_PIXEL_CACHE")
     '("no-pixel-cache" "GTK_DEBUG_NO_PIXEL_CACHE")
     '("interactive" "GTK_DEBUG_INTERACTIVE")
+    '("touchscreen" "GTK_DEBUG_TOUCHSCREEN")
+    '("actions" "GTK_DEBUG_ACTIONS")
   )
 )
 
@@ -2788,6 +2789,7 @@
     '("dir-rtl" "GTK_STATE_FLAG_DIR_RTL")
     '("link" "GTK_STATE_FLAG_LINK")
     '("visited" "GTK_STATE_FLAG_VISITED")
+    '("checked" "GTK_STATE_FLAG_CHECKED")
   )
 )
 
@@ -3503,6 +3505,16 @@
   )
 )
 
+(define-enum TextViewLayer
+  (in-module "Gtk")
+  (c-name "GtkTextViewLayer")
+  (gtype-id "GTK_TYPE_TEXT_VIEW_LAYER")
+  (values
+    '("below" "GTK_TEXT_VIEW_LAYER_BELOW")
+    '("above" "GTK_TEXT_VIEW_LAYER_ABOVE")
+  )
+)
+
 (define-enum ToolbarSpaceStyle
   (in-module "Gtk")
   (c-name "GtkToolbarSpaceStyle")
@@ -4925,6 +4937,47 @@
 
 
 
+;; From gtkadjustmentprivate.h
+
+(define-method enable_animation
+  (of-object "GtkAdjustment")
+  (c-name "gtk_adjustment_enable_animation")
+  (return-type "none")
+  (parameters
+    '("GdkFrameClock*" "clock")
+    '("guint" "duration")
+  )
+)
+
+(define-method get_animation_duration
+  (of-object "GtkAdjustment")
+  (c-name "gtk_adjustment_get_animation_duration")
+  (return-type "guint")
+)
+
+(define-method animate_to_value
+  (of-object "GtkAdjustment")
+  (c-name "gtk_adjustment_animate_to_value")
+  (return-type "none")
+  (parameters
+    '("gdouble" "value")
+  )
+)
+
+(define-method get_target_value
+  (of-object "GtkAdjustment")
+  (c-name "gtk_adjustment_get_target_value")
+  (return-type "gdouble")
+)
+
+(define-method is_animating
+  (of-object "GtkAdjustment")
+  (c-name "gtk_adjustment_is_animating")
+  (return-type "gboolean")
+)
+
+
+
 ;; From gtkallocatedbitmaskprivate.h
 
 
@@ -5359,6 +5412,15 @@
   )
 )
 
+(define-method get_actions_for_accel
+  (of-object "GtkApplication")
+  (c-name "gtk_application_get_actions_for_accel")
+  (return-type "gchar**")
+  (parameters
+    '("const-gchar*" "accel")
+  )
+)
+
 (define-method set_accels_for_action
   (of-object "GtkApplication")
   (c-name "gtk_application_set_accels_for_action")
@@ -5369,6 +5431,21 @@
   )
 )
 
+(define-method prefers_app_menu
+  (of-object "GtkApplication")
+  (c-name "gtk_application_prefers_app_menu")
+  (return-type "gboolean")
+)
+
+(define-method get_menu_by_id
+  (of-object "GtkApplication")
+  (c-name "gtk_application_get_menu_by_id")
+  (return-type "GMenu*")
+  (parameters
+    '("const-gchar*" "id")
+  )
+)
+
 
 
 ;; From gtkapplicationprivate.h
@@ -5611,6 +5688,12 @@
   )
 )
 
+(define-method prefers_app_menu
+  (of-object "GtkApplicationImpl")
+  (c-name "gtk_application_impl_prefers_app_menu")
+  (return-type "gboolean")
+)
+
 (define-function gtk_application_impl_quartz_setup_menu
   (c-name "gtk_application_impl_quartz_setup_menu")
   (return-type "none")
@@ -6697,10 +6780,6 @@
 
 
 
-;; From gtkbuiltincache.h
-
-
-
 ;; From gtkbutton.h
 
 (define-function gtk_button_get_type
@@ -6782,7 +6861,7 @@
   (c-name "gtk_button_set_relief")
   (return-type "none")
   (parameters
-    '("GtkReliefStyle" "newstyle")
+    '("GtkReliefStyle" "relief")
   )
 )
 
@@ -10118,6 +10197,11 @@
 
 ;; From gtkcssproviderprivate.h
 
+(define-function gtk_css_provider_set_keep_css_sections
+  (c-name "gtk_css_provider_set_keep_css_sections")
+  (return-type "none")
+)
+
 
 
 ;; From gtkcssrepeatvalueprivate.h
@@ -14323,6 +14407,15 @@
   )
 )
 
+(define-method add_resource_path
+  (of-object "GtkIconTheme")
+  (c-name "gtk_icon_theme_add_resource_path")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "path")
+  )
+)
+
 (define-method set_custom_theme
   (of-object "GtkIconTheme")
   (c-name "gtk_icon_theme_set_custom_theme")
@@ -16616,6 +16709,36 @@
   (return-type "gboolean")
 )
 
+(define-method set_selectable
+  (of-object "GtkListBoxRow")
+  (c-name "gtk_list_box_row_set_selectable")
+  (return-type "none")
+  (parameters
+    '("gboolean" "selectable")
+  )
+)
+
+(define-method get_selectable
+  (of-object "GtkListBoxRow")
+  (c-name "gtk_list_box_row_get_selectable")
+  (return-type "gboolean")
+)
+
+(define-method set_activatable
+  (of-object "GtkListBoxRow")
+  (c-name "gtk_list_box_row_set_activatable")
+  (return-type "none")
+  (parameters
+    '("gboolean" "activatable")
+  )
+)
+
+(define-method get_activatable
+  (of-object "GtkListBoxRow")
+  (c-name "gtk_list_box_row_get_activatable")
+  (return-type "gboolean")
+)
+
 (define-function gtk_list_box_get_type
   (c-name "gtk_list_box_get_type")
   (return-type "GType")
@@ -19807,6 +19930,16 @@
 
 
 
+;; From gtkpopoverprivate.h
+
+(define-method update_position
+  (of-object "GtkPopover")
+  (c-name "gtk_popover_update_position")
+  (return-type "none")
+)
+
+
+
 ;; From gtkprintbackend.h
 
 (define-function gtk_print_backend_error_quark
@@ -25094,276 +25227,6 @@
 
 
 
-;; From gtkstatusicon.h
-
-(define-function gtk_status_icon_get_type
-  (c-name "gtk_status_icon_get_type")
-  (return-type "GType")
-)
-
-(define-function gtk_status_icon_new
-  (c-name "gtk_status_icon_new")
-  (is-constructor-of "GtkStatusIcon")
-  (return-type "GtkStatusIcon*")
-)
-
-(define-function gtk_status_icon_new_from_pixbuf
-  (c-name "gtk_status_icon_new_from_pixbuf")
-  (return-type "GtkStatusIcon*")
-  (parameters
-    '("GdkPixbuf*" "pixbuf")
-  )
-)
-
-(define-function gtk_status_icon_new_from_file
-  (c-name "gtk_status_icon_new_from_file")
-  (return-type "GtkStatusIcon*")
-  (parameters
-    '("const-gchar*" "filename")
-  )
-)
-
-(define-function gtk_status_icon_new_from_stock
-  (c-name "gtk_status_icon_new_from_stock")
-  (return-type "GtkStatusIcon*")
-  (parameters
-    '("const-gchar*" "stock_id")
-  )
-)
-
-(define-function gtk_status_icon_new_from_icon_name
-  (c-name "gtk_status_icon_new_from_icon_name")
-  (return-type "GtkStatusIcon*")
-  (parameters
-    '("const-gchar*" "icon_name")
-  )
-)
-
-(define-function gtk_status_icon_new_from_gicon
-  (c-name "gtk_status_icon_new_from_gicon")
-  (return-type "GtkStatusIcon*")
-  (parameters
-    '("GIcon*" "icon")
-  )
-)
-
-(define-method set_from_pixbuf
-  (of-object "GtkStatusIcon")
-  (c-name "gtk_status_icon_set_from_pixbuf")
-  (return-type "none")
-  (parameters
-    '("GdkPixbuf*" "pixbuf")
-  )
-)
-
-(define-method set_from_file
-  (of-object "GtkStatusIcon")
-  (c-name "gtk_status_icon_set_from_file")
-  (return-type "none")
-  (parameters
-    '("const-gchar*" "filename")
-  )
-)
-
-(define-method set_from_stock
-  (of-object "GtkStatusIcon")
-  (c-name "gtk_status_icon_set_from_stock")
-  (return-type "none")
-  (parameters
-    '("const-gchar*" "stock_id")
-  )
-)
-
-(define-method set_from_icon_name
-  (of-object "GtkStatusIcon")
-  (c-name "gtk_status_icon_set_from_icon_name")
-  (return-type "none")
-  (parameters
-    '("const-gchar*" "icon_name")
-  )
-)
-
-(define-method set_from_gicon
-  (of-object "GtkStatusIcon")
-  (c-name "gtk_status_icon_set_from_gicon")
-  (return-type "none")
-  (parameters
-    '("GIcon*" "icon")
-  )
-)
-
-(define-method get_storage_type
-  (of-object "GtkStatusIcon")
-  (c-name "gtk_status_icon_get_storage_type")
-  (return-type "GtkImageType")
-)
-
-(define-method get_pixbuf
-  (of-object "GtkStatusIcon")
-  (c-name "gtk_status_icon_get_pixbuf")
-  (return-type "GdkPixbuf*")
-)
-
-(define-method get_stock
-  (of-object "GtkStatusIcon")
-  (c-name "gtk_status_icon_get_stock")
-  (return-type "const-gchar*")
-)
-
-(define-method get_icon_name
-  (of-object "GtkStatusIcon")
-  (c-name "gtk_status_icon_get_icon_name")
-  (return-type "const-gchar*")
-)
-
-(define-method get_gicon
-  (of-object "GtkStatusIcon")
-  (c-name "gtk_status_icon_get_gicon")
-  (return-type "GIcon*")
-)
-
-(define-method get_size
-  (of-object "GtkStatusIcon")
-  (c-name "gtk_status_icon_get_size")
-  (return-type "gint")
-)
-
-(define-method set_screen
-  (of-object "GtkStatusIcon")
-  (c-name "gtk_status_icon_set_screen")
-  (return-type "none")
-  (parameters
-    '("GdkScreen*" "screen")
-  )
-)
-
-(define-method get_screen
-  (of-object "GtkStatusIcon")
-  (c-name "gtk_status_icon_get_screen")
-  (return-type "GdkScreen*")
-)
-
-(define-method set_has_tooltip
-  (of-object "GtkStatusIcon")
-  (c-name "gtk_status_icon_set_has_tooltip")
-  (return-type "none")
-  (parameters
-    '("gboolean" "has_tooltip")
-  )
-)
-
-(define-method set_tooltip_text
-  (of-object "GtkStatusIcon")
-  (c-name "gtk_status_icon_set_tooltip_text")
-  (return-type "none")
-  (parameters
-    '("const-gchar*" "text")
-  )
-)
-
-(define-method set_tooltip_markup
-  (of-object "GtkStatusIcon")
-  (c-name "gtk_status_icon_set_tooltip_markup")
-  (return-type "none")
-  (parameters
-    '("const-gchar*" "markup")
-  )
-)
-
-(define-method set_title
-  (of-object "GtkStatusIcon")
-  (c-name "gtk_status_icon_set_title")
-  (return-type "none")
-  (parameters
-    '("const-gchar*" "title")
-  )
-)
-
-(define-method get_title
-  (of-object "GtkStatusIcon")
-  (c-name "gtk_status_icon_get_title")
-  (return-type "const-gchar*")
-)
-
-(define-method set_name
-  (of-object "GtkStatusIcon")
-  (c-name "gtk_status_icon_set_name")
-  (return-type "none")
-  (parameters
-    '("const-gchar*" "name")
-  )
-)
-
-(define-method set_visible
-  (of-object "GtkStatusIcon")
-  (c-name "gtk_status_icon_set_visible")
-  (return-type "none")
-  (parameters
-    '("gboolean" "visible")
-  )
-)
-
-(define-method get_visible
-  (of-object "GtkStatusIcon")
-  (c-name "gtk_status_icon_get_visible")
-  (return-type "gboolean")
-)
-
-(define-method is_embedded
-  (of-object "GtkStatusIcon")
-  (c-name "gtk_status_icon_is_embedded")
-  (return-type "gboolean")
-)
-
-(define-function gtk_status_icon_position_menu
-  (c-name "gtk_status_icon_position_menu")
-  (return-type "none")
-  (parameters
-    '("GtkMenu*" "menu")
-    '("gint*" "x")
-    '("gint*" "y")
-    '("gboolean*" "push_in")
-    '("gpointer" "user_data")
-  )
-)
-
-(define-method get_geometry
-  (of-object "GtkStatusIcon")
-  (c-name "gtk_status_icon_get_geometry")
-  (return-type "gboolean")
-  (parameters
-    '("GdkScreen**" "screen")
-    '("GdkRectangle*" "area")
-    '("GtkOrientation*" "orientation")
-  )
-)
-
-(define-method get_has_tooltip
-  (of-object "GtkStatusIcon")
-  (c-name "gtk_status_icon_get_has_tooltip")
-  (return-type "gboolean")
-)
-
-(define-method get_tooltip_text
-  (of-object "GtkStatusIcon")
-  (c-name "gtk_status_icon_get_tooltip_text")
-  (return-type "gchar*")
-)
-
-(define-method get_tooltip_markup
-  (of-object "GtkStatusIcon")
-  (c-name "gtk_status_icon_get_tooltip_markup")
-  (return-type "gchar*")
-)
-
-(define-method get_x11_window_id
-  (of-object "GtkStatusIcon")
-  (c-name "gtk_status_icon_get_x11_window_id")
-  (return-type "guint32")
-)
-
-
-
 ;; From gtkstyleanimationprivate.h
 
 
@@ -30578,15 +30441,6 @@
 
 
 
-;; From gtktrayicon.h
-
-(define-function gtk_tray_icon_get_type
-  (c-name "gtk_tray_icon_get_type")
-  (return-type "GType")
-)
-
-
-
 ;; From gtktreedatalist.h
 
 
@@ -33678,6 +33532,11 @@
   (return-type "GType")
 )
 
+(define-function gtk_text_view_layer_get_type
+  (c-name "gtk_text_view_layer_get_type")
+  (return-type "GType")
+)
+
 (define-function gtk_toolbar_space_style_get_type
   (c-name "gtk_toolbar_space_style_get_type")
   (return-type "GType")
@@ -35816,6 +35675,25 @@
   )
 )
 
+(define-method iter_get_state
+  (of-object "GtkWidgetPath")
+  (c-name "gtk_widget_path_iter_get_state")
+  (return-type "GtkStateFlags")
+  (parameters
+    '("gint" "pos")
+  )
+)
+
+(define-method iter_set_state
+  (of-object "GtkWidgetPath")
+  (c-name "gtk_widget_path_iter_set_state")
+  (return-type "none")
+  (parameters
+    '("gint" "pos")
+    '("GtkStateFlags" "state")
+  )
+)
+
 (define-method iter_add_class
   (of-object "GtkWidgetPath")
   (c-name "gtk_widget_path_iter_add_class")
@@ -39229,6 +39107,276 @@
 
 
 
+;; From gtkstatusicon.h
+
+(define-function gtk_status_icon_get_type
+  (c-name "gtk_status_icon_get_type")
+  (return-type "GType")
+)
+
+(define-function gtk_status_icon_new
+  (c-name "gtk_status_icon_new")
+  (is-constructor-of "GtkStatusIcon")
+  (return-type "GtkStatusIcon*")
+)
+
+(define-function gtk_status_icon_new_from_pixbuf
+  (c-name "gtk_status_icon_new_from_pixbuf")
+  (return-type "GtkStatusIcon*")
+  (parameters
+    '("GdkPixbuf*" "pixbuf")
+  )
+)
+
+(define-function gtk_status_icon_new_from_file
+  (c-name "gtk_status_icon_new_from_file")
+  (return-type "GtkStatusIcon*")
+  (parameters
+    '("const-gchar*" "filename")
+  )
+)
+
+(define-function gtk_status_icon_new_from_stock
+  (c-name "gtk_status_icon_new_from_stock")
+  (return-type "GtkStatusIcon*")
+  (parameters
+    '("const-gchar*" "stock_id")
+  )
+)
+
+(define-function gtk_status_icon_new_from_icon_name
+  (c-name "gtk_status_icon_new_from_icon_name")
+  (return-type "GtkStatusIcon*")
+  (parameters
+    '("const-gchar*" "icon_name")
+  )
+)
+
+(define-function gtk_status_icon_new_from_gicon
+  (c-name "gtk_status_icon_new_from_gicon")
+  (return-type "GtkStatusIcon*")
+  (parameters
+    '("GIcon*" "icon")
+  )
+)
+
+(define-method set_from_pixbuf
+  (of-object "GtkStatusIcon")
+  (c-name "gtk_status_icon_set_from_pixbuf")
+  (return-type "none")
+  (parameters
+    '("GdkPixbuf*" "pixbuf")
+  )
+)
+
+(define-method set_from_file
+  (of-object "GtkStatusIcon")
+  (c-name "gtk_status_icon_set_from_file")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "filename")
+  )
+)
+
+(define-method set_from_stock
+  (of-object "GtkStatusIcon")
+  (c-name "gtk_status_icon_set_from_stock")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "stock_id")
+  )
+)
+
+(define-method set_from_icon_name
+  (of-object "GtkStatusIcon")
+  (c-name "gtk_status_icon_set_from_icon_name")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "icon_name")
+  )
+)
+
+(define-method set_from_gicon
+  (of-object "GtkStatusIcon")
+  (c-name "gtk_status_icon_set_from_gicon")
+  (return-type "none")
+  (parameters
+    '("GIcon*" "icon")
+  )
+)
+
+(define-method get_storage_type
+  (of-object "GtkStatusIcon")
+  (c-name "gtk_status_icon_get_storage_type")
+  (return-type "GtkImageType")
+)
+
+(define-method get_pixbuf
+  (of-object "GtkStatusIcon")
+  (c-name "gtk_status_icon_get_pixbuf")
+  (return-type "GdkPixbuf*")
+)
+
+(define-method get_stock
+  (of-object "GtkStatusIcon")
+  (c-name "gtk_status_icon_get_stock")
+  (return-type "const-gchar*")
+)
+
+(define-method get_icon_name
+  (of-object "GtkStatusIcon")
+  (c-name "gtk_status_icon_get_icon_name")
+  (return-type "const-gchar*")
+)
+
+(define-method get_gicon
+  (of-object "GtkStatusIcon")
+  (c-name "gtk_status_icon_get_gicon")
+  (return-type "GIcon*")
+)
+
+(define-method get_size
+  (of-object "GtkStatusIcon")
+  (c-name "gtk_status_icon_get_size")
+  (return-type "gint")
+)
+
+(define-method set_screen
+  (of-object "GtkStatusIcon")
+  (c-name "gtk_status_icon_set_screen")
+  (return-type "none")
+  (parameters
+    '("GdkScreen*" "screen")
+  )
+)
+
+(define-method get_screen
+  (of-object "GtkStatusIcon")
+  (c-name "gtk_status_icon_get_screen")
+  (return-type "GdkScreen*")
+)
+
+(define-method set_has_tooltip
+  (of-object "GtkStatusIcon")
+  (c-name "gtk_status_icon_set_has_tooltip")
+  (return-type "none")
+  (parameters
+    '("gboolean" "has_tooltip")
+  )
+)
+
+(define-method set_tooltip_text
+  (of-object "GtkStatusIcon")
+  (c-name "gtk_status_icon_set_tooltip_text")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "text")
+  )
+)
+
+(define-method set_tooltip_markup
+  (of-object "GtkStatusIcon")
+  (c-name "gtk_status_icon_set_tooltip_markup")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "markup")
+  )
+)
+
+(define-method set_title
+  (of-object "GtkStatusIcon")
+  (c-name "gtk_status_icon_set_title")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "title")
+  )
+)
+
+(define-method get_title
+  (of-object "GtkStatusIcon")
+  (c-name "gtk_status_icon_get_title")
+  (return-type "const-gchar*")
+)
+
+(define-method set_name
+  (of-object "GtkStatusIcon")
+  (c-name "gtk_status_icon_set_name")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "name")
+  )
+)
+
+(define-method set_visible
+  (of-object "GtkStatusIcon")
+  (c-name "gtk_status_icon_set_visible")
+  (return-type "none")
+  (parameters
+    '("gboolean" "visible")
+  )
+)
+
+(define-method get_visible
+  (of-object "GtkStatusIcon")
+  (c-name "gtk_status_icon_get_visible")
+  (return-type "gboolean")
+)
+
+(define-method is_embedded
+  (of-object "GtkStatusIcon")
+  (c-name "gtk_status_icon_is_embedded")
+  (return-type "gboolean")
+)
+
+(define-function gtk_status_icon_position_menu
+  (c-name "gtk_status_icon_position_menu")
+  (return-type "none")
+  (parameters
+    '("GtkMenu*" "menu")
+    '("gint*" "x")
+    '("gint*" "y")
+    '("gboolean*" "push_in")
+    '("gpointer" "user_data")
+  )
+)
+
+(define-method get_geometry
+  (of-object "GtkStatusIcon")
+  (c-name "gtk_status_icon_get_geometry")
+  (return-type "gboolean")
+  (parameters
+    '("GdkScreen**" "screen")
+    '("GdkRectangle*" "area")
+    '("GtkOrientation*" "orientation")
+  )
+)
+
+(define-method get_has_tooltip
+  (of-object "GtkStatusIcon")
+  (c-name "gtk_status_icon_get_has_tooltip")
+  (return-type "gboolean")
+)
+
+(define-method get_tooltip_text
+  (of-object "GtkStatusIcon")
+  (c-name "gtk_status_icon_get_tooltip_text")
+  (return-type "gchar*")
+)
+
+(define-method get_tooltip_markup
+  (of-object "GtkStatusIcon")
+  (c-name "gtk_status_icon_get_tooltip_markup")
+  (return-type "gchar*")
+)
+
+(define-method get_x11_window_id
+  (of-object "GtkStatusIcon")
+  (c-name "gtk_status_icon_get_x11_window_id")
+  (return-type "guint32")
+)
+
+
+
 ;; From gtkstock.h
 
 (define-function gtk_stock_add
@@ -40234,6 +40382,15 @@
 
 
 
+;; From gtktrayicon.h
+
+(define-function gtk_tray_icon_get_type
+  (c-name "gtk_tray_icon_get_type")
+  (return-type "GType")
+)
+
+
+
 ;; From gtkuimanager.h
 
 (define-function gtk_ui_manager_get_type


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