This file is indexed.

/usr/share/doc/libgnomeui-doc/html/libgnomeui-gnome-app.html is in libgnomeui-doc 2.24.5-3.

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
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GnomeApp</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="GNOME UI Library Reference Manual">
<link rel="up" href="application-mgmt.html" title="Application Management">
<link rel="prev" href="application-mgmt.html" title="Application Management">
<link rel="next" href="libgnomeui-gnome-appbar.html" title="GnomeAppBar">
<meta name="generator" content="GTK-Doc V1.16 (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="2">
<tr valign="middle">
<td><a accesskey="p" href="application-mgmt.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="application-mgmt.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GNOME UI Library Reference Manual</th>
<td><a accesskey="n" href="libgnomeui-gnome-appbar.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#libgnomeui-gnome-app.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#libgnomeui-gnome-app.description" class="shortcut">Description</a>
                   | 
                  <a href="#libgnomeui-gnome-app.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#libgnomeui-gnome-app.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
                   | 
                  <a href="#libgnomeui-gnome-app.properties" class="shortcut">Properties</a>
</td></tr>
</table>
<div class="refentry">
<a name="libgnomeui-gnome-app"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libgnomeui-gnome-app.top_of_page"></a>GnomeApp</span></h2>
<p>GnomeApp — The main application widget.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="libgnomeui-gnome-app.synopsis"></a><h2>Synopsis</h2>
<a name="GnomeApp"></a><pre class="synopsis">
#include &lt;libgnomeui/libgnomeui.h&gt;

#define             <a class="link" href="libgnomeui-gnome-app.html#GNOME-APP-MENUBAR-NAME:CAPS" title="GNOME_APP_MENUBAR_NAME">GNOME_APP_MENUBAR_NAME</a>
#define             <a class="link" href="libgnomeui-gnome-app.html#GNOME-APP-TOOLBAR-NAME:CAPS" title="GNOME_APP_TOOLBAR_NAME">GNOME_APP_TOOLBAR_NAME</a>
struct              <a class="link" href="libgnomeui-gnome-app.html#GnomeApp-struct" title="struct GnomeApp">GnomeApp</a>;
<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="libgnomeui-gnome-app.html#gnome-app-new" title="gnome_app_new ()">gnome_app_new</a>                       (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *appname</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgnomeui-gnome-app.html#gnome-app-construct" title="gnome_app_construct ()">gnome_app_construct</a>                 (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> *app</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *appname</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgnomeui-gnome-app.html#gnome-app-set-menus" title="gnome_app_set_menus ()">gnome_app_set_menus</a>                 (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> *app</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkMenuBar.html"><span class="type">GtkMenuBar</span></a> *menubar</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgnomeui-gnome-app.html#gnome-app-set-toolbar" title="gnome_app_set_toolbar ()">gnome_app_set_toolbar</a>               (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> *app</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkToolbar.html"><span class="type">GtkToolbar</span></a> *toolbar</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgnomeui-gnome-app.html#gnome-app-set-statusbar" title="gnome_app_set_statusbar ()">gnome_app_set_statusbar</a>             (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> *app</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a> *statusbar</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgnomeui-gnome-app.html#gnome-app-set-statusbar-custom" title="gnome_app_set_statusbar_custom ()">gnome_app_set_statusbar_custom</a>      (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> *app</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a> *container</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a> *statusbar</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgnomeui-gnome-app.html#gnome-app-set-contents" title="gnome_app_set_contents ()">gnome_app_set_contents</a>              (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> *app</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a> *contents</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgnomeui-gnome-app.html#gnome-app-add-toolbar" title="gnome_app_add_toolbar ()">gnome_app_add_toolbar</a>               (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> *app</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkToolbar.html"><span class="type">GtkToolbar</span></a> *toolbar</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
                                                         <em class="parameter"><code><span class="type">BonoboDockItemBehavior</span> behavior</code></em>,
                                                         <em class="parameter"><code><span class="type">BonoboDockPlacement</span> placement</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> band_num</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> band_position</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offset</code></em>);
