This file is indexed.

/usr/share/gtk-doc/html/libbonoboui/libbonoboui-bonobo-ui-sync.html is in libbonoboui2-dev 2.24.5-0ubuntu1.

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
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>BonoboUISync</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="index.html" title="LibBonoboUI API Reference Manual">
<link rel="up" href="bonobo-ui.html" title="Bonobo UI">
<link rel="prev" href="libbonoboui-bonobo-ui-engine-config.html" title="bonobo-ui-engine-config">
<link rel="next" href="libbonoboui-bonobo-ui-preferences.html" title="bonobo-ui-preferences">
<meta name="generator" content="GTK-Doc V1.15.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="2">
<tr valign="middle">
<td><a accesskey="p" href="libbonoboui-bonobo-ui-engine-config.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="bonobo-ui.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">LibBonoboUI API Reference Manual</th>
<td><a accesskey="n" href="libbonoboui-bonobo-ui-preferences.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#libbonoboui-bonobo-ui-sync.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#libbonoboui-bonobo-ui-sync.description" class="shortcut">Description</a>
                   | 
                  <a href="#libbonoboui-bonobo-ui-sync.object-hierarchy" class="shortcut">Object Hierarchy</a>
</td></tr>
</table>
<div class="refentry">
<a name="libbonoboui-bonobo-ui-sync"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libbonoboui-bonobo-ui-sync.top_of_page"></a>BonoboUISync</span></h2>
<p>BonoboUISync — A Synchronizer object to keep a widget tree in sync with an XML tree.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="libbonoboui-bonobo-ui-sync.synopsis"></a><h2>Synopsis</h2>
<a name="BonoboUISync"></a><pre class="synopsis">                    <a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync-struct" title="BonoboUISync">BonoboUISync</a>;
<span class="returnvalue">void</span>                (<a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISyncStateFn" title="BonoboUISyncStateFn ()">*BonoboUISyncStateFn</a>)              (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="type">BonoboUISync</span></a> *sync</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *cmd_node</code></em>,
                                                         <em class="parameter"><code><span class="type">GtkWidget</span> *widget</code></em>,
                                                         <em class="parameter"><code><span class="type">GtkWidget</span> *parent</code></em>);
<span class="returnvalue">GtkWidget</span> *         (<a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISyncBuildFn" title="BonoboUISyncBuildFn ()">*BonoboUISyncBuildFn</a>)              (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="type">BonoboUISync</span></a> *sync</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *cmd_node</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> *pos</code></em>,
                                                         <em class="parameter"><code><span class="type">GtkWidget</span> *parent</code></em>);
                    <a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISyncPrivate" title="BonoboUISyncPrivate">BonoboUISyncPrivate</a>;
                    <a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISyncClass" title="BonoboUISyncClass">BonoboUISyncClass</a>;
<a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="returnvalue">BonoboUISync</span></a> *      <a class="link" href="libbonoboui-bonobo-ui-sync.html#bonobo-ui-sync-construct" title="bonobo_ui_sync_construct ()">bonobo_ui_sync_construct</a>            (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="type">BonoboUISync</span></a> *sync</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-engine.html#BonoboUIEngine"><span class="type">BonoboUIEngine</span></a> *engine</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_recursive</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> has_widgets</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libbonoboui-bonobo-ui-sync.html#bonobo-ui-sync-is-recursive" title="bonobo_ui_sync_is_recursive ()">bonobo_ui_sync_is_recursive</a>         (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="type">BonoboUISync</span></a> *sync</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libbonoboui-bonobo-ui-sync.html#bonobo-ui-sync-has-widgets" title="bonobo_ui_sync_has_widgets ()">bonobo_ui_sync_has_widgets</a>          (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="type">BonoboUISync</span></a> *sync</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libbonoboui-bonobo-ui-sync.html#bonobo-ui-sync-remove-root" title="bonobo_ui_sync_remove_root ()">bonobo_ui_sync_remove_root</a>          (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="type">BonoboUISync</span></a> *sync</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *root</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libbonoboui-bonobo-ui-sync.html#bonobo-ui-sync-update-root" title="bonobo_ui_sync_update_root ()">bonobo_ui_sync_update_root</a>          (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="type">BonoboUISync</span></a> *sync</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *root</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libbonoboui-bonobo-ui-sync.html#bonobo-ui-sync-state" title="bonobo_ui_sync_state ()">bonobo_ui_sync_state</a>                (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="type">BonoboUISync</span></a> *sync</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *cmd_node</code></em>,
                                                         <em class="parameter"><code><span class="type">GtkWidget</span> *widget</code></em>,
                                                         <em class="parameter"><code><span class="type">GtkWidget</span> *parent</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libbonoboui-bonobo-ui-sync.html#bonobo-ui-sync-state-placeholder" title="bonobo_ui_sync_state_placeholder ()">bonobo_ui_sync_state_placeholder</a>    (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="type">BonoboUISync</span></a> *sync</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *cmd_node</code></em>,
                                                         <em class="parameter"><code><span class="type">GtkWidget</span> *widget</code></em>,
                                                         <em class="parameter"><code><span class="type">GtkWidget</span> *parent</code></em>);
