[gtkmm] Regenerate gtk_methods.defs.



commit 85aaeb2cfe3f52779d4404cafe2f9aea712dd239
Author: Murray Cumming <murrayc murrayc com>
Date:   Sun Dec 5 21:48:44 2010 +0100

    Regenerate gtk_methods.defs.
    
    * gtk/src/gtk_methods.defs:
    * gtk/src/iconinfo.[hg|ccg]: Remove use of
    gtk_icon_info_load_symbolic_for_style() because it is now deprecated in
    GTK+ 3.
    The build is still broken. We need to wrap GtkStyleContext.

 ChangeLog                |   10 +
 gtk/src/gtk_methods.defs | 1908 ++++++++++++++++++++++++++++++++++++++++++----
 gtk/src/iconinfo.ccg     |    2 +
 gtk/src/iconinfo.hg      |    5 +-
 4 files changed, 1773 insertions(+), 152 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 80b4186..66a3c96 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,15 @@
 2010-12-05  Murray Cumming  <murrayc murrayc com>
 
+	Regenerate gtk_methods.defs.
+
+	* gtk/src/gtk_methods.defs:
+	* gtk/src/iconinfo.[hg|ccg]: Remove use of 
+	gtk_icon_info_load_symbolic_for_style() because it is now deprecated in 
+	GTK+ 3.
+	The build is still broken. We need to wrap GtkStyleContext.
+
+2010-12-05  Murray Cumming  <murrayc murrayc com>
+
 	Adapt to the GdkWindowObject -> GdkWindow change in GTK+ 3.
 
 	* gdk/src/window.hg: Remove the extra parameter to _CLASS_GOBJECT(). Maybe 
diff --git a/gtk/src/gtk_methods.defs b/gtk/src/gtk_methods.defs
index 4a550a3..df2a839 100644
--- a/gtk/src/gtk_methods.defs
+++ b/gtk/src/gtk_methods.defs
@@ -142,6 +142,13 @@
   (gtype-id "GTK_TYPE_CELL_SIZE_REQUEST")
 )
 
+(define-object CssProvider
+  (in-module "Gtk")
+  (parent "GObject")
+  (c-name "GtkCssProvider")
+  (gtype-id "GTK_TYPE_CSS_PROVIDER")
+)
+
 (define-object EntryBuffer
   (in-module "Gtk")
   (parent "GObject")
@@ -300,6 +307,26 @@
   (gtype-id "GTK_TYPE_STYLE")
 )
 
+(define-object StyleContext
+  (in-module "Gtk")
+  (parent "GObject")
+  (c-name "GtkStyleContext")
+  (gtype-id "GTK_TYPE_STYLE_CONTEXT")
+)
+
+(define-object StyleProperties
+  (in-module "Gtk")
+  (parent "GObject")
+  (c-name "GtkStyleProperties")
+  (gtype-id "GTK_TYPE_STYLE_PROPERTIES")
+)
+
+(define-object StyleProvider
+  (in-module "Gtk")
+  (c-name "GtkStyleProvider")
+  (gtype-id "GTK_TYPE_STYLE_PROVIDER")
+)
+
 (define-object TextBuffer
   (in-module "Gtk")
   (parent "GObject")
@@ -342,6 +369,13 @@
   (gtype-id "GTK_TYPE_TEXT_TAG_TABLE")
 )
 
+(define-object ThemingEngine
+  (in-module "Gtk")
+  (parent "GObject")
+  (c-name "GtkThemingEngine")
+  (gtype-id "GTK_TYPE_THEMING_ENGINE")
+)
+
 (define-object ToggleAction
   (in-module "Gtk")
   (parent "GtkAction")
@@ -666,13 +700,6 @@
   (gtype-id "GTK_TYPE_TABLE")
 )
 
-(define-object SpreadTable
-  (in-module "Gtk")
-  (parent "GtkContainer")
-  (c-name "GtkSpreadTable")
-  (gtype-id "GTK_TYPE_SPREAD_TABLE")
-)
-
 (define-object Socket
   (in-module "Gtk")
   (parent "GtkContainer")
@@ -1341,6 +1368,15 @@
   )
 )
 
+(define-enum CssProviderError
+  (in-module "Gtk")
+  (c-name "GtkCssProviderError")
+  (gtype-id "GTK_TYPE_CSS_PROVIDER_ERROR")
+  (values
+    '("failed" "GTK_CSS_PROVIDER_ERROR_FAILED")
+  )
+)
+
 (define-flags DebugFlag
   (in-module "Gtk")
   (c-name "GtkDebugFlag")
@@ -1794,6 +1830,8 @@
     '("prelight" "GTK_STATE_PRELIGHT")
     '("selected" "GTK_STATE_SELECTED")
     '("insensitive" "GTK_STATE_INSENSITIVE")
+    '("inconsistent" "GTK_STATE_INCONSISTENT")
+    '("focused" "GTK_STATE_FOCUSED")
   )
 )
 
@@ -2031,6 +2069,62 @@
   )
 )
 
