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,469 @@
|
|
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>GooCanvasGrid</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="GooCanvasEllipse.html" title="GooCanvasEllipse">
|
10
|
+
<link rel="next" href="GooCanvasImage.html" title="GooCanvasImage">
|
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="GooCanvasEllipse.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="GooCanvasImage.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="#GooCanvasGrid.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#GooCanvasGrid.description" class="shortcut">Description</a>
|
27
|
+
|
|
28
|
+
<a href="#GooCanvasGrid.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
+
|
|
30
|
+
<a href="#GooCanvasGrid.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
|
31
|
+
|
|
32
|
+
<a href="#GooCanvasGrid.properties" class="shortcut">Properties</a>
|
33
|
+
</td></tr>
|
34
|
+
</table>
|
35
|
+
<div class="refentry" title="GooCanvasGrid">
|
36
|
+
<a name="GooCanvasGrid"></a><div class="titlepage"></div>
|
37
|
+
<div class="refnamediv"><table width="100%"><tr>
|
38
|
+
<td valign="top">
|
39
|
+
<h2><span class="refentrytitle"><a name="GooCanvasGrid.top_of_page"></a>GooCanvasGrid</span></h2>
|
40
|
+
<p>GooCanvasGrid — a grid item.</p>
|
41
|
+
</td>
|
42
|
+
<td valign="top" align="right"></td>
|
43
|
+
</tr></table></div>
|
44
|
+
<div class="refsynopsisdiv" title="Synopsis">
|
45
|
+
<a name="GooCanvasGrid.synopsis"></a><h2>Synopsis</h2>
|
46
|
+
<pre class="synopsis"> <a class="link" href="GooCanvasGrid.html#GooCanvasGrid-struct" title="GooCanvasGrid">GooCanvasGrid</a>;
|
47
|
+
<a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="returnvalue">GooCanvasItem</span></a>* <a class="link" href="GooCanvasGrid.html#goo-canvas-grid-new" title="goo_canvas_grid_new ()">goo_canvas_grid_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><span class="type">gdouble</span> x</code></em>,
|
49
|
+
<em class="parameter"><code><span class="type">gdouble</span> y</code></em>,
|
50
|
+
<em class="parameter"><code><span class="type">gdouble</span> width</code></em>,
|
51
|
+
<em class="parameter"><code><span class="type">gdouble</span> height</code></em>,
|
52
|
+
<em class="parameter"><code><span class="type">gdouble</span> x_step</code></em>,
|
53
|
+
<em class="parameter"><code><span class="type">gdouble</span> y_step</code></em>,
|
54
|
+
<em class="parameter"><code><span class="type">gdouble</span> x_offset</code></em>,
|
55
|
+
<em class="parameter"><code><span class="type">gdouble</span> y_offset</code></em>,
|
56
|
+
<em class="parameter"><code>...</code></em>);
|
57
|
+
</pre>
|
58
|
+
</div>
|
59
|
+
<div class="refsect1" title="Object Hierarchy">
|
60
|
+
<a name="GooCanvasGrid.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
61
|
+
<pre class="synopsis">
|
62
|
+
GObject
|
63
|
+
+----<a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple">GooCanvasItemSimple</a>
|
64
|
+
+----GooCanvasGrid
|
65
|
+
</pre>
|
66
|
+
</div>
|
67
|
+
<div class="refsect1" title="Implemented Interfaces">
|
68
|
+
<a name="GooCanvasGrid.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
69
|
+
<p>
|
70
|
+
GooCanvasGrid implements
|
71
|
+
<a class="link" href="GooCanvasItem.html" title="GooCanvasItem">GooCanvasItem</a>.</p>
|
72
|
+
</div>
|
73
|
+
<div class="refsect1" title="Properties">
|
74
|
+
<a name="GooCanvasGrid.properties"></a><h2>Properties</h2>
|
75
|
+
<pre class="synopsis">
|
76
|
+
"<a class="link" href="GooCanvasGrid.html#GooCanvasGrid--border-color" title='The "border-color" property'>border-color</a>" <span class="type">gchar</span>* : Write
|
77
|
+
"<a class="link" href="GooCanvasGrid.html#GooCanvasGrid--border-color-rgba" title='The "border-color-rgba" property'>border-color-rgba</a>" <span class="type">guint</span> : Read / Write
|
78
|
+
"<a class="link" href="GooCanvasGrid.html#GooCanvasGrid--border-pattern" title='The "border-pattern" property'>border-pattern</a>" <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoPattern" title="GooCairoPattern"><span class="type">GooCairoPattern</span></a>* : Read / Write
|
79
|
+
"<a class="link" href="GooCanvasGrid.html#GooCanvasGrid--border-pixbuf" title='The "border-pixbuf" property'>border-pixbuf</a>" <span class="type">GdkPixbuf</span>* : Write
|
80
|
+
"<a class="link" href="GooCanvasGrid.html#GooCanvasGrid--border-width" title='The "border-width" property'>border-width</a>" <span class="type">gdouble</span> : Read / Write
|
81
|
+
"<a class="link" href="GooCanvasGrid.html#GooCanvasGrid--height" title='The "height" property'>height</a>" <span class="type">gdouble</span> : Read / Write
|
82
|
+
"<a class="link" href="GooCanvasGrid.html#GooCanvasGrid--horz-grid-line-color" title='The "horz-grid-line-color" property'>horz-grid-line-color</a>" <span class="type">gchar</span>* : Write
|
83
|
+
"<a class="link" href="GooCanvasGrid.html#GooCanvasGrid--horz-grid-line-color-rgba" title='The "horz-grid-line-color-rgba" property'>horz-grid-line-color-rgba</a>" <span class="type">guint</span> : Read / Write
|
84
|
+
"<a class="link" href="GooCanvasGrid.html#GooCanvasGrid--horz-grid-line-pattern" title='The "horz-grid-line-pattern" property'>horz-grid-line-pattern</a>" <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoPattern" title="GooCairoPattern"><span class="type">GooCairoPattern</span></a>* : Read / Write
|
85
|
+
"<a class="link" href="GooCanvasGrid.html#GooCanvasGrid--horz-grid-line-pixbuf" title='The "horz-grid-line-pixbuf" property'>horz-grid-line-pixbuf</a>" <span class="type">GdkPixbuf</span>* : Write
|
86
|
+
"<a class="link" href="GooCanvasGrid.html#GooCanvasGrid--horz-grid-line-width" title='The "horz-grid-line-width" property'>horz-grid-line-width</a>" <span class="type">gdouble</span> : Read / Write
|
87
|
+
"<a class="link" href="GooCanvasGrid.html#GooCanvasGrid--show-horz-grid-lines" title='The "show-horz-grid-lines" property'>show-horz-grid-lines</a>" <span class="type">gboolean</span> : Read / Write
|
88
|
+
"<a class="link" href="GooCanvasGrid.html#GooCanvasGrid--show-vert-grid-lines" title='The "show-vert-grid-lines" property'>show-vert-grid-lines</a>" <span class="type">gboolean</span> : Read / Write
|
89
|
+
"<a class="link" href="GooCanvasGrid.html#GooCanvasGrid--vert-grid-line-color" title='The "vert-grid-line-color" property'>vert-grid-line-color</a>" <span class="type">gchar</span>* : Write
|
90
|
+
"<a class="link" href="GooCanvasGrid.html#GooCanvasGrid--vert-grid-line-color-rgba" title='The "vert-grid-line-color-rgba" property'>vert-grid-line-color-rgba</a>" <span class="type">guint</span> : Read / Write
|
91
|
+
"<a class="link" href="GooCanvasGrid.html#GooCanvasGrid--vert-grid-line-pattern" title='The "vert-grid-line-pattern" property'>vert-grid-line-pattern</a>" <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoPattern" title="GooCairoPattern"><span class="type">GooCairoPattern</span></a>* : Read / Write
|
92
|
+
"<a class="link" href="GooCanvasGrid.html#GooCanvasGrid--vert-grid-line-pixbuf" title='The "vert-grid-line-pixbuf" property'>vert-grid-line-pixbuf</a>" <span class="type">GdkPixbuf</span>* : Write
|
93
|
+
"<a class="link" href="GooCanvasGrid.html#GooCanvasGrid--vert-grid-line-width" title='The "vert-grid-line-width" property'>vert-grid-line-width</a>" <span class="type">gdouble</span> : Read / Write
|
94
|
+
"<a class="link" href="GooCanvasGrid.html#GooCanvasGrid--vert-grid-lines-on-top" title='The "vert-grid-lines-on-top" property'>vert-grid-lines-on-top</a>" <span class="type">gboolean</span> : Read / Write
|
95
|
+
"<a class="link" href="GooCanvasGrid.html#GooCanvasGrid--width" title='The "width" property'>width</a>" <span class="type">gdouble</span> : Read / Write
|
96
|
+
"<a class="link" href="GooCanvasGrid.html#GooCanvasGrid--x" title='The "x" property'>x</a>" <span class="type">gdouble</span> : Read / Write
|
97
|
+
"<a class="link" href="GooCanvasGrid.html#GooCanvasGrid--x-offset" title='The "x-offset" property'>x-offset</a>" <span class="type">gdouble</span> : Read / Write
|
98
|
+
"<a class="link" href="GooCanvasGrid.html#GooCanvasGrid--x-step" title='The "x-step" property'>x-step</a>" <span class="type">gdouble</span> : Read / Write
|
99
|
+
"<a class="link" href="GooCanvasGrid.html#GooCanvasGrid--y" title='The "y" property'>y</a>" <span class="type">gdouble</span> : Read / Write
|
100
|
+
"<a class="link" href="GooCanvasGrid.html#GooCanvasGrid--y-offset" title='The "y-offset" property'>y-offset</a>" <span class="type">gdouble</span> : Read / Write
|
101
|
+
"<a class="link" href="GooCanvasGrid.html#GooCanvasGrid--y-step" title='The "y-step" property'>y-step</a>" <span class="type">gdouble</span> : Read / Write
|
102
|
+
</pre>
|
103
|
+
</div>
|
104
|
+
<div class="refsect1" title="Description">
|
105
|
+
<a name="GooCanvasGrid.description"></a><h2>Description</h2>
|
106
|
+
<p>
|
107
|
+
GooCanvasGrid represents a grid item.
|
108
|
+
A grid consists of a number of equally-spaced horizontal and vertical
|
109
|
+
grid lines, plus an optional border.
|
110
|
+
</p>
|
111
|
+
<p>
|
112
|
+
It is a subclass of <a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a> and so inherits all of the style
|
113
|
+
properties such as "stroke-color", "fill-color" and "line-width".
|
114
|
+
</p>
|
115
|
+
<p>
|
116
|
+
It also implements the <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> interface, so you can use the
|
117
|
+
<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
|
118
|
+
<a class="link" href="GooCanvasItem.html#goo-canvas-item-rotate" title="goo_canvas_item_rotate ()"><code class="function">goo_canvas_item_rotate()</code></a>.
|
119
|
+
</p>
|
120
|
+
<p>
|
121
|
+
To create a <a class="link" href="GooCanvasGrid.html" title="GooCanvasGrid"><span class="type">GooCanvasGrid</span></a> use <a class="link" href="GooCanvasGrid.html#goo-canvas-grid-new" title="goo_canvas_grid_new ()"><code class="function">goo_canvas_grid_new()</code></a>.
|
122
|
+
</p>
|
123
|
+
<p>
|
124
|
+
To get or set the properties of an existing <a class="link" href="GooCanvasGrid.html" title="GooCanvasGrid"><span class="type">GooCanvasGrid</span></a>, use
|
125
|
+
<code class="function">g_object_get()</code> and <code class="function">g_object_set()</code>.
|
126
|
+
</p>
|
127
|
+
<p>
|
128
|
+
The grid's position and size is specified with the <a class="link" href="GooCanvasGrid.html#GooCanvasGrid--x" title='The "x" property'><span class="type">"x"</span></a>,
|
129
|
+
<a class="link" href="GooCanvasGrid.html#GooCanvasGrid--y" title='The "y" property'><span class="type">"y"</span></a>, <a class="link" href="GooCanvasGrid.html#GooCanvasGrid--width" title='The "width" property'><span class="type">"width"</span></a> and <a class="link" href="GooCanvasGrid.html#GooCanvasGrid--height" title='The "height" property'><span class="type">"height"</span></a> properties.
|
130
|
+
</p>
|
131
|
+
<p>
|
132
|
+
The <a class="link" href="GooCanvasGrid.html#GooCanvasGrid--x-step" title='The "x-step" property'><span class="type">"x-step"</span></a> and <a class="link" href="GooCanvasGrid.html#GooCanvasGrid--y-step" title='The "y-step" property'><span class="type">"y-step"</span></a> properties specify the
|
133
|
+
distance between grid lines. The <a class="link" href="GooCanvasGrid.html#GooCanvasGrid--x-offset" title='The "x-offset" property'><span class="type">"x-offset"</span></a> and
|
134
|
+
<a class="link" href="GooCanvasGrid.html#GooCanvasGrid--y-offset" title='The "y-offset" property'><span class="type">"y-offset"</span></a> properties specify the distance before the first
|
135
|
+
grid lines.
|
136
|
+
</p>
|
137
|
+
<p>
|
138
|
+
The horizontal or vertical grid lines can be hidden using the
|
139
|
+
<a class="link" href="GooCanvasGrid.html#GooCanvasGrid--show-horz-grid-lines" title='The "show-horz-grid-lines" property'><span class="type">"show-horz-grid-lines"</span></a> and <a class="link" href="GooCanvasGrid.html#GooCanvasGrid--show-vert-grid-lines" title='The "show-vert-grid-lines" property'><span class="type">"show-vert-grid-lines"</span></a>
|
140
|
+
properties.
|
141
|
+
</p>
|
142
|
+
<p>
|
143
|
+
The width of the border can be set using the <a class="link" href="GooCanvasGrid.html#GooCanvasGrid--border-width" title='The "border-width" property'><span class="type">"border-width"</span></a>
|
144
|
+
property. The border is drawn outside the area specified with the
|
145
|
+
<a class="link" href="GooCanvasGrid.html#GooCanvasGrid--x" title='The "x" property'><span class="type">"x"</span></a>, <a class="link" href="GooCanvasGrid.html#GooCanvasGrid--y" title='The "y" property'><span class="type">"y"</span></a>, <a class="link" href="GooCanvasGrid.html#GooCanvasGrid--width" title='The "width" property'><span class="type">"width"</span></a> and
|
146
|
+
<a class="link" href="GooCanvasGrid.html#GooCanvasGrid--height" title='The "height" property'><span class="type">"height"</span></a> properties.
|
147
|
+
</p>
|
148
|
+
<p>
|
149
|
+
Other properties allow the colors and widths of the grid lines to be set.
|
150
|
+
The grid line color and width properties override the standard
|
151
|
+
<a class="link" href="GooCanvasItemSimple.html#GooCanvasItemSimple--stroke-color" title='The "stroke-color" property'><span class="type">"stroke-color"</span></a> and <a class="link" href="GooCanvasItemSimple.html#GooCanvasItemSimple--line-width" title='The "line-width" property'><span class="type">"line-width"</span></a>
|
152
|
+
properties, enabling different styles for horizontal and vertical grid lines.
|
153
|
+
</p>
|
154
|
+
</div>
|
155
|
+
<div class="refsect1" title="Details">
|
156
|
+
<a name="GooCanvasGrid.details"></a><h2>Details</h2>
|
157
|
+
<div class="refsect2" title="GooCanvasGrid">
|
158
|
+
<a name="GooCanvasGrid-struct"></a><h3>GooCanvasGrid</h3>
|
159
|
+
<pre class="programlisting">typedef struct _GooCanvasGrid GooCanvasGrid;</pre>
|
160
|
+
<p>
|
161
|
+
The <a class="link" href="GooCanvasGrid.html#GooCanvasGrid-struct" title="GooCanvasGrid"><span class="type">GooCanvasGrid</span></a> struct contains private data only.
|
162
|
+
</p>
|
163
|
+
</div>
|
164
|
+
<hr>
|
165
|
+
<div class="refsect2" title="goo_canvas_grid_new ()">
|
166
|
+
<a name="goo-canvas-grid-new"></a><h3>goo_canvas_grid_new ()</h3>
|
167
|
+
<pre class="programlisting"><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="returnvalue">GooCanvasItem</span></a>* goo_canvas_grid_new (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *parent</code></em>,
|
168
|
+
<em class="parameter"><code><span class="type">gdouble</span> x</code></em>,
|
169
|
+
<em class="parameter"><code><span class="type">gdouble</span> y</code></em>,
|
170
|
+
<em class="parameter"><code><span class="type">gdouble</span> width</code></em>,
|
171
|
+
<em class="parameter"><code><span class="type">gdouble</span> height</code></em>,
|
172
|
+
<em class="parameter"><code><span class="type">gdouble</span> x_step</code></em>,
|
173
|
+
<em class="parameter"><code><span class="type">gdouble</span> y_step</code></em>,
|
174
|
+
<em class="parameter"><code><span class="type">gdouble</span> x_offset</code></em>,
|
175
|
+
<em class="parameter"><code><span class="type">gdouble</span> y_offset</code></em>,
|
176
|
+
<em class="parameter"><code>...</code></em>);</pre>
|
177
|
+
<p>
|
178
|
+
Creates a new grid item.
|
179
|
+
</p>
|
180
|
+
<div class="variablelist"><table border="0">
|
181
|
+
<col align="left" valign="top">
|
182
|
+
<tbody>
|
183
|
+
<tr>
|
184
|
+
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
|
185
|
+
<td>the parent item, or <code class="literal">NULL</code>. If a parent is specified, it will assume
|
186
|
+
ownership of the item, and the item will automatically be freed when it is
|
187
|
+
removed from the parent. Otherwise call <code class="function">g_object_unref()</code> to free it.
|
188
|
+
</td>
|
189
|
+
</tr>
|
190
|
+
<tr>
|
191
|
+
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
192
|
+
<td>the x coordinate of the left of the grid.
|
193
|
+
</td>
|
194
|
+
</tr>
|
195
|
+
<tr>
|
196
|
+
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
197
|
+
<td>the y coordinate of the top of the grid.
|
198
|
+
</td>
|
199
|
+
</tr>
|
200
|
+
<tr>
|
201
|
+
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
202
|
+
<td>the width of the grid.
|
203
|
+
</td>
|
204
|
+
</tr>
|
205
|
+
<tr>
|
206
|
+
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
207
|
+
<td>the height of the grid.
|
208
|
+
</td>
|
209
|
+
</tr>
|
210
|
+
<tr>
|
211
|
+
<td><p><span class="term"><em class="parameter"><code>x_step</code></em> :</span></p></td>
|
212
|
+
<td>the distance between the vertical grid lines.
|
213
|
+
</td>
|
214
|
+
</tr>
|
215
|
+
<tr>
|
216
|
+
<td><p><span class="term"><em class="parameter"><code>y_step</code></em> :</span></p></td>
|
217
|
+
<td>the distance between the horizontal grid lines.
|
218
|
+
</td>
|
219
|
+
</tr>
|
220
|
+
<tr>
|
221
|
+
<td><p><span class="term"><em class="parameter"><code>x_offset</code></em> :</span></p></td>
|
222
|
+
<td>the distance before the first vertical grid line.
|
223
|
+
</td>
|
224
|
+
</tr>
|
225
|
+
<tr>
|
226
|
+
<td><p><span class="term"><em class="parameter"><code>y_offset</code></em> :</span></p></td>
|
227
|
+
<td>the distance before the first horizontal grid line.
|
228
|
+
</td>
|
229
|
+
</tr>
|
230
|
+
<tr>
|
231
|
+
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
232
|
+
<td>optional pairs of property names and values, and a terminating <code class="literal">NULL</code>.
|
233
|
+
</td>
|
234
|
+
</tr>
|
235
|
+
<tr>
|
236
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
237
|
+
<td> a new grid item.
|
238
|
+
</td>
|
239
|
+
</tr>
|
240
|
+
</tbody>
|
241
|
+
</table></div>
|
242
|
+
<p>
|
243
|
+
Here's an example showing how to create a grid:
|
244
|
+
</p>
|
245
|
+
<p>
|
246
|
+
</p>
|
247
|
+
<div class="informalexample">
|
248
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
249
|
+
<tbody>
|
250
|
+
<tr>
|
251
|
+
<td class="listing_lines" align="right"><pre>1
|
252
|
+
2
|
253
|
+
3
|
254
|
+
4
|
255
|
+
5
|
256
|
+
6
|
257
|
+
7
|
258
|
+
8
|
259
|
+
9
|
260
|
+
10</pre></td>
|
261
|
+
<td class="listing_code"><pre class="programlisting"><span class="normal"><a href="GooCanvasItem.html">GooCanvasItem</a> </span><span class="symbol">*</span><span class="normal">grid </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GooCanvasGrid.html#goo-canvas-grid-new">goo_canvas_grid_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">mygroup</span><span class="symbol">,</span><span class="normal"> </span><span class="number">100.0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">100.0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">400.0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">200.0</span><span class="symbol">,</span>
|
262
|
+
<span class="normal"> </span><span class="number">20.0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">20.0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">10.0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">10.0</span><span class="symbol">,</span>
|
263
|
+
<span class="normal"> </span><span class="string">"horz-grid-line-width"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">4.0</span><span class="symbol">,</span>
|
264
|
+
<span class="normal"> </span><span class="string">"horz-grid-line-color"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"yellow"</span><span class="symbol">,</span>
|
265
|
+
<span class="normal"> </span><span class="string">"vert-grid-line-width"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">2.0</span><span class="symbol">,</span>
|
266
|
+
<span class="normal"> </span><span class="string">"vert-grid-line-color"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"red"</span><span class="symbol">,</span>
|
267
|
+
<span class="normal"> </span><span class="string">"border-width"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">3.0</span><span class="symbol">,</span>
|
268
|
+
<span class="normal"> </span><span class="string">"border-color"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"white"</span><span class="symbol">,</span>
|
269
|
+
<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>
|
270
|
+
<span class="normal"> NULL</span><span class="symbol">);</span></pre></td>
|
271
|
+
</tr>
|
272
|
+
</tbody>
|
273
|
+
</table>
|
274
|
+
</div>
|
275
|
+
|
276
|
+
<p>
|
277
|
+
</p>
|
278
|
+
</div>
|
279
|
+
</div>
|
280
|
+
<div class="refsect1" title="Property Details">
|
281
|
+
<a name="GooCanvasGrid.property-details"></a><h2>Property Details</h2>
|
282
|
+
<div class="refsect2" title='The "border-color" property'>
|
283
|
+
<a name="GooCanvasGrid--border-color"></a><h3>The <code class="literal">"border-color"</code> property</h3>
|
284
|
+
<pre class="programlisting"> "border-color" <span class="type">gchar</span>* : Write</pre>
|
285
|
+
<p>The color to use for the border.</p>
|
286
|
+
<p>Default value: NULL</p>
|
287
|
+
</div>
|
288
|
+
<hr>
|
289
|
+
<div class="refsect2" title='The "border-color-rgba" property'>
|
290
|
+
<a name="GooCanvasGrid--border-color-rgba"></a><h3>The <code class="literal">"border-color-rgba"</code> property</h3>
|
291
|
+
<pre class="programlisting"> "border-color-rgba" <span class="type">guint</span> : Read / Write</pre>
|
292
|
+
<p>The color to use for the border, specified as a 32-bit integer value.</p>
|
293
|
+
<p>Default value: 0</p>
|
294
|
+
</div>
|
295
|
+
<hr>
|
296
|
+
<div class="refsect2" title='The "border-pattern" property'>
|
297
|
+
<a name="GooCanvasGrid--border-pattern"></a><h3>The <code class="literal">"border-pattern"</code> property</h3>
|
298
|
+
<pre class="programlisting"> "border-pattern" <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoPattern" title="GooCairoPattern"><span class="type">GooCairoPattern</span></a>* : Read / Write</pre>
|
299
|
+
<p>The cairo pattern to paint the border with.</p>
|
300
|
+
</div>
|
301
|
+
<hr>
|
302
|
+
<div class="refsect2" title='The "border-pixbuf" property'>
|
303
|
+
<a name="GooCanvasGrid--border-pixbuf"></a><h3>The <code class="literal">"border-pixbuf"</code> property</h3>
|
304
|
+
<pre class="programlisting"> "border-pixbuf" <span class="type">GdkPixbuf</span>* : Write</pre>
|
305
|
+
<p>The pixbuf to use to draw the border.</p>
|
306
|
+
</div>
|
307
|
+
<hr>
|
308
|
+
<div class="refsect2" title='The "border-width" property'>
|
309
|
+
<a name="GooCanvasGrid--border-width"></a><h3>The <code class="literal">"border-width"</code> property</h3>
|
310
|
+
<pre class="programlisting"> "border-width" <span class="type">gdouble</span> : Read / Write</pre>
|
311
|
+
<p>The width of the border around the grid.</p>
|
312
|
+
<p>Default value: -1</p>
|
313
|
+
</div>
|
314
|
+
<hr>
|
315
|
+
<div class="refsect2" title='The "height" property'>
|
316
|
+
<a name="GooCanvasGrid--height"></a><h3>The <code class="literal">"height"</code> property</h3>
|
317
|
+
<pre class="programlisting"> "height" <span class="type">gdouble</span> : Read / Write</pre>
|
318
|
+
<p>The height of the grid.</p>
|
319
|
+
<p>Allowed values: >= 0</p>
|
320
|
+
<p>Default value: 0</p>
|
321
|
+
</div>
|
322
|
+
<hr>
|
323
|
+
<div class="refsect2" title='The "horz-grid-line-color" property'>
|
324
|
+
<a name="GooCanvasGrid--horz-grid-line-color"></a><h3>The <code class="literal">"horz-grid-line-color"</code> property</h3>
|
325
|
+
<pre class="programlisting"> "horz-grid-line-color" <span class="type">gchar</span>* : Write</pre>
|
326
|
+
<p>The color to use for the horizontal grid lines.</p>
|
327
|
+
<p>Default value: NULL</p>
|
328
|
+
</div>
|
329
|
+
<hr>
|
330
|
+
<div class="refsect2" title='The "horz-grid-line-color-rgba" property'>
|
331
|
+
<a name="GooCanvasGrid--horz-grid-line-color-rgba"></a><h3>The <code class="literal">"horz-grid-line-color-rgba"</code> property</h3>
|
332
|
+
<pre class="programlisting"> "horz-grid-line-color-rgba" <span class="type">guint</span> : Read / Write</pre>
|
333
|
+
<p>The color to use for the horizontal grid lines, specified as a 32-bit integer value.</p>
|
334
|
+
<p>Default value: 0</p>
|
335
|
+
</div>
|
336
|
+
<hr>
|
337
|
+
<div class="refsect2" title='The "horz-grid-line-pattern" property'>
|
338
|
+
<a name="GooCanvasGrid--horz-grid-line-pattern"></a><h3>The <code class="literal">"horz-grid-line-pattern"</code> property</h3>
|
339
|
+
<pre class="programlisting"> "horz-grid-line-pattern" <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoPattern" title="GooCairoPattern"><span class="type">GooCairoPattern</span></a>* : Read / Write</pre>
|
340
|
+
<p>The cairo pattern to paint the horizontal grid lines with.</p>
|
341
|
+
</div>
|
342
|
+
<hr>
|
343
|
+
<div class="refsect2" title='The "horz-grid-line-pixbuf" property'>
|
344
|
+
<a name="GooCanvasGrid--horz-grid-line-pixbuf"></a><h3>The <code class="literal">"horz-grid-line-pixbuf"</code> property</h3>
|
345
|
+
<pre class="programlisting"> "horz-grid-line-pixbuf" <span class="type">GdkPixbuf</span>* : Write</pre>
|
346
|
+
<p>The pixbuf to use to draw the horizontal grid lines.</p>
|
347
|
+
</div>
|
348
|
+
<hr>
|
349
|
+
<div class="refsect2" title='The "horz-grid-line-width" property'>
|
350
|
+
<a name="GooCanvasGrid--horz-grid-line-width"></a><h3>The <code class="literal">"horz-grid-line-width"</code> property</h3>
|
351
|
+
<pre class="programlisting"> "horz-grid-line-width" <span class="type">gdouble</span> : Read / Write</pre>
|
352
|
+
<p>The width of the horizontal grid lines.</p>
|
353
|
+
<p>Default value: -1</p>
|
354
|
+
</div>
|
355
|
+
<hr>
|
356
|
+
<div class="refsect2" title='The "show-horz-grid-lines" property'>
|
357
|
+
<a name="GooCanvasGrid--show-horz-grid-lines"></a><h3>The <code class="literal">"show-horz-grid-lines"</code> property</h3>
|
358
|
+
<pre class="programlisting"> "show-horz-grid-lines" <span class="type">gboolean</span> : Read / Write</pre>
|
359
|
+
<p>If the horizontal grid lines are shown.</p>
|
360
|
+
<p>Default value: TRUE</p>
|
361
|
+
</div>
|
362
|
+
<hr>
|
363
|
+
<div class="refsect2" title='The "show-vert-grid-lines" property'>
|
364
|
+
<a name="GooCanvasGrid--show-vert-grid-lines"></a><h3>The <code class="literal">"show-vert-grid-lines"</code> property</h3>
|
365
|
+
<pre class="programlisting"> "show-vert-grid-lines" <span class="type">gboolean</span> : Read / Write</pre>
|
366
|
+
<p>If the vertical grid lines are shown.</p>
|
367
|
+
<p>Default value: TRUE</p>
|
368
|
+
</div>
|
369
|
+
<hr>
|
370
|
+
<div class="refsect2" title='The "vert-grid-line-color" property'>
|
371
|
+
<a name="GooCanvasGrid--vert-grid-line-color"></a><h3>The <code class="literal">"vert-grid-line-color"</code> property</h3>
|
372
|
+
<pre class="programlisting"> "vert-grid-line-color" <span class="type">gchar</span>* : Write</pre>
|
373
|
+
<p>The color to use for the vertical grid lines.</p>
|
374
|
+
<p>Default value: NULL</p>
|
375
|
+
</div>
|
376
|
+
<hr>
|
377
|
+
<div class="refsect2" title='The "vert-grid-line-color-rgba" property'>
|
378
|
+
<a name="GooCanvasGrid--vert-grid-line-color-rgba"></a><h3>The <code class="literal">"vert-grid-line-color-rgba"</code> property</h3>
|
379
|
+
<pre class="programlisting"> "vert-grid-line-color-rgba" <span class="type">guint</span> : Read / Write</pre>
|
380
|
+
<p>The color to use for the vertical grid lines, specified as a 32-bit integer value.</p>
|
381
|
+
<p>Default value: 0</p>
|
382
|
+
</div>
|
383
|
+
<hr>
|
384
|
+
<div class="refsect2" title='The "vert-grid-line-pattern" property'>
|
385
|
+
<a name="GooCanvasGrid--vert-grid-line-pattern"></a><h3>The <code class="literal">"vert-grid-line-pattern"</code> property</h3>
|
386
|
+
<pre class="programlisting"> "vert-grid-line-pattern" <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoPattern" title="GooCairoPattern"><span class="type">GooCairoPattern</span></a>* : Read / Write</pre>
|
387
|
+
<p>The cairo pattern to paint the vertical grid lines with.</p>
|
388
|
+
</div>
|
389
|
+
<hr>
|
390
|
+
<div class="refsect2" title='The "vert-grid-line-pixbuf" property'>
|
391
|
+
<a name="GooCanvasGrid--vert-grid-line-pixbuf"></a><h3>The <code class="literal">"vert-grid-line-pixbuf"</code> property</h3>
|
392
|
+
<pre class="programlisting"> "vert-grid-line-pixbuf" <span class="type">GdkPixbuf</span>* : Write</pre>
|
393
|
+
<p>The pixbuf to use to draw the vertical grid lines.</p>
|
394
|
+
</div>
|
395
|
+
<hr>
|
396
|
+
<div class="refsect2" title='The "vert-grid-line-width" property'>
|
397
|
+
<a name="GooCanvasGrid--vert-grid-line-width"></a><h3>The <code class="literal">"vert-grid-line-width"</code> property</h3>
|
398
|
+
<pre class="programlisting"> "vert-grid-line-width" <span class="type">gdouble</span> : Read / Write</pre>
|
399
|
+
<p>The width of the vertical grid lines.</p>
|
400
|
+
<p>Default value: -1</p>
|
401
|
+
</div>
|
402
|
+
<hr>
|
403
|
+
<div class="refsect2" title='The "vert-grid-lines-on-top" property'>
|
404
|
+
<a name="GooCanvasGrid--vert-grid-lines-on-top"></a><h3>The <code class="literal">"vert-grid-lines-on-top"</code> property</h3>
|
405
|
+
<pre class="programlisting"> "vert-grid-lines-on-top" <span class="type">gboolean</span> : Read / Write</pre>
|
406
|
+
<p>If the vertical grid lines are painted above the horizontal grid lines.</p>
|
407
|
+
<p>Default value: FALSE</p>
|
408
|
+
</div>
|
409
|
+
<hr>
|
410
|
+
<div class="refsect2" title='The "width" property'>
|
411
|
+
<a name="GooCanvasGrid--width"></a><h3>The <code class="literal">"width"</code> property</h3>
|
412
|
+
<pre class="programlisting"> "width" <span class="type">gdouble</span> : Read / Write</pre>
|
413
|
+
<p>The width of the grid.</p>
|
414
|
+
<p>Allowed values: >= 0</p>
|
415
|
+
<p>Default value: 0</p>
|
416
|
+
</div>
|
417
|
+
<hr>
|
418
|
+
<div class="refsect2" title='The "x" property'>
|
419
|
+
<a name="GooCanvasGrid--x"></a><h3>The <code class="literal">"x"</code> property</h3>
|
420
|
+
<pre class="programlisting"> "x" <span class="type">gdouble</span> : Read / Write</pre>
|
421
|
+
<p>The x coordinate of the grid.</p>
|
422
|
+
<p>Default value: 0</p>
|
423
|
+
</div>
|
424
|
+
<hr>
|
425
|
+
<div class="refsect2" title='The "x-offset" property'>
|
426
|
+
<a name="GooCanvasGrid--x-offset"></a><h3>The <code class="literal">"x-offset"</code> property</h3>
|
427
|
+
<pre class="programlisting"> "x-offset" <span class="type">gdouble</span> : Read / Write</pre>
|
428
|
+
<p>The distance before the first vertical grid line.</p>
|
429
|
+
<p>Allowed values: >= 0</p>
|
430
|
+
<p>Default value: 0</p>
|
431
|
+
</div>
|
432
|
+
<hr>
|
433
|
+
<div class="refsect2" title='The "x-step" property'>
|
434
|
+
<a name="GooCanvasGrid--x-step"></a><h3>The <code class="literal">"x-step"</code> property</h3>
|
435
|
+
<pre class="programlisting"> "x-step" <span class="type">gdouble</span> : Read / Write</pre>
|
436
|
+
<p>The distance between the vertical grid lines.</p>
|
437
|
+
<p>Allowed values: >= 0</p>
|
438
|
+
<p>Default value: 10</p>
|
439
|
+
</div>
|
440
|
+
<hr>
|
441
|
+
<div class="refsect2" title='The "y" property'>
|
442
|
+
<a name="GooCanvasGrid--y"></a><h3>The <code class="literal">"y"</code> property</h3>
|
443
|
+
<pre class="programlisting"> "y" <span class="type">gdouble</span> : Read / Write</pre>
|
444
|
+
<p>The y coordinate of the grid.</p>
|
445
|
+
<p>Default value: 0</p>
|
446
|
+
</div>
|
447
|
+
<hr>
|
448
|
+
<div class="refsect2" title='The "y-offset" property'>
|
449
|
+
<a name="GooCanvasGrid--y-offset"></a><h3>The <code class="literal">"y-offset"</code> property</h3>
|
450
|
+
<pre class="programlisting"> "y-offset" <span class="type">gdouble</span> : Read / Write</pre>
|
451
|
+
<p>The distance before the first horizontal grid line.</p>
|
452
|
+
<p>Allowed values: >= 0</p>
|
453
|
+
<p>Default value: 0</p>
|
454
|
+
</div>
|
455
|
+
<hr>
|
456
|
+
<div class="refsect2" title='The "y-step" property'>
|
457
|
+
<a name="GooCanvasGrid--y-step"></a><h3>The <code class="literal">"y-step"</code> property</h3>
|
458
|
+
<pre class="programlisting"> "y-step" <span class="type">gdouble</span> : Read / Write</pre>
|
459
|
+
<p>The distance between the horizontal grid lines.</p>
|
460
|
+
<p>Allowed values: >= 0</p>
|
461
|
+
<p>Default value: 10</p>
|
462
|
+
</div>
|
463
|
+
</div>
|
464
|
+
</div>
|
465
|
+
<div class="footer">
|
466
|
+
<hr>
|
467
|
+
Generated by GTK-Doc V1.14</div>
|
468
|
+
</body>
|
469
|
+
</html>
|