<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="libgnomeui-gnome-app.html#gnome-app-add-docked" title="gnome_app_add_docked ()">gnome_app_add_docked</a>                (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> *app</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a> *widget</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
                                                         <em class="parameter"><code><span class="type">BonoboDockItemBehavior</span> behavior</code></em>,
                                                         <em class="parameter"><code><span class="type">BonoboDockPlacement</span> placement</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> band_num</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> band_position</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offset</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgnomeui-gnome-app.html#gnome-app-add-dock-item" title="gnome_app_add_dock_item ()">gnome_app_add_dock_item</a>             (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> *app</code></em>,
                                                         <em class="parameter"><code><span class="type">BonoboDockItem</span> *item</code></em>,
                                                         <em class="parameter"><code><span class="type">BonoboDockPlacement</span> placement</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> band_num</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> band_position</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offset</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgnomeui-gnome-app.html#gnome-app-enable-layout-config" title="gnome_app_enable_layout_config ()">gnome_app_enable_layout_config</a>      (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> *app</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enable</code></em>);
<span class="returnvalue">BonoboDock</span> *        <a class="link" href="libgnomeui-gnome-app.html#gnome-app-get-dock" title="gnome_app_get_dock ()">gnome_app_get_dock</a>                  (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> *app</code></em>);
<span class="returnvalue">BonoboDockItem</span> *    <a class="link" href="libgnomeui-gnome-app.html#gnome-app-get-dock-item-by-name" title="gnome_app_get_dock_item_by_name ()">gnome_app_get_dock_item_by_name</a>     (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> *app</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="libgnomeui-gnome-app.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
   +----<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
         +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html">GtkObject</a>
               +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html">GtkWidget</a>
                     +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkContainer.html">GtkContainer</a>
                           +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkBin.html">GtkBin</a>
                                 +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkWindow.html">GtkWindow</a>
                                       +----GnomeApp
</pre>
</div>
<div class="refsect1">
<a name="libgnomeui-gnome-app.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GnomeApp implements
 AtkImplementorIface and  <a href="http://library.gnome.org/devel/gtk/unstable/GtkBuildable.html">GtkBuildable</a>.</p>
</div>
<div class="refsect1">
<a name="libgnomeui-gnome-app.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="libgnomeui-gnome-app.html#GnomeApp--app-id" title='The "app-id" property'>app-id</a>"                   <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write / Construct
</pre>
</div>
<div class="refsect1">
<a name="libgnomeui-gnome-app.description"></a><h2>Description</h2>
<p>
The <em class="parameter"><code>GnomeApp</code></em> widget and associated functions provides the easiest way to
create an almost complete GNOME application in libgnomeui. Simple create an
instance of the widget, append any menus, toolbar(s) and a status bar, as
required (this will probably be done with some functions from the following
pages). Then fill in the main contents with a call to <a class="link" href="libgnomeui-gnome-app.html#gnome-app-set-contents" title="gnome_app_set_contents ()"><code class="function">gnome_app_set_contents()</code></a>
and start the main loop (with <a href="http://library.gnome.org/devel/gtk/unstable/gtk-General.html#gtk-main"><code class="function">gtk_main()</code></a>).
</p>
</div>
<div class="refsect1">
<a name="libgnomeui-gnome-app.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GNOME-APP-MENUBAR-NAME:CAPS"></a><h3>GNOME_APP_MENUBAR_NAME</h3>
<pre class="programlisting">#define GNOME_APP_MENUBAR_NAME "Menubar"
</pre>
<p>
The name of the menubar as it is passed to libbonobo.
</p>
</div>
<hr>
<div class="refsect2">
<a name="GNOME-APP-TOOLBAR-NAME:CAPS"></a><h3>GNOME_APP_TOOLBAR_NAME</h3>
<pre class="programlisting">#define GNOME_APP_TOOLBAR_NAME "Toolbar"
</pre>
<p>
The name of the default toolbar that is added to the application widget by
default.
</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeApp-struct"></a><h3>struct GnomeApp</h3>
<pre class="programlisting">struct GnomeApp;</pre>
<p>
A widget representing an entire GNOME application, including the main window,
menus, toolbar(s) and status bar.
</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-new"></a><h3>gnome_app_new ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         gnome_app_new                       (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *appname</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>);</pre>
<p>
Create a new (empty) application window. You must specify the <em class="parameter"><code>appname</code></em> (used
internally as an identifier).  The <em class="parameter"><code>title</code></em> param can be left as NULL, in
which case the window's title will not be set.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>appname</code></em> :</span></p></td>
<td>Name of program, used in file names and paths.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
<td>Window title for application.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>Pointer to new <a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> object.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-construct"></a><h3>gnome_app_construct ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_app_construct                 (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> *app</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *appname</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>);</pre>
<p>
Constructor for language bindings; you don't normally need this.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>app</code></em> :</span></p></td>
<td>A newly created <a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> object.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>appname</code></em> :</span></p></td>
<td>Name of program, using in file names and paths.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
<td>Window title for application.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-set-menus"></a><h3>gnome_app_set_menus ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_app_set_menus                 (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> *app</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkMenuBar.html"><span class="type">GtkMenuBar</span></a> *menubar</code></em>);</pre>
<p>
Sets the menu bar of the application window.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>app</code></em> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> instance.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>menubar</code></em> :</span></p></td>
<td>Menu bar widget for main application window.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-set-toolbar"></a><h3>gnome_app_set_toolbar ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_app_set_toolbar               (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> *app</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkToolbar.html"><span class="type">GtkToolbar</span></a> *toolbar</code></em>);</pre>
<p>
Sets the main toolbar of the application window.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>app</code></em> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> instance.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>toolbar</code></em> :</span></p></td>
<td>Toolbar widget for main app window.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-set-statusbar"></a><h3>gnome_app_set_statusbar ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_app_set_statusbar             (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> *app</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a> *statusbar</code></em>);</pre>
<p>
Sets the status bar of the application window.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>app</code></em> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> instance</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>statusbar</code></em> :</span></p></td>
<td>Statusbar widget for main app window</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-set-statusbar-custom"></a><h3>gnome_app_set_statusbar_custom ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_app_set_statusbar_custom      (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> *app</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a> *container</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a> *statusbar</code></em>);</pre>
<p>
Sets the status bar of the application window, but use <em class="parameter"><code>container</code></em>
as its container.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>app</code></em> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> instance</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>container</code></em> :</span></p></td>
<td>container widget containing the statusbar</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>statusbar</code></em> :</span></p></td>
<td>Statusbar widget for main app window</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-set-contents"></a><h3>gnome_app_set_contents ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_app_set_contents              (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> *app</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a> *contents</code></em>);</pre>
<p>
Sets the content area of the main window of <em class="parameter"><code>app</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>app</code></em> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> instance.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>contents</code></em> :</span></p></td>
<td>Widget to be application content area.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-add-toolbar"></a><h3>gnome_app_add_toolbar ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_app_add_toolbar               (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> *app</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkToolbar.html"><span class="type">GtkToolbar</span></a> *toolbar</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
                                                         <em class="parameter"><code><span class="type">BonoboDockItemBehavior</span> behavior</code></em>,
                                                         <em class="parameter"><code><span class="type">BonoboDockPlacement</span> placement</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> band_num</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> band_position</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offset</code></em>);</pre>
