goocanvas 0.90.6-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (136) hide show
  1. data/ChangeLog +87 -0
  2. data/README +37 -0
  3. data/Rakefile +14 -0
  4. data/ext/goocanvas/depend +5 -0
  5. data/ext/goocanvas/extconf.rb +66 -0
  6. data/ext/goocanvas/goocanvas.def +2 -0
  7. data/ext/goocanvas/rbgoocairo.c +74 -0
  8. data/ext/goocanvas/rbgoocanvas.c +236 -0
  9. data/ext/goocanvas/rbgoocanvas.h +66 -0
  10. data/ext/goocanvas/rbgoocanvasellipse.c +50 -0
  11. data/ext/goocanvas/rbgoocanvasgroup.c +41 -0
  12. data/ext/goocanvas/rbgoocanvasimage.c +45 -0
  13. data/ext/goocanvas/rbgoocanvasitem.c +358 -0
  14. data/ext/goocanvas/rbgoocanvaspolyline.c +102 -0
  15. data/ext/goocanvas/rbgoocanvasrect.c +47 -0
  16. data/ext/goocanvas/rbgoocanvasstyle.c +61 -0
  17. data/ext/goocanvas/rbgoocanvastable.c +41 -0
  18. data/ext/goocanvas/rbgoocanvastext.c +58 -0
  19. data/ext/goocanvas/rbgoocanvaswidget.c +48 -0
  20. data/ext/goocanvas/rbgooutils.c +44 -0
  21. data/extconf.rb +49 -0
  22. data/lib/1.8/goocanvas.so +0 -0
  23. data/lib/1.9/goocanvas.so +0 -0
  24. data/lib/goocanvas.rb +145 -0
  25. data/sample/demo-arrowhead.rb +315 -0
  26. data/sample/demo-fifteen.rb +218 -0
  27. data/sample/demo-primitives.rb +720 -0
  28. data/sample/demo.rb +84 -0
  29. data/sample/flower.png +0 -0
  30. data/sample/scalability-demo.rb +130 -0
  31. data/sample/simple-demo.rb +35 -0
  32. data/sample/table-demo.rb +137 -0
  33. data/sample/toroid.png +0 -0
  34. data/sample/units-demo.rb +80 -0
  35. data/sample/widgets-demo.rb +197 -0
  36. data/vendor/local/bin/libgoocanvas-3.dll +0 -0
  37. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvas.h +334 -0
  38. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasatk.h +22 -0
  39. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasellipse.h +120 -0
  40. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasenumtypes.h +33 -0
  41. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasgrid.h +153 -0
  42. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasgroup.h +109 -0
  43. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasimage.h +121 -0
  44. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasitem.h +479 -0
  45. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasitemmodel.h +275 -0
  46. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasitemsimple.h +247 -0
  47. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasmarshal.h +61 -0
  48. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvaspath.h +116 -0
  49. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvaspolyline.h +176 -0
  50. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasprivate.h +59 -0
  51. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasrect.h +121 -0
  52. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasstyle.h +110 -0
  53. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvastable.h +139 -0
  54. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvastext.h +133 -0
  55. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasutils.h +333 -0
  56. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvaswidget.h +66 -0
  57. data/vendor/local/include/goocanvas-1.0.0/goocanvas/stamp-goocanvasmarshal.h +1 -0
  58. data/vendor/local/lib/libgoocanvas.a +0 -0
  59. data/vendor/local/lib/libgoocanvas.dll.a +0 -0
  60. data/vendor/local/lib/pkgconfig/goocanvas.pc +13 -0
  61. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvas.html +1982 -0
  62. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasEllipse.html +269 -0
  63. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasEllipseModel.html +274 -0
  64. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasGrid.html +469 -0
  65. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasGridModel.html +476 -0
  66. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasGroup.html +183 -0
  67. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasGroupModel.html +184 -0
  68. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasImage.html +247 -0
  69. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasImageModel.html +252 -0
  70. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasItem.html +3014 -0
  71. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasItemModel.html +1764 -0
  72. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasItemModelSimple.html +298 -0
  73. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasItemSimple.html +809 -0
  74. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasPath.html +279 -0
  75. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasPathModel.html +280 -0
  76. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasPolyline.html +369 -0
  77. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasPolylineModel.html +375 -0
  78. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasRect.html +247 -0
  79. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasRectModel.html +252 -0
  80. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasStyle.html +489 -0
  81. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasTable.html +452 -0
  82. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasTableModel.html +452 -0
  83. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasText.html +324 -0
  84. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasTextModel.html +287 -0
  85. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasWidget.html +266 -0
  86. data/vendor/local/share/gtk-doc/html/goocanvas/ch01.html +53 -0
  87. data/vendor/local/share/gtk-doc/html/goocanvas/ch02.html +50 -0
  88. data/vendor/local/share/gtk-doc/html/goocanvas/ch03.html +62 -0
  89. data/vendor/local/share/gtk-doc/html/goocanvas/ch04.html +60 -0
  90. data/vendor/local/share/gtk-doc/html/goocanvas/ch05.html +33 -0
  91. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-GooCanvas-Types.html +815 -0
  92. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-architecture.html +157 -0
  93. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-coordinates.html +106 -0
  94. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-creating-items.html +420 -0
  95. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-model-view-canvas.html +246 -0
  96. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-overview.html +106 -0
  97. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-simple-canvas.html +238 -0
  98. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-wysiwyg.html +84 -0
  99. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas.devhelp +608 -0
  100. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas.devhelp2 +639 -0
  101. data/vendor/local/share/gtk-doc/html/goocanvas/home.png +0 -0
  102. data/vendor/local/share/gtk-doc/html/goocanvas/index.html +138 -0
  103. data/vendor/local/share/gtk-doc/html/goocanvas/index.sgml +814 -0
  104. data/vendor/local/share/gtk-doc/html/goocanvas/left.png +0 -0
  105. data/vendor/local/share/gtk-doc/html/goocanvas/right.png +0 -0
  106. data/vendor/local/share/gtk-doc/html/goocanvas/style.css +257 -0
  107. data/vendor/local/share/gtk-doc/html/goocanvas/up.png +0 -0
  108. data/vendor/local/share/gtk-doc/tmpl/goocanvas/dummy.sgml +0 -0
  109. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvas-unused.sgml +0 -0
  110. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvas.sgml +536 -0
  111. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasellipse.sgml +82 -0
  112. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasellipsemodel.sgml +82 -0
  113. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasgrid.sgml +176 -0
  114. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasgridmodel.sgml +176 -0
  115. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasgroup.sgml +58 -0
  116. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasgroupmodel.sgml +58 -0
  117. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasimage.sgml +81 -0
  118. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasimagemodel.sgml +81 -0
  119. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasitem.sgml +773 -0
  120. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasitemmodel.sgml +490 -0
  121. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasitemmodelsimple.sgml +135 -0
  122. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasitemsimple.sgml +254 -0
  123. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvaspath.sgml +64 -0
  124. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvaspathmodel.sgml +64 -0
  125. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvaspolyline.sgml +109 -0
  126. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvaspolylinemodel.sgml +109 -0
  127. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasrect.sgml +72 -0
  128. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasrectmodel.sgml +72 -0
  129. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasstyle.sgml +186 -0
  130. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvastable.sgml +158 -0
  131. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvastablemodel.sgml +158 -0
  132. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvastext.sgml +103 -0
  133. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvastextmodel.sgml +93 -0
  134. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasutils.sgml +241 -0
  135. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvaswidget.sgml +73 -0
  136. metadata +218 -0
