[gtkmm] Regenerate more .defs with the latest GTK+.



commit ddd118c62b1e4096e1b4b9435a3f69077055c87f
Author: Murray Cumming <murrayc murrayc com>
Date:   Sun Dec 15 19:39:19 2013 +0100

    Regenerate more .defs with the latest GTK+.

 gdk/src/gdk_enums.defs   |    9 +-
 gtk/src/gtk_enums.defs   |   26 +++-
 gtk/src/gtk_methods.defs |  455 ++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 487 insertions(+), 3 deletions(-)
---
diff --git a/gdk/src/gdk_enums.defs b/gdk/src/gdk_enums.defs
index 3243ef2..42cb5d6 100644
--- a/gdk/src/gdk_enums.defs
+++ b/gdk/src/gdk_enums.defs
@@ -757,7 +757,13 @@
 ;;    * 1) touch events emulating pointer events
 ;;    * 2) pointer events being emulated by a touch sequence.
 ;;    */
-;;   GDK_EVENT_POINTER_EMULATED = 1 << 1
+;;   GDK_EVENT_POINTER_EMULATED = 1 << 1,
+;; 
+;;   /* When we are ready to draw a frame, we pause event delivery,
+;;    * mark all events in the queue with this flag, and deliver
+;;    * only those events until we finish the frame.
+;;    */
+;;   GDK_EVENT_FLUSHED = 1 << 2
 ;; } GdkEventFlags;
 
 (define-flags-extended EventFlags
@@ -766,6 +772,7 @@
   (values
     '("pending" "GDK_EVENT_PENDING" "1 << 0")
     '("pointer-emulated" "GDK_EVENT_POINTER_EMULATED" "1 << 1")
+    '("flushed" "GDK_EVENT_FLUSHED" "1 << 2")
   )
 )
 
diff --git a/gtk/src/gtk_enums.defs b/gtk/src/gtk_enums.defs
index cdf80a4..6c58d51 100644
--- a/gtk/src/gtk_enums.defs
+++ b/gtk/src/gtk_enums.defs
@@ -1872,7 +1872,9 @@
 ;;   GTK_STATE_FLAG_FOCUSED      = 1 << 5,
 ;;   GTK_STATE_FLAG_BACKDROP     = 1 << 6,
 ;;   GTK_STATE_FLAG_DIR_LTR      = 1 << 7,
-;;   GTK_STATE_FLAG_DIR_RTL      = 1 << 8
+;;   GTK_STATE_FLAG_DIR_RTL      = 1 << 8,
+;;   GTK_STATE_FLAG_LINK         = 1 << 9,
+;;   GTK_STATE_FLAG_VISITED      = 1 << 10
 ;; } GtkStateFlags;
 
 (define-flags-extended StateFlags
@@ -1889,6 +1891,8 @@
     '("backdrop" "GTK_STATE_FLAG_BACKDROP" "1 << 6")
     '("dir-ltr" "GTK_STATE_FLAG_DIR_LTR" "1 << 7")
     '("dir-rtl" "GTK_STATE_FLAG_DIR_RTL" "1 << 8")
+    '("link" "GTK_STATE_FLAG_LINK" "1 << 9")
+    '("visited" "GTK_STATE_FLAG_VISITED" "1 << 10")
   )
 )
 
@@ -2883,7 +2887,16 @@
 ;;   GTK_STACK_TRANSITION_TYPE_SLIDE_UP,
 ;;   GTK_STACK_TRANSITION_TYPE_SLIDE_DOWN,
 ;;   GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT_RIGHT,