<p>
Create a new <span class="type">BonoboDockItem</span> widget containing <em class="parameter"><code>toolbar</code></em>, and add it
to <em class="parameter"><code>app</code></em>'s dock with the specified layout information.  Notice that,
if automatic layout configuration is enabled, the layout is
overridden by the saved configuration, if any.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>app</code></em> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> widget</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>toolbar</code></em> :</span></p></td>
<td>Toolbar to be added to <em class="parameter"><code>app</code></em>'s dock</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>Name for the dock item that will contain <em class="parameter"><code>toolbar</code></em>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>behavior</code></em> :</span></p></td>
<td>Behavior for the new dock item</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>placement</code></em> :</span></p></td>
<td>Placement for the new dock item</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>band_num</code></em> :</span></p></td>
<td>Number of the band where the dock item should be placed</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>band_position</code></em> :</span></p></td>
<td>Position of the new dock item in band <em class="parameter"><code>band_num</code></em>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>offset</code></em> :</span></p></td>
<td>Offset from the previous dock item in the band; if there is
no previous item, offset from the beginning of the band.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-add-docked"></a><h3>gnome_app_add_docked ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         gnome_app_add_docked                (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> *app</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a> *widget</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
                                                         <em class="parameter"><code><span class="type">BonoboDockItemBehavior</span> behavior</code></em>,
                                                         <em class="parameter"><code><span class="type">BonoboDockPlacement</span> placement</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> band_num</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> band_position</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offset</code></em>);</pre>
