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,1764 @@
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>GooCanvasItemModel</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="GooCanvasItem.html" title="GooCanvasItem">
10
+ <link rel="next" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple">
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="GooCanvasItem.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="GooCanvasItemSimple.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="#GooCanvasItemModel.synopsis" class="shortcut">Top</a>
25
+  | 
26
+ <a href="#GooCanvasItemModel.description" class="shortcut">Description</a>
27
+  | 
28
+ <a href="#GooCanvasItemModel.object-hierarchy" class="shortcut">Object Hierarchy</a>
29
+  | 
30
+ <a href="#GooCanvasItemModel.prerequisites" class="shortcut">Prerequisites</a>
31
+  | 
32
+ <a href="#GooCanvasItemModel.implementations" class="shortcut">Known Implementations</a>
33
+  | 
34
+ <a href="#GooCanvasItemModel.properties" class="shortcut">Properties</a>
35
+  | 
36
+ <a href="#GooCanvasItemModel.signals" class="shortcut">Signals</a>
37
+ </td></tr>
38
+ </table>
39
+ <div class="refentry" title="GooCanvasItemModel">
40
+ <a name="GooCanvasItemModel"></a><div class="titlepage"></div>
41
+ <div class="refnamediv"><table width="100%"><tr>
42
+ <td valign="top">
43
+ <h2><span class="refentrytitle"><a name="GooCanvasItemModel.top_of_page"></a>GooCanvasItemModel</span></h2>
44
+ <p>GooCanvasItemModel — the interface for canvas item models.</p>
45
+ </td>
46
+ <td valign="top" align="right"></td>
47
+ </tr></table></div>
48
+ <div class="refsynopsisdiv" title="Synopsis">
49
+ <a name="GooCanvasItemModel.synopsis"></a><h2>Synopsis</h2>
50
+ <pre class="synopsis"> <a class="link" href="GooCanvasItemModel.html#GooCanvasItemModel-struct" title="GooCanvasItemModel">GooCanvasItemModel</a>;
51
+ <a class="link" href="GooCanvasItemModel.html#GooCanvasItemModelIface" title="GooCanvasItemModelIface">GooCanvasItemModelIface</a>;
52
+
53
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItemModel.html#goo-canvas-item-model-translate" title="goo_canvas_item_model_translate ()">goo_canvas_item_model_translate</a> (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</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="GooCanvasItemModel.html#goo-canvas-item-model-scale" title="goo_canvas_item_model_scale ()">goo_canvas_item_model_scale</a> (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</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="GooCanvasItemModel.html#goo-canvas-item-model-rotate" title="goo_canvas_item_model_rotate ()">goo_canvas_item_model_rotate</a> (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</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="GooCanvasItemModel.html#goo-canvas-item-model-skew-x" title="goo_canvas_item_model_skew_x ()">goo_canvas_item_model_skew_x</a> (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</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="GooCanvasItemModel.html#goo-canvas-item-model-skew-y" title="goo_canvas_item_model_skew_y ()">goo_canvas_item_model_skew_y</a> (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</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="GooCanvasItemModel.html#goo-canvas-item-model-get-transform" title="goo_canvas_item_model_get_transform ()">goo_canvas_item_model_get_transform</a> (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</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="GooCanvasItemModel.html#goo-canvas-item-model-set-transform" title="goo_canvas_item_model_set_transform ()">goo_canvas_item_model_set_transform</a> (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</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="GooCanvasItemModel.html#goo-canvas-item-model-get-simple-transform" title="goo_canvas_item_model_get_simple_transform ()">goo_canvas_item_model_get_simple_transform</a>
76
+ (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</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="GooCanvasItemModel.html#goo-canvas-item-model-set-simple-transform" title="goo_canvas_item_model_set_simple_transform ()">goo_canvas_item_model_set_simple_transform</a>
82
+ (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</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
+
88
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItemModel.html#goo-canvas-item-model-animate" title="goo_canvas_item_model_animate ()">goo_canvas_item_model_animate</a> (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
89
+ <em class="parameter"><code><span class="type">gdouble</span> x</code></em>,
90
+ <em class="parameter"><code><span class="type">gdouble</span> y</code></em>,
91
+ <em class="parameter"><code><span class="type">gdouble</span> scale</code></em>,
92
+ <em class="parameter"><code><span class="type">gdouble</span> degrees</code></em>,
93
+ <em class="parameter"><code><span class="type">gboolean</span> absolute</code></em>,
94
+ <em class="parameter"><code><span class="type">gint</span> duration</code></em>,
95
+ <em class="parameter"><code><span class="type">gint</span> step_time</code></em>,
96
+ <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>);
97
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItemModel.html#goo-canvas-item-model-stop-animation" title="goo_canvas_item_model_stop_animation ()">goo_canvas_item_model_stop_animation</a>
98
+ (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>);
99
+
100
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItemModel.html#goo-canvas-item-model-raise" title="goo_canvas_item_model_raise ()">goo_canvas_item_model_raise</a> (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
101
+ <em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *above</code></em>);
102
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItemModel.html#goo-canvas-item-model-lower" title="goo_canvas_item_model_lower ()">goo_canvas_item_model_lower</a> (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
103
+ <em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *below</code></em>);
104
+
105
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItemModel.html#goo-canvas-item-model-remove" title="goo_canvas_item_model_remove ()">goo_canvas_item_model_remove</a> (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>);
106
+
107
+ <a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="returnvalue">GooCanvasItemModel</span></a>* <a class="link" href="GooCanvasItemModel.html#goo-canvas-item-model-get-parent" title="goo_canvas_item_model_get_parent ()">goo_canvas_item_model_get_parent</a> (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>);
108
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItemModel.html#goo-canvas-item-model-set-parent" title="goo_canvas_item_model_set_parent ()">goo_canvas_item_model_set_parent</a> (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
109
+ <em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *parent</code></em>);
110
+
111
+ <span class="returnvalue">gboolean</span> <a class="link" href="GooCanvasItemModel.html#goo-canvas-item-model-is-container" title="goo_canvas_item_model_is_container ()">goo_canvas_item_model_is_container</a> (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>);
112
+ <span class="returnvalue">gint</span> <a class="link" href="GooCanvasItemModel.html#goo-canvas-item-model-get-n-children" title="goo_canvas_item_model_get_n_children ()">goo_canvas_item_model_get_n_children</a>
113
+ (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>);
114
+ <a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="returnvalue">GooCanvasItemModel</span></a>* <a class="link" href="GooCanvasItemModel.html#goo-canvas-item-model-get-child" title="goo_canvas_item_model_get_child ()">goo_canvas_item_model_get_child</a> (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
115
+ <em class="parameter"><code><span class="type">gint</span> child_num</code></em>);
116
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItemModel.html#goo-canvas-item-model-add-child" title="goo_canvas_item_model_add_child ()">goo_canvas_item_model_add_child</a> (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
117
+ <em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *child</code></em>,
118
+ <em class="parameter"><code><span class="type">gint</span> position</code></em>);
119
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItemModel.html#goo-canvas-item-model-move-child" title="goo_canvas_item_model_move_child ()">goo_canvas_item_model_move_child</a> (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
120
+ <em class="parameter"><code><span class="type">gint</span> old_position</code></em>,
121
+ <em class="parameter"><code><span class="type">gint</span> new_position</code></em>);
122
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItemModel.html#goo-canvas-item-model-remove-child" title="goo_canvas_item_model_remove_child ()">goo_canvas_item_model_remove_child</a> (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
123
+ <em class="parameter"><code><span class="type">gint</span> child_num</code></em>);
124
+ <span class="returnvalue">gint</span> <a class="link" href="GooCanvasItemModel.html#goo-canvas-item-model-find-child" title="goo_canvas_item_model_find_child ()">goo_canvas_item_model_find_child</a> (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
125
+ <em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *child</code></em>);
126
+
127
+ <a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="returnvalue">GooCanvasStyle</span></a>* <a class="link" href="GooCanvasItemModel.html#goo-canvas-item-model-get-style" title="goo_canvas_item_model_get_style ()">goo_canvas_item_model_get_style</a> (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>);
128
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItemModel.html#goo-canvas-item-model-set-style" title="goo_canvas_item_model_set_style ()">goo_canvas_item_model_set_style</a> (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
129
+ <em class="parameter"><code><a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a> *style</code></em>);
130
+
131
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItemModel.html#goo-canvas-item-model-class-install-child-property" title="goo_canvas_item_model_class_install_child_property ()">goo_canvas_item_model_class_install_child_property</a>
132
+ (<em class="parameter"><code><span class="type">GObjectClass</span> *mclass</code></em>,
133
+ <em class="parameter"><code><span class="type">guint</span> property_id</code></em>,
134
+ <em class="parameter"><code><span class="type">GParamSpec</span> *pspec</code></em>);
135
+ <span class="returnvalue">GParamSpec</span>** <a class="link" href="GooCanvasItemModel.html#goo-canvas-item-model-class-list-child-properties" title="goo_canvas_item_model_class_list_child_properties ()">goo_canvas_item_model_class_list_child_properties</a>
136
+ (<em class="parameter"><code><span class="type">GObjectClass</span> *mclass</code></em>,
137
+ <em class="parameter"><code><span class="type">guint</span> *n_properties</code></em>);
138
+ <span class="returnvalue">GParamSpec</span>* <a class="link" href="GooCanvasItemModel.html#goo-canvas-item-model-class-find-child-property" title="goo_canvas_item_model_class_find_child_property ()">goo_canvas_item_model_class_find_child_property</a>
139
+ (<em class="parameter"><code><span class="type">GObjectClass</span> *mclass</code></em>,
140
+ <em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>);
141
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItemModel.html#goo-canvas-item-model-get-child-property" title="goo_canvas_item_model_get_child_property ()">goo_canvas_item_model_get_child_property</a>
142
+ (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
143
+ <em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *child</code></em>,
144
+ <em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>,
145
+ <em class="parameter"><code><span class="type">GValue</span> *value</code></em>);
146
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItemModel.html#goo-canvas-item-model-set-child-property" title="goo_canvas_item_model_set_child_property ()">goo_canvas_item_model_set_child_property</a>
147
+ (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
148
+ <em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *child</code></em>,
149
+ <em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>,
150
+ <em class="parameter"><code>const <span class="type">GValue</span> *value</code></em>);
151
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItemModel.html#goo-canvas-item-model-get-child-properties" title="goo_canvas_item_model_get_child_properties ()">goo_canvas_item_model_get_child_properties</a>
152
+ (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
153
+ <em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *child</code></em>,
154
+ <em class="parameter"><code>...</code></em>);
155
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItemModel.html#goo-canvas-item-model-get-child-properties-valist" title="goo_canvas_item_model_get_child_properties_valist ()">goo_canvas_item_model_get_child_properties_valist</a>
156
+ (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
157
+ <em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *child</code></em>,
158
+ <em class="parameter"><code><span class="type">va_list</span> var_args</code></em>);
159
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItemModel.html#goo-canvas-item-model-set-child-properties" title="goo_canvas_item_model_set_child_properties ()">goo_canvas_item_model_set_child_properties</a>
160
+ (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
161
+ <em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *child</code></em>,
162
+ <em class="parameter"><code>...</code></em>);
163
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasItemModel.html#goo-canvas-item-model-set-child-properties-valist" title="goo_canvas_item_model_set_child_properties_valist ()">goo_canvas_item_model_set_child_properties_valist</a>
164
+ (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
165
+ <em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *child</code></em>,
166
+ <em class="parameter"><code><span class="type">va_list</span> var_args</code></em>);
167
+ </pre>
168
+ </div>
169
+ <div class="refsect1" title="Object Hierarchy">
170
+ <a name="GooCanvasItemModel.object-hierarchy"></a><h2>Object Hierarchy</h2>
171
+ <pre class="synopsis">
172
+ GInterface
173
+ +----GooCanvasItemModel
174
+ </pre>
175
+ </div>
176
+ <div class="refsect1" title="Prerequisites">
177
+ <a name="GooCanvasItemModel.prerequisites"></a><h2>Prerequisites</h2>
178
+ <p>
179
+ GooCanvasItemModel requires
180
+ GObject.</p>
181
+ </div>
182
+ <div class="refsect1" title="Known Implementations">
183
+ <a name="GooCanvasItemModel.implementations"></a><h2>Known Implementations</h2>
184
+ <p>
185
+ GooCanvasItemModel is implemented by
186
+ <a class="link" href="GooCanvasEllipseModel.html" title="GooCanvasEllipseModel">GooCanvasEllipseModel</a>, <a class="link" href="GooCanvasGridModel.html" title="GooCanvasGridModel">GooCanvasGridModel</a>, <a class="link" href="GooCanvasGroupModel.html" title="GooCanvasGroupModel">GooCanvasGroupModel</a>, <a class="link" href="GooCanvasImageModel.html" title="GooCanvasImageModel">GooCanvasImageModel</a>, <a class="link" href="GooCanvasItemModelSimple.html" title="GooCanvasItemModelSimple">GooCanvasItemModelSimple</a>, <a class="link" href="GooCanvasPathModel.html" title="GooCanvasPathModel">GooCanvasPathModel</a>, <a class="link" href="GooCanvasPolylineModel.html" title="GooCanvasPolylineModel">GooCanvasPolylineModel</a>, <a class="link" href="GooCanvasRectModel.html" title="GooCanvasRectModel">GooCanvasRectModel</a>, <a class="link" href="GooCanvasTableModel.html" title="GooCanvasTableModel">GooCanvasTableModel</a> and <a class="link" href="GooCanvasTextModel.html" title="GooCanvasTextModel">GooCanvasTextModel</a>.</p>
187
+ </div>
188
+ <div class="refsect1" title="Properties">
189
+ <a name="GooCanvasItemModel.properties"></a><h2>Properties</h2>
190
+ <pre class="synopsis">
191
+ "<a class="link" href="GooCanvasItemModel.html#GooCanvasItemModel--can-focus" title='The "can-focus" property'>can-focus</a>" <span class="type">gboolean</span> : Read / Write
192
+ "<a class="link" href="GooCanvasItemModel.html#GooCanvasItemModel--description" title='The "description" property'>description</a>" <span class="type">gchar</span>* : Read / Write
193
+ "<a class="link" href="GooCanvasItemModel.html#GooCanvasItemModel--parent" title='The "parent" property'>parent</a>" <a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a>* : Read / Write
194
+ "<a class="link" href="GooCanvasItemModel.html#GooCanvasItemModel--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
195
+ "<a class="link" href="GooCanvasItemModel.html#GooCanvasItemModel--title" title='The "title" property'>title</a>" <span class="type">gchar</span>* : Read / Write
196
+ "<a class="link" href="GooCanvasItemModel.html#GooCanvasItemModel--tooltip" title='The "tooltip" property'>tooltip</a>" <span class="type">gchar</span>* : Read / Write
197
+ "<a class="link" href="GooCanvasItemModel.html#GooCanvasItemModel--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
198
+ "<a class="link" href="GooCanvasItemModel.html#GooCanvasItemModel--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
199
+ "<a class="link" href="GooCanvasItemModel.html#GooCanvasItemModel--visibility-threshold" title='The "visibility-threshold" property'>visibility-threshold</a>" <span class="type">gdouble</span> : Read / Write
200
+ </pre>
201
+ </div>
202
+ <div class="refsect1" title="Signals">
203
+ <a name="GooCanvasItemModel.signals"></a><h2>Signals</h2>
204
+ <pre class="synopsis">
205
+ "<a class="link" href="GooCanvasItemModel.html#GooCanvasItemModel-animation-finished" title='The "animation-finished" signal'>animation-finished</a>" : Run Last
206
+ "<a class="link" href="GooCanvasItemModel.html#GooCanvasItemModel-changed" title='The "changed" signal'>changed</a>" : Run Last
207
+ "<a class="link" href="GooCanvasItemModel.html#GooCanvasItemModel-child-added" title='The "child-added" signal'>child-added</a>" : Run Last
208
+ "<a class="link" href="GooCanvasItemModel.html#GooCanvasItemModel-child-moved" title='The "child-moved" signal'>child-moved</a>" : Run Last
209
+ "<a class="link" href="GooCanvasItemModel.html#GooCanvasItemModel-child-notify" title='The "child-notify" signal'>child-notify</a>" : Run First / No Recursion / Has Details / No Hooks
210
+ "<a class="link" href="GooCanvasItemModel.html#GooCanvasItemModel-child-removed" title='The "child-removed" signal'>child-removed</a>" : Run Last
211
+ </pre>
212
+ </div>
213
+ <div class="refsect1" title="Description">
214
+ <a name="GooCanvasItemModel.description"></a><h2>Description</h2>
215
+ <p>
216
+ <a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> defines the interface that models for canvas items must
217
+ implement, and contains methods for operating on canvas item models.
218
+ </p>
219
+ </div>
220
+ <div class="refsect1" title="Details">
221
+ <a name="GooCanvasItemModel.details"></a><h2>Details</h2>
222
+ <div class="refsect2" title="GooCanvasItemModel">
223
+ <a name="GooCanvasItemModel-struct"></a><h3>GooCanvasItemModel</h3>
224
+ <pre class="programlisting">typedef struct _GooCanvasItemModel GooCanvasItemModel;</pre>
225
+ <p>
226
+ <a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> is a typedef used for objects that implement the
227
+ <a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> interface.
228
+ </p>
229
+ <p>
230
+ (There is no actual <a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> struct, since it is only an interface.
231
+ But using '<a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a>' is more helpful than using '<span class="type">GObject</span>'.)
232
+ </p>
233
+ </div>
234
+ <hr>
235
+ <div class="refsect2" title="GooCanvasItemModelIface">
236
+ <a name="GooCanvasItemModelIface"></a><h3>GooCanvasItemModelIface</h3>
237
+ <pre class="programlisting">typedef struct {
238
+ /* Virtual methods that group models must implement. */
239
+ gint (* get_n_children) (GooCanvasItemModel *model);
240
+ GooCanvasItemModel* (* get_child) (GooCanvasItemModel *model,
241
+ gint child_num);
242
+
243
+ /* Virtual methods that group models may implement. */
244
+ void (* add_child) (GooCanvasItemModel *model,
245
+ GooCanvasItemModel *child,
246
+ gint position);
247
+ void (* move_child) (GooCanvasItemModel *model,
248
+ gint old_position,
249
+ gint new_position);
250
+ void (* remove_child) (GooCanvasItemModel *model,
251
+ gint child_num);
252
+ void (* get_child_property) (GooCanvasItemModel *model,
253
+ GooCanvasItemModel *child,
254
+ guint property_id,
255
+ GValue *value,
256
+ GParamSpec *pspec);
257
+ void (* set_child_property) (GooCanvasItemModel *item,
258
+ GooCanvasItemModel *child,
259
+ guint property_id,
260
+ const GValue *value,
261
+ GParamSpec *pspec);
262
+
263
+ /* Virtual methods that all item models must implement. */
264
+ GooCanvasItemModel* (* get_parent) (GooCanvasItemModel *model);
265
+ void (* set_parent) (GooCanvasItemModel *model,
266
+ GooCanvasItemModel *parent);
267
+
268
+ GooCanvasItem* (* create_item) (GooCanvasItemModel *model,
269
+ GooCanvas *canvas);
270
+
271
+ /* Virtual methods that all item models may implement. */
272
+ gboolean (* get_transform) (GooCanvasItemModel *model,
273
+ cairo_matrix_t *transform);
274
+ void (* set_transform) (GooCanvasItemModel *model,
275
+ const cairo_matrix_t *transform);
276
+ GooCanvasStyle* (* get_style) (GooCanvasItemModel *model);
277
+ void (* set_style) (GooCanvasItemModel *model,
278
+ GooCanvasStyle *style);
279
+
280
+ /* Signals. */
281
+ void (* child_added) (GooCanvasItemModel *model,
282
+ gint child_num);
283
+ void (* child_moved) (GooCanvasItemModel *model,
284
+ gint old_child_num,
285
+ gint new_child_num);
286
+ void (* child_removed) (GooCanvasItemModel *model,
287
+ gint child_num);
288
+ void (* changed) (GooCanvasItemModel *model,
289
+ gboolean recompute_bounds);
290
+ void (* child_notify) (GooCanvasItemModel *model,
291
+ GParamSpec *pspec);
292
+
293
+ void (* animation_finished) (GooCanvasItemModel *model,
294
+ gboolean stopped);
295
+ } GooCanvasItemModelIface;
296
+ </pre>
297
+ <p>
298
+ <span class="type">GooCanvasItemModelIFace</span> holds the virtual methods that make up the
299
+ <a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> interface.
300
+ </p>
301
+ <p>
302
+ Simple item models only need to implement the <code class="function">get_parent()</code>, <code class="function">set_parent()</code>
303
+ and <code class="function">create_item()</code> methods.
304
+ </p>
305
+ <p>
306
+ Items that support transforms should also implement <code class="function">get_transform()</code> and
307
+ <code class="function">set_transform()</code>. Items that support styles should implement <code class="function">get_style()</code>
308
+ and <code class="function">set_style()</code>.
309
+ </p>
310
+ <p>
311
+ Container items must implement <code class="function">get_n_children()</code> and <code class="function">get_child()</code>.
312
+ Containers that support dynamic changes to their children should implement
313
+ <code class="function">add_child()</code>, <code class="function">move_child()</code> and <code class="function">remove_child()</code>.
314
+ Layout containers like <a class="link" href="GooCanvasTable.html" title="GooCanvasTable"><span class="type">GooCanvasTable</span></a> may implement
315
+ <code class="function">get_child_property()</code> and <code class="function">set_child_property()</code>.
316
+ </p>
317
+ <div class="variablelist"><table border="0">
318
+ <col align="left" valign="top">
319
+ <tbody>
320
+ <tr>
321
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemModelIface.get-n-children"></a>get_n_children</code></em> ()</span></p></td>
322
+ <td>returns the number of children of the model.
323
+ </td>
324
+ </tr>
325
+ <tr>
326
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemModelIface.get-child"></a>get_child</code></em> ()</span></p></td>
327
+ <td>returns the child at the given index.
328
+ </td>
329
+ </tr>
330
+ <tr>
331
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemModelIface.add-child"></a>add_child</code></em> ()</span></p></td>
332
+ <td>adds a child.
333
+ </td>
334
+ </tr>
335
+ <tr>
336
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemModelIface.move-child"></a>move_child</code></em> ()</span></p></td>
337
+ <td>moves a child up or down the stacking order.
338
+ </td>
339
+ </tr>
340
+ <tr>
341
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemModelIface.remove-child"></a>remove_child</code></em> ()</span></p></td>
342
+ <td>removes a child.
343
+ </td>
344
+ </tr>
345
+ <tr>
346
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemModelIface.get-child-property"></a>get_child_property</code></em> ()</span></p></td>
347
+ <td>gets a child property of a given child model,
348
+ e.g. the "row" or "column" property of a model in a <a class="link" href="GooCanvasTableModel.html" title="GooCanvasTableModel"><span class="type">GooCanvasTableModel</span></a>.
349
+ </td>
350
+ </tr>
351
+ <tr>
352
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemModelIface.set-child-property"></a>set_child_property</code></em> ()</span></p></td>
353
+ <td>sets a child property for a given child model.
354
+ </td>
355
+ </tr>
356
+ <tr>
357
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemModelIface.get-parent"></a>get_parent</code></em> ()</span></p></td>
358
+ <td>gets the model's parent.
359
+ </td>
360
+ </tr>
361
+ <tr>
362
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemModelIface.set-parent"></a>set_parent</code></em> ()</span></p></td>
363
+ <td>sets the model's parent.
364
+ </td>
365
+ </tr>
366
+ <tr>
367
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemModelIface.create-item"></a>create_item</code></em> ()</span></p></td>
368
+ <td>creates a default canvas item to view the model.
369
+ </td>
370
+ </tr>
371
+ <tr>
372
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemModelIface.get-transform"></a>get_transform</code></em> ()</span></p></td>
373
+ <td>gets the model's transformation matrix.
374
+ </td>
375
+ </tr>
376
+ <tr>
377
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemModelIface.set-transform"></a>set_transform</code></em> ()</span></p></td>
378
+ <td>sets the model's transformation matrix.
379
+ </td>
380
+ </tr>
381
+ <tr>
382
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemModelIface.get-style"></a>get_style</code></em> ()</span></p></td>
383
+ <td>gets the model's style.
384
+ </td>
385
+ </tr>
386
+ <tr>
387
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemModelIface.set-style"></a>set_style</code></em> ()</span></p></td>
388
+ <td>sets the model's style.
389
+ </td>
390
+ </tr>
391
+ <tr>
392
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemModelIface.child-added"></a>child_added</code></em> ()</span></p></td>
393
+ <td>signal emitted when a child is added.
394
+ </td>
395
+ </tr>
396
+ <tr>
397
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemModelIface.child-moved"></a>child_moved</code></em> ()</span></p></td>
398
+ <td>signal emitted when a child is moved in the stacking order.
399
+ </td>
400
+ </tr>
401
+ <tr>
402
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemModelIface.child-removed"></a>child_removed</code></em> ()</span></p></td>
403
+ <td>signal emitted when a child is removed.
404
+ </td>
405
+ </tr>
406
+ <tr>
407
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemModelIface.changed"></a>changed</code></em> ()</span></p></td>
408
+ <td>signal emitted when the model has changed.
409
+ </td>
410
+ </tr>
411
+ <tr>
412
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemModelIface.child-notify"></a>child_notify</code></em> ()</span></p></td>
413
+ <td>signal emitted when a child property has changed.
414
+ </td>
415
+ </tr>
416
+ <tr>
417
+ <td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemModelIface.animation-finished"></a>animation_finished</code></em> ()</span></p></td>
418
+ <td>signal emitted when the model's animation has finished.
419
+ </td>
420
+ </tr>
421
+ </tbody>
422
+ </table></div>
423
+ </div>
424
+ <hr>
425
+ <div class="refsect2" title="goo_canvas_item_model_translate ()">
426
+ <a name="goo-canvas-item-model-translate"></a><h3>goo_canvas_item_model_translate ()</h3>
427
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_model_translate (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
428
+ <em class="parameter"><code><span class="type">gdouble</span> tx</code></em>,
429
+ <em class="parameter"><code><span class="type">gdouble</span> ty</code></em>);</pre>
430
+ <p>
431
+ Translates the origin of the model's coordinate system by the given amounts.
432
+ </p>
433
+ <div class="variablelist"><table border="0">
434
+ <col align="left" valign="top">
435
+ <tbody>
436
+ <tr>
437
+ <td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
438
+ <td>an item model.
439
+ </td>
440
+ </tr>
441
+ <tr>
442
+ <td><p><span class="term"><em class="parameter"><code>tx</code></em> :</span></p></td>
443
+ <td>the amount to move the origin in the horizontal direction.
444
+ </td>
445
+ </tr>
446
+ <tr>
447
+ <td><p><span class="term"><em class="parameter"><code>ty</code></em> :</span></p></td>
448
+ <td>the amount to move the origin in the vertical direction.
449
+ </td>
450
+ </tr>
451
+ </tbody>
452
+ </table></div>
453
+ </div>
454
+ <hr>
455
+ <div class="refsect2" title="goo_canvas_item_model_scale ()">
456
+ <a name="goo-canvas-item-model-scale"></a><h3>goo_canvas_item_model_scale ()</h3>
457
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_model_scale (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
458
+ <em class="parameter"><code><span class="type">gdouble</span> sx</code></em>,
459
+ <em class="parameter"><code><span class="type">gdouble</span> sy</code></em>);</pre>
460
+ <p>
461
+ Scales the model's coordinate system by the given amounts.
462
+ </p>
463
+ <div class="variablelist"><table border="0">
464
+ <col align="left" valign="top">
465
+ <tbody>
466
+ <tr>
467
+ <td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
468
+ <td>an item model.
469
+ </td>
470
+ </tr>
471
+ <tr>
472
+ <td><p><span class="term"><em class="parameter"><code>sx</code></em> :</span></p></td>
473
+ <td>the amount to scale the horizontal axis.
474
+ </td>
475
+ </tr>
476
+ <tr>
477
+ <td><p><span class="term"><em class="parameter"><code>sy</code></em> :</span></p></td>
478
+ <td>the amount to scale the vertical axis.
479
+ </td>
480
+ </tr>
481
+ </tbody>
482
+ </table></div>
483
+ </div>
484
+ <hr>
485
+ <div class="refsect2" title="goo_canvas_item_model_rotate ()">
486
+ <a name="goo-canvas-item-model-rotate"></a><h3>goo_canvas_item_model_rotate ()</h3>
487
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_model_rotate (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
488
+ <em class="parameter"><code><span class="type">gdouble</span> degrees</code></em>,
489
+ <em class="parameter"><code><span class="type">gdouble</span> cx</code></em>,
490
+ <em class="parameter"><code><span class="type">gdouble</span> cy</code></em>);</pre>
491
+ <p>
492
+ Rotates the model's coordinate system by the given amount, about the given
493
+ origin.
494
+ </p>
495
+ <div class="variablelist"><table border="0">
496
+ <col align="left" valign="top">
497
+ <tbody>
498
+ <tr>
499
+ <td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
500
+ <td>an item model.
501
+ </td>
502
+ </tr>
503
+ <tr>
504
+ <td><p><span class="term"><em class="parameter"><code>degrees</code></em> :</span></p></td>
505
+ <td>the clockwise angle of rotation.
506
+ </td>
507
+ </tr>
508
+ <tr>
509
+ <td><p><span class="term"><em class="parameter"><code>cx</code></em> :</span></p></td>
510
+ <td>the x coordinate of the origin of the rotation.
511
+ </td>
512
+ </tr>
513
+ <tr>
514
+ <td><p><span class="term"><em class="parameter"><code>cy</code></em> :</span></p></td>
515
+ <td>the y coordinate of the origin of the rotation.
516
+ </td>
517
+ </tr>
518
+ </tbody>
519
+ </table></div>
520
+ </div>
521
+ <hr>
522
+ <div class="refsect2" title="goo_canvas_item_model_skew_x ()">
523
+ <a name="goo-canvas-item-model-skew-x"></a><h3>goo_canvas_item_model_skew_x ()</h3>
524
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_model_skew_x (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
525
+ <em class="parameter"><code><span class="type">gdouble</span> degrees</code></em>,
526
+ <em class="parameter"><code><span class="type">gdouble</span> cx</code></em>,
527
+ <em class="parameter"><code><span class="type">gdouble</span> cy</code></em>);</pre>
528
+ <p>
529
+ Skews the model's coordinate system along the x axis by the given amount,
530
+ about the given origin.
531
+ </p>
532
+ <div class="variablelist"><table border="0">
533
+ <col align="left" valign="top">
534
+ <tbody>
535
+ <tr>
536
+ <td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
537
+ <td>an item model.
538
+ </td>
539
+ </tr>
540
+ <tr>
541
+ <td><p><span class="term"><em class="parameter"><code>degrees</code></em> :</span></p></td>
542
+ <td>the skew angle.
543
+ </td>
544
+ </tr>
545
+ <tr>
546
+ <td><p><span class="term"><em class="parameter"><code>cx</code></em> :</span></p></td>
547
+ <td>the x coordinate of the origin of the skew transform.
548
+ </td>
549
+ </tr>
550
+ <tr>
551
+ <td><p><span class="term"><em class="parameter"><code>cy</code></em> :</span></p></td>
552
+ <td>the y coordinate of the origin of the skew transform.
553
+ </td>
554
+ </tr>
555
+ </tbody>
556
+ </table></div>
557
+ </div>
558
+ <hr>
559
+ <div class="refsect2" title="goo_canvas_item_model_skew_y ()">
560
+ <a name="goo-canvas-item-model-skew-y"></a><h3>goo_canvas_item_model_skew_y ()</h3>
561
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_model_skew_y (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
562
+ <em class="parameter"><code><span class="type">gdouble</span> degrees</code></em>,
563
+ <em class="parameter"><code><span class="type">gdouble</span> cx</code></em>,
564
+ <em class="parameter"><code><span class="type">gdouble</span> cy</code></em>);</pre>
565
+ <p>
566
+ Skews the model's coordinate system along the y axis by the given amount,
567
+ about the given origin.
568
+ </p>
569
+ <div class="variablelist"><table border="0">
570
+ <col align="left" valign="top">
571
+ <tbody>
572
+ <tr>
573
+ <td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
574
+ <td>an item model.
575
+ </td>
576
+ </tr>
577
+ <tr>
578
+ <td><p><span class="term"><em class="parameter"><code>degrees</code></em> :</span></p></td>
579
+ <td>the skew angle.
580
+ </td>
581
+ </tr>
582
+ <tr>
583
+ <td><p><span class="term"><em class="parameter"><code>cx</code></em> :</span></p></td>
584
+ <td>the x coordinate of the origin of the skew transform.
585
+ </td>
586
+ </tr>
587
+ <tr>
588
+ <td><p><span class="term"><em class="parameter"><code>cy</code></em> :</span></p></td>
589
+ <td>the y coordinate of the origin of the skew transform.
590
+ </td>
591
+ </tr>
592
+ </tbody>
593
+ </table></div>
594
+ </div>
595
+ <hr>
596
+ <div class="refsect2" title="goo_canvas_item_model_get_transform ()">
597
+ <a name="goo-canvas-item-model-get-transform"></a><h3>goo_canvas_item_model_get_transform ()</h3>
598
+ <pre class="programlisting"><span class="returnvalue">gboolean</span> goo_canvas_item_model_get_transform (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
599
+ <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>
600
+ <p>
601
+ Gets the transformation matrix of an item model.
602
+ </p>
603
+ <div class="variablelist"><table border="0">
604
+ <col align="left" valign="top">
605
+ <tbody>
606
+ <tr>
607
+ <td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
608
+ <td>an item model.
609
+ </td>
610
+ </tr>
611
+ <tr>
612
+ <td><p><span class="term"><em class="parameter"><code>transform</code></em> :</span></p></td>
613
+ <td>the place to store the transform.
614
+ </td>
615
+ </tr>
616
+ <tr>
617
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
618
+ <td> <code class="literal">TRUE</code> if a transform is set.
619
+ </td>
620
+ </tr>
621
+ </tbody>
622
+ </table></div>
623
+ </div>
624
+ <hr>
625
+ <div class="refsect2" title="goo_canvas_item_model_set_transform ()">
626
+ <a name="goo-canvas-item-model-set-transform"></a><h3>goo_canvas_item_model_set_transform ()</h3>
627
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_model_set_transform (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
628
+ <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>
629
+ <p>
630
+ Sets the transformation matrix of an item model.
631
+ </p>
632
+ <div class="variablelist"><table border="0">
633
+ <col align="left" valign="top">
634
+ <tbody>
635
+ <tr>
636
+ <td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
637
+ <td>an item model.
638
+ </td>
639
+ </tr>
640
+ <tr>
641
+ <td><p><span class="term"><em class="parameter"><code>transform</code></em> :</span></p></td>
642
+ <td>the new transformation matrix, or <code class="literal">NULL</code> to reset the
643
+ transformation to the identity matrix.
644
+ </td>
645
+ </tr>
646
+ </tbody>
647
+ </table></div>
648
+ </div>
649
+ <hr>
650
+ <div class="refsect2" title="goo_canvas_item_model_get_simple_transform ()">
651
+ <a name="goo-canvas-item-model-get-simple-transform"></a><h3>goo_canvas_item_model_get_simple_transform ()</h3>
652
+ <pre class="programlisting"><span class="returnvalue">gboolean</span> goo_canvas_item_model_get_simple_transform
653
+ (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
654
+ <em class="parameter"><code><span class="type">gdouble</span> *x</code></em>,
655
+ <em class="parameter"><code><span class="type">gdouble</span> *y</code></em>,
656
+ <em class="parameter"><code><span class="type">gdouble</span> *scale</code></em>,
657
+ <em class="parameter"><code><span class="type">gdouble</span> *rotation</code></em>);</pre>
658
+ <p>
659
+ This function can be used to get the position, scale and rotation of an
660
+ item model, providing that the model has a simple transformation matrix
661
+ (e.g. set with <a class="link" href="GooCanvasItemModel.html#goo-canvas-item-model-set-simple-transform" title="goo_canvas_item_model_set_simple_transform ()"><code class="function">goo_canvas_item_model_set_simple_transform()</code></a>, or using a
662
+ combination of simple translate, scale and rotate operations). If the model
663
+ has a complex transformation matrix the results will be incorrect.
664
+ </p>
665
+ <div class="variablelist"><table border="0">
666
+ <col align="left" valign="top">
667
+ <tbody>
668
+ <tr>
669
+ <td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
670
+ <td>an item model.
671
+ </td>
672
+ </tr>
673
+ <tr>
674
+ <td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
675
+ <td>returns the x coordinate of the origin of the model's coordinate space.
676
+ </td>
677
+ </tr>
678
+ <tr>
679
+ <td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
680
+ <td>returns the y coordinate of the origin of the model's coordinate space.
681
+ </td>
682
+ </tr>
683
+ <tr>
684
+ <td><p><span class="term"><em class="parameter"><code>scale</code></em> :</span></p></td>
685
+ <td>returns the scale of the model.
686
+ </td>
687
+ </tr>
688
+ <tr>
689
+ <td><p><span class="term"><em class="parameter"><code>rotation</code></em> :</span></p></td>
690
+ <td>returns the clockwise rotation of the model, in degrees (0-360).
691
+ </td>
692
+ </tr>
693
+ <tr>
694
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
695
+ <td> <code class="literal">TRUE</code> if a transform is set.
696
+ </td>
697
+ </tr>
698
+ </tbody>
699
+ </table></div>
700
+ </div>
701
+ <hr>
702
+ <div class="refsect2" title="goo_canvas_item_model_set_simple_transform ()">
703
+ <a name="goo-canvas-item-model-set-simple-transform"></a><h3>goo_canvas_item_model_set_simple_transform ()</h3>
704
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_model_set_simple_transform
705
+ (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
706
+ <em class="parameter"><code><span class="type">gdouble</span> x</code></em>,
707
+ <em class="parameter"><code><span class="type">gdouble</span> y</code></em>,
708
+ <em class="parameter"><code><span class="type">gdouble</span> scale</code></em>,
709
+ <em class="parameter"><code><span class="type">gdouble</span> rotation</code></em>);</pre>
710
+ <p>
711
+ A convenience function to set the item model's transformation matrix.
712
+ </p>
713
+ <div class="variablelist"><table border="0">
714
+ <col align="left" valign="top">
715
+ <tbody>
716
+ <tr>
717
+ <td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
718
+ <td>an item model.
719
+ </td>
720
+ </tr>
721
+ <tr>
722
+ <td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
723
+ <td>the x coordinate of the origin of the model's coordinate space.
724
+ </td>
725
+ </tr>
726
+ <tr>
727
+ <td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
728
+ <td>the y coordinate of the origin of the model's coordinate space.
729
+ </td>
730
+ </tr>
731
+ <tr>
732
+ <td><p><span class="term"><em class="parameter"><code>scale</code></em> :</span></p></td>
733
+ <td>the scale of the model.
734
+ </td>
735
+ </tr>
736
+ <tr>
737
+ <td><p><span class="term"><em class="parameter"><code>rotation</code></em> :</span></p></td>
738
+ <td>the clockwise rotation of the model, in degrees.
739
+ </td>
740
+ </tr>
741
+ </tbody>
742
+ </table></div>
743
+ </div>
744
+ <hr>
745
+ <div class="refsect2" title="goo_canvas_item_model_animate ()">
746
+ <a name="goo-canvas-item-model-animate"></a><h3>goo_canvas_item_model_animate ()</h3>
747
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_model_animate (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
748
+ <em class="parameter"><code><span class="type">gdouble</span> x</code></em>,
749
+ <em class="parameter"><code><span class="type">gdouble</span> y</code></em>,
750
+ <em class="parameter"><code><span class="type">gdouble</span> scale</code></em>,
751
+ <em class="parameter"><code><span class="type">gdouble</span> degrees</code></em>,
752
+ <em class="parameter"><code><span class="type">gboolean</span> absolute</code></em>,
753
+ <em class="parameter"><code><span class="type">gint</span> duration</code></em>,
754
+ <em class="parameter"><code><span class="type">gint</span> step_time</code></em>,
755
+ <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>
756
+ <p>
757
+ Animates a model from its current position to the given offsets, scale
758
+ and rotation.
759
+ </p>
760
+ <div class="variablelist"><table border="0">
761
+ <col align="left" valign="top">
762
+ <tbody>
763
+ <tr>
764
+ <td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
765
+ <td>an item model.
766
+ </td>
767
+ </tr>
768
+ <tr>
769
+ <td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
770
+ <td>the final x coordinate.
771
+ </td>
772
+ </tr>
773
+ <tr>
774
+ <td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
775
+ <td>the final y coordinate.
776
+ </td>
777
+ </tr>
778
+ <tr>
779
+ <td><p><span class="term"><em class="parameter"><code>scale</code></em> :</span></p></td>
780
+ <td>the final scale.
781
+ </td>
782
+ </tr>
783
+ <tr>
784
+ <td><p><span class="term"><em class="parameter"><code>degrees</code></em> :</span></p></td>
785
+ <td>the final rotation. This can be negative to rotate anticlockwise,
786
+ and can also be greater than 360 to rotate a number of times.
787
+ </td>
788
+ </tr>
789
+ <tr>
790
+ <td><p><span class="term"><em class="parameter"><code>absolute</code></em> :</span></p></td>
791
+ <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
792
+ relative to the current transform. Note that absolute animations only work
793
+ if the model currently has a simple transform. If the model has a shear or
794
+ some other complicated transform it may result in strange animations.
795
+ </td>
796
+ </tr>
797
+ <tr>
798
+ <td><p><span class="term"><em class="parameter"><code>duration</code></em> :</span></p></td>
799
+ <td>the duration of the animation, in milliseconds (1/1000ths of a
800
+ second).
801
+ </td>
802
+ </tr>
803
+ <tr>
804
+ <td><p><span class="term"><em class="parameter"><code>step_time</code></em> :</span></p></td>
805
+ <td>the time between each animation step, in milliseconds.
806
+ </td>
807
+ </tr>
808
+ <tr>
809
+ <td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
810
+ <td>specifies what happens when the animation finishes.
811
+ </td>
812
+ </tr>
813
+ </tbody>
814
+ </table></div>
815
+ </div>
816
+ <hr>
817
+ <div class="refsect2" title="goo_canvas_item_model_stop_animation ()">
818
+ <a name="goo-canvas-item-model-stop-animation"></a><h3>goo_canvas_item_model_stop_animation ()</h3>
819
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_model_stop_animation
820
+ (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>);</pre>
821
+ <p>
822
+ Stops any current animation for the given model, leaving it at its current
823
+ position.
824
+ </p>
825
+ <div class="variablelist"><table border="0">
826
+ <col align="left" valign="top">
827
+ <tbody><tr>
828
+ <td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
829
+ <td>an item model.
830
+ </td>
831
+ </tr></tbody>
832
+ </table></div>
833
+ </div>
834
+ <hr>
835
+ <div class="refsect2" title="goo_canvas_item_model_raise ()">
836
+ <a name="goo-canvas-item-model-raise"></a><h3>goo_canvas_item_model_raise ()</h3>
837
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_model_raise (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
838
+ <em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *above</code></em>);</pre>
839
+ <p>
840
+ Raises a model in the stacking order.
841
+ </p>
842
+ <div class="variablelist"><table border="0">
843
+ <col align="left" valign="top">
844
+ <tbody>
845
+ <tr>
846
+ <td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
847
+ <td>an item model.
848
+ </td>
849
+ </tr>
850
+ <tr>
851
+ <td><p><span class="term"><em class="parameter"><code>above</code></em> :</span></p></td>
852
+ <td>the item model to raise <em class="parameter"><code>model</code></em> above, or <code class="literal">NULL</code> to raise <em class="parameter"><code>model</code></em> to the top
853
+ of the stack.
854
+ </td>
855
+ </tr>
856
+ </tbody>
857
+ </table></div>
858
+ </div>
859
+ <hr>
860
+ <div class="refsect2" title="goo_canvas_item_model_lower ()">
861
+ <a name="goo-canvas-item-model-lower"></a><h3>goo_canvas_item_model_lower ()</h3>
862
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_model_lower (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
863
+ <em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *below</code></em>);</pre>
864
+ <p>
865
+ Lowers a model in the stacking order.
866
+ </p>
867
+ <div class="variablelist"><table border="0">
868
+ <col align="left" valign="top">
869
+ <tbody>
870
+ <tr>
871
+ <td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
872
+ <td>an item model.
873
+ </td>
874
+ </tr>
875
+ <tr>
876
+ <td><p><span class="term"><em class="parameter"><code>below</code></em> :</span></p></td>
877
+ <td>the item model to lower <em class="parameter"><code>model</code></em> below, or <code class="literal">NULL</code> to lower <em class="parameter"><code>model</code></em> to the
878
+ bottom of the stack.
879
+ </td>
880
+ </tr>
881
+ </tbody>
882
+ </table></div>
883
+ </div>
884
+ <hr>
885
+ <div class="refsect2" title="goo_canvas_item_model_remove ()">
886
+ <a name="goo-canvas-item-model-remove"></a><h3>goo_canvas_item_model_remove ()</h3>
887
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_model_remove (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>);</pre>
888
+ <p>
889
+ Removes a model from its parent. If the model is in a canvas it will be
890
+ removed.
891
+ </p>
892
+ <p>
893
+ This would normally also result in the model being freed.
894
+ </p>
895
+ <div class="variablelist"><table border="0">
896
+ <col align="left" valign="top">
897
+ <tbody><tr>
898
+ <td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
899
+ <td>an item model.
900
+ </td>
901
+ </tr></tbody>
902
+ </table></div>
903
+ </div>
904
+ <hr>
905
+ <div class="refsect2" title="goo_canvas_item_model_get_parent ()">
906
+ <a name="goo-canvas-item-model-get-parent"></a><h3>goo_canvas_item_model_get_parent ()</h3>
907
+ <pre class="programlisting"><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="returnvalue">GooCanvasItemModel</span></a>* goo_canvas_item_model_get_parent (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>);</pre>
908
+ <p>
909
+ Gets the parent of the given model.
910
+ </p>
911
+ <div class="variablelist"><table border="0">
912
+ <col align="left" valign="top">
913
+ <tbody>
914
+ <tr>
915
+ <td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
916
+ <td>an item model.
917
+ </td>
918
+ </tr>
919
+ <tr>
920
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
921
+ <td> the parent model, or <code class="literal">NULL</code> if the model has no parent.
922
+ </td>
923
+ </tr>
924
+ </tbody>
925
+ </table></div>
926
+ </div>
927
+ <hr>
928
+ <div class="refsect2" title="goo_canvas_item_model_set_parent ()">
929
+ <a name="goo-canvas-item-model-set-parent"></a><h3>goo_canvas_item_model_set_parent ()</h3>
930
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_model_set_parent (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
931
+ <em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *parent</code></em>);</pre>
932
+ <p>
933
+ This function is only intended to be used when implementing new canvas
934
+ item models (specifically container models such as <a class="link" href="GooCanvasGroupModel.html" title="GooCanvasGroupModel"><span class="type">GooCanvasGroupModel</span></a>).
935
+ It sets the parent of the child model.
936
+ </p>
937
+ <div class="variablelist"><table border="0">
938
+ <col align="left" valign="top">
939
+ <tbody>
940
+ <tr>
941
+ <td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
942
+ <td>an item model.
943
+ </td>
944
+ </tr>
945
+ <tr>
946
+ <td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
947
+ <td>the new parent item model.
948
+ </td>
949
+ </tr>
950
+ </tbody>
951
+ </table></div>
952
+ <p>
953
+ </p>
954
+ <div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;">
955
+ <h3 class="title">Note</h3>
956
+ <p>
957
+ This function cannot be used to add a model to a group
958
+ or to change the parent of a model.
959
+ To do that use the <a class="link" href="GooCanvasItemModel.html#GooCanvasItemModel--parent" title='The "parent" property'><span class="type">"parent"</span></a> property.
960
+ </p>
961
+ </div>
962
+ <p>
963
+ </p>
964
+ </div>
965
+ <hr>
966
+ <div class="refsect2" title="goo_canvas_item_model_is_container ()">
967
+ <a name="goo-canvas-item-model-is-container"></a><h3>goo_canvas_item_model_is_container ()</h3>
968
+ <pre class="programlisting"><span class="returnvalue">gboolean</span> goo_canvas_item_model_is_container (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>);</pre>
969
+ <p>
970
+ Tests to see if the given item model is a container.
971
+ </p>
972
+ <div class="variablelist"><table border="0">
973
+ <col align="left" valign="top">
974
+ <tbody>
975
+ <tr>
976
+ <td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
977
+ <td>an item model.
978
+ </td>
979
+ </tr>
980
+ <tr>
981
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
982
+ <td> <code class="literal">TRUE</code> if the item model is a container.
983
+ </td>
984
+ </tr>
985
+ </tbody>
986
+ </table></div>
987
+ </div>
988
+ <hr>
989
+ <div class="refsect2" title="goo_canvas_item_model_get_n_children ()">
990
+ <a name="goo-canvas-item-model-get-n-children"></a><h3>goo_canvas_item_model_get_n_children ()</h3>
991
+ <pre class="programlisting"><span class="returnvalue">gint</span> goo_canvas_item_model_get_n_children
992
+ (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>);</pre>
993
+ <p>
994
+ Gets the number of children of the container.
995
+ </p>
996
+ <div class="variablelist"><table border="0">
997
+ <col align="left" valign="top">
998
+ <tbody>
999
+ <tr>
1000
+ <td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
1001
+ <td>an item model.
1002
+ </td>
1003
+ </tr>
1004
+ <tr>
1005
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1006
+ <td> the number of children.
1007
+ </td>
1008
+ </tr>
1009
+ </tbody>
1010
+ </table></div>
1011
+ </div>
1012
+ <hr>
1013
+ <div class="refsect2" title="goo_canvas_item_model_get_child ()">
1014
+ <a name="goo-canvas-item-model-get-child"></a><h3>goo_canvas_item_model_get_child ()</h3>
1015
+ <pre class="programlisting"><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="returnvalue">GooCanvasItemModel</span></a>* goo_canvas_item_model_get_child (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
1016
+ <em class="parameter"><code><span class="type">gint</span> child_num</code></em>);</pre>
1017
+ <p>
1018
+ Gets the child at the given stack position.
1019
+ </p>
1020
+ <div class="variablelist"><table border="0">
1021
+ <col align="left" valign="top">
1022
+ <tbody>
1023
+ <tr>
1024
+ <td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
1025
+ <td>an item model.
1026
+ </td>
1027
+ </tr>
1028
+ <tr>
1029
+ <td><p><span class="term"><em class="parameter"><code>child_num</code></em> :</span></p></td>
1030
+ <td>the position of a child in the container's stack.
1031
+ </td>
1032
+ </tr>
1033
+ <tr>
1034
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1035
+ <td> the child at the given stack position, or <code class="literal">NULL</code> if <em class="parameter"><code>child_num</code></em>
1036
+ is out of range.
1037
+ </td>
1038
+ </tr>
1039
+ </tbody>
1040
+ </table></div>
1041
+ </div>
1042
+ <hr>
1043
+ <div class="refsect2" title="goo_canvas_item_model_add_child ()">
1044
+ <a name="goo-canvas-item-model-add-child"></a><h3>goo_canvas_item_model_add_child ()</h3>
1045
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_model_add_child (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
1046
+ <em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *child</code></em>,
1047
+ <em class="parameter"><code><span class="type">gint</span> position</code></em>);</pre>
1048
+ <p>
1049
+ Adds a child at the given stack position.
1050
+ </p>
1051
+ <div class="variablelist"><table border="0">
1052
+ <col align="left" valign="top">
1053
+ <tbody>
1054
+ <tr>
1055
+ <td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
1056
+ <td>an item model.
1057
+ </td>
1058
+ </tr>
1059
+ <tr>
1060
+ <td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
1061
+ <td>the child to add.
1062
+ </td>
1063
+ </tr>
1064
+ <tr>
1065
+ <td><p><span class="term"><em class="parameter"><code>position</code></em> :</span></p></td>
1066
+ <td>the position of the child, or -1 to place it last (at the top of
1067
+ the stacking order).
1068
+ </td>
1069
+ </tr>
1070
+ </tbody>
1071
+ </table></div>
1072
+ </div>
1073
+ <hr>
1074
+ <div class="refsect2" title="goo_canvas_item_model_move_child ()">
1075
+ <a name="goo-canvas-item-model-move-child"></a><h3>goo_canvas_item_model_move_child ()</h3>
1076
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_model_move_child (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
1077
+ <em class="parameter"><code><span class="type">gint</span> old_position</code></em>,
1078
+ <em class="parameter"><code><span class="type">gint</span> new_position</code></em>);</pre>
1079
+ <p>
1080
+ Moves a child to a new stack position.
1081
+ </p>
1082
+ <div class="variablelist"><table border="0">
1083
+ <col align="left" valign="top">
1084
+ <tbody>
1085
+ <tr>
1086
+ <td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
1087
+ <td>an item model.
1088
+ </td>
1089
+ </tr>
1090
+ <tr>
1091
+ <td><p><span class="term"><em class="parameter"><code>old_position</code></em> :</span></p></td>
1092
+ <td>the current position of the child.
1093
+ </td>
1094
+ </tr>
1095
+ <tr>
1096
+ <td><p><span class="term"><em class="parameter"><code>new_position</code></em> :</span></p></td>
1097
+ <td>the new position of the child.
1098
+ </td>
1099
+ </tr>
1100
+ </tbody>
1101
+ </table></div>
1102
+ </div>
1103
+ <hr>
1104
+ <div class="refsect2" title="goo_canvas_item_model_remove_child ()">
1105
+ <a name="goo-canvas-item-model-remove-child"></a><h3>goo_canvas_item_model_remove_child ()</h3>
1106
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_model_remove_child (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
1107
+ <em class="parameter"><code><span class="type">gint</span> child_num</code></em>);</pre>
1108
+ <p>
1109
+ Removes the child at the given position.
1110
+ </p>
1111
+ <div class="variablelist"><table border="0">
1112
+ <col align="left" valign="top">
1113
+ <tbody>
1114
+ <tr>
1115
+ <td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
1116
+ <td>an item model.
1117
+ </td>
1118
+ </tr>
1119
+ <tr>
1120
+ <td><p><span class="term"><em class="parameter"><code>child_num</code></em> :</span></p></td>
1121
+ <td>the position of the child to remove.
1122
+ </td>
1123
+ </tr>
1124
+ </tbody>
1125
+ </table></div>
1126
+ </div>
1127
+ <hr>
1128
+ <div class="refsect2" title="goo_canvas_item_model_find_child ()">
1129
+ <a name="goo-canvas-item-model-find-child"></a><h3>goo_canvas_item_model_find_child ()</h3>
1130
+ <pre class="programlisting"><span class="returnvalue">gint</span> goo_canvas_item_model_find_child (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
1131
+ <em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *child</code></em>);</pre>
1132
+ <p>
1133
+ Attempts to find the given child with the container's stack.
1134
+ </p>
1135
+ <div class="variablelist"><table border="0">
1136
+ <col align="left" valign="top">
1137
+ <tbody>
1138
+ <tr>
1139
+ <td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
1140
+ <td>an item model.
1141
+ </td>
1142
+ </tr>
1143
+ <tr>
1144
+ <td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
1145
+ <td>the child to find.
1146
+ </td>
1147
+ </tr>
1148
+ <tr>
1149
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1150
+ <td> the position of the given <em class="parameter"><code>child</code></em>, or -1 if it isn't found.
1151
+ </td>
1152
+ </tr>
1153
+ </tbody>
1154
+ </table></div>
1155
+ </div>
1156
+ <hr>
1157
+ <div class="refsect2" title="goo_canvas_item_model_get_style ()">
1158
+ <a name="goo-canvas-item-model-get-style"></a><h3>goo_canvas_item_model_get_style ()</h3>
1159
+ <pre class="programlisting"><a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="returnvalue">GooCanvasStyle</span></a>* goo_canvas_item_model_get_style (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>);</pre>
1160
+ <p>
1161
+ Gets the model's style. If the model doesn't have its own style it will
1162
+ return its parent's style.
1163
+ </p>
1164
+ <div class="variablelist"><table border="0">
1165
+ <col align="left" valign="top">
1166
+ <tbody>
1167
+ <tr>
1168
+ <td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
1169
+ <td>an item model.
1170
+ </td>
1171
+ </tr>
1172
+ <tr>
1173
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1174
+ <td> the model's style.
1175
+ </td>
1176
+ </tr>
1177
+ </tbody>
1178
+ </table></div>
1179
+ </div>
1180
+ <hr>
1181
+ <div class="refsect2" title="goo_canvas_item_model_set_style ()">
1182
+ <a name="goo-canvas-item-model-set-style"></a><h3>goo_canvas_item_model_set_style ()</h3>
1183
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_model_set_style (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
1184
+ <em class="parameter"><code><a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a> *style</code></em>);</pre>
1185
+ <p>
1186
+ Sets the model's style, by copying the properties from the given style.
1187
+ </p>
1188
+ <div class="variablelist"><table border="0">
1189
+ <col align="left" valign="top">
1190
+ <tbody>
1191
+ <tr>
1192
+ <td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
1193
+ <td>an item model.
1194
+ </td>
1195
+ </tr>
1196
+ <tr>
1197
+ <td><p><span class="term"><em class="parameter"><code>style</code></em> :</span></p></td>
1198
+ <td>a style.
1199
+ </td>
1200
+ </tr>
1201
+ </tbody>
1202
+ </table></div>
1203
+ </div>
1204
+ <hr>
1205
+ <div class="refsect2" title="goo_canvas_item_model_class_install_child_property ()">
1206
+ <a name="goo-canvas-item-model-class-install-child-property"></a><h3>goo_canvas_item_model_class_install_child_property ()</h3>
1207
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_model_class_install_child_property
1208
+ (<em class="parameter"><code><span class="type">GObjectClass</span> *mclass</code></em>,
1209
+ <em class="parameter"><code><span class="type">guint</span> property_id</code></em>,
1210
+ <em class="parameter"><code><span class="type">GParamSpec</span> *pspec</code></em>);</pre>
1211
+ <p>
1212
+ This function is only intended to be used when implementing new canvas
1213
+ item models, specifically layout container item models such as
1214
+ <a class="link" href="GooCanvasTableModel.html" title="GooCanvasTableModel"><span class="type">GooCanvasTableModel</span></a>.
1215
+ </p>
1216
+ <p>
1217
+ It installs a child property on a canvas item class.
1218
+ </p>
1219
+ <div class="variablelist"><table border="0">
1220
+ <col align="left" valign="top">
1221
+ <tbody>
1222
+ <tr>
1223
+ <td><p><span class="term"><em class="parameter"><code>mclass</code></em> :</span></p></td>
1224
+ <td>a <span class="type">GObjectClass</span>
1225
+ </td>
1226
+ </tr>
1227
+ <tr>
1228
+ <td><p><span class="term"><em class="parameter"><code>property_id</code></em> :</span></p></td>
1229
+ <td>the id for the property
1230
+ </td>
1231
+ </tr>
1232
+ <tr>
1233
+ <td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td>
1234
+ <td>the <span class="type">GParamSpec</span> for the property
1235
+ </td>
1236
+ </tr>
1237
+ </tbody>
1238
+ </table></div>
1239
+ </div>
1240
+ <hr>
1241
+ <div class="refsect2" title="goo_canvas_item_model_class_list_child_properties ()">
1242
+ <a name="goo-canvas-item-model-class-list-child-properties"></a><h3>goo_canvas_item_model_class_list_child_properties ()</h3>
1243
+ <pre class="programlisting"><span class="returnvalue">GParamSpec</span>** goo_canvas_item_model_class_list_child_properties
1244
+ (<em class="parameter"><code><span class="type">GObjectClass</span> *mclass</code></em>,
1245
+ <em class="parameter"><code><span class="type">guint</span> *n_properties</code></em>);</pre>
1246
+ <p>
1247
+ This function is only intended to be used when implementing new canvas
1248
+ item models, specifically layout container item models such as
1249
+ <a class="link" href="GooCanvasTableModel.html" title="GooCanvasTableModel"><span class="type">GooCanvasTableModel</span></a>.
1250
+ </p>
1251
+ <p>
1252
+ It returns all child properties of a canvas item class.
1253
+ </p>
1254
+ <div class="variablelist"><table border="0">
1255
+ <col align="left" valign="top">
1256
+ <tbody>
1257
+ <tr>
1258
+ <td><p><span class="term"><em class="parameter"><code>mclass</code></em> :</span></p></td>
1259
+ <td>a <span class="type">GObjectClass</span>
1260
+ </td>
1261
+ </tr>
1262
+ <tr>
1263
+ <td><p><span class="term"><em class="parameter"><code>n_properties</code></em> :</span></p></td>
1264
+ <td>location to return the number of child properties found
1265
+ </td>
1266
+ </tr>
1267
+ <tr>
1268
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1269
+ <td>a newly allocated array of <span class="type">GParamSpec</span>*. The array must be
1270
+ freed with <code class="function">g_free()</code>.
1271
+ </td>
1272
+ </tr>
1273
+ </tbody>
1274
+ </table></div>
1275
+ </div>
1276
+ <hr>
1277
+ <div class="refsect2" title="goo_canvas_item_model_class_find_child_property ()">
1278
+ <a name="goo-canvas-item-model-class-find-child-property"></a><h3>goo_canvas_item_model_class_find_child_property ()</h3>
1279
+ <pre class="programlisting"><span class="returnvalue">GParamSpec</span>* goo_canvas_item_model_class_find_child_property
1280
+ (<em class="parameter"><code><span class="type">GObjectClass</span> *mclass</code></em>,
1281
+ <em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>);</pre>
1282
+ <p>
1283
+ This function is only intended to be used when implementing new canvas
1284
+ item models, specifically layout container item models such as
1285
+ <a class="link" href="GooCanvasTableModel.html" title="GooCanvasTableModel"><span class="type">GooCanvasTableModel</span></a>.
1286
+ </p>
1287
+ <p>
1288
+ It finds a child property of a canvas item class by name.
1289
+ </p>
1290
+ <div class="variablelist"><table border="0">
1291
+ <col align="left" valign="top">
1292
+ <tbody>
1293
+ <tr>
1294
+ <td><p><span class="term"><em class="parameter"><code>mclass</code></em> :</span></p></td>
1295
+ <td>a <span class="type">GObjectClass</span>
1296
+ </td>
1297
+ </tr>
1298
+ <tr>
1299
+ <td><p><span class="term"><em class="parameter"><code>property_name</code></em> :</span></p></td>
1300
+ <td>the name of the child property to find
1301
+ </td>
1302
+ </tr>
1303
+ <tr>
1304
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1305
+ <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
1306
+ child property with that name.
1307
+ </td>
1308
+ </tr>
1309
+ </tbody>
1310
+ </table></div>
1311
+ </div>
1312
+ <hr>
1313
+ <div class="refsect2" title="goo_canvas_item_model_get_child_property ()">
1314
+ <a name="goo-canvas-item-model-get-child-property"></a><h3>goo_canvas_item_model_get_child_property ()</h3>
1315
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_model_get_child_property
1316
+ (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
1317
+ <em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *child</code></em>,
1318
+ <em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>,
1319
+ <em class="parameter"><code><span class="type">GValue</span> *value</code></em>);</pre>
1320
+ <p>
1321
+ Gets a child property of <em class="parameter"><code>child</code></em>.
1322
+ </p>
1323
+ <div class="variablelist"><table border="0">
1324
+ <col align="left" valign="top">
1325
+ <tbody>
1326
+ <tr>
1327
+ <td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
1328
+ <td>a <a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a>.
1329
+ </td>
1330
+ </tr>
1331
+ <tr>
1332
+ <td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
1333
+ <td>a child <a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a>.
1334
+ </td>
1335
+ </tr>
1336
+ <tr>
1337
+ <td><p><span class="term"><em class="parameter"><code>property_name</code></em> :</span></p></td>
1338
+ <td>the name of the child property to get.
1339
+ </td>
1340
+ </tr>
1341
+ <tr>
1342
+ <td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
1343
+ <td>a location to return the value.
1344
+ </td>
1345
+ </tr>
1346
+ </tbody>
1347
+ </table></div>
1348
+ </div>
1349
+ <hr>
1350
+ <div class="refsect2" title="goo_canvas_item_model_set_child_property ()">
1351
+ <a name="goo-canvas-item-model-set-child-property"></a><h3>goo_canvas_item_model_set_child_property ()</h3>
1352
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_model_set_child_property
1353
+ (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
1354
+ <em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *child</code></em>,
1355
+ <em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>,
1356
+ <em class="parameter"><code>const <span class="type">GValue</span> *value</code></em>);</pre>
1357
+ <p>
1358
+ Sets a child property of <em class="parameter"><code>child</code></em>.
1359
+ </p>
1360
+ <div class="variablelist"><table border="0">
1361
+ <col align="left" valign="top">
1362
+ <tbody>
1363
+ <tr>
1364
+ <td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
1365
+ <td>a <a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a>.
1366
+ </td>
1367
+ </tr>
1368
+ <tr>
1369
+ <td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
1370
+ <td>a child <a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a>.
1371
+ </td>
1372
+ </tr>
1373
+ <tr>
1374
+ <td><p><span class="term"><em class="parameter"><code>property_name</code></em> :</span></p></td>
1375
+ <td>the name of the child property to set.
1376
+ </td>
1377
+ </tr>
1378
+ <tr>
1379
+ <td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
1380
+ <td>the value to set the property to.
1381
+ </td>
1382
+ </tr>
1383
+ </tbody>
1384
+ </table></div>
1385
+ </div>
1386
+ <hr>
1387
+ <div class="refsect2" title="goo_canvas_item_model_get_child_properties ()">
1388
+ <a name="goo-canvas-item-model-get-child-properties"></a><h3>goo_canvas_item_model_get_child_properties ()</h3>
1389
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_model_get_child_properties
1390
+ (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
1391
+ <em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *child</code></em>,
1392
+ <em class="parameter"><code>...</code></em>);</pre>
1393
+ <p>
1394
+ Gets the values of one or more child properties of <em class="parameter"><code>child</code></em>.
1395
+ </p>
1396
+ <div class="variablelist"><table border="0">
1397
+ <col align="left" valign="top">
1398
+ <tbody>
1399
+ <tr>
1400
+ <td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
1401
+ <td>a <a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a>.
1402
+ </td>
1403
+ </tr>
1404
+ <tr>
1405
+ <td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
1406
+ <td>a child <a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a>.
1407
+ </td>
1408
+ </tr>
1409
+ <tr>
1410
+ <td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
1411
+ <td>pairs of property names and value pointers, and a terminating <code class="literal">NULL</code>.
1412
+ </td>
1413
+ </tr>
1414
+ </tbody>
1415
+ </table></div>
1416
+ </div>
1417
+ <hr>
1418
+ <div class="refsect2" title="goo_canvas_item_model_get_child_properties_valist ()">
1419
+ <a name="goo-canvas-item-model-get-child-properties-valist"></a><h3>goo_canvas_item_model_get_child_properties_valist ()</h3>
1420
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_model_get_child_properties_valist
1421
+ (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
1422
+ <em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *child</code></em>,
1423
+ <em class="parameter"><code><span class="type">va_list</span> var_args</code></em>);</pre>
1424
+ <p>
1425
+ Gets the values of one or more child properties of <em class="parameter"><code>child</code></em>.
1426
+ </p>
1427
+ <div class="variablelist"><table border="0">
1428
+ <col align="left" valign="top">
1429
+ <tbody>
1430
+ <tr>
1431
+ <td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
1432
+ <td>a <a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a>.
1433
+ </td>
1434
+ </tr>
1435
+ <tr>
1436
+ <td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
1437
+ <td>a child <a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a>.
1438
+ </td>
1439
+ </tr>
1440
+ <tr>
1441
+ <td><p><span class="term"><em class="parameter"><code>var_args</code></em> :</span></p></td>
1442
+ <td>pairs of property names and value pointers, and a terminating
1443
+ <code class="literal">NULL</code>.
1444
+ </td>
1445
+ </tr>
1446
+ </tbody>
1447
+ </table></div>
1448
+ </div>
1449
+ <hr>
1450
+ <div class="refsect2" title="goo_canvas_item_model_set_child_properties ()">
1451
+ <a name="goo-canvas-item-model-set-child-properties"></a><h3>goo_canvas_item_model_set_child_properties ()</h3>
1452
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_model_set_child_properties
1453
+ (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
1454
+ <em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *child</code></em>,
1455
+ <em class="parameter"><code>...</code></em>);</pre>
1456
+ <p>
1457
+ Sets the values of one or more child properties of <em class="parameter"><code>child</code></em>.
1458
+ </p>
1459
+ <div class="variablelist"><table border="0">
1460
+ <col align="left" valign="top">
1461
+ <tbody>
1462
+ <tr>
1463
+ <td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
1464
+ <td>a <a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a>.
1465
+ </td>
1466
+ </tr>
1467
+ <tr>
1468
+ <td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
1469
+ <td>a child <a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a>.
1470
+ </td>
1471
+ </tr>
1472
+ <tr>
1473
+ <td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
1474
+ <td>pairs of property names and values, and a terminating <code class="literal">NULL</code>.
1475
+ </td>
1476
+ </tr>
1477
+ </tbody>
1478
+ </table></div>
1479
+ </div>
1480
+ <hr>
1481
+ <div class="refsect2" title="goo_canvas_item_model_set_child_properties_valist ()">
1482
+ <a name="goo-canvas-item-model-set-child-properties-valist"></a><h3>goo_canvas_item_model_set_child_properties_valist ()</h3>
1483
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_model_set_child_properties_valist
1484
+ (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>,
1485
+ <em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *child</code></em>,
1486
+ <em class="parameter"><code><span class="type">va_list</span> var_args</code></em>);</pre>
1487
+ <p>
1488
+ Sets the values of one or more child properties of <em class="parameter"><code>child</code></em>.
1489
+ </p>
1490
+ <div class="variablelist"><table border="0">
1491
+ <col align="left" valign="top">
1492
+ <tbody>
1493
+ <tr>
1494
+ <td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
1495
+ <td>a <a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a>.
1496
+ </td>
1497
+ </tr>
1498
+ <tr>
1499
+ <td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
1500
+ <td>a child <a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a>.
1501
+ </td>
1502
+ </tr>
1503
+ <tr>
1504
+ <td><p><span class="term"><em class="parameter"><code>var_args</code></em> :</span></p></td>
1505
+ <td>pairs of property names and values, and a terminating <code class="literal">NULL</code>.
1506
+ </td>
1507
+ </tr>
1508
+ </tbody>
1509
+ </table></div>
1510
+ </div>
1511
+ </div>
1512
+ <div class="refsect1" title="Property Details">
1513
+ <a name="GooCanvasItemModel.property-details"></a><h2>Property Details</h2>
1514
+ <div class="refsect2" title='The "can-focus" property'>
1515
+ <a name="GooCanvasItemModel--can-focus"></a><h3>The <code class="literal">"can-focus"</code> property</h3>
1516
+ <pre class="programlisting"> "can-focus" <span class="type">gboolean</span> : Read / Write</pre>
1517
+ <p>If the item can take the keyboard focus.</p>
1518
+ <p>Default value: FALSE</p>
1519
+ </div>
1520
+ <hr>
1521
+ <div class="refsect2" title='The "description" property'>
1522
+ <a name="GooCanvasItemModel--description"></a><h3>The <code class="literal">"description"</code> property</h3>
1523
+ <pre class="programlisting"> "description" <span class="type">gchar</span>* : Read / Write</pre>
1524
+ <p>A description of the item for use by assistive technologies.</p>
1525
+ <p>Default value: NULL</p>
1526
+ </div>
1527
+ <hr>
1528
+ <div class="refsect2" title='The "parent" property'>
1529
+ <a name="GooCanvasItemModel--parent"></a><h3>The <code class="literal">"parent"</code> property</h3>
1530
+ <pre class="programlisting"> "parent" <a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a>* : Read / Write</pre>
1531
+ <p>The parent item model.</p>
1532
+ </div>
1533
+ <hr>
1534
+ <div class="refsect2" title='The "pointer-events" property'>
1535
+ <a name="GooCanvasItemModel--pointer-events"></a><h3>The <code class="literal">"pointer-events"</code> property</h3>
1536
+ <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>
1537
+ <p>Specifies when the item receives pointer events.</p>
1538
+ <p>Default value: GOO_CANVAS_EVENTS_VISIBLE_MASK|GOO_CANVAS_EVENTS_PAINTED_MASK|GOO_CANVAS_EVENTS_FILL_MASK|GOO_CANVAS_EVENTS_STROKE_MASK</p>
1539
+ </div>
1540
+ <hr>
1541
+ <div class="refsect2" title='The "title" property'>
1542
+ <a name="GooCanvasItemModel--title"></a><h3>The <code class="literal">"title"</code> property</h3>
1543
+ <pre class="programlisting"> "title" <span class="type">gchar</span>* : Read / Write</pre>
1544
+ <p>A short context-rich description of the item for use by assistive technologies.</p>
1545
+ <p>Default value: NULL</p>
1546
+ </div>
1547
+ <hr>
1548
+ <div class="refsect2" title='The "tooltip" property'>
1549
+ <a name="GooCanvasItemModel--tooltip"></a><h3>The <code class="literal">"tooltip"</code> property</h3>
1550
+ <pre class="programlisting"> "tooltip" <span class="type">gchar</span>* : Read / Write</pre>
1551
+ <p>The tooltip to display for the item.</p>
1552
+ <p>Default value: NULL</p>
1553
+ </div>
1554
+ <hr>
1555
+ <div class="refsect2" title='The "transform" property'>
1556
+ <a name="GooCanvasItemModel--transform"></a><h3>The <code class="literal">"transform"</code> property</h3>
1557
+ <pre class="programlisting"> "transform" <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoMatrix" title="GooCairoMatrix"><span class="type">GooCairoMatrix</span></a>* : Read / Write</pre>
1558
+ <p>The transformation matrix of the item.</p>
1559
+ </div>
1560
+ <hr>
1561
+ <div class="refsect2" title='The "visibility" property'>
1562
+ <a name="GooCanvasItemModel--visibility"></a><h3>The <code class="literal">"visibility"</code> property</h3>
1563
+ <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>
1564
+ <p>When the canvas item is visible.</p>
1565
+ <p>Default value: GOO_CANVAS_ITEM_VISIBLE</p>
1566
+ </div>
1567
+ <hr>
1568
+ <div class="refsect2" title='The "visibility-threshold" property'>
1569
+ <a name="GooCanvasItemModel--visibility-threshold"></a><h3>The <code class="literal">"visibility-threshold"</code> property</h3>
1570
+ <pre class="programlisting"> "visibility-threshold" <span class="type">gdouble</span> : Read / Write</pre>
1571
+ <p>The scale threshold at which the item becomes visible.</p>
1572
+ <p>Allowed values: &gt;= 0</p>
1573
+ <p>Default value: 0</p>
1574
+ </div>
1575
+ </div>
1576
+ <div class="refsect1" title="Signal Details">
1577
+ <a name="GooCanvasItemModel.signal-details"></a><h2>Signal Details</h2>
1578
+ <div class="refsect2" title='The "animation-finished" signal'>
1579
+ <a name="GooCanvasItemModel-animation-finished"></a><h3>The <code class="literal">"animation-finished"</code> signal</h3>
1580
+ <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *item,
1581
+ <span class="type">gboolean</span> stopped,
1582
+ <span class="type">gpointer</span> user_data) : Run Last</pre>
1583
+ <p>
1584
+ Emitted when the item model animation has finished.
1585
+ </p>
1586
+ <div class="variablelist"><table border="0">
1587
+ <col align="left" valign="top">
1588
+ <tbody>
1589
+ <tr>
1590
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
1591
+ <td>the item model that received the signal.
1592
+ </td>
1593
+ </tr>
1594
+ <tr>
1595
+ <td><p><span class="term"><em class="parameter"><code>stopped</code></em> :</span></p></td>
1596
+ <td>if the animation was explicitly stopped.
1597
+ </td>
1598
+ </tr>
1599
+ <tr>
1600
+ <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1601
+ <td>user data set when the signal handler was connected.</td>
1602
+ </tr>
1603
+ </tbody>
1604
+ </table></div>
1605
+ </div>
1606
+ <hr>
1607
+ <div class="refsect2" title='The "changed" signal'>
1608
+ <a name="GooCanvasItemModel-changed"></a><h3>The <code class="literal">"changed"</code> signal</h3>
1609
+ <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model,
1610
+ <span class="type">gboolean</span> recompute_bounds,
1611
+ <span class="type">gpointer</span> user_data) : Run Last</pre>
1612
+ <p>
1613
+ Emitted when the item model has been changed.
1614
+ </p>
1615
+ <div class="variablelist"><table border="0">
1616
+ <col align="left" valign="top">
1617
+ <tbody>
1618
+ <tr>
1619
+ <td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
1620
+ <td>the item model that received the signal.
1621
+ </td>
1622
+ </tr>
1623
+ <tr>
1624
+ <td><p><span class="term"><em class="parameter"><code>recompute_bounds</code></em> :</span></p></td>
1625
+ <td>if the bounds of the item need to be recomputed.
1626
+ </td>
1627
+ </tr>
1628
+ <tr>
1629
+ <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1630
+ <td>user data set when the signal handler was connected.</td>
1631
+ </tr>
1632
+ </tbody>
1633
+ </table></div>
1634
+ </div>
1635
+ <hr>
1636
+ <div class="refsect2" title='The "child-added" signal'>
1637
+ <a name="GooCanvasItemModel-child-added"></a><h3>The <code class="literal">"child-added"</code> signal</h3>
1638
+ <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model,
1639
+ <span class="type">gint</span> child_num,
1640
+ <span class="type">gpointer</span> user_data) : Run Last</pre>
1641
+ <p>
1642
+ Emitted when a child has been added.
1643
+ </p>
1644
+ <div class="variablelist"><table border="0">
1645
+ <col align="left" valign="top">
1646
+ <tbody>
1647
+ <tr>
1648
+ <td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
1649
+ <td>the item model that received the signal.
1650
+ </td>
1651
+ </tr>
1652
+ <tr>
1653
+ <td><p><span class="term"><em class="parameter"><code>child_num</code></em> :</span></p></td>
1654
+ <td>the index of the new child.
1655
+ </td>
1656
+ </tr>
1657
+ <tr>
1658
+ <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1659
+ <td>user data set when the signal handler was connected.</td>
1660
+ </tr>
1661
+ </tbody>
1662
+ </table></div>
1663
+ </div>
1664
+ <hr>
1665
+ <div class="refsect2" title='The "child-moved" signal'>
1666
+ <a name="GooCanvasItemModel-child-moved"></a><h3>The <code class="literal">"child-moved"</code> signal</h3>
1667
+ <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model,
1668
+ <span class="type">gint</span> old_child_num,
1669
+ <span class="type">gint</span> new_child_num,
1670
+ <span class="type">gpointer</span> user_data) : Run Last</pre>
1671
+ <p>
1672
+ Emitted when a child has been moved in the stacking order.
1673
+ </p>
1674
+ <div class="variablelist"><table border="0">
1675
+ <col align="left" valign="top">
1676
+ <tbody>
1677
+ <tr>
1678
+ <td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
1679
+ <td>the item model that received the signal.
1680
+ </td>
1681
+ </tr>
1682
+ <tr>
1683
+ <td><p><span class="term"><em class="parameter"><code>old_child_num</code></em> :</span></p></td>
1684
+ <td>the old index of the child.
1685
+ </td>
1686
+ </tr>
1687
+ <tr>
1688
+ <td><p><span class="term"><em class="parameter"><code>new_child_num</code></em> :</span></p></td>
1689
+ <td>the new index of the child.
1690
+ </td>
1691
+ </tr>
1692
+ <tr>
1693
+ <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1694
+ <td>user data set when the signal handler was connected.</td>
1695
+ </tr>
1696
+ </tbody>
1697
+ </table></div>
1698
+ </div>
1699
+ <hr>
1700
+ <div class="refsect2" title='The "child-notify" signal'>
1701
+ <a name="GooCanvasItemModel-child-notify"></a><h3>The <code class="literal">"child-notify"</code> signal</h3>
1702
+ <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *item,
1703
+ <span class="type">GParamSpec</span> *pspec,
1704
+ <span class="type">gpointer</span> user_data) : Run First / No Recursion / Has Details / No Hooks</pre>
1705
+ <p>
1706
+ Emitted for each child property that has changed.
1707
+ The signal's detail holds the property name.
1708
+ </p>
1709
+ <div class="variablelist"><table border="0">
1710
+ <col align="left" valign="top">
1711
+ <tbody>
1712
+ <tr>
1713
+ <td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
1714
+ <td>the item model that received the signal.
1715
+ </td>
1716
+ </tr>
1717
+ <tr>
1718
+ <td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td>
1719
+ <td>the <span class="type">GParamSpec</span> of the changed child property.
1720
+ </td>
1721
+ </tr>
1722
+ <tr>
1723
+ <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1724
+ <td>user data set when the signal handler was connected.</td>
1725
+ </tr>
1726
+ </tbody>
1727
+ </table></div>
1728
+ </div>
1729
+ <hr>
1730
+ <div class="refsect2" title='The "child-removed" signal'>
1731
+ <a name="GooCanvasItemModel-child-removed"></a><h3>The <code class="literal">"child-removed"</code> signal</h3>
1732
+ <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model,
1733
+ <span class="type">gint</span> child_num,
1734
+ <span class="type">gpointer</span> user_data) : Run Last</pre>
1735
+ <p>
1736
+ Emitted when a child has been removed.
1737
+ </p>
1738
+ <div class="variablelist"><table border="0">
1739
+ <col align="left" valign="top">
1740
+ <tbody>
1741
+ <tr>
1742
+ <td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
1743
+ <td>the item model that received the signal.
1744
+ </td>
1745
+ </tr>
1746
+ <tr>
1747
+ <td><p><span class="term"><em class="parameter"><code>child_num</code></em> :</span></p></td>
1748
+ <td>the index of the child that was removed.
1749
+ </td>
1750
+ </tr>
1751
+ <tr>
1752
+ <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1753
+ <td>user data set when the signal handler was connected.</td>
1754
+ </tr>
1755
+ </tbody>
1756
+ </table></div>
1757
+ </div>
1758
+ </div>
1759
+ </div>
1760
+ <div class="footer">
1761
+ <hr>
1762
+ Generated by GTK-Doc V1.14</div>
1763
+ </body>
1764
+ </html>