+(define-flags StateFlags
+  (in-module "Gtk")
+  (c-name "GtkStateFlags")
+  (gtype-id "GTK_TYPE_STATE_FLAGS")
+  (values
+    '("active" "GTK_STATE_FLAG_ACTIVE")
+    '("prelight" "GTK_STATE_FLAG_PRELIGHT")
+    '("selected" "GTK_STATE_FLAG_SELECTED")
+    '("insensitive" "GTK_STATE_FLAG_INSENSITIVE")
+    '("inconsistent" "GTK_STATE_FLAG_INCONSISTENT")
+    '("focused" "GTK_STATE_FLAG_FOCUSED")
+  )
+)
+
+(define-flags RegionFlags
+  (in-module "Gtk")
+  (c-name "GtkRegionFlags")
+  (gtype-id "GTK_TYPE_REGION_FLAGS")
+  (values
+    '("even" "GTK_REGION_EVEN")
+    '("odd" "GTK_REGION_ODD")
+    '("first" "GTK_REGION_FIRST")
+    '("last" "GTK_REGION_LAST")
+    '("sorted" "GTK_REGION_SORTED")
+  )
+)
+
+(define-flags JunctionSides
+  (in-module "Gtk")
+  (c-name "GtkJunctionSides")
+  (gtype-id "GTK_TYPE_JUNCTION_SIDES")
+  (values
+    '("none" "GTK_JUNCTION_NONE")
+    '("corner-topleft" "GTK_JUNCTION_CORNER_TOPLEFT")
+    '("corner-topright" "GTK_JUNCTION_CORNER_TOPRIGHT")
+    '("corner-bottomleft" "GTK_JUNCTION_CORNER_BOTTOMLEFT")
+    '("corner-bottomright" "GTK_JUNCTION_CORNER_BOTTOMRIGHT")
+    '("top" "GTK_JUNCTION_TOP")
+    '("bottom" "GTK_JUNCTION_BOTTOM")
+    '("left" "GTK_JUNCTION_LEFT")
+    '("right" "GTK_JUNCTION_RIGHT")
+  )
+)
+
+(define-enum BorderStyle
+  (in-module "Gtk")
+  (c-name "GtkBorderStyle")
+  (gtype-id "GTK_TYPE_BORDER_STYLE")
+  (values
+    '("none" "GTK_BORDER_STYLE_NONE")
+    '("solid" "GTK_BORDER_STYLE_SOLID")
+    '("inset" "GTK_BORDER_STYLE_INSET")
+    '("outset" "GTK_BORDER_STYLE_OUTSET")
+  )
+)
+
 (define-enum FileChooserAction
   (in-module "Gtk")
   (c-name "GtkFileChooserAction")
@@ -4670,6 +4764,33 @@
 
 
 
+;; From gtkborder.h
+
+(define-function gtk_border_get_type
+  (c-name "gtk_border_get_type")
+  (return-type "GType")
+)
+
+(define-function gtk_border_new
+  (c-name "gtk_border_new")
+  (is-constructor-of "GtkBorder")
+  (return-type "GtkBorder*")
+)
+
+(define-method copy
+  (of-object "GtkBorder")
+  (c-name "gtk_border_copy")
+  (return-type "GtkBorder*")
+)
+
+(define-method free
+  (of-object "GtkBorder")
+  (c-name "gtk_border_free")
+  (return-type "none")
+)
+
+
+
 ;; From gtkbox.h
 
 (define-function gtk_box_get_type
@@ -7507,6 +7628,80 @@
   (return-type "none")
 )
 
+(define-method get_path_for_child
+  (of-object "GtkContainer")
+  (c-name "gtk_container_get_path_for_child")
+  (return-type "GtkWidgetPath*")
+  (parameters
+    '("GtkWidget*" "child")
+  )
+)
+
+
+
+;; From gtkcssprovider.h
+
+(define-function gtk_css_provider_error_quark
+  (c-name "gtk_css_provider_error_quark")
+  (return-type "GQuark")
+)
+
+(define-function gtk_css_provider_get_type
+  (c-name "gtk_css_provider_get_type")
+  (return-type "GType")
+)
+
+(define-function gtk_css_provider_new
+  (c-name "gtk_css_provider_new")
+  (is-constructor-of "GtkCssProvider")
+  (return-type "GtkCssProvider*")
+)
+
+(define-method load_from_data
+  (of-object "GtkCssProvider")
+  (c-name "gtk_css_provider_load_from_data")
+  (return-type "gboolean")
+  (parameters
+    '("const-gchar*" "data")
+    '("gssize" "length")
+    '("GError**" "error")
+  )
+)
+
+(define-method load_from_file
+  (of-object "GtkCssProvider")
+  (c-name "gtk_css_provider_load_from_file")
+  (return-type "gboolean")
+  (parameters
+    '("GFile*" "file")
+    '("GError**" "error")
+  )
+)
+
+(define-method load_from_path
+  (of-object "GtkCssProvider")
+  (c-name "gtk_css_provider_load_from_path")
+  (return-type "gboolean")
+  (parameters
+    '("const-gchar*" "path")
+    '("GError**" "error")
+  )
+)
+
+(define-function gtk_css_provider_get_default
+  (c-name "gtk_css_provider_get_default")
+  (return-type "GtkCssProvider*")
+)
+
+(define-function gtk_css_provider_get_named
+  (c-name "gtk_css_provider_get_named")
+  (return-type "GtkCssProvider*")
+  (parameters
+    '("const-gchar*" "name")
+    '("const-gchar*" "variant")
+  )
+)
+
 
 
 ;; From gtkdebug.h
@@ -10171,6 +10366,71 @@
 
 
 
+;; From gtkgradient.h
+
+(define-function gtk_gradient_get_type
+  (c-name "gtk_gradient_get_type")
+  (return-type "GType")
+)
+
+(define-function gtk_gradient_new_linear
+  (c-name "gtk_gradient_new_linear")
+  (return-type "GtkGradient*")
+  (parameters
+    '("gdouble" "x0")
+    '("gdouble" "y0")
+    '("gdouble" "x1")
+    '("gdouble" "y1")
+  )
+)
+
+(define-function gtk_gradient_new_radial
+  (c-name "gtk_gradient_new_radial")
+  (return-type "GtkGradient*")
+  (parameters
+    '("gdouble" "x0")
+    '("gdouble" "y0")
+    '("gdouble" "radius0")
+    '("gdouble" "x1")
+    '("gdouble" "y1")
+    '("gdouble" "radius1")
+  )
+)
+
+(define-method add_color_stop
+  (of-object "GtkGradient")
+  (c-name "gtk_gradient_add_color_stop")
+  (return-type "none")
+  (parameters
+    '("gdouble" "offset")
+    '("GtkSymbolicColor*" "color")
+  )
+)
+
+(define-method ref
+  (of-object "GtkGradient")
+  (c-name "gtk_gradient_ref")
+  (return-type "GtkGradient*")
+)
+
+(define-method unref
+  (of-object "GtkGradient")
+  (c-name "gtk_gradient_unref")
+  (return-type "none")
+)
+
+(define-method resolve
+  (of-object "GtkGradient")
+  (c-name "gtk_gradient_resolve")
+  (return-type "gboolean")
+  (parameters
+    '("GtkStyleProperties*" "props")
+    '("cairo_pattern_t**" "resolved_gradient")
+  )
+)
+
+
+
 ;; From gtkgrid.h
 
 (define-function gtk_grid_get_type
@@ -11146,6 +11406,17 @@
   )
 )
 
