gnomemm r1367 - in goocanvasmm/trunk: . goocanvas goocanvas/goocanvasmm goocanvas/src



Author: jjongsma
Date: Mon Feb 25 02:49:13 2008
New Revision: 1367
URL: http://svn.gnome.org/viewvc/gnomemm?rev=1367&view=rev

Log:
	* goocanvas/src/Makefile_list_of_hg.am_fragment:
	* goocanvas/src/enums.ccg:
	* goocanvas/src/enums.hg: move PointerEvents and ItemVisiblity enums to a
	separate enums file so that they can be used from both Item and ItemModel
	* goocanvas/src/item.hg: move enums from here
	* goocanvas/src/itemmodel.hg: wrap some additional properties and signals of
	the ItemModel class
	* goocanvas/src/libgoocanvas_signals.defs: re-generate signals / properties
	* goocanvas/goocanvasmm.h: add new enums header


Added:
   goocanvasmm/trunk/goocanvas/src/enums.ccg
   goocanvasmm/trunk/goocanvas/src/enums.hg
Modified:
   goocanvasmm/trunk/ChangeLog
   goocanvasmm/trunk/goocanvas/goocanvasmm/   (props changed)
   goocanvasmm/trunk/goocanvas/goocanvasmm.h
   goocanvasmm/trunk/goocanvas/src/Makefile_list_of_hg.am_fragment
   goocanvasmm/trunk/goocanvas/src/item.hg
   goocanvasmm/trunk/goocanvas/src/itemmodel.hg
   goocanvasmm/trunk/goocanvas/src/libgoocanvas_signals.defs

Modified: goocanvasmm/trunk/goocanvas/goocanvasmm.h
==============================================================================
--- goocanvasmm/trunk/goocanvas/goocanvasmm.h	(original)
+++ goocanvasmm/trunk/goocanvas/goocanvasmm.h	Mon Feb 25 02:49:13 2008
@@ -36,6 +36,7 @@
 #include <goocanvasmm/canvas.h>
 #include <goocanvasmm/ellipse.h>
 #include <goocanvasmm/ellipsemodel.h>
+#include <goocanvasmm/enums.h>
 #include <goocanvasmm/group.h>
 #include <goocanvasmm/groupmodel.h>
 #include <goocanvasmm/image.h>

Modified: goocanvasmm/trunk/goocanvas/src/Makefile_list_of_hg.am_fragment
==============================================================================
--- goocanvasmm/trunk/goocanvas/src/Makefile_list_of_hg.am_fragment	(original)
+++ goocanvasmm/trunk/goocanvas/src/Makefile_list_of_hg.am_fragment	Mon Feb 25 02:49:13 2008
@@ -27,5 +27,6 @@
 table.hg \
 text.hg \
 textmodel.hg \
-widget.hg
+widget.hg \
+enums.hg
 

Added: goocanvasmm/trunk/goocanvas/src/enums.ccg
==============================================================================
--- (empty file)
+++ goocanvasmm/trunk/goocanvas/src/enums.ccg	Mon Feb 25 02:49:13 2008
@@ -0,0 +1,17 @@
+/* Copyright (C) 1998-2006 The gtkmm Development Team
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+#include <goocanvasenumtypes.h>

Added: goocanvasmm/trunk/goocanvas/src/enums.hg
==============================================================================
--- (empty file)
+++ goocanvasmm/trunk/goocanvas/src/enums.hg	Mon Feb 25 02:49:13 2008
@@ -0,0 +1,30 @@
+/* Copyright (C) 1998-2006 The gtkmm Development Team
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#include <goocanvasutils.h>
+
+_DEFS(goocanvasmm,libgoocanvas)
+
+namespace Goocanvas
+{
+
+//TODO: Somehow make the enum values be ITEM_VISIBLE instead of CANVAS_ITEM_VISIBLE. It seems to just find the first _.
+_WRAP_ENUM(PointerEvents,GooCanvasPointerEvents)
+_WRAP_ENUM(ItemVisibility,GooCanvasItemVisibility)
+_WRAP_ENUM(PathCommandType,GooCanvasPathCommandType)
+
+} //namespace Goocanvas

Modified: goocanvasmm/trunk/goocanvas/src/item.hg
==============================================================================
--- goocanvasmm/trunk/goocanvas/src/item.hg	(original)
+++ goocanvasmm/trunk/goocanvas/src/item.hg	Mon Feb 25 02:49:13 2008
@@ -17,6 +17,7 @@
  */
 
 #include <goocanvasmm/bounds.h>
+#include <goocanvasmm/enums.h>
 #include <goocanvasmm/style.h>
 #include <cairomm/cairomm.h>
 #include <goocanvasitem.h>