@@ -0,0 +1,3014 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
+ <title>GooCanvasItem</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
7
+ <link rel="home" href="index.html" title="GooCanvas Reference Manual">
8
+ <link rel="up" href="ch02.html" title="Core Objects">
9
+ <link rel="prev" href="GooCanvas.html" title="GooCanvas">
10
+ <link rel="next" href="GooCanvasItemModel.html" title="GooCanvasItemModel">
11
+ <meta name="generator" content="GTK-Doc V1.14 (XML mode)">
12
+ <link rel="stylesheet" href="style.css" type="text/css">
13
+ </head>
14
+ <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
+ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
16
+ <tr valign="middle">
17
+ <td><a accesskey="p" href="GooCanvas.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
+ <td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
+ <th width="100%" align="center">GooCanvas Reference Manual</th>
21
+ <td><a accesskey="n" href="GooCanvasItemModel.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
22
+ </tr>
23
+ <tr><td colspan="5" class="shortcuts">
24
+ <a href="#GooCanvasItem.synopsis" class="shortcut">Top</a>
25
+  | 
26
+ <a href="#GooCanvasItem.description" class="shortcut">Description</a>
27
+  | 
28
+ <a href="#GooCanvasItem.object-hierarchy" class="shortcut">Object Hierarchy</a>
29
+  | 
30
+ <a href="#GooCanvasItem.prerequisites" class="shortcut">Prerequisites</a>
31
+  | 
32
+ <a href="#GooCanvasItem.implementations" class="shortcut">Known Implementations</a>
33
+  | 
34
+ <a href="#GooCanvasItem.properties" class="shortcut">Properties</a>
35
+  | 
36
+ <a href="#GooCanvasItem.signals" class="shortcut">Signals</a>
37
+ </td></tr>
38
+ </table>
39
+ <div class="refentry" title="GooCanvasItem">
40
+ <a name="GooCanvasItem"></a><div class="titlepage"></div>
41
+ <div class="refnamediv"><table width="100%"><tr>
42
+ <td valign="top">
43
+ <h2><span class="refentrytitle"><a name="GooCanvasItem.top_of_page"></a>GooCanvasItem</span></h2>
44
+ <p>GooCanvasItem — the interface for canvas items.</p>
45
+ </td>
46
+ <td valign="top" align="right"></td>
47
+ </tr></table></div>
48
+ <div class="refsynopsisdiv" title="Synopsis">
49
+ <a name="GooCanvasItem.synopsis"></a><h2>Synopsis</h2>
50
+ <pre class="synopsis"> <a class="link" href="GooCanvasItem.html#GooCanvasItem-struct" title="GooCanvasItem">GooCanvasItem</a>;
51
+ <a class="link" href="GooCanvasItem.html#GooCanvasItemIface" title="GooCanvasItemIface">GooCanvasItemIface</a>;
52
+
53
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-translate" title="goo_canvas_item_translate ()">goo_canvas_item_translate</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
54
+ <em class="parameter"><code><span class="type">gdouble</span> tx</code></em>,
55
+ <em class="parameter"><code><span class="type">gdouble</span> ty</code></em>);
56
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-scale" title="goo_canvas_item_scale ()">goo_canvas_item_scale</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
57
+ <em class="parameter"><code><span class="type">gdouble</span> sx</code></em>,
58
+ <em class="parameter"><code><span class="type">gdouble</span> sy</code></em>);
59
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-rotate" title="goo_canvas_item_rotate ()">goo_canvas_item_rotate</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
60
+ <em class="parameter"><code><span class="type">gdouble</span> degrees</code></em>,
61
+ <em class="parameter"><code><span class="type">gdouble</span> cx</code></em>,
62
+ <em class="parameter"><code><span class="type">gdouble</span> cy</code></em>);
63
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-skew-x" title="goo_canvas_item_skew_x ()">goo_canvas_item_skew_x</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
64
+ <em class="parameter"><code><span class="type">gdouble</span> degrees</code></em>,
65
+ <em class="parameter"><code><span class="type">gdouble</span> cx</code></em>,
66
+ <em class="parameter"><code><span class="type">gdouble</span> cy</code></em>);
67
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-skew-y" title="goo_canvas_item_skew_y ()">goo_canvas_item_skew_y</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
68
+ <em class="parameter"><code><span class="type">gdouble</span> degrees</code></em>,
69
+ <em class="parameter"><code><span class="type">gdouble</span> cx</code></em>,
70
+ <em class="parameter"><code><span class="type">gdouble</span> cy</code></em>);
71
+ <span class="returnvalue">gboolean</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-get-transform" title="goo_canvas_item_get_transform ()">goo_canvas_item_get_transform</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
72
+ <em class="parameter"><code><a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-matrix-t.html#cairo-matrix-t"><span class="type">cairo_matrix_t</span></a> *transform</code></em>);
73
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-set-transform" title="goo_canvas_item_set_transform ()">goo_canvas_item_set_transform</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
74
+ <em class="parameter"><code>const <a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-matrix-t.html#cairo-matrix-t"><span class="type">cairo_matrix_t</span></a> *transform</code></em>);
75
+ <span class="returnvalue">gboolean</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-get-simple-transform" title="goo_canvas_item_get_simple_transform ()">goo_canvas_item_get_simple_transform</a>
76
+ (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
77
+ <em class="parameter"><code><span class="type">gdouble</span> *x</code></em>,
78
+ <em class="parameter"><code><span class="type">gdouble</span> *y</code></em>,
79
+ <em class="parameter"><code><span class="type">gdouble</span> *scale</code></em>,
80
+ <em class="parameter"><code><span class="type">gdouble</span> *rotation</code></em>);
81
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-set-simple-transform" title="goo_canvas_item_set_simple_transform ()">goo_canvas_item_set_simple_transform</a>
82
+ (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
83
+ <em class="parameter"><code><span class="type">gdouble</span> x</code></em>,
84
+ <em class="parameter"><code><span class="type">gdouble</span> y</code></em>,
85
+ <em class="parameter"><code><span class="type">gdouble</span> scale</code></em>,
86
+ <em class="parameter"><code><span class="type">gdouble</span> rotation</code></em>);
87
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-get-bounds" title="goo_canvas_item_get_bounds ()">goo_canvas_item_get_bounds</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
88
+ <em class="parameter"><code><a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasBounds" title="GooCanvasBounds"><span class="type">GooCanvasBounds</span></a> *bounds</code></em>);
89
+ <span class="returnvalue">gboolean</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-is-visible" title="goo_canvas_item_is_visible ()">goo_canvas_item_is_visible</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>);
90
+ <span class="returnvalue">gboolean</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-get-is-static" title="goo_canvas_item_get_is_static ()">goo_canvas_item_get_is_static</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>);
91
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-set-is-static" title="goo_canvas_item_set_is_static ()">goo_canvas_item_set_is_static</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
92
+ <em class="parameter"><code><span class="type">gboolean</span> is_static</code></em>);
93
+
94
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-animate" title="goo_canvas_item_animate ()">goo_canvas_item_animate</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
95
+ <em class="parameter"><code><span class="type">gdouble</span> x</code></em>,
96
+ <em class="parameter"><code><span class="type">gdouble</span> y</code></em>,
97
+ <em class="parameter"><code><span class="type">gdouble</span> scale</code></em>,
98
+ <em class="parameter"><code><span class="type">gdouble</span> degrees</code></em>,
99
+ <em class="parameter"><code><span class="type">gboolean</span> absolute</code></em>,
100
+ <em class="parameter"><code><span class="type">gint</span> duration</code></em>,
101
+ <em class="parameter"><code><span class="type">gint</span> step_time</code></em>,
102
+ <em class="parameter"><code><a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasAnimateType" title="enum GooCanvasAnimateType"><span class="type">GooCanvasAnimateType</span></a> type</code></em>);
103
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-stop-animation" title="goo_canvas_item_stop_animation ()">goo_canvas_item_stop_animation</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>);
104
+
105
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-raise" title="goo_canvas_item_raise ()">goo_canvas_item_raise</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
106
+ <em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *above</code></em>);
107
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-lower" title="goo_canvas_item_lower ()">goo_canvas_item_lower</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
108
+ <em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *below</code></em>);
109
+
110
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-remove" title="goo_canvas_item_remove ()">goo_canvas_item_remove</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>);
111
+
112
+ <a class="link" href="GooCanvas.html" title="GooCanvas"><span class="returnvalue">GooCanvas</span></a>* <a class="link" href="GooCanvasItem.html#goo-canvas-item-get-canvas" title="goo_canvas_item_get_canvas ()">goo_canvas_item_get_canvas</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>);
113
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-set-canvas" title="goo_canvas_item_set_canvas ()">goo_canvas_item_set_canvas</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
114
+ <em class="parameter"><code><a class="link" href="GooCanvas.html" title="GooCanvas"><span class="type">GooCanvas</span></a> *canvas</code></em>);
115
+
116
+ <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="returnvalue">GooCanvasItem</span></a>* <a class="link" href="GooCanvasItem.html#goo-canvas-item-get-parent" title="goo_canvas_item_get_parent ()">goo_canvas_item_get_parent</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>);
117
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-set-parent" title="goo_canvas_item_set_parent ()">goo_canvas_item_set_parent</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
118
+ <em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *parent</code></em>);
119
+
120
+ <a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="returnvalue">GooCanvasItemModel</span></a>* <a class="link" href="GooCanvasItem.html#goo-canvas-item-get-model" title="goo_canvas_item_get_model ()">goo_canvas_item_get_model</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>);
121
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-set-model" title="goo_canvas_item_set_model ()">goo_canvas_item_set_model</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
122
+ <em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>);
123
+
124
+ <span class="returnvalue">gboolean</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-is-container" title="goo_canvas_item_is_container ()">goo_canvas_item_is_container</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>);
125
+ <span class="returnvalue">gint</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-get-n-children" title="goo_canvas_item_get_n_children ()">goo_canvas_item_get_n_children</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>);
126
+ <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="returnvalue">GooCanvasItem</span></a>* <a class="link" href="GooCanvasItem.html#goo-canvas-item-get-child" title="goo_canvas_item_get_child ()">goo_canvas_item_get_child</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
127
+ <em class="parameter"><code><span class="type">gint</span> child_num</code></em>);
128
+ <span class="returnvalue">gint</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-find-child" title="goo_canvas_item_find_child ()">goo_canvas_item_find_child</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
129
+ <em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *child</code></em>);
130
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-add-child" title="goo_canvas_item_add_child ()">goo_canvas_item_add_child</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
131
+ <em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *child</code></em>,
132
+ <em class="parameter"><code><span class="type">gint</span> position</code></em>);
133
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-move-child" title="goo_canvas_item_move_child ()">goo_canvas_item_move_child</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
134
+ <em class="parameter"><code><span class="type">gint</span> old_position</code></em>,
135
+ <em class="parameter"><code><span class="type">gint</span> new_position</code></em>);
136
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-remove-child" title="goo_canvas_item_remove_child ()">goo_canvas_item_remove_child</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
137
+ <em class="parameter"><code><span class="type">gint</span> child_num</code></em>);
138
+ <span class="returnvalue">gboolean</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-get-transform-for-child" title="goo_canvas_item_get_transform_for_child ()">goo_canvas_item_get_transform_for_child</a>
139
+ (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
140
+ <em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *child</code></em>,
141
+ <em class="parameter"><code><a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-matrix-t.html#cairo-matrix-t"><span class="type">cairo_matrix_t</span></a> *transform</code></em>);
142
+
143
+ <a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="returnvalue">GooCanvasStyle</span></a>* <a class="link" href="GooCanvasItem.html#goo-canvas-item-get-style" title="goo_canvas_item_get_style ()">goo_canvas_item_get_style</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>);
144
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-set-style" title="goo_canvas_item_set_style ()">goo_canvas_item_set_style</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
145
+ <em class="parameter"><code><a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a> *style</code></em>);
146
+
147
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-request-update" title="goo_canvas_item_request_update ()">goo_canvas_item_request_update</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>);
148
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-ensure-updated" title="goo_canvas_item_ensure_updated ()">goo_canvas_item_ensure_updated</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>);
149
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-update" title="goo_canvas_item_update ()">goo_canvas_item_update</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
150
+ <em class="parameter"><code><span class="type">gboolean</span> entire_tree</code></em>,
151
+ <em class="parameter"><code><a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
152
+ <em class="parameter"><code><a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasBounds" title="GooCanvasBounds"><span class="type">GooCanvasBounds</span></a> *bounds</code></em>);
153
+ <span class="returnvalue">gboolean</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-get-requested-area" title="goo_canvas_item_get_requested_area ()">goo_canvas_item_get_requested_area</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
154
+ <em class="parameter"><code><a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
155
+ <em class="parameter"><code><a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasBounds" title="GooCanvasBounds"><span class="type">GooCanvasBounds</span></a> *requested_area</code></em>);
156
+ <span class="returnvalue">gdouble</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-get-requested-height" title="goo_canvas_item_get_requested_height ()">goo_canvas_item_get_requested_height</a>
157
+ (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
158
+ <em class="parameter"><code><a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
159
+ <em class="parameter"><code><span class="type">gdouble</span> width</code></em>);
160
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-allocate-area" title="goo_canvas_item_allocate_area ()">goo_canvas_item_allocate_area</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
161
+ <em class="parameter"><code><a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
162
+ <em class="parameter"><code>const <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasBounds" title="GooCanvasBounds"><span class="type">GooCanvasBounds</span></a> *requested_area</code></em>,
163
+ <em class="parameter"><code>const <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasBounds" title="GooCanvasBounds"><span class="type">GooCanvasBounds</span></a> *allocated_area</code></em>,
164
+ <em class="parameter"><code><span class="type">gdouble</span> x_offset</code></em>,
165
+ <em class="parameter"><code><span class="type">gdouble</span> y_offset</code></em>);
166
+ <span class="returnvalue">GList</span>* <a class="link" href="GooCanvasItem.html#goo-canvas-item-get-items-at" title="goo_canvas_item_get_items_at ()">goo_canvas_item_get_items_at</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
167
+ <em class="parameter"><code><span class="type">gdouble</span> x</code></em>,
168
+ <em class="parameter"><code><span class="type">gdouble</span> y</code></em>,
169
+ <em class="parameter"><code><a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
170
+ <em class="parameter"><code><span class="type">gboolean</span> is_pointer_event</code></em>,
171
+ <em class="parameter"><code><span class="type">gboolean</span> parent_is_visible</code></em>,
172
+ <em class="parameter"><code><span class="type">GList</span> *found_items</code></em>);
173
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-paint" title="goo_canvas_item_paint ()">goo_canvas_item_paint</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
174
+ <em class="parameter"><code><a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
175
+ <em class="parameter"><code>const <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasBounds" title="GooCanvasBounds"><span class="type">GooCanvasBounds</span></a> *bounds</code></em>,
176
+ <em class="parameter"><code><span class="type">gdouble</span> scale</code></em>);
177
+
178
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-class-install-child-property" title="goo_canvas_item_class_install_child_property ()">goo_canvas_item_class_install_child_property</a>
179
+ (<em class="parameter"><code><span class="type">GObjectClass</span> *iclass</code></em>,
180
+ <em class="parameter"><code><span class="type">guint</span> property_id</code></em>,
181
+ <em class="parameter"><code><span class="type">GParamSpec</span> *pspec</code></em>);
182
+ <span class="returnvalue">GParamSpec</span>** <a class="link" href="GooCanvasItem.html#goo-canvas-item-class-list-child-properties" title="goo_canvas_item_class_list_child_properties ()">goo_canvas_item_class_list_child_properties</a>
183
+ (<em class="parameter"><code><span class="type">GObjectClass</span> *iclass</code></em>,
184
+ <em class="parameter"><code><span class="type">guint</span> *n_properties</code></em>);
185
+ <span class="returnvalue">GParamSpec</span>* <a class="link" href="GooCanvasItem.html#goo-canvas-item-class-find-child-property" title="goo_canvas_item_class_find_child_property ()">goo_canvas_item_class_find_child_property</a>
186
+ (<em class="parameter"><code><span class="type">GObjectClass</span> *iclass</code></em>,
187
+ <em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>);
188
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-get-child-property" title="goo_canvas_item_get_child_property ()">goo_canvas_item_get_child_property</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
189
+ <em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *child</code></em>,
190
+ <em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>,
191
+ <em class="parameter"><code><span class="type">GValue</span> *value</code></em>);
192
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-set-child-property" title="goo_canvas_item_set_child_property ()">goo_canvas_item_set_child_property</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
193
+ <em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *child</code></em>,
194
+ <em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>,
195
+ <em class="parameter"><code>const <span class="type">GValue</span> *value</code></em>);
196
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-get-child-properties" title="goo_canvas_item_get_child_properties ()">goo_canvas_item_get_child_properties</a>
197
+ (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
198
+ <em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *child</code></em>,
199
+ <em class="parameter"><code>...</code></em>);
200
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-get-child-properties-valist" title="goo_canvas_item_get_child_properties_valist ()">goo_canvas_item_get_child_properties_valist</a>
201
+ (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
202
+ <em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *child</code></em>,
203
+ <em class="parameter"><code><span class="type">va_list</span> var_args</code></em>);
204
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-set-child-properties" title="goo_canvas_item_set_child_properties ()">goo_canvas_item_set_child_properties</a>
205
+ (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
206
+ <em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *child</code></em>,
207
+ <em class="parameter"><code>...</code></em>);
208
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItem.html#goo-canvas-item-set-child-properties-valist" title="goo_canvas_item_set_child_properties_valist ()">goo_canvas_item_set_child_properties_valist</a>
209
+ (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
210
+ <em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *child</code></em>,
211
+ <em class="parameter"><code><span class="type">va_list</span> var_args</code></em>);
212
+ </pre>
213
+ </div>
214
+ <div class="refsect1" title="Object Hierarchy">
215
+ <a name="GooCanvasItem.object-hierarchy"></a><h2>Object Hierarchy</h2>
216
+ <pre class="synopsis">
217
+ GInterface
218
+ +----GooCanvasItem
219
+ </pre>
220
+ </div>
221
+ <div class="refsect1" title="Prerequisites">
222
+ <a name="GooCanvasItem.prerequisites"></a><h2>Prerequisites</h2>
223
+ <p>
224
+ GooCanvasItem requires
225
+ GObject.</p>
226
+ </div>
227
+ <div class="refsect1" title="Known Implementations">
228
+ <a name="GooCanvasItem.implementations"></a><h2>Known Implementations</h2>
229
+ <p>
230
+ GooCanvasItem is implemented by
231
+ <a class="link" href="GooCanvasEllipse.html" title="GooCanvasEllipse">GooCanvasEllipse</a>, <a class="link" href="GooCanvasGrid.html" title="GooCanvasGrid">GooCanvasGrid</a>, <a class="link" href="GooCanvasGroup.html" title="GooCanvasGroup">GooCanvasGroup</a>, <a class="link" href="GooCanvasImage.html" title="GooCanvasImage">GooCanvasImage</a>, <a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple">GooCanvasItemSimple</a>, <a class="link" href="GooCanvasPath.html" title="GooCanvasPath">GooCanvasPath</a>, <a class="link" href="GooCanvasPolyline.html" title="GooCanvasPolyline">GooCanvasPolyline</a>, <a class="link" href="GooCanvasRect.html" title="GooCanvasRect">GooCanvasRect</a>, <a class="link" href="GooCanvasTable.html" title="GooCanvasTable">GooCanvasTable</a>, <a class="link" href="GooCanvasText.html" title="GooCanvasText">GooCanvasText</a> and <a class="link" href="GooCanvasWidget.html" title="GooCanvasWidget">GooCanvasWidget</a>.</p>
232
+ </div>
233
+ <div class="refsect1" title="Properties">
234
+ <a name="GooCanvasItem.properties"></a><h2>Properties</h2>
235
+ <pre class="synopsis">
236
+ "<a class="link" href="GooCanvasItem.html#GooCanvasItem--can-focus" title='The "can-focus" property'>can-focus</a>" <span class="type">gboolean</span> : Read / Write
237
+ "<a class="link" href="GooCanvasItem.html#GooCanvasItem--description" title='The "description" property'>description</a>" <span class="type">gchar</span>* : Read / Write
238
+ "<a class="link" href="GooCanvasItem.html#GooCanvasItem--parent" title='The "parent" property'>parent</a>" <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a>* : Read / Write
239
+ "<a class="link" href="GooCanvasItem.html#GooCanvasItem--pointer-events" title='The "pointer-events" property'>pointer-events</a>" <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasPointerEvents" title="enum GooCanvasPointerEvents"><span class="type">GooCanvasPointerEvents</span></a> : Read / Write
240
+ "<a class="link" href="GooCanvasItem.html#GooCanvasItem--title" title='The "title" property'>title</a>" <span class="type">gchar</span>* : Read / Write
241
+ "<a class="link" href="GooCanvasItem.html#GooCanvasItem--tooltip" title='The "tooltip" property'>tooltip</a>" <span class="type">gchar</span>* : Read / Write
242
+ "<a class="link" href="GooCanvasItem.html#GooCanvasItem--transform" title='The "transform" property'>transform</a>" <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoMatrix" title="GooCairoMatrix"><span class="type">GooCairoMatrix</span></a>* : Read / Write
243
+ "<a class="link" href="GooCanvasItem.html#GooCanvasItem--visibility" title='The "visibility" property'>visibility</a>" <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasItemVisibility" title="enum GooCanvasItemVisibility"><span class="type">GooCanvasItemVisibility</span></a> : Read / Write
244
+ "<a class="link" href="GooCanvasItem.html#GooCanvasItem--visibility-threshold" title='The "visibility-threshold" property'>visibility-threshold</a>" <span class="type">gdouble</span> : Read / Write
245
+ </pre>
246
+ </div>
247
+ <div class="refsect1" title="Signals">
248
+ <a name="GooCanvasItem.signals"></a><h2>Signals</h2>
249
+ <pre class="synopsis">
250
+ "<a class="link" href="GooCanvasItem.html#GooCanvasItem-animation-finished" title='The "animation-finished" signal'>animation-finished</a>" : Run Last
251
+ "<a class="link" href="GooCanvasItem.html#GooCanvasItem-button-press-event" title='The "button-press-event" signal'>button-press-event</a>" : Run Last
252
+ "<a class="link" href="GooCanvasItem.html#GooCanvasItem-button-release-event" title='The "button-release-event" signal'>button-release-event</a>" : Run Last
253
+ "<a class="link" href="GooCanvasItem.html#GooCanvasItem-child-notify" title='The "child-notify" signal'>child-notify</a>" : Run First / No Recursion / Has Details / No Hooks
254
+ "<a class="link" href="GooCanvasItem.html#GooCanvasItem-enter-notify-event" title='The "enter-notify-event" signal'>enter-notify-event</a>" : Run Last
255
+ "<a class="link" href="GooCanvasItem.html#GooCanvasItem-focus-in-event" title='The "focus-in-event" signal'>focus-in-event</a>" : Run Last
256
+ "<a class="link" href="GooCanvasItem.html#GooCanvasItem-focus-out-event" title='The "focus-out-event" signal'>focus-out-event</a>" : Run Last
257
+ "<a class="link" href="GooCanvasItem.html#GooCanvasItem-grab-broken-event" title='The "grab-broken-event" signal'>grab-broken-event</a>" : Run Last
258
+ "<a class="link" href="GooCanvasItem.html#GooCanvasItem-key-press-event" title='The "key-press-event" signal'>key-press-event</a>" : Run Last
259
+ "<a class="link" href="GooCanvasItem.html#GooCanvasItem-key-release-event" title='The "key-release-event" signal'>key-release-event</a>" : Run Last
260
+ "<a class="link" href="GooCanvasItem.html#GooCanvasItem-leave-notify-event" title='The "leave-notify-event" signal'>leave-notify-event</a>" : Run Last
261
+ "<a class="link" href="GooCanvasItem.html#GooCanvasItem-motion-notify-event" title='The "motion-notify-event" signal'>motion-notify-event</a>" : Run Last
262
+ "<a class="link" href="GooCanvasItem.html#GooCanvasItem-query-tooltip" title='The "query-tooltip" signal'>query-tooltip</a>" : Run Last
263
+ "<a class="link" href="GooCanvasItem.html#GooCanvasItem-scroll-event" title='The "scroll-event" signal'>scroll-event</a>" : Run Last
264
+ </pre>
265
+ </div>
266
+ <div class="refsect1" title="Description">
267
+ <a name="GooCanvasItem.description"></a><h2>Description</h2>
268
+ <p>
269
+ <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> defines the interface that canvas items must implement,
270
+ and contains methods for operating on canvas items.
271
+ </p>
272
+ </div>
273
+ <div class="refsect1" title="Details">
274
+ <a name="GooCanvasItem.details"></a><h2>Details</h2>
275
+ <div class="refsect2" title="GooCanvasItem">
276
+ <a name="GooCanvasItem-struct"></a><h3>GooCanvasItem</h3>
277
+ <pre class="programlisting">typedef struct _GooCanvasItem GooCanvasItem;</pre>
278
+ <p>
279
+ <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> is a typedef used for objects that implement the
280
+ <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> interface.
281
+ </p>
282
+ <p>
283
+ (There is no actual <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> struct, since it is only an interface.
284
+ But using '<a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a>' is more helpful than using '<span class="type">GObject</span>'.)
285
+ </p>
286
+ </div>
287
+ <hr>
288
+ <div class="refsect2" title="GooCanvasItemIface">
289
+ <a name="GooCanvasItemIface"></a><h3>GooCanvasItemIface</h3>
290
+ <pre class="programlisting">typedef struct {
291
+ /* Virtual methods that group items must implement. */
292
+ GooCanvas* (* get_canvas) (GooCanvasItem *item);
293
+ void (* set_canvas) (GooCanvasItem *item,
294
+ GooCanvas *canvas);
295
+ gint (* get_n_children) (GooCanvasItem *item);
296
+ GooCanvasItem* (* get_child) (GooCanvasItem *item,
297
+ gint child_num);
298
+ void (* request_update) (GooCanvasItem *item);
299
+
300
+ /* Virtual methods that group items may implement. */
301
+ void (* add_child) (GooCanvasItem *item,
302
+ GooCanvasItem *child,
303
+ gint position);
304
+ void (* move_child) (GooCanvasItem *item,
305
+ gint old_position,
306
+ gint new_position);
307
+ void (* remove_child) (GooCanvasItem *item,
308
+ gint child_num);
309
+ void (* get_child_property) (GooCanvasItem *item,
310
+ GooCanvasItem *child,
311
+ guint property_id,
312
+ GValue *value,
313
+ GParamSpec *pspec);
314
+ void (* set_child_property) (GooCanvasItem *item,
315
+ GooCanvasItem *child,
316
+ guint property_id,
317
+ const GValue *value,
318
+ GParamSpec *pspec);
319
+ gboolean (* get_transform_for_child) (GooCanvasItem *item,
320
+ GooCanvasItem *child,
321
+ cairo_matrix_t *transform);
322
+
323
+ /* Virtual methods that all canvas items must implement. */
324
+ GooCanvasItem* (* get_parent) (GooCanvasItem *item);
325
+ void (* set_parent) (GooCanvasItem *item,
326
+ GooCanvasItem *parent);
327
+ void (* get_bounds) (GooCanvasItem *item,
328
+ GooCanvasBounds *bounds);
329
+ GList* (* get_items_at) (GooCanvasItem *item,
330
+ gdouble x,
331
+ gdouble y,
332
+ cairo_t *cr,
333
+ gboolean is_pointer_event,
334
+ gboolean parent_is_visible,
335
+ GList *found_items);
336
+ void (* update) (GooCanvasItem *item,
337
+ gboolean entire_tree,
338
+ cairo_t *cr,
339
+ GooCanvasBounds *bounds);
340
+ void (* paint) (GooCanvasItem *item,
341
+ cairo_t *cr,
342
+ const GooCanvasBounds *bounds,
343
+ gdouble scale);
344
+
345
+ gboolean (* get_requested_area) (GooCanvasItem *item,
346
+ cairo_t *cr,
347
+ GooCanvasBounds *requested_area);
348
+ void (* allocate_area) (GooCanvasItem *item,
349
+ cairo_t *cr,
350
+ const GooCanvasBounds *requested_area,
351
+ const GooCanvasBounds *allocated_area,
352
+ gdouble x_offset,
353
+ gdouble y_offset);
354
+
355
+ /* Virtual methods that canvas items may implement. */
356
+ gboolean (* get_transform) (GooCanvasItem *item,
357
+ cairo_matrix_t *transform);
358
+ void (* set_transform) (GooCanvasItem *item,
359
+ const cairo_matrix_t *transform);
360
+ GooCanvasStyle* (* get_style) (GooCanvasItem *item);
361
+ void (* set_style) (GooCanvasItem *item,
362
+ GooCanvasStyle *style);
363
+ gboolean (* is_visible) (GooCanvasItem *item);
364
+ gdouble (* get_requested_height) (GooCanvasItem *item,
365
+ cairo_t *cr,
366
+ gdouble width);
367
+
368
+ /* Virtual methods that model/view items must implement. */
369
+ GooCanvasItemModel* (* get_model) (GooCanvasItem *item);
370
+ void (* set_model) (GooCanvasItem *item,
371
+ GooCanvasItemModel *model);
372
+
373
+
374
+ /* Signals. */
375
+ gboolean (* enter_notify_event) (GooCanvasItem *item,
376
+ GooCanvasItem *target,
377
+ GdkEventCrossing *event);
378
+ gboolean (* leave_notify_event) (GooCanvasItem *item,
379
+ GooCanvasItem *target,
380
+ GdkEventCrossing *event);
381
+ gboolean (* motion_notify_event) (GooCanvasItem *item,
382
+ GooCanvasItem *target,
383
+ GdkEventMotion *event);
384
+ gboolean (* button_press_event) (GooCanvasItem *item,
385
+ GooCanvasItem *target,
386
+ GdkEventButton *event);
387
+ gboolean (* button_release_event) (GooCanvasItem *item,
388
+ GooCanvasItem *target,
389
+ GdkEventButton *event);
390
+ gboolean (* focus_in_event) (GooCanvasItem *item,
391
+ GooCanvasItem *target,
392
+ GdkEventFocus *event);
393
+ gboolean (* focus_out_event) (GooCanvasItem *item,
394
+ GooCanvasItem *target,
395
+ GdkEventFocus *event);
396
+ gboolean (* key_press_event) (GooCanvasItem *item,
397
+ GooCanvasItem *target,
398
+ GdkEventKey *event);
399
+ gboolean (* key_release_event) (GooCanvasItem *item,
400
+ GooCanvasItem *target,
401
+ GdkEventKey *event);
402
+ gboolean (* grab_broken_event) (GooCanvasItem *item,
403
+ GooCanvasItem *target,
404
+ GdkEventGrabBroken *event);
405
+ void (* child_notify) (GooCanvasItem *item,
406
+ GParamSpec *pspec);
407
+ gboolean (* query_tooltip) (GooCanvasItem *item,
408
+ gdouble x,
409
+ gdouble y,
410
+ gboolean keyboard_tooltip,
411
+ GtkTooltip *tooltip);
412
+
413
+ gboolean (* get_is_static) (GooCanvasItem *item);
414
+ void (* set_is_static) (GooCanvasItem *item,
415
+ gboolean is_static);
416
+
417
+ void (* animation_finished) (GooCanvasItem *item,
418
+ gboolean stopped);
419
+
420
+ gboolean (* scroll_event) (GooCanvasItem *item,
421
+ GooCanvasItem *target,
422
+ GdkEventScroll *event);
423
+ } GooCanvasItemIface;
424
+ </pre>
425
+ <p>
426
+ <span class="type">GooCanvasItemIFace</span> holds the virtual methods that make up the
427
+ <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> interface.
428
+ </p>
429
+ <p>
430
+ Simple canvas items only need to implement the <code class="function">get_parent()</code>, <code class="function">set_parent()</code>,
431
+ <code class="function">get_bounds()</code>, <code class="function">get_items_at()</code>, <code class="function">update()</code> and <code class="function">paint()</code> methods (and also
432
+ <code class="function">get_requested_area()</code> and <code class="function">allocate_area()</code> if they are going to be used
433
+ inside a layout container like <a class="link" href="GooCanvasTable.html" title="GooCanvasTable"><span class="type">GooCanvasTable</span></a>).
434
+ </p>
435
+ <p>
436
+ Items that support transforms should also implement <code class="function">get_transform()</code> and
437
+ <code class="function">set_transform()</code>. Items that support styles should implement <code class="function">get_style()</code>
438
+ and <code class="function">set_style()</code>.
439
+ </p>
440
+ <p>
441
+ Container items must implement <code class="function">get_canvas()</code>, <code class="function">set_canvas()</code>,
442
+ <code class="function">get_n_children()</code>, <code class="function">get_child()</code> and <code class="function">request_update()</code>. Containers that support
443
+ dynamic changes to their children should implement <code class="function">add_child()</code>,
444
+ <code class="function">move_child()</code> and <code class="function">remove_child()</code>. Layout containers like <a class="link" href="GooCanvasTable.html" title="GooCanvasTable"><span class="type">GooCanvasTable</span></a>
445
+ may implement <code class="function">get_child_property()</code>, <code class="function">set_child_property()</code> and
446
+ <code class="function">get_transform_for_child()</code>.
447
+ </p>
448
+ <div class="variablelist"><table border="0">
449
+ <col align="left" valign="top">
450
+ <tbody>
451
+ <tr>
452
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.get-canvas"></a>get_canvas</code></em> ()</span></p></td>
453
+ <td>returns the canvas the item is in.
454
+ </td>
455
+ </tr>
456
+ <tr>
457
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.set-canvas"></a>set_canvas</code></em> ()</span></p></td>
458
+ <td>sets the canvas the item is in.
459
+ </td>
460
+ </tr>
461
+ <tr>
462
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.get-n-children"></a>get_n_children</code></em> ()</span></p></td>
463
+ <td>returns the number of children of the item.
464
+ </td>
465
+ </tr>
466
+ <tr>
467
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.get-child"></a>get_child</code></em> ()</span></p></td>
468
+ <td>returns the child at the given index.
469
+ </td>
470
+ </tr>
471
+ <tr>
472
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.request-update"></a>request_update</code></em> ()</span></p></td>
473
+ <td>requests that an update is scheduled.
474
+ </td>
475
+ </tr>
476
+ <tr>
477
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.add-child"></a>add_child</code></em> ()</span></p></td>
478
+ <td>adds a child.
479
+ </td>
480
+ </tr>
481
+ <tr>
482
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.move-child"></a>move_child</code></em> ()</span></p></td>
483
+ <td>moves a child up or down the stacking order.
484
+ </td>
485
+ </tr>
486
+ <tr>
487
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.remove-child"></a>remove_child</code></em> ()</span></p></td>
488
+ <td>removes a child.
489
+ </td>
490
+ </tr>
491
+ <tr>
492
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.get-child-property"></a>get_child_property</code></em> ()</span></p></td>
493
+ <td>gets a child property of a given child item,
494
+ e.g. the "row" or "column" property of an item in a <a class="link" href="GooCanvasTable.html" title="GooCanvasTable"><span class="type">GooCanvasTable</span></a>.
495
+ </td>
496
+ </tr>
497
+ <tr>
498
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.set-child-property"></a>set_child_property</code></em> ()</span></p></td>
499
+ <td>sets a child property for a given child item.
500
+ </td>
501
+ </tr>
502
+ <tr>
503
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.get-transform-for-child"></a>get_transform_for_child</code></em> ()</span></p></td>
504
+ <td>gets the transform used to lay out a given child.
505
+ </td>
506
+ </tr>
507
+ <tr>
508
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.get-parent"></a>get_parent</code></em> ()</span></p></td>
509
+ <td>gets the item's parent.
510
+ </td>
511
+ </tr>
512
+ <tr>
513
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.set-parent"></a>set_parent</code></em> ()</span></p></td>
514
+ <td>sets the item's parent.
515
+ </td>
516
+ </tr>
517
+ <tr>
518
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.get-bounds"></a>get_bounds</code></em> ()</span></p></td>
519
+ <td>gets the bounds of the item.
520
+ </td>
521
+ </tr>
522
+ <tr>
523
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.get-items-at"></a>get_items_at</code></em> ()</span></p></td>
524
+ <td>gets all the items at the given point.
525
+ </td>
526
+ </tr>
527
+ <tr>
528
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.update"></a>update</code></em> ()</span></p></td>
529
+ <td>updates the item, if needed. It recalculates the bounds of the item
530
+ and requests redraws of parts of the canvas if necessary.
531
+ </td>
532
+ </tr>
533
+ <tr>
534
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.paint"></a>paint</code></em> ()</span></p></td>
535
+ <td>renders the item to the given cairo context.
536
+ </td>
537
+ </tr>
538
+ <tr>
539
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.get-requested-area"></a>get_requested_area</code></em> ()</span></p></td>
540
+ <td>returns the requested area of the item, in its parent's
541
+ coordinate space. This is only used for items in layout containers such as
542
+ <a class="link" href="GooCanvasTable.html" title="GooCanvasTable"><span class="type">GooCanvasTable</span></a>.
543
+ </td>
544
+ </tr>
545
+ <tr>
546
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.allocate-area"></a>allocate_area</code></em> ()</span></p></td>
547
+ <td>allocates the item's area, in its parent's coordinate space.
548
+ The item must recalculate its bounds and request redraws of parts of the
549
+ canvas if necessary. This is only used for items in layout containers such
550
+ as <a class="link" href="GooCanvasTable.html" title="GooCanvasTable"><span class="type">GooCanvasTable</span></a>.
551
+ </td>
552
+ </tr>
553
+ <tr>
554
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.get-transform"></a>get_transform</code></em> ()</span></p></td>
555
+ <td>gets the item's transformation matrix.
556
+ </td>
557
+ </tr>
558
+ <tr>
559
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.set-transform"></a>set_transform</code></em> ()</span></p></td>
560
+ <td>sets the item's transformation matrix.
561
+ </td>
562
+ </tr>
563
+ <tr>
564
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.get-style"></a>get_style</code></em> ()</span></p></td>
565
+ <td>gets the item's style.
566
+ </td>
567
+ </tr>
568
+ <tr>
569
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.set-style"></a>set_style</code></em> ()</span></p></td>
570
+ <td>sets the item's style.
571
+ </td>
572
+ </tr>
573
+ <tr>
574
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.is-visible"></a>is_visible</code></em> ()</span></p></td>
575
+ <td>returns <code class="literal">TRUE</code> if the item is currently visible.
576
+ </td>
577
+ </tr>
578
+ <tr>
579
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.get-requested-height"></a>get_requested_height</code></em> ()</span></p></td>
580
+ <td>returns the requested height of the item,
581
+ given a particular allocated width, using the parent's coordinate space.
582
+ </td>
583
+ </tr>
584
+ <tr>
585
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.get-model"></a>get_model</code></em> ()</span></p></td>
586
+ <td>gets the model that the canvas item is viewing.
587
+ </td>
588
+ </tr>
589
+ <tr>
590
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.set-model"></a>set_model</code></em> ()</span></p></td>
591
+ <td>sets the model that the canvas item will view.
592
+ </td>
593
+ </tr>
594
+ <tr>
595
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.enter-notify-event"></a>enter_notify_event</code></em> ()</span></p></td>
596
+ <td>signal emitted when the mouse enters the item.
597
+ </td>
598
+ </tr>
599
+ <tr>
600
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.leave-notify-event"></a>leave_notify_event</code></em> ()</span></p></td>
601
+ <td>signal emitted when the mouse leaves the item.
602
+ </td>
603
+ </tr>
604
+ <tr>
605
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.motion-notify-event"></a>motion_notify_event</code></em> ()</span></p></td>
606
+ <td>signal emitted when the mouse moves within the item.
607
+ </td>
608
+ </tr>
609
+ <tr>
610
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.button-press-event"></a>button_press_event</code></em> ()</span></p></td>
611
+ <td>signal emitted when a mouse button is pressed within
612
+ the item.
613
+ </td>
614
+ </tr>
615
+ <tr>
616
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.button-release-event"></a>button_release_event</code></em> ()</span></p></td>
617
+ <td>signal emitted when a mouse button is released.
618
+ </td>
619
+ </tr>
620
+ <tr>
621
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.focus-in-event"></a>focus_in_event</code></em> ()</span></p></td>
622
+ <td>signal emitted when the item receices the keyboard focus.
623
+ </td>
624
+ </tr>
625
+ <tr>
626
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.focus-out-event"></a>focus_out_event</code></em> ()</span></p></td>
627
+ <td>signal emitted when the item loses the keyboard focus.
628
+ </td>
629
+ </tr>
630
+ <tr>
631
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.key-press-event"></a>key_press_event</code></em> ()</span></p></td>
632
+ <td>signal emitted when a key is pressed.
633
+ </td>
634
+ </tr>
635
+ <tr>
636
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.key-release-event"></a>key_release_event</code></em> ()</span></p></td>
637
+ <td>signal emitted when a key is released.
638
+ </td>
639
+ </tr>
640
+ <tr>
641
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.grab-broken-event"></a>grab_broken_event</code></em> ()</span></p></td>
642
+ <td>signal emitted when a grab that the item has is lost.
643
+ </td>
644
+ </tr>
645
+ <tr>
646
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.child-notify"></a>child_notify</code></em> ()</span></p></td>
647
+ <td>signal emitted when a child property is changed.
648
+ </td>
649
+ </tr>
650
+ <tr>
651
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.query-tooltip"></a>query_tooltip</code></em> ()</span></p></td>
652
+ <td>signal emitted to query the tooltip of an item.
653
+ </td>
654
+ </tr>
655
+ <tr>
656
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.get-is-static"></a>get_is_static</code></em> ()</span></p></td>
657
+ <td>returns <code class="literal">TRUE</code> if the item is static.
658
+ </td>
659
+ </tr>
660
+ <tr>
661
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.set-is-static"></a>set_is_static</code></em> ()</span></p></td>
662
+ <td>notifies the item whether it is static or not.
663
+ </td>
664
+ </tr>
665
+ <tr>
666
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.animation-finished"></a>animation_finished</code></em> ()</span></p></td>
667
+ <td>signal emitted when the item's animation has finished.
668
+ </td>
669
+ </tr>
670
+ <tr>
671
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemIface.scroll-event"></a>scroll_event</code></em> ()</span></p></td>
672
+ <td>signal emitted when the mouse wheel is activated within
673
+ the item.
674
+ </td>
675
+ </tr>
676
+ </tbody>
677
+ </table></div>
678
+ </div>
679
+ <hr>
680
+ <div class="refsect2" title="goo_canvas_item_translate ()">
681
+ <a name="goo-canvas-item-translate"></a><h3>goo_canvas_item_translate ()</h3>
682
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_translate (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
683
+ <em class="parameter"><code><span class="type">gdouble</span> tx</code></em>,
684
+ <em class="parameter"><code><span class="type">gdouble</span> ty</code></em>);</pre>
685
+ <p>
686
+ Translates the origin of the item's coordinate system by the given amounts.
687
+ </p>
688
+ <div class="variablelist"><table border="0">
689
+ <col align="left" valign="top">
690
+ <tbody>
691
+ <tr>
692
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
693
+ <td>an item.
694
+ </td>
695
+ </tr>
696
+ <tr>
697
+ <td><p><span class="term"><em class="parameter"><code>tx</code></em> :</span></p></td>
698
+ <td>the amount to move the origin in the horizontal direction.
699
+ </td>
700
+ </tr>
701
+ <tr>
702
+ <td><p><span class="term"><em class="parameter"><code>ty</code></em> :</span></p></td>
703
+ <td>the amount to move the origin in the vertical direction.
704
+ </td>
705
+ </tr>
706
+ </tbody>
707
+ </table></div>
708
+ </div>
709
+ <hr>
710
+ <div class="refsect2" title="goo_canvas_item_scale ()">
711
+ <a name="goo-canvas-item-scale"></a><h3>goo_canvas_item_scale ()</h3>
712
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_scale (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
713
+ <em class="parameter"><code><span class="type">gdouble</span> sx</code></em>,
714
+ <em class="parameter"><code><span class="type">gdouble</span> sy</code></em>);</pre>
715
+ <p>
716
+ Scales the item's coordinate system by the given amounts.
717
+ </p>
718
+ <div class="variablelist"><table border="0">
719
+ <col align="left" valign="top">
720
+ <tbody>
721
+ <tr>
722
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
723
+ <td>an item.
724
+ </td>
725
+ </tr>
726
+ <tr>
727
+ <td><p><span class="term"><em class="parameter"><code>sx</code></em> :</span></p></td>
728
+ <td>the amount to scale the horizontal axis.
729
+ </td>
730
+ </tr>
731
+ <tr>
732
+ <td><p><span class="term"><em class="parameter"><code>sy</code></em> :</span></p></td>
733
+ <td>the amount to scale the vertical axis.
734
+ </td>
735
+ </tr>
736
+ </tbody>
737
+ </table></div>
738
+ </div>
739
+ <hr>
740
+ <div class="refsect2" title="goo_canvas_item_rotate ()">
741
+ <a name="goo-canvas-item-rotate"></a><h3>goo_canvas_item_rotate ()</h3>
742
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_rotate (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
743
+ <em class="parameter"><code><span class="type">gdouble</span> degrees</code></em>,
744
+ <em class="parameter"><code><span class="type">gdouble</span> cx</code></em>,
745
+ <em class="parameter"><code><span class="type">gdouble</span> cy</code></em>);</pre>
746
+ <p>
747
+ Rotates the item's coordinate system by the given amount, about the given
748
+ origin.
749
+ </p>
750
+ <div class="variablelist"><table border="0">
751
+ <col align="left" valign="top">
752
+ <tbody>
753
+ <tr>
754
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
755
+ <td>an item.
756
+ </td>
757
+ </tr>
758
+ <tr>
759
+ <td><p><span class="term"><em class="parameter"><code>degrees</code></em> :</span></p></td>
760
+ <td>the clockwise angle of rotation.
761
+ </td>
762
+ </tr>
763
+ <tr>
764
+ <td><p><span class="term"><em class="parameter"><code>cx</code></em> :</span></p></td>
765
+ <td>the x coordinate of the origin of the rotation.
766
+ </td>
767
+ </tr>
768
+ <tr>
769
+ <td><p><span class="term"><em class="parameter"><code>cy</code></em> :</span></p></td>
770
+ <td>the y coordinate of the origin of the rotation.
771
+ </td>
772
+ </tr>
773
+ </tbody>
774
+ </table></div>
775
+ </div>
776
+ <hr>
777
+ <div class="refsect2" title="goo_canvas_item_skew_x ()">
778
+ <a name="goo-canvas-item-skew-x"></a><h3>goo_canvas_item_skew_x ()</h3>
779
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_skew_x (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
780
+ <em class="parameter"><code><span class="type">gdouble</span> degrees</code></em>,
781
+ <em class="parameter"><code><span class="type">gdouble</span> cx</code></em>,
782
+ <em class="parameter"><code><span class="type">gdouble</span> cy</code></em>);</pre>
783
+ <p>
784
+ Skews the item's coordinate system along the x axis by the given amount,
785
+ about the given origin.
786
+ </p>
787
+ <div class="variablelist"><table border="0">
788
+ <col align="left" valign="top">
789
+ <tbody>
790
+ <tr>
791
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
792
+ <td>an item.
793
+ </td>
794
+ </tr>
795
+ <tr>
796
+ <td><p><span class="term"><em class="parameter"><code>degrees</code></em> :</span></p></td>
797
+ <td>the skew angle.
798
+ </td>
799
+ </tr>
800
+ <tr>
801
+ <td><p><span class="term"><em class="parameter"><code>cx</code></em> :</span></p></td>
802
+ <td>the x coordinate of the origin of the skew transform.
803
+ </td>
804
+ </tr>
805
+ <tr>
806
+ <td><p><span class="term"><em class="parameter"><code>cy</code></em> :</span></p></td>
807
+ <td>the y coordinate of the origin of the skew transform.
808
+ </td>
809
+ </tr>
810
+ </tbody>
811
+ </table></div>
812
+ </div>
813
+ <hr>
814
+ <div class="refsect2" title="goo_canvas_item_skew_y ()">
815
+ <a name="goo-canvas-item-skew-y"></a><h3>goo_canvas_item_skew_y ()</h3>
816
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_skew_y (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
817
+ <em class="parameter"><code><span class="type">gdouble</span> degrees</code></em>,
818
+ <em class="parameter"><code><span class="type">gdouble</span> cx</code></em>,
819
+ <em class="parameter"><code><span class="type">gdouble</span> cy</code></em>);</pre>
820
+ <p>
821
+ Skews the item's coordinate system along the y axis by the given amount,
822
+ about the given origin.
823
+ </p>
824
+ <div class="variablelist"><table border="0">
825
+ <col align="left" valign="top">
826
+ <tbody>
827
+ <tr>
828
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
829
+ <td>an item.
830
+ </td>
831
+ </tr>
832
+ <tr>
833
+ <td><p><span class="term"><em class="parameter"><code>degrees</code></em> :</span></p></td>
834
+ <td>the skew angle.
835
+ </td>
836
+ </tr>
837
+ <tr>
838
+ <td><p><span class="term"><em class="parameter"><code>cx</code></em> :</span></p></td>
839
+ <td>the x coordinate of the origin of the skew transform.
840
+ </td>
841
+ </tr>
842
+ <tr>
843
+ <td><p><span class="term"><em class="parameter"><code>cy</code></em> :</span></p></td>
844
+ <td>the y coordinate of the origin of the skew transform.
845
+ </td>
846
+ </tr>
847
+ </tbody>
848
+ </table></div>
849
+ </div>
850
+ <hr>
851
+ <div class="refsect2" title="goo_canvas_item_get_transform ()">
852
+ <a name="goo-canvas-item-get-transform"></a><h3>goo_canvas_item_get_transform ()</h3>
853
+ <pre class="programlisting"><span class="returnvalue">gboolean</span> goo_canvas_item_get_transform (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
854
+ <em class="parameter"><code><a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-matrix-t.html#cairo-matrix-t"><span class="type">cairo_matrix_t</span></a> *transform</code></em>);</pre>
855
+ <p>
856
+ Gets the transformation matrix of an item.
857
+ </p>
858
+ <div class="variablelist"><table border="0">
859
+ <col align="left" valign="top">
860
+ <tbody>
861
+ <tr>
862
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
863
+ <td>an item.
864
+ </td>
865
+ </tr>
866
+ <tr>
867
+ <td><p><span class="term"><em class="parameter"><code>transform</code></em> :</span></p></td>
868
+ <td>the place to store the transform.
869
+ </td>
870
+ </tr>
871
+ <tr>
872
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
873
+ <td> <code class="literal">TRUE</code> if a transform is set.
874
+ </td>
875
+ </tr>
876
+ </tbody>
877
+ </table></div>
878
+ </div>
879
+ <hr>
880
+ <div class="refsect2" title="goo_canvas_item_set_transform ()">
881
+ <a name="goo-canvas-item-set-transform"></a><h3>goo_canvas_item_set_transform ()</h3>
882
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_set_transform (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
883
+ <em class="parameter"><code>const <a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-matrix-t.html#cairo-matrix-t"><span class="type">cairo_matrix_t</span></a> *transform</code></em>);</pre>
884
+ <p>
885
+ Sets the transformation matrix of an item.
886
+ </p>
887
+ <div class="variablelist"><table border="0">
888
+ <col align="left" valign="top">
889
+ <tbody>
890
+ <tr>
891
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
892
+ <td>an item.
893
+ </td>
894
+ </tr>
895
+ <tr>
896
+ <td><p><span class="term"><em class="parameter"><code>transform</code></em> :</span></p></td>
897
+ <td>the new transformation matrix, or <code class="literal">NULL</code> to reset the
898
+ transformation to the identity matrix.
899
+ </td>
900
+ </tr>
901
+ </tbody>
902
+ </table></div>
903
+ </div>
904
+ <hr>
905
+ <div class="refsect2" title="goo_canvas_item_get_simple_transform ()">
906
+ <a name="goo-canvas-item-get-simple-transform"></a><h3>goo_canvas_item_get_simple_transform ()</h3>
907
+ <pre class="programlisting"><span class="returnvalue">gboolean</span> goo_canvas_item_get_simple_transform
908
+ (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
909
+ <em class="parameter"><code><span class="type">gdouble</span> *x</code></em>,
910
+ <em class="parameter"><code><span class="type">gdouble</span> *y</code></em>,
911
+ <em class="parameter"><code><span class="type">gdouble</span> *scale</code></em>,
912
+ <em class="parameter"><code><span class="type">gdouble</span> *rotation</code></em>);</pre>
913
+ <p>
914
+ This function can be used to get the position, scale and rotation of an
915
+ item, providing that the item has a simple transformation matrix
916
+ (e.g. set with <a class="link" href="GooCanvasItem.html#goo-canvas-item-set-simple-transform" title="goo_canvas_item_set_simple_transform ()"><code class="function">goo_canvas_item_set_simple_transform()</code></a>, or using a
917
+ combination of simple translate, scale and rotate operations). If the item
918
+ has a complex transformation matrix the results will be incorrect.
919
+ </p>
920
+ <div class="variablelist"><table border="0">
921
+ <col align="left" valign="top">
922
+ <tbody>
923
+ <tr>
924
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
925
+ <td>an item.
926
+ </td>
927
+ </tr>
928
+ <tr>
929
+ <td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
930
+ <td>returns the x coordinate of the origin of the item's coordinate space.
931
+ </td>
932
+ </tr>
933
+ <tr>
934
+ <td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
935
+ <td>returns the y coordinate of the origin of the item's coordinate space.
936
+ </td>
937
+ </tr>
938
+ <tr>
939
+ <td><p><span class="term"><em class="parameter"><code>scale</code></em> :</span></p></td>
940
+ <td>returns the scale of the item.
941
+ </td>
942
+ </tr>
943
+ <tr>
944
+ <td><p><span class="term"><em class="parameter"><code>rotation</code></em> :</span></p></td>
945
+ <td>returns the clockwise rotation of the item, in degrees (0-360).
946
+ </td>
947
+ </tr>
948
+ <tr>
949
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
950
+ <td> <code class="literal">TRUE</code> if a transform is set.
951
+ </td>
952
+ </tr>
953
+ </tbody>
954
+ </table></div>
955
+ </div>
956
+ <hr>
957
+ <div class="refsect2" title="goo_canvas_item_set_simple_transform ()">
958
+ <a name="goo-canvas-item-set-simple-transform"></a><h3>goo_canvas_item_set_simple_transform ()</h3>
959
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_set_simple_transform
960
+ (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
961
+ <em class="parameter"><code><span class="type">gdouble</span> x</code></em>,
962
+ <em class="parameter"><code><span class="type">gdouble</span> y</code></em>,
963
+ <em class="parameter"><code><span class="type">gdouble</span> scale</code></em>,
964
+ <em class="parameter"><code><span class="type">gdouble</span> rotation</code></em>);</pre>
965
+ <p>
966
+ A convenience function to set the item's transformation matrix.
967
+ </p>
968
+ <div class="variablelist"><table border="0">
969
+ <col align="left" valign="top">
970
+ <tbody>
971
+ <tr>
972
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
973
+ <td>an item.
974
+ </td>
975
+ </tr>
976
+ <tr>
977
+ <td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
978
+ <td>the x coordinate of the origin of the item's coordinate space.
979
+ </td>
980
+ </tr>
981
+ <tr>
982
+ <td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
983
+ <td>the y coordinate of the origin of the item's coordinate space.
984
+ </td>
985
+ </tr>
986
+ <tr>
987
+ <td><p><span class="term"><em class="parameter"><code>scale</code></em> :</span></p></td>
988
+ <td>the scale of the item.
989
+ </td>
990
+ </tr>
991
+ <tr>
992
+ <td><p><span class="term"><em class="parameter"><code>rotation</code></em> :</span></p></td>
993
+ <td>the clockwise rotation of the item, in degrees.
994
+ </td>
995
+ </tr>
996
+ </tbody>
997
+ </table></div>
998
+ </div>
999
+ <hr>
1000
+ <div class="refsect2" title="goo_canvas_item_get_bounds ()">
1001
+ <a name="goo-canvas-item-get-bounds"></a><h3>goo_canvas_item_get_bounds ()</h3>
1002
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_get_bounds (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
1003
+ <em class="parameter"><code><a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasBounds" title="GooCanvasBounds"><span class="type">GooCanvasBounds</span></a> *bounds</code></em>);</pre>
1004
+ <p>
1005
+ Gets the bounds of the item.
1006
+ </p>
1007
+ <p>
1008
+ Note that the bounds includes the entire fill and stroke extents of the
1009
+ item, whether they are painted or not.
1010
+ </p>
1011
+ <div class="variablelist"><table border="0">
1012
+ <col align="left" valign="top">
1013
+ <tbody>
1014
+ <tr>
1015
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
1016
+ <td>a <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a>.
1017
+ </td>
1018
+ </tr>
1019
+ <tr>
1020
+ <td><p><span class="term"><em class="parameter"><code>bounds</code></em> :</span></p></td>
1021
+ <td>a <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasBounds" title="GooCanvasBounds"><span class="type">GooCanvasBounds</span></a> to return the bounds in.
1022
+ </td>
1023
+ </tr>
1024
+ </tbody>
1025
+ </table></div>
1026
+ </div>
1027
+ <hr>
1028
+ <div class="refsect2" title="goo_canvas_item_is_visible ()">
1029
+ <a name="goo-canvas-item-is-visible"></a><h3>goo_canvas_item_is_visible ()</h3>
1030
+ <pre class="programlisting"><span class="returnvalue">gboolean</span> goo_canvas_item_is_visible (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>);</pre>
1031
+ <p>
1032
+ Checks if the item is visible.
1033
+ </p>
1034
+ <p>
1035
+ This entails checking the item's own visibility setting, as well as those
1036
+ of its ancestors.
1037
+ </p>
1038
+ <p>
1039
+ Note that the item may be scrolled off the screen and so may not
1040
+ be actually visible to the user.
1041
+ </p>
1042
+ <div class="variablelist"><table border="0">
1043
+ <col align="left" valign="top">
1044
+ <tbody>
1045
+ <tr>
1046
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
1047
+ <td>a <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a>.
1048
+ </td>
1049
+ </tr>
1050
+ <tr>
1051
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1052
+ <td> <code class="literal">TRUE</code> if the item is visible.
1053
+ </td>
1054
+ </tr>
1055
+ </tbody>
1056
+ </table></div>
1057
+ </div>
1058
+ <hr>
1059
+ <div class="refsect2" title="goo_canvas_item_get_is_static ()">
1060
+ <a name="goo-canvas-item-get-is-static"></a><h3>goo_canvas_item_get_is_static ()</h3>
1061
+ <pre class="programlisting"><span class="returnvalue">gboolean</span> goo_canvas_item_get_is_static (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>);</pre>
1062
+ <p>
1063
+ Returns <code class="literal">TRUE</code> if the item is static. Static items do not move or change
1064
+ size when the canvas is scrolled or the scale changes.
1065
+ </p>
1066
+ <div class="variablelist"><table border="0">
1067
+ <col align="left" valign="top">
1068
+ <tbody>
1069
+ <tr>
1070
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
1071
+ <td>an item.
1072
+ </td>
1073
+ </tr>
1074
+ <tr>
1075
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1076
+ <td> <code class="literal">TRUE</code> if the item is static.
1077
+ </td>
1078
+ </tr>
1079
+ </tbody>
1080
+ </table></div>
1081
+ </div>
1082
+ <hr>
1083
+ <div class="refsect2" title="goo_canvas_item_set_is_static ()">
1084
+ <a name="goo-canvas-item-set-is-static"></a><h3>goo_canvas_item_set_is_static ()</h3>
1085
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_set_is_static (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
1086
+ <em class="parameter"><code><span class="type">gboolean</span> is_static</code></em>);</pre>
1087
+ <p>
1088
+ Notifies the item that it is static. Static items do not move or change
1089
+ size when the canvas is scrolled or the scale changes.
1090
+ </p>
1091
+ <p>
1092
+ Container items such as <a class="link" href="GooCanvasGroup.html" title="GooCanvasGroup"><span class="type">GooCanvasGroup</span></a> should call this function when
1093
+ children are added, to notify children whether they are static or not.
1094
+ Containers should also pass on any changes in their own status to children.
1095
+ </p>
1096
+ <div class="variablelist"><table border="0">
1097
+ <col align="left" valign="top">
1098
+ <tbody>
1099
+ <tr>
1100
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
1101
+ <td>an item.
1102
+ </td>
1103
+ </tr>
1104
+ <tr>
1105
+ <td><p><span class="term"><em class="parameter"><code>is_static</code></em> :</span></p></td>
1106
+ <td>if the item is static.
1107
+ </td>
1108
+ </tr>
1109
+ </tbody>
1110
+ </table></div>
1111
+ </div>
1112
+ <hr>
1113
+ <div class="refsect2" title="goo_canvas_item_animate ()">
1114
+ <a name="goo-canvas-item-animate"></a><h3>goo_canvas_item_animate ()</h3>
1115
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_animate (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
1116
+ <em class="parameter"><code><span class="type">gdouble</span> x</code></em>,
1117
+ <em class="parameter"><code><span class="type">gdouble</span> y</code></em>,
1118
+ <em class="parameter"><code><span class="type">gdouble</span> scale</code></em>,
1119
+ <em class="parameter"><code><span class="type">gdouble</span> degrees</code></em>,
1120
+ <em class="parameter"><code><span class="type">gboolean</span> absolute</code></em>,
1121
+ <em class="parameter"><code><span class="type">gint</span> duration</code></em>,
1122
+ <em class="parameter"><code><span class="type">gint</span> step_time</code></em>,
1123
+ <em class="parameter"><code><a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasAnimateType" title="enum GooCanvasAnimateType"><span class="type">GooCanvasAnimateType</span></a> type</code></em>);</pre>
1124
+ <p>
1125
+ Animates an item from its current position to the given offsets, scale
1126
+ and rotation.
1127
+ </p>
1128
+ <div class="variablelist"><table border="0">
1129
+ <col align="left" valign="top">
1130
+ <tbody>
1131
+ <tr>
1132
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
1133
+ <td>an item.
1134
+ </td>
1135
+ </tr>
1136
+ <tr>
1137
+ <td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
1138
+ <td>the final x coordinate.
1139
+ </td>
1140
+ </tr>
1141
+ <tr>
1142
+ <td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
1143
+ <td>the final y coordinate.
1144
+ </td>
1145
+ </tr>
1146
+ <tr>
1147
+ <td><p><span class="term"><em class="parameter"><code>scale</code></em> :</span></p></td>
1148
+ <td>the final scale.
1149
+ </td>
1150
+ </tr>
1151
+ <tr>
1152
+ <td><p><span class="term"><em class="parameter"><code>degrees</code></em> :</span></p></td>
1153
+ <td>the final rotation. This can be negative to rotate anticlockwise,
1154
+ and can also be greater than 360 to rotate a number of times.
1155
+ </td>
1156
+ </tr>
1157
+ <tr>
1158
+ <td><p><span class="term"><em class="parameter"><code>absolute</code></em> :</span></p></td>
1159
+ <td>if the <em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em>, <em class="parameter"><code>scale</code></em> and <em class="parameter"><code>degrees</code></em> values are absolute, or
1160
+ relative to the current transform. Note that absolute animations only work
1161
+ if the item currently has a simple transform. If the item has a shear or
1162
+ some other complicated transform it may result in strange animations.
1163
+ </td>
1164
+ </tr>
1165
+ <tr>
1166
+ <td><p><span class="term"><em class="parameter"><code>duration</code></em> :</span></p></td>
1167
+ <td>the duration of the animation, in milliseconds (1/1000ths of a
1168
+ second).
1169
+ </td>
1170
+ </tr>
1171
+ <tr>
1172
+ <td><p><span class="term"><em class="parameter"><code>step_time</code></em> :</span></p></td>
1173
+ <td>the time between each animation step, in milliseconds.
1174
+ </td>
1175
+ </tr>
1176
+ <tr>
1177
+ <td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
1178
+ <td>specifies what happens when the animation finishes.
1179
+ </td>
1180
+ </tr>
1181
+ </tbody>
1182
+ </table></div>
1183
+ </div>
1184
+ <hr>
1185
+ <div class="refsect2" title="goo_canvas_item_stop_animation ()">
1186
+ <a name="goo-canvas-item-stop-animation"></a><h3>goo_canvas_item_stop_animation ()</h3>
1187
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_stop_animation (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>);</pre>
1188
+ <p>
1189
+ Stops any current animation for the given item, leaving it at its current
1190
+ position.
1191
+ </p>
1192
+ <div class="variablelist"><table border="0">
1193
+ <col align="left" valign="top">
1194
+ <tbody><tr>
1195
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
1196
+ <td>an item.
1197
+ </td>
1198
+ </tr></tbody>
1199
+ </table></div>
1200
+ </div>
1201
+ <hr>
1202
+ <div class="refsect2" title="goo_canvas_item_raise ()">
1203
+ <a name="goo-canvas-item-raise"></a><h3>goo_canvas_item_raise ()</h3>
1204
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_raise (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
1205
+ <em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *above</code></em>);</pre>
1206
+ <p>
1207
+ Raises an item in the stacking order.
1208
+ </p>
1209
+ <div class="variablelist"><table border="0">
1210
+ <col align="left" valign="top">
1211
+ <tbody>
1212
+ <tr>
1213
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
1214
+ <td>an item.
1215
+ </td>
1216
+ </tr>
1217
+ <tr>
1218
+ <td><p><span class="term"><em class="parameter"><code>above</code></em> :</span></p></td>
1219
+ <td>the item to raise <em class="parameter"><code>item</code></em> above, or <code class="literal">NULL</code> to raise <em class="parameter"><code>item</code></em> to the top
1220
+ of the stack.
1221
+ </td>
1222
+ </tr>
1223
+ </tbody>
1224
+ </table></div>
1225
+ </div>
1226
+ <hr>
1227
+ <div class="refsect2" title="goo_canvas_item_lower ()">
1228
+ <a name="goo-canvas-item-lower"></a><h3>goo_canvas_item_lower ()</h3>
1229
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_lower (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
1230
+ <em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *below</code></em>);</pre>
1231
+ <p>
1232
+ Lowers an item in the stacking order.
1233
+ </p>
1234
+ <div class="variablelist"><table border="0">
1235
+ <col align="left" valign="top">
1236
+ <tbody>
1237
+ <tr>
1238
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
1239
+ <td>an item.
1240
+ </td>
1241
+ </tr>
1242
+ <tr>
1243
+ <td><p><span class="term"><em class="parameter"><code>below</code></em> :</span></p></td>
1244
+ <td>the item to lower <em class="parameter"><code>item</code></em> below, or <code class="literal">NULL</code> to lower <em class="parameter"><code>item</code></em> to the
1245
+ bottom of the stack.
1246
+ </td>
1247
+ </tr>
1248
+ </tbody>
1249
+ </table></div>
1250
+ </div>
1251
+ <hr>
1252
+ <div class="refsect2" title="goo_canvas_item_remove ()">
1253
+ <a name="goo-canvas-item-remove"></a><h3>goo_canvas_item_remove ()</h3>
1254
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_remove (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>);</pre>
1255
+ <p>
1256
+ Removes an item from its parent. If the item is in a canvas it will be
1257
+ removed.
1258
+ </p>
1259
+ <p>
1260
+ This would normally also result in the item being freed.
1261
+ </p>
1262
+ <div class="variablelist"><table border="0">
1263
+ <col align="left" valign="top">
1264
+ <tbody><tr>
1265
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
1266
+ <td>an item.
1267
+ </td>
1268
+ </tr></tbody>
1269
+ </table></div>
1270
+ </div>
1271
+ <hr>
1272
+ <div class="refsect2" title="goo_canvas_item_get_canvas ()">
1273
+ <a name="goo-canvas-item-get-canvas"></a><h3>goo_canvas_item_get_canvas ()</h3>
1274
+ <pre class="programlisting"><a class="link" href="GooCanvas.html" title="GooCanvas"><span class="returnvalue">GooCanvas</span></a>* goo_canvas_item_get_canvas (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>);</pre>
1275
+ <p>
1276
+ Returns the <a class="link" href="GooCanvas.html" title="GooCanvas"><span class="type">GooCanvas</span></a> containing the given <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a>.
1277
+ </p>
1278
+ <div class="variablelist"><table border="0">
1279
+ <col align="left" valign="top">
1280
+ <tbody>
1281
+ <tr>
1282
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
1283
+ <td>a <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a>.
1284
+ </td>
1285
+ </tr>
1286
+ <tr>
1287
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1288
+ <td> the <a class="link" href="GooCanvas.html" title="GooCanvas"><span class="type">GooCanvas</span></a>.
1289
+ </td>
1290
+ </tr>
1291
+ </tbody>
1292
+ </table></div>
1293
+ </div>
1294
+ <hr>
1295
+ <div class="refsect2" title="goo_canvas_item_set_canvas ()">
1296
+ <a name="goo-canvas-item-set-canvas"></a><h3>goo_canvas_item_set_canvas ()</h3>
1297
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_set_canvas (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
1298
+ <em class="parameter"><code><a class="link" href="GooCanvas.html" title="GooCanvas"><span class="type">GooCanvas</span></a> *canvas</code></em>);</pre>
1299
+ <p>
1300
+ This function is only intended to be used when implementing new canvas
1301
+ items, specifically container items such as <a class="link" href="GooCanvasGroup.html" title="GooCanvasGroup"><span class="type">GooCanvasGroup</span></a>.
1302
+ </p>
1303
+ <p>
1304
+ It sets the canvas of the item.
1305
+ </p>
1306
+ <div class="variablelist"><table border="0">
1307
+ <col align="left" valign="top">
1308
+ <tbody>
1309
+ <tr>
1310
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
1311
+ <td>a <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a>.
1312
+ </td>
1313
+ </tr>
1314
+ <tr>
1315
+ <td><p><span class="term"><em class="parameter"><code>canvas</code></em> :</span></p></td>
1316
+ <td>a <a class="link" href="GooCanvas.html" title="GooCanvas"><span class="type">GooCanvas</span></a>
1317
+ </td>
1318
+ </tr>
1319
+ </tbody>
1320
+ </table></div>
1321
+ </div>
1322
+ <hr>
1323
+ <div class="refsect2" title="goo_canvas_item_get_parent ()">
1324
+ <a name="goo-canvas-item-get-parent"></a><h3>goo_canvas_item_get_parent ()</h3>
1325
+ <pre class="programlisting"><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="returnvalue">GooCanvasItem</span></a>* goo_canvas_item_get_parent (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>);</pre>
1326
+ <p>
1327
+ Gets the parent of the given item.
1328
+ </p>
1329
+ <div class="variablelist"><table border="0">
1330
+ <col align="left" valign="top">
1331
+ <tbody>
1332
+ <tr>
1333
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
1334
+ <td>an item.
1335
+ </td>
1336
+ </tr>
1337
+ <tr>
1338
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1339
+ <td> the parent item, or <code class="literal">NULL</code> if the item has no parent.
1340
+ </td>
1341
+ </tr>
1342
+ </tbody>
1343
+ </table></div>
1344
+ </div>
1345
+ <hr>
1346
+ <div class="refsect2" title="goo_canvas_item_set_parent ()">
1347
+ <a name="goo-canvas-item-set-parent"></a><h3>goo_canvas_item_set_parent ()</h3>
1348
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_set_parent (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
1349
+ <em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *parent</code></em>);</pre>
1350
+ <p>
1351
+ This function is only intended to be used when implementing new canvas
1352
+ items (specifically container items such as <a class="link" href="GooCanvasGroup.html" title="GooCanvasGroup"><span class="type">GooCanvasGroup</span></a>).
1353
+ It sets the parent of the child item.
1354
+ </p>
1355
+ <div class="variablelist"><table border="0">
1356
+ <col align="left" valign="top">
1357
+ <tbody>
1358
+ <tr>
1359
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
1360
+ <td>an item.
1361
+ </td>
1362
+ </tr>
1363
+ <tr>
1364
+ <td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
1365
+ <td>the new parent item.
1366
+ </td>
1367
+ </tr>
1368
+ </tbody>
1369
+ </table></div>
1370
+ <p>
1371
+ </p>
1372
+ <div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;">
1373
+ <h3 class="title">Note</h3>
1374
+ <p>
1375
+ This function cannot be used to add an item to a group
1376
+ or to change the parent of an item.
1377
+ To do that use the <a class="link" href="GooCanvasItem.html#GooCanvasItem--parent" title='The "parent" property'><span class="type">"parent"</span></a> property.
1378
+ </p>
1379
+ </div>
1380
+ <p>
1381
+ </p>
1382
+ </div>
1383
+ <hr>
1384
+ <div class="refsect2" title="goo_canvas_item_get_model ()">
1385
+ <a name="goo-canvas-item-get-model"></a><h3>goo_canvas_item_get_model ()</h3>
1386
+ <pre class="programlisting"><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="returnvalue">GooCanvasItemModel</span></a>* goo_canvas_item_get_model (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>);</pre>
1387
+ <p>
1388
+ Gets the model of the given canvas item.
1389
+ </p>
1390
+ <div class="variablelist"><table border="0">
1391
+ <col align="left" valign="top">
1392
+ <tbody>
1393
+ <tr>
1394
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
1395
+ <td>a <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a>.
1396
+ </td>
1397
+ </tr>
1398
+ <tr>
1399
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1400
+ <td> the item's model, or <code class="literal">NULL</code> if it has no model.
1401
+ </td>
1402
+ </tr>
1403
+ </tbody>
1404
+ </table></div>
1405
+ </div>
1406
+ <hr>
1407
+ <div class="refsect2" title="goo_canvas_item_set_model ()">
1408
+ <a name="goo-canvas-item-set-model"></a><h3>goo_canvas_item_set_model ()</h3>
1409
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_set_model (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
1410
+ <em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>);</pre>
1411
+ <p>
1412
+ Sets the model of the given canvas item.
1413
+ </p>
1414
+ <div class="variablelist"><table border="0">
1415
+ <col align="left" valign="top">
1416
+ <tbody>
1417
+ <tr>
1418
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
1419
+ <td>a <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a>.
1420
+ </td>
1421
+ </tr>
1422
+ <tr>
1423
+ <td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
1424
+ <td>a <a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a>.
1425
+ </td>
1426
+ </tr>
1427
+ </tbody>
1428
+ </table></div>
1429
+ </div>
1430
+ <hr>
1431
+ <div class="refsect2" title="goo_canvas_item_is_container ()">
1432
+ <a name="goo-canvas-item-is-container"></a><h3>goo_canvas_item_is_container ()</h3>
1433
+ <pre class="programlisting"><span class="returnvalue">gboolean</span> goo_canvas_item_is_container (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>);</pre>
1434
+ <p>
1435
+ Tests to see if the given item is a container.
1436
+ </p>
1437
+ <div class="variablelist"><table border="0">
1438
+ <col align="left" valign="top">
1439
+ <tbody>
1440
+ <tr>
1441
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
1442
+ <td>an item.
1443
+ </td>
1444
+ </tr>
1445
+ <tr>
1446
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1447
+ <td> <code class="literal">TRUE</code> if the item is a container.
1448
+ </td>
1449
+ </tr>
1450
+ </tbody>
1451
+ </table></div>
1452
+ </div>
1453
+ <hr>
1454
+ <div class="refsect2" title="goo_canvas_item_get_n_children ()">
1455
+ <a name="goo-canvas-item-get-n-children"></a><h3>goo_canvas_item_get_n_children ()</h3>
1456
+ <pre class="programlisting"><span class="returnvalue">gint</span> goo_canvas_item_get_n_children (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>);</pre>
1457
+ <p>
1458
+ Gets the number of children of the container.
1459
+ </p>
1460
+ <div class="variablelist"><table border="0">
1461
+ <col align="left" valign="top">
1462
+ <tbody>
1463
+ <tr>
1464
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
1465
+ <td>a container item.
1466
+ </td>
1467
+ </tr>
1468
+ <tr>
1469
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1470
+ <td> the number of children.
1471
+ </td>
1472
+ </tr>
1473
+ </tbody>
1474
+ </table></div>
1475
+ </div>
1476
+ <hr>
1477
+ <div class="refsect2" title="goo_canvas_item_get_child ()">
1478
+ <a name="goo-canvas-item-get-child"></a><h3>goo_canvas_item_get_child ()</h3>
1479
+ <pre class="programlisting"><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="returnvalue">GooCanvasItem</span></a>* goo_canvas_item_get_child (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
1480
+ <em class="parameter"><code><span class="type">gint</span> child_num</code></em>);</pre>
1481
+ <p>
1482
+ Gets the child item at the given stack position.
1483
+ </p>
1484
+ <div class="variablelist"><table border="0">
1485
+ <col align="left" valign="top">
1486
+ <tbody>
1487
+ <tr>
1488
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
1489
+ <td>a container item.
1490
+ </td>
1491
+ </tr>
1492
+ <tr>
1493
+ <td><p><span class="term"><em class="parameter"><code>child_num</code></em> :</span></p></td>
1494
+ <td>the position of a child in the container's stack.
1495
+ </td>
1496
+ </tr>
1497
+ <tr>
1498
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1499
+ <td> the child item at the given stack position, or <code class="literal">NULL</code> if <em class="parameter"><code>child_num</code></em>
1500
+ is out of range.
1501
+ </td>
1502
+ </tr>
1503
+ </tbody>
1504
+ </table></div>
1505
+ </div>
1506
+ <hr>
1507
+ <div class="refsect2" title="goo_canvas_item_find_child ()">
1508
+ <a name="goo-canvas-item-find-child"></a><h3>goo_canvas_item_find_child ()</h3>
1509
+ <pre class="programlisting"><span class="returnvalue">gint</span> goo_canvas_item_find_child (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
1510
+ <em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *child</code></em>);</pre>
1511
+ <p>
1512
+ Attempts to find the given child item with the container's stack.
1513
+ </p>
1514
+ <div class="variablelist"><table border="0">
1515
+ <col align="left" valign="top">
1516
+ <tbody>
1517
+ <tr>
1518
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
1519
+ <td>a container item.
1520
+ </td>
1521
+ </tr>
1522
+ <tr>
1523
+ <td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
1524
+ <td>the child item to find.
1525
+ </td>
1526
+ </tr>
1527
+ <tr>
1528
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1529
+ <td> the position of the given <em class="parameter"><code>child</code></em> item, or -1 if it isn't found.
1530
+ </td>
1531
+ </tr>
1532
+ </tbody>
1533
+ </table></div>
1534
+ </div>
1535
+ <hr>
1536
+ <div class="refsect2" title="goo_canvas_item_add_child ()">
1537
+ <a name="goo-canvas-item-add-child"></a><h3>goo_canvas_item_add_child ()</h3>
1538
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_add_child (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
1539
+ <em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *child</code></em>,
1540
+ <em class="parameter"><code><span class="type">gint</span> position</code></em>);</pre>
1541
+ <p>
1542
+ Adds a child item to a container item at the given stack position.
1543
+ </p>
1544
+ <div class="variablelist"><table border="0">
1545
+ <col align="left" valign="top">
1546
+ <tbody>
1547
+ <tr>
1548
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
1549
+ <td>the container to add the item to.
1550
+ </td>
1551
+ </tr>
1552
+ <tr>
1553
+ <td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
1554
+ <td>the item to add.
1555
+ </td>
1556
+ </tr>
1557
+ <tr>
1558
+ <td><p><span class="term"><em class="parameter"><code>position</code></em> :</span></p></td>
1559
+ <td>the position of the item, or -1 to place it last (at the top of
1560
+ the stacking order).
1561
+ </td>
1562
+ </tr>
1563
+ </tbody>
1564
+ </table></div>
1565
+ </div>
1566
+ <hr>
1567
+ <div class="refsect2" title="goo_canvas_item_move_child ()">
1568
+ <a name="goo-canvas-item-move-child"></a><h3>goo_canvas_item_move_child ()</h3>
1569
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_move_child (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
1570
+ <em class="parameter"><code><span class="type">gint</span> old_position</code></em>,
1571
+ <em class="parameter"><code><span class="type">gint</span> new_position</code></em>);</pre>
1572
+ <p>
1573
+ Moves a child item to a new stack position within the container.
1574
+ </p>
1575
+ <div class="variablelist"><table border="0">
1576
+ <col align="left" valign="top">
1577
+ <tbody>
1578
+ <tr>
1579
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
1580
+ <td>a container item.
1581
+ </td>
1582
+ </tr>
1583
+ <tr>
1584
+ <td><p><span class="term"><em class="parameter"><code>old_position</code></em> :</span></p></td>
1585
+ <td>the current position of the child item.
1586
+ </td>
1587
+ </tr>
1588
+ <tr>
1589
+ <td><p><span class="term"><em class="parameter"><code>new_position</code></em> :</span></p></td>
1590
+ <td>the new position of the child item.
1591
+ </td>
1592
+ </tr>
1593
+ </tbody>
1594
+ </table></div>
1595
+ </div>
1596
+ <hr>
1597
+ <div class="refsect2" title="goo_canvas_item_remove_child ()">
1598
+ <a name="goo-canvas-item-remove-child"></a><h3>goo_canvas_item_remove_child ()</h3>
1599
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_remove_child (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
1600
+ <em class="parameter"><code><span class="type">gint</span> child_num</code></em>);</pre>
1601
+ <p>
1602
+ Removes the child item at the given position.
1603
+ </p>
1604
+ <div class="variablelist"><table border="0">
1605
+ <col align="left" valign="top">
1606
+ <tbody>
1607
+ <tr>
1608
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
1609
+ <td>a container item.
1610
+ </td>
1611
+ </tr>
1612
+ <tr>
1613
+ <td><p><span class="term"><em class="parameter"><code>child_num</code></em> :</span></p></td>
1614
+ <td>the position of the child item to remove.
1615
+ </td>
1616
+ </tr>
1617
+ </tbody>
1618
+ </table></div>
1619
+ </div>
1620
+ <hr>
1621
+ <div class="refsect2" title="goo_canvas_item_get_transform_for_child ()">
1622
+ <a name="goo-canvas-item-get-transform-for-child"></a><h3>goo_canvas_item_get_transform_for_child ()</h3>
1623
+ <pre class="programlisting"><span class="returnvalue">gboolean</span> goo_canvas_item_get_transform_for_child
1624
+ (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
1625
+ <em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *child</code></em>,
1626
+ <em class="parameter"><code><a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-matrix-t.html#cairo-matrix-t"><span class="type">cairo_matrix_t</span></a> *transform</code></em>);</pre>
1627
+ <p>
1628
+ Gets the transformation matrix of an item combined with any special
1629
+ transform needed for the given child. These special transforms are used
1630
+ by layout items such as <a class="link" href="GooCanvasTable.html" title="GooCanvasTable"><span class="type">GooCanvasTable</span></a>.
1631
+ </p>
1632
+ <div class="variablelist"><table border="0">
1633
+ <col align="left" valign="top">
1634
+ <tbody>
1635
+ <tr>
1636
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
1637
+ <td>an item.
1638
+ </td>
1639
+ </tr>
1640
+ <tr>
1641
+ <td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
1642
+ <td>a child of <em class="parameter"><code>item</code></em>.
1643
+ </td>
1644
+ </tr>
1645
+ <tr>
1646
+ <td><p><span class="term"><em class="parameter"><code>transform</code></em> :</span></p></td>
1647
+ <td>the place to store the transform.
1648
+ </td>
1649
+ </tr>
1650
+ <tr>
1651
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1652
+ <td> <code class="literal">TRUE</code> if a transform is set.
1653
+ </td>
1654
+ </tr>
1655
+ </tbody>
1656
+ </table></div>
1657
+ </div>
1658
+ <hr>
1659
+ <div class="refsect2" title="goo_canvas_item_get_style ()">
1660
+ <a name="goo-canvas-item-get-style"></a><h3>goo_canvas_item_get_style ()</h3>
1661
+ <pre class="programlisting"><a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="returnvalue">GooCanvasStyle</span></a>* goo_canvas_item_get_style (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>);</pre>
1662
+ <p>
1663
+ Gets the item's style. If the item doesn't have its own style it will return
1664
+ its parent's style.
1665
+ </p>
1666
+ <div class="variablelist"><table border="0">
1667
+ <col align="left" valign="top">
1668
+ <tbody>
1669
+ <tr>
1670
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
1671
+ <td>an item.
1672
+ </td>
1673
+ </tr>
1674
+ <tr>
1675
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1676
+ <td> the item's style.
1677
+ </td>
1678
+ </tr>
1679
+ </tbody>
1680
+ </table></div>
1681
+ </div>
1682
+ <hr>
1683
+ <div class="refsect2" title="goo_canvas_item_set_style ()">
1684
+ <a name="goo-canvas-item-set-style"></a><h3>goo_canvas_item_set_style ()</h3>
1685
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_set_style (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
1686
+ <em class="parameter"><code><a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a> *style</code></em>);</pre>
1687
+ <p>
1688
+ Sets the item's style, by copying the properties from the given style.
1689
+ </p>
1690
+ <div class="variablelist"><table border="0">
1691
+ <col align="left" valign="top">
1692
+ <tbody>
1693
+ <tr>
1694
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
1695
+ <td>an item.
1696
+ </td>
1697
+ </tr>
1698
+ <tr>
1699
+ <td><p><span class="term"><em class="parameter"><code>style</code></em> :</span></p></td>
1700
+ <td>a style.
1701
+ </td>
1702
+ </tr>
1703
+ </tbody>
1704
+ </table></div>
1705
+ </div>
1706
+ <hr>
1707
+ <div class="refsect2" title="goo_canvas_item_request_update ()">
1708
+ <a name="goo-canvas-item-request-update"></a><h3>goo_canvas_item_request_update ()</h3>
1709
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_request_update (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>);</pre>
1710
+ <p>
1711
+ This function is only intended to be used when implementing new canvas
1712
+ items.
1713
+ </p>
1714
+ <p>
1715
+ It requests that an update of the item is scheduled. It will be performed
1716
+ as soon as the application is idle, and before the canvas is redrawn.
1717
+ </p>
1718
+ <div class="variablelist"><table border="0">
1719
+ <col align="left" valign="top">
1720
+ <tbody><tr>
1721
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
1722
+ <td>a <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a>.
1723
+ </td>
1724
+ </tr></tbody>
1725
+ </table></div>
1726
+ </div>
1727
+ <hr>
1728
+ <div class="refsect2" title="goo_canvas_item_ensure_updated ()">
1729
+ <a name="goo-canvas-item-ensure-updated"></a><h3>goo_canvas_item_ensure_updated ()</h3>
1730
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_ensure_updated (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>);</pre>
1731
+ <p>
1732
+ This function is only intended to be used when implementing new canvas
1733
+ items.
1734
+ </p>
1735
+ <p>
1736
+ It updates the canvas immediately, if an update is scheduled.
1737
+ This ensures that all item bounds are up-to-date.
1738
+ </p>
1739
+ <div class="variablelist"><table border="0">
1740
+ <col align="left" valign="top">
1741
+ <tbody><tr>
1742
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
1743
+ <td>a <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a>.
1744
+ </td>
1745
+ </tr></tbody>
1746
+ </table></div>
1747
+ </div>
1748
+ <hr>
1749
+ <div class="refsect2" title="goo_canvas_item_update ()">
1750
+ <a name="goo-canvas-item-update"></a><h3>goo_canvas_item_update ()</h3>
1751
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_update (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
1752
+ <em class="parameter"><code><span class="type">gboolean</span> entire_tree</code></em>,
1753
+ <em class="parameter"><code><a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
1754
+ <em class="parameter"><code><a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasBounds" title="GooCanvasBounds"><span class="type">GooCanvasBounds</span></a> *bounds</code></em>);</pre>
1755
+ <p>
1756
+ This function is only intended to be used when implementing new canvas
1757
+ items, specifically container items such as <a class="link" href="GooCanvasGroup.html" title="GooCanvasGroup"><span class="type">GooCanvasGroup</span></a>.
1758
+ </p>
1759
+ <p>
1760
+ Updates the item, if needed, and any children.
1761
+ </p>
1762
+ <div class="variablelist"><table border="0">
1763
+ <col align="left" valign="top">
1764
+ <tbody>
1765
+ <tr>
1766
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
1767
+ <td>a <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a>.
1768
+ </td>
1769
+ </tr>
1770
+ <tr>
1771
+ <td><p><span class="term"><em class="parameter"><code>entire_tree</code></em> :</span></p></td>
1772
+ <td>if the entire subtree should be updated.
1773
+ </td>
1774
+ </tr>
1775
+ <tr>
1776
+ <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
1777
+ <td>a cairo context.
1778
+ </td>
1779
+ </tr>
1780
+ <tr>
1781
+ <td><p><span class="term"><em class="parameter"><code>bounds</code></em> :</span></p></td>
1782
+ <td>a <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasBounds" title="GooCanvasBounds"><span class="type">GooCanvasBounds</span></a> to return the new bounds in.
1783
+ </td>
1784
+ </tr>
1785
+ </tbody>
1786
+ </table></div>
1787
+ </div>
1788
+ <hr>
1789
+ <div class="refsect2" title="goo_canvas_item_get_requested_area ()">
1790
+ <a name="goo-canvas-item-get-requested-area"></a><h3>goo_canvas_item_get_requested_area ()</h3>
1791
+ <pre class="programlisting"><span class="returnvalue">gboolean</span> goo_canvas_item_get_requested_area (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
1792
+ <em class="parameter"><code><a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
1793
+ <em class="parameter"><code><a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasBounds" title="GooCanvasBounds"><span class="type">GooCanvasBounds</span></a> *requested_area</code></em>);</pre>
1794
+ <p>
1795
+ This function is only intended to be used when implementing new canvas
1796
+ items, specifically layout items such as <a class="link" href="GooCanvasTable.html" title="GooCanvasTable"><span class="type">GooCanvasTable</span></a>.
1797
+ </p>
1798
+ <p>
1799
+ It gets the requested area of a child item.
1800
+ </p>
1801
+ <div class="variablelist"><table border="0">
1802
+ <col align="left" valign="top">
1803
+ <tbody>
1804
+ <tr>
1805
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
1806
+ <td>a <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a>.
1807
+ </td>
1808
+ </tr>
1809
+ <tr>
1810
+ <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
1811
+ <td>a cairo context.
1812
+ </td>
1813
+ </tr>
1814
+ <tr>
1815
+ <td><p><span class="term"><em class="parameter"><code>requested_area</code></em> :</span></p></td>
1816
+ <td>a <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasBounds" title="GooCanvasBounds"><span class="type">GooCanvasBounds</span></a> to return the requested area in, in the
1817
+ parent's coordinate space.
1818
+ </td>
1819
+ </tr>
1820
+ <tr>
1821
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1822
+ <td> <code class="literal">TRUE</code> if the item should be allocated space.
1823
+ </td>
1824
+ </tr>
1825
+ </tbody>
1826
+ </table></div>
1827
+ </div>
1828
+ <hr>
1829
+ <div class="refsect2" title="goo_canvas_item_get_requested_height ()">
1830
+ <a name="goo-canvas-item-get-requested-height"></a><h3>goo_canvas_item_get_requested_height ()</h3>
1831
+ <pre class="programlisting"><span class="returnvalue">gdouble</span> goo_canvas_item_get_requested_height
1832
+ (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
1833
+ <em class="parameter"><code><a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
1834
+ <em class="parameter"><code><span class="type">gdouble</span> width</code></em>);</pre>
1835
+ <p>
1836
+ This function is only intended to be used when implementing new canvas
1837
+ items, specifically layout items such as <a class="link" href="GooCanvasTable.html" title="GooCanvasTable"><span class="type">GooCanvasTable</span></a>.
1838
+ </p>
1839
+ <p>
1840
+ It gets the requested height of a child item, assuming it is allocated the
1841
+ given width. This is useful for text items whose requested height may change
1842
+ depending on the allocated width.
1843
+ </p>
1844
+ <div class="variablelist"><table border="0">
1845
+ <col align="left" valign="top">
1846
+ <tbody>
1847
+ <tr>
1848
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
1849
+ <td>a <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a>.
1850
+ </td>
1851
+ </tr>
1852
+ <tr>
1853
+ <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
1854
+ <td>a cairo context.
1855
+ </td>
1856
+ </tr>
1857
+ <tr>
1858
+ <td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
1859
+ <td>the width that the item may be allocated.
1860
+ </td>
1861
+ </tr>
1862
+ <tr>
1863
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1864
+ <td> the requested height of the item, given the allocated width,
1865
+ or <code class="literal">-1</code> if the item doesn't support this method or its height doesn't
1866
+ change when allocated different widths.
1867
+ </td>
1868
+ </tr>
1869
+ </tbody>
1870
+ </table></div>
1871
+ </div>
1872
+ <hr>
1873
+ <div class="refsect2" title="goo_canvas_item_allocate_area ()">
1874
+ <a name="goo-canvas-item-allocate-area"></a><h3>goo_canvas_item_allocate_area ()</h3>
1875
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_allocate_area (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
1876
+ <em class="parameter"><code><a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
1877
+ <em class="parameter"><code>const <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasBounds" title="GooCanvasBounds"><span class="type">GooCanvasBounds</span></a> *requested_area</code></em>,
1878
+ <em class="parameter"><code>const <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasBounds" title="GooCanvasBounds"><span class="type">GooCanvasBounds</span></a> *allocated_area</code></em>,
1879
+ <em class="parameter"><code><span class="type">gdouble</span> x_offset</code></em>,
1880
+ <em class="parameter"><code><span class="type">gdouble</span> y_offset</code></em>);</pre>
1881
+ <p>
1882
+ This function is only intended to be used when implementing new canvas
1883
+ items, specifically layout items such as <a class="link" href="GooCanvasTable.html" title="GooCanvasTable"><span class="type">GooCanvasTable</span></a>.
1884
+ </p>
1885
+ <p>
1886
+ It allocates an area to a child <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a>.
1887
+ </p>
1888
+ <p>
1889
+ Note that the parent layout item will use a transform to move each of its
1890
+ children for the layout, so there is no need for the child item to
1891
+ reposition itself. It only needs to recalculate its device bounds.
1892
+ </p>
1893
+ <p>
1894
+ To help recalculate the item's device bounds, the <em class="parameter"><code>x_offset</code></em> and <em class="parameter"><code>y_offset</code></em>
1895
+ of the child item's allocated position from its requested position are
1896
+ provided. Simple items can just add these to their bounds.
1897
+ </p>
1898
+ <div class="variablelist"><table border="0">
1899
+ <col align="left" valign="top">
1900
+ <tbody>
1901
+ <tr>
1902
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
1903
+ <td>a <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a>.
1904
+ </td>
1905
+ </tr>
1906
+ <tr>
1907
+ <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
1908
+ <td>a cairo context.
1909
+ </td>
1910
+ </tr>
1911
+ <tr>
1912
+ <td><p><span class="term"><em class="parameter"><code>requested_area</code></em> :</span></p></td>
1913
+ <td>the area that the item originally requested, in the
1914
+ parent's coordinate space.
1915
+ </td>
1916
+ </tr>
1917
+ <tr>
1918
+ <td><p><span class="term"><em class="parameter"><code>allocated_area</code></em> :</span></p></td>
1919
+ <td>the area that the item has been allocated, in the parent's
1920
+ coordinate space.
1921
+ </td>
1922
+ </tr>
1923
+ <tr>
1924
+ <td><p><span class="term"><em class="parameter"><code>x_offset</code></em> :</span></p></td>
1925
+ <td>the x offset of the allocated area from the requested area in
1926
+ the device coordinate space.
1927
+ </td>
1928
+ </tr>
1929
+ <tr>
1930
+ <td><p><span class="term"><em class="parameter"><code>y_offset</code></em> :</span></p></td>
1931
+ <td>the y offset of the allocated area from the requested area in
1932
+ the device coordinate space.
1933
+ </td>
1934
+ </tr>
1935
+ </tbody>
1936
+ </table></div>
1937
+ </div>
1938
+ <hr>
1939
+ <div class="refsect2" title="goo_canvas_item_get_items_at ()">
1940
+ <a name="goo-canvas-item-get-items-at"></a><h3>goo_canvas_item_get_items_at ()</h3>
1941
+ <pre class="programlisting"><span class="returnvalue">GList</span>* goo_canvas_item_get_items_at (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
1942
+ <em class="parameter"><code><span class="type">gdouble</span> x</code></em>,
1943
+ <em class="parameter"><code><span class="type">gdouble</span> y</code></em>,
1944
+ <em class="parameter"><code><a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
1945
+ <em class="parameter"><code><span class="type">gboolean</span> is_pointer_event</code></em>,
1946
+ <em class="parameter"><code><span class="type">gboolean</span> parent_is_visible</code></em>,
1947
+ <em class="parameter"><code><span class="type">GList</span> *found_items</code></em>);</pre>
1948
+ <p>
1949
+ This function is only intended to be used when implementing new canvas
1950
+ items, specifically container items such as <a class="link" href="GooCanvasGroup.html" title="GooCanvasGroup"><span class="type">GooCanvasGroup</span></a>.
1951
+ </p>
1952
+ <p>
1953
+ It gets the items at the given point.
1954
+ </p>
1955
+ <div class="variablelist"><table border="0">
1956
+ <col align="left" valign="top">
1957
+ <tbody>
1958
+ <tr>
1959
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
1960
+ <td>a <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a>.
1961
+ </td>
1962
+ </tr>
1963
+ <tr>
1964
+ <td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
1965
+ <td>the x coordinate of the point.
1966
+ </td>
1967
+ </tr>
1968
+ <tr>
1969
+ <td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
1970
+ <td>the y coordinate of the point.
1971
+ </td>
1972
+ </tr>
1973
+ <tr>
1974
+ <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
1975
+ <td>a cairo contect.
1976
+ </td>
1977
+ </tr>
1978
+ <tr>
1979
+ <td><p><span class="term"><em class="parameter"><code>is_pointer_event</code></em> :</span></p></td>
1980
+ <td>
1981
+ <code class="literal">TRUE</code> if the "pointer-events" properties of items should
1982
+ be used to determine which parts of the item are tested.
1983
+ </td>
1984
+ </tr>
1985
+ <tr>
1986
+ <td><p><span class="term"><em class="parameter"><code>parent_is_visible</code></em> :</span></p></td>
1987
+ <td>
1988
+ <code class="literal">TRUE</code> if the parent item is visible (which
1989
+ implies that all ancestors are also visible).
1990
+ </td>
1991
+ </tr>
1992
+ <tr>
1993
+ <td><p><span class="term"><em class="parameter"><code>found_items</code></em> :</span></p></td>
1994
+ <td>the list of items found so far.
1995
+ </td>
1996
+ </tr>
1997
+ <tr>
1998
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1999
+ <td> the <em class="parameter"><code>found_items</code></em> list, with any more found items added onto
2000
+ the start of the list, leaving the top item first.
2001
+ </td>
2002
+ </tr>
2003
+ </tbody>
2004
+ </table></div>
2005
+ </div>
2006
+ <hr>
2007
+ <div class="refsect2" title="goo_canvas_item_paint ()">
2008
+ <a name="goo-canvas-item-paint"></a><h3>goo_canvas_item_paint ()</h3>
2009
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_paint (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
2010
+ <em class="parameter"><code><a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
2011
+ <em class="parameter"><code>const <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasBounds" title="GooCanvasBounds"><span class="type">GooCanvasBounds</span></a> *bounds</code></em>,
2012
+ <em class="parameter"><code><span class="type">gdouble</span> scale</code></em>);</pre>
2013
+ <p>
2014
+ This function is only intended to be used when implementing new canvas
2015
+ items, specifically container items such as <a class="link" href="GooCanvasGroup.html" title="GooCanvasGroup"><span class="type">GooCanvasGroup</span></a>.
2016
+ </p>
2017
+ <p>
2018
+ It paints the item and all children if they intersect the given bounds.
2019
+ </p>
2020
+ <p>
2021
+ Note that the <em class="parameter"><code>scale</code></em> argument may be different to the current scale in the
2022
+ <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a>, e.g. when the canvas is being printed.
2023
+ </p>
2024
+ <div class="variablelist"><table border="0">
2025
+ <col align="left" valign="top">
2026
+ <tbody>
2027
+ <tr>
2028
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
2029
+ <td>a <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a>.
2030
+ </td>
2031
+ </tr>
2032
+ <tr>
2033
+ <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
2034
+ <td>a cairo context.
2035
+ </td>
2036
+ </tr>
2037
+ <tr>
2038
+ <td><p><span class="term"><em class="parameter"><code>bounds</code></em> :</span></p></td>
2039
+ <td>the bounds that need to be repainted, in device space.
2040
+ </td>
2041
+ </tr>
2042
+ <tr>
2043
+ <td><p><span class="term"><em class="parameter"><code>scale</code></em> :</span></p></td>
2044
+ <td>the scale to use to determine whether an item should be painted.
2045
+ See <a class="link" href="GooCanvasItem.html#GooCanvasItem--visibility-threshold" title='The "visibility-threshold" property'><span class="type">"visibility-threshold"</span></a>.
2046
+ </td>
2047
+ </tr>
2048
+ </tbody>
2049
+ </table></div>
2050
+ </div>
2051
+ <hr>
2052
+ <div class="refsect2" title="goo_canvas_item_class_install_child_property ()">
2053
+ <a name="goo-canvas-item-class-install-child-property"></a><h3>goo_canvas_item_class_install_child_property ()</h3>
2054
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_class_install_child_property
2055
+ (<em class="parameter"><code><span class="type">GObjectClass</span> *iclass</code></em>,
2056
+ <em class="parameter"><code><span class="type">guint</span> property_id</code></em>,
2057
+ <em class="parameter"><code><span class="type">GParamSpec</span> *pspec</code></em>);</pre>
2058
+ <p>
2059
+ This function is only intended to be used when implementing new canvas
2060
+ items, specifically layout container items such as <a class="link" href="GooCanvasTable.html" title="GooCanvasTable"><span class="type">GooCanvasTable</span></a>.
2061
+ </p>
2062
+ <p>
2063
+ It installs a child property on a canvas item class.
2064
+ </p>
2065
+ <div class="variablelist"><table border="0">
2066
+ <col align="left" valign="top">
2067
+ <tbody>
2068
+ <tr>
2069
+ <td><p><span class="term"><em class="parameter"><code>iclass</code></em> :</span></p></td>
2070
+ <td>a <span class="type">GObjectClass</span>
2071
+ </td>
2072
+ </tr>
2073
+ <tr>
2074
+ <td><p><span class="term"><em class="parameter"><code>property_id</code></em> :</span></p></td>
2075
+ <td>the id for the property
2076
+ </td>
2077
+ </tr>
2078
+ <tr>
2079
+ <td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td>
2080
+ <td>the <span class="type">GParamSpec</span> for the property
2081
+ </td>
2082
+ </tr>
2083
+ </tbody>
2084
+ </table></div>
2085
+ </div>
2086
+ <hr>
2087
+ <div class="refsect2" title="goo_canvas_item_class_list_child_properties ()">
2088
+ <a name="goo-canvas-item-class-list-child-properties"></a><h3>goo_canvas_item_class_list_child_properties ()</h3>
2089
+ <pre class="programlisting"><span class="returnvalue">GParamSpec</span>** goo_canvas_item_class_list_child_properties
2090
+ (<em class="parameter"><code><span class="type">GObjectClass</span> *iclass</code></em>,
2091
+ <em class="parameter"><code><span class="type">guint</span> *n_properties</code></em>);</pre>
2092
+ <p>
2093
+ This function is only intended to be used when implementing new canvas
2094
+ items, specifically layout container items such as <a class="link" href="GooCanvasTable.html" title="GooCanvasTable"><span class="type">GooCanvasTable</span></a>.
2095
+ </p>
2096
+ <p>
2097
+ It returns all child properties of a canvas item class.
2098
+ </p>
2099
+ <div class="variablelist"><table border="0">
2100
+ <col align="left" valign="top">
2101
+ <tbody>
2102
+ <tr>
2103
+ <td><p><span class="term"><em class="parameter"><code>iclass</code></em> :</span></p></td>
2104
+ <td>a <span class="type">GObjectClass</span>
2105
+ </td>
2106
+ </tr>
2107
+ <tr>
2108
+ <td><p><span class="term"><em class="parameter"><code>n_properties</code></em> :</span></p></td>
2109
+ <td>location to return the number of child properties found
2110
+ </td>
2111
+ </tr>
2112
+ <tr>
2113
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2114
+ <td>a newly allocated array of <span class="type">GParamSpec</span>*. The array must be
2115
+ freed with <code class="function">g_free()</code>.
2116
+ </td>
2117
+ </tr>
2118
+ </tbody>
2119
+ </table></div>
2120
+ </div>
2121
+ <hr>
2122
+ <div class="refsect2" title="goo_canvas_item_class_find_child_property ()">
2123
+ <a name="goo-canvas-item-class-find-child-property"></a><h3>goo_canvas_item_class_find_child_property ()</h3>
2124
+ <pre class="programlisting"><span class="returnvalue">GParamSpec</span>* goo_canvas_item_class_find_child_property
2125
+ (<em class="parameter"><code><span class="type">GObjectClass</span> *iclass</code></em>,
2126
+ <em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>);</pre>
2127
+ <p>
2128
+ This function is only intended to be used when implementing new canvas
2129
+ items, specifically layout container items such as <a class="link" href="GooCanvasTable.html" title="GooCanvasTable"><span class="type">GooCanvasTable</span></a>.
2130
+ </p>
2131
+ <p>
2132
+ It finds a child property of a canvas item class by name.
2133
+ </p>
2134
+ <div class="variablelist"><table border="0">
2135
+ <col align="left" valign="top">
2136
+ <tbody>
2137
+ <tr>
2138
+ <td><p><span class="term"><em class="parameter"><code>iclass</code></em> :</span></p></td>
2139
+ <td>a <span class="type">GObjectClass</span>
2140
+ </td>
2141
+ </tr>
2142
+ <tr>
2143
+ <td><p><span class="term"><em class="parameter"><code>property_name</code></em> :</span></p></td>
2144
+ <td>the name of the child property to find
2145
+ </td>
2146
+ </tr>
2147
+ <tr>
2148
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2149
+ <td>the <span class="type">GParamSpec</span> of the child property or <code class="literal">NULL</code> if <em class="parameter"><code>class</code></em> has no
2150
+ child property with that name.
2151
+ </td>
2152
+ </tr>
2153
+ </tbody>
2154
+ </table></div>
2155
+ </div>
2156
+ <hr>
2157
+ <div class="refsect2" title="goo_canvas_item_get_child_property ()">
2158
+ <a name="goo-canvas-item-get-child-property"></a><h3>goo_canvas_item_get_child_property ()</h3>
2159
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_get_child_property (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
2160
+ <em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *child</code></em>,
2161
+ <em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>,
2162
+ <em class="parameter"><code><span class="type">GValue</span> *value</code></em>);</pre>
2163
+ <p>
2164
+ Gets a child property of <em class="parameter"><code>child</code></em>.
2165
+ </p>
2166
+ <div class="variablelist"><table border="0">
2167
+ <col align="left" valign="top">
2168
+ <tbody>
2169
+ <tr>
2170
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
2171
+ <td>a <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a>.
2172
+ </td>
2173
+ </tr>
2174
+ <tr>
2175
+ <td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
2176
+ <td>a child <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a>.
2177
+ </td>
2178
+ </tr>
2179
+ <tr>
2180
+ <td><p><span class="term"><em class="parameter"><code>property_name</code></em> :</span></p></td>
2181
+ <td>the name of the child property to get.
2182
+ </td>
2183
+ </tr>
2184
+ <tr>
2185
+ <td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
2186
+ <td>a location to return the value.
2187
+ </td>
2188
+ </tr>
2189
+ </tbody>
2190
+ </table></div>
2191
+ </div>
2192
+ <hr>
2193
+ <div class="refsect2" title="goo_canvas_item_set_child_property ()">
2194
+ <a name="goo-canvas-item-set-child-property"></a><h3>goo_canvas_item_set_child_property ()</h3>
2195
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_set_child_property (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
2196
+ <em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *child</code></em>,
2197
+ <em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>,
2198
+ <em class="parameter"><code>const <span class="type">GValue</span> *value</code></em>);</pre>
2199
+ <p>
2200
+ Sets a child property of <em class="parameter"><code>child</code></em>.
2201
+ </p>
2202
+ <div class="variablelist"><table border="0">
2203
+ <col align="left" valign="top">
2204
+ <tbody>
2205
+ <tr>
2206
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
2207
+ <td>a <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a>.
2208
+ </td>
2209
+ </tr>
2210
+ <tr>
2211
+ <td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
2212
+ <td>a child <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a>.
2213
+ </td>
2214
+ </tr>
2215
+ <tr>
2216
+ <td><p><span class="term"><em class="parameter"><code>property_name</code></em> :</span></p></td>
2217
+ <td>the name of the child property to set.
2218
+ </td>
2219
+ </tr>
2220
+ <tr>
2221
+ <td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
2222
+ <td>the value to set the property to.
2223
+ </td>
2224
+ </tr>
2225
+ </tbody>
2226
+ </table></div>
2227
+ </div>
2228
+ <hr>
2229
+ <div class="refsect2" title="goo_canvas_item_get_child_properties ()">
2230
+ <a name="goo-canvas-item-get-child-properties"></a><h3>goo_canvas_item_get_child_properties ()</h3>
2231
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_get_child_properties
2232
+ (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
2233
+ <em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *child</code></em>,
2234
+ <em class="parameter"><code>...</code></em>);</pre>
2235
+ <p>
2236
+ Gets the values of one or more child properties of <em class="parameter"><code>child</code></em>.
2237
+ </p>
2238
+ <div class="variablelist"><table border="0">
2239
+ <col align="left" valign="top">
2240
+ <tbody>
2241
+ <tr>
2242
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
2243
+ <td>a <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a>.
2244
+ </td>
2245
+ </tr>
2246
+ <tr>
2247
+ <td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
2248
+ <td>a child <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a>.
2249
+ </td>
2250
+ </tr>
2251
+ <tr>
2252
+ <td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
2253
+ <td>pairs of property names and value pointers, and a terminating <code class="literal">NULL</code>.
2254
+ </td>
2255
+ </tr>
2256
+ </tbody>
2257
+ </table></div>
2258
+ </div>
2259
+ <hr>
2260
+ <div class="refsect2" title="goo_canvas_item_get_child_properties_valist ()">
2261
+ <a name="goo-canvas-item-get-child-properties-valist"></a><h3>goo_canvas_item_get_child_properties_valist ()</h3>
2262
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_get_child_properties_valist
2263
+ (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
2264
+ <em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *child</code></em>,
2265
+ <em class="parameter"><code><span class="type">va_list</span> var_args</code></em>);</pre>
2266
+ <p>
2267
+ Gets the values of one or more child properties of <em class="parameter"><code>child</code></em>.
2268
+ </p>
2269
+ <div class="variablelist"><table border="0">
2270
+ <col align="left" valign="top">
2271
+ <tbody>
2272
+ <tr>
2273
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
2274
+ <td>a <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a>.
2275
+ </td>
2276
+ </tr>
2277
+ <tr>
2278
+ <td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
2279
+ <td>a child <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a>.
2280
+ </td>
2281
+ </tr>
2282
+ <tr>
2283
+ <td><p><span class="term"><em class="parameter"><code>var_args</code></em> :</span></p></td>
2284
+ <td>pairs of property names and value pointers, and a terminating
2285
+ <code class="literal">NULL</code>.
2286
+ </td>
2287
+ </tr>
2288
+ </tbody>
2289
+ </table></div>
2290
+ </div>
2291
+ <hr>
2292
+ <div class="refsect2" title="goo_canvas_item_set_child_properties ()">
2293
+ <a name="goo-canvas-item-set-child-properties"></a><h3>goo_canvas_item_set_child_properties ()</h3>
2294
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_set_child_properties
2295
+ (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
2296
+ <em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *child</code></em>,
2297
+ <em class="parameter"><code>...</code></em>);</pre>
2298
+ <p>
2299
+ Sets the values of one or more child properties of <em class="parameter"><code>child</code></em>.
2300
+ </p>
2301
+ <div class="variablelist"><table border="0">
2302
+ <col align="left" valign="top">
2303
+ <tbody>
2304
+ <tr>
2305
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
2306
+ <td>a <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a>.
2307
+ </td>
2308
+ </tr>
2309
+ <tr>
2310
+ <td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
2311
+ <td>a child <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a>.
2312
+ </td>
2313
+ </tr>
2314
+ <tr>
2315
+ <td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
2316
+ <td>pairs of property names and values, and a terminating <code class="literal">NULL</code>.
2317
+ </td>
2318
+ </tr>
2319
+ </tbody>
2320
+ </table></div>
2321
+ </div>
2322
+ <hr>
2323
+ <div class="refsect2" title="goo_canvas_item_set_child_properties_valist ()">
2324
+ <a name="goo-canvas-item-set-child-properties-valist"></a><h3>goo_canvas_item_set_child_properties_valist ()</h3>
2325
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_set_child_properties_valist
2326
+ (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item</code></em>,
2327
+ <em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *child</code></em>,
2328
+ <em class="parameter"><code><span class="type">va_list</span> var_args</code></em>);</pre>
2329
+ <p>
2330
+ Sets the values of one or more child properties of <em class="parameter"><code>child</code></em>.
2331
+ </p>
2332
+ <div class="variablelist"><table border="0">
2333
+ <col align="left" valign="top">
2334
+ <tbody>
2335
+ <tr>
2336
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
2337
+ <td>a <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a>.
2338
+ </td>
2339
+ </tr>
2340
+ <tr>
2341
+ <td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
2342
+ <td>a child <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a>.
2343
+ </td>
2344
+ </tr>
2345
+ <tr>
2346
+ <td><p><span class="term"><em class="parameter"><code>var_args</code></em> :</span></p></td>
2347
+ <td>pairs of property names and values, and a terminating <code class="literal">NULL</code>.
2348
+ </td>
2349
+ </tr>
2350
+ </tbody>
2351
+ </table></div>
2352
+ </div>
2353
+ </div>
2354
+ <div class="refsect1" title="Property Details">
2355
+ <a name="GooCanvasItem.property-details"></a><h2>Property Details</h2>
2356
+ <div class="refsect2" title='The "can-focus" property'>
2357
+ <a name="GooCanvasItem--can-focus"></a><h3>The <code class="literal">"can-focus"</code> property</h3>
2358
+ <pre class="programlisting"> "can-focus" <span class="type">gboolean</span> : Read / Write</pre>
2359
+ <p>If the item can take the keyboard focus.</p>
2360
+ <p>Default value: FALSE</p>
2361
+ </div>
2362
+ <hr>
2363
+ <div class="refsect2" title='The "description" property'>
2364
+ <a name="GooCanvasItem--description"></a><h3>The <code class="literal">"description"</code> property</h3>
2365
+ <pre class="programlisting"> "description" <span class="type">gchar</span>* : Read / Write</pre>
2366
+ <p>A description of the item for use by assistive technologies.</p>
2367
+ <p>Default value: NULL</p>
2368
+ </div>
2369
+ <hr>
2370
+ <div class="refsect2" title='The "parent" property'>
2371
+ <a name="GooCanvasItem--parent"></a><h3>The <code class="literal">"parent"</code> property</h3>
2372
+ <pre class="programlisting"> "parent" <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a>* : Read / Write</pre>
2373
+ <p>The parent item.</p>
2374
+ </div>
2375
+ <hr>
2376
+ <div class="refsect2" title='The "pointer-events" property'>
2377
+ <a name="GooCanvasItem--pointer-events"></a><h3>The <code class="literal">"pointer-events"</code> property</h3>
2378
+ <pre class="programlisting"> "pointer-events" <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasPointerEvents" title="enum GooCanvasPointerEvents"><span class="type">GooCanvasPointerEvents</span></a> : Read / Write</pre>
2379
+ <p>Specifies when the item receives pointer events.</p>
2380
+ <p>Default value: GOO_CANVAS_EVENTS_VISIBLE_MASK|GOO_CANVAS_EVENTS_PAINTED_MASK|GOO_CANVAS_EVENTS_FILL_MASK|GOO_CANVAS_EVENTS_STROKE_MASK</p>
2381
+ </div>
2382
+ <hr>
2383
+ <div class="refsect2" title='The "title" property'>
2384
+ <a name="GooCanvasItem--title"></a><h3>The <code class="literal">"title"</code> property</h3>
2385
+ <pre class="programlisting"> "title" <span class="type">gchar</span>* : Read / Write</pre>
2386
+ <p>A short context-rich description of the item for use by assistive technologies.</p>
2387
+ <p>Default value: NULL</p>
2388
+ </div>
2389
+ <hr>
2390
+ <div class="refsect2" title='The "tooltip" property'>
2391
+ <a name="GooCanvasItem--tooltip"></a><h3>The <code class="literal">"tooltip"</code> property</h3>
2392
+ <pre class="programlisting"> "tooltip" <span class="type">gchar</span>* : Read / Write</pre>
2393
+ <p>The tooltip to display for the item.</p>
2394
+ <p>Default value: NULL</p>
2395
+ </div>
2396
+ <hr>
2397
+ <div class="refsect2" title='The "transform" property'>
2398
+ <a name="GooCanvasItem--transform"></a><h3>The <code class="literal">"transform"</code> property</h3>
2399
+ <pre class="programlisting"> "transform" <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoMatrix" title="GooCairoMatrix"><span class="type">GooCairoMatrix</span></a>* : Read / Write</pre>
2400
+ <p>The transformation matrix of the item.</p>
2401
+ </div>
2402
+ <hr>
2403
+ <div class="refsect2" title='The "visibility" property'>
2404
+ <a name="GooCanvasItem--visibility"></a><h3>The <code class="literal">"visibility"</code> property</h3>
2405
+ <pre class="programlisting"> "visibility" <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasItemVisibility" title="enum GooCanvasItemVisibility"><span class="type">GooCanvasItemVisibility</span></a> : Read / Write</pre>
2406
+ <p>When the canvas item is visible.</p>
2407
+ <p>Default value: GOO_CANVAS_ITEM_VISIBLE</p>
2408
+ </div>
2409
+ <hr>
2410
+ <div class="refsect2" title='The "visibility-threshold" property'>
2411
+ <a name="GooCanvasItem--visibility-threshold"></a><h3>The <code class="literal">"visibility-threshold"</code> property</h3>
2412
+ <pre class="programlisting"> "visibility-threshold" <span class="type">gdouble</span> : Read / Write</pre>
2413
+ <p>The scale threshold at which the item becomes visible.</p>
2414
+ <p>Allowed values: &gt;= 0</p>
2415
+ <p>Default value: 0</p>
2416
+ </div>
2417
+ </div>
2418
+ <div class="refsect1" title="Signal Details">
2419
+ <a name="GooCanvasItem.signal-details"></a><h2>Signal Details</h2>
2420
+ <div class="refsect2" title='The "animation-finished" signal'>
2421
+ <a name="GooCanvasItem-animation-finished"></a><h3>The <code class="literal">"animation-finished"</code> signal</h3>
2422
+ <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item,
2423
+ <span class="type">gboolean</span> stopped,
2424
+ <span class="type">gpointer</span> user_data) : Run Last</pre>
2425
+ <p>
2426
+ Emitted when the item animation has finished.
2427
+ </p>
2428
+ <div class="variablelist"><table border="0">
2429
+ <col align="left" valign="top">
2430
+ <tbody>
2431
+ <tr>
2432
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
2433
+ <td>the item that received the signal.
2434
+ </td>
2435
+ </tr>
2436
+ <tr>
2437
+ <td><p><span class="term"><em class="parameter"><code>stopped</code></em> :</span></p></td>
2438
+ <td>if the animation was explicitly stopped.
2439
+ </td>
2440
+ </tr>
2441
+ <tr>
2442
+ <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
2443
+ <td>user data set when the signal handler was connected.</td>
2444
+ </tr>
2445
+ </tbody>
2446
+ </table></div>
2447
+ </div>
2448
+ <hr>
2449
+ <div class="refsect2" title='The "button-press-event" signal'>
2450
+ <a name="GooCanvasItem-button-press-event"></a><h3>The <code class="literal">"button-press-event"</code> signal</h3>
2451
+ <pre class="programlisting"><span class="returnvalue">gboolean</span> user_function (<a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item,
2452
+ <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *target_item,
2453
+ <span class="type">GdkEventButton</span> *event,
2454
+ <span class="type">gpointer</span> user_data) : Run Last</pre>
2455
+ <p>
2456
+ Emitted when a mouse button is pressed in an item.
2457
+ </p>
2458
+ <div class="variablelist"><table border="0">
2459
+ <col align="left" valign="top">
2460
+ <tbody>
2461
+ <tr>
2462
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
2463
+ <td>the item that received the signal.
2464
+ </td>
2465
+ </tr>
2466
+ <tr>
2467
+ <td><p><span class="term"><em class="parameter"><code>target_item</code></em> :</span></p></td>
2468
+ <td>the target of the event.
2469
+ </td>
2470
+ </tr>
2471
+ <tr>
2472
+ <td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
2473
+ <td>the event data. The x &amp; y fields contain the mouse position
2474
+ in the item's coordinate space. The x_root &amp; y_root fields contain
2475
+ the same coordinates converted to the canvas coordinate space.
2476
+ </td>
2477
+ </tr>
2478
+ <tr>
2479
+ <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
2480
+ <td>user data set when the signal handler was connected.</td>
2481
+ </tr>
2482
+ <tr>
2483
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2484
+ <td> <code class="literal">TRUE</code> to stop the signal emission, or <code class="literal">FALSE</code> to let it
2485
+ continue.
2486
+ </td>
2487
+ </tr>
2488
+ </tbody>
2489
+ </table></div>
2490
+ </div>
2491
+ <hr>
2492
+ <div class="refsect2" title='The "button-release-event" signal'>
2493
+ <a name="GooCanvasItem-button-release-event"></a><h3>The <code class="literal">"button-release-event"</code> signal</h3>
2494
+ <pre class="programlisting"><span class="returnvalue">gboolean</span> user_function (<a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item,
2495
+ <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *target_item,
2496
+ <span class="type">GdkEventButton</span> *event,
2497
+ <span class="type">gpointer</span> user_data) : Run Last</pre>
2498
+ <p>
2499
+ Emitted when a mouse button is released in an item.
2500
+ </p>
2501
+ <div class="variablelist"><table border="0">
2502
+ <col align="left" valign="top">
2503
+ <tbody>
2504
+ <tr>
2505
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
2506
+ <td>the item that received the signal.
2507
+ </td>
2508
+ </tr>
2509
+ <tr>
2510
+ <td><p><span class="term"><em class="parameter"><code>target_item</code></em> :</span></p></td>
2511
+ <td>the target of the event.
2512
+ </td>
2513
+ </tr>
2514
+ <tr>
2515
+ <td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
2516
+ <td>the event data. The x &amp; y fields contain the mouse position
2517
+ in the item's coordinate space. The x_root &amp; y_root fields contain
2518
+ the same coordinates converted to the canvas coordinate space.
2519
+ </td>
2520
+ </tr>
2521
+ <tr>
2522
+ <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
2523
+ <td>user data set when the signal handler was connected.</td>
2524
+ </tr>
2525
+ <tr>
2526
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2527
+ <td> <code class="literal">TRUE</code> to stop the signal emission, or <code class="literal">FALSE</code> to let it
2528
+ continue.
2529
+ </td>
2530
+ </tr>
2531
+ </tbody>
2532
+ </table></div>
2533
+ </div>
2534
+ <hr>
2535
+ <div class="refsect2" title='The "child-notify" signal'>
2536
+ <a name="GooCanvasItem-child-notify"></a><h3>The <code class="literal">"child-notify"</code> signal</h3>
2537
+ <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item,
2538
+ <span class="type">GParamSpec</span> *pspec,
2539
+ <span class="type">gpointer</span> user_data) : Run First / No Recursion / Has Details / No Hooks</pre>
2540
+ <p>
2541
+ Emitted for each child property that has changed.
2542
+ The signal's detail holds the property name.
2543
+ </p>
2544
+ <div class="variablelist"><table border="0">
2545
+ <col align="left" valign="top">
2546
+ <tbody>
2547
+ <tr>
2548
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
2549
+ <td>the item that received the signal.
2550
+ </td>
2551
+ </tr>
2552
+ <tr>
2553
+ <td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td>
2554
+ <td>the <span class="type">GParamSpec</span> of the changed child property.
2555
+ </td>
2556
+ </tr>
2557
+ <tr>
2558
+ <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
2559
+ <td>user data set when the signal handler was connected.</td>
2560
+ </tr>
2561
+ </tbody>
2562
+ </table></div>
2563
+ </div>
2564
+ <hr>
2565
+ <div class="refsect2" title='The "enter-notify-event" signal'>
2566
+ <a name="GooCanvasItem-enter-notify-event"></a><h3>The <code class="literal">"enter-notify-event"</code> signal</h3>
2567
+ <pre class="programlisting"><span class="returnvalue">gboolean</span> user_function (<a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item,
2568
+ <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *target_item,
2569
+ <span class="type">GdkEventCrossing</span> *event,
2570
+ <span class="type">gpointer</span> user_data) : Run Last</pre>
2571
+ <p>
2572
+ Emitted when the mouse enters an item.
2573
+ </p>
2574
+ <div class="variablelist"><table border="0">
2575
+ <col align="left" valign="top">
2576
+ <tbody>
2577
+ <tr>
2578
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
2579
+ <td>the item that received the signal.
2580
+ </td>
2581
+ </tr>
2582
+ <tr>
2583
+ <td><p><span class="term"><em class="parameter"><code>target_item</code></em> :</span></p></td>
2584
+ <td>the target of the event.
2585
+ </td>
2586
+ </tr>
2587
+ <tr>
2588
+ <td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
2589
+ <td>the event data. The x &amp; y fields contain the mouse position
2590
+ in the item's coordinate space. The x_root &amp; y_root fields contain
2591
+ the same coordinates converted to the canvas coordinate space.
2592
+ </td>
2593
+ </tr>
2594
+ <tr>
2595
+ <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
2596
+ <td>user data set when the signal handler was connected.</td>
2597
+ </tr>
2598
+ <tr>
2599
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2600
+ <td> <code class="literal">TRUE</code> to stop the signal emission, or <code class="literal">FALSE</code> to let it
2601
+ continue.
2602
+ </td>
2603
+ </tr>
2604
+ </tbody>
2605
+ </table></div>
2606
+ </div>
2607
+ <hr>
2608
+ <div class="refsect2" title='The "focus-in-event" signal'>
2609
+ <a name="GooCanvasItem-focus-in-event"></a><h3>The <code class="literal">"focus-in-event"</code> signal</h3>
2610
+ <pre class="programlisting"><span class="returnvalue">gboolean</span> user_function (<a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item,
2611
+ <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *target_item,
2612
+ <span class="type">GdkEventFocus</span> *event,
2613
+ <span class="type">gpointer</span> user_data) : Run Last</pre>
2614
+ <p>
2615
+ Emitted when the item receives the keyboard focus.
2616
+ </p>
2617
+ <div class="variablelist"><table border="0">
2618
+ <col align="left" valign="top">
2619
+ <tbody>
2620
+ <tr>
2621
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
2622
+ <td>the item that received the signal.
2623
+ </td>
2624
+ </tr>
2625
+ <tr>
2626
+ <td><p><span class="term"><em class="parameter"><code>target_item</code></em> :</span></p></td>
2627
+ <td>the target of the event.
2628
+ </td>
2629
+ </tr>
2630
+ <tr>
2631
+ <td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
2632
+ <td>the event data.
2633
+ </td>
2634
+ </tr>
2635
+ <tr>
2636
+ <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
2637
+ <td>user data set when the signal handler was connected.</td>
2638
+ </tr>
2639
+ <tr>
2640
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2641
+ <td> <code class="literal">TRUE</code> to stop the signal emission, or <code class="literal">FALSE</code> to let it
2642
+ continue.
2643
+ </td>
2644
+ </tr>
2645
+ </tbody>
2646
+ </table></div>
2647
+ </div>
2648
+ <hr>
2649
+ <div class="refsect2" title='The "focus-out-event" signal'>
2650
+ <a name="GooCanvasItem-focus-out-event"></a><h3>The <code class="literal">"focus-out-event"</code> signal</h3>
2651
+ <pre class="programlisting"><span class="returnvalue">gboolean</span> user_function (<a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item,
2652
+ <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *target_item,
2653
+ <span class="type">GdkEventFocus</span> *event,
2654
+ <span class="type">gpointer</span> user_data) : Run Last</pre>
2655
+ <p>
2656
+ Emitted when the item loses the keyboard focus.
2657
+ </p>
2658
+ <div class="variablelist"><table border="0">
2659
+ <col align="left" valign="top">
2660
+ <tbody>
2661
+ <tr>
2662
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
2663
+ <td>the item that received the signal.
2664
+ </td>
2665
+ </tr>
2666
+ <tr>
2667
+ <td><p><span class="term"><em class="parameter"><code>target_item</code></em> :</span></p></td>
2668
+ <td>the target of the event.
2669
+ </td>
2670
+ </tr>
2671
+ <tr>
2672
+ <td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
2673
+ <td>the event data.
2674
+ </td>
2675
+ </tr>
2676
+ <tr>
2677
+ <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
2678
+ <td>user data set when the signal handler was connected.</td>
2679
+ </tr>
2680
+ <tr>
2681
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2682
+ <td> <code class="literal">TRUE</code> to stop the signal emission, or <code class="literal">FALSE</code> to let it
2683
+ continue.
2684
+ </td>
2685
+ </tr>
2686
+ </tbody>
2687
+ </table></div>
2688
+ </div>
2689
+ <hr>
2690
+ <div class="refsect2" title='The "grab-broken-event" signal'>
2691
+ <a name="GooCanvasItem-grab-broken-event"></a><h3>The <code class="literal">"grab-broken-event"</code> signal</h3>
2692
+ <pre class="programlisting"><span class="returnvalue">gboolean</span> user_function (<a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item,
2693
+ <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *target_item,
2694
+ <span class="type">GdkEvent</span> *event,
2695
+ <span class="type">gpointer</span> user_data) : Run Last</pre>
2696
+ <p>
2697
+ Emitted when the item's keyboard or pointer grab was lost
2698
+ unexpectedly.
2699
+ </p>
2700
+ <div class="variablelist"><table border="0">
2701
+ <col align="left" valign="top">
2702
+ <tbody>
2703
+ <tr>
2704
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
2705
+ <td>the item that received the signal.
2706
+ </td>
2707
+ </tr>
2708
+ <tr>
2709
+ <td><p><span class="term"><em class="parameter"><code>target_item</code></em> :</span></p></td>
2710
+ <td>the target of the event.
2711
+ </td>
2712
+ </tr>
2713
+ <tr>
2714
+ <td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
2715
+ <td>the event data.
2716
+ </td>
2717
+ </tr>
2718
+ <tr>
2719
+ <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
2720
+ <td>user data set when the signal handler was connected.</td>
2721
+ </tr>
2722
+ <tr>
2723
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2724
+ <td> <code class="literal">TRUE</code> to stop the signal emission, or <code class="literal">FALSE</code> to let it
2725
+ continue.
2726
+ </td>
2727
+ </tr>
2728
+ </tbody>
2729
+ </table></div>
2730
+ </div>
2731
+ <hr>
2732
+ <div class="refsect2" title='The "key-press-event" signal'>
2733
+ <a name="GooCanvasItem-key-press-event"></a><h3>The <code class="literal">"key-press-event"</code> signal</h3>
2734
+ <pre class="programlisting"><span class="returnvalue">gboolean</span> user_function (<a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item,
2735
+ <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *target_item,
2736
+ <span class="type">GdkEventKey</span> *event,
2737
+ <span class="type">gpointer</span> user_data) : Run Last</pre>
2738
+ <p>
2739
+ Emitted when a key is pressed and the item has the keyboard
2740
+ focus.
2741
+ </p>
2742
+ <div class="variablelist"><table border="0">
2743
+ <col align="left" valign="top">
2744
+ <tbody>
2745
+ <tr>
2746
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
2747
+ <td>the item that received the signal.
2748
+ </td>
2749
+ </tr>
2750
+ <tr>
2751
+ <td><p><span class="term"><em class="parameter"><code>target_item</code></em> :</span></p></td>
2752
+ <td>the target of the event.
2753
+ </td>
2754
+ </tr>
2755
+ <tr>
2756
+ <td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
2757
+ <td>the event data.
2758
+ </td>
2759
+ </tr>
2760
+ <tr>
2761
+ <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
2762
+ <td>user data set when the signal handler was connected.</td>
2763
+ </tr>
2764
+ <tr>
2765
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2766
+ <td> <code class="literal">TRUE</code> to stop the signal emission, or <code class="literal">FALSE</code> to let it
2767
+ continue.
2768
+ </td>
2769
+ </tr>
2770
+ </tbody>
2771
+ </table></div>
2772
+ </div>
2773
+ <hr>
2774
+ <div class="refsect2" title='The "key-release-event" signal'>
2775
+ <a name="GooCanvasItem-key-release-event"></a><h3>The <code class="literal">"key-release-event"</code> signal</h3>
2776
+ <pre class="programlisting"><span class="returnvalue">gboolean</span> user_function (<a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item,
2777
+ <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *target_item,
2778
+ <span class="type">GdkEventKey</span> *event,
2779
+ <span class="type">gpointer</span> user_data) : Run Last</pre>
2780
+ <p>
2781
+ Emitted when a key is released and the item has the keyboard
2782
+ focus.
2783
+ </p>
2784
+ <div class="variablelist"><table border="0">
2785
+ <col align="left" valign="top">
2786
+ <tbody>
2787
+ <tr>
2788
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
2789
+ <td>the item that received the signal.
2790
+ </td>
2791
+ </tr>
2792
+ <tr>
2793
+ <td><p><span class="term"><em class="parameter"><code>target_item</code></em> :</span></p></td>
2794
+ <td>the target of the event.
2795
+ </td>
2796
+ </tr>
2797
+ <tr>
2798
+ <td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
2799
+ <td>the event data.
2800
+ </td>
2801
+ </tr>
2802
+ <tr>
2803
+ <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
2804
+ <td>user data set when the signal handler was connected.</td>
2805
+ </tr>
2806
+ <tr>
2807
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2808
+ <td> <code class="literal">TRUE</code> to stop the signal emission, or <code class="literal">FALSE</code> to let it
2809
+ continue.
2810
+ </td>
2811
+ </tr>
2812
+ </tbody>
2813
+ </table></div>
2814
+ </div>
2815
+ <hr>
2816
+ <div class="refsect2" title='The "leave-notify-event" signal'>
2817
+ <a name="GooCanvasItem-leave-notify-event"></a><h3>The <code class="literal">"leave-notify-event"</code> signal</h3>
2818
+ <pre class="programlisting"><span class="returnvalue">gboolean</span> user_function (<a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item,
2819
+ <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *target_item,
2820
+ <span class="type">GdkEventCrossing</span> *event,
2821
+ <span class="type">gpointer</span> user_data) : Run Last</pre>
2822
+ <p>
2823
+ Emitted when the mouse leaves an item.
2824
+ </p>
2825
+ <div class="variablelist"><table border="0">
2826
+ <col align="left" valign="top">
2827
+ <tbody>
2828
+ <tr>
2829
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
2830
+ <td>the item that received the signal.
2831
+ </td>
2832
+ </tr>
2833
+ <tr>
2834
+ <td><p><span class="term"><em class="parameter"><code>target_item</code></em> :</span></p></td>
2835
+ <td>the target of the event.
2836
+ </td>
2837
+ </tr>
2838
+ <tr>
2839
+ <td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
2840
+ <td>the event data. The x &amp; y fields contain the mouse position
2841
+ in the item's coordinate space. The x_root &amp; y_root fields contain
2842
+ the same coordinates converted to the canvas coordinate space.
2843
+ </td>
2844
+ </tr>
2845
+ <tr>
2846
+ <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
2847
+ <td>user data set when the signal handler was connected.</td>
2848
+ </tr>
2849
+ <tr>
2850
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2851
+ <td> <code class="literal">TRUE</code> to stop the signal emission, or <code class="literal">FALSE</code> to let it
2852
+ continue.
2853
+ </td>
2854
+ </tr>
2855
+ </tbody>
2856
+ </table></div>
2857
+ </div>
2858
+ <hr>
2859
+ <div class="refsect2" title='The "motion-notify-event" signal'>
2860
+ <a name="GooCanvasItem-motion-notify-event"></a><h3>The <code class="literal">"motion-notify-event"</code> signal</h3>
2861
+ <pre class="programlisting"><span class="returnvalue">gboolean</span> user_function (<a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item,
2862
+ <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *target_item,
2863
+ <span class="type">GdkEventMotion</span> *event,
2864
+ <span class="type">gpointer</span> user_data) : Run Last</pre>
2865
+ <p>
2866
+ Emitted when the mouse moves within an item.
2867
+ </p>
2868
+ <div class="variablelist"><table border="0">
2869
+ <col align="left" valign="top">
2870
+ <tbody>
2871
+ <tr>
2872
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
2873
+ <td>the item that received the signal.
2874
+ </td>
2875
+ </tr>
2876
+ <tr>
2877
+ <td><p><span class="term"><em class="parameter"><code>target_item</code></em> :</span></p></td>
2878
+ <td>the target of the event.
2879
+ </td>
2880
+ </tr>
2881
+ <tr>
2882
+ <td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
2883
+ <td>the event data. The x &amp; y fields contain the mouse position
2884
+ in the item's coordinate space. The x_root &amp; y_root fields contain
2885
+ the same coordinates converted to the canvas coordinate space.
2886
+ </td>
2887
+ </tr>
2888
+ <tr>
2889
+ <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
2890
+ <td>user data set when the signal handler was connected.</td>
2891
+ </tr>
2892
+ <tr>
2893
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2894
+ <td> <code class="literal">TRUE</code> to stop the signal emission, or <code class="literal">FALSE</code> to let it
2895
+ continue.
2896
+ </td>
2897
+ </tr>
2898
+ </tbody>
2899
+ </table></div>
2900
+ </div>
2901
+ <hr>
2902
+ <div class="refsect2" title='The "query-tooltip" signal'>
2903
+ <a name="GooCanvasItem-query-tooltip"></a><h3>The <code class="literal">"query-tooltip"</code> signal</h3>
2904
+ <pre class="programlisting"><span class="returnvalue">gboolean</span> user_function (<a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item,
2905
+ <span class="type">gdouble</span> x,
2906
+ <span class="type">gdouble</span> y,
2907
+ <span class="type">gboolean</span> keyboard_mode,
2908
+ <span class="type">GtkTooltip</span> *tooltip,
2909
+ <span class="type">gpointer</span> user_data) : Run Last</pre>
2910
+ <p>
2911
+ Emitted when the mouse has paused over the item for a certain amount
2912
+ of time, or the tooltip was requested via the keyboard.
2913
+ </p>
2914
+ <p>
2915
+ Note that if <em class="parameter"><code>keyboard_mode</code></em> is <code class="literal">TRUE</code>, the values of <em class="parameter"><code>x</code></em> and <em class="parameter"><code>y</code></em> are
2916
+ undefined and should not be used.
2917
+ </p>
2918
+ <p>
2919
+ If the item wants to display a tooltip it should update <em class="parameter"><code>tooltip</code></em>
2920
+ and return <code class="literal">TRUE</code>.
2921
+ </p>
2922
+ <div class="variablelist"><table border="0">
2923
+ <col align="left" valign="top">
2924
+ <tbody>
2925
+ <tr>
2926
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
2927
+ <td>the item which received the signal.
2928
+ </td>
2929
+ </tr>
2930
+ <tr>
2931
+ <td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
2932
+ <td>the x coordinate of the mouse.
2933
+ </td>
2934
+ </tr>
2935
+ <tr>
2936
+ <td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
2937
+ <td>the y coordinate of the mouse.
2938
+ </td>
2939
+ </tr>
2940
+ <tr>
2941
+ <td><p><span class="term"><em class="parameter"><code>keyboard_mode</code></em> :</span></p></td>
2942
+ <td>
2943
+ <code class="literal">TRUE</code> if the tooltip was triggered using the keyboard.
2944
+ </td>
2945
+ </tr>
2946
+ <tr>
2947
+ <td><p><span class="term"><em class="parameter"><code>tooltip</code></em> :</span></p></td>
2948
+ <td>a <span class="type">GtkTooltip</span>.
2949
+ </td>
2950
+ </tr>
2951
+ <tr>
2952
+ <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
2953
+ <td>user data set when the signal handler was connected.</td>
2954
+ </tr>
2955
+ <tr>
2956
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2957
+ <td> <code class="literal">TRUE</code> if the item has set a tooltip to show.
2958
+ </td>
2959
+ </tr>
2960
+ </tbody>
2961
+ </table></div>
2962
+ </div>
2963
+ <hr>
2964
+ <div class="refsect2" title='The "scroll-event" signal'>
2965
+ <a name="GooCanvasItem-scroll-event"></a><h3>The <code class="literal">"scroll-event"</code> signal</h3>
2966
+ <pre class="programlisting"><span class="returnvalue">gboolean</span> user_function (<a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *item,
2967
+ <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *target_item,
2968
+ <span class="type">GdkEventScroll</span> *event,
2969
+ <span class="type">gpointer</span> user_data) : Run Last</pre>
2970
+ <p>
2971
+ Emitted when a button in the 4 to 7 range is pressed. Wheel mice are
2972
+ usually configured to generate button press events for buttons 4 and 5
2973
+ when the wheel is turned in an item.
2974
+ </p>
2975
+ <div class="variablelist"><table border="0">
2976
+ <col align="left" valign="top">
2977
+ <tbody>
2978
+ <tr>
2979
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
2980
+ <td>the item that received the signal.
2981
+ </td>
2982
+ </tr>
2983
+ <tr>
2984
+ <td><p><span class="term"><em class="parameter"><code>target_item</code></em> :</span></p></td>
2985
+ <td>the target of the event.
2986
+ </td>
2987
+ </tr>
2988
+ <tr>
2989
+ <td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
2990
+ <td>the event data. The x &amp; y fields contain the mouse position
2991
+ in the item's coordinate space. The x_root &amp; y_root fields contain
2992
+ the same coordinates converted to the canvas coordinate space.
2993
+ </td>
2994
+ </tr>
2995
+ <tr>
2996
+ <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
2997
+ <td>user data set when the signal handler was connected.</td>
2998
+ </tr>
2999
+ <tr>
3000
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
3001
+ <td> <code class="literal">TRUE</code> to stop the signal emission, or <code class="literal">FALSE</code> to let it
3002
+ continue.
3003
+ </td>
3004
+ </tr>
3005
+ </tbody>
3006
+ </table></div>
3007
+ </div>
3008
+ </div>
3009
+ </div>
3010
+ <div class="footer">
3011
+ <hr>
3012
+ Generated by GTK-Doc V1.14</div>
3013
+ </body>
3014
+ </html>