<p>
Add <em class="parameter"><code>widget</code></em> as a dock item according to the specified layout
information.  Notice that, if automatic layout configuration is
enabled, the layout is overridden by the saved configuration, if
any.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>app</code></em> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> widget.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
<td>Widget to be added to the <a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>Name for the new dock item.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>behavior</code></em> :</span></p></td>
<td>Behavior for the new dock item.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>placement</code></em> :</span></p></td>
<td>Placement for the new dock item.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>band_num</code></em> :</span></p></td>
<td>Number of the band where the dock item should be placed.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>band_position</code></em> :</span></p></td>
<td>Position of the new dock item in band <em class="parameter"><code>band_num</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>offset</code></em> :</span></p></td>
<td>Offset from the previous dock item in the band; if there is
no previous item, offset from the beginning of the band.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The dock item used to contain the widget.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-add-dock-item"></a><h3>gnome_app_add_dock_item ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_app_add_dock_item             (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> *app</code></em>,
                                                         <em class="parameter"><code><span class="type">BonoboDockItem</span> *item</code></em>,
                                                         <em class="parameter"><code><span class="type">BonoboDockPlacement</span> placement</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> band_num</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> band_position</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offset</code></em>);</pre>
<p>
Add <em class="parameter"><code>item</code></em> according to the specified layout information.  Notice
that, if automatic layout configuration is enabled, the layout is
overridden by the saved configuration, if any.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>app</code></em> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> widget.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td>Dock item to be added to <em class="parameter"><code>app</code></em>'s dock.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>placement</code></em> :</span></p></td>
<td>Placement for the dock item.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>band_num</code></em> :</span></p></td>
<td>Number of the band where the dock item should be placed.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>band_position</code></em> :</span></p></td>
<td>Position of the dock item in band <em class="parameter"><code>band_num</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>offset</code></em> :</span></p></td>
<td>Offset from the previous dock item in the band; if there is
no previous item, offset from the beginning of the band.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-enable-layout-config"></a><h3>gnome_app_enable_layout_config ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_app_enable_layout_config      (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> *app</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enable</code></em>);</pre>
<p>
Specify whether <em class="parameter"><code>app</code></em> should automatically save the dock's
layout configuration via gnome-config whenever it changes or not.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>app</code></em> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> widget.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>enable</code></em> :</span></p></td>
<td>Boolean specifying whether automatic configuration saving
is enabled.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-get-dock"></a><h3>gnome_app_get_dock ()</h3>
<pre class="programlisting"><span class="returnvalue">BonoboDock</span> *        gnome_app_get_dock                  (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> *app</code></em>);</pre>
<p>
Retrieves the <span class="type">BonoboDock</span> widget contained in <em class="parameter"><code>app</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>app</code></em> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> widget</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The relevant <span class="type">BonoboDock</span> widget.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-get-dock-item-by-name"></a><h3>gnome_app_get_dock_item_by_name ()</h3>
<pre class="programlisting"><span class="returnvalue">BonoboDockItem</span> *    gnome_app_get_dock_item_by_name     (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> *app</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
<p>
Retrieve the dock item whose name matches <em class="parameter"><code>name</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>app</code></em> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app.html#GnomeApp"><span class="type">GnomeApp</span></a> widget.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>Name of the dock item to retrieve.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The retrieved dock item.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="libgnomeui-gnome-app.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GnomeApp--app-id"></a><h3>The <code class="literal">"app-id"</code> property</h3>
<pre class="programlisting">  "app-id"                   <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write / Construct</pre>
<p>The application ID string.</p>
<p>Default value: NULL</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.16</div>
</body>
</html>