[gtkmm] Regenerate function .defs.



commit 2fa4d02f27332e6459f3fbf67484af3ff96e532a
Author: Murray Cumming <murrayc murrayc com>
Date:   Thu Jun 10 09:10:42 2010 +0200

    Regenerate function .defs.
    
    * gdk/src/gdk_methods.defs:
    * gtk/src/gtk_methods.defs: Regenerated with h2defs.py so the new
        methods are actually generated.

 ChangeLog                |    8 +
 gdk/src/gdk_methods.defs |  428 ++++++++++++++++++++++++++++++++++------------
 gtk/src/gtk_methods.defs |  354 +++++++++++++++++++++++++++++++++-----
 3 files changed, 638 insertions(+), 152 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 92e4d63..e0c18ec 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-06-10  Murray Cumming  <murrayc murrayc com>
+
+	Regenerate function .defs.
+
+	* gdk/src/gdk_methods.defs:
+	* gtk/src/gtk_methods.defs: Regenerated with h2defs.py so the new
+    methods are actually generated.
+
 2010-06-09  Murray Cumming  <murrayc murrayc com>
 
     Fix the build with GTK+ git master, adding and renaming API.
diff --git a/gdk/src/gdk_methods.defs b/gdk/src/gdk_methods.defs
index 2f47a75..e8cc5fd 100644
--- a/gdk/src/gdk_methods.defs
+++ b/gdk/src/gdk_methods.defs
@@ -896,6 +896,17 @@
   )
 )
 
+(define-enum RgbDither
+  (in-module "Xlib")
+  (c-name "XlibRgbDither")
+  (gtype-id "XLIB_TYPE_RGB_DITHER")
+  (values
+    '("none" "XLIB_RGB_DITHER_NONE")
+    '("normal" "XLIB_RGB_DITHER_NORMAL")
+    '("max" "XLIB_RGB_DITHER_MAX")
+  )
+)
+
 
 ;; From gdkapplaunchcontext.h
 
@@ -1053,18 +1064,6 @@
   )
 )
 
-(define-method ref
-  (of-object "GdkColormap")
-  (c-name "gdk_colormap_ref")
-  (return-type "GdkColormap*")
-)
-
-(define-method unref
-  (of-object "GdkColormap")
-  (c-name "gdk_colormap_unref")
-  (return-type "none")
-)
-
 (define-function gdk_colormap_get_system
   (c-name "gdk_colormap_get_system")
   (return-type "GdkColormap*")
@@ -1076,20 +1075,6 @@
   (return-type "GdkScreen*")
 )
 
-(define-function gdk_colormap_get_system_size
-  (c-name "gdk_colormap_get_system_size")
-  (return-type "gint")
-)
-
-(define-method change
-  (of-object "GdkColormap")
-  (c-name "gdk_colormap_change")
-  (return-type "none")
-  (parameters
-    '("gint" "ncolors")
-  )
-)
-
 (define-method alloc_colors
   (of-object "GdkColormap")
   (c-name "gdk_colormap_alloc_colors")
@@ -1187,76 +1172,6 @@
   (return-type "GType")
 )
 