-;;   GTK_STACK_TRANSITION_TYPE_SLIDE_UP_DOWN
+;;   GTK_STACK_TRANSITION_TYPE_SLIDE_UP_DOWN,
+;;   GTK_STACK_TRANSITION_TYPE_OVER_UP,
+;;   GTK_STACK_TRANSITION_TYPE_OVER_DOWN,
+;;   GTK_STACK_TRANSITION_TYPE_OVER_LEFT,
+;;   GTK_STACK_TRANSITION_TYPE_OVER_RIGHT,
+;;   GTK_STACK_TRANSITION_TYPE_UNDER_UP,
+;;   GTK_STACK_TRANSITION_TYPE_UNDER_DOWN,
+;;   GTK_STACK_TRANSITION_TYPE_UNDER_LEFT,
+;;   GTK_STACK_TRANSITION_TYPE_UNDER_RIGHT,
+;;   GTK_STACK_TRANSITION_TYPE_OVER_UP_DOWN
 ;; } GtkStackTransitionType;
 
 (define-enum-extended StackTransitionType
@@ -2898,6 +2911,15 @@
     '("slide-down" "GTK_STACK_TRANSITION_TYPE_SLIDE_DOWN" "5")
     '("slide-left-right" "GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT_RIGHT" "6")
     '("slide-up-down" "GTK_STACK_TRANSITION_TYPE_SLIDE_UP_DOWN" "7")
+    '("over-up" "GTK_STACK_TRANSITION_TYPE_OVER_UP" "8")
+    '("over-down" "GTK_STACK_TRANSITION_TYPE_OVER_DOWN" "9")
+    '("over-left" "GTK_STACK_TRANSITION_TYPE_OVER_LEFT" "10")
+    '("over-right" "GTK_STACK_TRANSITION_TYPE_OVER_RIGHT" "11")
+    '("under-up" "GTK_STACK_TRANSITION_TYPE_UNDER_UP" "12")
+    '("under-down" "GTK_STACK_TRANSITION_TYPE_UNDER_DOWN" "13")
+    '("under-left" "GTK_STACK_TRANSITION_TYPE_UNDER_LEFT" "14")
+    '("under-right" "GTK_STACK_TRANSITION_TYPE_UNDER_RIGHT" "15")
+    '("over-up-down" "GTK_STACK_TRANSITION_TYPE_OVER_UP_DOWN" "16")
   )
 )
 
diff --git a/gtk/src/gtk_methods.defs b/gtk/src/gtk_methods.defs
index 89d24d1..a8cc8dd 100644
--- a/gtk/src/gtk_methods.defs
+++ b/gtk/src/gtk_methods.defs
@@ -1096,6 +1096,13 @@
   (gtype-id "GTK_TYPE_GRID")
 )
 
+(define-object FlowBox
+  (in-module "Gtk")
+  (parent "GtkContainer")
+  (c-name "GtkFlowBox")
+  (gtype-id "GTK_TYPE_FLOW_BOX")
+)
+
 (define-object Fixed
   (in-module "Gtk")
   (parent "GtkContainer")
@@ -1257,6 +1264,13 @@
   (gtype-id "GTK_TYPE_ASPECT_FRAME")
 )
 
+(define-object FlowBoxChild
+  (in-module "Gtk")
+  (parent "GtkBin")
+  (c-name "GtkFlowBoxChild")
+  (gtype-id "GTK_TYPE_FLOW_BOX_CHILD")
+)
+
 (define-object Expander
   (in-module "Gtk")
   (parent "GtkBin")
@@ -2777,6 +2791,8 @@
     '("backdrop" "GTK_STATE_FLAG_BACKDROP")
     '("dir-ltr" "GTK_STATE_FLAG_DIR_LTR")
     '("dir-rtl" "GTK_STATE_FLAG_DIR_RTL")
+    '("link" "GTK_STATE_FLAG_LINK")
+    '("visited" "GTK_STATE_FLAG_VISITED")
   )
 )
 
@@ -3345,6 +3361,15 @@
     '("slide-down" "GTK_STACK_TRANSITION_TYPE_SLIDE_DOWN")
     '("slide-left-right" "GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT_RIGHT")
     '("slide-up-down" "GTK_STACK_TRANSITION_TYPE_SLIDE_UP_DOWN")
+    '("over-up" "GTK_STACK_TRANSITION_TYPE_OVER_UP")
+    '("over-down" "GTK_STACK_TRANSITION_TYPE_OVER_DOWN")
+    '("over-left" "GTK_STACK_TRANSITION_TYPE_OVER_LEFT")
+    '("over-right" "GTK_STACK_TRANSITION_TYPE_OVER_RIGHT")
+    '("under-up" "GTK_STACK_TRANSITION_TYPE_UNDER_UP")
+    '("under-down" "GTK_STACK_TRANSITION_TYPE_UNDER_DOWN")
+    '("under-left" "GTK_STACK_TRANSITION_TYPE_UNDER_LEFT")
+    '("under-right" "GTK_STACK_TRANSITION_TYPE_UNDER_RIGHT")
+    '("over-up-down" "GTK_STACK_TRANSITION_TYPE_OVER_UP_DOWN")
   )
 )
 
@@ -4409,6 +4434,35 @@
   )
 )
 