+(define-method load_symbolic_for_context
+  (of-object "GtkIconInfo")
+  (c-name "gtk_icon_info_load_symbolic_for_context")
+  (return-type "GdkPixbuf*")
+  (parameters
+    '("GtkStyleContext*" "context")
+    '("gboolean*" "was_symbolic")
+    '("GError**" "error")
+  )
+)
+
 (define-method load_symbolic_for_style
   (of-object "GtkIconInfo")
   (c-name "gtk_icon_info_load_symbolic_for_style")
@@ -19266,90 +19537,6 @@
 
 
 
-;; From gtkspreadtable.h
-
-(define-function gtk_spread_table_get_type
-  (c-name "gtk_spread_table_get_type")
-  (return-type "GType")
-)
-
-(define-function gtk_spread_table_new
-  (c-name "gtk_spread_table_new")
-  (is-constructor-of "GtkSpreadTable")
-  (return-type "GtkWidget*")
-  (parameters
-    '("GtkOrientation" "orientation")
-    '("guint" "lines")
-  )
-)
-
-(define-method insert_child
-  (of-object "GtkSpreadTable")
-  (c-name "gtk_spread_table_insert_child")
-  (return-type "none")
-  (parameters
-    '("GtkWidget*" "child")
-    '("gint" "index")
-  )
-)
-
-(define-method get_child_line
-  (of-object "GtkSpreadTable")
-  (c-name "gtk_spread_table_get_child_line")
-  (return-type "guint")
-  (parameters
-    '("GtkWidget*" "child")
-    '("gint" "size")
-  )
-)
-
-(define-method set_lines
-  (of-object "GtkSpreadTable")
-  (c-name "gtk_spread_table_set_lines")
-  (return-type "none")
-  (parameters
-    '("guint" "lines")
-  )
-)
-
-(define-method get_lines
-  (of-object "GtkSpreadTable")
-  (c-name "gtk_spread_table_get_lines")
-  (return-type "guint")
-)
-
-(define-method set_horizontal_spacing
-  (of-object "GtkSpreadTable")
-  (c-name "gtk_spread_table_set_horizontal_spacing")
-  (return-type "none")
-  (parameters
-    '("guint" "spacing")
-  )
-)
-
-(define-method get_horizontal_spacing
-  (of-object "GtkSpreadTable")
-  (c-name "gtk_spread_table_get_horizontal_spacing")
-  (return-type "guint")
-)
-
-(define-method set_vertical_spacing
-  (of-object "GtkSpreadTable")
-  (c-name "gtk_spread_table_set_vertical_spacing")
-  (return-type "none")
-  (parameters
-    '("guint" "spacing")
-  )
-)
-
-(define-method get_vertical_spacing
-  (of-object "GtkSpreadTable")
-  (c-name "gtk_spread_table_get_vertical_spacing")
-  (return-type "guint")
-)
-
-
-
 ;; From gtkstatusbar.h
 
 (define-function gtk_statusbar_get_type
@@ -19747,6 +19934,618 @@
 
 
 
+;; From gtkstylecontext.h
+
+(define-function gtk_style_context_get_type
+  (c-name "gtk_style_context_get_type")
+  (return-type "GType")
+)
+
+(define-function gtk_style_context_new
+  (c-name "gtk_style_context_new")
+  (is-constructor-of "GtkStyleContext")
+  (return-type "GtkStyleContext*")
+)
+
+(define-function gtk_style_context_add_provider_for_screen
+  (c-name "gtk_style_context_add_provider_for_screen")
+  (return-type "none")
+  (parameters
+    '("GdkScreen*" "screen")
+    '("GtkStyleProvider*" "provider")
+    '("guint" "priority")
+  )
+)
+
+(define-function gtk_style_context_remove_provider_for_screen
+  (c-name "gtk_style_context_remove_provider_for_screen")
+  (return-type "none")
+  (parameters
+    '("GdkScreen*" "screen")
+    '("GtkStyleProvider*" "provider")
+  )
+)
+
+(define-method add_provider
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_add_provider")
+  (return-type "none")
+  (parameters
+    '("GtkStyleProvider*" "provider")
+    '("guint" "priority")
+  )
+)
+
+(define-method remove_provider
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_remove_provider")
+  (return-type "none")
+  (parameters
+    '("GtkStyleProvider*" "provider")
+  )
+)
+
+(define-method save
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_save")
+  (return-type "none")
+)
+
+(define-method restore
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_restore")
+  (return-type "none")
+)
+
+(define-method get_property
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_get_property")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "property")
+    '("GtkStateFlags" "state")
+    '("GValue*" "value")
+  )
+)
+
+(define-method get_valist
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_get_valist")
+  (return-type "none")
+  (parameters
+    '("GtkStateFlags" "state")
+    '("va_list" "args")
+  )
+)
+
+(define-method get
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_get")
+  (return-type "none")
+  (parameters
+    '("GtkStateFlags" "state")
+  )
+  (varargs #t)
+)
+
+(define-method set_state
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_set_state")
+  (return-type "none")
+  (parameters
+    '("GtkStateFlags" "flags")
+  )
+)
+
+(define-method get_state
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_get_state")
+  (return-type "GtkStateFlags")
+)
+
+(define-method state_is_running
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_state_is_running")
+  (return-type "gboolean")
+  (parameters
+    '("GtkStateType" "state")
+    '("gdouble*" "progress")
+  )
+)
+
+(define-method set_path
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_set_path")
+  (return-type "none")
+  (parameters
+    '("GtkWidgetPath*" "path")
+  )
+)
+
+(define-method get_path
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_get_path")
+  (return-type "const-GtkWidgetPath*")
+)
+
+(define-method list_classes
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_list_classes")
+  (return-type "GList*")
+)
+
+(define-method add_class
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_add_class")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "class_name")
+  )
+)
+
+(define-method remove_class
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_remove_class")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "class_name")
+  )
+)
+
+(define-method has_class
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_has_class")
+  (return-type "gboolean")
+  (parameters
+    '("const-gchar*" "class_name")
+  )
+)
+
+(define-method list_regions
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_list_regions")
+  (return-type "GList*")
+)
+
+(define-method add_region
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_add_region")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "region_name")
+    '("GtkRegionFlags" "flags")
+  )
+)
+
+(define-method remove_region
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_remove_region")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "region_name")
+  )
+)
+
+(define-method has_region
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_has_region")
+  (return-type "gboolean")
+  (parameters
+    '("const-gchar*" "region_name")
+    '("GtkRegionFlags*" "flags_return")
+  )
+)
+
+(define-method get_style_property
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_get_style_property")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "property_name")
+    '("GValue*" "value")
+  )
+)
+
+(define-method get_style_valist
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_get_style_valist")
+  (return-type "none")
+  (parameters
+    '("va_list" "args")
+  )
+)
+
+(define-method get_style
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_get_style")
+  (return-type "none")
+  (parameters
+  )
+  (varargs #t)
+)
+
+(define-method lookup_icon_set
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_lookup_icon_set")
+  (return-type "GtkIconSet*")
+  (parameters
+    '("const-gchar*" "stock_id")
+  )
+)
+
+(define-method render_icon_pixbuf
+  (of-object "GtkIconSet")
+  (c-name "gtk_icon_set_render_icon_pixbuf")
+  (return-type "GdkPixbuf*")
+  (parameters
+    '("GtkStyleContext*" "context")
+    '("GtkIconSize" "size")
+  )
+)
+
+(define-method set_screen
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_set_screen")
+  (return-type "none")
+  (parameters
+    '("GdkScreen*" "screen")
+  )
+)
+
+(define-method get_screen
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_get_screen")
+  (return-type "GdkScreen*")
+)
+
+(define-method set_direction
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_set_direction")
+  (return-type "none")
+  (parameters
+    '("GtkTextDirection" "direction")
+  )
+)
+
+(define-method get_direction
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_get_direction")
+  (return-type "GtkTextDirection")
+)
+
+(define-method set_junction_sides
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_set_junction_sides")
+  (return-type "none")
+  (parameters
+    '("GtkJunctionSides" "sides")
+  )
+)
+
+(define-method get_junction_sides
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_get_junction_sides")
+  (return-type "GtkJunctionSides")
+)
+
+(define-method lookup_color
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_lookup_color")
+  (return-type "gboolean")
+  (parameters
+    '("const-gchar*" "color_name")
+    '("GdkRGBA*" "color")
+  )
+)
+
+(define-method notify_state_change
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_notify_state_change")
+  (return-type "none")
+  (parameters
+    '("GdkWindow*" "window")
+    '("gpointer" "region_id")
+    '("GtkStateType" "state")
+    '("gboolean" "state_value")
+  )
+)
+
+(define-method push_animatable_region
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_push_animatable_region")
+  (return-type "none")
+  (parameters
+    '("gpointer" "region_id")
+  )
+)
+
+(define-method pop_animatable_region
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_pop_animatable_region")
+  (return-type "none")
+)
+
+(define-method get_color
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_get_color")
+  (return-type "none")
+  (parameters
+    '("GtkStateFlags" "state")
+    '("GdkRGBA*" "color")
+  )
+)
+
+(define-method get_background_color
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_get_background_color")
+  (return-type "none")
+  (parameters
+    '("GtkStateFlags" "state")
+    '("GdkRGBA*" "color")
+  )
+)
+
+(define-method get_border_color
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_get_border_color")
+  (return-type "none")
+  (parameters
+    '("GtkStateFlags" "state")
+    '("GdkRGBA*" "color")
+  )
+)
+
+(define-method get_border
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_get_border")
+  (return-type "none")
+  (parameters
+    '("GtkStateFlags" "state")
+    '("GtkBorder*" "border")
+  )
+)
+
+(define-method get_padding
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_get_padding")
+  (return-type "none")
+  (parameters
+    '("GtkStateFlags" "state")
+    '("GtkBorder*" "padding")
+  )
+)
+
+(define-method get_margin
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_get_margin")
+  (return-type "none")
+  (parameters
+    '("GtkStateFlags" "state")
+    '("GtkBorder*" "margin")
+  )
+)
+
+(define-method invalidate
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_invalidate")
+  (return-type "none")
+)
+
+(define-function gtk_style_context_reset_widgets
+  (c-name "gtk_style_context_reset_widgets")
+  (return-type "none")
+  (parameters
+    '("GdkScreen*" "screen")
+  )
+)
+
+(define-method set_background
+  (of-object "GtkStyleContext")
+  (c-name "gtk_style_context_set_background")
+  (return-type "none")
+  (parameters
+    '("GdkWindow*" "window")
+  )
+)
+
+(define-function gtk_render_check
+  (c-name "gtk_render_check")
+  (return-type "none")
+  (parameters
+    '("GtkStyleContext*" "context")
+    '("cairo_t*" "cr")
+    '("gdouble" "x")
+    '("gdouble" "y")
+    '("gdouble" "width")
+    '("gdouble" "height")
+  )
+)
+
+(define-function gtk_render_option
+  (c-name "gtk_render_option")
+  (return-type "none")
+  (parameters
+    '("GtkStyleContext*" "context")
+    '("cairo_t*" "cr")
+    '("gdouble" "x")
+    '("gdouble" "y")
+    '("gdouble" "width")
+    '("gdouble" "height")
+  )
+)
+
+(define-function gtk_render_arrow
+  (c-name "gtk_render_arrow")
+  (return-type "none")
+  (parameters
+    '("GtkStyleContext*" "context")
+    '("cairo_t*" "cr")
+    '("gdouble" "angle")
+    '("gdouble" "x")
+    '("gdouble" "y")
+    '("gdouble" "size")
+  )
+)
+
+(define-function gtk_render_background
+  (c-name "gtk_render_background")
+  (return-type "none")
+  (parameters
+    '("GtkStyleContext*" "context")
+    '("cairo_t*" "cr")
+    '("gdouble" "x")
+    '("gdouble" "y")
+    '("gdouble" "width")
+    '("gdouble" "height")
+  )
+)
+
+(define-function gtk_render_frame
+  (c-name "gtk_render_frame")
+  (return-type "none")
+  (parameters
+    '("GtkStyleContext*" "context")
+    '("cairo_t*" "cr")
+    '("gdouble" "x")
+    '("gdouble" "y")
+    '("gdouble" "width")
+    '("gdouble" "height")
+  )
+)
+
+(define-function gtk_render_expander
+  (c-name "gtk_render_expander")
+  (return-type "none")
+  (parameters
+    '("GtkStyleContext*" "context")
+    '("cairo_t*" "cr")
+    '("gdouble" "x")
+    '("gdouble" "y")
+    '("gdouble" "width")
+    '("gdouble" "height")
+  )
+)
+
+(define-function gtk_render_focus
+  (c-name "gtk_render_focus")
+  (return-type "none")
+  (parameters
+    '("GtkStyleContext*" "context")
+    '("cairo_t*" "cr")
+    '("gdouble" "x")
+    '("gdouble" "y")
+    '("gdouble" "width")
+    '("gdouble" "height")
+  )
+)
+
+(define-function gtk_render_layout
+  (c-name "gtk_render_layout")
+  (return-type "none")
+  (parameters
+    '("GtkStyleContext*" "context")
+    '("cairo_t*" "cr")
+    '("gdouble" "x")
+    '("gdouble" "y")
+    '("PangoLayout*" "layout")
+  )
+)
+
+(define-function gtk_render_line
+  (c-name "gtk_render_line")
+  (return-type "none")
+  (parameters
+    '("GtkStyleContext*" "context")
+    '("cairo_t*" "cr")
+    '("gdouble" "x0")
+    '("gdouble" "y0")
+    '("gdouble" "x1")
+    '("gdouble" "y1")
+  )
+)
+
+(define-function gtk_render_slider
+  (c-name "gtk_render_slider")
+  (return-type "none")
+  (parameters
+    '("GtkStyleContext*" "context")
+    '("cairo_t*" "cr")
+    '("gdouble" "x")
+    '("gdouble" "y")
+    '("gdouble" "width")
+    '("gdouble" "height")
+    '("GtkOrientation" "orientation")
+  )
+)
+
+(define-function gtk_render_frame_gap
+  (c-name "gtk_render_frame_gap")
+  (return-type "none")
+  (parameters
+    '("GtkStyleContext*" "context")
+    '("cairo_t*" "cr")
+    '("gdouble" "x")
+    '("gdouble" "y")
+    '("gdouble" "width")
+    '("gdouble" "height")
+    '("GtkPositionType" "gap_side")
+    '("gdouble" "xy0_gap")
+    '("gdouble" "xy1_gap")
+  )
+)
+
+(define-function gtk_render_extension
+  (c-name "gtk_render_extension")
+  (return-type "none")
+  (parameters
+    '("GtkStyleContext*" "context")
+    '("cairo_t*" "cr")
+    '("gdouble" "x")
+    '("gdouble" "y")
+    '("gdouble" "width")
+    '("gdouble" "height")
+    '("GtkPositionType" "gap_side")
+  )
+)
+
+(define-function gtk_render_handle
+  (c-name "gtk_render_handle")
+  (return-type "none")
+  (parameters
+    '("GtkStyleContext*" "context")
+    '("cairo_t*" "cr")
+    '("gdouble" "x")
+    '("gdouble" "y")
+    '("gdouble" "width")
+    '("gdouble" "height")
+  )
+)
+
+(define-function gtk_render_activity
+  (c-name "gtk_render_activity")
+  (return-type "none")
+  (parameters
+    '("GtkStyleContext*" "context")
+    '("cairo_t*" "cr")
+    '("gdouble" "x")
+    '("gdouble" "y")
+    '("gdouble" "width")
+    '("gdouble" "height")
+  )
+)
+
+(define-function gtk_render_icon_pixbuf
+  (c-name "gtk_render_icon_pixbuf")
+  (return-type "GdkPixbuf*")
+  (parameters
+    '("GtkStyleContext*" "context")
+    '("const-GtkIconSource*" "source")
+    '("GtkIconSize" "size")
+  )
+)
+
+
+
 ;; From gtkstyle.h
 
 (define-function gtk_style_get_type
@@ -20182,29 +20981,6 @@
   )
 )
 