-(define-function gdk_colors_store
-  (c-name "gdk_colors_store")
-  (return-type "none")
-  (parameters
-    '("GdkColormap*" "colormap")
-    '("GdkColor*" "colors")
-    '("gint" "ncolors")
-  )
-)
-
-(define-function gdk_color_white
-  (c-name "gdk_color_white")
-  (return-type "gint")
-  (parameters
-    '("GdkColormap*" "colormap")
-    '("GdkColor*" "color")
-  )
-)
-
-(define-function gdk_color_black
-  (c-name "gdk_color_black")
-  (return-type "gint")
-  (parameters
-    '("GdkColormap*" "colormap")
-    '("GdkColor*" "color")
-  )
-)
-
-(define-function gdk_color_alloc
-  (c-name "gdk_color_alloc")
-  (return-type "gint")
-  (parameters
-    '("GdkColormap*" "colormap")
-    '("GdkColor*" "color")
-  )
-)
-
-(define-function gdk_color_change
-  (c-name "gdk_color_change")
-  (return-type "gint")
-  (parameters
-    '("GdkColormap*" "colormap")
-    '("GdkColor*" "color")
-  )
-)
-
-(define-function gdk_colors_alloc
-  (c-name "gdk_colors_alloc")
-  (return-type "gint")
-  (parameters
-    '("GdkColormap*" "colormap")
-    '("gboolean" "contiguous")
-    '("gulong*" "planes")
-    '("gint" "nplanes")
-    '("gulong*" "pixels")
-    '("gint" "npixels")
-  )
-)
-
-(define-function gdk_colors_free
-  (c-name "gdk_colors_free")
-  (return-type "none")
-  (parameters
-    '("GdkColormap*" "colormap")
-    '("gulong*" "pixels")
-    '("gint" "npixels")
-    '("gulong" "planes")
-  )
-)
-
 
 
 ;; From gdkcursor.h
@@ -1578,10 +1493,6 @@
 
 
 
-;; From gdkdeviceprivate.h
-
-
-
 ;; From gdkdisplay.h
 
 (define-function gdk_display_get_type
@@ -2014,9 +1925,9 @@
   (return-type "GdkDragAction")
 )
 
-(define-method get_action
+(define-method get_selected_action
   (of-object "GdkDragContext")
-  (c-name "gdk_drag_context_get_action")
+  (c-name "gdk_drag_context_get_selected_action")
   (return-type "GdkDragAction")
 )
 
@@ -6735,7 +6646,7 @@
   (return-type "none")
   (parameters
     '("const-GdkRegion*" "region")
-    '("somefunc "child_func")
+    '("somefunc" "child_func")
   )
 )
 
@@ -7096,14 +7007,6 @@
   )
 )
 
-(define-function gdkx_colormap_get
-  (c-name "gdkx_colormap_get")
-  (return-type "GdkColormap*")
-  (parameters
-    '("Colormap" "xcolormap")
-  )
-)
-
 (define-function gdk_x11_colormap_foreign_new
   (c-name "gdk_x11_colormap_foreign_new")
   (is-constructor-of "GdkX11ColormapForeign")
@@ -8189,3 +8092,306 @@
 )
 
 