+(define-method set_primary_accel
+  (of-object "GtkActionMuxer")
+  (c-name "gtk_action_muxer_set_primary_accel")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "action_and_target")
+    '("const-gchar*" "primary_accel")
+  )
+)
+
+(define-method get_primary_accel
+  (of-object "GtkActionMuxer")
+  (c-name "gtk_action_muxer_get_primary_accel")
+  (return-type "const-gchar*")
+  (parameters
+    '("const-gchar*" "action_and_target")
+  )
+)
+
+(define-function gtk_print_action_and_target
+  (c-name "gtk_print_action_and_target")
+  (return-type "gchar*")
+  (parameters
+    '("const-gchar*" "action_namespace")
+    '("const-gchar*" "action_name")
+    '("GVariant*" "target")
+  )
+)
+
 
 
 ;; From gtkactionobservable.h
@@ -4492,6 +4546,17 @@
   )
 )
 
+(define-method primary_accel_changed
+  (of-object "GtkActionObserver")
+  (c-name "gtk_action_observer_primary_accel_changed")
+  (return-type "none")
+  (parameters
+    '("GtkActionObservable*" "observable")
+    '("const-gchar*" "action_name")
+    '("const-gchar*" "action_and_target")
+  )
+)
+
 
 
 ;; From gtkadjustment.h
@@ -5145,6 +5210,31 @@
   (return-type "GtkWindow*")
 )
 
+(define-method list_action_descriptions
+  (of-object "GtkApplication")
+  (c-name "gtk_application_list_action_descriptions")
+  (return-type "gchar**")
+)
+
+(define-method get_accels_for_action
+  (of-object "GtkApplication")
+  (c-name "gtk_application_get_accels_for_action")
+  (return-type "gchar**")
+  (parameters
+    '("const-gchar*" "detailed_action_name")
+  )
+)
+
+(define-method set_accels_for_action
+  (of-object "GtkApplication")
+  (c-name "gtk_application_set_accels_for_action")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "detailed_action_name")
+    '("const-gchar*-const*" "accels")
+  )
+)
+
 
 
 ;; From gtkapplicationprivate.h
@@ -6238,6 +6328,21 @@
   )
 )
 
+(define-method set_application
+  (of-object "GtkBuilder")
+  (c-name "gtk_builder_set_application")
+  (return-type "none")
+  (parameters
+    '("GtkApplication*" "application")
+  )
+)
+
+(define-method get_application
+  (of-object "GtkBuilder")
+  (c-name "gtk_builder_get_application")
+  (return-type "GtkApplication*")
+)
+
 
 
 ;; From gtkbuilderprivate.h
@@ -12155,6 +12260,272 @@
 
 
 
