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,452 @@
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>GooCanvasTable</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="ch03.html" title="Standard Canvas Items">
9
+ <link rel="prev" href="GooCanvasWidget.html" title="GooCanvasWidget">
10
+ <link rel="next" href="ch04.html" title="Standard Canvas Item Models">
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="GooCanvasWidget.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
+ <td><a accesskey="u" href="ch03.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="ch04.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="#GooCanvasTable.synopsis" class="shortcut">Top</a>
25
+  | 
26
+ <a href="#GooCanvasTable.description" class="shortcut">Description</a>
27
+  | 
28
+ <a href="#GooCanvasTable.object-hierarchy" class="shortcut">Object Hierarchy</a>
29
+  | 
30
+ <a href="#GooCanvasTable.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
31
+  | 
32
+ <a href="#GooCanvasTable.properties" class="shortcut">Properties</a>
33
+  | 
34
+ <a href="#GooCanvasTable.child-properties" class="shortcut">Child Properties</a>
35
+ </td></tr>
36
+ </table>
37
+ <div class="refentry" title="GooCanvasTable">
38
+ <a name="GooCanvasTable"></a><div class="titlepage"></div>
39
+ <div class="refnamediv"><table width="100%"><tr>
40
+ <td valign="top">
41
+ <h2><span class="refentrytitle"><a name="GooCanvasTable.top_of_page"></a>GooCanvasTable</span></h2>
42
+ <p>GooCanvasTable — a table container to layout items.</p>
43
+ </td>
44
+ <td valign="top" align="right"></td>
45
+ </tr></table></div>
46
+ <div class="refsynopsisdiv" title="Synopsis">
47
+ <a name="GooCanvasTable.synopsis"></a><h2>Synopsis</h2>
48
+ <pre class="synopsis"> <a class="link" href="GooCanvasTable.html#GooCanvasTable-struct" title="GooCanvasTable">GooCanvasTable</a>;
49
+ <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="returnvalue">GooCanvasItem</span></a>* <a class="link" href="GooCanvasTable.html#goo-canvas-table-new" title="goo_canvas_table_new ()">goo_canvas_table_new</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *parent</code></em>,
50
+ <em class="parameter"><code>...</code></em>);
51
+ </pre>
52
+ </div>
53
+ <div class="refsect1" title="Object Hierarchy">
54
+ <a name="GooCanvasTable.object-hierarchy"></a><h2>Object Hierarchy</h2>
55
+ <pre class="synopsis">
56
+ GObject
57
+ +----<a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple">GooCanvasItemSimple</a>
58
+ +----<a class="link" href="GooCanvasGroup.html" title="GooCanvasGroup">GooCanvasGroup</a>
59
+ +----GooCanvasTable
60
+ </pre>
61
+ </div>
62
+ <div class="refsect1" title="Implemented Interfaces">
63
+ <a name="GooCanvasTable.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
64
+ <p>
65
+ GooCanvasTable implements
66
+ <a class="link" href="GooCanvasItem.html" title="GooCanvasItem">GooCanvasItem</a>.</p>
67
+ </div>
68
+ <div class="refsect1" title="Properties">
69
+ <a name="GooCanvasTable.properties"></a><h2>Properties</h2>
70
+ <pre class="synopsis">
71
+ "<a class="link" href="GooCanvasTable.html#GooCanvasTable--column-spacing" title='The "column-spacing" property'>column-spacing</a>" <span class="type">gdouble</span> : Read / Write
72
+ "<a class="link" href="GooCanvasTable.html#GooCanvasTable--homogeneous-columns" title='The "homogeneous-columns" property'>homogeneous-columns</a>" <span class="type">gboolean</span> : Read / Write
73
+ "<a class="link" href="GooCanvasTable.html#GooCanvasTable--homogeneous-rows" title='The "homogeneous-rows" property'>homogeneous-rows</a>" <span class="type">gboolean</span> : Read / Write
74
+ "<a class="link" href="GooCanvasTable.html#GooCanvasTable--horz-grid-line-width" title='The "horz-grid-line-width" property'>horz-grid-line-width</a>" <span class="type">gdouble</span> : Read / Write
75
+ "<a class="link" href="GooCanvasTable.html#GooCanvasTable--row-spacing" title='The "row-spacing" property'>row-spacing</a>" <span class="type">gdouble</span> : Read / Write
76
+ "<a class="link" href="GooCanvasTable.html#GooCanvasTable--vert-grid-line-width" title='The "vert-grid-line-width" property'>vert-grid-line-width</a>" <span class="type">gdouble</span> : Read / Write
77
+ "<a class="link" href="GooCanvasTable.html#GooCanvasTable--x-border-spacing" title='The "x-border-spacing" property'>x-border-spacing</a>" <span class="type">gdouble</span> : Read / Write
78
+ "<a class="link" href="GooCanvasTable.html#GooCanvasTable--y-border-spacing" title='The "y-border-spacing" property'>y-border-spacing</a>" <span class="type">gdouble</span> : Read / Write
79
+ </pre>
80
+ </div>
81
+ <div class="refsect1" title="Child Properties">
82
+ <a name="GooCanvasTable.child-properties"></a><h2>Child Properties</h2>
83
+ <pre class="synopsis">
84
+ "<a class="link" href="GooCanvasTable.html#GooCanvasTable--c-bottom-padding" title='The "bottom-padding" child property'>bottom-padding</a>" <span class="type">gdouble</span> : Read / Write
85
+ "<a class="link" href="GooCanvasTable.html#GooCanvasTable--c-column" title='The "column" child property'>column</a>" <span class="type">guint</span> : Read / Write
86
+ "<a class="link" href="GooCanvasTable.html#GooCanvasTable--c-columns" title='The "columns" child property'>columns</a>" <span class="type">guint</span> : Read / Write
87
+ "<a class="link" href="GooCanvasTable.html#GooCanvasTable--c-left-padding" title='The "left-padding" child property'>left-padding</a>" <span class="type">gdouble</span> : Read / Write
88
+ "<a class="link" href="GooCanvasTable.html#GooCanvasTable--c-right-padding" title='The "right-padding" child property'>right-padding</a>" <span class="type">gdouble</span> : Read / Write
89
+ "<a class="link" href="GooCanvasTable.html#GooCanvasTable--c-row" title='The "row" child property'>row</a>" <span class="type">guint</span> : Read / Write
90
+ "<a class="link" href="GooCanvasTable.html#GooCanvasTable--c-rows" title='The "rows" child property'>rows</a>" <span class="type">guint</span> : Read / Write
91
+ "<a class="link" href="GooCanvasTable.html#GooCanvasTable--c-top-padding" title='The "top-padding" child property'>top-padding</a>" <span class="type">gdouble</span> : Read / Write
92
+ "<a class="link" href="GooCanvasTable.html#GooCanvasTable--c-x-align" title='The "x-align" child property'>x-align</a>" <span class="type">gdouble</span> : Read / Write
93
+ "<a class="link" href="GooCanvasTable.html#GooCanvasTable--c-x-expand" title='The "x-expand" child property'>x-expand</a>" <span class="type">gboolean</span> : Read / Write
94
+ "<a class="link" href="GooCanvasTable.html#GooCanvasTable--c-x-fill" title='The "x-fill" child property'>x-fill</a>" <span class="type">gboolean</span> : Read / Write
95
+ "<a class="link" href="GooCanvasTable.html#GooCanvasTable--c-x-shrink" title='The "x-shrink" child property'>x-shrink</a>" <span class="type">gboolean</span> : Read / Write
96
+ "<a class="link" href="GooCanvasTable.html#GooCanvasTable--c-y-align" title='The "y-align" child property'>y-align</a>" <span class="type">gdouble</span> : Read / Write
97
+ "<a class="link" href="GooCanvasTable.html#GooCanvasTable--c-y-expand" title='The "y-expand" child property'>y-expand</a>" <span class="type">gboolean</span> : Read / Write
98
+ "<a class="link" href="GooCanvasTable.html#GooCanvasTable--c-y-fill" title='The "y-fill" child property'>y-fill</a>" <span class="type">gboolean</span> : Read / Write
99
+ "<a class="link" href="GooCanvasTable.html#GooCanvasTable--c-y-shrink" title='The "y-shrink" child property'>y-shrink</a>" <span class="type">gboolean</span> : Read / Write
100
+ </pre>
101
+ </div>
102
+ <div class="refsect1" title="Description">
103
+ <a name="GooCanvasTable.description"></a><h2>Description</h2>
104
+ <p>
105
+ <a class="link" href="GooCanvasTable.html" title="GooCanvasTable"><span class="type">GooCanvasTable</span></a> is a table container used to lay out other canvas items.
106
+ It is used in a similar way to how the GtkTable widget is used to lay out
107
+ GTK+ widgets.
108
+ </p>
109
+ <p>
110
+ Items are added to the table using the normal methods, then
111
+ <a class="link" href="GooCanvasItem.html#goo-canvas-item-set-child-properties" title="goo_canvas_item_set_child_properties ()"><code class="function">goo_canvas_item_set_child_properties()</code></a> is used to specify how each child
112
+ item is to be positioned within the table (i.e. which row and column it is
113
+ in, how much padding it should have and whether it should expand or
114
+ shrink).
115
+ </p>
116
+ <p>
117
+ <a class="link" href="GooCanvasTable.html" title="GooCanvasTable"><span class="type">GooCanvasTable</span></a> is a subclass of <a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a> and so
118
+ inherits all of the style properties such as "stroke-color", "fill-color"
119
+ and "line-width". Setting a style property on a <a class="link" href="GooCanvasTable.html" title="GooCanvasTable"><span class="type">GooCanvasTable</span></a> will affect
120
+ all children of the <a class="link" href="GooCanvasTable.html" title="GooCanvasTable"><span class="type">GooCanvasTable</span></a> (unless the children override the
121
+ property setting).
122
+ </p>
123
+ <p>
124
+ <a class="link" href="GooCanvasTable.html" title="GooCanvasTable"><span class="type">GooCanvasTable</span></a> implements the <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> interface, so you can use
125
+ the <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> functions such as <a class="link" href="GooCanvasItem.html#goo-canvas-item-raise" title="goo_canvas_item_raise ()"><code class="function">goo_canvas_item_raise()</code></a> and
126
+ <a class="link" href="GooCanvasItem.html#goo-canvas-item-rotate" title="goo_canvas_item_rotate ()"><code class="function">goo_canvas_item_rotate()</code></a>, and the properties such as "visibility" and
127
+ "pointer-events".
128
+ </p>
129
+ <p>
130
+ To create a <a class="link" href="GooCanvasTable.html" title="GooCanvasTable"><span class="type">GooCanvasTable</span></a> use <a class="link" href="GooCanvasTable.html#goo-canvas-table-new" title="goo_canvas_table_new ()"><code class="function">goo_canvas_table_new()</code></a>.
131
+ </p>
132
+ <p>
133
+ To get or set the properties of an existing <a class="link" href="GooCanvasTable.html" title="GooCanvasTable"><span class="type">GooCanvasTable</span></a>, use
134
+ <code class="function">g_object_get()</code> and <code class="function">g_object_set()</code>.
135
+ </p>
136
+ </div>
137
+ <div class="refsect1" title="Details">
138
+ <a name="GooCanvasTable.details"></a><h2>Details</h2>
139
+ <div class="refsect2" title="GooCanvasTable">
140
+ <a name="GooCanvasTable-struct"></a><h3>GooCanvasTable</h3>
141
+ <pre class="programlisting">typedef struct _GooCanvasTable GooCanvasTable;</pre>
142
+ <p>
143
+ The <a class="link" href="GooCanvasTable.html#GooCanvasTable-struct" title="GooCanvasTable"><span class="type">GooCanvasTable</span></a> struct contains private data only.
144
+ </p>
145
+ </div>
146
+ <hr>
147
+ <div class="refsect2" title="goo_canvas_table_new ()">
148
+ <a name="goo-canvas-table-new"></a><h3>goo_canvas_table_new ()</h3>
149
+ <pre class="programlisting"><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="returnvalue">GooCanvasItem</span></a>* goo_canvas_table_new (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *parent</code></em>,
150
+ <em class="parameter"><code>...</code></em>);</pre>
151
+ <p>
152
+ Creates a new table item.
153
+ </p>
154
+ <div class="variablelist"><table border="0">
155
+ <col align="left" valign="top">
156
+ <tbody>
157
+ <tr>
158
+ <td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
159
+ <td>the parent item, or <code class="literal">NULL</code>. If a parent is specified, it will assume
160
+ ownership of the item, and the item will automatically be freed when it is
161
+ removed from the parent. Otherwise call <code class="function">g_object_unref()</code> to free it.
162
+ </td>
163
+ </tr>
164
+ <tr>
165
+ <td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
166
+ <td>optional pairs of property names and values, and a terminating <code class="literal">NULL</code>.
167
+ </td>
168
+ </tr>
169
+ <tr>
170
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
171
+ <td> a new table item.
172
+ </td>
173
+ </tr>
174
+ </tbody>
175
+ </table></div>
176
+ <p>
177
+ Here's an example showing how to create a table with a square, a circle and
178
+ a triangle in it:
179
+ </p>
180
+ <p>
181
+ </p>
182
+ <div class="informalexample">
183
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
184
+ <tbody>
185
+ <tr>
186
+ <td class="listing_lines" align="right"><pre>1
187
+ 2
188
+ 3
189
+ 4
190
+ 5
191
+ 6
192
+ 7
193
+ 8
194
+ 9
195
+ 10
196
+ 11
197
+ 12
198
+ 13
199
+ 14
200
+ 15
201
+ 16
202
+ 17
203
+ 18
204
+ 19
205
+ 20
206
+ 21
207
+ 22
208
+ 23
209
+ 24
210
+ 25
211
+ 26
212
+ 27
213
+ 28
214
+ 29
215
+ 30
216
+ 31
217
+ 32</pre></td>
218
+ <td class="listing_code"><pre class="programlisting"><span class="normal"><a href="GooCanvasItem.html">GooCanvasItem</a> </span><span class="symbol">*</span><span class="normal">table</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">square</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">circle</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">triangle</span><span class="symbol">;</span>
219
+
220
+ <span class="normal">table </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GooCanvasTable.html#goo-canvas-table-new">goo_canvas_table_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">root</span><span class="symbol">,</span>
221
+ <span class="normal"> </span><span class="string">"row-spacing"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">4.0</span><span class="symbol">,</span>
222
+ <span class="normal"> </span><span class="string">"column-spacing"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">4.0</span><span class="symbol">,</span>
223
+ <span class="normal"> NULL</span><span class="symbol">);</span>
224
+ <span class="function"><a href="GooCanvasItem.html#goo-canvas-item-translate">goo_canvas_item_translate</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">table</span><span class="symbol">,</span><span class="normal"> </span><span class="number">400</span><span class="symbol">,</span><span class="normal"> </span><span class="number">200</span><span class="symbol">);</span>
225
+
226
+ <span class="normal">square </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GooCanvasRect.html#goo-canvas-rect-new">goo_canvas_rect_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">table</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0.0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0.0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">50.0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">50.0</span><span class="symbol">,</span>
227
+ <span class="normal"> </span><span class="string">"fill-color"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"red"</span><span class="symbol">,</span>
228
+ <span class="normal"> NULL</span><span class="symbol">);</span>
229
+ <span class="function"><a href="GooCanvasItem.html#goo-canvas-item-set-child-properties">goo_canvas_item_set_child_properties</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">table</span><span class="symbol">,</span><span class="normal"> square</span><span class="symbol">,</span>
230
+ <span class="normal"> </span><span class="string">"row"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span>
231
+ <span class="normal"> </span><span class="string">"column"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span>
232
+ <span class="normal"> NULL</span><span class="symbol">);</span>
233
+
234
+ <span class="normal">circle </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GooCanvasEllipse.html#goo-canvas-ellipse-new">goo_canvas_ellipse_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">table</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0.0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0.0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">25.0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">25.0</span><span class="symbol">,</span>
235
+ <span class="normal"> </span><span class="string">"fill-color"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"blue"</span><span class="symbol">,</span>
236
+ <span class="normal"> NULL</span><span class="symbol">);</span>
237
+ <span class="function"><a href="GooCanvasItem.html#goo-canvas-item-set-child-properties">goo_canvas_item_set_child_properties</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">table</span><span class="symbol">,</span><span class="normal"> circle</span><span class="symbol">,</span>
238
+ <span class="normal"> </span><span class="string">"row"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span>
239
+ <span class="normal"> </span><span class="string">"column"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">,</span>
240
+ <span class="normal"> NULL</span><span class="symbol">);</span>
241
+
242
+ <span class="normal">triangle </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GooCanvasPolyline.html#goo-canvas-polyline-new">goo_canvas_polyline_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">table</span><span class="symbol">,</span><span class="normal"> TRUE</span><span class="symbol">,</span><span class="normal"> </span><span class="number">3</span><span class="symbol">,</span>
243
+ <span class="normal"> </span><span class="number">25.0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0.0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0.0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">50.0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">50.0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">50.0</span><span class="symbol">,</span>
244
+ <span class="normal"> </span><span class="string">"fill-color"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"yellow"</span><span class="symbol">,</span>
245
+ <span class="normal"> NULL</span><span class="symbol">);</span>
246
+ <span class="function"><a href="GooCanvasItem.html#goo-canvas-item-set-child-properties">goo_canvas_item_set_child_properties</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">table</span><span class="symbol">,</span><span class="normal"> triangle</span><span class="symbol">,</span>
247
+ <span class="normal"> </span><span class="string">"row"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span>
248
+ <span class="normal"> </span><span class="string">"column"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">2</span><span class="symbol">,</span>
249
+ <span class="normal"> NULL</span><span class="symbol">);</span></pre></td>
250
+ </tr>
251
+ </tbody>
252
+ </table>
253
+ </div>
254
+
255
+ <p>
256
+ </p>
257
+ </div>
258
+ </div>
259
+ <div class="refsect1" title="Property Details">
260
+ <a name="GooCanvasTable.property-details"></a><h2>Property Details</h2>
261
+ <div class="refsect2" title='The "column-spacing" property'>
262
+ <a name="GooCanvasTable--column-spacing"></a><h3>The <code class="literal">"column-spacing"</code> property</h3>
263
+ <pre class="programlisting"> "column-spacing" <span class="type">gdouble</span> : Read / Write</pre>
264
+ <p>The default space between columns.</p>
265
+ <p>Allowed values: &gt;= 0</p>
266
+ <p>Default value: 0</p>
267
+ </div>
268
+ <hr>
269
+ <div class="refsect2" title='The "homogeneous-columns" property'>
270
+ <a name="GooCanvasTable--homogeneous-columns"></a><h3>The <code class="literal">"homogeneous-columns"</code> property</h3>
271
+ <pre class="programlisting"> "homogeneous-columns" <span class="type">gboolean</span> : Read / Write</pre>
272
+ <p>If all columns are the same width.</p>
273
+ <p>Default value: FALSE</p>
274
+ </div>
275
+ <hr>
276
+ <div class="refsect2" title='The "homogeneous-rows" property'>
277
+ <a name="GooCanvasTable--homogeneous-rows"></a><h3>The <code class="literal">"homogeneous-rows"</code> property</h3>
278
+ <pre class="programlisting"> "homogeneous-rows" <span class="type">gboolean</span> : Read / Write</pre>
279
+ <p>If all rows are the same height.</p>
280
+ <p>Default value: FALSE</p>
281
+ </div>
282
+ <hr>
283
+ <div class="refsect2" title='The "horz-grid-line-width" property'>
284
+ <a name="GooCanvasTable--horz-grid-line-width"></a><h3>The <code class="literal">"horz-grid-line-width"</code> property</h3>
285
+ <pre class="programlisting"> "horz-grid-line-width" <span class="type">gdouble</span> : Read / Write</pre>
286
+ <p>The width of the grid line to draw between rows.</p>
287
+ <p>Allowed values: &gt;= 0</p>
288
+ <p>Default value: 0</p>
289
+ </div>
290
+ <hr>
291
+ <div class="refsect2" title='The "row-spacing" property'>
292
+ <a name="GooCanvasTable--row-spacing"></a><h3>The <code class="literal">"row-spacing"</code> property</h3>
293
+ <pre class="programlisting"> "row-spacing" <span class="type">gdouble</span> : Read / Write</pre>
294
+ <p>The default space between rows.</p>
295
+ <p>Allowed values: &gt;= 0</p>
296
+ <p>Default value: 0</p>
297
+ </div>
298
+ <hr>
299
+ <div class="refsect2" title='The "vert-grid-line-width" property'>
300
+ <a name="GooCanvasTable--vert-grid-line-width"></a><h3>The <code class="literal">"vert-grid-line-width"</code> property</h3>
301
+ <pre class="programlisting"> "vert-grid-line-width" <span class="type">gdouble</span> : Read / Write</pre>
302
+ <p>The width of the grid line to draw between columns.</p>
303
+ <p>Allowed values: &gt;= 0</p>
304
+ <p>Default value: 0</p>
305
+ </div>
306
+ <hr>
307
+ <div class="refsect2" title='The "x-border-spacing" property'>
308
+ <a name="GooCanvasTable--x-border-spacing"></a><h3>The <code class="literal">"x-border-spacing"</code> property</h3>
309
+ <pre class="programlisting"> "x-border-spacing" <span class="type">gdouble</span> : Read / Write</pre>
310
+ <p>The amount of spacing between the lefmost and rightmost cells and the border grid line.</p>
311
+ <p>Allowed values: &gt;= 0</p>
312
+ <p>Default value: 0</p>
313
+ </div>
314
+ <hr>
315
+ <div class="refsect2" title='The "y-border-spacing" property'>
316
+ <a name="GooCanvasTable--y-border-spacing"></a><h3>The <code class="literal">"y-border-spacing"</code> property</h3>
317
+ <pre class="programlisting"> "y-border-spacing" <span class="type">gdouble</span> : Read / Write</pre>
318
+ <p>The amount of spacing between the topmost and bottommost cells and the border grid line.</p>
319
+ <p>Allowed values: &gt;= 0</p>
320
+ <p>Default value: 0</p>
321
+ </div>
322
+ </div>
323
+ <div class="refsect1" title="Child Property Details">
324
+ <a name="GooCanvasTable.child-property-details"></a><h2>Child Property Details</h2>
325
+ <div class="refsect2" title='The "bottom-padding" child property'>
326
+ <a name="GooCanvasTable--c-bottom-padding"></a><h3>The <code class="literal">"bottom-padding"</code> child property</h3>
327
+ <pre class="programlisting"> "bottom-padding" <span class="type">gdouble</span> : Read / Write</pre>
328
+ <p>Extra space to add below the item.</p>
329
+ <p>Allowed values: &gt;= 0</p>
330
+ <p>Default value: 0</p>
331
+ </div>
332
+ <hr>
333
+ <div class="refsect2" title='The "column" child property'>
334
+ <a name="GooCanvasTable--c-column"></a><h3>The <code class="literal">"column"</code> child property</h3>
335
+ <pre class="programlisting"> "column" <span class="type">guint</span> : Read / Write</pre>
336
+ <p>The column to place the item in.</p>
337
+ <p>Allowed values: &lt;= 65535</p>
338
+ <p>Default value: 0</p>
339
+ </div>
340
+ <hr>
341
+ <div class="refsect2" title='The "columns" child property'>
342
+ <a name="GooCanvasTable--c-columns"></a><h3>The <code class="literal">"columns"</code> child property</h3>
343
+ <pre class="programlisting"> "columns" <span class="type">guint</span> : Read / Write</pre>
344
+ <p>The number of columns that the item spans.</p>
345
+ <p>Allowed values: &lt;= 65535</p>
346
+ <p>Default value: 1</p>
347
+ </div>
348
+ <hr>
349
+ <div class="refsect2" title='The "left-padding" child property'>
350
+ <a name="GooCanvasTable--c-left-padding"></a><h3>The <code class="literal">"left-padding"</code> child property</h3>
351
+ <pre class="programlisting"> "left-padding" <span class="type">gdouble</span> : Read / Write</pre>
352
+ <p>Extra space to add to the left of the item.</p>
353
+ <p>Allowed values: &gt;= 0</p>
354
+ <p>Default value: 0</p>
355
+ </div>
356
+ <hr>
357
+ <div class="refsect2" title='The "right-padding" child property'>
358
+ <a name="GooCanvasTable--c-right-padding"></a><h3>The <code class="literal">"right-padding"</code> child property</h3>
359
+ <pre class="programlisting"> "right-padding" <span class="type">gdouble</span> : Read / Write</pre>
360
+ <p>Extra space to add to the right of the item.</p>
361
+ <p>Allowed values: &gt;= 0</p>
362
+ <p>Default value: 0</p>
363
+ </div>
364
+ <hr>
365
+ <div class="refsect2" title='The "row" child property'>
366
+ <a name="GooCanvasTable--c-row"></a><h3>The <code class="literal">"row"</code> child property</h3>
367
+ <pre class="programlisting"> "row" <span class="type">guint</span> : Read / Write</pre>
368
+ <p>The row to place the item in.</p>
369
+ <p>Allowed values: &lt;= 65535</p>
370
+ <p>Default value: 0</p>
371
+ </div>
372
+ <hr>
373
+ <div class="refsect2" title='The "rows" child property'>
374
+ <a name="GooCanvasTable--c-rows"></a><h3>The <code class="literal">"rows"</code> child property</h3>
375
+ <pre class="programlisting"> "rows" <span class="type">guint</span> : Read / Write</pre>
376
+ <p>The number of rows that the item spans.</p>
377
+ <p>Allowed values: &lt;= 65535</p>
378
+ <p>Default value: 1</p>
379
+ </div>
380
+ <hr>
381
+ <div class="refsect2" title='The "top-padding" child property'>
382
+ <a name="GooCanvasTable--c-top-padding"></a><h3>The <code class="literal">"top-padding"</code> child property</h3>
383
+ <pre class="programlisting"> "top-padding" <span class="type">gdouble</span> : Read / Write</pre>
384
+ <p>Extra space to add above the item.</p>
385
+ <p>Allowed values: &gt;= 0</p>
386
+ <p>Default value: 0</p>
387
+ </div>
388
+ <hr>
389
+ <div class="refsect2" title='The "x-align" child property'>
390
+ <a name="GooCanvasTable--c-x-align"></a><h3>The <code class="literal">"x-align"</code> child property</h3>
391
+ <pre class="programlisting"> "x-align" <span class="type">gdouble</span> : Read / Write</pre>
392
+ <p>The horizontal position of the item within its allocated space. 0.0 is left-aligned, 1.0 is right-aligned.</p>
393
+ <p>Allowed values: [0,1]</p>
394
+ <p>Default value: 0.5</p>
395
+ </div>
396
+ <hr>
397
+ <div class="refsect2" title='The "x-expand" child property'>
398
+ <a name="GooCanvasTable--c-x-expand"></a><h3>The <code class="literal">"x-expand"</code> child property</h3>
399
+ <pre class="programlisting"> "x-expand" <span class="type">gboolean</span> : Read / Write</pre>
400
+ <p>If the item expands horizontally as the table expands.</p>
401
+ <p>Default value: FALSE</p>
402
+ </div>
403
+ <hr>
404
+ <div class="refsect2" title='The "x-fill" child property'>
405
+ <a name="GooCanvasTable--c-x-fill"></a><h3>The <code class="literal">"x-fill"</code> child property</h3>
406
+ <pre class="programlisting"> "x-fill" <span class="type">gboolean</span> : Read / Write</pre>
407
+ <p>If the item fills all horizontal allocated space.</p>
408
+ <p>Default value: FALSE</p>
409
+ </div>
410
+ <hr>
411
+ <div class="refsect2" title='The "x-shrink" child property'>
412
+ <a name="GooCanvasTable--c-x-shrink"></a><h3>The <code class="literal">"x-shrink"</code> child property</h3>
413
+ <pre class="programlisting"> "x-shrink" <span class="type">gboolean</span> : Read / Write</pre>
414
+ <p>If the item can shrink smaller than its requested size horizontally.</p>
415
+ <p>Default value: FALSE</p>
416
+ </div>
417
+ <hr>
418
+ <div class="refsect2" title='The "y-align" child property'>
419
+ <a name="GooCanvasTable--c-y-align"></a><h3>The <code class="literal">"y-align"</code> child property</h3>
420
+ <pre class="programlisting"> "y-align" <span class="type">gdouble</span> : Read / Write</pre>
421
+ <p>The vertical position of the item within its allocated space. 0.0 is top-aligned, 1.0 is bottom-aligned.</p>
422
+ <p>Allowed values: [0,1]</p>
423
+ <p>Default value: 0.5</p>
424
+ </div>
425
+ <hr>
426
+ <div class="refsect2" title='The "y-expand" child property'>
427
+ <a name="GooCanvasTable--c-y-expand"></a><h3>The <code class="literal">"y-expand"</code> child property</h3>
428
+ <pre class="programlisting"> "y-expand" <span class="type">gboolean</span> : Read / Write</pre>
429
+ <p>If the item expands vertically as the table expands.</p>
430
+ <p>Default value: FALSE</p>
431
+ </div>
432
+ <hr>
433
+ <div class="refsect2" title='The "y-fill" child property'>
434
+ <a name="GooCanvasTable--c-y-fill"></a><h3>The <code class="literal">"y-fill"</code> child property</h3>
435
+ <pre class="programlisting"> "y-fill" <span class="type">gboolean</span> : Read / Write</pre>
436
+ <p>If the item fills all vertical allocated space.</p>
437
+ <p>Default value: FALSE</p>
438
+ </div>
439
+ <hr>
440
+ <div class="refsect2" title='The "y-shrink" child property'>
441
+ <a name="GooCanvasTable--c-y-shrink"></a><h3>The <code class="literal">"y-shrink"</code> child property</h3>
442
+ <pre class="programlisting"> "y-shrink" <span class="type">gboolean</span> : Read / Write</pre>
443
+ <p>If the item can shrink smaller than its requested size vertically.</p>
444
+ <p>Default value: FALSE</p>
445
+ </div>
446
+ </div>
447
+ </div>
448
+ <div class="footer">
449
+ <hr>
450
+ Generated by GTK-Doc V1.14</div>
451
+ </body>
452
+ </html>