+
+;; From gdk-pixbuf-xlib.h
+
+(define-function gdk_pixbuf_xlib_init
+  (c-name "gdk_pixbuf_xlib_init")
+  (return-type "none")
+  (parameters
+    '("Display*" "display")
+    '("int" "screen_num")
+  )
+)
+
+(define-function gdk_pixbuf_xlib_init_with_depth
+  (c-name "gdk_pixbuf_xlib_init_with_depth")
+  (return-type "none")
+  (parameters
+    '("Display*" "display")
+    '("int" "screen_num")
+    '("int" "prefDepth")
+  )
+)
+
+(define-method xlib_render_threshold_alpha
+  (of-object "GdkPixbuf")
+  (c-name "gdk_pixbuf_xlib_render_threshold_alpha")
+  (return-type "none")
+  (parameters
+    '("Pixmap" "bitmap")
+    '("int" "src_x")
+    '("int" "src_y")
+    '("int" "dest_x")
+    '("int" "dest_y")
+    '("int" "width")
+    '("int" "height")
+    '("int" "alpha_threshold")
+  )
+)
+
+(define-method xlib_render_to_drawable
+  (of-object "GdkPixbuf")
+  (c-name "gdk_pixbuf_xlib_render_to_drawable")
+  (return-type "none")
+  (parameters
+    '("Drawable" "drawable")
+    '("GC" "gc")
+    '("int" "src_x")
+    '("int" "src_y")
+    '("int" "dest_x")
+    '("int" "dest_y")
+    '("int" "width")
+    '("int" "height")
+    '("XlibRgbDither" "dither")
+    '("int" "x_dither")
+    '("int" "y_dither")
+  )
+)
+
+(define-method xlib_render_to_drawable_alpha
+  (of-object "GdkPixbuf")
+  (c-name "gdk_pixbuf_xlib_render_to_drawable_alpha")
+  (return-type "none")
+  (parameters
+    '("Drawable" "drawable")
+    '("int" "src_x")
+    '("int" "src_y")
+    '("int" "dest_x")
+    '("int" "dest_y")
+    '("int" "width")
+    '("int" "height")
+    '("GdkPixbufAlphaMode" "alpha_mode")
+    '("int" "alpha_threshold")
+    '("XlibRgbDither" "dither")
+    '("int" "x_dither")
+    '("int" "y_dither")
+  )
+)
+
+(define-method xlib_render_pixmap_and_mask
+  (of-object "GdkPixbuf")
+  (c-name "gdk_pixbuf_xlib_render_pixmap_and_mask")
+  (return-type "none")
+  (parameters
+    '("Pixmap*" "pixmap_return")
+    '("Pixmap*" "mask_return")
+    '("int" "alpha_threshold")
+  )
+)
+
+(define-method xlib_get_from_drawable
+  (of-object "GdkPixbuf")
+  (c-name "gdk_pixbuf_xlib_get_from_drawable")
+  (return-type "GdkPixbuf*")
+  (parameters
+    '("Drawable" "src")
+    '("Colormap" "cmap")
+    '("Visual*" "visual")
+    '("int" "src_x")
+    '("int" "src_y")
+    '("int" "dest_x")
+    '("int" "dest_y")
+    '("int" "width")
+    '("int" "height")
+  )
+)
+
+
+
+;; From gdk-pixbuf-xlibrgb.h
+
+(define-function xlib_rgb_init
+  (c-name "xlib_rgb_init")
+  (return-type "none")
+  (parameters
+    '("Display*" "display")
+    '("Screen*" "screen")
+  )
+)
+
+(define-function xlib_rgb_init_with_depth
+  (c-name "xlib_rgb_init_with_depth")
+  (return-type "none")
+  (parameters
+    '("Display*" "display")
+    '("Screen*" "screen")
+    '("int" "prefDepth")
+  )
+)
+
+(define-function xlib_rgb_gc_set_foreground
+  (c-name "xlib_rgb_gc_set_foreground")
+  (return-type "none")
+  (parameters
+    '("GC" "gc")
+    '("guint32" "rgb")
+  )
+)
+
+(define-function xlib_rgb_gc_set_background
+  (c-name "xlib_rgb_gc_set_background")
+  (return-type "none")
+  (parameters
+    '("GC" "gc")
+    '("guint32" "rgb")
+  )
+)
+
+(define-function xlib_draw_rgb_image
+  (c-name "xlib_draw_rgb_image")
+  (return-type "none")
+  (parameters
+    '("Drawable" "drawable")
+    '("GC" "gc")
+    '("int" "x")
+    '("int" "y")
+    '("int" "width")
+    '("int" "height")
+    '("XlibRgbDither" "dith")
+    '("unsigned-char*" "rgb_buf")
+    '("int" "rowstride")
+  )
+)
+
+(define-function xlib_draw_rgb_image_dithalign
+  (c-name "xlib_draw_rgb_image_dithalign")
+  (return-type "none")
+  (parameters
+    '("Drawable" "drawable")
+    '("GC" "gc")
+    '("int" "x")
+    '("int" "y")
+    '("int" "width")
+    '("int" "height")
+    '("XlibRgbDither" "dith")
+    '("unsigned-char*" "rgb_buf")
+    '("int" "rowstride")
+    '("int" "xdith")
+    '("int" "ydith")
+  )
+)
+
+(define-function xlib_draw_rgb_32_image
+  (c-name "xlib_draw_rgb_32_image")
+  (return-type "none")
+  (parameters
+    '("Drawable" "drawable")
+    '("GC" "gc")
+    '("int" "x")
+    '("int" "y")
+    '("int" "width")
+    '("int" "height")
+    '("XlibRgbDither" "dith")
+    '("unsigned-char*" "buf")
+    '("int" "rowstride")
+  )
+)
+
+(define-function xlib_draw_gray_image
+  (c-name "xlib_draw_gray_image")
+  (return-type "none")
+  (parameters
+    '("Drawable" "drawable")
+    '("GC" "gc")
+    '("int" "x")
+    '("int" "y")
+    '("int" "width")
+    '("int" "height")
+    '("XlibRgbDither" "dith")
+    '("unsigned-char*" "buf")
+    '("int" "rowstride")
+  )
+)
+
+(define-function xlib_rgb_cmap_new
+  (c-name "xlib_rgb_cmap_new")
+  (is-constructor-of "XlibRgbCmap")
+  (return-type "XlibRgbCmap*")
+  (parameters
+    '("guint32*" "colors")
+    '("int" "n_colors")
+  )
+)
+
+(define-method free
+  (of-object "XlibRgbCmap")
+  (c-name "xlib_rgb_cmap_free")
+  (return-type "none")
+)
+
+(define-function xlib_draw_indexed_image
+  (c-name "xlib_draw_indexed_image")
+  (return-type "none")
+  (parameters
+    '("Drawable" "drawable")
+    '("GC" "gc")
+    '("int" "x")
+    '("int" "y")
+    '("int" "width")
+    '("int" "height")
+    '("XlibRgbDither" "dith")
+    '("unsigned-char*" "buf")
+    '("int" "rowstride")
+    '("XlibRgbCmap*" "cmap")
+  )
+)
+
+(define-function xlib_rgb_ditherable
+  (c-name "xlib_rgb_ditherable")
+  (return-type "Bool")
+)
+
+(define-function xlib_rgb_set_verbose
+  (c-name "xlib_rgb_set_verbose")
+  (return-type "none")
+  (parameters
+    '("Bool" "verbose")
+  )
+)
+
+(define-function xlib_rgb_set_install
+  (c-name "xlib_rgb_set_install")
+  (return-type "none")
+  (parameters
+    '("Bool" "install")
+  )
+)
+
+(define-function xlib_rgb_set_min_colors
+  (c-name "xlib_rgb_set_min_colors")
+  (return-type "none")
+  (parameters
+    '("int" "min_colors")
+  )
+)
+
+(define-function xlib_rgb_get_cmap
+  (c-name "xlib_rgb_get_cmap")
+  (return-type "Colormap")
+)
+
+(define-function xlib_rgb_get_visual
+  (c-name "xlib_rgb_get_visual")
+  (return-type "Visual*")
+)
+
+(define-function xlib_rgb_get_visual_info
+  (c-name "xlib_rgb_get_visual_info")
+  (return-type "XVisualInfo*")
+)
+
+(define-function xlib_rgb_get_depth
+  (c-name "xlib_rgb_get_depth")
+  (return-type "int")
+)
+
+(define-function xlib_rgb_get_display
+  (c-name "xlib_rgb_get_display")
+  (return-type "Display*")
+)
+
+(define-function xlib_rgb_get_screen
+  (c-name "xlib_rgb_get_screen")
+  (return-type "Screen*")
+)
diff --git a/gtk/src/gtk_methods.defs b/gtk/src/gtk_methods.defs
index 34ffab5..e572b79 100644
--- a/gtk/src/gtk_methods.defs
+++ b/gtk/src/gtk_methods.defs
@@ -34,6 +34,13 @@
   (gtype-id "GTK_TYPE_ACTIVATABLE")
 )
 