+;; From gtkflowbox.h
+
+(define-function gtk_flow_box_child_get_type
+  (c-name "gtk_flow_box_child_get_type")
+  (return-type "GType")
+)
+
+(define-function gtk_flow_box_child_new
+  (c-name "gtk_flow_box_child_new")
+  (is-constructor-of "GtkFlowBoxChild")
+  (return-type "GtkWidget*")
+)
+
+(define-method get_index
+  (of-object "GtkFlowBoxChild")
+  (c-name "gtk_flow_box_child_get_index")
+  (return-type "gint")
+)
+
+(define-method is_selected
+  (of-object "GtkFlowBoxChild")
+  (c-name "gtk_flow_box_child_is_selected")
+  (return-type "gboolean")
+)
+
+(define-method changed
+  (of-object "GtkFlowBoxChild")
+  (c-name "gtk_flow_box_child_changed")
+  (return-type "none")
+)
+
+(define-function gtk_flow_box_get_type
+  (c-name "gtk_flow_box_get_type")
+  (return-type "GType")
+)
+
+(define-function gtk_flow_box_new
+  (c-name "gtk_flow_box_new")
+  (is-constructor-of "GtkFlowBox")
+  (return-type "GtkWidget*")
+)
+
+(define-method set_homogeneous
+  (of-object "GtkFlowBox")
+  (c-name "gtk_flow_box_set_homogeneous")
+  (return-type "none")
+  (parameters
+    '("gboolean" "homogeneous")
+  )
+)
+
+(define-method get_homogeneous
+  (of-object "GtkFlowBox")
+  (c-name "gtk_flow_box_get_homogeneous")
+  (return-type "gboolean")
+)
+
+(define-method set_row_spacing
+  (of-object "GtkFlowBox")
+  (c-name "gtk_flow_box_set_row_spacing")
+  (return-type "none")
+  (parameters
+    '("guint" "spacing")
+  )
+)
+
+(define-method get_row_spacing
+  (of-object "GtkFlowBox")
+  (c-name "gtk_flow_box_get_row_spacing")
+  (return-type "guint")
+)
+
+(define-method set_column_spacing
+  (of-object "GtkFlowBox")
+  (c-name "gtk_flow_box_set_column_spacing")
+  (return-type "none")
+  (parameters
+    '("guint" "spacing")
+  )
+)
+
+(define-method get_column_spacing
+  (of-object "GtkFlowBox")
+  (c-name "gtk_flow_box_get_column_spacing")
+  (return-type "guint")
+)
+
+(define-method set_min_children_per_line
+  (of-object "GtkFlowBox")
+  (c-name "gtk_flow_box_set_min_children_per_line")
+  (return-type "none")
+  (parameters
+    '("guint" "n_children")
+  )
+)
+
+(define-method get_min_children_per_line
+  (of-object "GtkFlowBox")
+  (c-name "gtk_flow_box_get_min_children_per_line")
+  (return-type "guint")
+)
+
+(define-method set_max_children_per_line
+  (of-object "GtkFlowBox")
+  (c-name "gtk_flow_box_set_max_children_per_line")
+  (return-type "none")
+  (parameters
+    '("guint" "n_children")
+  )
+)
+
+(define-method get_max_children_per_line
+  (of-object "GtkFlowBox")
+  (c-name "gtk_flow_box_get_max_children_per_line")
+  (return-type "guint")
+)
+
+(define-method set_activate_on_single_click
+  (of-object "GtkFlowBox")
+  (c-name "gtk_flow_box_set_activate_on_single_click")
+  (return-type "none")
+  (parameters
+    '("gboolean" "single")
+  )
+)
+
+(define-method get_activate_on_single_click
+  (of-object "GtkFlowBox")
+  (c-name "gtk_flow_box_get_activate_on_single_click")
+  (return-type "gboolean")
+)
+
+(define-method insert
+  (of-object "GtkFlowBox")
+  (c-name "gtk_flow_box_insert")
+  (return-type "none")
+  (parameters
+    '("GtkWidget*" "widget")
+    '("gint" "position")
+  )
+)
+
+(define-method get_child_at_index
+  (of-object "GtkFlowBox")
+  (c-name "gtk_flow_box_get_child_at_index")
+  (return-type "GtkFlowBoxChild*")
+  (parameters
+    '("gint" "idx")
+  )
+)
+
+(define-method selected_foreach
+  (of-object "GtkFlowBox")
+  (c-name "gtk_flow_box_selected_foreach")
+  (return-type "none")
+  (parameters
+    '("GtkFlowBoxForeachFunc" "func")
+    '("gpointer" "data")
+  )
+)
+
+(define-method get_selected_children
+  (of-object "GtkFlowBox")
+  (c-name "gtk_flow_box_get_selected_children")
+  (return-type "GList*")
+)
+
+(define-method select_child
+  (of-object "GtkFlowBox")
+  (c-name "gtk_flow_box_select_child")
+  (return-type "none")
+  (parameters
+    '("GtkFlowBoxChild*" "child")
+  )
+)
+
+(define-method unselect_child
+  (of-object "GtkFlowBox")
+  (c-name "gtk_flow_box_unselect_child")
+  (return-type "none")
+  (parameters
+    '("GtkFlowBoxChild*" "child")
+  )
+)
+
+(define-method select_all
+  (of-object "GtkFlowBox")
+  (c-name "gtk_flow_box_select_all")
+  (return-type "none")
+)
+
+(define-method unselect_all
+  (of-object "GtkFlowBox")
+  (c-name "gtk_flow_box_unselect_all")
+  (return-type "none")
+)
+
+(define-method set_selection_mode
+  (of-object "GtkFlowBox")
+  (c-name "gtk_flow_box_set_selection_mode")
+  (return-type "none")
+  (parameters
+    '("GtkSelectionMode" "mode")
+  )
+)
+
+(define-method get_selection_mode
+  (of-object "GtkFlowBox")
+  (c-name "gtk_flow_box_get_selection_mode")
+  (return-type "GtkSelectionMode")
+)
+
+(define-method set_hadjustment
+  (of-object "GtkFlowBox")
+  (c-name "gtk_flow_box_set_hadjustment")
+  (return-type "none")
+  (parameters
+    '("GtkAdjustment*" "adjustment")
+  )
+)
+
+(define-method set_vadjustment
+  (of-object "GtkFlowBox")
+  (c-name "gtk_flow_box_set_vadjustment")
+  (return-type "none")
+  (parameters
+    '("GtkAdjustment*" "adjustment")
+  )
+)
+
+(define-method set_filter_func
+  (of-object "GtkFlowBox")
+  (c-name "gtk_flow_box_set_filter_func")
+  (return-type "none")
+  (parameters
+    '("GtkFlowBoxFilterFunc" "filter_func")
+    '("gpointer" "user_data")
+    '("GDestroyNotify" "destroy")
+  )
+)
+
+(define-method invalidate_filter
+  (of-object "GtkFlowBox")
+  (c-name "gtk_flow_box_invalidate_filter")
+  (return-type "none")
+)
+
+(define-method set_sort_func
+  (of-object "GtkFlowBox")
+  (c-name "gtk_flow_box_set_sort_func")
+  (return-type "none")
+  (parameters
+    '("GtkFlowBoxSortFunc" "sort_func")
+    '("gpointer" "user_data")
+    '("GDestroyNotify" "destroy")
+  )
+)
+
+(define-method invalidate_sort
+  (of-object "GtkFlowBox")
+  (c-name "gtk_flow_box_invalidate_sort")
+  (return-type "none")
+)
+
+
+
 ;; From gtkfontbutton.h
 
 (define-function gtk_font_button_get_type
@@ -12789,6 +13160,21 @@
   )
 )
 
