Improve output for owned property getters
[vala-lang.git] / vapi / goocanvas.vapi
blob97408a3501066edaf84731b76ceb167e8c854156
1 /* goocanvas.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Goo", lower_case_cprefix = "goo_")]
4 namespace Goo {
5         [Compact]
6         [CCode (copy_function = "goo_cairo_matrix_copy", cheader_filename = "goocanvas.h")]
7         public class CairoMatrix {
8                 public static Cairo.Matrix copy (Cairo.Matrix matrix);
9         }
10         [CCode (cheader_filename = "goocanvas.h")]
11         public class Canvas : Gtk.Container, Atk.Implementor, Gtk.Buildable {
12                 public Goo.CanvasBounds bounds;
13                 public weak Gdk.Window canvas_window;
14                 public int canvas_x_offset;
15                 public int canvas_y_offset;
16                 public Gdk.EventCrossing crossing_event;
17                 public double device_to_pixels_x;
18                 public double device_to_pixels_y;
19                 public weak Goo.CanvasItem focused_item;
20                 public int freeze_count;
21                 public weak Gtk.Adjustment hadjustment;
22                 public uint idle_id;
23                 public weak Goo.CanvasItem keyboard_grab_item;
24                 public weak GLib.HashTable model_to_item;
25                 public uint need_entire_subtree_update;
26                 public uint need_update;
27                 public uint pointer_grab_button;
28                 public weak Goo.CanvasItem pointer_grab_initial_item;
29                 public weak Goo.CanvasItem pointer_grab_item;
30                 public weak Goo.CanvasItem pointer_item;
31                 public weak Goo.CanvasItem root_item;
32                 public weak Goo.CanvasItemModel root_item_model;
33                 public weak Gdk.Window tmp_window;
34                 public weak Gtk.Adjustment vadjustment;
35                 public weak GLib.List widget_items;
36                 public void convert_from_item_space (Goo.CanvasItem item, double x, double y);
37                 public void convert_from_pixels (double x, double y);
38                 public void convert_to_item_space (Goo.CanvasItem item, double x, double y);
39                 public void convert_to_pixels (double x, double y);
40                 public unowned Cairo.Context create_cairo_context ();
41                 public virtual unowned Goo.CanvasItem create_item (Goo.CanvasItemModel model);
42                 public static void create_path (GLib.Array commands, Cairo.Context cr);
43                 public void get_bounds (double left, double top, double right, double bottom);
44                 public double get_default_line_width ();
45                 public unowned Goo.CanvasItem get_item (Goo.CanvasItemModel model);
46                 public unowned Goo.CanvasItem get_item_at (double x, double y, bool is_pointer_event);
47                 public unowned GLib.List get_items_at (double x, double y, bool is_pointer_event);
48                 public unowned GLib.List get_items_in_area (Goo.CanvasBounds area, bool inside_area, bool allow_overlaps, bool include_containers);
49                 public unowned Goo.CanvasItem get_root_item ();
50                 public unowned Goo.CanvasItemModel get_root_item_model ();
51                 public double get_scale ();
52                 public void grab_focus (Goo.CanvasItem item);
53                 public Gdk.GrabStatus keyboard_grab (Goo.CanvasItem item, bool owner_events, uint32 time);
54                 public void keyboard_ungrab (Goo.CanvasItem item, uint32 time);
55                 public static void marshal_BOOLEAN__BOXED (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
56                 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);
57                 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);
58                 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);
59                 [CCode (type = "GtkWidget*", has_construct_function = false)]
60                 public Canvas ();
61                 public static unowned GLib.Array parse_path_data (string path_data);
62                 public Gdk.GrabStatus pointer_grab (Goo.CanvasItem item, Gdk.EventMask event_mask, Gdk.Cursor cursor, uint32 time);
63                 public void pointer_ungrab (Goo.CanvasItem item, uint32 time);
64                 public void register_widget_item (Goo.CanvasWidget witem);
65                 public void render (Cairo.Context cr, Goo.CanvasBounds bounds, double scale);
66                 public void request_redraw (Goo.CanvasBounds bounds);
67                 public void request_update ();
68                 public void scroll_to (double left, double top);
69                 public void set_bounds (double left, double top, double right, double bottom);
70                 public void set_root_item (Goo.CanvasItem item);
71                 public void set_root_item_model (Goo.CanvasItemModel model);
72                 public void set_scale (double scale);
73                 public void unregister_item (Goo.CanvasItemModel model);
74                 public void unregister_widget_item (Goo.CanvasWidget witem);
75                 public void update ();
76                 [NoAccessorMethod]
77                 public Gtk.AnchorType anchor { get; set; }
78                 [NoAccessorMethod]
79                 public bool automatic_bounds { get; set; }
80                 [NoAccessorMethod]
81                 public string background_color { set; }
82                 [NoAccessorMethod]
83                 public uint background_color_rgb { set; }
84                 [NoAccessorMethod]
85                 public bool bounds_from_origin { get; set; }
86                 [NoAccessorMethod]
87                 public double bounds_padding { get; set; }
88                 [NoAccessorMethod]
89                 public bool integer_layout { get; set; }
90                 [NoAccessorMethod]
91                 public double resolution_x { get; set; }
92                 [NoAccessorMethod]
93                 public double resolution_y { get; set; }
94                 public double scale { get; set; }
95                 [NoAccessorMethod]
96                 public double scale_x { get; set; }
97                 [NoAccessorMethod]
98                 public double scale_y { get; set; }
99                 [NoAccessorMethod]
100                 public Gtk.Unit units { get; set; }
101                 [NoAccessorMethod]
102                 public double x1 { get; set; }
103                 [NoAccessorMethod]
104                 public double x2 { get; set; }
105                 [NoAccessorMethod]
106                 public double y1 { get; set; }
107                 [NoAccessorMethod]
108                 public double y2 { get; set; }
109                 public virtual signal void item_created (Goo.CanvasItem item, Goo.CanvasItemModel model);
110                 public virtual signal void set_scroll_adjustments (Gtk.Adjustment hadjustment, Gtk.Adjustment vadjustment);
111         }
112         [CCode (cheader_filename = "goocanvas.h")]
113         public class CanvasEllipse : Goo.CanvasItemSimple, Goo.CanvasItem {
114                 public Goo.CanvasEllipseData ellipse_data;
115                 [CCode (cname = "goo_canvas_ellipse_new")]
116                 public static unowned Goo.CanvasEllipse create (Goo.CanvasItem? parent, double center_x, double center_y, double radius_x, double radius_y, ...);
117                 [NoAccessorMethod]
118                 public double center_x { get; set; }
119                 [NoAccessorMethod]
120                 public double center_y { get; set; }
121                 [NoAccessorMethod]
122                 public double radius_x { get; set; }
123                 [NoAccessorMethod]
124                 public double radius_y { get; set; }
125         }
126         [CCode (cheader_filename = "goocanvas.h")]
127         public class CanvasEllipseModel : Goo.CanvasItemModelSimple, Goo.CanvasItemModel {
128                 public Goo.CanvasEllipseData ellipse_data;
129                 [CCode (cname = "goo_canvas_ellipse_model_new")]
130                 public static unowned Goo.CanvasEllipseModel create (Goo.CanvasItemModel? parent, double center_x, double center_y, double radius_x, double radius_y, ...);
131                 [NoAccessorMethod]
132                 public double center_x { get; set; }
133                 [NoAccessorMethod]
134                 public double center_y { get; set; }
135                 [NoAccessorMethod]
136                 public double radius_x { get; set; }
137                 [NoAccessorMethod]
138                 public double radius_y { get; set; }
139         }
140         [CCode (cheader_filename = "goocanvas.h")]
141         public class CanvasGroup : Goo.CanvasItemSimple, Goo.CanvasItem {
142                 public weak GLib.PtrArray items;
143                 [CCode (cname = "goo_canvas_group_new")]
144                 public static unowned Goo.CanvasGroup create (Goo.CanvasItem? parent, ...);
145         }
146         [CCode (cheader_filename = "goocanvas.h")]
147         public class CanvasGroupModel : Goo.CanvasItemModelSimple, Goo.CanvasItemModel {
148                 public weak GLib.PtrArray children;
149                 [CCode (cname = "goo_canvas_group_model_new")]
150                 public static unowned Goo.CanvasGroupModel create (Goo.CanvasItemModel? parent, ...);
151         }
152         [CCode (cheader_filename = "goocanvas.h")]
153         public class CanvasImage : Goo.CanvasItemSimple, Goo.CanvasItem {
154                 public Goo.CanvasImageData image_data;
155                 [CCode (cname = "goo_image_group_new")]
156                 public static unowned Goo.CanvasImage create (Goo.CanvasItem? parent, Gdk.Pixbuf pixbuf, double x, double y, ...);
157                 [NoAccessorMethod]
158                 public double height { get; set; }
159                 [NoAccessorMethod]
160                 public Goo.CairoPattern pattern { get; set; }
161                 [NoAccessorMethod]
162                 public Gdk.Pixbuf pixbuf { set; }
163                 [NoAccessorMethod]
164                 public double width { get; set; }
165                 [NoAccessorMethod]
166                 public double x { get; set; }
167                 [NoAccessorMethod]
168                 public double y { get; set; }
169         }
170         [CCode (cheader_filename = "goocanvas.h")]
171         public class CanvasImageModel : Goo.CanvasItemModelSimple, Goo.CanvasItemModel {
172                 public Goo.CanvasImageData image_data;
173                 [CCode (cname = "goo_canvas_image_model_new")]
174                 public static unowned Goo.CanvasImageModel create (Goo.CanvasItemModel? parent, Gdk.Pixbuf pixbuf, double x, double y, ...);
175                 [NoAccessorMethod]
176                 public double height { get; set; }
177                 [NoAccessorMethod]
178                 public Goo.CairoPattern pattern { get; set; }
179                 [NoAccessorMethod]
180                 public Gdk.Pixbuf pixbuf { set; }
181                 [NoAccessorMethod]
182                 public double width { get; set; }
183                 [NoAccessorMethod]
184                 public double x { get; set; }
185                 [NoAccessorMethod]
186                 public double y { get; set; }
187         }
188         [CCode (cheader_filename = "goocanvas.h")]
189         public class CanvasItemModelSimple : GLib.Object, Goo.CanvasItemModel {
190                 public weak string description;
191                 public weak Goo.CanvasItemModel parent;
192                 public Goo.CanvasItemSimpleData simple_data;
193                 public weak string title;
194                 [NoAccessorMethod]
195                 public Goo.CairoAntialias antialias { get; set; }
196                 [NoAccessorMethod]
197                 public Goo.CairoFillRule clip_fill_rule { get; set; }
198                 [NoAccessorMethod]
199                 public string clip_path { set; }
200                 [NoAccessorMethod]
201                 public string fill_color { set; }
202                 [NoAccessorMethod]
203                 public uint fill_color_rgba { set; }
204                 [NoAccessorMethod]
205                 public Goo.CairoPattern fill_pattern { get; set; }
206                 [NoAccessorMethod]
207                 public Gdk.Pixbuf fill_pixbuf { set; }
208                 [NoAccessorMethod]
209                 public Goo.CairoFillRule fill_rule { get; set; }
210                 [NoAccessorMethod]
211                 public string font { owned get; set; }
212                 [NoAccessorMethod]
213                 public Pango.FontDescription font_desc { owned get; set; }
214                 [NoAccessorMethod]
215                 public Goo.CairoHintMetrics hint_metrics { get; set; }
216                 [NoAccessorMethod]
217                 public Goo.CairoLineCap line_cap { get; set; }
218                 [NoAccessorMethod]
219                 public Goo.CairoLineDash line_dash { get; set; }
220                 [NoAccessorMethod]
221                 public Goo.CairoLineJoin line_join { get; set; }
222                 [NoAccessorMethod]
223                 public double line_join_miter_limit { get; set; }
224                 [NoAccessorMethod]
225                 public double line_width { get; set; }
226                 [NoAccessorMethod]
227                 public Goo.CairoOperator operator { get; set; }
228                 [NoAccessorMethod]
229                 public string stroke_color { set; }
230                 [NoAccessorMethod]
231                 public uint stroke_color_rgba { set; }
232                 [NoAccessorMethod]
233                 public Goo.CairoPattern stroke_pattern { get; set; }
234                 [NoAccessorMethod]
235                 public Gdk.Pixbuf stroke_pixbuf { set; }
236         }
237         [CCode (cheader_filename = "goocanvas.h")]
238         public class CanvasItemSimple : GLib.Object, Goo.CanvasItem {
239                 public Goo.CanvasBounds bounds;
240                 public weak Goo.Canvas canvas;
241                 public weak Goo.CanvasItemModelSimple model;
242                 public uint need_entire_subtree_update;
243                 public uint need_update;
244                 public weak Goo.CanvasItem parent;
245                 public Goo.CanvasItemSimpleData simple_data;
246                 public void changed (bool recompute_bounds);
247                 public bool check_in_path (double x, double y, Cairo.Context cr, Goo.CanvasPointerEvents pointer_events);
248                 public void check_style ();
249                 public double get_line_width ();
250                 public void get_path_bounds (Cairo.Context cr, Goo.CanvasBounds bounds);
251                 public void paint_path (Cairo.Context cr);
252                 [NoWrapper]
253                 public virtual void simple_create_path (Cairo.Context cr);
254                 [NoWrapper]
255                 public virtual bool simple_is_item_at (double x, double y, Cairo.Context cr, bool is_pointer_event);
256                 [NoWrapper]
257                 public virtual void simple_paint (Cairo.Context cr, Goo.CanvasBounds bounds);
258                 [NoWrapper]
259                 public virtual void simple_update (Cairo.Context cr);
260                 public void user_bounds_to_device (Cairo.Context cr, Goo.CanvasBounds bounds);
261                 public void user_bounds_to_parent (Cairo.Context cr, Goo.CanvasBounds bounds);
262                 [NoAccessorMethod]
263                 public Goo.CairoAntialias antialias { get; set; }
264                 [NoAccessorMethod]
265                 public Goo.CairoFillRule clip_fill_rule { get; set; }
266                 [NoAccessorMethod]
267                 public string clip_path { set; }
268                 [NoAccessorMethod]
269                 public string fill_color { set; }
270                 [NoAccessorMethod]
271                 public uint fill_color_rgba { set; }
272                 [NoAccessorMethod]
273                 public Goo.CairoPattern fill_pattern { get; set; }
274                 [NoAccessorMethod]
275                 public Gdk.Pixbuf fill_pixbuf { set; }
276                 [NoAccessorMethod]
277                 public Goo.CairoFillRule fill_rule { get; set; }
278                 [NoAccessorMethod]
279                 public string font { owned get; set; }
280                 [NoAccessorMethod]
281                 public Pango.FontDescription font_desc { owned get; set; }
282                 [NoAccessorMethod]
283                 public Goo.CairoHintMetrics hint_metrics { get; set; }
284                 [NoAccessorMethod]
285                 public Goo.CairoLineCap line_cap { get; set; }
286                 [NoAccessorMethod]
287                 public Goo.CairoLineDash line_dash { get; set; }
288                 [NoAccessorMethod]
289                 public Goo.CairoLineJoin line_join { get; set; }
290                 [NoAccessorMethod]
291                 public double line_join_miter_limit { get; set; }
292                 [NoAccessorMethod]
293                 public double line_width { get; set; }
294                 [NoAccessorMethod]
295                 public Goo.CairoOperator operator { get; set; }
296                 [NoAccessorMethod]
297                 public string stroke_color { set; }
298                 [NoAccessorMethod]
299                 public uint stroke_color_rgba { set; }
300                 [NoAccessorMethod]
301                 public Goo.CairoPattern stroke_pattern { get; set; }
302                 [NoAccessorMethod]
303                 public Gdk.Pixbuf stroke_pixbuf { set; }
304         }
305         [Compact]
306         [CCode (ref_function = "goo_canvas_line_dash_ref", unref_function = "goo_canvas_line_dash_unref", cheader_filename = "goocanvas.h")]
307         public class CanvasLineDash {
308                 public double dash_offset;
309                 public double dashes;
310                 public int num_dashes;
311                 public int ref_count;
312                 [CCode (has_construct_function = false)]
313                 public CanvasLineDash (int num_dashes);
314                 [CCode (cname = "goo_canvas_line_dash_newv", has_construct_function = false)]
315                 public CanvasLineDash.newv (int num_dashes, double dashes);
316         }
317         [CCode (cheader_filename = "goocanvas.h")]
318         public class CanvasPath : Goo.CanvasItemSimple, Goo.CanvasItem {
319                 public Goo.CanvasPathData path_data;
320                 [CCode (cname = "goo_canvas_path_new")]
321                 public static unowned Goo.CanvasPath create (Goo.CanvasItem? parent, string path_data, ...);
322                 [NoAccessorMethod]
323                 public string data { set; }
324         }
325         [CCode (cheader_filename = "goocanvas.h")]
326         public class CanvasPathModel : Goo.CanvasItemModelSimple, Goo.CanvasItemModel {
327                 public Goo.CanvasPathData path_data;
328                 [CCode (cname = "goo_canvas_path_model_new")]
329                 public static unowned Goo.CanvasPathModel create (Goo.CanvasItemModel? parent, string path_data, ...);
330                 [NoAccessorMethod]
331                 public string data { set; }
332         }
333         [Compact]
334         [CCode (ref_function = "goo_canvas_points_ref", unref_function = "goo_canvas_points_unref", cheader_filename = "goocanvas.h")]
335         public class CanvasPoints {
336                 public double coords;
337                 public int num_points;
338                 public int ref_count;
339                 [CCode (has_construct_function = false)]
340                 public CanvasPoints (int num_points);
341         }
342         [CCode (cheader_filename = "goocanvas.h")]
343         public class CanvasPolyline : Goo.CanvasItemSimple, Goo.CanvasItem {
344                 public Goo.CanvasPolylineData polyline_data;
345                 [CCode (cname = "goo_canvas_polyline_new")]
346                 public static unowned Goo.CanvasPolyline create (Goo.CanvasItem? parent, bool close_path, int num_points, ...);
347                 [CCode (cname = "goo_canvas_polyline_new_line")]
348                 public static unowned Goo.CanvasPolyline create_line (Goo.CanvasItem? parent, double x1, double y1, double x2, double y2, ...);
349                 [CCode (type = "GooCanvasItem*", has_construct_function = false)]
350                 public CanvasPolyline.line (Goo.CanvasItem parent, double x1, double y1, double x2, double y2);
351                 [NoAccessorMethod]
352                 public double arrow_length { get; set; }
353                 [NoAccessorMethod]
354                 public double arrow_tip_length { get; set; }
355                 [NoAccessorMethod]
356                 public double arrow_width { get; set; }
357                 [NoAccessorMethod]
358                 public bool close_path { get; set; }
359                 [NoAccessorMethod]
360                 public bool end_arrow { get; set; }
361                 [NoAccessorMethod]
362                 public Goo.CanvasPoints points { owned get; set; }
363                 [NoAccessorMethod]
364                 public bool start_arrow { get; set; }
365         }
366         [CCode (cheader_filename = "goocanvas.h")]
367         public class CanvasPolylineModel : Goo.CanvasItemModelSimple, Goo.CanvasItemModel {
368                 public Goo.CanvasPolylineData polyline_data;
369                 [CCode (cname = "goo_canvas_polyline_model_new")]
370                 public static unowned Goo.CanvasPolylineModel create (Goo.CanvasItemModel? parent, bool close_path, int num_points, ...);
371                 [CCode (cname = "goo_canvas_polyline_model_new_line")]
372                 public static unowned Goo.CanvasPolylineModel create_line (Goo.CanvasItemModel? parent, double x1, double y1, double x2, double y2, ...);
373                 [CCode (type = "GooCanvasItemModel*", has_construct_function = false)]
374                 public CanvasPolylineModel.line (Goo.CanvasItemModel parent, double x1, double y1, double x2, double y2);
375                 [NoAccessorMethod]
376                 public double arrow_length { get; set; }
377                 [NoAccessorMethod]
378                 public double arrow_tip_length { get; set; }
379                 [NoAccessorMethod]
380                 public double arrow_width { get; set; }
381                 [NoAccessorMethod]
382                 public bool close_path { get; set; }
383                 [NoAccessorMethod]
384                 public bool end_arrow { get; set; }
385                 [NoAccessorMethod]
386                 public Goo.CanvasPoints points { owned get; set; }
387                 [NoAccessorMethod]
388                 public bool start_arrow { get; set; }
389         }
390         [CCode (cheader_filename = "goocanvas.h")]
391         public class CanvasRect : Goo.CanvasItemSimple, Goo.CanvasItem {
392                 public Goo.CanvasRectData rect_data;
393                 [CCode (cname = "goo_canvas_rect_new")]
394                 public static unowned Goo.CanvasRect create (Goo.CanvasItem? parent, double x, double y, double width, double height, ...);
395                 [NoAccessorMethod]
396                 public double height { get; set; }
397                 [NoAccessorMethod]
398                 public double radius_x { get; set; }
399                 [NoAccessorMethod]
400                 public double radius_y { get; set; }
401                 [NoAccessorMethod]
402                 public double width { get; set; }
403                 [NoAccessorMethod]
404                 public double x { get; set; }
405                 [NoAccessorMethod]
406                 public double y { get; set; }
407         }
408         [CCode (cheader_filename = "goocanvas.h")]
409         public class CanvasRectModel : Goo.CanvasItemModelSimple, Goo.CanvasItemModel {
410                 public Goo.CanvasRectData rect_data;
411                 [CCode (cname = "goo_canvas_rect_model_new")]
412                 public static unowned Goo.CanvasRectModel create (Goo.CanvasItemModel? parent, double x, double y, double width, double height, ...);
413                 [NoAccessorMethod]
414                 public double height { get; set; }
415                 [NoAccessorMethod]
416                 public double radius_x { get; set; }
417                 [NoAccessorMethod]
418                 public double radius_y { get; set; }
419                 [NoAccessorMethod]
420                 public double width { get; set; }
421                 [NoAccessorMethod]
422                 public double x { get; set; }
423                 [NoAccessorMethod]
424                 public double y { get; set; }
425         }
426         [CCode (cheader_filename = "goocanvas.h")]
427         public class CanvasStyle : GLib.Object {
428                 public weak Goo.CanvasStyle parent;
429                 public weak GLib.Array properties;
430                 public unowned Goo.CanvasStyle copy ();
431                 public unowned Goo.CanvasStyle get_parent ();
432                 public GLib.Value get_property (GLib.Quark property_id);
433                 [CCode (has_construct_function = false)]
434                 public CanvasStyle ();
435                 public bool set_fill_options (Cairo.Context cr);
436                 public void set_parent (Goo.CanvasStyle parent);
437                 public void set_property (GLib.Quark property_id, GLib.Value value);
438                 public bool set_stroke_options (Cairo.Context cr);
439         }
440         [CCode (cheader_filename = "goocanvas.h")]
441         public class CanvasTable : Goo.CanvasGroup, Goo.CanvasItem {
442                 public Goo.CanvasTableData table_data;
443                 [CCode (cname = "goo_canvas_table_new")]
444                 public static unowned Goo.CanvasTable create (Goo.CanvasItem? parent, ...);
445                 [NoAccessorMethod]
446                 public double column_spacing { get; set; }
447                 [NoAccessorMethod]
448                 public double height { get; set; }
449                 [NoAccessorMethod]
450                 public bool homogeneous_columns { get; set; }
451                 [NoAccessorMethod]
452                 public bool homogeneous_rows { get; set; }
453                 [NoAccessorMethod]
454                 public double row_spacing { get; set; }
455                 [NoAccessorMethod]
456                 public double width { get; set; }
457         }
458         [CCode (cheader_filename = "goocanvas.h")]
459         public class CanvasTableModel : Goo.CanvasGroupModel, Goo.CanvasItemModel {
460                 public Goo.CanvasTableData table_data;
461                 [CCode (cname = "goo_canvas_table_model_new")]
462                 public static unowned Goo.CanvasTableModel create (Goo.CanvasItemModel? parent, ...);
463                 [NoAccessorMethod]
464                 public double column_spacing { get; set; }
465                 [NoAccessorMethod]
466                 public double height { get; set; }
467                 [NoAccessorMethod]
468                 public bool homogeneous_columns { get; set; }
469                 [NoAccessorMethod]
470                 public bool homogeneous_rows { get; set; }
471                 [NoAccessorMethod]
472                 public double row_spacing { get; set; }
473                 [NoAccessorMethod]
474                 public double width { get; set; }
475         }
476         [CCode (cheader_filename = "goocanvas.h")]
477         public class CanvasText : Goo.CanvasItemSimple, Goo.CanvasItem {
478                 public double layout_width;
479                 public Goo.CanvasTextData text_data;
480                 [CCode (cname = "goo_canvas_text_new")]
481                 public static unowned Goo.CanvasText create (Goo.CanvasItem? parent, string str, double x, double y, double width, Gtk.AnchorType anchor, ...);
482                 [NoAccessorMethod]
483                 public Pango.Alignment alignment { get; set; }
484                 [NoAccessorMethod]
485                 public Gtk.AnchorType anchor { get; set; }
486                 [NoAccessorMethod]
487                 public Pango.EllipsizeMode ellipsize { get; set; }
488                 [NoAccessorMethod]
489                 public string text { owned get; set; }
490                 [NoAccessorMethod]
491                 public bool use_markup { get; set; }
492                 [NoAccessorMethod]
493                 public double width { get; set; }
494                 [NoAccessorMethod]
495                 public Pango.WrapMode wrap { get; set; }
496                 [NoAccessorMethod]
497                 public double x { get; set; }
498                 [NoAccessorMethod]
499                 public double y { get; set; }
500         }
501         [CCode (cheader_filename = "goocanvas.h")]
502         public class CanvasTextModel : Goo.CanvasItemModelSimple, Goo.CanvasItemModel {
503                 public Goo.CanvasTextData text_data;
504                 [CCode (cname = "goo_canvas_text_model_new")]
505                 public static unowned Goo.CanvasTextModel create (Goo.CanvasItemModel? parent, string str, double x, double y, double width, Gtk.AnchorType anchor, ...);
506                 [NoAccessorMethod]
507                 public Pango.Alignment alignment { get; set; }
508                 [NoAccessorMethod]
509                 public Gtk.AnchorType anchor { get; set; }
510                 [NoAccessorMethod]
511                 public Pango.EllipsizeMode ellipsize { get; set; }
512                 [NoAccessorMethod]
513                 public string text { owned get; set; }
514                 [NoAccessorMethod]
515                 public bool use_markup { get; set; }
516                 [NoAccessorMethod]
517                 public double width { get; set; }
518                 [NoAccessorMethod]
519                 public Pango.WrapMode wrap { get; set; }
520                 [NoAccessorMethod]
521                 public double x { get; set; }
522                 [NoAccessorMethod]
523                 public double y { get; set; }
524         }
525         [CCode (cheader_filename = "goocanvas.h")]
526         public class CanvasWidget : Goo.CanvasItemSimple, Goo.CanvasItem {
527                 [CCode (cname = "goo_canvas_widget_new")]
528                 public static unowned Goo.CanvasWidget create (Goo.CanvasItem? parent, Gtk.Widget widget, double x, double y, double width, double height, ...);
529                 [NoAccessorMethod]
530                 public Gtk.AnchorType anchor { get; set; }
531                 [NoAccessorMethod]
532                 public double height { get; set; }
533                 [NoAccessorMethod]
534                 public Gtk.Widget widget { owned get; set; }
535                 [NoAccessorMethod]
536                 public double width { get; set; }
537                 [NoAccessorMethod]
538                 public double x { get; set; }
539                 [NoAccessorMethod]
540                 public double y { get; set; }
541         }
542         [CCode (cheader_filename = "goocanvas.h")]
543         public interface CanvasItem : GLib.Object {
544                 public abstract void add_child (Goo.CanvasItem child, int position);
545                 public abstract void allocate_area (Cairo.Context cr, Goo.CanvasBounds requested_area, Goo.CanvasBounds allocated_area, double x_offset, double y_offset);
546                 public void animate (double x, double y, double scale, double degrees, bool absolute, int duration, int step_time, Goo.CanvasAnimateType type);
547                 public static unowned GLib.ParamSpec class_find_child_property (GLib.ObjectClass iclass, string property_name);
548                 public static void class_install_child_property (GLib.ObjectClass iclass, uint property_id, GLib.ParamSpec pspec);
549                 public static unowned GLib.ParamSpec class_list_child_properties (GLib.ObjectClass iclass, uint n_properties);
550                 public void ensure_updated ();
551                 public int find_child (Goo.CanvasItem child);
552                 public abstract void get_bounds (Goo.CanvasBounds bounds);
553                 public abstract unowned Goo.Canvas get_canvas ();
554                 public abstract unowned Goo.CanvasItem get_child (int child_num);
555                 public void get_child_properties (Goo.CanvasItem child);
556                 public void get_child_properties_valist (Goo.CanvasItem child, void* var_args);
557                 [NoWrapper]
558                 public abstract void get_child_property (Goo.CanvasItem child, uint property_id, GLib.Value value, GLib.ParamSpec pspec);
559                 public abstract unowned GLib.List get_items_at (double x, double y, Cairo.Context cr, bool is_pointer_event, bool parent_is_visible, GLib.List found_items);
560                 public abstract unowned Goo.CanvasItemModel get_model ();
561                 public abstract int get_n_children ();
562                 public abstract unowned Goo.CanvasItem get_parent ();
563                 public abstract bool get_requested_area (Cairo.Context cr, Goo.CanvasBounds requested_area);
564                 public abstract double get_requested_height (Cairo.Context cr, double width);
565                 public void get_simple_transform (out double x, out double y, out double scale, out double rotation);
566                 public abstract unowned Goo.CanvasStyle get_style ();
567                 public abstract bool get_transform (Cairo.Matrix transform);
568                 public abstract bool get_transform_for_child (Goo.CanvasItem child, Cairo.Matrix transform);
569                 public bool is_container ();
570                 public abstract bool is_visible ();
571                 public void lower (Goo.CanvasItem below);
572                 public abstract void move_child (int old_position, int new_position);
573                 public abstract void paint (Cairo.Context cr, Goo.CanvasBounds bounds, double scale);
574                 [NoWrapper]
575                 public abstract bool query_tooltip (double x, double y, bool keyboard_tooltip, void* tooltip);
576                 public void raise (Goo.CanvasItem above);
577                 public void remove ();
578                 public abstract void remove_child (int child_num);
579                 public abstract void request_update ();
580                 public void rotate (double degrees, double cx, double cy);
581                 public void scale (double sx, double sy);
582                 public abstract void set_canvas (Goo.Canvas canvas);
583                 public void set_child_properties (Goo.CanvasItem child);
584                 public void set_child_properties_valist (Goo.CanvasItem child, void* var_args);
585                 [NoWrapper]
586                 public abstract void set_child_property (Goo.CanvasItem child, uint property_id, GLib.Value value, GLib.ParamSpec pspec);
587                 public abstract void set_model (Goo.CanvasItemModel model);
588                 public abstract void set_parent (Goo.CanvasItem parent);
589                 public void set_simple_transform (double x, double y, double scale, double rotation);
590                 public abstract void set_style (Goo.CanvasStyle style);
591                 public abstract void set_transform (Cairo.Matrix transform);
592                 public void skew_x (double degrees, double cx, double cy);
593                 public void skew_y (double degrees, double cx, double cy);
594                 public void stop_animation ();
595                 public void translate (double tx, double ty);
596                 public abstract void update (bool entire_tree, Cairo.Context cr, Goo.CanvasBounds bounds);
597                 public bool can_focus { get; set; }
598                 public string description { get; set; }
599                 public Goo.CanvasItem parent { get; set; }
600                 public Goo.CanvasPointerEvents pointer_events { get; set; }
601                 public string title { get; set; }
602                 public Goo.CairoMatrix transform { get; set; }
603                 public Goo.CanvasItemVisibility visibility { get; set; }
604                 public double visibility_threshold { get; set; }
605                 public virtual signal bool button_press_event (Goo.CanvasItem target, Gdk.EventButton event);
606                 public virtual signal bool button_release_event (Goo.CanvasItem target, Gdk.EventButton event);
607                 public virtual signal void child_notify (GLib.ParamSpec pspec);
608                 public virtual signal bool enter_notify_event (Goo.CanvasItem target, Gdk.EventCrossing event);
609                 public virtual signal bool focus_in_event (Goo.CanvasItem target, Gdk.EventFocus event);
610                 public virtual signal bool focus_out_event (Goo.CanvasItem target, Gdk.EventFocus event);
611                 public virtual signal bool grab_broken_event (Goo.CanvasItem target, Gdk.EventGrabBroken event);
612                 public virtual signal bool key_press_event (Goo.CanvasItem target, Gdk.EventKey event);
613                 public virtual signal bool key_release_event (Goo.CanvasItem target, Gdk.EventKey event);
614                 public virtual signal bool leave_notify_event (Goo.CanvasItem target, Gdk.EventCrossing event);
615                 public virtual signal bool motion_notify_event (Goo.CanvasItem target, Gdk.EventMotion event);
616         }
617         [CCode (cheader_filename = "goocanvas.h")]
618         public interface CanvasItemModel : GLib.Object {
619                 public abstract void add_child (Goo.CanvasItemModel child, int position);
620                 public void animate (double x, double y, double scale, double degrees, bool absolute, int duration, int step_time, Goo.CanvasAnimateType type);
621                 public static unowned GLib.ParamSpec class_find_child_property (GLib.ObjectClass mclass, string property_name);
622                 public static void class_install_child_property (GLib.ObjectClass mclass, uint property_id, GLib.ParamSpec pspec);
623                 public static unowned GLib.ParamSpec class_list_child_properties (GLib.ObjectClass mclass, uint n_properties);
624                 [NoWrapper]
625                 public abstract unowned Goo.CanvasItem create_item (Goo.Canvas canvas);
626                 public int find_child (Goo.CanvasItemModel child);
627                 public abstract unowned Goo.CanvasItemModel get_child (int child_num);
628                 public void get_child_properties (Goo.CanvasItemModel child);
629                 public void get_child_properties_valist (Goo.CanvasItemModel child, void* var_args);
630                 [NoWrapper]
631                 public abstract void get_child_property (Goo.CanvasItemModel child, uint property_id, GLib.Value value, GLib.ParamSpec pspec);
632                 public abstract int get_n_children ();
633                 public abstract unowned Goo.CanvasItemModel get_parent ();
634                 public void get_simple_transform (out double x, out double y, out double scale, out double rotation);
635                 public abstract unowned Goo.CanvasStyle get_style ();
636                 public abstract bool get_transform (Cairo.Matrix transform);
637                 public bool is_container ();
638                 public void lower (Goo.CanvasItemModel below);
639                 public abstract void move_child (int old_position, int new_position);
640                 public void raise (Goo.CanvasItemModel above);
641                 public void remove ();
642                 public abstract void remove_child (int child_num);
643                 public void rotate (double degrees, double cx, double cy);
644                 public void scale (double sx, double sy);
645                 public void set_child_properties (Goo.CanvasItemModel child);
646                 public void set_child_properties_valist (Goo.CanvasItemModel child, void* var_args);
647                 [NoWrapper]
648                 public abstract void set_child_property (Goo.CanvasItemModel child, uint property_id, GLib.Value value, GLib.ParamSpec pspec);
649                 public abstract void set_parent (Goo.CanvasItemModel parent);
650                 public void set_simple_transform (double x, double y, double scale, double rotation);
651                 public abstract void set_style (Goo.CanvasStyle style);
652                 public abstract void set_transform (Cairo.Matrix transform);
653                 public void skew_x (double degrees, double cx, double cy);
654                 public void skew_y (double degrees, double cx, double cy);
655                 public void stop_animation ();
656                 public void translate (double tx, double ty);
657                 public bool can_focus { get; set; }
658                 public string description { get; set; }
659                 public Goo.CanvasItemModel parent { get; set; }
660                 public Goo.CanvasPointerEvents pointer_events { get; set; }
661                 public string title { get; set; }
662                 public Goo.CairoMatrix transform { get; set; }
663                 public Goo.CanvasItemVisibility visibility { get; set; }
664                 public double visibility_threshold { get; set; }
665                 public virtual signal void changed (bool recompute_bounds);
666                 public virtual signal void child_added (int child_num);
667                 public virtual signal void child_moved (int old_child_num, int new_child_num);
668                 public virtual signal void child_notify (GLib.ParamSpec pspec);
669                 public virtual signal void child_removed (int child_num);
670         }
671         [CCode (type_id = "GOO_TYPE_CAIRO_LINE_DASH", cheader_filename = "goocanvas.h")]
672         public struct CairoLineDash {
673         }
674         [CCode (type_id = "GOO_TYPE_CAIRO_PATTERN", cheader_filename = "goocanvas.h")]
675         public struct CairoPattern {
676         }
677         [CCode (type_id = "GOO_TYPE_CANVAS_BOUNDS", cheader_filename = "goocanvas.h")]
678         public struct CanvasBounds {
679                 public double x1;
680                 public double y1;
681                 public double x2;
682                 public double y2;
683         }
684         [CCode (type_id = "GOO_TYPE_CANVAS_ELLIPSE_DATA", cheader_filename = "goocanvas.h")]
685         public struct CanvasEllipseData {
686                 public double center_x;
687                 public double center_y;
688                 public double radius_x;
689                 public double radius_y;
690         }
691         [CCode (type_id = "GOO_TYPE_CANVAS_IMAGE_DATA", cheader_filename = "goocanvas.h")]
692         public struct CanvasImageData {
693                 public weak Cairo.Pattern pattern;
694                 public double x;
695                 public double y;
696                 public double width;
697                 public double height;
698         }
699         [CCode (type_id = "GOO_TYPE_CANVAS_ITEM_SIMPLE_DATA", cheader_filename = "goocanvas.h")]
700         public struct CanvasItemSimpleData {
701                 public weak Goo.CanvasStyle style;
702                 public Cairo.Matrix transform;
703                 public weak GLib.Array clip_path_commands;
704                 public weak string tooltip;
705                 public double visibility_threshold;
706                 public uint visibility;
707                 public uint pointer_events;
708                 public uint can_focus;
709                 public uint own_style;
710                 public uint clip_fill_rule;
711                 public uint cache_setting;
712                 public uint has_tooltip;
713         }
714         [CCode (type_id = "GOO_TYPE_CANVAS_PATH_COMMAND", cheader_filename = "goocanvas.h")]
715         public struct CanvasPathCommand {
716                 public void* simple;
717                 public void* curve;
718                 public void* arc;
719         }
720         [CCode (type_id = "GOO_TYPE_CANVAS_PATH_DATA", cheader_filename = "goocanvas.h")]
721         public struct CanvasPathData {
722                 public weak GLib.Array path_commands;
723         }
724         [CCode (type_id = "GOO_TYPE_CANVAS_POLYLINE_ARROW_DATA", cheader_filename = "goocanvas.h")]
725         public struct CanvasPolylineArrowData {
726                 public double arrow_width;
727                 public double arrow_length;
728                 public double arrow_tip_length;
729                 [CCode (array_length = false)]
730                 public weak double[] line_start;
731                 [CCode (array_length = false)]
732                 public weak double[] line_end;
733                 [CCode (array_length = false)]
734                 public weak double[] start_arrow_coords;
735                 [CCode (array_length = false)]
736                 public weak double[] end_arrow_coords;
737         }
738         [CCode (type_id = "GOO_TYPE_CANVAS_POLYLINE_DATA", cheader_filename = "goocanvas.h")]
739         public struct CanvasPolylineData {
740                 public double coords;
741                 public Goo.CanvasPolylineArrowData arrow_data;
742                 public uint num_points;
743                 public uint close_path;
744                 public uint start_arrow;
745                 public uint end_arrow;
746                 public uint reconfigure_arrows;
747         }
748         [CCode (type_id = "GOO_TYPE_CANVAS_RECT_DATA", cheader_filename = "goocanvas.h")]
749         public struct CanvasRectData {
750                 public double x;
751                 public double y;
752                 public double width;
753                 public double height;
754                 public double radius_x;
755                 public double radius_y;
756         }
757         [CCode (type_id = "GOO_TYPE_CANVAS_STYLE_PROPERTY", cheader_filename = "goocanvas.h")]
758         public struct CanvasStyleProperty {
759                 public GLib.Quark id;
760                 public GLib.Value value;
761         }
762         [CCode (type_id = "GOO_TYPE_CANVAS_TABLE_DATA", cheader_filename = "goocanvas.h")]
763         public struct CanvasTableData {
764                 public double width;
765                 public double height;
766                 [CCode (array_length = false)]
767                 public weak Goo.CanvasTableDimension[] dimensions;
768                 public double border_width;
769                 public weak GLib.Array children;
770                 public Goo.CanvasTableLayoutData layout_data;
771         }
772         [CCode (type_id = "GOO_TYPE_CANVAS_TABLE_DIMENSION", cheader_filename = "goocanvas.h")]
773         public struct CanvasTableDimension {
774                 public int size;
775                 public double default_spacing;
776                 public double spacings;
777                 public uint homogeneous;
778         }
779         [CCode (type_id = "GOO_TYPE_CANVAS_TABLE_LAYOUT_DATA", cheader_filename = "goocanvas.h")]
780         public struct CanvasTableLayoutData {
781         }
782         [CCode (type_id = "GOO_TYPE_CANVAS_TEXT_DATA", cheader_filename = "goocanvas.h")]
783         public struct CanvasTextData {
784                 public weak string text;
785                 public double x;
786                 public double y;
787                 public double width;
788                 public uint use_markup;
789                 public uint anchor;
790                 public uint alignment;
791                 public uint ellipsize;
792                 public uint wrap;
793         }
794         [CCode (cprefix = "CAIRO_ANTIALIAS_", has_type_id = "0", cheader_filename = "goocanvas.h")]
795         public enum CairoAntialias {
796                 DEFAULT,
797                 NONE,
798                 GRAY,
799                 SUBPIXEL
800         }
801         [CCode (cprefix = "CAIRO_FILL_RULE_", has_type_id = "0", cheader_filename = "goocanvas.h")]
802         public enum CairoFillRule {
803                 WINDING,
804                 EVEN_ODD
805         }
806         [CCode (cprefix = "CAIRO_HINT_METRICS_", has_type_id = "0", cheader_filename = "goocanvas.h")]
807         public enum CairoHintMetrics {
808                 DEFAULT,
809                 OFF,
810                 ON
811         }
812         [CCode (cprefix = "CAIRO_LINE_CAP_", has_type_id = "0", cheader_filename = "goocanvas.h")]
813         public enum CairoLineCap {
814                 BUTT,
815                 ROUND,
816                 SQUARE
817         }
818         [CCode (cprefix = "CAIRO_LINE_JOIN_", has_type_id = "0", cheader_filename = "goocanvas.h")]
819         public enum CairoLineJoin {
820                 MITER,
821                 ROUND,
822                 BEVEL
823         }
824         [CCode (cprefix = "CAIRO_OPERATOR_", has_type_id = "0", cheader_filename = "goocanvas.h")]
825         public enum CairoOperator {
826                 CLEAR,
827                 SOURCE,
828                 OVER,
829                 IN,
830                 OUT,
831                 ATOP,
832                 DEST,
833                 DEST_OVER,
834                 DEST_IN,
835                 DEST_OUT,
836                 DEST_ATOP,
837                 XOR,
838                 ADD,
839                 SATURATE
840         }
841         [CCode (cprefix = "GOO_CANVAS_ANIMATE_", has_type_id = "0", cheader_filename = "goocanvas.h")]
842         public enum CanvasAnimateType {
843                 FREEZE,
844                 RESET,
845                 RESTART,
846                 BOUNCE
847         }
848         [CCode (cprefix = "GOO_CANVAS_ITEM_", has_type_id = "0", cheader_filename = "goocanvas.h")]
849         public enum CanvasItemVisibility {
850                 HIDDEN,
851                 INVISIBLE,
852                 VISIBLE,
853                 VISIBLE_ABOVE_THRESHOLD
854         }
855         [CCode (cprefix = "GOO_CANVAS_PATH_", has_type_id = "0", cheader_filename = "goocanvas.h")]
856         public enum CanvasPathCommandType {
857                 MOVE_TO,
858                 CLOSE_PATH,
859                 LINE_TO,
860                 HORIZONTAL_LINE_TO,
861                 VERTICAL_LINE_TO,
862                 CURVE_TO,
863                 SMOOTH_CURVE_TO,
864                 QUADRATIC_CURVE_TO,
865                 SMOOTH_QUADRATIC_CURVE_TO,
866                 ELLIPTICAL_ARC
867         }
868         [CCode (cprefix = "GOO_CANVAS_EVENTS_", has_type_id = "0", cheader_filename = "goocanvas.h")]
869         [Flags]
870         public enum CanvasPointerEvents {
871                 VISIBLE_MASK,
872                 PAINTED_MASK,
873                 FILL_MASK,
874                 STROKE_MASK,
875                 NONE,
876                 VISIBLE_PAINTED,
877                 VISIBLE_FILL,
878                 VISIBLE_STROKE,
879                 VISIBLE,
880                 PAINTED,
881                 FILL,
882                 STROKE,
883                 ALL
884         }
885         [CCode (cheader_filename = "goocanvas.h")]
886         public const int NUM_ARROW_POINTS;