+(define-object Application
+  (in-module "Gtk")
+  (parent "GApplication")
+  (c-name "GtkApplication")
+  (gtype-id "GTK_TYPE_APPLICATION")
+)
+
 (define-object Buildable
   (in-module "Gtk")
   (c-name "GtkBuildable")
@@ -518,18 +525,18 @@
   (gtype-id "GTK_TYPE_HSCALE")
 )
 
-(define-object Progress
+(define-object ProgressBar
   (in-module "Gtk")
   (parent "GtkWidget")
-  (c-name "GtkProgress")
-  (gtype-id "GTK_TYPE_PROGRESS")
+  (c-name "GtkProgressBar")
+  (gtype-id "GTK_TYPE_PROGRESS_BAR")
 )
 
-(define-object ProgressBar
+(define-object Progress
   (in-module "Gtk")
-  (parent "GtkProgress")
-  (c-name "GtkProgressBar")
-  (gtype-id "GTK_TYPE_PROGRESS_BAR")
+  (parent "GtkWidget")
+  (c-name "GtkProgress")
+  (gtype-id "GTK_TYPE_PROGRESS")
 )
 
 (define-object Misc
@@ -2207,16 +2214,6 @@
   )
 )
 
-(define-enum ProgressBarStyle
-  (in-module "Gtk")
-  (c-name "GtkProgressBarStyle")
-  (gtype-id "GTK_TYPE_PROGRESS_BAR_STYLE")
-  (values
-    '("continuous" "GTK_PROGRESS_CONTINUOUS")
-    '("discrete" "GTK_PROGRESS_DISCRETE")
-  )
-)
-
 (define-enum ProgressBarOrientation
   (in-module "Gtk")
   (c-name "GtkProgressBarOrientation")
@@ -2413,19 +2410,6 @@
   )
 )
 