-(define-function gtk_border_get_type
-  (c-name "gtk_border_get_type")
-  (return-type "GType")
-)
-
-(define-function gtk_border_new
-  (c-name "gtk_border_new")
-  (is-constructor-of "GtkBorder")
-  (return-type "GtkBorder*")
-)
-
-(define-method copy
-  (of-object "GtkBorder")
-  (c-name "gtk_border_copy")
-  (return-type "GtkBorder*")
-)
-
-(define-method free
-  (of-object "GtkBorder")
-  (c-name "gtk_border_free")
-  (return-type "none")
-)
-
 (define-method get_style_property
   (of-object "GtkStyle")
   (c-name "gtk_style_get_style_property")
@@ -20251,6 +21027,192 @@
   )
 )
 
+(define-method has_context
+  (of-object "GtkStyle")
+  (c-name "gtk_style_has_context")
+  (return-type "gboolean")
+)
+
+
+
+;; From gtkstyleproperties.h
+
+(define-function gtk_style_properties_get_type
+  (c-name "gtk_style_properties_get_type")
+  (return-type "GType")
+)
+
+(define-function gtk_style_properties_register_property
+  (c-name "gtk_style_properties_register_property")
+  (return-type "none")
+  (parameters
+    '("GtkStylePropertyParser" "parse_func")
+    '("GParamSpec*" "pspec")
+  )
+)
+
+(define-function gtk_style_properties_lookup_property
+  (c-name "gtk_style_properties_lookup_property")
+  (return-type "gboolean")
+  (parameters
+    '("const-gchar*" "property_name")
+    '("GtkStylePropertyParser*" "parse_func")
+    '("GParamSpec**" "pspec")
+  )
+)
+
+(define-function gtk_style_properties_new
+  (c-name "gtk_style_properties_new")
+  (is-constructor-of "GtkStyleProperties")
+  (return-type "GtkStyleProperties*")
+)
+
+(define-method map_color
+  (of-object "GtkStyleProperties")
+  (c-name "gtk_style_properties_map_color")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "name")
+    '("GtkSymbolicColor*" "color")
+  )
+)
+
+(define-method lookup_color
+  (of-object "GtkStyleProperties")
+  (c-name "gtk_style_properties_lookup_color")
+  (return-type "GtkSymbolicColor*")
+  (parameters
+    '("const-gchar*" "name")
+  )
+)
+
+(define-method set_property
+  (of-object "GtkStyleProperties")
+  (c-name "gtk_style_properties_set_property")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "property")
+    '("GtkStateFlags" "state")
+    '("const-GValue*" "value")
+  )
+)
+
+(define-method set_valist
+  (of-object "GtkStyleProperties")
+  (c-name "gtk_style_properties_set_valist")
+  (return-type "none")
+  (parameters
+    '("GtkStateFlags" "state")
+    '("va_list" "args")
+  )
+)
+
+(define-method set
+  (of-object "GtkStyleProperties")
+  (c-name "gtk_style_properties_set")
+  (return-type "none")
+  (parameters
+    '("GtkStateFlags" "state")
+  )
+  (varargs #t)
+)
+
+(define-method get_property
+  (of-object "GtkStyleProperties")
+  (c-name "gtk_style_properties_get_property")
+  (return-type "gboolean")
+  (parameters
+    '("const-gchar*" "property")
+    '("GtkStateFlags" "state")
+    '("GValue*" "value")
+  )
+)
+
+(define-method get_valist
+  (of-object "GtkStyleProperties")
+  (c-name "gtk_style_properties_get_valist")
+  (return-type "none")
+  (parameters
+    '("GtkStateFlags" "state")
+    '("va_list" "args")
+  )
+)
+
+(define-method get
+  (of-object "GtkStyleProperties")
+  (c-name "gtk_style_properties_get")
+  (return-type "none")
+  (parameters
+    '("GtkStateFlags" "state")
+  )
+  (varargs #t)
+)
+
+(define-method unset_property
+  (of-object "GtkStyleProperties")
+  (c-name "gtk_style_properties_unset_property")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "property")
+    '("GtkStateFlags" "state")
+  )
+)
+
+(define-method clear
+  (of-object "GtkStyleProperties")
+  (c-name "gtk_style_properties_clear")
+  (return-type "none")
+)
+
+(define-method merge
+  (of-object "GtkStyleProperties")
+  (c-name "gtk_style_properties_merge")
+  (return-type "none")
+  (parameters
+    '("const-GtkStyleProperties*" "props_to_merge")
+    '("gboolean" "replace")
+  )
+)
+
+
+
+;; From gtkstyleprovider.h
+
+(define-function gtk_style_provider_get_type
+  (c-name "gtk_style_provider_get_type")
+  (return-type "GType")
+)
+
+(define-method get_style
+  (of-object "GtkStyleProvider")
+  (c-name "gtk_style_provider_get_style")
+  (return-type "GtkStyleProperties*")
+  (parameters
+    '("GtkWidgetPath*" "path")
+  )
+)
+
+(define-method get_style_property
+  (of-object "GtkStyleProvider")
+  (c-name "gtk_style_provider_get_style_property")
+  (return-type "gboolean")
+  (parameters
+    '("GtkWidgetPath*" "path")
+    '("GtkStateFlags" "state")
+    '("GParamSpec*" "pspec")
+    '("GValue*" "value")
+  )
+)
+
+(define-method get_icon_factory
+  (of-object "GtkStyleProvider")
+  (c-name "gtk_style_provider_get_icon_factory")
+  (return-type "GtkIconFactory*")
+  (parameters
+    '("GtkWidgetPath*" "path")
+  )
+)
+
 
 
 ;; From gtkswitch.h