+(define-method set_has_subtitle
+  (of-object "GtkHeaderBar")
+  (c-name "gtk_header_bar_set_has_subtitle")
+  (return-type "none")
+  (parameters
+    '("gboolean" "setting")
+  )
+)
+
+(define-method get_has_subtitle
+  (of-object "GtkHeaderBar")
+  (c-name "gtk_header_bar_get_has_subtitle")
+  (return-type "gboolean")
+)
+
 
 
 ;; From gtkheaderbarprivate.h
@@ -15696,11 +16082,29 @@
   (return-type "PangoLanguage*")
 )
 
+(define-function gtk_get_locale_direction
+  (c-name "gtk_get_locale_direction")
+  (return-type "GtkTextDirection")
+)
+
 (define-function gtk_events_pending
   (c-name "gtk_events_pending")
   (return-type "gboolean")
 )
 
+(define-function gtk_exit
+  (c-name "gtk_exit")
+  (return-type "none")
+  (parameters
+    '("gint" "error_code")
+  )
+)
+
+(define-function gtk_set_locale
+  (c-name "gtk_set_locale")
+  (return-type "gchar*")
+)
+
 (define-function gtk_main_do_event
   (c-name "gtk_main_do_event")
   (return-type "none")
@@ -18151,6 +18555,21 @@
   )
 )
 
+(define-method set_local_only
+  (of-object "GtkPlacesSidebar")
+  (c-name "gtk_places_sidebar_set_local_only")
+  (return-type "none")
+  (parameters
+    '("gboolean" "local_only")
+  )
+)
+
+(define-method get_local_only
+  (of-object "GtkPlacesSidebar")
+  (c-name "gtk_places_sidebar_get_local_only")
+  (return-type "gboolean")
+)
+
 (define-method add_shortcut
   (of-object "GtkPlacesSidebar")
   (c-name "gtk_places_sidebar_add_shortcut")
@@ -23438,6 +23857,12 @@
   (return-type "GtkStackTransitionType")
 )
 
+(define-method get_transition_running
+  (of-object "GtkStack")
+  (c-name "gtk_stack_get_transition_running")
+  (return-type "gboolean")
+)
+
 
 
 ;; From gtkstackswitcher.h
@@ -33445,6 +33870,36 @@
   )
 )
 
+(define-method get_margin_start
+  (of-object "GtkWidget")
+  (c-name "gtk_widget_get_margin_start")
+  (return-type "gint")
+)
+
+(define-method set_margin_start
+  (of-object "GtkWidget")
+  (c-name "gtk_widget_set_margin_start")
+  (return-type "none")
+  (parameters
+    '("gint" "margin")
+  )
+)
+
+(define-method get_margin_end
+  (of-object "GtkWidget")
+  (c-name "gtk_widget_get_margin_end")
+  (return-type "gint")
+)
+
+(define-method set_margin_end
+  (of-object "GtkWidget")
+  (c-name "gtk_widget_set_margin_end")
+  (return-type "none")
+  (parameters
+    '("gint" "margin")
+  )
+)
+
 (define-method get_margin_top
   (of-object "GtkWidget")
   (c-name "gtk_widget_get_margin_top")


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