-(define-enum ToolbarChildType
-  (in-module "Gtk")
-  (c-name "GtkToolbarChildType")
-  (gtype-id "GTK_TYPE_TOOLBAR_CHILD_TYPE")
-  (values
-    '("space" "GTK_TOOLBAR_CHILD_SPACE")
-    '("button" "GTK_TOOLBAR_CHILD_BUTTON")
-    '("togglebutton" "GTK_TOOLBAR_CHILD_TOGGLEBUTTON")
-    '("radiobutton" "GTK_TOOLBAR_CHILD_RADIOBUTTON")
-    '("widget" "GTK_TOOLBAR_CHILD_WIDGET")
-  )
-)
-
 (define-enum ToolbarSpaceStyle
   (in-module "Gtk")
   (c-name "GtkToolbarSpaceStyle")
@@ -2517,11 +2501,11 @@
     '("has-grab" "GTK_HAS_GRAB")
     '("rc-style" "GTK_RC_STYLE")
     '("composite-child" "GTK_COMPOSITE_CHILD")
-    '("no-reparent" "GTK_NO_REPARENT")
     '("app-paintable" "GTK_APP_PAINTABLE")
     '("receives-default" "GTK_RECEIVES_DEFAULT")
     '("double-buffered" "GTK_DOUBLE_BUFFERED")
     '("no-show-all" "GTK_NO_SHOW_ALL")
+    '("multidevice" "GTK_MULTIDEVICE")
   )
 )
 
@@ -3977,6 +3961,62 @@
 
 
 
+;; From gtkapplication.h
+
+(define-function gtk_application_get_type
+  (c-name "gtk_application_get_type")
+  (return-type "GType")
+)
+
+(define-function gtk_application_new
+  (c-name "gtk_application_new")
+  (is-constructor-of "GtkApplication")
+  (return-type "GtkApplication*")
+  (parameters
+    '("gint*" "argc")
+    '("gchar***" "argv")
+    '("const-gchar*" "appid")
+  )
+)
+
+(define-method set_action_group
+  (of-object "GtkApplication")
+  (c-name "gtk_application_set_action_group")
+  (return-type "none")
+  (parameters
+    '("GtkActionGroup*" "group")
+  )
+)
+
+(define-method get_window
+  (of-object "GtkApplication")
+  (c-name "gtk_application_get_window")
+  (return-type "GtkWindow*")
+)
+
+(define-method add_window
+  (of-object "GtkApplication")
+  (c-name "gtk_application_add_window")
+  (return-type "none")
+  (parameters
+    '("GtkWindow*" "window")
+  )
+)
+
+(define-method run
+  (of-object "GtkApplication")
+  (c-name "gtk_application_run")
+  (return-type "none")
+)
+
+(define-method quit
+  (of-object "GtkApplication")
+  (c-name "gtk_application_quit")
+  (return-type "none")
+)
+
+
+
 ;; From gtkarrow.h
 
 (define-function gtk_arrow_get_type
@@ -4241,6 +4281,12 @@
   (return-type "none")
 )
 
