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