<span class="returnvalue">GtkWidget</span> *         <a class="link" href="libbonoboui-bonobo-ui-sync.html#bonobo-ui-sync-build" title="bonobo_ui_sync_build ()">bonobo_ui_sync_build</a>                (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="type">BonoboUISync</span></a> *sync</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *cmd_node</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> *pos</code></em>,
                                                         <em class="parameter"><code><span class="type">GtkWidget</span> *parent</code></em>);
<span class="returnvalue">GtkWidget</span> *         <a class="link" href="libbonoboui-bonobo-ui-sync.html#bonobo-ui-sync-build-placeholder" title="bonobo_ui_sync_build_placeholder ()">bonobo_ui_sync_build_placeholder</a>    (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="type">BonoboUISync</span></a> *sync</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *cmd_node</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> *pos</code></em>,
                                                         <em class="parameter"><code><span class="type">GtkWidget</span> *parent</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libbonoboui-bonobo-ui-sync.html#bonobo-ui-sync-ignore-widget" title="bonobo_ui_sync_ignore_widget ()">bonobo_ui_sync_ignore_widget</a>        (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="type">BonoboUISync</span></a> *sync</code></em>,
                                                         <em class="parameter"><code><span class="type">GtkWidget</span> *widget</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             <a class="link" href="libbonoboui-bonobo-ui-sync.html#bonobo-ui-sync-get-widgets" title="bonobo_ui_sync_get_widgets ()">bonobo_ui_sync_get_widgets</a>          (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="type">BonoboUISync</span></a> *sync</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libbonoboui-bonobo-ui-sync.html#bonobo-ui-sync-stamp-root" title="bonobo_ui_sync_stamp_root ()">bonobo_ui_sync_stamp_root</a>           (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="type">BonoboUISync</span></a> *sync</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libbonoboui-bonobo-ui-sync.html#bonobo-ui-sync-can-handle" title="bonobo_ui_sync_can_handle ()">bonobo_ui_sync_can_handle</a>           (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="type">BonoboUISync</span></a> *sync</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>);
<span class="returnvalue">GtkWidget</span> *         <a class="link" href="libbonoboui-bonobo-ui-sync.html#bonobo-ui-sync-get-attached" title="bonobo_ui_sync_get_attached ()">bonobo_ui_sync_get_attached</a>         (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="type">BonoboUISync</span></a> *sync</code></em>,
                                                         <em class="parameter"><code><span class="type">GtkWidget</span> *widget</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libbonoboui-bonobo-ui-sync.html#bonobo-ui-sync-state-update" title="bonobo_ui_sync_state_update ()">bonobo_ui_sync_state_update</a>         (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="type">BonoboUISync</span></a> *sync</code></em>,
                                                         <em class="parameter"><code><span class="type">GtkWidget</span> *widget</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *new_state</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libbonoboui-bonobo-ui-sync.html#bonobo-ui-sync-do-show-hide" title="bonobo_ui_sync_do_show_hide ()">bonobo_ui_sync_do_show_hide</a>         (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="type">BonoboUISync</span></a> *sync</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *cmd_node</code></em>,
                                                         <em class="parameter"><code><span class="type">GtkWidget</span> *widget</code></em>);
<span class="returnvalue">GtkWidget</span> *         <a class="link" href="libbonoboui-bonobo-ui-sync.html#bonobo-ui-sync-wrap-widget" title="bonobo_ui_sync_wrap_widget ()">bonobo_ui_sync_wrap_widget</a>          (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="type">BonoboUISync</span></a> *sync</code></em>,
                                                         <em class="parameter"><code><span class="type">GtkWidget</span> *custom_widget</code></em>);
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="returnvalue">GType</span></a>               <a class="link" href="libbonoboui-bonobo-ui-sync.html#bonobo-ui-sync-keys-get-type" title="bonobo_ui_sync_keys_get_type ()">bonobo_ui_sync_keys_get_type</a>        (<em class="parameter"><code><span class="type">void</span></code></em>);
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="returnvalue">GType</span></a>               <a class="link" href="libbonoboui-bonobo-ui-sync.html#bonobo-ui-sync-menu-get-type" title="bonobo_ui_sync_menu_get_type ()">bonobo_ui_sync_menu_get_type</a>        (<em class="parameter"><code><span class="type">void</span></code></em>);
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="returnvalue">GType</span></a>               <a class="link" href="libbonoboui-bonobo-ui-sync.html#bonobo-ui-sync-status-get-type" title="bonobo_ui_sync_status_get_type ()">bonobo_ui_sync_status_get_type</a>      (<em class="parameter"><code><span class="type">void</span></code></em>);
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="returnvalue">GType</span></a>               <a class="link" href="libbonoboui-bonobo-ui-sync.html#bonobo-ui-sync-toolbar-get-type" title="bonobo_ui_sync_toolbar_get_type ()">bonobo_ui_sync_toolbar_get_type</a>     (<em class="parameter"><code><span class="type">void</span></code></em>);
</pre>
</div>
<div class="refsect1">
<a name="libbonoboui-bonobo-ui-sync.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
   +----BonoboUISync
</pre>
</div>
<div class="refsect1">
<a name="libbonoboui-bonobo-ui-sync.description"></a><h2>Description</h2>
<p>
The BonoboUISynchronizer is used internaly by the <a class="link" href="libbonoboui-bonobo-ui-engine.html#BonoboUIEngine"><span class="type">BonoboUIEngine</span></a>. Writing
one is a very advanced topic, and should only be attempted by carefuly study
of the code. No normal user should need to write his own synchronizer.
</p>
</div>
<div class="refsect1">
<a name="libbonoboui-bonobo-ui-sync.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="BonoboUISync-struct"></a><h3>BonoboUISync</h3>
<pre class="programlisting">typedef struct _BonoboUISync BonoboUISync;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="BonoboUISyncStateFn"></a><h3>BonoboUISyncStateFn ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                (*BonoboUISyncStateFn)              (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="type">BonoboUISync</span></a> *sync</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *cmd_node</code></em>,
                                                         <em class="parameter"><code><span class="type">GtkWidget</span> *widget</code></em>,
                                                         <em class="parameter"><code><span class="type">GtkWidget</span> *parent</code></em>);</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>sync</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>cmd_node</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
<td>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="BonoboUISyncBuildFn"></a><h3>BonoboUISyncBuildFn ()</h3>
<pre class="programlisting"><span class="returnvalue">GtkWidget</span> *         (*BonoboUISyncBuildFn)              (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="type">BonoboUISync</span></a> *sync</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *cmd_node</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> *pos</code></em>,
                                                         <em class="parameter"><code><span class="type">GtkWidget</span> *parent</code></em>);</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>sync</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>cmd_node</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>pos</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="BonoboUISyncPrivate"></a><h3>BonoboUISyncPrivate</h3>
<pre class="programlisting">typedef struct _BonoboUISyncPrivate BonoboUISyncPrivate;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="BonoboUISyncClass"></a><h3>BonoboUISyncClass</h3>
<pre class="programlisting">typedef struct {
	GObjectClass parent_class;

	BonoboUISyncStateFn sync_state;
	BonoboUISyncStateFn sync_state_placeholder;
	BonoboUISyncBuildFn build;
	BonoboUISyncBuildFn build_placeholder;

	void          (*update_root)     (BonoboUISync     *sync,
					  BonoboUINode     *root);

	void          (*remove_root)     (BonoboUISync     *sync,
					  BonoboUINode     *root);

	GList        *(*get_widgets)     (BonoboUISync     *sync,
					  BonoboUINode     *node);

	void          (*state_update)    (BonoboUISync     *sync,
					  GtkWidget        *widget,
					  const char       *new_state);
	
	gboolean      (*ignore_widget)   (BonoboUISync     *sync,
					  GtkWidget        *widget);
	
	gboolean      (*can_handle)      (BonoboUISync     *sync,
					  BonoboUINode     *node);
	
        void          (*stamp_root)      (BonoboUISync     *sync);

	GtkWidget    *(*get_attached)    (BonoboUISync     *sync,
					  GtkWidget        *widget,
					  BonoboUINode     *node);

	GtkWidget    *(*wrap_widget)     (BonoboUISync     *sync,
					  GtkWidget        *custom_widget);
} BonoboUISyncClass;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-sync-construct"></a><h3>bonobo_ui_sync_construct ()</h3>
<pre class="programlisting"><a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="returnvalue">BonoboUISync</span></a> *      bonobo_ui_sync_construct            (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="type">BonoboUISync</span></a> *sync</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-engine.html#BonoboUIEngine"><span class="type">BonoboUIEngine</span></a> *engine</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_recursive</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> has_widgets</code></em>);</pre>
<p>
Used to construct a new synchronizer object
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>sync</code></em> :</span></p></td>
<td>the synchronizer
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>engine</code></em> :</span></p></td>
<td>the associated engine
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>is_recursive</code></em> :</span></p></td>
<td>whether it deals with its children recursively
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>has_widgets</code></em> :</span></p></td>
<td>whether it has associated widgets.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the new object.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-sync-is-recursive"></a><h3>bonobo_ui_sync_is_recursive ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            bonobo_ui_sync_is_recursive         (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="type">BonoboUISync</span></a> *sync</code></em>);</pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>sync</code></em> :</span></p></td>
<td>the synchronizer
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> whether this deals with its children recursively
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-sync-has-widgets"></a><h3>bonobo_ui_sync_has_widgets ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            bonobo_ui_sync_has_widgets          (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="type">BonoboUISync</span></a> *sync</code></em>);</pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>sync</code></em> :</span></p></td>
<td>the synchronizer 
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> whether this deals with widgets
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-sync-remove-root"></a><h3>bonobo_ui_sync_remove_root ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                bonobo_ui_sync_remove_root          (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="type">BonoboUISync</span></a> *sync</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *root</code></em>);</pre>
<p>
This is called when a 'root' or toplevel node is
removed that this synchronizer deals with. eg. in
the toolbar case, this might trigger hiding an
associated dock item.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>sync</code></em> :</span></p></td>
<td>the synchronizer 
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>root</code></em> :</span></p></td>
<td>the toplevel node to be removed.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-sync-update-root"></a><h3>bonobo_ui_sync_update_root ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                bonobo_ui_sync_update_root          (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="type">BonoboUISync</span></a> *sync</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *root</code></em>);</pre>
<p>
This flags the fact that a toplevel node has changed
and is used primarily by non-recursive handlers, such
as the keybinding sync method.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>sync</code></em> :</span></p></td>
<td>the synchronizer 
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>root</code></em> :</span></p></td>
<td>the toplevel node
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-sync-state"></a><h3>bonobo_ui_sync_state ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                bonobo_ui_sync_state                (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="type">BonoboUISync</span></a> *sync</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *cmd_node</code></em>,
                                                         <em class="parameter"><code><span class="type">GtkWidget</span> *widget</code></em>,
                                                         <em class="parameter"><code><span class="type">GtkWidget</span> *parent</code></em>);</pre>
<p>
This method is used to synchronize the state of a <em class="parameter"><code>node</code></em>
with that of a <em class="parameter"><code>widget</code></em>, by ensuring the pertainant
attributes are reflected in the widget view.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>sync</code></em> :</span></p></td>
<td>the synchronizer 
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
<td>the node 
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>cmd_node</code></em> :</span></p></td>
<td>the associated command node 
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
<td>the widget 
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
<td>the parent of <em class="parameter"><code>node</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-sync-state-placeholder"></a><h3>bonobo_ui_sync_state_placeholder ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                bonobo_ui_sync_state_placeholder    (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="type">BonoboUISync</span></a> *sync</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *cmd_node</code></em>,
                                                         <em class="parameter"><code><span class="type">GtkWidget</span> *widget</code></em>,
                                                         <em class="parameter"><code><span class="type">GtkWidget</span> *parent</code></em>);</pre>
<p>
This synchronizes the state of a placeholder, there is
a default implementation for this method.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>sync</code></em> :</span></p></td>
<td>the synchronizer 
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
<td>the node 
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>cmd_node</code></em> :</span></p></td>
<td>the associated command node 
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
<td>the widget 
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
<td>the parent of <em class="parameter"><code>node</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-sync-build"></a><h3>bonobo_ui_sync_build ()</h3>
<pre class="programlisting"><span class="returnvalue">GtkWidget</span> *         bonobo_ui_sync_build                (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="type">BonoboUISync</span></a> *sync</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *cmd_node</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> *pos</code></em>,
                                                         <em class="parameter"><code><span class="type">GtkWidget</span> *parent</code></em>);</pre>
<p>
This function causes a child widget to be build that matches
<em class="parameter"><code>node</code></em>'s attributes. This should then be inserted by into
<em class="parameter"><code>parent</code></em>'s associated widget at position <em class="parameter"><code>pos</code></em> in the container.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>sync</code></em> :</span></p></td>
<td>the synchronizer 
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
<td>the node 
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>cmd_node</code></em> :</span></p></td>
<td>the associated command node 
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>pos</code></em> :</span></p></td>
<td>the position in the parent container to insert at
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
<td>the parent of <em class="parameter"><code>node</code></em> 
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the freshly built widget.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-sync-build-placeholder"></a><h3>bonobo_ui_sync_build_placeholder ()</h3>
<pre class="programlisting"><span class="returnvalue">GtkWidget</span> *         bonobo_ui_sync_build_placeholder    (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="type">BonoboUISync</span></a> *sync</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *cmd_node</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> *pos</code></em>,
                                                         <em class="parameter"><code><span class="type">GtkWidget</span> *parent</code></em>);</pre>
<p>
As for <a class="link" href="libbonoboui-bonobo-ui-sync.html#bonobo-ui-sync-build" title="bonobo_ui_sync_build ()"><span class="type">bonobo_ui_sync_build</span></a> but for placeholders
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>sync</code></em> :</span></p></td>
<td>the synchronizer 
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
<td>the node 
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>cmd_node</code></em> :</span></p></td>
<td>the associated command node 
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>pos</code></em> :</span></p></td>
<td>position in the parent to insert the built widget
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
<td>the parent of <em class="parameter"><code>node</code></em> 
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the freshly built widget.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-sync-ignore-widget"></a><h3>bonobo_ui_sync_ignore_widget ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            bonobo_ui_sync_ignore_widget        (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="type">BonoboUISync</span></a> *sync</code></em>,
                                                         <em class="parameter"><code><span class="type">GtkWidget</span> *widget</code></em>);</pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>sync</code></em> :</span></p></td>