@@ -31,10 +32,6 @@
 namespace Goocanvas
 {
 
-//TODO: Somehow make the enum values be ITEM_VISIBLE instead of CANVAS_ITEM_VISIBLE. It seems to just find the first _.
-_WRAP_ENUM(PointerEvents,GooCanvasPointerEvents)
-_WRAP_ENUM(ItemVisibility,GooCanvasItemVisibility)
-
 class Canvas ;
 class ItemModel ;
 
@@ -99,7 +96,7 @@
   _WRAP_METHOD(double get_requested_height(const Cairo::RefPtr<Cairo::Context>& context, double width) const, goo_canvas_item_get_requested_height)
   _WRAP_METHOD(void allocate_area(const Cairo::RefPtr<Cairo::Context>& context, const Bounds& requested_area, const Bounds& allocated_area, double x_offset, double y_offset), goo_canvas_item_allocate_area)
 
-#m4 _CONVERSION(`GList*',`Glib::ListHandle< Glib::RefPtr<Item> >',`$2($3, Glib::OWNERSHIP_SHALLOW)')
+#m4 _CONVERSION(`GList*',`Glib::ListHandle< Glib::RefPtr<Item> >',`$2($3, Glib::OWNERSHIP_NONE)')
 #m4 _CONVERSION(`Glib::ListHandle< Glib::RefPtr<Item> >&',`GList*', `($3).data()')
   _WRAP_METHOD(Glib::ListHandle< Glib::RefPtr<Item> > get_items_at(double x, double y, const Cairo::RefPtr<Cairo::Context>& context, bool is_pointer_event, bool parent_is_visible, Glib::ListHandle< Glib::RefPtr<Item> >& found_items), goo_canvas_item_get_items_at)
 
@@ -163,7 +160,6 @@
   _WRAP_VFUNC(Glib::RefPtr<Item> get_child(int child_num), get_child)
   _WRAP_VFUNC(void request_update(), request_update)
   _WRAP_VFUNC(GooCanvas* get_canvas(), get_canvas)
-  // TODO: should this be passed by reference instead of by pointer?
   _WRAP_VFUNC(void set_canvas(GooCanvas* canvas), set_canvas)
   /* Virtual methods that group items may implement. */
 

Modified: goocanvasmm/trunk/goocanvas/src/itemmodel.hg
==============================================================================
--- goocanvasmm/trunk/goocanvas/src/itemmodel.hg	(original)
+++ goocanvasmm/trunk/goocanvas/src/itemmodel.hg	Mon Feb 25 02:49:13 2008
@@ -19,6 +19,7 @@
 #include <cairomm/cairomm.h>
 #include <goocanvasitemmodel.h>
 #include <goocanvasmm/style.h>
+#include <goocanvasmm/enums.h>
 
 _DEFS(goocanvasmm,libgoocanvas)
 _PINCLUDE(glibmm/private/interface_p.h)
@@ -91,6 +92,20 @@
   _WRAP_METHOD(void animate(double x, double y, double scale, double degrees, bool absolute, int duration, int step_time, AnimateType animate_type), goo_canvas_item_model_animate)
   _WRAP_METHOD(void stop_animation(), goo_canvas_item_model_stop_animation)
 
+  _WRAP_SIGNAL(void child_added (int child_num), "child-added")
+  _WRAP_SIGNAL(void child_removed (int child_num), "child-removed")
+  _WRAP_SIGNAL(void child_moved (int old_child_num, int new_child_num), "child-moved")
+  _WRAP_SIGNAL(void changed (bool recompute_bounds), "changed")
+  _WRAP_SIGNAL(void child_notify(GParamSpec* pspec), "child_notify")
+
+  _WRAP_PROPERTY("parent", Glib::RefPtr<ItemModel>);
+  _WRAP_PROPERTY("can-focus", bool);
+  _WRAP_PROPERTY("title", Glib::ustring)
+  _WRAP_PROPERTY("description", Glib::ustring)
+  _WRAP_PROPERTY("pointer-events", PointerEvents)
+  _WRAP_PROPERTY("visibility", ItemVisibility)
+  _WRAP_PROPERTY("visibility-threshold", double)
+
 protected:
 
 };

Modified: goocanvasmm/trunk/goocanvas/src/libgoocanvas_signals.defs
==============================================================================
--- goocanvasmm/trunk/goocanvas/src/libgoocanvas_signals.defs	(original)
+++ goocanvasmm/trunk/goocanvas/src/libgoocanvas_signals.defs	Mon Feb 25 02:49:13 2008
@@ -398,48 +398,57 @@
   (construct-only #f)
 )
 
