goocanvas 0.90.6-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +87 -0
- data/README +37 -0
- data/Rakefile +14 -0
- data/ext/goocanvas/depend +5 -0
- data/ext/goocanvas/extconf.rb +66 -0
- data/ext/goocanvas/goocanvas.def +2 -0
- data/ext/goocanvas/rbgoocairo.c +74 -0
- data/ext/goocanvas/rbgoocanvas.c +236 -0
- data/ext/goocanvas/rbgoocanvas.h +66 -0
- data/ext/goocanvas/rbgoocanvasellipse.c +50 -0
- data/ext/goocanvas/rbgoocanvasgroup.c +41 -0
- data/ext/goocanvas/rbgoocanvasimage.c +45 -0
- data/ext/goocanvas/rbgoocanvasitem.c +358 -0
- data/ext/goocanvas/rbgoocanvaspolyline.c +102 -0
- data/ext/goocanvas/rbgoocanvasrect.c +47 -0
- data/ext/goocanvas/rbgoocanvasstyle.c +61 -0
- data/ext/goocanvas/rbgoocanvastable.c +41 -0
- data/ext/goocanvas/rbgoocanvastext.c +58 -0
- data/ext/goocanvas/rbgoocanvaswidget.c +48 -0
- data/ext/goocanvas/rbgooutils.c +44 -0
- data/extconf.rb +49 -0
- data/lib/1.8/goocanvas.so +0 -0
- data/lib/1.9/goocanvas.so +0 -0
- data/lib/goocanvas.rb +145 -0
- data/sample/demo-arrowhead.rb +315 -0
- data/sample/demo-fifteen.rb +218 -0
- data/sample/demo-primitives.rb +720 -0
- data/sample/demo.rb +84 -0
- data/sample/flower.png +0 -0
- data/sample/scalability-demo.rb +130 -0
- data/sample/simple-demo.rb +35 -0
- data/sample/table-demo.rb +137 -0
- data/sample/toroid.png +0 -0
- data/sample/units-demo.rb +80 -0
- data/sample/widgets-demo.rb +197 -0
- data/vendor/local/bin/libgoocanvas-3.dll +0 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvas.h +334 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasatk.h +22 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasellipse.h +120 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasenumtypes.h +33 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasgrid.h +153 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasgroup.h +109 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasimage.h +121 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasitem.h +479 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasitemmodel.h +275 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasitemsimple.h +247 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasmarshal.h +61 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvaspath.h +116 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvaspolyline.h +176 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasprivate.h +59 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasrect.h +121 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasstyle.h +110 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvastable.h +139 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvastext.h +133 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasutils.h +333 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvaswidget.h +66 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/stamp-goocanvasmarshal.h +1 -0
- data/vendor/local/lib/libgoocanvas.a +0 -0
- data/vendor/local/lib/libgoocanvas.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/goocanvas.pc +13 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvas.html +1982 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasEllipse.html +269 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasEllipseModel.html +274 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasGrid.html +469 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasGridModel.html +476 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasGroup.html +183 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasGroupModel.html +184 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasImage.html +247 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasImageModel.html +252 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasItem.html +3014 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasItemModel.html +1764 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasItemModelSimple.html +298 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasItemSimple.html +809 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasPath.html +279 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasPathModel.html +280 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasPolyline.html +369 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasPolylineModel.html +375 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasRect.html +247 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasRectModel.html +252 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasStyle.html +489 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasTable.html +452 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasTableModel.html +452 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasText.html +324 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasTextModel.html +287 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasWidget.html +266 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/ch01.html +53 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/ch02.html +50 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/ch03.html +62 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/ch04.html +60 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/ch05.html +33 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-GooCanvas-Types.html +815 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-architecture.html +157 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-coordinates.html +106 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-creating-items.html +420 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-model-view-canvas.html +246 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-overview.html +106 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-simple-canvas.html +238 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-wysiwyg.html +84 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas.devhelp +608 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas.devhelp2 +639 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/index.html +138 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/index.sgml +814 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/style.css +257 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/up.png +0 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/dummy.sgml +0 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvas-unused.sgml +0 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvas.sgml +536 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasellipse.sgml +82 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasellipsemodel.sgml +82 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasgrid.sgml +176 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasgridmodel.sgml +176 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasgroup.sgml +58 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasgroupmodel.sgml +58 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasimage.sgml +81 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasimagemodel.sgml +81 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasitem.sgml +773 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasitemmodel.sgml +490 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasitemmodelsimple.sgml +135 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasitemsimple.sgml +254 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvaspath.sgml +64 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvaspathmodel.sgml +64 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvaspolyline.sgml +109 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvaspolylinemodel.sgml +109 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasrect.sgml +72 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasrectmodel.sgml +72 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasstyle.sgml +186 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvastable.sgml +158 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvastablemodel.sgml +158 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvastext.sgml +103 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvastextmodel.sgml +93 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasutils.sgml +241 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvaswidget.sgml +73 -0
- metadata +218 -0
@@ -0,0 +1,183 @@
|
|
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>GooCanvasGroup</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="ch03.html" title="Standard Canvas Items">
|
10
|
+
<link rel="next" href="GooCanvasEllipse.html" title="GooCanvasEllipse">
|
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="ch03.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="GooCanvasEllipse.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="#GooCanvasGroup.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#GooCanvasGroup.description" class="shortcut">Description</a>
|
27
|
+
|
|
28
|
+
<a href="#GooCanvasGroup.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
+
|
|
30
|
+
<a href="#GooCanvasGroup.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
|
31
|
+
|
|
32
|
+
<a href="#GooCanvasGroup.properties" class="shortcut">Properties</a>
|
33
|
+
</td></tr>
|
34
|
+
</table>
|
35
|
+
<div class="refentry" title="GooCanvasGroup">
|
36
|
+
<a name="GooCanvasGroup"></a><div class="titlepage"></div>
|
37
|
+
<div class="refnamediv"><table width="100%"><tr>
|
38
|
+
<td valign="top">
|
39
|
+
<h2><span class="refentrytitle"><a name="GooCanvasGroup.top_of_page"></a>GooCanvasGroup</span></h2>
|
40
|
+
<p>GooCanvasGroup — a group of items.</p>
|
41
|
+
</td>
|
42
|
+
<td valign="top" align="right"></td>
|
43
|
+
</tr></table></div>
|
44
|
+
<div class="refsynopsisdiv" title="Synopsis">
|
45
|
+
<a name="GooCanvasGroup.synopsis"></a><h2>Synopsis</h2>
|
46
|
+
<pre class="synopsis"> <a class="link" href="GooCanvasGroup.html#GooCanvasGroup-struct" title="GooCanvasGroup">GooCanvasGroup</a>;
|
47
|
+
<a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="returnvalue">GooCanvasItem</span></a>* <a class="link" href="GooCanvasGroup.html#goo-canvas-group-new" title="goo_canvas_group_new ()">goo_canvas_group_new</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *parent</code></em>,
|
48
|
+
<em class="parameter"><code>...</code></em>);
|
49
|
+
</pre>
|
50
|
+
</div>
|
51
|
+
<div class="refsect1" title="Object Hierarchy">
|
52
|
+
<a name="GooCanvasGroup.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
53
|
+
<pre class="synopsis">
|
54
|
+
GObject
|
55
|
+
+----<a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple">GooCanvasItemSimple</a>
|
56
|
+
+----GooCanvasGroup
|
57
|
+
+----<a class="link" href="GooCanvasTable.html" title="GooCanvasTable">GooCanvasTable</a>
|
58
|
+
</pre>
|
59
|
+
</div>
|
60
|
+
<div class="refsect1" title="Implemented Interfaces">
|
61
|
+
<a name="GooCanvasGroup.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
62
|
+
<p>
|
63
|
+
GooCanvasGroup implements
|
64
|
+
<a class="link" href="GooCanvasItem.html" title="GooCanvasItem">GooCanvasItem</a>.</p>
|
65
|
+
</div>
|
66
|
+
<div class="refsect1" title="Properties">
|
67
|
+
<a name="GooCanvasGroup.properties"></a><h2>Properties</h2>
|
68
|
+
<pre class="synopsis">
|
69
|
+
"<a class="link" href="GooCanvasGroup.html#GooCanvasGroup--height" title='The "height" property'>height</a>" <span class="type">gdouble</span> : Read / Write
|
70
|
+
"<a class="link" href="GooCanvasGroup.html#GooCanvasGroup--width" title='The "width" property'>width</a>" <span class="type">gdouble</span> : Read / Write
|
71
|
+
"<a class="link" href="GooCanvasGroup.html#GooCanvasGroup--x" title='The "x" property'>x</a>" <span class="type">gdouble</span> : Read / Write
|
72
|
+
"<a class="link" href="GooCanvasGroup.html#GooCanvasGroup--y" title='The "y" property'>y</a>" <span class="type">gdouble</span> : Read / Write
|
73
|
+
</pre>
|
74
|
+
</div>
|
75
|
+
<div class="refsect1" title="Description">
|
76
|
+
<a name="GooCanvasGroup.description"></a><h2>Description</h2>
|
77
|
+
<p>
|
78
|
+
<a class="link" href="GooCanvasGroup.html" title="GooCanvasGroup"><span class="type">GooCanvasGroup</span></a> represents a group of items. Groups can be nested to
|
79
|
+
any depth, to create a hierarchy of items. Items are ordered within each
|
80
|
+
group, with later items being displayed above earlier items.
|
81
|
+
</p>
|
82
|
+
<p>
|
83
|
+
<a class="link" href="GooCanvasGroup.html" title="GooCanvasGroup"><span class="type">GooCanvasGroup</span></a> is a subclass of <a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a> and so
|
84
|
+
inherits all of the style properties such as "stroke-color", "fill-color"
|
85
|
+
and "line-width". Setting a style property on a <a class="link" href="GooCanvasGroup.html" title="GooCanvasGroup"><span class="type">GooCanvasGroup</span></a> will affect
|
86
|
+
all children of the <a class="link" href="GooCanvasGroup.html" title="GooCanvasGroup"><span class="type">GooCanvasGroup</span></a> (unless the children override the
|
87
|
+
property setting).
|
88
|
+
</p>
|
89
|
+
<p>
|
90
|
+
<a class="link" href="GooCanvasGroup.html" title="GooCanvasGroup"><span class="type">GooCanvasGroup</span></a> implements the <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> interface, so you can use
|
91
|
+
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
|
92
|
+
<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
|
93
|
+
"pointer-events".
|
94
|
+
</p>
|
95
|
+
<p>
|
96
|
+
If the <a class="link" href="GooCanvasGroup.html#GooCanvasGroup--width" title='The "width" property'><span class="type">"width"</span></a> and <a class="link" href="GooCanvasGroup.html#GooCanvasGroup--height" title='The "height" property'><span class="type">"height"</span></a> properties are
|
97
|
+
set to positive values then the group is clipped to the given size.
|
98
|
+
</p>
|
99
|
+
<p>
|
100
|
+
To create a <a class="link" href="GooCanvasGroup.html" title="GooCanvasGroup"><span class="type">GooCanvasGroup</span></a> use <a class="link" href="GooCanvasGroup.html#goo-canvas-group-new" title="goo_canvas_group_new ()"><code class="function">goo_canvas_group_new()</code></a>.
|
101
|
+
</p>
|
102
|
+
<p>
|
103
|
+
To get or set the properties of an existing <a class="link" href="GooCanvasGroup.html" title="GooCanvasGroup"><span class="type">GooCanvasGroup</span></a>, use
|
104
|
+
<code class="function">g_object_get()</code> and <code class="function">g_object_set()</code>.
|
105
|
+
</p>
|
106
|
+
</div>
|
107
|
+
<div class="refsect1" title="Details">
|
108
|
+
<a name="GooCanvasGroup.details"></a><h2>Details</h2>
|
109
|
+
<div class="refsect2" title="GooCanvasGroup">
|
110
|
+
<a name="GooCanvasGroup-struct"></a><h3>GooCanvasGroup</h3>
|
111
|
+
<pre class="programlisting">typedef struct _GooCanvasGroup GooCanvasGroup;</pre>
|
112
|
+
<p>
|
113
|
+
The <a class="link" href="GooCanvasGroup.html#GooCanvasGroup-struct" title="GooCanvasGroup"><span class="type">GooCanvasGroup</span></a> struct contains private data only.
|
114
|
+
</p>
|
115
|
+
</div>
|
116
|
+
<hr>
|
117
|
+
<div class="refsect2" title="goo_canvas_group_new ()">
|
118
|
+
<a name="goo-canvas-group-new"></a><h3>goo_canvas_group_new ()</h3>
|
119
|
+
<pre class="programlisting"><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="returnvalue">GooCanvasItem</span></a>* goo_canvas_group_new (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *parent</code></em>,
|
120
|
+
<em class="parameter"><code>...</code></em>);</pre>
|
121
|
+
<p>
|
122
|
+
Creates a new group item.
|
123
|
+
</p>
|
124
|
+
<div class="variablelist"><table border="0">
|
125
|
+
<col align="left" valign="top">
|
126
|
+
<tbody>
|
127
|
+
<tr>
|
128
|
+
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
|
129
|
+
<td>the parent item, or <code class="literal">NULL</code>. If a parent is specified, it will assume
|
130
|
+
ownership of the item, and the item will automatically be freed when it is
|
131
|
+
removed from the parent. Otherwise call <code class="function">g_object_unref()</code> to free it.
|
132
|
+
</td>
|
133
|
+
</tr>
|
134
|
+
<tr>
|
135
|
+
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
136
|
+
<td>optional pairs of property names and values, and a terminating <code class="literal">NULL</code>.
|
137
|
+
</td>
|
138
|
+
</tr>
|
139
|
+
<tr>
|
140
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
141
|
+
<td> a new group item.
|
142
|
+
</td>
|
143
|
+
</tr>
|
144
|
+
</tbody>
|
145
|
+
</table></div>
|
146
|
+
</div>
|
147
|
+
</div>
|
148
|
+
<div class="refsect1" title="Property Details">
|
149
|
+
<a name="GooCanvasGroup.property-details"></a><h2>Property Details</h2>
|
150
|
+
<div class="refsect2" title='The "height" property'>
|
151
|
+
<a name="GooCanvasGroup--height"></a><h3>The <code class="literal">"height"</code> property</h3>
|
152
|
+
<pre class="programlisting"> "height" <span class="type">gdouble</span> : Read / Write</pre>
|
153
|
+
<p>The height of the group, or -1 to use the default height.</p>
|
154
|
+
<p>Default value: -1</p>
|
155
|
+
</div>
|
156
|
+
<hr>
|
157
|
+
<div class="refsect2" title='The "width" property'>
|
158
|
+
<a name="GooCanvasGroup--width"></a><h3>The <code class="literal">"width"</code> property</h3>
|
159
|
+
<pre class="programlisting"> "width" <span class="type">gdouble</span> : Read / Write</pre>
|
160
|
+
<p>The width of the group, or -1 to use the default width.</p>
|
161
|
+
<p>Default value: -1</p>
|
162
|
+
</div>
|
163
|
+
<hr>
|
164
|
+
<div class="refsect2" title='The "x" property'>
|
165
|
+
<a name="GooCanvasGroup--x"></a><h3>The <code class="literal">"x"</code> property</h3>
|
166
|
+
<pre class="programlisting"> "x" <span class="type">gdouble</span> : Read / Write</pre>
|
167
|
+
<p>The x coordinate of the group.</p>
|
168
|
+
<p>Default value: 0</p>
|
169
|
+
</div>
|
170
|
+
<hr>
|
171
|
+
<div class="refsect2" title='The "y" property'>
|
172
|
+
<a name="GooCanvasGroup--y"></a><h3>The <code class="literal">"y"</code> property</h3>
|
173
|
+
<pre class="programlisting"> "y" <span class="type">gdouble</span> : Read / Write</pre>
|
174
|
+
<p>The y coordinate of the group.</p>
|
175
|
+
<p>Default value: 0</p>
|
176
|
+
</div>
|
177
|
+
</div>
|
178
|
+
</div>
|
179
|
+
<div class="footer">
|
180
|
+
<hr>
|
181
|
+
Generated by GTK-Doc V1.14</div>
|
182
|
+
</body>
|
183
|
+
</html>
|
@@ -0,0 +1,184 @@
|
|
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>GooCanvasGroupModel</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="ch04.html" title="Standard Canvas Item Models">
|
9
|
+
<link rel="prev" href="ch04.html" title="Standard Canvas Item Models">
|
10
|
+
<link rel="next" href="GooCanvasEllipseModel.html" title="GooCanvasEllipseModel">
|
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="ch04.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="ch04.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="GooCanvasEllipseModel.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="#GooCanvasGroupModel.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#GooCanvasGroupModel.description" class="shortcut">Description</a>
|
27
|
+
|
|
28
|
+
<a href="#GooCanvasGroupModel.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
+
|
|
30
|
+
<a href="#GooCanvasGroupModel.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
|
31
|
+
|
|
32
|
+
<a href="#GooCanvasGroupModel.properties" class="shortcut">Properties</a>
|
33
|
+
</td></tr>
|
34
|
+
</table>
|
35
|
+
<div class="refentry" title="GooCanvasGroupModel">
|
36
|
+
<a name="GooCanvasGroupModel"></a><div class="titlepage"></div>
|
37
|
+
<div class="refnamediv"><table width="100%"><tr>
|
38
|
+
<td valign="top">
|
39
|
+
<h2><span class="refentrytitle"><a name="GooCanvasGroupModel.top_of_page"></a>GooCanvasGroupModel</span></h2>
|
40
|
+
<p>GooCanvasGroupModel — a model for a group of items.</p>
|
41
|
+
</td>
|
42
|
+
<td valign="top" align="right"></td>
|
43
|
+
</tr></table></div>
|
44
|
+
<div class="refsynopsisdiv" title="Synopsis">
|
45
|
+
<a name="GooCanvasGroupModel.synopsis"></a><h2>Synopsis</h2>
|
46
|
+
<pre class="synopsis"> <a class="link" href="GooCanvasGroupModel.html#GooCanvasGroupModel-struct" title="GooCanvasGroupModel">GooCanvasGroupModel</a>;
|
47
|
+
<a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="returnvalue">GooCanvasItemModel</span></a>* <a class="link" href="GooCanvasGroupModel.html#goo-canvas-group-model-new" title="goo_canvas_group_model_new ()">goo_canvas_group_model_new</a> (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *parent</code></em>,
|
48
|
+
<em class="parameter"><code>...</code></em>);
|
49
|
+
</pre>
|
50
|
+
</div>
|
51
|
+
<div class="refsect1" title="Object Hierarchy">
|
52
|
+
<a name="GooCanvasGroupModel.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
53
|
+
<pre class="synopsis">
|
54
|
+
GObject
|
55
|
+
+----<a class="link" href="GooCanvasItemModelSimple.html" title="GooCanvasItemModelSimple">GooCanvasItemModelSimple</a>
|
56
|
+
+----GooCanvasGroupModel
|
57
|
+
+----<a class="link" href="GooCanvasTableModel.html" title="GooCanvasTableModel">GooCanvasTableModel</a>
|
58
|
+
</pre>
|
59
|
+
</div>
|
60
|
+
<div class="refsect1" title="Implemented Interfaces">
|
61
|
+
<a name="GooCanvasGroupModel.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
62
|
+
<p>
|
63
|
+
GooCanvasGroupModel implements
|
64
|
+
<a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel">GooCanvasItemModel</a>.</p>
|
65
|
+
</div>
|
66
|
+
<div class="refsect1" title="Properties">
|
67
|
+
<a name="GooCanvasGroupModel.properties"></a><h2>Properties</h2>
|
68
|
+
<pre class="synopsis">
|
69
|
+
"<a class="link" href="GooCanvasGroupModel.html#GooCanvasGroupModel--height" title='The "height" property'>height</a>" <span class="type">gdouble</span> : Read / Write
|
70
|
+
"<a class="link" href="GooCanvasGroupModel.html#GooCanvasGroupModel--width" title='The "width" property'>width</a>" <span class="type">gdouble</span> : Read / Write
|
71
|
+
"<a class="link" href="GooCanvasGroupModel.html#GooCanvasGroupModel--x" title='The "x" property'>x</a>" <span class="type">gdouble</span> : Read / Write
|
72
|
+
"<a class="link" href="GooCanvasGroupModel.html#GooCanvasGroupModel--y" title='The "y" property'>y</a>" <span class="type">gdouble</span> : Read / Write
|
73
|
+
</pre>
|
74
|
+
</div>
|
75
|
+
<div class="refsect1" title="Description">
|
76
|
+
<a name="GooCanvasGroupModel.description"></a><h2>Description</h2>
|
77
|
+
<p>
|
78
|
+
<a class="link" href="GooCanvasGroupModel.html" title="GooCanvasGroupModel"><span class="type">GooCanvasGroupModel</span></a> represents a group of items. Groups can be nested to
|
79
|
+
any depth, to create a hierarchy of items. Items are ordered within each
|
80
|
+
group, with later items being displayed above earlier items.
|
81
|
+
</p>
|
82
|
+
<p>
|
83
|
+
<a class="link" href="GooCanvasGroupModel.html" title="GooCanvasGroupModel"><span class="type">GooCanvasGroupModel</span></a> is a subclass of <a class="link" href="GooCanvasItemModelSimple.html" title="GooCanvasItemModelSimple"><span class="type">GooCanvasItemModelSimple</span></a> and so
|
84
|
+
inherits all of the style properties such as "stroke-color", "fill-color"
|
85
|
+
and "line-width". Setting a style property on a <a class="link" href="GooCanvasGroupModel.html" title="GooCanvasGroupModel"><span class="type">GooCanvasGroupModel</span></a> will
|
86
|
+
affect all children of the <a class="link" href="GooCanvasGroupModel.html" title="GooCanvasGroupModel"><span class="type">GooCanvasGroupModel</span></a> (unless the children
|
87
|
+
override the property setting).
|
88
|
+
</p>
|
89
|
+
<p>
|
90
|
+
<a class="link" href="GooCanvasGroupModel.html" title="GooCanvasGroupModel"><span class="type">GooCanvasGroupModel</span></a> implements the <a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> interface, so you
|
91
|
+
can use the <a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> functions such as
|
92
|
+
<a class="link" href="GooCanvasItemModel.html#goo-canvas-item-model-raise" title="goo_canvas_item_model_raise ()"><code class="function">goo_canvas_item_model_raise()</code></a> and <a class="link" href="GooCanvasItemModel.html#goo-canvas-item-model-rotate" title="goo_canvas_item_model_rotate ()"><code class="function">goo_canvas_item_model_rotate()</code></a>, and the
|
93
|
+
properties such as "visibility" and "pointer-events".
|
94
|
+
</p>
|
95
|
+
<p>
|
96
|
+
To create a <a class="link" href="GooCanvasGroupModel.html" title="GooCanvasGroupModel"><span class="type">GooCanvasGroupModel</span></a> use <a class="link" href="GooCanvasGroupModel.html#goo-canvas-group-model-new" title="goo_canvas_group_model_new ()"><code class="function">goo_canvas_group_model_new()</code></a>.
|
97
|
+
</p>
|
98
|
+
<p>
|
99
|
+
To get or set the properties of an existing <a class="link" href="GooCanvasGroupModel.html" title="GooCanvasGroupModel"><span class="type">GooCanvasGroupModel</span></a>, use
|
100
|
+
<code class="function">g_object_get()</code> and <code class="function">g_object_set()</code>.
|
101
|
+
</p>
|
102
|
+
<p>
|
103
|
+
To respond to events such as mouse clicks on the group you must connect
|
104
|
+
to the signal handlers of the corresponding <a class="link" href="GooCanvasGroup.html" title="GooCanvasGroup"><span class="type">GooCanvasGroup</span></a> objects.
|
105
|
+
(See <a class="link" href="GooCanvas.html#goo-canvas-get-item" title="goo_canvas_get_item ()"><code class="function">goo_canvas_get_item()</code></a> and <a class="link" href="GooCanvas.html#GooCanvas-item-created" title='The "item-created" signal'><span class="type">"item-created"</span></a>.)
|
106
|
+
</p>
|
107
|
+
</div>
|
108
|
+
<div class="refsect1" title="Details">
|
109
|
+
<a name="GooCanvasGroupModel.details"></a><h2>Details</h2>
|
110
|
+
<div class="refsect2" title="GooCanvasGroupModel">
|
111
|
+
<a name="GooCanvasGroupModel-struct"></a><h3>GooCanvasGroupModel</h3>
|
112
|
+
<pre class="programlisting">typedef struct _GooCanvasGroupModel GooCanvasGroupModel;</pre>
|
113
|
+
<p>
|
114
|
+
The <a class="link" href="GooCanvasGroupModel.html#GooCanvasGroupModel-struct" title="GooCanvasGroupModel"><span class="type">GooCanvasGroupModel</span></a> struct contains private data only.
|
115
|
+
</p>
|
116
|
+
</div>
|
117
|
+
<hr>
|
118
|
+
<div class="refsect2" title="goo_canvas_group_model_new ()">
|
119
|
+
<a name="goo-canvas-group-model-new"></a><h3>goo_canvas_group_model_new ()</h3>
|
120
|
+
<pre class="programlisting"><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="returnvalue">GooCanvasItemModel</span></a>* goo_canvas_group_model_new (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *parent</code></em>,
|
121
|
+
<em class="parameter"><code>...</code></em>);</pre>
|
122
|
+
<p>
|
123
|
+
Creates a new group item.
|
124
|
+
</p>
|
125
|
+
<div class="variablelist"><table border="0">
|
126
|
+
<col align="left" valign="top">
|
127
|
+
<tbody>
|
128
|
+
<tr>
|
129
|
+
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
|
130
|
+
<td>the parent model, or <code class="literal">NULL</code>. If a parent is specified, it will
|
131
|
+
assume ownership of the item, and the item will automatically be freed when
|
132
|
+
it is removed from the parent. Otherwise call <code class="function">g_object_unref()</code> to free it.
|
133
|
+
</td>
|
134
|
+
</tr>
|
135
|
+
<tr>
|
136
|
+
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
137
|
+
<td>optional pairs of property names and values, and a terminating <code class="literal">NULL</code>.
|
138
|
+
</td>
|
139
|
+
</tr>
|
140
|
+
<tr>
|
141
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
142
|
+
<td> a new group model.
|
143
|
+
</td>
|
144
|
+
</tr>
|
145
|
+
</tbody>
|
146
|
+
</table></div>
|
147
|
+
</div>
|
148
|
+
</div>
|
149
|
+
<div class="refsect1" title="Property Details">
|
150
|
+
<a name="GooCanvasGroupModel.property-details"></a><h2>Property Details</h2>
|
151
|
+
<div class="refsect2" title='The "height" property'>
|
152
|
+
<a name="GooCanvasGroupModel--height"></a><h3>The <code class="literal">"height"</code> property</h3>
|
153
|
+
<pre class="programlisting"> "height" <span class="type">gdouble</span> : Read / Write</pre>
|
154
|
+
<p>The height of the group, or -1 to use the default height.</p>
|
155
|
+
<p>Default value: -1</p>
|
156
|
+
</div>
|
157
|
+
<hr>
|
158
|
+
<div class="refsect2" title='The "width" property'>
|
159
|
+
<a name="GooCanvasGroupModel--width"></a><h3>The <code class="literal">"width"</code> property</h3>
|
160
|
+
<pre class="programlisting"> "width" <span class="type">gdouble</span> : Read / Write</pre>
|
161
|
+
<p>The width of the group, or -1 to use the default width.</p>
|
162
|
+
<p>Default value: -1</p>
|
163
|
+
</div>
|
164
|
+
<hr>
|
165
|
+
<div class="refsect2" title='The "x" property'>
|
166
|
+
<a name="GooCanvasGroupModel--x"></a><h3>The <code class="literal">"x"</code> property</h3>
|
167
|
+
<pre class="programlisting"> "x" <span class="type">gdouble</span> : Read / Write</pre>
|
168
|
+
<p>The x coordinate of the group.</p>
|
169
|
+
<p>Default value: 0</p>
|
170
|
+
</div>
|
171
|
+
<hr>
|
172
|
+
<div class="refsect2" title='The "y" property'>
|
173
|
+
<a name="GooCanvasGroupModel--y"></a><h3>The <code class="literal">"y"</code> property</h3>
|
174
|
+
<pre class="programlisting"> "y" <span class="type">gdouble</span> : Read / Write</pre>
|
175
|
+
<p>The y coordinate of the group.</p>
|
176
|
+
<p>Default value: 0</p>
|
177
|
+
</div>
|
178
|
+
</div>
|
179
|
+
</div>
|
180
|
+
<div class="footer">
|
181
|
+
<hr>
|
182
|
+
Generated by GTK-Doc V1.14</div>
|
183
|
+
</body>
|
184
|
+
</html>
|