@@ -20283,6 +21245,81 @@
 
 
 
+;; From gtksymboliccolor.h
+
+(define-function gtk_symbolic_color_get_type
+  (c-name "gtk_symbolic_color_get_type")
+  (return-type "GType")
+)
+
+(define-function gtk_symbolic_color_new_literal
+  (c-name "gtk_symbolic_color_new_literal")
+  (return-type "GtkSymbolicColor*")
+  (parameters
+    '("const-GdkRGBA*" "color")
+  )
+)
+
+(define-function gtk_symbolic_color_new_name
+  (c-name "gtk_symbolic_color_new_name")
+  (return-type "GtkSymbolicColor*")
+  (parameters
+    '("const-gchar*" "name")
+  )
+)
+
+(define-method new_shade
+  (of-object "GtkSymbolicColor")
+  (c-name "gtk_symbolic_color_new_shade")
+  (return-type "GtkSymbolicColor*")
+  (parameters
+    '("gdouble" "factor")
+  )
+)
+
+(define-method new_alpha
+  (of-object "GtkSymbolicColor")
+  (c-name "gtk_symbolic_color_new_alpha")
+  (return-type "GtkSymbolicColor*")
+  (parameters
+    '("gdouble" "factor")
+  )
+)
+
+(define-method new_mix
+  (of-object "GtkSymbolicColor")
+  (c-name "gtk_symbolic_color_new_mix")
+  (return-type "GtkSymbolicColor*")
+  (parameters
+    '("GtkSymbolicColor*" "color2")
+    '("gdouble" "factor")
+  )
+)
+
+(define-method ref
+  (of-object "GtkSymbolicColor")
+  (c-name "gtk_symbolic_color_ref")
+  (return-type "GtkSymbolicColor*")
+)
+
+(define-method unref
+  (of-object "GtkSymbolicColor")
+  (c-name "gtk_symbolic_color_unref")
+  (return-type "none")
+)
+
+(define-method resolve
+  (of-object "GtkSymbolicColor")
+  (c-name "gtk_symbolic_color_resolve")
+  (return-type "gboolean")
+  (parameters
+    '("GtkStyleProperties*" "props")
+    '("GdkRGBA*" "resolved_color")
+  )
+)
+
+
+
 ;; From gtktable.h
 
 (define-function gtk_table_get_type
@@ -23226,6 +24263,221 @@
 
 
 
+;; From gtkthemingengine.h
+
+(define-function gtk_theming_engine_get_type
+  (c-name "gtk_theming_engine_get_type")
+  (return-type "GType")
+)
+
+(define-function gtk_theming_engine_register_property
+  (c-name "gtk_theming_engine_register_property")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "name_space")
+    '("GtkStylePropertyParser" "parse_func")
+    '("GParamSpec*" "pspec")
+  )
+)
+
+(define-method get_property
+  (of-object "GtkThemingEngine")
+  (c-name "gtk_theming_engine_get_property")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "property")
+    '("GtkStateFlags" "state")
+    '("GValue*" "value")
+  )
+)
+
+(define-method get_valist
+  (of-object "GtkThemingEngine")
+  (c-name "gtk_theming_engine_get_valist")
+  (return-type "none")
+  (parameters
+    '("GtkStateFlags" "state")
+    '("va_list" "args")
+  )
+)
+
+(define-method get
+  (of-object "GtkThemingEngine")
+  (c-name "gtk_theming_engine_get")
+  (return-type "none")
+  (parameters
+    '("GtkStateFlags" "state")
+  )
+  (varargs #t)
+)
+
+(define-method get_style_property
+  (of-object "GtkThemingEngine")
+  (c-name "gtk_theming_engine_get_style_property")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "property_name")
+    '("GValue*" "value")
+  )
+)
+
+(define-method get_style_valist
+  (of-object "GtkThemingEngine")
+  (c-name "gtk_theming_engine_get_style_valist")
+  (return-type "none")
+  (parameters
+    '("va_list" "args")
+  )
+)
+
+(define-method get_style
+  (of-object "GtkThemingEngine")
+  (c-name "gtk_theming_engine_get_style")
+  (return-type "none")
+  (parameters
+  )
+  (varargs #t)
+)
+
+(define-method lookup_color
+  (of-object "GtkThemingEngine")
+  (c-name "gtk_theming_engine_lookup_color")
+  (return-type "gboolean")
+  (parameters
+    '("const-gchar*" "color_name")
+    '("GdkRGBA*" "color")
+  )
+)
+
+(define-method get_path
+  (of-object "GtkThemingEngine")
+  (c-name "gtk_theming_engine_get_path")
+  (return-type "const-GtkWidgetPath*")
+)
+
+(define-method has_class
+  (of-object "GtkThemingEngine")
+  (c-name "gtk_theming_engine_has_class")
+  (return-type "gboolean")
+  (parameters
+    '("const-gchar*" "style_class")
+  )
+)
+
+(define-method has_region
+  (of-object "GtkThemingEngine")
+  (c-name "gtk_theming_engine_has_region")
+  (return-type "gboolean")
+  (parameters
+    '("const-gchar*" "style_region")
+    '("GtkRegionFlags*" "flags")
+  )
+)
+
+(define-method get_state
+  (of-object "GtkThemingEngine")
+  (c-name "gtk_theming_engine_get_state")
+  (return-type "GtkStateFlags")
+)
+
+(define-method state_is_running
+  (of-object "GtkThemingEngine")
+  (c-name "gtk_theming_engine_state_is_running")
+  (return-type "gboolean")
+  (parameters
+    '("GtkStateType" "state")
+    '("gdouble*" "progress")
+  )
+)
+
+(define-method get_direction
+  (of-object "GtkThemingEngine")
+  (c-name "gtk_theming_engine_get_direction")
+  (return-type "GtkTextDirection")
+)
+
+(define-method get_junction_sides
+  (of-object "GtkThemingEngine")
+  (c-name "gtk_theming_engine_get_junction_sides")
+  (return-type "GtkJunctionSides")
+)
+
+(define-method get_color
+  (of-object "GtkThemingEngine")
+  (c-name "gtk_theming_engine_get_color")
+  (return-type "none")
+  (parameters
+    '("GtkStateFlags" "state")
+    '("GdkRGBA*" "color")
+  )
+)
+
+(define-method get_background_color
+  (of-object "GtkThemingEngine")
+  (c-name "gtk_theming_engine_get_background_color")
+  (return-type "none")
+  (parameters
+    '("GtkStateFlags" "state")
+    '("GdkRGBA*" "color")
+  )
+)
+
+(define-method get_border_color
+  (of-object "GtkThemingEngine")
+  (c-name "gtk_theming_engine_get_border_color")
+  (return-type "none")
+  (parameters
+    '("GtkStateFlags" "state")
+    '("GdkRGBA*" "color")
+  )
+)
+
+(define-method get_border
+  (of-object "GtkThemingEngine")
+  (c-name "gtk_theming_engine_get_border")
+  (return-type "none")
+  (parameters
+    '("GtkStateFlags" "state")
+    '("GtkBorder*" "border")
+  )
+)
+
+(define-method get_padding
+  (of-object "GtkThemingEngine")
+  (c-name "gtk_theming_engine_get_padding")
+  (return-type "none")
+  (parameters
+    '("GtkStateFlags" "state")
+    '("GtkBorder*" "padding")
+  )
+)
+
+(define-method get_margin
+  (of-object "GtkThemingEngine")
+  (c-name "gtk_theming_engine_get_margin")
+  (return-type "none")
+  (parameters
+    '("GtkStateFlags" "state")
+    '("GtkBorder*" "margin")
+  )
+)
+
+(define-function gtk_theming_engine_load
+  (c-name "gtk_theming_engine_load")
+  (return-type "GtkThemingEngine*")
+  (parameters
+    '("const-gchar*" "name")
+  )
+)
+
+(define-method get_screen
+  (of-object "GtkThemingEngine")
+  (c-name "gtk_theming_engine_get_screen")
+  (return-type "GdkScreen*")
+)
+
+
+
 ;; From gtktoggleaction.h
 
 (define-function gtk_toggle_action_get_type
@@ -26897,6 +28149,11 @@
   (return-type "GType")
 )
 
+(define-function gtk_css_provider_error_get_type
+  (c-name "gtk_css_provider_error_get_type")
+  (return-type "GType")
+)
+
 (define-function gtk_debug_flag_get_type
   (c-name "gtk_debug_flag_get_type")
   (return-type "GType")
@@ -27172,6 +28429,26 @@
   (return-type "GType")
 )
 
+(define-function gtk_state_flags_get_type
+  (c-name "gtk_state_flags_get_type")
+  (return-type "GType")
+)
+
+(define-function gtk_region_flags_get_type
+  (c-name "gtk_region_flags_get_type")
+  (return-type "GType")
+)
+
+(define-function gtk_junction_sides_get_type
+  (c-name "gtk_junction_sides_get_type")
+  (return-type "GType")
+)
+
+(define-function gtk_border_style_get_type
+  (c-name "gtk_border_style_get_type")
+  (return-type "GType")
+)
+
 (define-function gtk_file_chooser_action_get_type
   (c-name "gtk_file_chooser_action_get_type")
   (return-type "GType")
@@ -28213,6 +29490,31 @@
   (return-type "GtkStateType")
 )
 
+(define-method set_state_flags
+  (of-object "GtkWidget")
+  (c-name "gtk_widget_set_state_flags")
+  (return-type "none")
+  (parameters
+    '("GtkStateFlags" "flags")
+    '("gboolean" "clear")
+  )
+)
+
+(define-method unset_state_flags
+  (of-object "GtkWidget")
+  (c-name "gtk_widget_unset_state_flags")
+  (return-type "none")
+  (parameters
+    '("GtkStateFlags" "flags")
+  )
+)
+
+(define-method get_state_flags
+  (of-object "GtkWidget")
+  (c-name "gtk_widget_get_state_flags")
+  (return-type "GtkStateFlags")
+)
+
 (define-method set_sensitive
   (of-object "GtkWidget")
   (c-name "gtk_widget_set_sensitive")
@@ -28849,6 +30151,55 @@
   (return-type "gboolean")
 )
 
+(define-method override_color
+  (of-object "GtkWidget")
+  (c-name "gtk_widget_override_color")
+  (return-type "none")
+  (parameters
+    '("GtkStateFlags" "state")
+    '("const-GdkRGBA*" "color")
+  )
+)
+
+(define-method override_background_color
+  (of-object "GtkWidget")
+  (c-name "gtk_widget_override_background_color")
+  (return-type "none")
+  (parameters
+    '("GtkStateFlags" "state")
+    '("const-GdkRGBA*" "color")
+  )
+)
+
+(define-method override_font
+  (of-object "GtkWidget")
+  (c-name "gtk_widget_override_font")
+  (return-type "none")
+  (parameters
+    '("const-PangoFontDescription*" "font_desc")
+  )
+)
+
+(define-method override_symbolic_color
+  (of-object "GtkWidget")
+  (c-name "gtk_widget_override_symbolic_color")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "name")
+    '("const-GdkRGBA*" "color")
+  )
+)
+
+(define-method override_cursor
+  (of-object "GtkWidget")
+  (c-name "gtk_widget_override_cursor")
+  (return-type "none")
+  (parameters
+    '("const-GdkRGBA*" "cursor")
+    '("const-GdkRGBA*" "secondary_cursor")
+  )
+)
+
 (define-method style_attach
   (of-object "GtkWidget")
   (c-name "gtk_widget_style_attach")
@@ -28956,13 +30307,42 @@
   )
 )
 