+(define-method commit
+  (of-object "GtkAssistant")
+  (c-name "gtk_assistant_commit")
+  (return-type "none")
+)
+
 
 
 ;; From gtkbbox.h
@@ -4250,6 +4296,15 @@
   (return-type "GType")
 )
 
+(define-function gtk_button_box_new
+  (c-name "gtk_button_box_new")
+  (is-constructor-of "GtkButtonBox")
+  (return-type "GtkWidget*")
+  (parameters
+    '("GtkOrientation" "orientation")
+  )
+)
+
 (define-method get_layout
   (of-object "GtkButtonBox")
   (c-name "gtk_button_box_get_layout")
@@ -4423,6 +4478,17 @@
   (return-type "GType")
 )
 
+(define-function gtk_box_new
+  (c-name "gtk_box_new")
+  (is-constructor-of "GtkBox")
+  (return-type "GtkWidget*")
+  (parameters
+    '("GtkOrientation" "orientation")
+    '("gboolean" "homogeneous")
+    '("gint" "spacing")
+  )
+)
+
 (define-method pack_start
   (of-object "GtkBox")
   (c-name "gtk_box_pack_start")
@@ -6548,6 +6614,15 @@
   (return-type "none")
 )
 
+(define-method popup_for_device
+  (of-object "GtkComboBox")
+  (c-name "gtk_combo_box_popup_for_device")
+  (return-type "none")
+  (parameters
+    '("GdkDevice*" "device")
+  )
+)
+
 (define-method popdown
   (of-object "GtkComboBox")
   (c-name "gtk_combo_box_popdown")
@@ -10804,6 +10879,24 @@
   )
 )
 
+(define-method get_item_row
+  (of-object "GtkIconView")
+  (c-name "gtk_icon_view_get_item_row")
+  (return-type "gint")
+  (parameters
+    '("GtkTreePath*" "path")
+  )
+)
+
+(define-method get_item_column
+  (of-object "GtkIconView")
+  (c-name "gtk_icon_view_get_item_column")
+  (return-type "gint")
+  (parameters
+    '("GtkTreePath*" "path")
+  )
+)
+
 (define-method get_selected_items
   (of-object "GtkIconView")
   (c-name "gtk_icon_view_get_selected_items")
@@ -12641,6 +12734,25 @@
   )
 )
 
+(define-function gtk_device_grab_add
+  (c-name "gtk_device_grab_add")
+  (return-type "none")
+  (parameters
+    '("GtkWidget*" "widget")
+    '("GdkDevice*" "device")
+    '("gboolean" "block_others")
+  )
+)
+
+(define-function gtk_device_grab_remove
+  (c-name "gtk_device_grab_remove")
+  (return-type "none")
+  (parameters
+    '("GtkWidget*" "widget")
+    '("GdkDevice*" "device")
+  )
+)
+
 (define-function gtk_init_add
   (c-name "gtk_init_add")
   (return-type "none")
@@ -12732,6 +12844,11 @@
   )
 )
 
+(define-function gtk_get_current_event_device
+  (c-name "gtk_get_current_event_device")
+  (return-type "GdkDevice*")
+)
+
 (define-function gtk_get_event_widget
   (c-name "gtk_get_event_widget")
   (return-type "GtkWidget*")
@@ -12823,6 +12940,21 @@
   )
 )
 