+(define-property clear-background
+  (of-object "GooCanvas")
+  (prop-type "GParamBoolean")
+  (docs "If the background is cleared before the canvas is painted")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
 ;; From GooCanvasEllipse
 
-(define-property title
+(define-property parent
   (of-object "GooCanvasEllipse")
-  (prop-type "GParamString")
-  (docs "A short context-rich description of the item for use by assistive technologies")
+  (prop-type "GParamObject")
+  (docs "The parent item")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property transform
+(define-property can-focus
   (of-object "GooCanvasEllipse")
-  (prop-type "GParamBoxed")
-  (docs "The transformation matrix of the item")
+  (prop-type "GParamBoolean")
+  (docs "If the item can take the keyboard focus")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property visibility
+(define-property description
   (of-object "GooCanvasEllipse")
-  (prop-type "GParamEnum")
-  (docs "When the canvas item is visible")
+  (prop-type "GParamString")
+  (docs "A description of the item for use by assistive technologies")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property pointer-events
+(define-property transform
   (of-object "GooCanvasEllipse")
-  (prop-type "GParamFlags")
-  (docs "Specifies when the item receives pointer events")
+  (prop-type "GParamBoxed")
+  (docs "The transformation matrix of the item")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property parent
+(define-property pointer-events
   (of-object "GooCanvasEllipse")
-  (prop-type "GParamObject")
-  (docs "The parent item")
+  (prop-type "GParamFlags")
+  (docs "Specifies when the item receives pointer events")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -454,19 +463,19 @@
   (construct-only #f)
 )
 
-(define-property description
+(define-property visibility
   (of-object "GooCanvasEllipse")
-  (prop-type "GParamString")
-  (docs "A description of the item for use by assistive technologies")
+  (prop-type "GParamEnum")
+  (docs "When the canvas item is visible")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property can-focus
+(define-property title
   (of-object "GooCanvasEllipse")
-  (prop-type "GParamBoolean")
-  (docs "If the item can take the keyboard focus")
+  (prop-type "GParamString")
+  (docs "A short context-rich description of the item for use by assistive technologies")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -699,28 +708,19 @@
 
 ;; From GooCanvasEllipseModel
 
-(define-property description
-  (of-object "GooCanvasEllipseModel")
-  (prop-type "GParamString")
-  (docs "A description of the item for use by assistive technologies")
-  (readable #t)
-  (writable #t)
-  (construct-only #f)
-)
-
-(define-property visibility-threshold
+(define-property pointer-events
   (of-object "GooCanvasEllipseModel")
-  (prop-type "GParamDouble")
-  (docs "The scale threshold at which the item becomes visible")
+  (prop-type "GParamFlags")
+  (docs "Specifies when the item receives pointer events")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property pointer-events
+(define-property title
   (of-object "GooCanvasEllipseModel")
-  (prop-type "GParamFlags")
-  (docs "Specifies when the item receives pointer events")
+  (prop-type "GParamString")
+  (docs "A short context-rich description of the item for use by assistive technologies")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -735,10 +735,10 @@
   (construct-only #f)
 )
 
-(define-property title
+(define-property can-focus
   (of-object "GooCanvasEllipseModel")
-  (prop-type "GParamString")
-  (docs "A short context-rich description of the item for use by assistive technologies")
+  (prop-type "GParamBoolean")
+  (docs "If the item can take the keyboard focus")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -762,10 +762,19 @@
   (construct-only #f)
 )
 
-(define-property can-focus
+(define-property visibility-threshold
   (of-object "GooCanvasEllipseModel")
-  (prop-type "GParamBoolean")
-  (docs "If the item can take the keyboard focus")
+  (prop-type "GParamDouble")
+  (docs "The scale threshold at which the item becomes visible")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property description
+  (of-object "GooCanvasEllipseModel")
+  (prop-type "GParamString")
+  (docs "A description of the item for use by assistive technologies")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -998,19 +1007,19 @@
 
 ;; From GooCanvasGroup
 
-(define-property parent
+(define-property visibility
   (of-object "GooCanvasGroup")
-  (prop-type "GParamObject")
-  (docs "The parent item")
+  (prop-type "GParamEnum")
+  (docs "When the canvas item is visible")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property title
+(define-property description
   (of-object "GooCanvasGroup")
   (prop-type "GParamString")
-  (docs "A short context-rich description of the item for use by assistive technologies")
+  (docs "A description of the item for use by assistive technologies")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -1034,19 +1043,19 @@
   (construct-only #f)
 )
 
-(define-property visibility
+(define-property parent
   (of-object "GooCanvasGroup")
-  (prop-type "GParamEnum")
-  (docs "When the canvas item is visible")
+  (prop-type "GParamObject")
+  (docs "The parent item")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property description
+(define-property pointer-events
   (of-object "GooCanvasGroup")
-  (prop-type "GParamString")
-  (docs "A description of the item for use by assistive technologies")
+  (prop-type "GParamFlags")
+  (docs "Specifies when the item receives pointer events")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -1061,10 +1070,10 @@
   (construct-only #f)
 )
 
-(define-property pointer-events
+(define-property title
   (of-object "GooCanvasGroup")
-  (prop-type "GParamFlags")
-  (docs "Specifies when the item receives pointer events")
+  (prop-type "GParamString")
+  (docs "A short context-rich description of the item for use by assistive technologies")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -1261,28 +1270,19 @@
 
 ;; From GooCanvasGroupModel
 
-(define-property description
-  (of-object "GooCanvasGroupModel")
-  (prop-type "GParamString")
-  (docs "A description of the item for use by assistive technologies")
-  (readable #t)
-  (writable #t)
-  (construct-only #f)
-)
-
-(define-property visibility-threshold
+(define-property pointer-events
   (of-object "GooCanvasGroupModel")
-  (prop-type "GParamDouble")
-  (docs "The scale threshold at which the item becomes visible")
+  (prop-type "GParamFlags")
+  (docs "Specifies when the item receives pointer events")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property pointer-events
+(define-property title
   (of-object "GooCanvasGroupModel")
-  (prop-type "GParamFlags")
-  (docs "Specifies when the item receives pointer events")
+  (prop-type "GParamString")
+  (docs "A short context-rich description of the item for use by assistive technologies")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -1297,10 +1297,10 @@
   (construct-only #f)
 )
 
-(define-property title
+(define-property can-focus
   (of-object "GooCanvasGroupModel")
-  (prop-type "GParamString")
-  (docs "A short context-rich description of the item for use by assistive technologies")
+  (prop-type "GParamBoolean")
+  (docs "If the item can take the keyboard focus")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -1324,10 +1324,19 @@
   (construct-only #f)
 )
 
-(define-property can-focus
+(define-property visibility-threshold
   (of-object "GooCanvasGroupModel")
-  (prop-type "GParamBoolean")
-  (docs "If the item can take the keyboard focus")
+  (prop-type "GParamDouble")
+  (docs "The scale threshold at which the item becomes visible")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property description
+  (of-object "GooCanvasGroupModel")
+  (prop-type "GParamString")
+  (docs "A description of the item for use by assistive technologies")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -1524,19 +1533,19 @@
 
 ;; From GooCanvasImage
 
-(define-property parent
+(define-property visibility
   (of-object "GooCanvasImage")
-  (prop-type "GParamObject")
-  (docs "The parent item")
+  (prop-type "GParamEnum")
+  (docs "When the canvas item is visible")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property title
+(define-property description
   (of-object "GooCanvasImage")
   (prop-type "GParamString")
-  (docs "A short context-rich description of the item for use by assistive technologies")
+  (docs "A description of the item for use by assistive technologies")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -1560,19 +1569,19 @@
   (construct-only #f)
 )
 
-(define-property visibility
+(define-property parent
   (of-object "GooCanvasImage")
-  (prop-type "GParamEnum")
-  (docs "When the canvas item is visible")
+  (prop-type "GParamObject")
+  (docs "The parent item")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property description
+(define-property pointer-events
   (of-object "GooCanvasImage")
-  (prop-type "GParamString")
-  (docs "A description of the item for use by assistive technologies")
+  (prop-type "GParamFlags")
+  (docs "Specifies when the item receives pointer events")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -1587,10 +1596,10 @@
   (construct-only #f)
 )
 
-(define-property pointer-events
+(define-property title
   (of-object "GooCanvasImage")
-  (prop-type "GParamFlags")
-  (docs "Specifies when the item receives pointer events")
+  (prop-type "GParamString")
+  (docs "A short context-rich description of the item for use by assistive technologies")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -1841,28 +1850,19 @@
 
 ;; From GooCanvasImageModel
 
-(define-property description
-  (of-object "GooCanvasImageModel")
-  (prop-type "GParamString")
-  (docs "A description of the item for use by assistive technologies")
-  (readable #t)
-  (writable #t)
-  (construct-only #f)
-)
-
-(define-property visibility-threshold
+(define-property pointer-events
   (of-object "GooCanvasImageModel")
-  (prop-type "GParamDouble")
-  (docs "The scale threshold at which the item becomes visible")
+  (prop-type "GParamFlags")
+  (docs "Specifies when the item receives pointer events")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property pointer-events
+(define-property title
   (of-object "GooCanvasImageModel")
-  (prop-type "GParamFlags")
-  (docs "Specifies when the item receives pointer events")
+  (prop-type "GParamString")
+  (docs "A short context-rich description of the item for use by assistive technologies")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -1877,10 +1877,10 @@
   (construct-only #f)
 )
 
-(define-property title
+(define-property can-focus
   (of-object "GooCanvasImageModel")
-  (prop-type "GParamString")
-  (docs "A short context-rich description of the item for use by assistive technologies")
+  (prop-type "GParamBoolean")
+  (docs "If the item can take the keyboard focus")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -1904,10 +1904,19 @@
   (construct-only #f)
 )
 
-(define-property can-focus
+(define-property visibility-threshold
   (of-object "GooCanvasImageModel")
-  (prop-type "GParamBoolean")
-  (docs "If the item can take the keyboard focus")
+  (prop-type "GParamDouble")
+  (docs "The scale threshold at which the item becomes visible")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property description
+  (of-object "GooCanvasImageModel")
+  (prop-type "GParamString")
+  (docs "A description of the item for use by assistive technologies")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -2267,21 +2276,93 @@
   )
 )
 
-;; From GooCanvasItemModel
+(define-property visibility
+  (of-object "GooCanvasItem")
+  (prop-type "GParamEnum")
+  (docs "When the canvas item is visible")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
 
-(define-signal child-notify
-  (of-object "GooCanvasItemModel")
-  (return-type "void")
-  (when "first")
-  (parameters
-    '("GParamSpec" "p0")
-  )
+(define-property description
+  (of-object "GooCanvasItem")
+  (prop-type "GParamString")
+  (docs "A description of the item for use by assistive technologies")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
 )
 
-(define-signal child-added
-  (of-object "GooCanvasItemModel")
-  (return-type "void")
-  (when "last")
+(define-property transform
+  (of-object "GooCanvasItem")
+  (prop-type "GParamBoxed")
+  (docs "The transformation matrix of the item")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property can-focus
+  (of-object "GooCanvasItem")
+  (prop-type "GParamBoolean")
+  (docs "If the item can take the keyboard focus")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property parent
+  (of-object "GooCanvasItem")
+  (prop-type "GParamObject")
+  (docs "The parent item")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property pointer-events
+  (of-object "GooCanvasItem")
+  (prop-type "GParamFlags")
+  (docs "Specifies when the item receives pointer events")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property visibility-threshold
+  (of-object "GooCanvasItem")
+  (prop-type "GParamDouble")
+  (docs "The scale threshold at which the item becomes visible")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property title
+  (of-object "GooCanvasItem")
+  (prop-type "GParamString")
+  (docs "A short context-rich description of the item for use by assistive technologies")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+;; From GooCanvasItemModel
+
+(define-signal child-notify
+  (of-object "GooCanvasItemModel")
+  (return-type "void")
+  (when "first")
+  (parameters
+    '("GParamSpec*" "p0")
+  )
+)
+
+(define-signal child-added
+  (of-object "GooCanvasItemModel")
+  (return-type "void")
+  (when "last")
   (parameters
     '("gint" "p0")
   )
@@ -2315,19 +2396,17 @@
   )
 )
 
-;; From GooCanvasItemSimple
-
-(define-property parent
-  (of-object "GooCanvasItemSimple")
-  (prop-type "GParamObject")
-  (docs "The parent item")
+(define-property pointer-events
+  (of-object "GooCanvasItemModel")
+  (prop-type "GParamFlags")
+  (docs "Specifies when the item receives pointer events")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
 (define-property title
-  (of-object "GooCanvasItemSimple")
+  (of-object "GooCanvasItemModel")
   (prop-type "GParamString")
   (docs "A short context-rich description of the item for use by assistive technologies")
   (readable #t)
@@ -2336,7 +2415,7 @@
 )
 
 (define-property transform
-  (of-object "GooCanvasItemSimple")
+  (of-object "GooCanvasItemModel")
   (prop-type "GParamBoxed")
   (docs "The transformation matrix of the item")
   (readable #t)
@@ -2345,7 +2424,7 @@
 )
 
 (define-property can-focus
-  (of-object "GooCanvasItemSimple")
+  (of-object "GooCanvasItemModel")
   (prop-type "GParamBoolean")
   (docs "If the item can take the keyboard focus")
   (readable #t)
@@ -2353,6 +2432,44 @@
   (construct-only #f)
 )
 
+(define-property parent
+  (of-object "GooCanvasItemModel")
+  (prop-type "GParamObject")
+  (docs "The parent item model")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property visibility
+  (of-object "GooCanvasItemModel")
+  (prop-type "GParamEnum")
+  (docs "When the canvas item is visible")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property visibility-threshold
+  (of-object "GooCanvasItemModel")
+  (prop-type "GParamDouble")
+  (docs "The scale threshold at which the item becomes visible")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property description
+  (of-object "GooCanvasItemModel")
+  (prop-type "GParamString")
+  (docs "A description of the item for use by assistive technologies")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+;; From GooCanvasItemSimple
+
 (define-property visibility
   (of-object "GooCanvasItemSimple")
   (prop-type "GParamEnum")
@@ -2371,10 +2488,28 @@
   (construct-only #f)
 )
 
-(define-property visibility-threshold
+(define-property transform
   (of-object "GooCanvasItemSimple")
-  (prop-type "GParamDouble")
-  (docs "The scale threshold at which the item becomes visible")
+  (prop-type "GParamBoxed")
+  (docs "The transformation matrix of the item")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property can-focus
+  (of-object "GooCanvasItemSimple")
+  (prop-type "GParamBoolean")
+  (docs "If the item can take the keyboard focus")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property parent
+  (of-object "GooCanvasItemSimple")
+  (prop-type "GParamObject")
+  (docs "The parent item")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -2389,6 +2524,24 @@
   (construct-only #f)
 )
 
+(define-property visibility-threshold
+  (of-object "GooCanvasItemSimple")
+  (prop-type "GParamDouble")
+  (docs "The scale threshold at which the item becomes visible")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property title
+  (of-object "GooCanvasItemSimple")
+  (prop-type "GParamString")
+  (docs "A short context-rich description of the item for use by assistive technologies")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
 (define-property stroke-pattern
   (of-object "GooCanvasItemSimple")
   (prop-type "GParamBoxed")
@@ -2580,28 +2733,19 @@
 
 ;; From GooCanvasItemModelSimple
 
-(define-property description
-  (of-object "GooCanvasItemModelSimple")
-  (prop-type "GParamString")
-  (docs "A description of the item for use by assistive technologies")
-  (readable #t)
-  (writable #t)
-  (construct-only #f)
-)
-
-(define-property visibility-threshold
+(define-property pointer-events
   (of-object "GooCanvasItemModelSimple")
-  (prop-type "GParamDouble")
-  (docs "The scale threshold at which the item becomes visible")
+  (prop-type "GParamFlags")
+  (docs "Specifies when the item receives pointer events")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property pointer-events
+(define-property title
   (of-object "GooCanvasItemModelSimple")
-  (prop-type "GParamFlags")
-  (docs "Specifies when the item receives pointer events")
+  (prop-type "GParamString")
+  (docs "A short context-rich description of the item for use by assistive technologies")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -2616,10 +2760,10 @@
   (construct-only #f)
 )
 
-(define-property title
+(define-property can-focus
   (of-object "GooCanvasItemModelSimple")
-  (prop-type "GParamString")
-  (docs "A short context-rich description of the item for use by assistive technologies")
+  (prop-type "GParamBoolean")
+  (docs "If the item can take the keyboard focus")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -2643,10 +2787,19 @@
   (construct-only #f)
 )
 
-(define-property can-focus
+(define-property visibility-threshold
   (of-object "GooCanvasItemModelSimple")
-  (prop-type "GParamBoolean")
-  (docs "If the item can take the keyboard focus")
+  (prop-type "GParamDouble")
+  (docs "The scale threshold at which the item becomes visible")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property description
+  (of-object "GooCanvasItemModelSimple")
+  (prop-type "GParamString")
+  (docs "A description of the item for use by assistive technologies")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -2845,19 +2998,19 @@
 
 ;; From GooCanvasPath
 
-(define-property parent
+(define-property visibility
   (of-object "GooCanvasPath")
-  (prop-type "GParamObject")
-  (docs "The parent item")
+  (prop-type "GParamEnum")
+  (docs "When the canvas item is visible")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property title
+(define-property description
   (of-object "GooCanvasPath")
   (prop-type "GParamString")
-  (docs "A short context-rich description of the item for use by assistive technologies")
+  (docs "A description of the item for use by assistive technologies")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -2881,19 +3034,19 @@
   (construct-only #f)
 )
 
-(define-property visibility
+(define-property parent
   (of-object "GooCanvasPath")
-  (prop-type "GParamEnum")
-  (docs "When the canvas item is visible")
+  (prop-type "GParamObject")
+  (docs "The parent item")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property description
+(define-property pointer-events
   (of-object "GooCanvasPath")
-  (prop-type "GParamString")
-  (docs "A description of the item for use by assistive technologies")
+  (prop-type "GParamFlags")
+  (docs "Specifies when the item receives pointer events")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -2908,10 +3061,10 @@
   (construct-only #f)
 )
 
-(define-property pointer-events
+(define-property title
   (of-object "GooCanvasPath")
-  (prop-type "GParamFlags")
-  (docs "Specifies when the item receives pointer events")
+  (prop-type "GParamString")
+  (docs "A short context-rich description of the item for use by assistive technologies")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -3117,28 +3270,19 @@
 
 ;; From GooCanvasPathModel
 
-(define-property description
-  (of-object "GooCanvasPathModel")
-  (prop-type "GParamString")
-  (docs "A description of the item for use by assistive technologies")
-  (readable #t)
-  (writable #t)
-  (construct-only #f)
-)
-
-(define-property visibility-threshold
+(define-property pointer-events
   (of-object "GooCanvasPathModel")
-  (prop-type "GParamDouble")
-  (docs "The scale threshold at which the item becomes visible")
+  (prop-type "GParamFlags")
+  (docs "Specifies when the item receives pointer events")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property pointer-events
+(define-property title
   (of-object "GooCanvasPathModel")
-  (prop-type "GParamFlags")
-  (docs "Specifies when the item receives pointer events")
+  (prop-type "GParamString")
+  (docs "A short context-rich description of the item for use by assistive technologies")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -3153,10 +3297,10 @@
   (construct-only #f)
 )
 
-(define-property title
+(define-property can-focus
   (of-object "GooCanvasPathModel")
-  (prop-type "GParamString")
-  (docs "A short context-rich description of the item for use by assistive technologies")
+  (prop-type "GParamBoolean")
+  (docs "If the item can take the keyboard focus")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -3180,10 +3324,19 @@
   (construct-only #f)
 )
 
-(define-property can-focus
+(define-property visibility-threshold
   (of-object "GooCanvasPathModel")
-  (prop-type "GParamBoolean")
-  (docs "If the item can take the keyboard focus")
+  (prop-type "GParamDouble")
+  (docs "The scale threshold at which the item becomes visible")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property description
+  (of-object "GooCanvasPathModel")
+  (prop-type "GParamString")
+  (docs "A description of the item for use by assistive technologies")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -3391,19 +3544,19 @@
 
 ;; From GooCanvasPolyline
 
-(define-property parent
+(define-property visibility
   (of-object "GooCanvasPolyline")
-  (prop-type "GParamObject")
-  (docs "The parent item")
+  (prop-type "GParamEnum")
+  (docs "When the canvas item is visible")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property title
+(define-property description
   (of-object "GooCanvasPolyline")
   (prop-type "GParamString")
-  (docs "A short context-rich description of the item for use by assistive technologies")
+  (docs "A description of the item for use by assistive technologies")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -3427,19 +3580,19 @@
   (construct-only #f)
 )
 
-(define-property visibility
+(define-property parent
   (of-object "GooCanvasPolyline")
-  (prop-type "GParamEnum")
-  (docs "When the canvas item is visible")
+  (prop-type "GParamObject")
+  (docs "The parent item")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property description
+(define-property pointer-events
   (of-object "GooCanvasPolyline")
-  (prop-type "GParamString")
-  (docs "A description of the item for use by assistive technologies")
+  (prop-type "GParamFlags")
+  (docs "Specifies when the item receives pointer events")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -3454,10 +3607,10 @@
   (construct-only #f)
 )
 
-(define-property pointer-events
+(define-property title
   (of-object "GooCanvasPolyline")
-  (prop-type "GParamFlags")
-  (docs "Specifies when the item receives pointer events")
+  (prop-type "GParamString")
+  (docs "A short context-rich description of the item for use by assistive technologies")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -3717,28 +3870,19 @@
 
 ;; From GooCanvasPolylineModel
 
-(define-property description
-  (of-object "GooCanvasPolylineModel")
-  (prop-type "GParamString")
-  (docs "A description of the item for use by assistive technologies")
-  (readable #t)
-  (writable #t)
-  (construct-only #f)
-)
-
-(define-property visibility-threshold
+(define-property pointer-events
   (of-object "GooCanvasPolylineModel")
-  (prop-type "GParamDouble")
-  (docs "The scale threshold at which the item becomes visible")
+  (prop-type "GParamFlags")
+  (docs "Specifies when the item receives pointer events")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property pointer-events
+(define-property title
   (of-object "GooCanvasPolylineModel")
-  (prop-type "GParamFlags")
-  (docs "Specifies when the item receives pointer events")
+  (prop-type "GParamString")
+  (docs "A short context-rich description of the item for use by assistive technologies")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -3753,10 +3897,10 @@
   (construct-only #f)
 )
 
-(define-property title
-  (of-object "GooCanvasPolylineModel")
-  (prop-type "GParamString")
-  (docs "A short context-rich description of the item for use by assistive technologies")
+(define-property can-focus
+  (of-object "GooCanvasPolylineModel")
+  (prop-type "GParamBoolean")
+  (docs "If the item can take the keyboard focus")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -3780,10 +3924,19 @@
   (construct-only #f)
 )
 
-(define-property can-focus
+(define-property visibility-threshold
   (of-object "GooCanvasPolylineModel")
-  (prop-type "GParamBoolean")
-  (docs "If the item can take the keyboard focus")
+  (prop-type "GParamDouble")
+  (docs "The scale threshold at which the item becomes visible")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property description
+  (of-object "GooCanvasPolylineModel")
+  (prop-type "GParamString")
+  (docs "A description of the item for use by assistive technologies")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -4043,19 +4196,19 @@
 
 ;; From GooCanvasRect
 
-(define-property parent
+(define-property visibility
   (of-object "GooCanvasRect")
-  (prop-type "GParamObject")
-  (docs "The parent item")
+  (prop-type "GParamEnum")
+  (docs "When the canvas item is visible")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property title
+(define-property description
   (of-object "GooCanvasRect")
   (prop-type "GParamString")
-  (docs "A short context-rich description of the item for use by assistive technologies")
+  (docs "A description of the item for use by assistive technologies")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -4079,19 +4232,19 @@
   (construct-only #f)
 )
 
-(define-property visibility
+(define-property parent
   (of-object "GooCanvasRect")
-  (prop-type "GParamEnum")
-  (docs "When the canvas item is visible")
+  (prop-type "GParamObject")
+  (docs "The parent item")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property description
+(define-property pointer-events
   (of-object "GooCanvasRect")
-  (prop-type "GParamString")
-  (docs "A description of the item for use by assistive technologies")
+  (prop-type "GParamFlags")
+  (docs "Specifies when the item receives pointer events")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -4106,10 +4259,10 @@
   (construct-only #f)
 )
 
-(define-property pointer-events
+(define-property title
   (of-object "GooCanvasRect")
-  (prop-type "GParamFlags")
-  (docs "Specifies when the item receives pointer events")
+  (prop-type "GParamString")
+  (docs "A short context-rich description of the item for use by assistive technologies")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -4360,28 +4513,19 @@
 
 ;; From GooCanvasRectModel
 
-(define-property description
-  (of-object "GooCanvasRectModel")
-  (prop-type "GParamString")
-  (docs "A description of the item for use by assistive technologies")
-  (readable #t)
-  (writable #t)
-  (construct-only #f)
-)
-
-(define-property visibility-threshold
+(define-property pointer-events
   (of-object "GooCanvasRectModel")
-  (prop-type "GParamDouble")
-  (docs "The scale threshold at which the item becomes visible")
+  (prop-type "GParamFlags")
+  (docs "Specifies when the item receives pointer events")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property pointer-events
+(define-property title
   (of-object "GooCanvasRectModel")
-  (prop-type "GParamFlags")
-  (docs "Specifies when the item receives pointer events")
+  (prop-type "GParamString")
+  (docs "A short context-rich description of the item for use by assistive technologies")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -4396,10 +4540,10 @@
   (construct-only #f)
 )
 
-(define-property title
+(define-property can-focus
   (of-object "GooCanvasRectModel")
-  (prop-type "GParamString")
-  (docs "A short context-rich description of the item for use by assistive technologies")
+  (prop-type "GParamBoolean")
+  (docs "If the item can take the keyboard focus")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -4423,10 +4567,19 @@
   (construct-only #f)
 )
 
-(define-property can-focus
+(define-property visibility-threshold
   (of-object "GooCanvasRectModel")
-  (prop-type "GParamBoolean")
-  (docs "If the item can take the keyboard focus")
+  (prop-type "GParamDouble")
+  (docs "The scale threshold at which the item becomes visible")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property description
+  (of-object "GooCanvasRectModel")
+  (prop-type "GParamString")
+  (docs "A description of the item for use by assistive technologies")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -4679,19 +4832,19 @@
 
 ;; From GooCanvasTable
 
-(define-property parent
+(define-property visibility
   (of-object "GooCanvasTable")
-  (prop-type "GParamObject")
-  (docs "The parent item")
+  (prop-type "GParamEnum")
+  (docs "When the canvas item is visible")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property title
+(define-property description
   (of-object "GooCanvasTable")
   (prop-type "GParamString")
-  (docs "A short context-rich description of the item for use by assistive technologies")
+  (docs "A description of the item for use by assistive technologies")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -4715,19 +4868,19 @@
   (construct-only #f)
 )
 
-(define-property visibility
+(define-property parent
   (of-object "GooCanvasTable")
-  (prop-type "GParamEnum")
-  (docs "When the canvas item is visible")
+  (prop-type "GParamObject")
+  (docs "The parent item")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property description
+(define-property pointer-events
   (of-object "GooCanvasTable")
-  (prop-type "GParamString")
-  (docs "A description of the item for use by assistive technologies")
+  (prop-type "GParamFlags")
+  (docs "Specifies when the item receives pointer events")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -4742,10 +4895,10 @@
   (construct-only #f)
 )
 
-(define-property pointer-events
+(define-property title
   (of-object "GooCanvasTable")
-  (prop-type "GParamFlags")
-  (docs "Specifies when the item receives pointer events")
+  (prop-type "GParamString")
+  (docs "A short context-rich description of the item for use by assistive technologies")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -4996,28 +5149,19 @@
 
 ;; From GooCanvasTableModel
 
-(define-property description
-  (of-object "GooCanvasTableModel")
-  (prop-type "GParamString")
-  (docs "A description of the item for use by assistive technologies")
-  (readable #t)
-  (writable #t)
-  (construct-only #f)
-)
-
-(define-property visibility-threshold
+(define-property pointer-events
   (of-object "GooCanvasTableModel")
-  (prop-type "GParamDouble")
-  (docs "The scale threshold at which the item becomes visible")
+  (prop-type "GParamFlags")
+  (docs "Specifies when the item receives pointer events")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property pointer-events
+(define-property title
   (of-object "GooCanvasTableModel")
-  (prop-type "GParamFlags")
-  (docs "Specifies when the item receives pointer events")
+  (prop-type "GParamString")
+  (docs "A short context-rich description of the item for use by assistive technologies")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -5032,10 +5176,10 @@
   (construct-only #f)
 )
 
-(define-property title
+(define-property can-focus
   (of-object "GooCanvasTableModel")
-  (prop-type "GParamString")
-  (docs "A short context-rich description of the item for use by assistive technologies")
+  (prop-type "GParamBoolean")
+  (docs "If the item can take the keyboard focus")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -5059,10 +5203,19 @@
   (construct-only #f)
 )
 
-(define-property can-focus
+(define-property visibility-threshold
   (of-object "GooCanvasTableModel")
-  (prop-type "GParamBoolean")
-  (docs "If the item can take the keyboard focus")
+  (prop-type "GParamDouble")
+  (docs "The scale threshold at which the item becomes visible")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property description
+  (of-object "GooCanvasTableModel")
+  (prop-type "GParamString")
+  (docs "A description of the item for use by assistive technologies")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -5313,19 +5466,19 @@
 
 ;; From GooCanvasText
 
-(define-property parent
+(define-property visibility
   (of-object "GooCanvasText")
-  (prop-type "GParamObject")
-  (docs "The parent item")
+  (prop-type "GParamEnum")
+  (docs "When the canvas item is visible")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property title
+(define-property description
   (of-object "GooCanvasText")
   (prop-type "GParamString")
-  (docs "A short context-rich description of the item for use by assistive technologies")
+  (docs "A description of the item for use by assistive technologies")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -5349,19 +5502,19 @@
   (construct-only #f)
 )
 
-(define-property visibility
+(define-property parent
   (of-object "GooCanvasText")
-  (prop-type "GParamEnum")
-  (docs "When the canvas item is visible")
+  (prop-type "GParamObject")
+  (docs "The parent item")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property description
+(define-property pointer-events
   (of-object "GooCanvasText")
-  (prop-type "GParamString")
-  (docs "A description of the item for use by assistive technologies")
+  (prop-type "GParamFlags")
+  (docs "Specifies when the item receives pointer events")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -5376,10 +5529,10 @@
   (construct-only #f)
 )
 
-(define-property pointer-events
+(define-property title
   (of-object "GooCanvasText")
-  (prop-type "GParamFlags")
-  (docs "Specifies when the item receives pointer events")
+  (prop-type "GParamString")
+  (docs "A short context-rich description of the item for use by assistive technologies")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -5657,28 +5810,19 @@
 
 ;; From GooCanvasTextModel
 
-(define-property description
-  (of-object "GooCanvasTextModel")
-  (prop-type "GParamString")
-  (docs "A description of the item for use by assistive technologies")
-  (readable #t)
-  (writable #t)
-  (construct-only #f)
-)
-
-(define-property visibility-threshold
+(define-property pointer-events
   (of-object "GooCanvasTextModel")
-  (prop-type "GParamDouble")
-  (docs "The scale threshold at which the item becomes visible")
+  (prop-type "GParamFlags")
+  (docs "Specifies when the item receives pointer events")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property pointer-events
+(define-property title
   (of-object "GooCanvasTextModel")
-  (prop-type "GParamFlags")
-  (docs "Specifies when the item receives pointer events")
+  (prop-type "GParamString")
+  (docs "A short context-rich description of the item for use by assistive technologies")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -5693,10 +5837,10 @@
   (construct-only #f)
 )
 
-(define-property title
+(define-property can-focus
   (of-object "GooCanvasTextModel")
-  (prop-type "GParamString")
-  (docs "A short context-rich description of the item for use by assistive technologies")
+  (prop-type "GParamBoolean")
+  (docs "If the item can take the keyboard focus")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -5720,10 +5864,19 @@
   (construct-only #f)
 )
 
-(define-property can-focus
+(define-property visibility-threshold
   (of-object "GooCanvasTextModel")
-  (prop-type "GParamBoolean")
-  (docs "If the item can take the keyboard focus")
+  (prop-type "GParamDouble")
+  (docs "The scale threshold at which the item becomes visible")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property description
+  (of-object "GooCanvasTextModel")
+  (prop-type "GParamString")
+  (docs "A description of the item for use by assistive technologies")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -6001,19 +6154,19 @@
 
 ;; From GooCanvasWidget
 
-(define-property parent
+(define-property visibility
   (of-object "GooCanvasWidget")
-  (prop-type "GParamObject")
-  (docs "The parent item")
+  (prop-type "GParamEnum")
+  (docs "When the canvas item is visible")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property title
+(define-property description
   (of-object "GooCanvasWidget")
   (prop-type "GParamString")
-  (docs "A short context-rich description of the item for use by assistive technologies")
+  (docs "A description of the item for use by assistive technologies")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -6037,19 +6190,19 @@
   (construct-only #f)
 )
 
-(define-property visibility
+(define-property parent
   (of-object "GooCanvasWidget")
-  (prop-type "GParamEnum")
-  (docs "When the canvas item is visible")
+  (prop-type "GParamObject")
+  (docs "The parent item")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property description
+(define-property pointer-events
   (of-object "GooCanvasWidget")
-  (prop-type "GParamString")
-  (docs "A description of the item for use by assistive technologies")
+  (prop-type "GParamFlags")
+  (docs "Specifies when the item receives pointer events")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -6064,10 +6217,10 @@
   (construct-only #f)
 )
 
-(define-property pointer-events
+(define-property title
   (of-object "GooCanvasWidget")
-  (prop-type "GParamFlags")
-  (docs "Specifies when the item receives pointer events")
+  (prop-type "GParamString")
+  (docs "A short context-rich description of the item for use by assistive technologies")
   (readable #t)
   (writable #t)
   (construct-only #f)



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