-(define-method modify_symbolic_color
+(define-method reset_rc_styles
+  (of-object "GtkWidget")
+  (c-name "gtk_widget_reset_rc_styles")
+  (return-type "none")
+)
+
+(define-method reset_style
   (of-object "GtkWidget")
-  (c-name "gtk_widget_modify_symbolic_color")
+  (c-name "gtk_widget_reset_style")
+  (return-type "none")
+)
+
+(define-function gtk_widget_get_default_style
+  (c-name "gtk_widget_get_default_style")
+  (return-type "GtkStyle*")
+)
+
+(define-method path
+  (of-object "GtkWidget")
+  (c-name "gtk_widget_path")
   (return-type "none")
   (parameters
-    '("const-gchar*" "name")
-    '("const-GdkColor*" "color")
+    '("guint*" "path_length")
+    '("gchar**" "path")
+    '("gchar**" "path_reversed")
+  )
+)
+
+(define-method class_path
+  (of-object "GtkWidget")
+  (c-name "gtk_widget_class_path")
+  (return-type "none")
+  (parameters
+    '("guint*" "path_length")
+    '("gchar**" "path")
+    '("gchar**" "path_reversed")
   )
 )
 
@@ -29013,12 +30393,6 @@
   (return-type "gchar*")
 )
 
