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.0 Transitional//EN">
<html>
<head>
<title>
Canvas Items
</title>
<meta name="GENERATOR" content=
"Modular DocBook HTML Stylesheet Version 1.45">
<link rel="HOME" title="GTK+ / Gnome Application Development"
href="ggad.html">
<link rel="UP" title="GTK+/Gnome Object Hierarchy" href=
"hierarchy.html">
<link rel="PREVIOUS" title="Widgets" href="z207.html">
<link rel="NEXT" title="Miscellaneous Objects" href=
"z781.html">
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink=
"#840084" alink="#0000FF">
<div class="NAVHEADER">
<table width="100%" border="0" bgcolor="#ffffff" cellpadding=
"1" cellspacing="0">
<tr>
<th colspan="4" align="center">
<font color="#000000" size="2">GTK+ / Gnome Application
Development</font>
</th>
</tr>
<tr>
<td width="25%" bgcolor="#ffffff" align="left">
<a href="z207.html"><font color="#0000ff" size="2"><b>
<<< Previous</b></font></a>
</td>
<td width="25%" colspan="2" bgcolor="#ffffff" align=
"center">
<font color="#0000ff" size="2"><b><a href="ggad.html">
<font color="#0000ff" size="2"><b>
Home</b></font></a></b></font>
</td>
<td width="25%" bgcolor="#ffffff" align="right">
<a href="z781.html"><font color="#0000ff" size="2"><b>
Next >>></b></font></a>
</td>
</tr>
</table>
</div>
<div class="SECT1">
<h1 class="SECT1">
<a name="Z736">Canvas Items</a>
</h1>
<div class="SECT2">
<h2 class="SECT2">
<a name="Z737"><span class="STRUCTNAME">
GnomeCanvasItem</span></a>
</h2>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z738">Library</a>
</h3>
<p>
Gnome
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z739">Header File</a>
</h3>
<p>
<tt class="FILENAME">libgnomeui/gnome-canvas.h</tt>
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z740">Description</a>
</h3>
<p>
<span class="STRUCTNAME">GnomeCanvasItem</span> is the
abstract base class for canvas items. <a href=
"cha-canvas.html">the chapter called <i><tt class=
"CLASSNAME">GnomeCanvas</tt></i></a> and <a href=
"cha-canvasitem.html">the chapter called <i>Writing a
<span class="STRUCTNAME">GnomeCanvasItem</span></i></a>
describe it in detail.
</p>
</div>
</div>
<div class="SECT2">
<h2 class="SECT2">
<a name="Z741"><span class="STRUCTNAME">
GnomeCanvasRE</span></a>
</h2>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z742">Library</a>
</h3>
<p>
Gnome
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z743">Header File</a>
</h3>
<p>
<tt class="FILENAME">
libgnomeui/gnome-canvas-rect-ellipse.h</tt>
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z744">Description</a>
</h3>
<p>
<span class="STRUCTNAME">GnomeCanvasRE</span> is the
base class for the rectangle and ellipse canvas items.
In the future, it may also be the base class for a
<span class="STRUCTNAME">GnomeCanvasArc</span> item. <a
href="sec-itemreference.html#SEC-CANVASRE">the section
called <i>Rectangle and Ellipse Items</i> in the
chapter called <i><tt class="CLASSNAME">
GnomeCanvas</tt></i></a> details this canvas item.
</p>
</div>
</div>
<div class="SECT2">
<h2 class="SECT2">
<a name="Z745"><span class="STRUCTNAME">
GnomeCanvasEllipse</span></a>
</h2>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z746">Library</a>
</h3>
<p>
Gnome
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z747">Header File</a>
</h3>
<p>
<tt class="FILENAME">
libgnomeui/gnome-canvas-rect-ellipse.h</tt>
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z748">Description</a>
</h3>
<p>
<span class="STRUCTNAME">GnomeCanvasEllipse</span>
renders an ellipse on the canvas; see <a href=
"sec-itemreference.html#SEC-CANVASRE">the section
called <i>Rectangle and Ellipse Items</i> in the
chapter called <i><tt class="CLASSNAME">
GnomeCanvas</tt></i></a> for more details.
</p>
</div>
</div>
<div class="SECT2">
<h2 class="SECT2">
<a name="Z749"><span class="STRUCTNAME">
GnomeCanvasRect</span></a>
</h2>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z750">Library</a>
</h3>
<p>
Gnome
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z751">Header File</a>
</h3>
<p>
<tt class="FILENAME">libgnomeui/gnome.h</tt>
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z752">Description</a>
</h3>
<p>
<span class="STRUCTNAME">GnomeCanvasRect</span> renders
a rectangle on the canvas; see <a href=
"sec-itemreference.html#SEC-CANVASRE">the section
called <i>Rectangle and Ellipse Items</i> in the
chapter called <i><tt class="CLASSNAME">
GnomeCanvas</tt></i></a> for more details.
</p>
</div>
</div>
<div class="SECT2">
<h2 class="SECT2">
<a name="Z753"><span class="STRUCTNAME">
GnomeCanvasGroup</span></a>
</h2>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z754">Library</a>
</h3>
<p>
Gnome
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z755">Header File</a>
</h3>
<p>
<tt class="FILENAME">libgnomeui/gnome-canvas.h</tt>
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z756">Description</a>
</h3>
<p>
<span class="STRUCTNAME">GnomeCanvasGroup</span> is a
<span class="STRUCTNAME">GnomeCanvasItem</span> that
contains other <span class="STRUCTNAME">
GnomeCanvasItem</span>s. It creates the hierarchical
tree structure of the items on a <tt class="CLASSNAME">
GnomeCanvas</tt>. The <tt class="CLASSNAME">
GnomeCanvas</tt> creates a special <span class=
"STRUCTNAME">GnomeCanvasGroup</span>, called the <i
class="FIRSTTERM">root</i>; all user-created canvas
items must be added below the root group. See <a href=
"cha-canvas.html">the chapter called <i><tt class=
"CLASSNAME">GnomeCanvas</tt></i></a> for more details.
</p>
</div>
</div>
<div class="SECT2">
<h2 class="SECT2">
<a name="Z757"><span class="STRUCTNAME">
GnomeCanvasImage</span></a>
</h2>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z758">Library</a>
</h3>
<p>
Gnome
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z759">Header File</a>
</h3>
<p>
<tt class="FILENAME">
libgnomeui/gnome-canvas-image.h</tt>
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z760">Description</a>
</h3>
<p>
<span class="STRUCTNAME">GnomeCanvasImage</span>
displays an image on the canvas (specifically, a <span
class="STRUCTNAME">GdkImlibImage</span>). See <a href=
"sec-itemreference.html#SEC-CANVASIMAGE">the section
called <i>Image Item</i> in the chapter called <i><tt
class="CLASSNAME">GnomeCanvas</tt></i></a> for details.
</p>
</div>
</div>
<div class="SECT2">
<h2 class="SECT2">
<a name="Z761"><span class="STRUCTNAME">
GnomeCanvasLine</span></a>
</h2>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z762">Library</a>
</h3>
<p>
Gnome
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z763">Header File</a>
</h3>
<p>
<tt class="FILENAME">libgnomeui/gnome.h</tt>
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z764">Description</a>
</h3>
<p>
<span class="STRUCTNAME">GnomeCanvasLine</span>
displays a line segment or series of line segments on
the canvas; it can also be used to display an unfilled
polygon, by joining the end of the last segment to the
start of the first. Optionally, the line can have
arrowheads at either end. See <a href=
"sec-itemreference.html#SEC-CANVASLINE">the section
called <i>Line Item</i> in the chapter called <i><tt
class="CLASSNAME">GnomeCanvas</tt></i></a>.
</p>
</div>
</div>
<div class="SECT2">
<h2 class="SECT2">
<a name="Z765"><span class="STRUCTNAME">
GnomeCanvasPolygon</span></a>
</h2>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z766">Library</a>
</h3>
<p>
Gnome
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z767">Header File</a>
</h3>
<p>
<tt class="FILENAME">
libgnomeui/gnome-canvas-polygon.h</tt>
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z768">Description</a>
</h3>
<p>
<span class="STRUCTNAME">GnomeCanvasPolygon</span>
displays a filled polygon. Use <span class=
"STRUCTNAME">GnomeCanvasLine</span> for hollow
polygons. See <a href=
"sec-itemreference.html#SEC-CANVASPOLYGON">the section
called <i>Polygon Item</i> in the chapter called <i><tt
class="CLASSNAME">GnomeCanvas</tt></i></a> for more
details.
</p>
</div>
</div>
<div class="SECT2">
<h2 class="SECT2">
<a name="Z769"><span class="STRUCTNAME">
GnomeCanvasText</span></a>
</h2>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z770">Library</a>
</h3>
<p>
Gnome
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z771">Header File</a>
</h3>
<p>
<tt class="FILENAME">
libgnomeui/gnome-canvas-text.h</tt>
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z772">Description</a>
</h3>
<p>
<span class="STRUCTNAME">GnomeCanvasText</span>
displays some text on the canvas; see <a href=
"sec-itemreference.html#SEC-GNOMECANVASTEXT">the
section called <i>Text Item</i> in the chapter called
<i><tt class="CLASSNAME">GnomeCanvas</tt></i></a> for
more information.
</p>
</div>
</div>
<div class="SECT2">
<h2 class="SECT2">
<a name="Z773"><span class="STRUCTNAME">
GnomeCanvasWidget</span></a>
</h2>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z774">Library</a>
</h3>
<p>
Gnome
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z775">Header File</a>
</h3>
<p>
<tt class="FILENAME">
libgnomeui/gnome-canvas-widget.h</tt>
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z776">Description</a>
</h3>
<p>
<span class="STRUCTNAME">GnomeCanvasWidget</span>
emulates a <tt class="CLASSNAME">GtkContainer</tt>; it
holds a child widget and displays it on the canvas. See
<a href="sec-itemreference.html#SEC-CANVASWIDGET">the
section called <i>Widget Item</i> in the chapter called
<i><tt class="CLASSNAME">GnomeCanvas</tt></i></a> for
details.
</p>
</div>
</div>
<div class="SECT2">
<h2 class="SECT2">
<a name="Z777"><span class="STRUCTNAME">
GnomeCanvasTextItem</span></a>
</h2>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z778">Library</a>
</h3>
<p>
Gnome
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z779">Header File</a>
</h3>
<p>
<tt class="FILENAME">libgnomeui/gnome-icon-item.h</tt>
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z780">Description</a>
</h3>
<p>
<span class="STRUCTNAME">GnomeCanvasTextItem</span> is
used internally by the <tt class="CLASSNAME">
GnomeIconList</tt> widget. You should never use it
directly; it's considered an implementation detail and
subject to change in future versions of the library.
</p>
</div>
</div>
</div>
<div class="NAVFOOTER">
<br>
<br>
<table width="100%" border="0" bgcolor="#ffffff" cellpadding=
"1" cellspacing="0">
<tr>
<td width="25%" bgcolor="#ffffff" align="left">
<a href="z207.html"><font color="#0000ff" size="2"><b>
<<< Previous</b></font></a>
</td>
<td width="25%" colspan="2" bgcolor="#ffffff" align=
"center">
<font color="#0000ff" size="2"><b><a href="ggad.html">
<font color="#0000ff" size="2"><b>
Home</b></font></a></b></font>
</td>
<td width="25%" bgcolor="#ffffff" align="right">
<a href="z781.html"><font color="#0000ff" size="2"><b>
Next >>></b></font></a>
</td>
</tr>
<tr>
<td colspan="2" align="left">
<font color="#000000" size="2"><b>Widgets</b></font>
</td>
<td colspan="2" align="right">
<font color="#000000" size="2"><b>Miscellaneous
Objects</b></font>
</td>
</tr>
</table>
</div>
</body>
</html>
|