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
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>
Miscellaneous Objects
</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="Canvas Items" href="z736.html">
<link rel="NEXT" title="Table of Header Files" href=
"headers.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="z736.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="headers.html"><font color="#0000ff" size="2">
<b>Next >>></b></font></a>
</td>
</tr>
</table>
</div>
<div class="SECT1">
<h1 class="SECT1">
<a name="Z781">Miscellaneous Objects</a>
</h1>
<div class="SECT2">
<h2 class="SECT2">
<a name="Z782"><span class="STRUCTNAME">
GnomeClient</span></a>
</h2>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z783">Library</a>
</h3>
<p>
Gnome
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z784">Header File</a>
</h3>
<p>
<tt class="FILENAME">libgnomeui/gnome-client.h</tt>
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z785">Description</a>
</h3>
<p>
<span class="STRUCTNAME">GnomeClient</span> is a <span
class="STRUCTNAME">GtkObject</span> which conceals the
details of session management and provides a nice
session management API for Gnome applications. See <a
href="sec-sessionmanagement.html">the section called
<i>Session Management</i> in the chapter called <i>
Gnome Application Basics</i></a> for more information.
</p>
</div>
</div>
<div class="SECT2">
<h2 class="SECT2">
<a name="Z786"><span class="STRUCTNAME">
GnomeDEntryEdit</span></a>
</h2>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z787">Library</a>
</h3>
<p>
Gnome
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z788">Header File</a>
</h3>
<p>
<tt class="FILENAME">
libgnomeui/gnome-dentry-edit.h</tt>
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z789">Description</a>
</h3>
<p>
<span class="STRUCTNAME">GnomeDEntryEdit</span> is a
very specialized object; it is a sort of "widget
manager" that creates and keeps track of two child
widgets, an "easy" and an "advanced" page. The two
pages combine to let the user edit a Gnome .desktop
entry, as described in <a href="z72.html#SEC-.DESKTOP">
the section called <i><tt class="APPLICATION">
.desktop</tt> Entries</i> in the chapter called <i>
Creating Your Source Tree</i></a>. <span class=
"STRUCTNAME">GnomeDEntryEdit</span> is intended to be
used in conjunction with a preexisting <tt class=
"CLASSNAME">GtkNotebook</tt>. It isn't a <tt class=
"CLASSNAME">GtkNotebook</tt> subclass itself, because
you might want to use the <tt class="CLASSNAME">
GtkNotebook</tt> in a <tt class="CLASSNAME">
GnomePropertyBox</tt>. The Gnome panel and the Gnome
menu editor use this widget.
</p>
<div class="FIGURE">
<a name="Z790"></a>
<p>
<img src="figures/dentry-edit.png">
</p>
<p>
<b>Figure 35. The <span class="STRUCTNAME">
GnomeDEntryEdit</span> object created the two widgets
in this notebook</b>
</p>
</div>
</div>
</div>
<div class="SECT2">
<h2 class="SECT2">
<a name="Z791"><span class="STRUCTNAME">
GnomeDockLayout</span></a>
</h2>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z792">Library</a>
</h3>
<p>
Gnome
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z793">Header File</a>
</h3>
<p>
<tt class="FILENAME">
libgnomeui/gnome-dock-layout.h</tt>
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z794">Description</a>
</h3>
<p>
<span class="STRUCTNAME">GnomeDockLayout</span>
maintains information about the current position of
items in a <tt class="CLASSNAME">GnomeDock</tt>. It can
load and save this information; <tt class="CLASSNAME">
GnomeDock</tt> uses this functionality to save and load
toolbar positions. Recall that <tt class="CLASSNAME">
GnomeApp</tt> uses the <tt class="CLASSNAME">
GnomeDock</tt> widget for its layout.
</p>
</div>
</div>
<div class="SECT2">
<h2 class="SECT2">
<a name="Z795"><span class="STRUCTNAME">
GnomeMDIChild</span></a>
</h2>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z796">Library</a>
</h3>
<p>
Gnome
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z797">Header File</a>
</h3>
<p>
<tt class="FILENAME">libgnomeui/gnome-mdi-child.h</tt>
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z798">Description</a>
</h3>
<p>
<span class="STRUCTNAME">GnomeMDIChild</span> is an
abstract interface; you must derive your own subclass
or use <span class="STRUCTNAME">
GnomeMDIGenericChild</span> in order to take advantage
of the <span class="STRUCTNAME">GnomeMDI</span> object.
<span class="STRUCTNAME">GnomeMDI</span> is a "multiple
document interface" manager.
</p>
</div>
</div>
<div class="SECT2">
<h2 class="SECT2">
<a name="Z799"><span class="STRUCTNAME">
GnomeMDIGenericChild</span></a>
</h2>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z800">Library</a>
</h3>
<p>
Gnome
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z801">Header File</a>
</h3>
<p>
<tt class="FILENAME">
libgnomeui/gnome-mdi-generic-child.h</tt>
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z802">Description</a>
</h3>
<p>
A generic implementation of <span class="STRUCTNAME">
GnomeMDIChild</span>. For complex applications, you may
need to write a custom implementation.
</p>
</div>
</div>
<div class="SECT2">
<h2 class="SECT2">
<a name="Z803"><span class="STRUCTNAME">
GnomeMDI</span></a>
</h2>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z804">Library</a>
</h3>
<p>
Gnome
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z805">Header File</a>
</h3>
<p>
<tt class="FILENAME">libgnomeui/gnome-mdi.h</tt>
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z806">Description</a>
</h3>
<p>
<span class="STRUCTNAME">GnomeMDI</span> keeps track of
multiple documents. Users can configure how the
documents are arranged in the application; they might
be placed in a <tt class="CLASSNAME">GtkNotebook</tt>
in the same <tt class="CLASSNAME">GtkWindow</tt>, or
each document might have its own <tt class="CLASSNAME">
GtkWindow</tt>. Also, users can drag the notebook pages
out of the <tt class="CLASSNAME">GtkWindow</tt>, and
they will be reparented into their own toplevel window.
</p>
</div>
</div>
<div class="SECT2">
<h2 class="SECT2">
<a name="Z807"><span class="STRUCTNAME">
GtkData</span></a>
</h2>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z808">Library</a>
</h3>
<p>
GTK+
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z809">Header File</a>
</h3>
<p>
<tt class="FILENAME">gtk/gtkdata.h</tt>
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z810">Description</a>
</h3>
<p>
<span class="STRUCTNAME">GtkData</span> is an abstract
base class for a piece of data that might be shared
between multiple objects. Right now its interface is
empty; in the future, there may be generic operations
for all <span class="STRUCTNAME">GtkData</span>
objects.
</p>
</div>
</div>
<div class="SECT2">
<h2 class="SECT2">
<a name="Z811"><span class="STRUCTNAME">
GtkAdjustment</span></a>
</h2>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z812">Library</a>
</h3>
<p>
GTK+
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z813">Header File</a>
</h3>
<p>
<tt class="FILENAME">gtk/gtkadjustment.h</tt>
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z814">Description</a>
</h3>
<p>
<span class="STRUCTNAME">GtkAdjustment</span>
represents a numeric value. It can also store a maximum
and minimum value, a "step increment," a "page
increment," and a "page size." Some objects don't use
all the fields in the adjustment, and some interpret
them slightly differently. A <tt class="CLASSNAME">
GtkRange</tt> (including its <tt class="CLASSNAME">
GtkScale</tt> and <tt class="CLASSNAME">
GtkScrollbar</tt> subclasses) will allow the user to
move the slider between the minimum and maximum values.
Clicking the arrows on the end of a <tt class=
"CLASSNAME">GtkScrollbar</tt> nudges the scroll bar by
one "step increment"; clicking them with the middle
button moves one "page increment." The "page size"
determines the size of the scrollbar slider (it's the
length of the "visible" page in the same units as the
overall range). <span class="STRUCTNAME">
GtkAdjustment</span> emits signals when its values
change.
</p>
</div>
</div>
<div class="SECT2">
<h2 class="SECT2">
<a name="Z815"><span class="STRUCTNAME">
GtkTooltips</span></a>
</h2>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z816">Library</a>
</h3>
<p>
GTK+
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z817">Header File</a>
</h3>
<p>
<tt class="FILENAME">gtk/gtktooltips.h</tt>
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z818">Description</a>
</h3>
<p>
<span class="STRUCTNAME">GtkTooltips</span> associates
some help text with a widget. If the user holds the
mouse pointer still over the widget for a short time, a
tooltip will appear displaying the help text. <span
class="STRUCTNAME">GtkTooltips</span> can also store
some "private" text; you might use this with a <span
class="STRUCTNAME">GtkTipsQuery</span> to display more
extensive help. <a href="sec-help.html#SEC-TOOLTIPS">
the section called <i>Tooltips</i> in the chapter
called <i>The Main Window: <tt class="CLASSNAME">
GnomeApp</tt></i></a> has more information on tooltips.
</p>
</div>
</div>
<div class="SECT2">
<h2 class="SECT2">
<a name="Z819"><span class="STRUCTNAME">
GtkItemFactory</span></a>
</h2>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z820">Library</a>
</h3>
<p>
GTK+
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z821">Header File</a>
</h3>
<p>
<tt class="FILENAME">gtk/gtkitemfactory.h</tt>
</p>
</div>
<div class="SECT3">
<h3 class="SECT3">
<a name="Z822">Description</a>
</h3>
<p>
<span class="STRUCTNAME">GtkItemFactory</span> is
intended to simplify menu creation; Gnome applications
should use <span class="STRUCTNAME">GnomeUIInfo</span>
templates instead (see <a href="sec-gnomeuiinfo.html">
the section called <i>Menus and Toolbars with <span
class="STRUCTNAME">GnomeUIInfo</span></i> in the
chapter called <i>The Main Window: <tt class=
"CLASSNAME">GnomeApp</tt></i></a>).
</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="z736.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="headers.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>Canvas
Items</b></font>
</td>
<td colspan="2" align="right">
<font color="#000000" size="2"><b>Table of Header
Files</b></font>
</td>
</tr>
</table>
</div>
</body>
</html>
|