-(define-method reset_rc_styles
-  (of-object "GtkWidget")
-  (c-name "gtk_widget_reset_rc_styles")
-  (return-type "none")
-)
-
 (define-function gtk_widget_push_composite_child
   (c-name "gtk_widget_push_composite_child")
   (return-type "none")
@@ -29096,11 +30470,6 @@
   (varargs #t)
 )
 
-(define-function gtk_widget_get_default_style
-  (c-name "gtk_widget_get_default_style")
-  (return-type "GtkStyle*")
-)
-
 (define-method set_direction
   (of-object "GtkWidget")
   (c-name "gtk_widget_set_direction")
@@ -29159,28 +30528,6 @@
   (return-type "none")
 )
 
-(define-method path
-  (of-object "GtkWidget")
-  (c-name "gtk_widget_path")
-  (return-type "none")
-  (parameters
-    '("guint*" "path_length")
-    '("gchar**" "path")
-    '("gchar**" "path_reversed")
-  )
-)
-
-(define-method class_path
-  (of-object "GtkWidget")
-  (c-name "gtk_widget_class_path")
-  (return-type "none")
-  (parameters
-    '("guint*" "path_length")
-    '("gchar**" "path")
-    '("gchar**" "path_reversed")
-  )
-)
-
 (define-method list_mnemonic_labels
   (of-object "GtkWidget")
   (c-name "gtk_widget_list_mnemonic_labels")
@@ -29319,6 +30666,265 @@
   (return-type "gboolean")
 )
 
+(define-method get_style_context
+  (of-object "GtkWidget")
+  (c-name "gtk_widget_get_style_context")
+  (return-type "GtkStyleContext*")
+)
+
+(define-method get_path
+  (of-object "GtkWidget")
+  (c-name "gtk_widget_get_path")
+  (return-type "GtkWidgetPath*")
+)
+
+
+
+;; From gtkwidgetpath.h
+
+(define-function gtk_widget_path_new
+  (c-name "gtk_widget_path_new")
+  (is-constructor-of "GtkWidgetPath")
+  (return-type "GtkWidgetPath*")
+)
+
+(define-method copy
+  (of-object "GtkWidgetPath")
+  (c-name "gtk_widget_path_copy")
+  (return-type "GtkWidgetPath*")
+)
+
+(define-method free
+  (of-object "GtkWidgetPath")
+  (c-name "gtk_widget_path_free")
+  (return-type "none")
+)
+
+(define-method length
+  (of-object "GtkWidgetPath")
+  (c-name "gtk_widget_path_length")
+  (return-type "gint")
+)
+
+(define-method append_type
+  (of-object "GtkWidgetPath")
+  (c-name "gtk_widget_path_append_type")
+  (return-type "gint")
+  (parameters
+    '("GType" "type")
+  )
+)
+
+(define-method prepend_type
+  (of-object "GtkWidgetPath")
+  (c-name "gtk_widget_path_prepend_type")
+  (return-type "none")
+  (parameters
+    '("GType" "type")
+  )
+)
+
+(define-method iter_get_widget_type
+  (of-object "GtkWidgetPath")
+  (c-name "gtk_widget_path_iter_get_widget_type")
+  (return-type "GType")
+  (parameters
+    '("gint" "pos")
+  )
+)
+
+(define-method iter_set_widget_type
+  (of-object "GtkWidgetPath")
+  (c-name "gtk_widget_path_iter_set_widget_type")
+  (return-type "none")
+  (parameters
+    '("gint" "pos")
+    '("GType" "type")
+  )
+)
+
+(define-method iter_get_name
+  (of-object "GtkWidgetPath")
+  (c-name "gtk_widget_path_iter_get_name")
+  (return-type "const-gchar*")
+  (parameters
+    '("gint" "pos")
+  )
+)
+
+(define-method iter_set_name
+  (of-object "GtkWidgetPath")
+  (c-name "gtk_widget_path_iter_set_name")
+  (return-type "none")
+  (parameters
+    '("gint" "pos")
+    '("const-gchar*" "name")
+  )
+)
+
+(define-method iter_has_name
+  (of-object "GtkWidgetPath")
+  (c-name "gtk_widget_path_iter_has_name")
+  (return-type "gboolean")
+  (parameters
+    '("gint" "pos")
+    '("const-gchar*" "name")
+  )
+)
+
+(define-method iter_has_qname
+  (of-object "GtkWidgetPath")
+  (c-name "gtk_widget_path_iter_has_qname")
+  (return-type "gboolean")
+  (parameters
+    '("gint" "pos")
+    '("GQuark" "qname")
+  )
+)
+
+(define-method iter_add_class
+  (of-object "GtkWidgetPath")
+  (c-name "gtk_widget_path_iter_add_class")
+  (return-type "none")
+  (parameters
+    '("gint" "pos")
+    '("const-gchar*" "name")
+  )
+)
+
+(define-method iter_remove_class
+  (of-object "GtkWidgetPath")
+  (c-name "gtk_widget_path_iter_remove_class")
+  (return-type "none")
+  (parameters
+    '("gint" "pos")
+    '("const-gchar*" "name")
+  )
+)
+
+(define-method iter_clear_classes
+  (of-object "GtkWidgetPath")
+  (c-name "gtk_widget_path_iter_clear_classes")
+  (return-type "none")
+  (parameters
+    '("gint" "pos")
+  )
+)
+
+(define-method iter_list_classes
+  (of-object "GtkWidgetPath")
+  (c-name "gtk_widget_path_iter_list_classes")
+  (return-type "GSList*")
+  (parameters
+    '("gint" "pos")
+  )
+)
+
+(define-method iter_has_class
+  (of-object "GtkWidgetPath")
+  (c-name "gtk_widget_path_iter_has_class")
+  (return-type "gboolean")
+  (parameters
+    '("gint" "pos")
+    '("const-gchar*" "name")
+  )
+)
+
+(define-method iter_has_qclass
+  (of-object "GtkWidgetPath")
+  (c-name "gtk_widget_path_iter_has_qclass")
+  (return-type "gboolean")
+  (parameters
+    '("gint" "pos")
+    '("GQuark" "qname")
+  )
+)
+
+(define-method iter_add_region
+  (of-object "GtkWidgetPath")
+  (c-name "gtk_widget_path_iter_add_region")
+  (return-type "none")
+  (parameters
+    '("gint" "pos")
+    '("const-gchar*" "name")
+    '("GtkRegionFlags" "flags")
+  )
+)
+
+(define-method iter_remove_region
+  (of-object "GtkWidgetPath")
+  (c-name "gtk_widget_path_iter_remove_region")
+  (return-type "none")
+  (parameters
+    '("gint" "pos")
+    '("const-gchar*" "name")
+  )
+)
+
+(define-method iter_clear_regions
+  (of-object "GtkWidgetPath")
+  (c-name "gtk_widget_path_iter_clear_regions")
+  (return-type "none")
+  (parameters
+    '("gint" "pos")
+  )
+)
+
+(define-method iter_list_regions
+  (of-object "GtkWidgetPath")
+  (c-name "gtk_widget_path_iter_list_regions")
+  (return-type "GSList*")
+  (parameters
+    '("gint" "pos")
+  )
+)
+
+(define-method iter_has_region
+  (of-object "GtkWidgetPath")
+  (c-name "gtk_widget_path_iter_has_region")
+  (return-type "gboolean")
+  (parameters
+    '("gint" "pos")
+    '("const-gchar*" "name")
+    '("GtkRegionFlags*" "flags")
+  )
+)
+
+(define-method iter_has_qregion
+  (of-object "GtkWidgetPath")
+  (c-name "gtk_widget_path_iter_has_qregion")
+  (return-type "gboolean")
+  (parameters
+    '("gint" "pos")
+    '("GQuark" "qname")
+    '("GtkRegionFlags*" "flags")
+  )
+)
+
+(define-method get_widget_type
+  (of-object "GtkWidgetPath")
+  (c-name "gtk_widget_path_get_widget_type")
+  (return-type "GType")
+)
+
+(define-method is_type
+  (of-object "GtkWidgetPath")
+  (c-name "gtk_widget_path_is_type")
+  (return-type "gboolean")
+  (parameters
+    '("GType" "type")
+  )
+)
+
+(define-method has_parent
+  (of-object "GtkWidgetPath")
+  (c-name "gtk_widget_path_has_parent")
+  (return-type "gboolean")
+  (parameters
+    '("GType" "type")
+  )
+)
+
 
 
 ;; From gtkwindow.h
diff --git a/gtk/src/iconinfo.ccg b/gtk/src/iconinfo.ccg
index 7bf0a03..0fa2e38 100644
--- a/gtk/src/iconinfo.ccg
+++ b/gtk/src/iconinfo.ccg
@@ -59,6 +59,7 @@ Glib::RefPtr<Gdk::Pixbuf> IconInfo::load_icon_symbolic(const Gdk::RGBA& fg, cons
   return retvalue;
 }
 
+/* deprecated
 Glib::RefPtr<Gdk::Pixbuf> IconInfo::load_icon_symbolic(const Glib::RefPtr<Style>& style, StateType state, bool& was_symbolic) const
 {
   GError* gerror = 0;
@@ -70,5 +71,6 @@ Glib::RefPtr<Gdk::Pixbuf> IconInfo::load_icon_symbolic(const Glib::RefPtr<Style>
 
   return retvalue;
 }
+*/
 
 } // namespace Gtk