+(define-method popup_for_device
+  (of-object "GtkMenu")
+  (c-name "gtk_menu_popup_for_device")
+  (return-type "none")
+  (parameters
+    '("GdkDevice*" "device")
+    '("GtkWidget*" "parent_menu_shell")
+    '("GtkWidget*" "parent_menu_item")
+    '("GtkMenuPositionFunc" "func")
+    '("gpointer" "data")
+    '("guint" "button")
+    '("guint32" "activate_time")
+  )
+)
+
 (define-method reposition
   (of-object "GtkMenu")
   (c-name "gtk_menu_reposition")
@@ -14200,6 +14332,15 @@
   (return-type "GType")
 )
 
+(define-function gtk_paned_new
+  (c-name "gtk_paned_new")
+  (is-constructor-of "GtkPaned")
+  (return-type "GtkWidget*")
+  (parameters
+    '("GtkOrientation" "orientation")
+  )
+)
+
 (define-method add1
   (of-object "GtkPaned")
   (c-name "gtk_paned_add1")
@@ -15629,6 +15770,21 @@
   (return-type "PangoEllipsizeMode")
 )
 
+(define-method set_show_text
+  (of-object "GtkProgressBar")
+  (c-name "gtk_progress_bar_set_show_text")
+  (return-type "none")
+  (parameters
+    '("gboolean" "show_text")
+  )
+)
+
+(define-method get_show_text
+  (of-object "GtkProgressBar")
+  (c-name "gtk_progress_bar_get_show_text")
+  (return-type "gboolean")
+)
+
 
 
 ;; From gtkprogress.h
@@ -17217,6 +17373,15 @@
   (return-type "GType")
 )
 
+(define-function gtk_ruler_new
+  (c-name "gtk_ruler_new")
+  (is-constructor-of "GtkRuler")
+  (return-type "GtkWidget*")
+  (parameters
+    '("GtkOrientation" "orientation")
+  )
+)
+
 (define-method set_metric
   (of-object "GtkRuler")
   (c-name "gtk_ruler_set_metric")
@@ -17356,6 +17521,27 @@
   (return-type "GType")
 )
 
+(define-function gtk_scale_new
+  (c-name "gtk_scale_new")
+  (is-constructor-of "GtkScale")
+  (return-type "GtkWidget*")
+  (parameters
+    '("GtkOrientation" "orientation")
+    '("GtkAdjustment*" "adjustment")
+  )
+)
+
+(define-function gtk_scale_new_with_range
+  (c-name "gtk_scale_new_with_range")
+  (return-type "GtkWidget*")
+  (parameters
+    '("GtkOrientation" "orientation")
+    '("gdouble" "min")
+    '("gdouble" "max")
+    '("gdouble" "step")
+  )
+)
+
 (define-method set_digits
   (of-object "GtkScale")
   (c-name "gtk_scale_set_digits")
@@ -17443,6 +17629,16 @@
   (return-type "GType")
 )
 
+(define-function gtk_scrollbar_new
+  (c-name "gtk_scrollbar_new")
+  (is-constructor-of "GtkScrollbar")
+  (return-type "GtkWidget*")
+  (parameters
+    '("GtkOrientation" "orientation")
+    '("GtkAdjustment*" "adjustment")
+  )
+)
+
 
 
 ;; From gtkscrolledwindow.h
@@ -17972,6 +18168,15 @@
   (return-type "GType")
 )
 
+(define-function gtk_separator_new
+  (c-name "gtk_separator_new")
+  (is-constructor-of "GtkSeparator")
+  (return-type "GtkWidget*")
+  (parameters
+    '("GtkOrientation" "orientation")
+  )
+)
+
 
 
 ;; From gtkseparatormenuitem.h
@@ -18560,6 +18765,15 @@
   )
 )
 
+(define-method remove_all
+  (of-object "GtkStatusbar")
+  (c-name "gtk_statusbar_remove_all")
+  (return-type "none")
+  (parameters
+    '("guint" "context_id")
+  )
+)
+
 (define-method set_has_resize_grip
   (of-object "GtkStatusbar")
   (c-name "gtk_statusbar_set_has_resize_grip")
@@ -26443,11 +26657,6 @@
   (return-type "GType")
 )
 
