[gtkmm] Fix small API problems found by Jonathan Jongsma.



commit c44149e5c51b92691e7dd09853aeb44f44f8fdc4
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue Mar 23 18:06:09 2010 +0100

    Fix small API problems found by Jonathan Jongsma.
    
    * tools/extra_defs_gen/generate_defs_gtk.cc: Add ToolPalette, ToolItemGroup,
        OffscreenWindow.
    * gtk/src/gtk_signals.defs: Add new .defs.
    
    * gtk/src/offscreenwindow.hg: Added const versions of get_pixbuf() and
        get_pixmap()
    * gtk/src/range.hg: Make get_slider_range() const.
    * gtk/src/spinner.hg:
    * gtk/src/toolitemgroup.hg: Add @newin tags.
    * gtk/src/toolpalette.hg: Fix a double @@ in the newin tag.
        Remove exclusive property (it is really a child property).
        Derive from (and implement) ToolShell.

 ChangeLog                                 |   17 +
 gtk/src/gtk_signals.defs                  |  810 +++++++++++++++++++++++++++++
 gtk/src/offscreenwindow.hg                |    4 +
 gtk/src/range.hg                          |    2 +-
 gtk/src/spinner.hg                        |    1 +
 gtk/src/toolitemgroup.hg                  |    7 +-
 gtk/src/toolpalette.hg                    |    5 +-
 tools/extra_defs_gen/generate_defs_gtk.cc |    3 +
 8 files changed, 844 insertions(+), 5 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 461b9ab..b31ea1d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,20 @@
+2010-03-23  Murray Cumming  <murrayc murrayc com>
+
+    Fix small API problems found by Jonathan Jongsma.
+ 
+	* tools/extra_defs_gen/generate_defs_gtk.cc: Add ToolPalette, ToolItemGroup, 
+    OffscreenWindow.
+	* gtk/src/gtk_signals.defs: Add new .defs.
+
+	* gtk/src/offscreenwindow.hg: Added const versions of get_pixbuf() and 
+    get_pixmap() 
+	* gtk/src/range.hg: Make get_slider_range() const.
+	* gtk/src/spinner.hg:
+	* gtk/src/toolitemgroup.hg: Add @newin tags.
+	* gtk/src/toolpalette.hg: Fix a double @@ in the newin tag.
+    Remove exclusive property (it is really a child property).
+    Derive from (and implement) ToolShell.
+
 2010-03-22  Murray Cumming  <murrayc murrayc com>
 
 	* gtk/src/toolpalette.hg: Added a const version of get_drop_item().
diff --git a/gtk/src/gtk_signals.defs b/gtk/src/gtk_signals.defs
index 70c5248..ddb42b3 100644
--- a/gtk/src/gtk_signals.defs
+++ b/gtk/src/gtk_signals.defs
@@ -35431,6 +35431,234 @@
   (construct-only #f)
 )
 