diff --git a/gtk/src/iconinfo.hg b/gtk/src/iconinfo.hg
index 08a7fd6..41c917e 100644
--- a/gtk/src/iconinfo.hg
+++ b/gtk/src/iconinfo.hg
@@ -52,8 +52,11 @@ public:
   Glib::RefPtr<Gdk::Pixbuf> load_icon_symbolic(const Gdk::RGBA& fg, const Gdk::RGBA& success_color, const Gdk::RGBA& warning_color, const Gdk::RGBA& error_color, bool& was_symbolic) const;
   _IGNORE(gtk_icon_info_load_symbolic)
 
+/* TODO: Wrap gtk_icon_info_load_symbolic_for_context().
   Glib::RefPtr<Gdk::Pixbuf> load_icon_symbolic(const Glib::RefPtr<Style>& style, StateType state, bool& was_symbolic) const;
-  _IGNORE(gtk_icon_info_load_symbolic_for_style)
+*/
+  _IGNORE(gtk_icon_info_load_symbolic_for_style) //deprecated
+
 
   _WRAP_METHOD(void set_raw_coordinates(bool raw_coordinates = true), gtk_icon_info_set_raw_coordinates)
   _WRAP_METHOD(bool get_embedded_rect(Gdk::Rectangle& rectangle) const, gtk_icon_info_get_embedded_rect)



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