vala r1798 - in trunk: . vapi vapi/packages/goocanvas



Author: juergbi
Date: Sat Sep 27 09:42:51 2008
New Revision: 1798
URL: http://svn.gnome.org/viewvc/vala?rev=1798&view=rev

Log:
2008-09-27  JÃrg Billeter  <j bitron ch>

	* vapi/packages/goocanvas/:

	Various fixes to the GooCanvas bindings,
	patch by MatÃas De la Puente, fixes bug 551876

	* vapi/goocanvas.vapi: regenerated


Added:
   trunk/vapi/packages/goocanvas/goocanvas-custom.vala
Modified:
   trunk/ChangeLog
   trunk/vapi/goocanvas.vapi
   trunk/vapi/packages/goocanvas/goocanvas.deps
   trunk/vapi/packages/goocanvas/goocanvas.metadata

Modified: trunk/vapi/goocanvas.vapi
==============================================================================
--- trunk/vapi/goocanvas.vapi	(original)
+++ trunk/vapi/goocanvas.vapi	Sat Sep 27 09:42:51 2008
@@ -93,157 +93,320 @@
 		STROKE,
 		ALL
 	}
-	[Compact]
 	[CCode (cheader_filename = "goocanvas.h")]
-	public class CanvasEllipseData {
-		public double center_x;
-		public double center_y;
-		public double radius_x;
-		public double radius_y;
+	public class CanvasEllipse : Goo.CanvasItemSimple, Goo.CanvasItem {
+		public Goo.CanvasEllipseData ellipse_data;
+		[CCode (cname = "goo_canvas_ellipse_new")]
+		public static weak Goo.CanvasEllipse create (Goo.CanvasItem? parent, double center_x, double center_y, double radius_x, double radius_y, ...);
+		public CanvasEllipse ();
+		[NoAccessorMethod]
+		public double center_x { get; set; }
+		[NoAccessorMethod]
+		public double center_y { get; set; }
+		[NoAccessorMethod]
+		public double radius_x { get; set; }
+		[NoAccessorMethod]
+		public double radius_y { get; set; }
 	}
-	[Compact]
 	[CCode (cheader_filename = "goocanvas.h")]
-	public class CanvasImageData {
-		public weak Cairo.Pattern pattern;
-		public double x;
-		public double y;
-		public double width;
-		public double height;
+	public class CanvasEllipseModel : Goo.CanvasItemModelSimple, Goo.CanvasItemModel {
+		public Goo.CanvasEllipseData ellipse_data;
+		[CCode (cname = "goo_canvas_ellipse_model_new")]
+		public static weak Goo.CanvasEllipseModel create (Goo.CanvasItemModel? parent, double center_x, double center_y, double radius_x, double radius_y, ...);
+		public CanvasEllipseModel ();
+		[NoAccessorMethod]
+		public double center_x { get; set; }
+		[NoAccessorMethod]
+		public double center_y { get; set; }
+		[NoAccessorMethod]
+		public double radius_x { get; set; }
+		[NoAccessorMethod]
+		public double radius_y { get; set; }
 	}
-	[Compact]
 	[CCode (cheader_filename = "goocanvas.h")]
-	public class CanvasItemSimpleData {
-		public weak Goo.CanvasStyle style;
-		public Cairo.Matrix transform;
-		public weak GLib.Array clip_path_commands;
-		public weak string tooltip;
-		public double visibility_threshold;
-		public uint visibility;
-		public uint pointer_events;
-		public uint can_focus;
-		public uint own_style;
-		public uint clip_fill_rule;
-		public uint cache_setting;
-		public uint has_tooltip;
+	public class CanvasGroup : Goo.CanvasItemSimple, Goo.CanvasItem {
+		public weak GLib.PtrArray items;
+		[CCode (cname = "goo_canvas_group_new")]
+		public static weak Goo.CanvasGroup create (Goo.CanvasItem? parent, ...);
+		public CanvasGroup ();
 	}
-	[Compact]
-	[CCode (ref_function = "goo_canvas_line_dash_ref", unref_function = "goo_canvas_line_dash_unref", cheader_filename = "goocanvas.h")]
-	public class CanvasLineDash {
-		public int ref_count;
-		public int num_dashes;
-		public double dashes;
-		public double dash_offset;
-		public CanvasLineDash (int num_dashes);
-		[CCode (cname = "goo_canvas_line_dash_newv")]
-		public CanvasLineDash.newv (int num_dashes, double dashes);
+	[CCode (cheader_filename = "goocanvas.h")]
+	public class CanvasGroupModel : Goo.CanvasItemModelSimple, Goo.CanvasItemModel {
+		public weak GLib.PtrArray children;
+		[CCode (cname = "goo_canvas_group_model_new")]
+		public static weak Goo.CanvasGroupModel create (Goo.CanvasItemModel? parent, ...);
+		public CanvasGroupModel ();
 	}
-	[Compact]
 	[CCode (cheader_filename = "goocanvas.h")]
-	public class CanvasPathData {
-		public weak GLib.Array path_commands;
+	public class CanvasImage : Goo.CanvasItemSimple, Goo.CanvasItem {
+		public Goo.CanvasImageData image_data;
+		[CCode (cname = "goo_image_group_new")]
+		public static weak Goo.CanvasImage create (Goo.CanvasItem? parent, Gdk.Pixbuf pixbuf, double x, double y, ...);
+		public CanvasImage ();
+		[NoAccessorMethod]
+		public double height { get; set; }
+		[NoAccessorMethod]
+		public Goo.CairoPattern pattern { get; set; }
+		[NoAccessorMethod]
+		public Gdk.Pixbuf pixbuf { set; }
+		[NoAccessorMethod]
+		public double width { get; set; }
+		[NoAccessorMethod]
+		public double x { get; set; }
+		[NoAccessorMethod]
+		public double y { get; set; }
 	}
-	[Compact]
 	[CCode (cheader_filename = "goocanvas.h")]
-	public class CanvasPolylineArrowData {
-		public double arrow_width;
-		public double arrow_length;
-		public double arrow_tip_length;
-		[NoArrayLength]
-		public weak double[] line_start;
-		[NoArrayLength]
-		public weak double[] line_end;
-		[NoArrayLength]
-		public weak double[] start_arrow_coords;
-		[NoArrayLength]
-		public weak double[] end_arrow_coords;
+	public class CanvasImageModel : Goo.CanvasItemModelSimple, Goo.CanvasItemModel {
+		public Goo.CanvasImageData image_data;
+		[CCode (cname = "goo_canvas_image_model_new")]
+		public static weak Goo.CanvasImageModel create (Goo.CanvasItemModel? parent, Gdk.Pixbuf pixbuf, double x, double y, ...);
+		public CanvasImageModel ();
+		[NoAccessorMethod]
+		public double height { get; set; }
+		[NoAccessorMethod]
+		public Goo.CairoPattern pattern { get; set; }
+		[NoAccessorMethod]
+		public Gdk.Pixbuf pixbuf { set; }
+		[NoAccessorMethod]
+		public double width { get; set; }
+		[NoAccessorMethod]
+		public double x { get; set; }
+		[NoAccessorMethod]
+		public double y { get; set; }
 	}
-	[Compact]
 	[CCode (cheader_filename = "goocanvas.h")]
-	public class CanvasPolylineData {
-		public double coords;
-		public weak Goo.CanvasPolylineArrowData arrow_data;
-		public uint num_points;
-		public uint close_path;
-		public uint start_arrow;
-		public uint end_arrow;
-		public uint reconfigure_arrows;
+	public class CanvasPath : Goo.CanvasItemSimple, Goo.CanvasItem {
+		public Goo.CanvasPathData path_data;
+		[CCode (cname = "goo_canvas_path_new")]
+		public static weak Goo.CanvasPath create (Goo.CanvasItem? parent, string path_data, ...);
+		public CanvasPath ();
+		[NoAccessorMethod]
+		public string data { set; }
 	}
-	[Compact]
 	[CCode (cheader_filename = "goocanvas.h")]
-	public class CanvasRectData {
-		public double x;
-		public double y;
-		public double width;
-		public double height;
-		public double radius_x;
-		public double radius_y;
+	public class CanvasPathModel : Goo.CanvasItemModelSimple, Goo.CanvasItemModel {
+		public Goo.CanvasPathData path_data;
+		[CCode (cname = "goo_canvas_path_model_new")]
+		public static weak Goo.CanvasPathModel create (Goo.CanvasItemModel? parent, string path_data, ...);
+		public CanvasPathModel ();
+		[NoAccessorMethod]
+		public string data { set; }
 	}
-	[Compact]
 	[CCode (cheader_filename = "goocanvas.h")]
-	public class CanvasStyleProperty {
-		public GLib.Quark id;
-		public GLib.Value value;
+	public class CanvasPolyline : Goo.CanvasItemSimple, Goo.CanvasItem {
+		public Goo.CanvasPolylineData polyline_data;
+		[CCode (cname = "goo_canvas_polyline_new")]
+		public static weak Goo.CanvasPolyline create (Goo.CanvasItem? parent, bool close_path, int num_points, ...);
+		[CCode (cname = "goo_canvas_polyline_new_line")]
+		public static weak Goo.CanvasPolyline create_line (Goo.CanvasItem? parent, double x1, double y1, double x2, double y2, ...);
+		public CanvasPolyline ();
+		[CCode (type = "GooCanvasItem*")]
+		public CanvasPolyline.line (Goo.CanvasItem parent, double x1, double y1, double x2, double y2);
+		[NoAccessorMethod]
+		public double arrow_length { get; set; }
+		[NoAccessorMethod]
+		public double arrow_tip_length { get; set; }
+		[NoAccessorMethod]
+		public double arrow_width { get; set; }
+		[NoAccessorMethod]
+		public bool close_path { get; set; }
+		[NoAccessorMethod]
+		public bool end_arrow { get; set; }
+		[NoAccessorMethod]
+		public Goo.CanvasPoints points { get; set; }
+		[NoAccessorMethod]
+		public bool start_arrow { get; set; }
 	}
-	[Compact]
 	[CCode (cheader_filename = "goocanvas.h")]
-	public class CanvasTableData {
-		public double width;
-		public double height;
-		[NoArrayLength]
-		public weak Goo.CanvasTableDimension[] dimensions;
-		public double border_width;
-		public weak GLib.Array children;
-		public weak Goo.CanvasTableLayoutData layout_data;
+	public class CanvasPolylineModel : Goo.CanvasItemModelSimple, Goo.CanvasItemModel {
+		public Goo.CanvasPolylineData polyline_data;
+		[CCode (cname = "goo_canvas_polyline_model_new")]
+		public static weak Goo.CanvasPolylineModel create (Goo.CanvasItemModel? parent, bool close_path, int num_points, ...);
+		[CCode (cname = "goo_canvas_polyline_model_new_line")]
+		public static weak Goo.CanvasPolylineModel create_line (Goo.CanvasItemModel? parent, double x1, double y1, double x2, double y2, ...);
+		public CanvasPolylineModel ();
+		[CCode (type = "GooCanvasItemModel*")]
+		public CanvasPolylineModel.line (Goo.CanvasItemModel parent, double x1, double y1, double x2, double y2);
+		[NoAccessorMethod]
+		public double arrow_length { get; set; }
+		[NoAccessorMethod]
+		public double arrow_tip_length { get; set; }
+		[NoAccessorMethod]
+		public double arrow_width { get; set; }
+		[NoAccessorMethod]
+		public bool close_path { get; set; }
+		[NoAccessorMethod]
+		public bool end_arrow { get; set; }
+		[NoAccessorMethod]
+		public Goo.CanvasPoints points { get; set; }
+		[NoAccessorMethod]
+		public bool start_arrow { get; set; }
 	}
-	[Compact]
 	[CCode (cheader_filename = "goocanvas.h")]
-	public class CanvasTableDimension {
-		public int size;
-		public double default_spacing;
-		public double spacings;
-		public uint homogeneous;
+	public class CanvasRect : Goo.CanvasItemSimple, Goo.CanvasItem {
+		public Goo.CanvasRectData rect_data;
+		[CCode (cname = "goo_canvas_rect_new")]
+		public static weak Goo.CanvasRect create (Goo.CanvasItem? parent, double x, double y, double width, double height, ...);
+		public CanvasRect ();
+		[NoAccessorMethod]
+		public double height { get; set; }
+		[NoAccessorMethod]
+		public double radius_x { get; set; }
+		[NoAccessorMethod]
+		public double radius_y { get; set; }
+		[NoAccessorMethod]
+		public double width { get; set; }
+		[NoAccessorMethod]
+		public double x { get; set; }
+		[NoAccessorMethod]
+		public double y { get; set; }
 	}
-	[Compact]
 	[CCode (cheader_filename = "goocanvas.h")]
-	public class CanvasTableLayoutData {
+	public class CanvasRectModel : Goo.CanvasItemModelSimple, Goo.CanvasItemModel {
+		public Goo.CanvasRectData rect_data;
+		[CCode (cname = "goo_canvas_rect_model_new")]
+		public static weak Goo.CanvasRectModel create (Goo.CanvasItemModel? parent, double x, double y, double width, double height, ...);
+		public CanvasRectModel ();
+		[NoAccessorMethod]
+		public double height { get; set; }
+		[NoAccessorMethod]
+		public double radius_x { get; set; }
+		[NoAccessorMethod]
+		public double radius_y { get; set; }
+		[NoAccessorMethod]
+		public double width { get; set; }
+		[NoAccessorMethod]
+		public double x { get; set; }
+		[NoAccessorMethod]
+		public double y { get; set; }
 	}
-	[Compact]
 	[CCode (cheader_filename = "goocanvas.h")]
-	public class CanvasTextData {
-		public weak string text;
-		public double x;
-		public double y;
-		public double width;
-		public uint use_markup;
-		public uint anchor;
-		public uint alignment;
-		public uint ellipsize;
-		public uint wrap;
+	public class CanvasTable : Goo.CanvasGroup, Goo.CanvasItem {
+		public Goo.CanvasTableData table_data;
+		[CCode (cname = "goo_canvas_table_new")]
+		public static weak Goo.CanvasTable create (Goo.CanvasItem? parent, ...);
+		public CanvasTable ();
+		[NoAccessorMethod]
+		public double column_spacing { get; set; }
+		[NoAccessorMethod]
+		public double height { get; set; }
+		[NoAccessorMethod]
+		public bool homogeneous_columns { get; set; }
+		[NoAccessorMethod]
+		public bool homogeneous_rows { get; set; }
+		[NoAccessorMethod]
+		public double row_spacing { get; set; }
+		[NoAccessorMethod]
+		public double width { get; set; }
+	}
+	[CCode (cheader_filename = "goocanvas.h")]
+	public class CanvasTableModel : Goo.CanvasGroupModel, Goo.CanvasItemModel {
+		public Goo.CanvasTableData table_data;
+		[CCode (cname = "goo_canvas_table_model_new")]
+		public static weak Goo.CanvasTableModel create (Goo.CanvasItemModel? parent, ...);
+		public CanvasTableModel ();
+		[NoAccessorMethod]
+		public double column_spacing { get; set; }
+		[NoAccessorMethod]
+		public double height { get; set; }
+		[NoAccessorMethod]
+		public bool homogeneous_columns { get; set; }
+		[NoAccessorMethod]
+		public bool homogeneous_rows { get; set; }
+		[NoAccessorMethod]
+		public double row_spacing { get; set; }
+		[NoAccessorMethod]
+		public double width { get; set; }
+	}
+	[CCode (cheader_filename = "goocanvas.h")]
+	public class CanvasText : Goo.CanvasItemSimple, Goo.CanvasItem {
+		public Goo.CanvasTextData text_data;
+		public double layout_width;
+		[CCode (cname = "goo_canvas_text_new")]
+		public static weak Goo.CanvasText create (Goo.CanvasItem? parent, string str, double x, double y, double width, Gtk.AnchorType anchor, ...);
+		public CanvasText ();
+		[NoAccessorMethod]
+		public Pango.Alignment alignment { get; set; }
+		[NoAccessorMethod]
+		public Gtk.AnchorType anchor { get; set; }
+		[NoAccessorMethod]
+		public Pango.EllipsizeMode ellipsize { get; set; }
+		[NoAccessorMethod]
+		public string text { get; set; }
+		[NoAccessorMethod]
+		public bool use_markup { get; set; }
+		[NoAccessorMethod]
+		public double width { get; set; }
+		[NoAccessorMethod]
+		public Pango.WrapMode wrap { get; set; }
+		[NoAccessorMethod]
+		public double x { get; set; }
+		[NoAccessorMethod]
+		public double y { get; set; }
+	}
+	[CCode (cheader_filename = "goocanvas.h")]
+	public class CanvasTextModel : Goo.CanvasItemModelSimple, Goo.CanvasItemModel {
+		public Goo.CanvasTextData text_data;
+		[CCode (cname = "goo_canvas_text_model_new")]
+		public static weak Goo.CanvasTextModel create (Goo.CanvasItemModel? parent, string str, double x, double y, double width, Gtk.AnchorType anchor, ...);
+		public CanvasTextModel ();
+		[NoAccessorMethod]
+		public Pango.Alignment alignment { get; set; }
+		[NoAccessorMethod]
+		public Gtk.AnchorType anchor { get; set; }
+		[NoAccessorMethod]
+		public Pango.EllipsizeMode ellipsize { get; set; }
+		[NoAccessorMethod]
+		public string text { get; set; }
+		[NoAccessorMethod]
+		public bool use_markup { get; set; }
+		[NoAccessorMethod]
+		public double width { get; set; }
+		[NoAccessorMethod]
+		public Pango.WrapMode wrap { get; set; }
+		[NoAccessorMethod]
+		public double x { get; set; }
+		[NoAccessorMethod]
+		public double y { get; set; }
+	}
+	[CCode (cheader_filename = "goocanvas.h")]
+	public class CanvasWidget : Goo.CanvasItemSimple, Goo.CanvasItem {
+		[CCode (cname = "goo_canvas_widget_new")]
+		public static weak Goo.CanvasWidget create (Goo.CanvasItem? parent, Gtk.Widget widget, double x, double y, double width, double height, ...);
+		public CanvasWidget ();
+		[NoAccessorMethod]
+		public Gtk.AnchorType anchor { get; set; }
+		[NoAccessorMethod]
+		public double height { get; set; }
+		[NoAccessorMethod]
+		public Gtk.Widget widget { get; set; }
+		[NoAccessorMethod]
+		public double width { get; set; }
+		[NoAccessorMethod]
+		public double x { get; set; }
+		[NoAccessorMethod]
+		public double y { get; set; }
 	}
 	[Compact]
-	[CCode (cheader_filename = "goocanvas.h")]
-	public class CairoLineDash : GLib.Boxed {
+	[CCode (ref_function = "goo_canvas_line_dash_ref", unref_function = "goo_canvas_line_dash_unref", cheader_filename = "goocanvas.h")]
+	public class CanvasLineDash {
+		public int ref_count;
+		public int num_dashes;
+		public double dashes;
+		public double dash_offset;
+		public CanvasLineDash (int num_dashes);
+		[CCode (cname = "goo_canvas_line_dash_newv")]
+		public CanvasLineDash.newv (int num_dashes, double dashes);
 	}
 	[Compact]
 	[CCode (copy_function = "goo_cairo_matrix_copy", cheader_filename = "goocanvas.h")]
-	public class CairoMatrix : GLib.Boxed {
+	public class CairoMatrix {
 		public static Cairo.Matrix copy (Cairo.Matrix matrix);
 	}
 	[Compact]
-	[CCode (cheader_filename = "goocanvas.h")]
-	public class CairoPattern : GLib.Boxed {
-	}
-	[Compact]
-	[CCode (cheader_filename = "goocanvas.h")]
-	public class CanvasBounds : GLib.Boxed {
-		public double x1;
-		public double y1;
-		public double x2;
-		public double y2;
-	}
-	[Compact]
 	[CCode (ref_function = "goo_canvas_points_ref", unref_function = "goo_canvas_points_unref", cheader_filename = "goocanvas.h")]
-	public class CanvasPoints : GLib.Boxed {
+	public class CanvasPoints {
 		public double coords;
 		public int num_points;
 		public int ref_count;
@@ -253,7 +416,7 @@
 	public class Canvas : Gtk.Container, Atk.Implementor, Gtk.Buildable {
 		public weak Goo.CanvasItemModel root_item_model;
 		public weak Goo.CanvasItem root_item;
-		public weak Goo.CanvasBounds bounds;
+		public Goo.CanvasBounds bounds;
 		public uint idle_id;
 		public uint need_update;
 		public uint need_entire_subtree_update;
@@ -297,6 +460,7 @@
 		public static void marshal_BOOLEAN__OBJECT_BOXED (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
 		public static void marshal_VOID__INT_INT (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
 		public static void marshal_VOID__OBJECT_OBJECT (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
+		[CCode (type = "GtkWidget*")]
 		public Canvas ();
 		public static weak GLib.Array parse_path_data (string path_data);
 		public Gdk.GrabStatus pointer_grab (Goo.CanvasItem item, Gdk.EventMask event_mask, Gdk.Cursor cursor, uint time);
@@ -351,399 +515,138 @@
 		public virtual signal void set_scroll_adjustments (Gtk.Adjustment hadjustment, Gtk.Adjustment vadjustment);
 	}
 	[CCode (cheader_filename = "goocanvas.h")]
-	public class CanvasEllipse : Goo.CanvasItemSimple, Goo.CanvasItem {
-		public weak Goo.CanvasEllipseData ellipse_data;
-		public CanvasEllipse (Goo.CanvasItem parent, double center_x, double center_y, double radius_x, double radius_y);
-		[NoAccessorMethod]
-		public double center_x { get; set; }
-		[NoAccessorMethod]
-		public double center_y { get; set; }
-		[NoAccessorMethod]
-		public double radius_x { get; set; }
-		[NoAccessorMethod]
-		public double radius_y { get; set; }
-	}
-	[CCode (cheader_filename = "goocanvas.h")]
-	public class CanvasEllipseModel : Goo.CanvasItemModelSimple, Goo.CanvasItemModel {
-		public weak Goo.CanvasEllipseData ellipse_data;
-		public CanvasEllipseModel (Goo.CanvasItemModel parent, double center_x, double center_y, double radius_x, double radius_y);
-		[NoAccessorMethod]
-		public double center_x { get; set; }
-		[NoAccessorMethod]
-		public double center_y { get; set; }
-		[NoAccessorMethod]
-		public double radius_x { get; set; }
-		[NoAccessorMethod]
-		public double radius_y { get; set; }
-	}
-	[CCode (cheader_filename = "goocanvas.h")]
-	public class CanvasGroup : Goo.CanvasItemSimple, Goo.CanvasItem {
-		public weak GLib.PtrArray items;
-		public CanvasGroup (Goo.CanvasItem parent);
-	}
-	[CCode (cheader_filename = "goocanvas.h")]
-	public class CanvasGroupModel : Goo.CanvasItemModelSimple, Goo.CanvasItemModel {
-		public weak GLib.PtrArray children;
-		public CanvasGroupModel (Goo.CanvasItemModel parent);
-	}
-	[CCode (cheader_filename = "goocanvas.h")]
-	public class CanvasImage : Goo.CanvasItemSimple, Goo.CanvasItem {
-		public weak Goo.CanvasImageData image_data;
-		public CanvasImage (Goo.CanvasItem parent, Gdk.Pixbuf pixbuf, double x, double y);
-		[NoAccessorMethod]
-		public double height { get; set; }
-		[NoAccessorMethod]
-		public Goo.CairoPattern pattern { get; set; }
-		[NoAccessorMethod]
-		public Gdk.Pixbuf pixbuf { set; }
-		[NoAccessorMethod]
-		public double width { get; set; }
-		[NoAccessorMethod]
-		public double x { get; set; }
-		[NoAccessorMethod]
-		public double y { get; set; }
-	}
-	[CCode (cheader_filename = "goocanvas.h")]
-	public class CanvasImageModel : Goo.CanvasItemModelSimple, Goo.CanvasItemModel {
-		public weak Goo.CanvasImageData image_data;
-		public CanvasImageModel (Goo.CanvasItemModel parent, Gdk.Pixbuf pixbuf, double x, double y);
-		[NoAccessorMethod]
-		public double height { get; set; }
-		[NoAccessorMethod]
-		public Goo.CairoPattern pattern { get; set; }
-		[NoAccessorMethod]
-		public Gdk.Pixbuf pixbuf { set; }
-		[NoAccessorMethod]
-		public double width { get; set; }
-		[NoAccessorMethod]
-		public double x { get; set; }
-		[NoAccessorMethod]
-		public double y { get; set; }
-	}
-	[CCode (cheader_filename = "goocanvas.h")]
 	public class CanvasItemModelSimple : GLib.Object, Goo.CanvasItemModel {
 		public weak Goo.CanvasItemModel parent;
-		public weak Goo.CanvasItemSimpleData simple_data;
-		public weak string title;
-		public weak string description;
-		[NoAccessorMethod]
-		public Goo.CairoAntialias antialias { get; set; }
-		[NoAccessorMethod]
-		public Goo.CairoFillRule clip_fill_rule { get; set; }
-		[NoAccessorMethod]
-		public string clip_path { set; }
-		[NoAccessorMethod]
-		public string fill_color { set; }
-		[NoAccessorMethod]
-		public uint fill_color_rgba { set; }
-		[NoAccessorMethod]
-		public Goo.CairoPattern fill_pattern { get; set; }
-		[NoAccessorMethod]
-		public Gdk.Pixbuf fill_pixbuf { set; }
-		[NoAccessorMethod]
-		public Goo.CairoFillRule fill_rule { get; set; }
-		[NoAccessorMethod]
-		public string font { get; set; }
-		[NoAccessorMethod]
-		public Pango.FontDescription font_desc { get; set; }
-		[NoAccessorMethod]
-		public Goo.CairoHintMetrics hint_metrics { get; set; }
-		[NoAccessorMethod]
-		public Goo.CairoLineCap line_cap { get; set; }
-		[NoAccessorMethod]
-		public Goo.CairoLineDash line_dash { get; set; }
-		[NoAccessorMethod]
-		public Goo.CairoLineJoin line_join { get; set; }
-		[NoAccessorMethod]
-		public double line_join_miter_limit { get; set; }
-		[NoAccessorMethod]
-		public double line_width { get; set; }
-		[NoAccessorMethod]
-		public Goo.CairoOperator operator { get; set; }
-		[NoAccessorMethod]
-		public string stroke_color { set; }
-		[NoAccessorMethod]
-		public uint stroke_color_rgba { set; }
-		[NoAccessorMethod]
-		public Goo.CairoPattern stroke_pattern { get; set; }
-		[NoAccessorMethod]
-		public Gdk.Pixbuf stroke_pixbuf { set; }
-	}
-	[CCode (cheader_filename = "goocanvas.h")]
-	public class CanvasItemSimple : GLib.Object, Goo.CanvasItem {
-		public weak Goo.Canvas canvas;
-		public weak Goo.CanvasItem parent;
-		public weak Goo.CanvasItemModelSimple model;
-		public weak Goo.CanvasItemSimpleData simple_data;
-		public weak Goo.CanvasBounds bounds;
-		public uint need_update;
-		public uint need_entire_subtree_update;
-		public void changed (bool recompute_bounds);
-		public bool check_in_path (double x, double y, Cairo.Context cr, Goo.CanvasPointerEvents pointer_events);
-		public void check_style ();
-		public double get_line_width ();
-		public void get_path_bounds (Cairo.Context cr, Goo.CanvasBounds bounds);
-		public void paint_path (Cairo.Context cr);
-		public void user_bounds_to_device (Cairo.Context cr, Goo.CanvasBounds bounds);
-		public void user_bounds_to_parent (Cairo.Context cr, Goo.CanvasBounds bounds);
-		[NoWrapper]
-		public virtual void simple_create_path (Cairo.Context cr);
-		[NoWrapper]
-		public virtual bool simple_is_item_at (double x, double y, Cairo.Context cr, bool is_pointer_event);
-		[NoWrapper]
-		public virtual void simple_paint (Cairo.Context cr, Goo.CanvasBounds bounds);
-		[NoWrapper]
-		public virtual void simple_update (Cairo.Context cr);
-		[NoAccessorMethod]
-		public Goo.CairoAntialias antialias { get; set; }
-		[NoAccessorMethod]
-		public Goo.CairoFillRule clip_fill_rule { get; set; }
-		[NoAccessorMethod]
-		public string clip_path { set; }
-		[NoAccessorMethod]
-		public string fill_color { set; }
-		[NoAccessorMethod]
-		public uint fill_color_rgba { set; }
-		[NoAccessorMethod]
-		public Goo.CairoPattern fill_pattern { get; set; }
-		[NoAccessorMethod]
-		public Gdk.Pixbuf fill_pixbuf { set; }
-		[NoAccessorMethod]
-		public Goo.CairoFillRule fill_rule { get; set; }
-		[NoAccessorMethod]
-		public string font { get; set; }
-		[NoAccessorMethod]
-		public Pango.FontDescription font_desc { get; set; }
-		[NoAccessorMethod]
-		public Goo.CairoHintMetrics hint_metrics { get; set; }
-		[NoAccessorMethod]
-		public Goo.CairoLineCap line_cap { get; set; }
-		[NoAccessorMethod]
-		public Goo.CairoLineDash line_dash { get; set; }
-		[NoAccessorMethod]
-		public Goo.CairoLineJoin line_join { get; set; }
-		[NoAccessorMethod]
-		public double line_join_miter_limit { get; set; }
-		[NoAccessorMethod]
-		public double line_width { get; set; }
-		[NoAccessorMethod]
-		public Goo.CairoOperator operator { get; set; }
-		[NoAccessorMethod]
-		public string stroke_color { set; }
-		[NoAccessorMethod]
-		public uint stroke_color_rgba { set; }
-		[NoAccessorMethod]
-		public Goo.CairoPattern stroke_pattern { get; set; }
-		[NoAccessorMethod]
-		public Gdk.Pixbuf stroke_pixbuf { set; }
-	}
-	[CCode (cheader_filename = "goocanvas.h")]
-	public class CanvasPath : Goo.CanvasItemSimple, Goo.CanvasItem {
-		public weak Goo.CanvasPathData path_data;
-		public CanvasPath (Goo.CanvasItem parent, string path_data);
-		[NoAccessorMethod]
-		public string data { set; }
-	}
-	[CCode (cheader_filename = "goocanvas.h")]
-	public class CanvasPathModel : Goo.CanvasItemModelSimple, Goo.CanvasItemModel {
-		public weak Goo.CanvasPathData path_data;
-		public CanvasPathModel (Goo.CanvasItemModel parent, string path_data);
-		[NoAccessorMethod]
-		public string data { set; }
-	}
-	[CCode (cheader_filename = "goocanvas.h")]
-	public class CanvasPolyline : Goo.CanvasItemSimple, Goo.CanvasItem {
-		public weak Goo.CanvasPolylineData polyline_data;
-		public CanvasPolyline (Goo.CanvasItem parent, bool close_path, int num_points);
-		public CanvasPolyline.line (Goo.CanvasItem parent, double x1, double y1, double x2, double y2);
-		[NoAccessorMethod]
-		public double arrow_length { get; set; }
-		[NoAccessorMethod]
-		public double arrow_tip_length { get; set; }
-		[NoAccessorMethod]
-		public double arrow_width { get; set; }
-		[NoAccessorMethod]
-		public bool close_path { get; set; }
-		[NoAccessorMethod]
-		public bool end_arrow { get; set; }
-		[NoAccessorMethod]
-		public Goo.CanvasPoints points { get; set; }
-		[NoAccessorMethod]
-		public bool start_arrow { get; set; }
-	}
-	[CCode (cheader_filename = "goocanvas.h")]
-	public class CanvasPolylineModel : Goo.CanvasItemModelSimple, Goo.CanvasItemModel {
-		public weak Goo.CanvasPolylineData polyline_data;
-		public CanvasPolylineModel (Goo.CanvasItemModel parent, bool close_path, int num_points);
-		public CanvasPolylineModel.line (Goo.CanvasItemModel parent, double x1, double y1, double x2, double y2);
-		[NoAccessorMethod]
-		public double arrow_length { get; set; }
-		[NoAccessorMethod]
-		public double arrow_tip_length { get; set; }
-		[NoAccessorMethod]
-		public double arrow_width { get; set; }
-		[NoAccessorMethod]
-		public bool close_path { get; set; }
-		[NoAccessorMethod]
-		public bool end_arrow { get; set; }
-		[NoAccessorMethod]
-		public Goo.CanvasPoints points { get; set; }
-		[NoAccessorMethod]
-		public bool start_arrow { get; set; }
-	}
-	[CCode (cheader_filename = "goocanvas.h")]
-	public class CanvasRect : Goo.CanvasItemSimple, Goo.CanvasItem {
-		public weak Goo.CanvasRectData rect_data;
-		public CanvasRect (Goo.CanvasItem parent, double x, double y, double width, double height);
-		[NoAccessorMethod]
-		public double height { get; set; }
-		[NoAccessorMethod]
-		public double radius_x { get; set; }
-		[NoAccessorMethod]
-		public double radius_y { get; set; }
-		[NoAccessorMethod]
-		public double width { get; set; }
-		[NoAccessorMethod]
-		public double x { get; set; }
-		[NoAccessorMethod]
-		public double y { get; set; }
-	}
-	[CCode (cheader_filename = "goocanvas.h")]
-	public class CanvasRectModel : Goo.CanvasItemModelSimple, Goo.CanvasItemModel {
-		public weak Goo.CanvasRectData rect_data;
-		public CanvasRectModel (Goo.CanvasItemModel parent, double x, double y, double width, double height);
+		public Goo.CanvasItemSimpleData simple_data;
+		public weak string title;
+		public weak string description;
 		[NoAccessorMethod]
-		public double height { get; set; }
+		public Goo.CairoAntialias antialias { get; set; }
 		[NoAccessorMethod]
-		public double radius_x { get; set; }
+		public Goo.CairoFillRule clip_fill_rule { get; set; }
 		[NoAccessorMethod]
-		public double radius_y { get; set; }
+		public string clip_path { set; }
 		[NoAccessorMethod]
-		public double width { get; set; }
+		public string fill_color { set; }
 		[NoAccessorMethod]
-		public double x { get; set; }
+		public uint fill_color_rgba { set; }
 		[NoAccessorMethod]
-		public double y { get; set; }
-	}
-	[CCode (cheader_filename = "goocanvas.h")]
-	public class CanvasStyle : GLib.Object {
-		public weak Goo.CanvasStyle parent;
-		public weak GLib.Array properties;
-		public weak Goo.CanvasStyle copy ();
-		public weak Goo.CanvasStyle get_parent ();
-		public GLib.Value get_property (GLib.Quark property_id);
-		public CanvasStyle ();
-		public bool set_fill_options (Cairo.Context cr);
-		public void set_parent (Goo.CanvasStyle parent);
-		public void set_property (GLib.Quark property_id, GLib.Value value);
-		public bool set_stroke_options (Cairo.Context cr);
-	}
-	[CCode (cheader_filename = "goocanvas.h")]
-	public class CanvasTable : Goo.CanvasGroup, Goo.CanvasItem {
-		public weak Goo.CanvasTableData table_data;
-		public CanvasTable (Goo.CanvasItem parent);
+		public Goo.CairoPattern fill_pattern { get; set; }
 		[NoAccessorMethod]
-		public double column_spacing { get; set; }
+		public Gdk.Pixbuf fill_pixbuf { set; }
 		[NoAccessorMethod]
-		public double height { get; set; }
+		public Goo.CairoFillRule fill_rule { get; set; }
 		[NoAccessorMethod]
-		public bool homogeneous_columns { get; set; }
+		public string font { get; set; }
 		[NoAccessorMethod]
-		public bool homogeneous_rows { get; set; }
+		public Pango.FontDescription font_desc { get; set; }
 		[NoAccessorMethod]
-		public double row_spacing { get; set; }
+		public Goo.CairoHintMetrics hint_metrics { get; set; }
 		[NoAccessorMethod]
-		public double width { get; set; }
-	}
-	[CCode (cheader_filename = "goocanvas.h")]
-	public class CanvasTableModel : Goo.CanvasGroupModel, Goo.CanvasItemModel {
-		public weak Goo.CanvasTableData table_data;
-		public CanvasTableModel (Goo.CanvasItemModel parent);
+		public Goo.CairoLineCap line_cap { get; set; }
 		[NoAccessorMethod]
-		public double column_spacing { get; set; }
+		public Goo.CairoLineDash line_dash { get; set; }
 		[NoAccessorMethod]
-		public double height { get; set; }
+		public Goo.CairoLineJoin line_join { get; set; }
 		[NoAccessorMethod]
-		public bool homogeneous_columns { get; set; }
+		public double line_join_miter_limit { get; set; }
 		[NoAccessorMethod]
-		public bool homogeneous_rows { get; set; }
+		public double line_width { get; set; }
 		[NoAccessorMethod]
-		public double row_spacing { get; set; }
+		public Goo.CairoOperator operator { get; set; }
 		[NoAccessorMethod]
-		public double width { get; set; }
-	}
-	[CCode (cheader_filename = "goocanvas.h")]
-	public class CanvasText : Goo.CanvasItemSimple, Goo.CanvasItem {
-		public weak Goo.CanvasTextData text_data;
-		public double layout_width;
-		public CanvasText (Goo.CanvasItem parent, string str, double x, double y, double width, Gtk.AnchorType anchor);
+		public string stroke_color { set; }
 		[NoAccessorMethod]
-		public Pango.Alignment alignment { get; set; }
+		public uint stroke_color_rgba { set; }
 		[NoAccessorMethod]
-		public Gtk.AnchorType anchor { get; set; }
+		public Goo.CairoPattern stroke_pattern { get; set; }
 		[NoAccessorMethod]
-		public Pango.EllipsizeMode ellipsize { get; set; }
+		public Gdk.Pixbuf stroke_pixbuf { set; }
+	}
+	[CCode (cheader_filename = "goocanvas.h")]
+	public class CanvasItemSimple : GLib.Object, Goo.CanvasItem {
+		public weak Goo.Canvas canvas;
+		public weak Goo.CanvasItem parent;
+		public weak Goo.CanvasItemModelSimple model;
+		public Goo.CanvasItemSimpleData simple_data;
+		public Goo.CanvasBounds bounds;
+		public uint need_update;
+		public uint need_entire_subtree_update;
+		public void changed (bool recompute_bounds);
+		public bool check_in_path (double x, double y, Cairo.Context cr, Goo.CanvasPointerEvents pointer_events);
+		public void check_style ();
+		public double get_line_width ();
+		public void get_path_bounds (Cairo.Context cr, Goo.CanvasBounds bounds);
+		public void paint_path (Cairo.Context cr);
+		public void user_bounds_to_device (Cairo.Context cr, Goo.CanvasBounds bounds);
+		public void user_bounds_to_parent (Cairo.Context cr, Goo.CanvasBounds bounds);
+		[NoWrapper]
+		public virtual void simple_create_path (Cairo.Context cr);
+		[NoWrapper]
+		public virtual bool simple_is_item_at (double x, double y, Cairo.Context cr, bool is_pointer_event);
+		[NoWrapper]
+		public virtual void simple_paint (Cairo.Context cr, Goo.CanvasBounds bounds);
+		[NoWrapper]
+		public virtual void simple_update (Cairo.Context cr);
 		[NoAccessorMethod]
-		public string text { get; set; }
+		public Goo.CairoAntialias antialias { get; set; }
 		[NoAccessorMethod]
-		public bool use_markup { get; set; }
+		public Goo.CairoFillRule clip_fill_rule { get; set; }
 		[NoAccessorMethod]
-		public double width { get; set; }
+		public string clip_path { set; }
 		[NoAccessorMethod]
-		public Pango.WrapMode wrap { get; set; }
+		public string fill_color { set; }
 		[NoAccessorMethod]
-		public double x { get; set; }
+		public uint fill_color_rgba { set; }
 		[NoAccessorMethod]
-		public double y { get; set; }
-	}
-	[CCode (cheader_filename = "goocanvas.h")]
-	public class CanvasTextModel : Goo.CanvasItemModelSimple, Goo.CanvasItemModel {
-		public weak Goo.CanvasTextData text_data;
-		public CanvasTextModel (Goo.CanvasItemModel parent, string str, double x, double y, double width, Gtk.AnchorType anchor);
+		public Goo.CairoPattern fill_pattern { get; set; }
 		[NoAccessorMethod]
-		public Pango.Alignment alignment { get; set; }
+		public Gdk.Pixbuf fill_pixbuf { set; }
 		[NoAccessorMethod]
-		public Gtk.AnchorType anchor { get; set; }
+		public Goo.CairoFillRule fill_rule { get; set; }
 		[NoAccessorMethod]
-		public Pango.EllipsizeMode ellipsize { get; set; }
+		public string font { get; set; }
 		[NoAccessorMethod]
-		public string text { get; set; }
+		public Pango.FontDescription font_desc { get; set; }
 		[NoAccessorMethod]
-		public bool use_markup { get; set; }
+		public Goo.CairoHintMetrics hint_metrics { get; set; }
 		[NoAccessorMethod]
-		public double width { get; set; }
+		public Goo.CairoLineCap line_cap { get; set; }
 		[NoAccessorMethod]
-		public Pango.WrapMode wrap { get; set; }
+		public Goo.CairoLineDash line_dash { get; set; }
 		[NoAccessorMethod]
-		public double x { get; set; }
+		public Goo.CairoLineJoin line_join { get; set; }
 		[NoAccessorMethod]
-		public double y { get; set; }
-	}
-	[CCode (cheader_filename = "goocanvas.h")]
-	public class CanvasWidget : Goo.CanvasItemSimple, Goo.CanvasItem {
-		public CanvasWidget (Goo.CanvasItem parent, Gtk.Widget widget, double x, double y, double width, double height);
+		public double line_join_miter_limit { get; set; }
 		[NoAccessorMethod]
-		public Gtk.AnchorType anchor { get; set; }
+		public double line_width { get; set; }
 		[NoAccessorMethod]
-		public double height { get; set; }
+		public Goo.CairoOperator operator { get; set; }
 		[NoAccessorMethod]
-		public Gtk.Widget widget { get; set; }
+		public string stroke_color { set; }
 		[NoAccessorMethod]
-		public double width { get; set; }
+		public uint stroke_color_rgba { set; }
 		[NoAccessorMethod]
-		public double x { get; set; }
+		public Goo.CairoPattern stroke_pattern { get; set; }
 		[NoAccessorMethod]
-		public double y { get; set; }
+		public Gdk.Pixbuf stroke_pixbuf { set; }
 	}
-	[Compact]
 	[CCode (cheader_filename = "goocanvas.h")]
-	public class CanvasPathCommand {
-		public void* simple;
-		public void* curve;
-		public void* arc;
+	public class CanvasStyle : GLib.Object {
+		public weak Goo.CanvasStyle parent;
+		public weak GLib.Array properties;
+		public weak Goo.CanvasStyle copy ();
+		public weak Goo.CanvasStyle get_parent ();
+		public GLib.Value get_property (GLib.Quark property_id);
+		public CanvasStyle ();
+		public bool set_fill_options (Cairo.Context cr);
+		public void set_parent (Goo.CanvasStyle parent);
+		public void set_property (GLib.Quark property_id, GLib.Value value);
+		public bool set_stroke_options (Cairo.Context cr);
 	}
 	[CCode (cheader_filename = "goocanvas.h")]
 	public interface CanvasItem : GLib.Object {
+		public void get_simple_transform (out double x, out double y, out double scale, out double rotation);
 		public void animate (double x, double y, double scale, double degrees, bool absolute, int duration, int step_time, Goo.CanvasAnimateType type);
 		public static weak GLib.ParamSpec class_find_child_property (GLib.ObjectClass iclass, string property_name);
 		public static void class_install_child_property (GLib.ObjectClass iclass, uint property_id, GLib.ParamSpec pspec);
@@ -804,20 +707,21 @@
 		public Goo.CairoMatrix transform { get; set; }
 		public Goo.CanvasItemVisibility visibility { get; set; }
 		public double visibility_threshold { get; set; }
-		public virtual signal bool button_press_event (Goo.CanvasItem target, Gdk.Event event);
-		public virtual signal bool button_release_event (Goo.CanvasItem target, Gdk.Event event);
+		public virtual signal bool button_press_event (Goo.CanvasItem target, Gdk.EventButton event);
+		public virtual signal bool button_release_event (Goo.CanvasItem target, Gdk.EventButton event);
 		public virtual signal void child_notify (GLib.ParamSpec pspec);
-		public virtual signal bool enter_notify_event (Goo.CanvasItem target, Gdk.Event event);
-		public virtual signal bool focus_in_event (Goo.CanvasItem target, Gdk.Event event);
-		public virtual signal bool focus_out_event (Goo.CanvasItem target, Gdk.Event event);
-		public virtual signal bool grab_broken_event (Goo.CanvasItem target, Gdk.Event event);
-		public virtual signal bool key_press_event (Goo.CanvasItem target, Gdk.Event event);
-		public virtual signal bool key_release_event (Goo.CanvasItem target, Gdk.Event event);
-		public virtual signal bool leave_notify_event (Goo.CanvasItem target, Gdk.Event event);
-		public virtual signal bool motion_notify_event (Goo.CanvasItem target, Gdk.Event event);
+		public virtual signal bool enter_notify_event (Goo.CanvasItem target, Gdk.EventCrossing event);
+		public virtual signal bool focus_in_event (Goo.CanvasItem target, Gdk.EventFocus event);
+		public virtual signal bool focus_out_event (Goo.CanvasItem target, Gdk.EventFocus event);
+		public virtual signal bool grab_broken_event (Goo.CanvasItem target, Gdk.EventGrabBroken event);
+		public virtual signal bool key_press_event (Goo.CanvasItem target, Gdk.EventKey event);
+		public virtual signal bool key_release_event (Goo.CanvasItem target, Gdk.EventKey event);
+		public virtual signal bool leave_notify_event (Goo.CanvasItem target, Gdk.EventCrossing event);
+		public virtual signal bool motion_notify_event (Goo.CanvasItem target, Gdk.EventMotion event);
 	}
 	[CCode (cheader_filename = "goocanvas.h")]
 	public interface CanvasItemModel : GLib.Object {
+		public void get_simple_transform (out double x, out double y, out double scale, out double rotation);
 		public void animate (double x, double y, double scale, double degrees, bool absolute, int duration, int step_time, Goo.CanvasAnimateType type);
 		public static weak GLib.ParamSpec class_find_child_property (GLib.ObjectClass mclass, string property_name);
 		public static void class_install_child_property (GLib.ObjectClass mclass, uint property_id, GLib.ParamSpec pspec);
@@ -870,5 +774,128 @@
 		public virtual signal void child_removed (int child_num);
 	}
 	[CCode (cheader_filename = "goocanvas.h")]
+	public struct CanvasEllipseData {
+		public double center_x;
+		public double center_y;
+		public double radius_x;
+		public double radius_y;
+	}
+	[CCode (cheader_filename = "goocanvas.h")]
+	public struct CanvasImageData {
+		public weak Cairo.Pattern pattern;
+		public double x;
+		public double y;
+		public double width;
+		public double height;
+	}
+	[CCode (cheader_filename = "goocanvas.h")]
+	public struct CanvasItemSimpleData {
+		public weak Goo.CanvasStyle style;
+		public Cairo.Matrix transform;
+		public weak GLib.Array clip_path_commands;
+		public weak string tooltip;
+		public double visibility_threshold;
+		public uint visibility;
+		public uint pointer_events;
+		public uint can_focus;
+		public uint own_style;
+		public uint clip_fill_rule;
+		public uint cache_setting;
+		public uint has_tooltip;
+	}
+	[CCode (cheader_filename = "goocanvas.h")]
+	public struct CanvasPathData {
+		public weak GLib.Array path_commands;
+	}
+	[CCode (cheader_filename = "goocanvas.h")]
+	public struct CanvasPolylineArrowData {
+		public double arrow_width;
+		public double arrow_length;
+		public double arrow_tip_length;
+		[NoArrayLength]
+		public weak double[] line_start;
+		[NoArrayLength]
+		public weak double[] line_end;
+		[NoArrayLength]
+		public weak double[] start_arrow_coords;
+		[NoArrayLength]
+		public weak double[] end_arrow_coords;
+	}
+	[CCode (cheader_filename = "goocanvas.h")]
+	public struct CanvasPolylineData {
+		public double coords;
+		public Goo.CanvasPolylineArrowData arrow_data;
+		public uint num_points;
+		public uint close_path;
+		public uint start_arrow;
+		public uint end_arrow;
+		public uint reconfigure_arrows;
+	}
+	[CCode (cheader_filename = "goocanvas.h")]
+	public struct CanvasRectData {
+		public double x;
+		public double y;
+		public double width;
+		public double height;
+		public double radius_x;
+		public double radius_y;
+	}
+	[CCode (cheader_filename = "goocanvas.h")]
+	public struct CanvasStyleProperty {
+		public GLib.Quark id;
+		public GLib.Value value;
+	}
+	[CCode (cheader_filename = "goocanvas.h")]
+	public struct CanvasTableData {
+		public double width;
+		public double height;
+		[NoArrayLength]
+		public weak Goo.CanvasTableDimension[] dimensions;
+		public double border_width;
+		public weak GLib.Array children;
+		public Goo.CanvasTableLayoutData layout_data;
+	}
+	[CCode (cheader_filename = "goocanvas.h")]
+	public struct CanvasTableDimension {
+		public int size;
+		public double default_spacing;
+		public double spacings;
+		public uint homogeneous;
+	}
+	[CCode (cheader_filename = "goocanvas.h")]
+	public struct CanvasTableLayoutData {
+	}
+	[CCode (cheader_filename = "goocanvas.h")]
+	public struct CanvasTextData {
+		public weak string text;
+		public double x;
+		public double y;
+		public double width;
+		public uint use_markup;
+		public uint anchor;
+		public uint alignment;
+		public uint ellipsize;
+		public uint wrap;
+	}
+	[CCode (type_id = "GOO_TYPE_CAIRO_LINE_DASH", cheader_filename = "goocanvas.h")]
+	public struct CairoLineDash {
+	}
+	[CCode (type_id = "GOO_TYPE_CAIRO_PATTERN", cheader_filename = "goocanvas.h")]
+	public struct CairoPattern {
+	}
+	[CCode (type_id = "GOO_TYPE_CANVAS_BOUNDS", cheader_filename = "goocanvas.h")]
+	public struct CanvasBounds {
+		public double x1;
+		public double y1;
+		public double x2;
+		public double y2;
+	}
+	[CCode (cheader_filename = "goocanvas.h")]
+	public struct CanvasPathCommand {
+		public void* simple;
+		public void* curve;
+		public void* arc;
+	}
+	[CCode (cheader_filename = "goocanvas.h")]
 	public const int NUM_ARROW_POINTS;
 }

Added: trunk/vapi/packages/goocanvas/goocanvas-custom.vala
==============================================================================
--- (empty file)
+++ trunk/vapi/packages/goocanvas/goocanvas-custom.vala	Sat Sep 27 09:42:51 2008
@@ -0,0 +1,141 @@
+/* goocanvas-custom.vala
+ *
+ * Copyright (C) 2008  Matias De la Puente
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 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
+ * Lesser General Public License for more details.
+
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
+ *
+ * Author:
+ * 	Matias De la Puente <mfpuente ar gmail com>
+ */
+
+namespace Goo
+{
+	public class CanvasEllipse
+	{
+		[CCode (cname="goo_canvas_ellipse_new", type="GooCanvasItem*")]
+		public static weak CanvasEllipse create (Goo.CanvasItem? parent, double center_x, double center_y, double radius_x, double radius_y, ...);
+	}
+
+	public class CanvasEllipseModel
+	{
+		[CCode (cname="goo_canvas_ellipse_model_new", type="GooCanvasItemModel*")]
+		public static weak CanvasEllipseModel create (Goo.CanvasItemModel? parent, double center_x, double center_y, double radius_x, double radius_y, ...);
+	}
+
+	public class CanvasGroup
+	{
+		[CCode (cname="goo_canvas_group_new", type="GooCanvasItem*")]
+		public static weak CanvasGroup create (Goo.CanvasItem? parent, ...);
+	}
+
+	public class CanvasGroupModel
+	{
+		[CCode (cname="goo_canvas_group_model_new", type="GooCanvasItemModel*")]
+		public static weak CanvasGroupModel create (Goo.CanvasItemModel? parent, ...);
+	}
+
+	public class CanvasImage
+	{
+		[CCode (cname="goo_image_group_new", type="GooCanvasItem*")]
+		public static weak CanvasImage create (Goo.CanvasItem? parent, Gdk.Pixbuf pixbuf, double x, double y, ...);
+	}
+
+	public class CanvasImageModel
+	{
+		[CCode (cname="goo_canvas_image_model_new", type="GooCanvasItemModel*")]
+		public static weak CanvasImageModel create (Goo.CanvasItemModel? parent, Gdk.Pixbuf pixbuf, double x, double y, ...);
+	}
+
+	public class CanvasPath
+	{
+		[CCode (cname="goo_canvas_path_new", type="GooCanvasItem*")]
+		public static weak CanvasPath create (Goo.CanvasItem? parent, string path_data, ...);
+	}
+
+	public class CanvasPathModel
+	{
+		[CCode (cname="goo_canvas_path_model_new", type="GooCanvasItemModel*")]
+		public static weak CanvasPathModel create (Goo.CanvasItemModel? parent, string path_data, ...);
+	}
+
+	public class CanvasPolyline
+	{
+		[CCode (cname="goo_canvas_polyline_new", type="GooCanvasItem*")]
+		public static weak CanvasPolyline create (Goo.CanvasItem? parent, bool close_path, int num_points, ...);
+		[CCode (cname="goo_canvas_polyline_new_line", type="GooCanvasItem*")]
+		public static weak CanvasPolyline create_line (Goo.CanvasItem? parent, double x1, double y1, double x2, double y2, ...);
+	}
+
+	public class CanvasPolylineModel
+	{
+		[CCode (cname="goo_canvas_polyline_model_new", type="GooCanvasItemModel*")]
+		public static weak CanvasPolylineModel create (Goo.CanvasItemModel? parent, bool close_path, int num_points, ...);
+		[CCode (cname="goo_canvas_polyline_model_new_line", type="GooCanvasItemModel*")]
+		public static weak CanvasPolylineModel create_line (Goo.CanvasItemModel? parent, double x1, double y1, double x2, double y2, ...);
+	}
+	
+	public class CanvasRect
+	{
+		[CCode (cname = "goo_canvas_rect_new", type="GooCanvasItem*")]
+		public static weak CanvasRect create (Goo.CanvasItem? parent, double x, double y, double width, double height, ...);
+	}
+	
+	public class CanvasRectModel
+	{
+		[CCode (cname = "goo_canvas_rect_model_new", type="GooCanvasItemModel*")]
+		public static weak CanvasRectModel create (Goo.CanvasItemModel? parent, double x, double y, double width, double height, ...);
+	}
+	
+	public class CanvasTable
+	{
+		[CCode (cname="goo_canvas_table_new", type="GooCanvasItem*")]
+		public static weak CanvasTable create (Goo.CanvasItem? parent, ...);
+	}
+	
+	public class CanvasTableModel
+	{
+		[CCode (cname="goo_canvas_table_model_new", type="GooCanvasItemModel*")]
+		public static weak CanvasTableModel create (Goo.CanvasItemModel? parent, ...);
+	}
+	
+	public class CanvasText
+	{
+		[CCode (cname="goo_canvas_text_new", type="GooCanvasItem*")]
+		public static weak CanvasText create (Goo.CanvasItem? parent, string str, double x, double y, double width, Gtk.AnchorType anchor, ...);
+	}
+	
+	public class CanvasTextModel
+	{
+		[CCode (cname="goo_canvas_text_model_new", type="GooCanvasItemModel*")]
+		public static weak CanvasTextModel create (Goo.CanvasItemModel? parent, string str, double x, double y, double width, Gtk.AnchorType anchor, ...);
+	}
+	
+	public class CanvasWidget
+	{
+		[CCode (cname="goo_canvas_widget_new", type="GooCanvasItem*")]
+		public static weak CanvasWidget create (Goo.CanvasItem? parent, Gtk.Widget widget, double x, double y, double width, double height, ...);
+	}
+	
+	public interface CanvasItem : GLib.Object
+	{
+		public void get_simple_transform (out double x, out double y, out double scale, out double rotation);
+	}
+	
+	public interface CanvasItemModel : GLib.Object
+	{
+		public void get_simple_transform (out double x, out double y, out double scale, out double rotation);
+	}
+}
+

Modified: trunk/vapi/packages/goocanvas/goocanvas.deps
==============================================================================
--- trunk/vapi/packages/goocanvas/goocanvas.deps	(original)
+++ trunk/vapi/packages/goocanvas/goocanvas.deps	Sat Sep 27 09:42:51 2008
@@ -2,5 +2,7 @@
 cairo
 pango
 gdk-2.0
+gio-2.0
 gtk+-2.0
 gdk-pixbuf-2.0
+

Modified: trunk/vapi/packages/goocanvas/goocanvas.metadata
==============================================================================
--- trunk/vapi/packages/goocanvas/goocanvas.metadata	(original)
+++ trunk/vapi/packages/goocanvas/goocanvas.metadata	Sat Sep 27 09:42:51 2008
@@ -1 +1,46 @@
 Goo cprefix="Goo" lower_case_cprefix="goo_" cheader_filename="goocanvas.h"
+GooCanvasItem::button_press_event.event namespace_name="Gdk" type_name="EventButton"
+GooCanvasItem::button_release_event.event namespace_name="Gdk" type_name="EventButton"
+GooCanvasItem::enter_notify_event.event namespace_name="Gdk" type_name="EventCrossing"
+GooCanvasItem::focus_in_event.event namespace_name="Gdk" type_name="EventFocus"
+GooCanvasItem::focus_out_event.event namespace_name="Gdk" type_name="EventFocus"
+GooCanvasItem::grab_broken_event.event namespace_name="Gdk" type_name="EventGrabBroken"
+GooCanvasItem::key_press_event.event namespace_name="Gdk" type_name="EventKey"
+GooCanvasItem::key_release_event.event namespace_name="Gdk" type_name="EventKey"
+GooCanvasItem::leave_notify_event.event namespace_name="Gdk" type_name="EventCrossing"
+GooCanvasItem::motion_notify_event.event namespace_name="Gdk" type_name="EventMotion"
+goo_canvas_ellipse_new hidden="1"
+goo_canvas_ellipse_model_new hidden="1"
+goo_canvas_group_new hidden="1"
+goo_canvas_group_model_new hidden="1"
+goo_canvas_image_new hidden="1"
+goo_canvas_image_model_new hidden="1"
+goo_canvas_path_new hidden="1"
+goo_canvas_path_model_new hidden="1"
+goo_canvas_polyline_new hidden="1"
+goo_canvas_polyline_model_new hidden="1"
+goo_canvas_rect_new hidden="1"
+goo_canvas_rect_model_new hidden="1"
+goo_canvas_table_new hidden="1"
+goo_canvas_table_model_new hidden="1"
+goo_canvas_text_new hidden="1"
+goo_canvas_text_model_new hidden="1"
+goo_canvas_widget_new hidden="1"
+goo_canvas_widget_model_new hidden="1"
+GooCanvasEllipseData is_value_type="1"
+GooCanvasImageData is_value_type="1"
+GooCanvasItemSimpleData is_value_type="1"
+GooCanvasPathData is_value_type="1"
+GooCanvasPolylineArrowData is_value_type="1"
+GooCanvasPolylineData is_value_type="1"
+GooCanvasRectData is_value_type="1"
+GooCanvasStyleProperty is_value_type="1"
+GooCanvasTableData is_value_type="1"
+GooCanvasTableDimension is_value_type="1"
+GooCanvasTableLayoutData is_value_type="1"
+GooCanvasTextData is_value_type="1"
+GooCairoLineDash is_value_type="1"
+GooCairoPattern is_value_type="1"
+GooCanvasBounds is_value_type="1"
+GooCanvasPathCommand is_value_type="1"
+



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