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