<td>the synchronizer 
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
<td>the widget 
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> TRUE if this widget should be ignored in a container
this is the case for eg. menu tearoffs items, and toolbar popout items.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-sync-get-widgets"></a><h3>bonobo_ui_sync_get_widgets ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             bonobo_ui_sync_get_widgets          (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="type">BonoboUISync</span></a> *sync</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>);</pre>
<p>
This method is used to obtain a sensibly ordered list
of child widgets of the container associated with <em class="parameter"><code>node</code></em>.
Essentialy this does something like gtk_container_children
but preserving the visible order of the widgets in the list.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>sync</code></em> :</span></p></td>
<td>the synchronizer 
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
<td>the node 
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> An ordered list of child widgets of <em class="parameter"><code>node</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-sync-stamp-root"></a><h3>bonobo_ui_sync_stamp_root ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                bonobo_ui_sync_stamp_root           (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="type">BonoboUISync</span></a> *sync</code></em>);</pre>
<p>
This asks the synchronizer to stamp all its associated
root widget containers into the XML tree.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>sync</code></em> :</span></p></td>
<td>the synchronizer 
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-sync-can-handle"></a><h3>bonobo_ui_sync_can_handle ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            bonobo_ui_sync_can_handle           (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="type">BonoboUISync</span></a> *sync</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>);</pre>
<p>
This is used to determine which, of multiple synchronizers
can be used to deal with a specific node type. Each synchronizer
deals with different types of node.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>sync</code></em> :</span></p></td>
<td>the synchronizer 
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
<td>the node 
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> TRUE if the synchronizer can deal with this node type
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-sync-get-attached"></a><h3>bonobo_ui_sync_get_attached ()</h3>
<pre class="programlisting"><span class="returnvalue">GtkWidget</span> *         bonobo_ui_sync_get_attached         (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="type">BonoboUISync</span></a> *sync</code></em>,
                                                         <em class="parameter"><code><span class="type">GtkWidget</span> *widget</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>);</pre>