-(define-function gtk_progress_bar_style_get_type
-  (c-name "gtk_progress_bar_style_get_type")
-  (return-type "GType")
-)
-
 (define-function gtk_progress_bar_orientation_get_type
   (c-name "gtk_progress_bar_orientation_get_type")
   (return-type "GType")
@@ -26513,11 +26722,6 @@
   (return-type "GType")
 )
 
-(define-function gtk_toolbar_child_type_get_type
-  (c-name "gtk_toolbar_child_type_get_type")
-  (return-type "GType")
-)
-
 (define-function gtk_toolbar_space_style_get_type
   (c-name "gtk_toolbar_space_style_get_type")
   (return-type "GType")
@@ -27329,6 +27533,15 @@
   (return-type "gboolean")
 )
 
+(define-method device_is_shadowed
+  (of-object "GtkWidget")
+  (c-name "gtk_widget_device_is_shadowed")
+  (return-type "gboolean")
+  (parameters
+    '("GdkDevice*" "device")
+  )
+)
+
 (define-method set_name
   (of-object "GtkWidget")
   (c-name "gtk_widget_set_name")
@@ -27640,6 +27853,26 @@
   )
 )
 
+(define-method set_device_events
+  (of-object "GtkWidget")
+  (c-name "gtk_widget_set_device_events")
+  (return-type "none")
+  (parameters
+    '("GdkDevice*" "device")
+    '("GdkEventMask" "events")
+  )
+)
+
+(define-method add_device_events
+  (of-object "GtkWidget")
+  (c-name "gtk_widget_add_device_events")
+  (return-type "none")
+  (parameters
+    '("GdkDevice*" "device")
+    '("GdkEventMask" "events")
+  )
+)
+
 (define-method set_extension_events
   (of-object "GtkWidget")
   (c-name "gtk_widget_set_extension_events")
@@ -27730,6 +27963,21 @@
   )
 )
 
+(define-method get_support_multidevice
+  (of-object "GtkWidget")
+  (c-name "gtk_widget_get_support_multidevice")
+  (return-type "gboolean")
+)
+
+(define-method set_support_multidevice
+  (of-object "GtkWidget")
+  (c-name "gtk_widget_set_support_multidevice")
+  (return-type "none")
+  (parameters
+    '("gboolean" "support_multidevice")
+  )
+)
+
 (define-method get_accessible
   (of-object "GtkWidget")
   (c-name "gtk_widget_get_accessible")
@@ -27751,6 +27999,15 @@
   (return-type "gint")
 )
 
+(define-method get_device_events
+  (of-object "GtkWidget")
+  (c-name "gtk_widget_get_device_events")
+  (return-type "GdkEventMask")
+  (parameters
+    '("GdkDevice*" "device")
+  )
+)
+
 (define-method get_pointer
   (of-object "GtkWidget")
   (c-name "gtk_widget_get_pointer")
@@ -29056,6 +29313,12 @@
   (return-type "GtkWindowGroup*")
 )
 
+(define-method has_group
+  (of-object "GtkWindow")
+  (c-name "gtk_window_has_group")
+  (return-type "gboolean")
+)
+
 (define-method reshow_with_initial_size
   (of-object "GtkWindow")
   (c-name "gtk_window_reshow_with_initial_size")
@@ -29103,6 +29366,15 @@
   (return-type "GList*")
 )
 
+(define-method get_current_device_grab
+  (of-object "GtkWindowGroup")
+  (c-name "gtk_window_group_get_current_device_grab")
+  (return-type "GtkWidget*")
+  (parameters
+    '("GdkDevice*" "device")
+  )
+)
+
 (define-method remove_embedded_xid
   (of-object "GtkWindow")
   (c-name "gtk_window_remove_embedded_xid")



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