+
+;; From GtkSpinner
+
+(define-property user-data
+  (of-object "GtkSpinner")
+  (prop-type "GParamPointer")
+  (docs "Anonymous User Data Pointer")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property name
+  (of-object "GtkSpinner")
+  (prop-type "GParamString")
+  (docs "The name of the widget")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property parent
+  (of-object "GtkSpinner")
+  (prop-type "GParamObject")
+  (docs "The parent widget of this widget. Must be a Container widget")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property width-request
+  (of-object "GtkSpinner")
+  (prop-type "GParamInt")
+  (docs "Override for width request of the widget, or -1 if natural request should be used")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property height-request
+  (of-object "GtkSpinner")
+  (prop-type "GParamInt")
+  (docs "Override for height request of the widget, or -1 if natural request should be used")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property visible
+  (of-object "GtkSpinner")
+  (prop-type "GParamBoolean")
+  (docs "Whether the widget is visible")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property sensitive
+  (of-object "GtkSpinner")
+  (prop-type "GParamBoolean")
+  (docs "Whether the widget responds to input")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property app-paintable
+  (of-object "GtkSpinner")
+  (prop-type "GParamBoolean")
+  (docs "Whether the application will paint directly on the widget")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property can-focus
+  (of-object "GtkSpinner")
+  (prop-type "GParamBoolean")
+  (docs "Whether the widget can accept the input focus")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property has-focus
+  (of-object "GtkSpinner")
+  (prop-type "GParamBoolean")
+  (docs "Whether the widget has the input focus")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property is-focus
+  (of-object "GtkSpinner")
+  (prop-type "GParamBoolean")
+  (docs "Whether the widget is the focus widget within the toplevel")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property can-default
+  (of-object "GtkSpinner")
+  (prop-type "GParamBoolean")
+  (docs "Whether the widget can be the default widget")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property has-default
+  (of-object "GtkSpinner")
+  (prop-type "GParamBoolean")
+  (docs "Whether the widget is the default widget")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property receives-default
+  (of-object "GtkSpinner")
+  (prop-type "GParamBoolean")
+  (docs "If TRUE, the widget will receive the default action when it is focused")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property composite-child
+  (of-object "GtkSpinner")
+  (prop-type "GParamBoolean")
+  (docs "Whether the widget is part of a composite widget")
+  (readable #t)
+  (writable #f)
+  (construct-only #f)
+)
+
+(define-property style
+  (of-object "GtkSpinner")
+  (prop-type "GParamObject")
+  (docs "The style of the widget, which contains information about how it will look (colors etc)")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property events
+  (of-object "GtkSpinner")
+  (prop-type "GParamFlags")
+  (docs "The event mask that decides what kind of GdkEvents this widget gets")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property extension-events
+  (of-object "GtkSpinner")
+  (prop-type "GParamEnum")
+  (docs "The mask that decides what kind of extension events this widget gets")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property no-show-all
+  (of-object "GtkSpinner")
+  (prop-type "GParamBoolean")
+  (docs "Whether gtk_widget_show_all() should not affect this widget")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property has-tooltip
+  (of-object "GtkSpinner")
+  (prop-type "GParamBoolean")
+  (docs "Whether this widget has a tooltip")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property tooltip-markup
+  (of-object "GtkSpinner")
+  (prop-type "GParamString")
+  (docs "The contents of the tooltip for this widget")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property tooltip-text
+  (of-object "GtkSpinner")
+  (prop-type "GParamString")
+  (docs "The contents of the tooltip for this widget")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property window
+  (of-object "GtkSpinner")
+  (prop-type "GParamObject")
+  (docs "The widget's window if it is realized")
+  (readable #t)
+  (writable #f)
+  (construct-only #f)
+)
+
+(define-property double-buffered
+  (of-object "GtkSpinner")
+  (prop-type "GParamBoolean")
+  (docs "Whether or not the widget is double buffered")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property active
+  (of-object "GtkSpinner")
+  (prop-type "GParamBoolean")
+  (docs "Whether the spinner is active")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
 ;; From GtkSpinButton
 
 (define-signal value-changed
@@ -38781,6 +39009,588 @@
   (construct-only #f)
 )
 
+
+;; From GtkToolItemGroup
+
+(define-property user-data
+  (of-object "GtkToolItemGroup")
+  (prop-type "GParamPointer")
+  (docs "Anonymous User Data Pointer")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property name
+  (of-object "GtkToolItemGroup")
+  (prop-type "GParamString")
+  (docs "The name of the widget")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property parent
+  (of-object "GtkToolItemGroup")
+  (prop-type "GParamObject")
+  (docs "The parent widget of this widget. Must be a Container widget")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property width-request
+  (of-object "GtkToolItemGroup")
+  (prop-type "GParamInt")
+  (docs "Override for width request of the widget, or -1 if natural request should be used")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property height-request
+  (of-object "GtkToolItemGroup")
+  (prop-type "GParamInt")
+  (docs "Override for height request of the widget, or -1 if natural request should be used")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property visible
+  (of-object "GtkToolItemGroup")
+  (prop-type "GParamBoolean")
+  (docs "Whether the widget is visible")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property sensitive
+  (of-object "GtkToolItemGroup")
+  (prop-type "GParamBoolean")
+  (docs "Whether the widget responds to input")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property app-paintable
+  (of-object "GtkToolItemGroup")
+  (prop-type "GParamBoolean")
+  (docs "Whether the application will paint directly on the widget")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property can-focus
+  (of-object "GtkToolItemGroup")
+  (prop-type "GParamBoolean")
+  (docs "Whether the widget can accept the input focus")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property has-focus
+  (of-object "GtkToolItemGroup")
+  (prop-type "GParamBoolean")
+  (docs "Whether the widget has the input focus")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property is-focus
+  (of-object "GtkToolItemGroup")
+  (prop-type "GParamBoolean")
+  (docs "Whether the widget is the focus widget within the toplevel")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property can-default
+  (of-object "GtkToolItemGroup")
+  (prop-type "GParamBoolean")
+  (docs "Whether the widget can be the default widget")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property has-default
+  (of-object "GtkToolItemGroup")
+  (prop-type "GParamBoolean")
+  (docs "Whether the widget is the default widget")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property receives-default
+  (of-object "GtkToolItemGroup")
+  (prop-type "GParamBoolean")
+  (docs "If TRUE, the widget will receive the default action when it is focused")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property composite-child
+  (of-object "GtkToolItemGroup")
+  (prop-type "GParamBoolean")
+  (docs "Whether the widget is part of a composite widget")
+  (readable #t)
+  (writable #f)
+  (construct-only #f)
+)
+
+(define-property style
+  (of-object "GtkToolItemGroup")
+  (prop-type "GParamObject")
+  (docs "The style of the widget, which contains information about how it will look (colors etc)")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property events
+  (of-object "GtkToolItemGroup")
+  (prop-type "GParamFlags")
+  (docs "The event mask that decides what kind of GdkEvents this widget gets")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property extension-events
+  (of-object "GtkToolItemGroup")
+  (prop-type "GParamEnum")
+  (docs "The mask that decides what kind of extension events this widget gets")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property no-show-all
+  (of-object "GtkToolItemGroup")
+  (prop-type "GParamBoolean")
+  (docs "Whether gtk_widget_show_all() should not affect this widget")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property has-tooltip
+  (of-object "GtkToolItemGroup")
+  (prop-type "GParamBoolean")
+  (docs "Whether this widget has a tooltip")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property tooltip-markup
+  (of-object "GtkToolItemGroup")
+  (prop-type "GParamString")
+  (docs "The contents of the tooltip for this widget")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property tooltip-text
+  (of-object "GtkToolItemGroup")
+  (prop-type "GParamString")
+  (docs "The contents of the tooltip for this widget")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property window
+  (of-object "GtkToolItemGroup")
+  (prop-type "GParamObject")
+  (docs "The widget's window if it is realized")
+  (readable #t)
+  (writable #f)
+  (construct-only #f)
+)
+
+(define-property double-buffered
+  (of-object "GtkToolItemGroup")
+  (prop-type "GParamBoolean")
+  (docs "Whether or not the widget is double buffered")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property border-width
+  (of-object "GtkToolItemGroup")
+  (prop-type "GParamUInt")
+  (docs "The width of the empty border outside the containers children")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property resize-mode
+  (of-object "GtkToolItemGroup")
+  (prop-type "GParamEnum")
+  (docs "Specify how resize events are handled")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property child
+  (of-object "GtkToolItemGroup")
+  (prop-type "GParamObject")
+  (docs "Can be used to add a new child to the container")
+  (readable #f)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property label
+  (of-object "GtkToolItemGroup")
+  (prop-type "GParamString")
+  (docs "The human-readable title of this item group")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property label-widget
+  (of-object "GtkToolItemGroup")
+  (prop-type "GParamObject")
+  (docs "A widget to display in place of the usual label")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property collapsed
+  (of-object "GtkToolItemGroup")
+  (prop-type "GParamBoolean")
+  (docs "Wether the group has been collapsed and items are hidden")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property ellipsize
+  (of-object "GtkToolItemGroup")
+  (prop-type "GParamEnum")
+  (docs "Ellipsize for item group headers")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property header-relief
+  (of-object "GtkToolItemGroup")
+  (prop-type "GParamEnum")
+  (docs "Relief of the group header button")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+;; From GtkToolPalette
+
+(define-signal set-scroll-adjustments
+  (of-object "GtkToolPalette")
+  (return-type "void")
+  (when "last")
+  (parameters
+    '("GtkAdjustment*" "p0")
+    '("GtkAdjustment*" "p1")
+  )
+)
+
+(define-property orientation
+  (of-object "GtkToolPalette")
+  (prop-type "GParamEnum")
+  (docs "The orientation of the orientable")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property user-data
+  (of-object "GtkToolPalette")
+  (prop-type "GParamPointer")
+  (docs "Anonymous User Data Pointer")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property name
+  (of-object "GtkToolPalette")
+  (prop-type "GParamString")
+  (docs "The name of the widget")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property parent
+  (of-object "GtkToolPalette")
+  (prop-type "GParamObject")
+  (docs "The parent widget of this widget. Must be a Container widget")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property width-request
+  (of-object "GtkToolPalette")
+  (prop-type "GParamInt")
+  (docs "Override for width request of the widget, or -1 if natural request should be used")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property height-request
+  (of-object "GtkToolPalette")
+  (prop-type "GParamInt")
+  (docs "Override for height request of the widget, or -1 if natural request should be used")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property visible
+  (of-object "GtkToolPalette")
+  (prop-type "GParamBoolean")
+  (docs "Whether the widget is visible")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property sensitive
+  (of-object "GtkToolPalette")
+  (prop-type "GParamBoolean")
+  (docs "Whether the widget responds to input")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property app-paintable
+  (of-object "GtkToolPalette")
+  (prop-type "GParamBoolean")
+  (docs "Whether the application will paint directly on the widget")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property can-focus
+  (of-object "GtkToolPalette")
+  (prop-type "GParamBoolean")
+  (docs "Whether the widget can accept the input focus")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property has-focus
+  (of-object "GtkToolPalette")
+  (prop-type "GParamBoolean")
+  (docs "Whether the widget has the input focus")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property is-focus
+  (of-object "GtkToolPalette")
+  (prop-type "GParamBoolean")
+  (docs "Whether the widget is the focus widget within the toplevel")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property can-default
+  (of-object "GtkToolPalette")
+  (prop-type "GParamBoolean")
+  (docs "Whether the widget can be the default widget")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property has-default
+  (of-object "GtkToolPalette")
+  (prop-type "GParamBoolean")
+  (docs "Whether the widget is the default widget")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property receives-default
+  (of-object "GtkToolPalette")
+  (prop-type "GParamBoolean")
+  (docs "If TRUE, the widget will receive the default action when it is focused")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property composite-child
+  (of-object "GtkToolPalette")
+  (prop-type "GParamBoolean")
+  (docs "Whether the widget is part of a composite widget")
+  (readable #t)
+  (writable #f)
+  (construct-only #f)
+)
+
+(define-property style
+  (of-object "GtkToolPalette")
+  (prop-type "GParamObject")
+  (docs "The style of the widget, which contains information about how it will look (colors etc)")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property events
+  (of-object "GtkToolPalette")
+  (prop-type "GParamFlags")
+  (docs "The event mask that decides what kind of GdkEvents this widget gets")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property extension-events
+  (of-object "GtkToolPalette")
+  (prop-type "GParamEnum")
+  (docs "The mask that decides what kind of extension events this widget gets")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property no-show-all
+  (of-object "GtkToolPalette")
+  (prop-type "GParamBoolean")
+  (docs "Whether gtk_widget_show_all() should not affect this widget")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property has-tooltip
+  (of-object "GtkToolPalette")
+  (prop-type "GParamBoolean")
+  (docs "Whether this widget has a tooltip")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property tooltip-markup
+  (of-object "GtkToolPalette")
+  (prop-type "GParamString")
+  (docs "The contents of the tooltip for this widget")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property tooltip-text
+  (of-object "GtkToolPalette")
+  (prop-type "GParamString")
+  (docs "The contents of the tooltip for this widget")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property window
+  (of-object "GtkToolPalette")
+  (prop-type "GParamObject")
+  (docs "The widget's window if it is realized")
+  (readable #t)
+  (writable #f)
+  (construct-only #f)
+)
+
+(define-property double-buffered
+  (of-object "GtkToolPalette")
+  (prop-type "GParamBoolean")
+  (docs "Whether or not the widget is double buffered")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property border-width
+  (of-object "GtkToolPalette")
+  (prop-type "GParamUInt")
+  (docs "The width of the empty border outside the containers children")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property resize-mode
+  (of-object "GtkToolPalette")
+  (prop-type "GParamEnum")
+  (docs "Specify how resize events are handled")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property child
+  (of-object "GtkToolPalette")
+  (prop-type "GParamObject")
+  (docs "Can be used to add a new child to the container")
+  (readable #f)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property icon-size
+  (of-object "GtkToolPalette")
+  (prop-type "GParamEnum")
+  (docs "Size of icons in this tool palette")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property icon-size-set
+  (of-object "GtkToolPalette")
+  (prop-type "GParamBoolean")
+  (docs "Whether the icon-size property has been set")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property toolbar-style
+  (of-object "GtkToolPalette")
+  (prop-type "GParamEnum")
+  (docs "Style of items in the tool palette")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
 ;; From GtkToolButton
 
 (define-signal clicked
diff --git a/gtk/src/offscreenwindow.hg b/gtk/src/offscreenwindow.hg
index 3ff3fe2..636198f 100644
--- a/gtk/src/offscreenwindow.hg
+++ b/gtk/src/offscreenwindow.hg
@@ -50,6 +50,7 @@ namespace Gtk
  * When contained offscreen widgets are redrawn, OffscreenWindow
  * will emit a "damage-event" signal.
  *
+ * @newin{2,20}
  * @ingroup Containers
  * @ingroup Widgets
  */
@@ -61,7 +62,10 @@ public:
   _CTOR_DEFAULT()
 
   _WRAP_METHOD(Glib::RefPtr<Gdk::Pixmap> get_pixmap(), gtk_offscreen_window_get_pixmap)
+  _WRAP_METHOD(Glib::RefPtr<const Gdk::Pixmap> get_pixmap() const, gtk_offscreen_window_get_pixmap)
+
   _WRAP_METHOD(Glib::RefPtr<Gdk::Pixbuf> get_pixbuf(), gtk_offscreen_window_get_pixbuf)
+  _WRAP_METHOD(Glib::RefPtr<const Gdk::Pixbuf> get_pixbuf() const, gtk_offscreen_window_get_pixbuf)
 };
 
 } // namespace Gtk
diff --git a/gtk/src/range.hg b/gtk/src/range.hg
index 18be554..df4b2b8 100644
--- a/gtk/src/range.hg
+++ b/gtk/src/range.hg
@@ -71,7 +71,7 @@ public:
   Gdk::Rectangle get_range_rect() const;
   _IGNORE(gtk_range_get_range_rect)
 
-  _WRAP_METHOD(void  get_slider_range(int& slider_start, int& slider_end), gtk_range_get_slider_range)
+  _WRAP_METHOD(void  get_slider_range(int& slider_start, int& slider_end) const, gtk_range_get_slider_range)
 
   _WRAP_METHOD(void set_lower_stepper_sensitivity(SensitivityType sensitivity), gtk_range_set_lower_stepper_sensitivity)
   _WRAP_METHOD(SensitivityType get_lower_stepper_sensitivity() const, gtk_range_get_lower_stepper_sensitivity)
diff --git a/gtk/src/spinner.hg b/gtk/src/spinner.hg
index 679a290..cf414ee 100644
--- a/gtk/src/spinner.hg
+++ b/gtk/src/spinner.hg
@@ -29,6 +29,7 @@ _CC_INCLUDE(gtk/gtk.h)
 
 /** A widget that displays a spinner animation.
  *
+ * @newin{2,20}
  * @ingroup Widgets
  */
 class Spinner : public DrawingArea
diff --git a/gtk/src/toolitemgroup.hg b/gtk/src/toolitemgroup.hg
index 6ca7468..1283711 100644
--- a/gtk/src/toolitemgroup.hg
+++ b/gtk/src/toolitemgroup.hg
@@ -19,6 +19,7 @@
 
 #include <gtkmm/container.h>
 #include <gtkmm/toolitem.h>
+#include <gtkmm/toolshell.h>
 _DEFS(gtkmm,gtk)
 _PINCLUDE(gtkmm/private/container_p.h)
 
@@ -28,12 +29,16 @@ namespace Gtk
 /** A ToolItemGroup is used together with ToolPalette to add ToolItems to a 
  * palette-like container with different categories and drag and drop support.
  *
+ * @newin{2,20}
  * @ingroup Widgets
  * @ingroup Containers
  */
-class ToolItemGroup : public Container
+class ToolItemGroup
+ : public Container,
+   public ToolShell
 {
   _CLASS_GTKOBJECT(ToolItemGroup, GtkToolItemGroup, GTK_TOOL_ITEM_GROUP, Gtk::Container, GtkContainer)
+  _IMPLEMENTS_INTERFACE(ToolShell)
 public:
   _WRAP_CTOR(ToolItemGroup(const Glib::ustring& label = Glib::ustring()), gtk_tool_item_group_new)
 
diff --git a/gtk/src/toolpalette.hg b/gtk/src/toolpalette.hg
index 5593c56..1a64847 100644
--- a/gtk/src/toolpalette.hg
+++ b/gtk/src/toolpalette.hg
@@ -41,7 +41,7 @@ _WRAP_ENUM(ToolPaletteDragTargets, GtkToolPaletteDragTargets)
  * target widget. Then get_drag_item() can be used to get the dragged item in
  * the "drag-data-received" signal handler of the drag target.
  *
- * @@newin{2,20}
+ * @newin{2,20}
  *
  * @ingroup Widgets
  * @ingroup Containers
@@ -97,13 +97,12 @@ public:
   _WRAP_METHOD(static TargetEntry get_drag_target_item(), gtk_tool_palette_get_drag_target_item)
   _WRAP_METHOD(static TargetEntry get_drag_target_group(), gtk_tool_palette_get_drag_target_group)
 
-  //TODO: Ignore this? It's in many widgets and seems internals.
+  //TODO: Ignore this? It's in many widgets and seems internal.
   //Ignore action signal: _WRAP_SIGNAL(void set_scroll_adjustments(Adjustment* hadjustment, Adjustment* vadjustment), "set-scroll-adjustments")
 
   _WRAP_PROPERTY("icon-size", IconSize)
   _WRAP_PROPERTY("icon-size-set", bool)
   _WRAP_PROPERTY("toolbar-style", ToolbarStyle)
-  _WRAP_PROPERTY("exclusive", bool)
 };
 
 } // namespace Gtk
diff --git a/tools/extra_defs_gen/generate_defs_gtk.cc b/tools/extra_defs_gen/generate_defs_gtk.cc
index 6ee9149..46c7729 100644
--- a/tools/extra_defs_gen/generate_defs_gtk.cc
+++ b/tools/extra_defs_gen/generate_defs_gtk.cc
@@ -155,6 +155,7 @@ int main(int argc, char** argv)
             << get_defs( GTK_TYPE_MISC )
             << get_defs( GTK_TYPE_NOTEBOOK )
             << get_defs( GTK_TYPE_OBJECT )
+            << get_defs( GTK_TYPE_OFFSCREEN_WINDOW )
             << get_defs( GTK_TYPE_OPTION_MENU )
             << get_defs( GTK_TYPE_ORIENTABLE )
             << get_defs( GTK_TYPE_PANED )
@@ -209,6 +210,8 @@ int main(int argc, char** argv)
             << get_defs( GTK_TYPE_TOGGLE_BUTTON )
             << get_defs( GTK_TYPE_TOOLBAR )
             << get_defs( GTK_TYPE_TOOL_ITEM )
+            << get_defs( GTK_TYPE_TOOL_ITEM_GROUP )
+            << get_defs( GTK_TYPE_TOOL_PALETTE )
             << get_defs( GTK_TYPE_TOOL_BUTTON )
             << get_defs( GTK_TYPE_TEXT_BUFFER )
             << get_defs( GTK_TYPE_TEXT_MARK )



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