<p>
This is used to get an 'attached' widget - some
widgets have associated widgets that are coupled
in strange ways - eg. GtkMenuItem &lt;-&gt; GtkMenuShell
It is neccessary to store the GtkContainer item of
these couples in the XML tree, since then we can
do things more genericaly and cleanly.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>sync</code></em> :</span></p></td>
<td>the synchronizer 
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
<td>the widget 
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
<td>the node 
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> an associated widget or NULL if none exists.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-sync-state-update"></a><h3>bonobo_ui_sync_state_update ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                bonobo_ui_sync_state_update         (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="type">BonoboUISync</span></a> *sync</code></em>,
                                                         <em class="parameter"><code><span class="type">GtkWidget</span> *widget</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *new_state</code></em>);</pre>
<p>
This is used to synchronize state with a stateful widget,
eg. when a "state" attribute is set, this is not reflected
in the normal 'state-sync' process, but occurs later with
a set of state_updates to avoid re-enterancy problems.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>sync</code></em> :</span></p></td>
<td>the synchronizer 
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
<td>the widget 
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>new_state</code></em> :</span></p></td>
<td>the new state
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-sync-do-show-hide"></a><h3>bonobo_ui_sync_do_show_hide ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            bonobo_ui_sync_do_show_hide         (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="type">BonoboUISync</span></a> *sync</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *node</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-node.html#BonoboUINode" title="BonoboUINode"><span class="type">BonoboUINode</span></a> *cmd_node</code></em>,
                                                         <em class="parameter"><code><span class="type">GtkWidget</span> *widget</code></em>);</pre>
<p>
This is a helper function that applies the hidden attribute
from either the <em class="parameter"><code>node</code></em> or fallback to the <em class="parameter"><code>cmd_node</code></em> to the
<em class="parameter"><code>widget</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>sync</code></em> :</span></p></td>
<td>the synchronizer 
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
<td>the node 
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>cmd_node</code></em> :</span></p></td>
<td>the associated command node 
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
<td>the widget 
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> TRUE if the widget's hidden / shown state changed,
this is needed to work around some nasty dock sizing bugs.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-sync-wrap-widget"></a><h3>bonobo_ui_sync_wrap_widget ()</h3>
<pre class="programlisting"><span class="returnvalue">GtkWidget</span> *         bonobo_ui_sync_wrap_widget          (<em class="parameter"><code><a class="link" href="libbonoboui-bonobo-ui-sync.html#BonoboUISync"><span class="type">BonoboUISync</span></a> *sync</code></em>,
                                                         <em class="parameter"><code><span class="type">GtkWidget</span> *custom_widget</code></em>);</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>sync</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>custom_widget</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-sync-keys-get-type"></a><h3>bonobo_ui_sync_keys_get_type ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="returnvalue">GType</span></a>               bonobo_ui_sync_keys_get_type        (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-sync-menu-get-type"></a><h3>bonobo_ui_sync_menu_get_type ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="returnvalue">GType</span></a>               bonobo_ui_sync_menu_get_type        (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-sync-status-get-type"></a><h3>bonobo_ui_sync_status_get_type ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="returnvalue">GType</span></a>               bonobo_ui_sync_status_get_type      (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-ui-sync-toolbar-get-type"></a><h3>bonobo_ui_sync_toolbar_get_type ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="returnvalue">GType</span></a>               bonobo_ui_sync_toolbar_get_type     (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
</td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.15.1</div>
</body>
</html>