File: libgnomeui-gnome-app-helper.html

package info (click to toggle)
libgnomeui 2.24.5-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 12,428 kB
  • sloc: ansic: 37,044; sh: 11,082; makefile: 409; xml: 18
file content (3427 lines) | stat: -rw-r--r-- 203,216 bytes parent folder | download | duplicates (3)
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
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>gnome-app-helper</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="libgnomeui-gnome-appbar.html" title="GnomeAppBar">
<link rel="next" href="libgnomeui-GnomeMultiScreen.html" title="GnomeMultiScreen">
<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="libgnomeui-gnome-appbar.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-GnomeMultiScreen.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-helper.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#libgnomeui-gnome-app-helper.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="libgnomeui-gnome-app-helper"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libgnomeui-gnome-app-helper.top_of_page"></a>gnome-app-helper</span></h2>
<p>gnome-app-helper — Useful functions for populating menus and toolbars.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="libgnomeui-gnome-app-helper.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;libgnomeui/libgnomeui.h&gt;

enum                <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfoType" title="enum GnomeUIInfoType">GnomeUIInfoType</a>;
enum                <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfoConfigurableTypes" title="enum GnomeUIInfoConfigurableTypes">GnomeUIInfoConfigurableTypes</a>;
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOME-APP-CONFIGURABLE-ITEM-EXIT:CAPS" title="GNOME_APP_CONFIGURABLE_ITEM_EXIT">GNOME_APP_CONFIGURABLE_ITEM_EXIT</a>
enum                <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIPixmapType" title="enum GnomeUIPixmapType">GnomeUIPixmapType</a>;
                    <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo">GnomeUIInfo</a>;
struct              <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIBuilderData" title="struct GnomeUIBuilderData">GnomeUIBuilderData</a>;
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-KEY-UIDATA:CAPS" title="GNOMEUIINFO_KEY_UIDATA">GNOMEUIINFO_KEY_UIDATA</a>
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-KEY-UIBDATA:CAPS" title="GNOMEUIINFO_KEY_UIBDATA">GNOMEUIINFO_KEY_UIBDATA</a>
<span class="returnvalue">void</span>                (<a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUISignalConnectFunc" title="GnomeUISignalConnectFunc ()">*GnomeUISignalConnectFunc</a>)         (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *signal_name</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIBuilderData" title="struct GnomeUIBuilderData"><span class="type">GnomeUIBuilderData</span></a> *uibdata</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-accelerators-sync" title="gnome_accelerators_sync ()">gnome_accelerators_sync</a>             (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-fill-menu" title="gnome_app_fill_menu ()">gnome_app_fill_menu</a>                 (<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkMenuShell.html"><span class="type">GtkMenuShell</span></a> *menu_shell</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> *accel_group</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> uline_accels</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> pos</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-fill-menu-with-data" title="gnome_app_fill_menu_with_data ()">gnome_app_fill_menu_with_data</a>       (<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkMenuShell.html"><span class="type">GtkMenuShell</span></a> *menu_shell</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> *accel_group</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> uline_accels</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> pos</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-fill-menu-custom" title="gnome_app_fill_menu_custom ()">gnome_app_fill_menu_custom</a>          (<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkMenuShell.html"><span class="type">GtkMenuShell</span></a> *menu_shell</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIBuilderData" title="struct GnomeUIBuilderData"><span class="type">GnomeUIBuilderData</span></a> *uibdata</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> *accel_group</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> uline_accels</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> pos</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-ui-configure-configurable" title="gnome_app_ui_configure_configurable ()">gnome_app_ui_configure_configurable</a> (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-create-menus" title="gnome_app_create_menus ()">gnome_app_create_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 class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-create-menus-interp" title="gnome_app_create_menus_interp ()">gnome_app_create_menus_interp</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 class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-Types.html#GtkCallbackMarshal"><span class="type">GtkCallbackMarshal</span></a> relay_func</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy_func</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-create-menus-with-data" title="gnome_app_create_menus_with_data ()">gnome_app_create_menus_with_data</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 class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-create-menus-custom" title="gnome_app_create_menus_custom ()">gnome_app_create_menus_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 class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIBuilderData" title="struct GnomeUIBuilderData"><span class="type">GnomeUIBuilderData</span></a> *uibdata</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-fill-toolbar" title="gnome_app_fill_toolbar ()">gnome_app_fill_toolbar</a>              (<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><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> *accel_group</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-fill-toolbar-with-data" title="gnome_app_fill_toolbar_with_data ()">gnome_app_fill_toolbar_with_data</a>    (<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><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> *accel_group</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-fill-toolbar-custom" title="gnome_app_fill_toolbar_custom ()">gnome_app_fill_toolbar_custom</a>       (<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><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIBuilderData" title="struct GnomeUIBuilderData"><span class="type">GnomeUIBuilderData</span></a> *uibdata</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> *accel_group</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-create-toolbar" title="gnome_app_create_toolbar ()">gnome_app_create_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 class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-create-toolbar-interp" title="gnome_app_create_toolbar_interp ()">gnome_app_create_toolbar_interp</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 class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-Types.html#GtkCallbackMarshal"><span class="type">GtkCallbackMarshal</span></a> relay_func</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy_func</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-create-toolbar-with-data" title="gnome_app_create_toolbar_with_data ()">gnome_app_create_toolbar_with_data</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 class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-create-toolbar-custom" title="gnome_app_create_toolbar_custom ()">gnome_app_create_toolbar_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 class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIBuilderData" title="struct GnomeUIBuilderData"><span class="type">GnomeUIBuilderData</span></a> *uibdata</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-helper.html#gnome-app-find-menu-pos" title="gnome_app_find_menu_pos ()">gnome_app_find_menu_pos</a>             (<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a> *parent</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *pos</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-remove-menus" title="gnome_app_remove_menus ()">gnome_app_remove_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>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> items</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-remove-menu-range" title="gnome_app_remove_menu_range ()">gnome_app_remove_menu_range</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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> start</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> items</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-insert-menus-custom" title="gnome_app_insert_menus_custom ()">gnome_app_insert_menus_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>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIBuilderData" title="struct GnomeUIBuilderData"><span class="type">GnomeUIBuilderData</span></a> *uibdata</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-insert-menus" title="gnome_app_insert_menus ()">gnome_app_insert_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>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *menuinfo</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-insert-menus-with-data" title="gnome_app_insert_menus_with_data ()">gnome_app_insert_menus_with_data</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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *menuinfo</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-insert-menus-interp" title="gnome_app_insert_menus_interp ()">gnome_app_insert_menus_interp</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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *menuinfo</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-Types.html#GtkCallbackMarshal"><span class="type">GtkCallbackMarshal</span></a> relay_func</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy_func</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-install-appbar-menu-hints" title="gnome_app_install_appbar_menu_hints ()">gnome_app_install_appbar_menu_hints</a> (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-appbar.html#GnomeAppBar"><span class="type">GnomeAppBar</span></a> *appbar</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-install-statusbar-menu-hints" title="gnome_app_install_statusbar_menu_hints ()">gnome_app_install_statusbar_menu_hints</a>
                                                        (<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkStatusbar.html"><span class="type">GtkStatusbar</span></a> *bar</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-install-menu-hints" title="gnome_app_install_menu_hints ()">gnome_app_install_menu_hints</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 class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-setup-toolbar" title="gnome_app_setup_toolbar ()">gnome_app_setup_toolbar</a>             (<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><span class="type">BonoboDockItem</span> *dock_item</code></em>);
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-END:CAPS" title="GNOMEUIINFO_END">GNOMEUIINFO_END</a>
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-SEPARATOR:CAPS" title="GNOMEUIINFO_SEPARATOR">GNOMEUIINFO_SEPARATOR</a>
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-ITEM:CAPS" title="GNOMEUIINFO_ITEM()">GNOMEUIINFO_ITEM</a>                    (label,
                                                         tooltip,
                                                         callback,
                                                         xpm_data)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-ITEM-STOCK:CAPS" title="GNOMEUIINFO_ITEM_STOCK()">GNOMEUIINFO_ITEM_STOCK</a>              (label,
                                                         tooltip,
                                                         callback,
                                                         stock_id)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-ITEM-NONE:CAPS" title="GNOMEUIINFO_ITEM_NONE()">GNOMEUIINFO_ITEM_NONE</a>               (label,
                                                         tooltip,
                                                         callback)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-ITEM-DATA:CAPS" title="GNOMEUIINFO_ITEM_DATA()">GNOMEUIINFO_ITEM_DATA</a>               (label,
                                                         tooltip,
                                                         callback,
                                                         user_data,
                                                         xpm_data)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-TOGGLEITEM:CAPS" title="GNOMEUIINFO_TOGGLEITEM()">GNOMEUIINFO_TOGGLEITEM</a>              (label,
                                                         tooltip,
                                                         callback,
                                                         xpm_data)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-TOGGLEITEM-DATA:CAPS" title="GNOMEUIINFO_TOGGLEITEM_DATA()">GNOMEUIINFO_TOGGLEITEM_DATA</a>         (label,
                                                         tooltip,
                                                         callback,
                                                         user_data,
                                                         xpm_data)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-HELP:CAPS" title="GNOMEUIINFO_HELP()">GNOMEUIINFO_HELP</a>                    (app_name)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-SUBTREE:CAPS" title="GNOMEUIINFO_SUBTREE()">GNOMEUIINFO_SUBTREE</a>                 (label,
                                                         tree)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-SUBTREE-HINT:CAPS" title="GNOMEUIINFO_SUBTREE_HINT()">GNOMEUIINFO_SUBTREE_HINT</a>            (label,
                                                         hint,
                                                         tree)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-SUBTREE-STOCK:CAPS" title="GNOMEUIINFO_SUBTREE_STOCK()">GNOMEUIINFO_SUBTREE_STOCK</a>           (label,
                                                         tree,
                                                         stock_id)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-INCLUDE:CAPS" title="GNOMEUIINFO_INCLUDE()">GNOMEUIINFO_INCLUDE</a>                 (tree)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-RADIOLIST:CAPS" title="GNOMEUIINFO_RADIOLIST()">GNOMEUIINFO_RADIOLIST</a>               (list)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-RADIOITEM:CAPS" title="GNOMEUIINFO_RADIOITEM()">GNOMEUIINFO_RADIOITEM</a>               (label,
                                                         tooltip,
                                                         callback,
                                                         xpm_data)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-RADIOITEM-DATA:CAPS" title="GNOMEUIINFO_RADIOITEM_DATA()">GNOMEUIINFO_RADIOITEM_DATA</a>          (label,
                                                         tooltip,
                                                         callback,
                                                         user_data,
                                                         xpm_data)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-NEW-ITEM:CAPS" title="GNOMEUIINFO_MENU_NEW_ITEM()">GNOMEUIINFO_MENU_NEW_ITEM</a>           (label,
                                                         tip,
                                                         cb,
                                                         data)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-NEW-SUBTREE:CAPS" title="GNOMEUIINFO_MENU_NEW_SUBTREE()">GNOMEUIINFO_MENU_NEW_SUBTREE</a>        (tree)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-OPEN-ITEM:CAPS" title="GNOMEUIINFO_MENU_OPEN_ITEM()">GNOMEUIINFO_MENU_OPEN_ITEM</a>          (cb,
                                                         data)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-SAVE-ITEM:CAPS" title="GNOMEUIINFO_MENU_SAVE_ITEM()">GNOMEUIINFO_MENU_SAVE_ITEM</a>          (cb,
                                                         data)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-SAVE-AS-ITEM:CAPS" title="GNOMEUIINFO_MENU_SAVE_AS_ITEM()">GNOMEUIINFO_MENU_SAVE_AS_ITEM</a>       (cb,
                                                         data)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-REVERT-ITEM:CAPS" title="GNOMEUIINFO_MENU_REVERT_ITEM()">GNOMEUIINFO_MENU_REVERT_ITEM</a>        (cb,
                                                         data)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-PRINT-ITEM:CAPS" title="GNOMEUIINFO_MENU_PRINT_ITEM()">GNOMEUIINFO_MENU_PRINT_ITEM</a>         (cb,
                                                         data)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-PRINT-SETUP-ITEM:CAPS" title="GNOMEUIINFO_MENU_PRINT_SETUP_ITEM()">GNOMEUIINFO_MENU_PRINT_SETUP_ITEM</a>   (cb,
                                                         data)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-CLOSE-ITEM:CAPS" title="GNOMEUIINFO_MENU_CLOSE_ITEM()">GNOMEUIINFO_MENU_CLOSE_ITEM</a>         (cb,
                                                         data)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-EXIT-ITEM:CAPS" title="GNOMEUIINFO_MENU_EXIT_ITEM()">GNOMEUIINFO_MENU_EXIT_ITEM</a>          (cb,
                                                         data)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-QUIT-ITEM:CAPS" title="GNOMEUIINFO_MENU_QUIT_ITEM()">GNOMEUIINFO_MENU_QUIT_ITEM</a>          (cb,
                                                         data)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-CUT-ITEM:CAPS" title="GNOMEUIINFO_MENU_CUT_ITEM()">GNOMEUIINFO_MENU_CUT_ITEM</a>           (cb,
                                                         data)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-COPY-ITEM:CAPS" title="GNOMEUIINFO_MENU_COPY_ITEM()">GNOMEUIINFO_MENU_COPY_ITEM</a>          (cb,
                                                         data)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-PASTE-ITEM:CAPS" title="GNOMEUIINFO_MENU_PASTE_ITEM()">GNOMEUIINFO_MENU_PASTE_ITEM</a>         (cb,
                                                         data)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-SELECT-ALL-ITEM:CAPS" title="GNOMEUIINFO_MENU_SELECT_ALL_ITEM()">GNOMEUIINFO_MENU_SELECT_ALL_ITEM</a>    (cb,
                                                         data)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-CLEAR-ITEM:CAPS" title="GNOMEUIINFO_MENU_CLEAR_ITEM()">GNOMEUIINFO_MENU_CLEAR_ITEM</a>         (cb,
                                                         data)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-UNDO-ITEM:CAPS" title="GNOMEUIINFO_MENU_UNDO_ITEM()">GNOMEUIINFO_MENU_UNDO_ITEM</a>          (cb,
                                                         data)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-REDO-ITEM:CAPS" title="GNOMEUIINFO_MENU_REDO_ITEM()">GNOMEUIINFO_MENU_REDO_ITEM</a>          (cb,
                                                         data)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-FIND-ITEM:CAPS" title="GNOMEUIINFO_MENU_FIND_ITEM()">GNOMEUIINFO_MENU_FIND_ITEM</a>          (cb,
                                                         data)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-FIND-AGAIN-ITEM:CAPS" title="GNOMEUIINFO_MENU_FIND_AGAIN_ITEM()">GNOMEUIINFO_MENU_FIND_AGAIN_ITEM</a>    (cb,
                                                         data)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-REPLACE-ITEM:CAPS" title="GNOMEUIINFO_MENU_REPLACE_ITEM()">GNOMEUIINFO_MENU_REPLACE_ITEM</a>       (cb,
                                                         data)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-PROPERTIES-ITEM:CAPS" title="GNOMEUIINFO_MENU_PROPERTIES_ITEM()">GNOMEUIINFO_MENU_PROPERTIES_ITEM</a>    (cb,
                                                         data)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-PREFERENCES-ITEM:CAPS" title="GNOMEUIINFO_MENU_PREFERENCES_ITEM()">GNOMEUIINFO_MENU_PREFERENCES_ITEM</a>   (cb,
                                                         data)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-NEW-WINDOW-ITEM:CAPS" title="GNOMEUIINFO_MENU_NEW_WINDOW_ITEM()">GNOMEUIINFO_MENU_NEW_WINDOW_ITEM</a>    (cb,
                                                         data)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-CLOSE-WINDOW-ITEM:CAPS" title="GNOMEUIINFO_MENU_CLOSE_WINDOW_ITEM()">GNOMEUIINFO_MENU_CLOSE_WINDOW_ITEM</a>  (cb,
                                                         data)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-ABOUT-ITEM:CAPS" title="GNOMEUIINFO_MENU_ABOUT_ITEM()">GNOMEUIINFO_MENU_ABOUT_ITEM</a>         (cb,
                                                         data)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-NEW-GAME-ITEM:CAPS" title="GNOMEUIINFO_MENU_NEW_GAME_ITEM()">GNOMEUIINFO_MENU_NEW_GAME_ITEM</a>      (cb,
                                                         data)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-PAUSE-GAME-ITEM:CAPS" title="GNOMEUIINFO_MENU_PAUSE_GAME_ITEM()">GNOMEUIINFO_MENU_PAUSE_GAME_ITEM</a>    (cb,
                                                         data)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-RESTART-GAME-ITEM:CAPS" title="GNOMEUIINFO_MENU_RESTART_GAME_ITEM()">GNOMEUIINFO_MENU_RESTART_GAME_ITEM</a>  (cb,
                                                         data)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-UNDO-MOVE-ITEM:CAPS" title="GNOMEUIINFO_MENU_UNDO_MOVE_ITEM()">GNOMEUIINFO_MENU_UNDO_MOVE_ITEM</a>     (cb,
                                                         data)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-REDO-MOVE-ITEM:CAPS" title="GNOMEUIINFO_MENU_REDO_MOVE_ITEM()">GNOMEUIINFO_MENU_REDO_MOVE_ITEM</a>     (cb,
                                                         data)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-HINT-ITEM:CAPS" title="GNOMEUIINFO_MENU_HINT_ITEM()">GNOMEUIINFO_MENU_HINT_ITEM</a>          (cb,
                                                         data)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-SCORES-ITEM:CAPS" title="GNOMEUIINFO_MENU_SCORES_ITEM()">GNOMEUIINFO_MENU_SCORES_ITEM</a>        (cb,
                                                         data)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-END-GAME-ITEM:CAPS" title="GNOMEUIINFO_MENU_END_GAME_ITEM()">GNOMEUIINFO_MENU_END_GAME_ITEM</a>      (cb,
                                                         data)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-FILE-TREE:CAPS" title="GNOMEUIINFO_MENU_FILE_TREE()">GNOMEUIINFO_MENU_FILE_TREE</a>          (tree)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-EDIT-TREE:CAPS" title="GNOMEUIINFO_MENU_EDIT_TREE()">GNOMEUIINFO_MENU_EDIT_TREE</a>          (tree)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-VIEW-TREE:CAPS" title="GNOMEUIINFO_MENU_VIEW_TREE()">GNOMEUIINFO_MENU_VIEW_TREE</a>          (tree)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-SETTINGS-TREE:CAPS" title="GNOMEUIINFO_MENU_SETTINGS_TREE()">GNOMEUIINFO_MENU_SETTINGS_TREE</a>      (tree)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-FILES-TREE:CAPS" title="GNOMEUIINFO_MENU_FILES_TREE()">GNOMEUIINFO_MENU_FILES_TREE</a>         (tree)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-WINDOWS-TREE:CAPS" title="GNOMEUIINFO_MENU_WINDOWS_TREE()">GNOMEUIINFO_MENU_WINDOWS_TREE</a>       (tree)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-HELP-TREE:CAPS" title="GNOMEUIINFO_MENU_HELP_TREE()">GNOMEUIINFO_MENU_HELP_TREE</a>          (tree)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-GAME-TREE:CAPS" title="GNOMEUIINFO_MENU_GAME_TREE()">GNOMEUIINFO_MENU_GAME_TREE</a>          (tree)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOME-MENU-FILE-STRING:CAPS" title="GNOME_MENU_FILE_STRING">GNOME_MENU_FILE_STRING</a>
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOME-MENU-FILE-PATH:CAPS" title="GNOME_MENU_FILE_PATH">GNOME_MENU_FILE_PATH</a>
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOME-MENU-EDIT-STRING:CAPS" title="GNOME_MENU_EDIT_STRING">GNOME_MENU_EDIT_STRING</a>
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOME-MENU-EDIT-PATH:CAPS" title="GNOME_MENU_EDIT_PATH">GNOME_MENU_EDIT_PATH</a>
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOME-MENU-VIEW-STRING:CAPS" title="GNOME_MENU_VIEW_STRING">GNOME_MENU_VIEW_STRING</a>
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOME-MENU-VIEW-PATH:CAPS" title="GNOME_MENU_VIEW_PATH">GNOME_MENU_VIEW_PATH</a>
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOME-MENU-SETTINGS-STRING:CAPS" title="GNOME_MENU_SETTINGS_STRING">GNOME_MENU_SETTINGS_STRING</a>
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOME-MENU-SETTINGS-PATH:CAPS" title="GNOME_MENU_SETTINGS_PATH">GNOME_MENU_SETTINGS_PATH</a>
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOME-MENU-NEW-STRING:CAPS" title="GNOME_MENU_NEW_STRING">GNOME_MENU_NEW_STRING</a>
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOME-MENU-NEW-PATH:CAPS" title="GNOME_MENU_NEW_PATH">GNOME_MENU_NEW_PATH</a>
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOME-MENU-FILES-STRING:CAPS" title="GNOME_MENU_FILES_STRING">GNOME_MENU_FILES_STRING</a>
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOME-MENU-FILES-PATH:CAPS" title="GNOME_MENU_FILES_PATH">GNOME_MENU_FILES_PATH</a>
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOME-MENU-WINDOWS-STRING:CAPS" title="GNOME_MENU_WINDOWS_STRING">GNOME_MENU_WINDOWS_STRING</a>
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#GNOME-MENU-WINDOWS-PATH:CAPS" title="GNOME_MENU_WINDOWS_PATH">GNOME_MENU_WINDOWS_PATH</a>
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-helper-gettext" title="gnome_app_helper_gettext ()">gnome_app_helper_gettext</a>            (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *string</code></em>);
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#L-:CAPS" title="L_()">L_</a>                                  (x)
#define             <a class="link" href="libgnomeui-gnome-app-helper.html#D-:CAPS" title="D_()">D_</a>                                  (x)
</pre>
</div>
<div class="refsect1">
<a name="libgnomeui-gnome-app-helper.description"></a><h2>Description</h2>
<p>
This module lets a developer easily create menus and toolbars for use in their
applications. Basically, a hierarchy of <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structures are defined and
then the appropriate functions from this module are called to create the menu
or tool bars.
</p>
</div>
<div class="refsect1">
<a name="libgnomeui-gnome-app-helper.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GnomeUIInfoType"></a><h3>enum GnomeUIInfoType</h3>
<pre class="programlisting">typedef enum {
	GNOME_APP_UI_ENDOFINFO,
	GNOME_APP_UI_ITEM,
	GNOME_APP_UI_TOGGLEITEM,
	GNOME_APP_UI_RADIOITEMS,
	GNOME_APP_UI_SUBTREE,
	GNOME_APP_UI_SEPARATOR,
	GNOME_APP_UI_HELP,
	GNOME_APP_UI_BUILDER_DATA,
	GNOME_APP_UI_ITEM_CONFIGURABLE,
	GNOME_APP_UI_SUBTREE_STOCK,
	GNOME_APP_UI_INCLUDE
} GnomeUIInfoType;
</pre>
<p>
These values identify the item type that a particular GnomeUIInfo structure
specifies.
</p>
<p>
One should be careful when using gnome_app_create_[custom|interp|with_data]
functions with <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> arrays containing <a class="link" href="libgnomeui-gnome-app-helper.html#GNOME-APP-UI-BUILDER-DATA:CAPS"><span class="type">GNOME_APP_UI_BUILDER_DATA</span></a>
items, since their <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIBuilderData" title="struct GnomeUIBuilderData"><span class="type">GnomeUIBuilderData</span></a> structures completely override the
ones generated or supplied by the above functions.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GNOME-APP-UI-ENDOFINFO:CAPS"></a><span class="term"><code class="literal">GNOME_APP_UI_ENDOFINFO</code></span></p></td>
<td>No more items, use it at the end of an array.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-UI-ITEM:CAPS"></a><span class="term"><code class="literal">GNOME_APP_UI_ITEM</code></span></p></td>
<td>Normal item, or radio item if it is inside a radioitems
group.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-UI-TOGGLEITEM:CAPS"></a><span class="term"><code class="literal">GNOME_APP_UI_TOGGLEITEM</code></span></p></td>
<td>Toggle (check box) item.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-UI-RADIOITEMS:CAPS"></a><span class="term"><code class="literal">GNOME_APP_UI_RADIOITEMS</code></span></p></td>
<td>Radio item group.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-UI-SUBTREE:CAPS"></a><span class="term"><code class="literal">GNOME_APP_UI_SUBTREE</code></span></p></td>
<td>Item that defines a subtree/submenu.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-UI-SEPARATOR:CAPS"></a><span class="term"><code class="literal">GNOME_APP_UI_SEPARATOR</code></span></p></td>
<td>Separator line (menus) or blank space (toolbars).
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-UI-HELP:CAPS"></a><span class="term"><code class="literal">GNOME_APP_UI_HELP</code></span></p></td>
<td>Create a list of help topics, used in the Help menu.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-UI-BUILDER-DATA:CAPS"></a><span class="term"><code class="literal">GNOME_APP_UI_BUILDER_DATA</code></span></p></td>
<td>Specifies the builder data for the following
entries, see code for further info.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-UI-ITEM-CONFIGURABLE:CAPS"></a><span class="term"><code class="literal">GNOME_APP_UI_ITEM_CONFIGURABLE</code></span></p></td>
<td>A configurable menu item.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-UI-SUBTREE-STOCK:CAPS"></a><span class="term"><code class="literal">GNOME_APP_UI_SUBTREE_STOCK</code></span></p></td>
<td>Item that defines a subtree/submenu, same as
<a class="link" href="libgnomeui-gnome-app-helper.html#GNOME-APP-UI-SUBTREE:CAPS"><span class="type">GNOME_APP_UI_SUBTREE</span></a>, but the texts should be looked up in the libgnome
catalog.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-UI-INCLUDE:CAPS"></a><span class="term"><code class="literal">GNOME_APP_UI_INCLUDE</code></span></p></td>
<td>Almost like <em class="parameter"><code>GNOME_APP_UI_SUBTREE</code></em>, but inserts items
into the current menu or whatever, instead of making a submenu.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GnomeUIInfoConfigurableTypes"></a><h3>enum GnomeUIInfoConfigurableTypes</h3>
<pre class="programlisting">typedef enum {
        /* 0 */
        GNOME_APP_CONFIGURABLE_ITEM_NEW,
        GNOME_APP_CONFIGURABLE_ITEM_OPEN,
        GNOME_APP_CONFIGURABLE_ITEM_SAVE,
        GNOME_APP_CONFIGURABLE_ITEM_SAVE_AS,
        GNOME_APP_CONFIGURABLE_ITEM_REVERT,
        GNOME_APP_CONFIGURABLE_ITEM_PRINT,
        GNOME_APP_CONFIGURABLE_ITEM_PRINT_SETUP,
        GNOME_APP_CONFIGURABLE_ITEM_CLOSE,
        GNOME_APP_CONFIGURABLE_ITEM_QUIT,
        GNOME_APP_CONFIGURABLE_ITEM_CUT,
	/* 10 */
        GNOME_APP_CONFIGURABLE_ITEM_COPY,
        GNOME_APP_CONFIGURABLE_ITEM_PASTE,
        GNOME_APP_CONFIGURABLE_ITEM_CLEAR,
        GNOME_APP_CONFIGURABLE_ITEM_UNDO,
        GNOME_APP_CONFIGURABLE_ITEM_REDO,
        GNOME_APP_CONFIGURABLE_ITEM_FIND,
        GNOME_APP_CONFIGURABLE_ITEM_FIND_AGAIN,
        GNOME_APP_CONFIGURABLE_ITEM_REPLACE,
        GNOME_APP_CONFIGURABLE_ITEM_PROPERTIES,
        GNOME_APP_CONFIGURABLE_ITEM_PREFERENCES,
	/* 20 */
        GNOME_APP_CONFIGURABLE_ITEM_ABOUT,
	GNOME_APP_CONFIGURABLE_ITEM_SELECT_ALL,
	GNOME_APP_CONFIGURABLE_ITEM_NEW_WINDOW,
	GNOME_APP_CONFIGURABLE_ITEM_CLOSE_WINDOW,
	GNOME_APP_CONFIGURABLE_ITEM_NEW_GAME,
	GNOME_APP_CONFIGURABLE_ITEM_PAUSE_GAME,
	GNOME_APP_CONFIGURABLE_ITEM_RESTART_GAME,
	GNOME_APP_CONFIGURABLE_ITEM_UNDO_MOVE,
	GNOME_APP_CONFIGURABLE_ITEM_REDO_MOVE,
	GNOME_APP_CONFIGURABLE_ITEM_HINT,
	/* 30 */
	GNOME_APP_CONFIGURABLE_ITEM_SCORES,
	GNOME_APP_CONFIGURABLE_ITEM_END_GAME
} GnomeUIInfoConfigurableTypes;
</pre>
<p>
A user can redefine the accelerator keys for each menu item (if the
application supports this). This enum gives an identifier for each menu
shortcut that can possible be redefined. If an application is not using one
of these accelerators, then no shortcut redefinition is possible unless the
application specifically implements it (moral: use standard menu items).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GNOME-APP-CONFIGURABLE-ITEM-NEW:CAPS"></a><span class="term"><code class="literal">GNOME_APP_CONFIGURABLE_ITEM_NEW</code></span></p></td>
<td>The "New" menu.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-CONFIGURABLE-ITEM-OPEN:CAPS"></a><span class="term"><code class="literal">GNOME_APP_CONFIGURABLE_ITEM_OPEN</code></span></p></td>
<td>The "Open" menu.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-CONFIGURABLE-ITEM-SAVE:CAPS"></a><span class="term"><code class="literal">GNOME_APP_CONFIGURABLE_ITEM_SAVE</code></span></p></td>
<td>The "Save" menu.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-CONFIGURABLE-ITEM-SAVE-AS:CAPS"></a><span class="term"><code class="literal">GNOME_APP_CONFIGURABLE_ITEM_SAVE_AS</code></span></p></td>
<td>The "Save as..." menu.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-CONFIGURABLE-ITEM-REVERT:CAPS"></a><span class="term"><code class="literal">GNOME_APP_CONFIGURABLE_ITEM_REVERT</code></span></p></td>
<td>The "Revert" menu.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-CONFIGURABLE-ITEM-PRINT:CAPS"></a><span class="term"><code class="literal">GNOME_APP_CONFIGURABLE_ITEM_PRINT</code></span></p></td>
<td>The "Print" menu.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-CONFIGURABLE-ITEM-PRINT-SETUP:CAPS"></a><span class="term"><code class="literal">GNOME_APP_CONFIGURABLE_ITEM_PRINT_SETUP</code></span></p></td>
<td>The "Print setup..." menu.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-CONFIGURABLE-ITEM-CLOSE:CAPS"></a><span class="term"><code class="literal">GNOME_APP_CONFIGURABLE_ITEM_CLOSE</code></span></p></td>
<td>The "Close" menu.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-CONFIGURABLE-ITEM-QUIT:CAPS"></a><span class="term"><code class="literal">GNOME_APP_CONFIGURABLE_ITEM_QUIT</code></span></p></td>
<td>The "Quit" menu.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-CONFIGURABLE-ITEM-CUT:CAPS"></a><span class="term"><code class="literal">GNOME_APP_CONFIGURABLE_ITEM_CUT</code></span></p></td>
<td>The "Cut" menu.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-CONFIGURABLE-ITEM-COPY:CAPS"></a><span class="term"><code class="literal">GNOME_APP_CONFIGURABLE_ITEM_COPY</code></span></p></td>
<td>The "Copy" menu.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-CONFIGURABLE-ITEM-PASTE:CAPS"></a><span class="term"><code class="literal">GNOME_APP_CONFIGURABLE_ITEM_PASTE</code></span></p></td>
<td>The "Paste" menu.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-CONFIGURABLE-ITEM-CLEAR:CAPS"></a><span class="term"><code class="literal">GNOME_APP_CONFIGURABLE_ITEM_CLEAR</code></span></p></td>
<td>The "Clear" menu.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-CONFIGURABLE-ITEM-UNDO:CAPS"></a><span class="term"><code class="literal">GNOME_APP_CONFIGURABLE_ITEM_UNDO</code></span></p></td>
<td>The "Undo" menu.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-CONFIGURABLE-ITEM-REDO:CAPS"></a><span class="term"><code class="literal">GNOME_APP_CONFIGURABLE_ITEM_REDO</code></span></p></td>
<td>The "Redo" menu.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-CONFIGURABLE-ITEM-FIND:CAPS"></a><span class="term"><code class="literal">GNOME_APP_CONFIGURABLE_ITEM_FIND</code></span></p></td>
<td>The "Find..." menu.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-CONFIGURABLE-ITEM-FIND-AGAIN:CAPS"></a><span class="term"><code class="literal">GNOME_APP_CONFIGURABLE_ITEM_FIND_AGAIN</code></span></p></td>
<td>The "Find again" menu.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-CONFIGURABLE-ITEM-REPLACE:CAPS"></a><span class="term"><code class="literal">GNOME_APP_CONFIGURABLE_ITEM_REPLACE</code></span></p></td>
<td>The "Replace..." menu.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-CONFIGURABLE-ITEM-PROPERTIES:CAPS"></a><span class="term"><code class="literal">GNOME_APP_CONFIGURABLE_ITEM_PROPERTIES</code></span></p></td>
<td>The "Properties..." menu.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-CONFIGURABLE-ITEM-PREFERENCES:CAPS"></a><span class="term"><code class="literal">GNOME_APP_CONFIGURABLE_ITEM_PREFERENCES</code></span></p></td>
<td>The "Preferences..." menu.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-CONFIGURABLE-ITEM-ABOUT:CAPS"></a><span class="term"><code class="literal">GNOME_APP_CONFIGURABLE_ITEM_ABOUT</code></span></p></td>
<td>The "About..." menu.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-CONFIGURABLE-ITEM-SELECT-ALL:CAPS"></a><span class="term"><code class="literal">GNOME_APP_CONFIGURABLE_ITEM_SELECT_ALL</code></span></p></td>
<td>The "Select all" menu.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-CONFIGURABLE-ITEM-NEW-WINDOW:CAPS"></a><span class="term"><code class="literal">GNOME_APP_CONFIGURABLE_ITEM_NEW_WINDOW</code></span></p></td>
<td>The "New window" menu.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-CONFIGURABLE-ITEM-CLOSE-WINDOW:CAPS"></a><span class="term"><code class="literal">GNOME_APP_CONFIGURABLE_ITEM_CLOSE_WINDOW</code></span></p></td>
<td>The "Close window" menu.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-CONFIGURABLE-ITEM-NEW-GAME:CAPS"></a><span class="term"><code class="literal">GNOME_APP_CONFIGURABLE_ITEM_NEW_GAME</code></span></p></td>
<td>The "New game" menu.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-CONFIGURABLE-ITEM-PAUSE-GAME:CAPS"></a><span class="term"><code class="literal">GNOME_APP_CONFIGURABLE_ITEM_PAUSE_GAME</code></span></p></td>
<td>The "Pause game" menu.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-CONFIGURABLE-ITEM-RESTART-GAME:CAPS"></a><span class="term"><code class="literal">GNOME_APP_CONFIGURABLE_ITEM_RESTART_GAME</code></span></p></td>
<td>The "Restart game" menu.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-CONFIGURABLE-ITEM-UNDO-MOVE:CAPS"></a><span class="term"><code class="literal">GNOME_APP_CONFIGURABLE_ITEM_UNDO_MOVE</code></span></p></td>
<td>The "Undo move" menu.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-CONFIGURABLE-ITEM-REDO-MOVE:CAPS"></a><span class="term"><code class="literal">GNOME_APP_CONFIGURABLE_ITEM_REDO_MOVE</code></span></p></td>
<td>The "Redo move" menu.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-CONFIGURABLE-ITEM-HINT:CAPS"></a><span class="term"><code class="literal">GNOME_APP_CONFIGURABLE_ITEM_HINT</code></span></p></td>
<td>The "Hint" menu.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-CONFIGURABLE-ITEM-SCORES:CAPS"></a><span class="term"><code class="literal">GNOME_APP_CONFIGURABLE_ITEM_SCORES</code></span></p></td>
<td>The "Scores..." menu.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-CONFIGURABLE-ITEM-END-GAME:CAPS"></a><span class="term"><code class="literal">GNOME_APP_CONFIGURABLE_ITEM_END_GAME</code></span></p></td>
<td>The "End game" menu.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOME-APP-CONFIGURABLE-ITEM-EXIT:CAPS"></a><h3>GNOME_APP_CONFIGURABLE_ITEM_EXIT</h3>
<pre class="programlisting">#define GNOME_APP_CONFIGURABLE_ITEM_EXIT GNOME_APP_CONFIGURABLE_ITEM_QUIT
</pre>
<p>
The <code class="literal">EXIT</code> and <code class="literal">QUIT</code> commands are synonyms
(they were used interchangably and inconsistently in GNOME 1). This define
just makes this the case for configurable menu items as well. Note, however,
that in GNOME 2, the use of <span class="emphasis"><em>exit</em></span> is deprecated and all new
applications should use the word <span class="emphasis"><em>quit</em></span> whenever termination
of an application is being discussed.
</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeUIPixmapType"></a><h3>enum GnomeUIPixmapType</h3>
<pre class="programlisting">typedef enum {
	GNOME_APP_PIXMAP_NONE,
	GNOME_APP_PIXMAP_STOCK,
	GNOME_APP_PIXMAP_DATA,
	GNOME_APP_PIXMAP_FILENAME
} GnomeUIPixmapType;
</pre>
<p>
These values identify the type of pixmap used in an item.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GNOME-APP-PIXMAP-NONE:CAPS"></a><span class="term"><code class="literal">GNOME_APP_PIXMAP_NONE</code></span></p></td>
<td>No pixmap specified.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-PIXMAP-STOCK:CAPS"></a><span class="term"><code class="literal">GNOME_APP_PIXMAP_STOCK</code></span></p></td>
<td>Use a stock pixmap (<span class="type">GnomeStock</span>).
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-PIXMAP-DATA:CAPS"></a><span class="term"><code class="literal">GNOME_APP_PIXMAP_DATA</code></span></p></td>
<td>Use a pixmap from inline xpm data.
</td>
</tr>
<tr>
<td><p><a name="GNOME-APP-PIXMAP-FILENAME:CAPS"></a><span class="term"><code class="literal">GNOME_APP_PIXMAP_FILENAME</code></span></p></td>
<td>Use a pixmap from the specified filename.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GnomeUIInfo"></a><h3>GnomeUIInfo</h3>
<pre class="programlisting">typedef struct {
	GnomeUIInfoType type;		/* Type of item */
	gchar const *label;		/* String to use in item's label */
	gchar const *hint;		/* Tooltip for toolbar items, status 
					   bar message for menu items. */
	gpointer moreinfo;		/* Extra information; depends on the
					   type. */
	gpointer user_data;		/* User data sent to the callback. */
	gpointer unused_data;		/* Should be NULL (reserved). */
	GnomeUIPixmapType pixmap_type; /* Type of pixmap for this item. */
	gconstpointer pixmap_info; /* Pointer to pixmap information. */
	guint accelerator_key;		/* Accelerator key, or 0 for none. */
	GdkModifierType ac_mods; /* Mask of modifier keys for the 
					   accelerator. */
	GtkWidget *widget;		/* Filled in by the gnome_app_create* 
					   functions. */
} GnomeUIInfo;
</pre>
<p>
This is the structure that defines an item in a menu bar or toolbar.  The
idea is to create an array of such structures with the information needed
to create menus or toolbars. The most convenient way to create such a
structure is to use the GNOMEUIINFO_* macros provided below.
</p>
<p>
The <em class="parameter"><code>moreinfo</code></em> parameter contents depend on the <em class="parameter"><code>type</code></em>. For 'item',
'toggleitem' and 'radioitem' types, this is a pointer to the function to
call when the item is activated. For 'subtrees', it is a pointer to another
array of <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structures. For 'radioitem lead' entry, it is a
pointer to an array of <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structures for the radio item group. For
a 'help' item, it specifies the help node to load (i.e. the application's
identifier) or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for the main program's name. For 'builder data',
<em class="parameter"><code>moreinfo</code></em> points to the <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIBuilderData" title="struct GnomeUIBuilderData"><span class="type">GnomeUIBuilderData</span></a> structure for the subsequent
items.
</p>
<p>
The contents of the <em class="parameter"><code>pixmap_info</code></em> depend upon the value of <em class="parameter"><code>pixmap_type</code></em>. If
<em class="parameter"><code>pixmap_type</code></em> is <em class="parameter"><code>GNOME_APP_PIXMAP_STOCK</code></em>, then <em class="parameter"><code>pixmap_info</code></em> is a pointer to a
stock icon name. For <a class="link" href="libgnomeui-gnome-app-helper.html#GNOME-APP-PIXMAP-DATA:CAPS"><span class="type">GNOME_APP_PIXMAP_DATA</span></a> pixmaps, <em class="parameter"><code>pixmap_info</code></em> is a
pointer to inline xpm data. For <a class="link" href="libgnomeui-gnome-app-helper.html#GNOME-APP-PIXMAP-FILENAME:CAPS"><span class="type">GNOME_APP_PIXMAP_FILENAME</span></a> pixmaps, it is a
pointer to the filename string.
</p>
<p>
When <em class="parameter"><code>type</code></em> is <a class="link" href="libgnomeui-gnome-app-helper.html#GNOME-APP-UI-ITEM-CONFIGURABLE:CAPS"><span class="type">GNOME_APP_UI_ITEM_CONFIGURABLE</span></a>, <em class="parameter"><code>accelerator_key</code></em> is
overloaded to be the name of the configurable pixmap (an element from the
<a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfoConfigurableTypes" title="enum GnomeUIInfoConfigurableTypes"><span class="type">GnomeUIInfoConfigurableTypes</span></a> enum). In this case <em class="parameter"><code>ac_mods</code></em> should be 0.
</p>
<p>
The <em class="parameter"><code>widget</code></em> field in the <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure is filled in by the creation
function. It can be used to tweak the widgets once they have been created if
the application requires that level of fine-grained control.
</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeUIBuilderData"></a><h3>struct GnomeUIBuilderData</h3>
<pre class="programlisting">struct GnomeUIBuilderData {
	GnomeUISignalConnectFunc connect_func;
	gpointer data;
	gboolean is_interp;
	GtkCallbackMarshal relay_func;
	GDestroyNotify destroy_func;
};
</pre>
<p>
This structure defines how the relevant menu items are to have their signals
connected. This includes the activations signals, as well as the destroy
notifications. The affected menu items are either the items following aA
<a class="link" href="libgnomeui-gnome-app-helper.html#GNOME-APP-UI-BUILDER-DATA:CAPS"><span class="type">GNOME_APP_UI_BUILDER_DATA</span></a> item in an array of <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structures or
all   of the menu items that are connected as a result of a call to
<code class="function">gnome_app_create_menu_custom()</code> and similar functions.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUISignalConnectFunc" title="GnomeUISignalConnectFunc ()"><span class="type">GnomeUISignalConnectFunc</span></a> <em class="structfield"><code><a name="GnomeUIBuilderData.connect-func"></a>connect_func</code></em>;</span></p></td>
<td>Function that connects to the item's signals.</td>
</tr>
<tr>
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> <em class="structfield"><code><a name="GnomeUIBuilderData.data"></a>data</code></em>;</span></p></td>
<td>User data pointer for the signal callback.</td>
</tr>
<tr>
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> <em class="structfield"><code><a name="GnomeUIBuilderData.is-interp"></a>is_interp</code></em>;</span></p></td>
<td>If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the signal should be connected with
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#g-signal-connect-closure-by-id"><code class="function">g_signal_connect_closure_by_id()</code></a>, otherwise, <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#g-signal-connect"><code class="function">g_signal_connect()</code></a> is used.</td>
</tr>
<tr>
<td><p><span class="term"><a href="http://library.gnome.org/devel/gtk/unstable/gtk-Types.html#GtkCallbackMarshal"><span class="type">GtkCallbackMarshal</span></a> <em class="structfield"><code><a name="GnomeUIBuilderData.relay-func"></a>relay_func</code></em>;</span></p></td>
<td>Marshaller function for language bindings.</td>
</tr>
<tr>
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> <em class="structfield"><code><a name="GnomeUIBuilderData.destroy-func"></a>destroy_func</code></em>;</span></p></td>
<td>Destroy notification function for language bindings.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-KEY-UIDATA:CAPS"></a><h3>GNOMEUIINFO_KEY_UIDATA</h3>
<pre class="programlisting">#define GNOMEUIINFO_KEY_UIDATA		"uidata"
</pre>
<p>
The <code class="literal">widget</code> element in a <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure will have
this parameter set to the user data that was given in the <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> instance.
</p>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-KEY-UIBDATA:CAPS"></a><h3>GNOMEUIINFO_KEY_UIBDATA</h3>
<pre class="programlisting">#define GNOMEUIINFO_KEY_UIBDATA		"uibdata"
</pre>
<p>
The <code class="literal">widget</code> element in a <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure will have
this parameter set to the user data that was given in the relevant
<a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIBuilderData" title="struct GnomeUIBuilderData"><span class="type">GnomeUIBuilderData</span></a> structure that was applicable at the time of construction
of the widget.
</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeUISignalConnectFunc"></a><h3>GnomeUISignalConnectFunc ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                (*GnomeUISignalConnectFunc)         (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *signal_name</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIBuilderData" title="struct GnomeUIBuilderData"><span class="type">GnomeUIBuilderData</span></a> *uibdata</code></em>);</pre>
<p>
The template for functions that are called as a result of signals being emitted
from a menu or tool bar item. Fnuctions of this type are given as the first
element of a <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIBuilderData" title="struct GnomeUIBuilderData"><span class="type">GnomeUIBuilderData</span></a> instance.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>uiinfo</code></em> :</span></p></td>
<td>The user data that was part of the <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> instance.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>signal_name</code></em> :</span></p></td>
<td>The name of the emitted signal.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uibdata</code></em> :</span></p></td>
<td>The user data that was part of the relevant <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIBuilderData" title="struct GnomeUIBuilderData"><span class="type">GnomeUIBuilderData</span></a>
instance.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-accelerators-sync"></a><h3>gnome_accelerators_sync ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_accelerators_sync             (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Flush the accelerator definitions into the application specific
configuration file $HOME/.gnome2/accels/&lt;app-id&gt;.
</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-fill-menu"></a><h3>gnome_app_fill_menu ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_app_fill_menu                 (<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkMenuShell.html"><span class="type">GtkMenuShell</span></a> *menu_shell</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> *accel_group</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> uline_accels</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> pos</code></em>);</pre>
<p>
Fills the specified <em class="parameter"><code>menu_shell</code></em> with items created from the specified
<em class="parameter"><code>uiinfo</code></em>, inserting them from the item number <em class="parameter"><code>pos</code></em> on.  The <em class="parameter"><code>accel_</code></em> group
will be used as the accel group for all newly created sub menus and serves
as the global accel group for all menu item hotkeys. If it is passed as
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, global hotkeys will be disabled.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>menu_shell</code></em> :</span></p></td>
<td>A <a href="http://library.gnome.org/devel/gtk/unstable/GtkMenuShell.html"><span class="type">GtkMenuShell</span></a> instance (a menu bar).</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uiinfo</code></em> :</span></p></td>
<td>A pointer to the first element in an array of <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a>
structures. The last element of the array should have a type of
<a class="link" href="libgnomeui-gnome-app-helper.html#GNOME-APP-UI-ENDOFINFO:CAPS"><span class="type">GNOME_APP_UI_ENDOFINFO</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>accel_group</code></em> :</span></p></td>
<td>A <a href="http://library.gnome.org/devel/gtk/unstable/gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uline_accels</code></em> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if underline accelerators will be drawn for the menu
item labels.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>pos</code></em> :</span></p></td>
<td>The position in the menu bar at which to start inserting items.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-fill-menu-with-data"></a><h3>gnome_app_fill_menu_with_data ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_app_fill_menu_with_data       (<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkMenuShell.html"><span class="type">GtkMenuShell</span></a> *menu_shell</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> *accel_group</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> uline_accels</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> pos</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>
This is the same as <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-fill-menu" title="gnome_app_fill_menu ()"><code class="function">gnome_app_fill_menu()</code></a>, except that all the user data
pointers are filled with the value of <em class="parameter"><code>user_data</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>menu_shell</code></em> :</span></p></td>
<td>A <a href="http://library.gnome.org/devel/gtk/unstable/GtkMenuShell.html"><span class="type">GtkMenuShell</span></a> instance (a menu bar).</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uiinfo</code></em> :</span></p></td>
<td>A pointer to the first element in an array of <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a>
structures. The last element of the array should have a type of
<a class="link" href="libgnomeui-gnome-app-helper.html#GNOME-APP-UI-ENDOFINFO:CAPS"><span class="type">GNOME_APP_UI_ENDOFINFO</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>accel_group</code></em> :</span></p></td>
<td>A <a href="http://library.gnome.org/devel/gtk/unstable/gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uline_accels</code></em> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if underline accelerators will be drawn for the menu
item labels.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>pos</code></em> :</span></p></td>
<td>The position in the menu bar at which to start inserting items.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>Some application-specific data.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-fill-menu-custom"></a><h3>gnome_app_fill_menu_custom ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_app_fill_menu_custom          (<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkMenuShell.html"><span class="type">GtkMenuShell</span></a> *menu_shell</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIBuilderData" title="struct GnomeUIBuilderData"><span class="type">GnomeUIBuilderData</span></a> *uibdata</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> *accel_group</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> uline_accels</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> pos</code></em>);</pre>
<p>
Fills the specified menu shell with items created from the specified
<em class="parameter"><code>uiinfo</code></em>, inserting them from item number <em class="parameter"><code>pos</code></em> on and using the specified
builder data (<em class="parameter"><code>uibdata</code></em>) -- this is intended for language bindings. 
</p>
<p>
The other parameters have the same meaning as in <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-fill-menu" title="gnome_app_fill_menu ()"><code class="function">gnome_app_fill_menu()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>menu_shell</code></em> :</span></p></td>
<td>A <a href="http://library.gnome.org/devel/gtk/unstable/GtkMenuShell.html"><span class="type">GtkMenuShell</span></a> instance (a menu bar).</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uiinfo</code></em> :</span></p></td>
<td>A pointer to the first element in an array of <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a>
structures. The last element of the array should have a type of
<a class="link" href="libgnomeui-gnome-app-helper.html#GNOME-APP-UI-ENDOFINFO:CAPS"><span class="type">GNOME_APP_UI_ENDOFINFO</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uibdata</code></em> :</span></p></td>
<td>A <span class="type">GnomeUIInfoBuilderData</span> instance.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>accel_group</code></em> :</span></p></td>
<td>A <a href="http://library.gnome.org/devel/gtk/unstable/gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uline_accels</code></em> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if underline accelerators will be drawn for the menu
item labels.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>pos</code></em> :</span></p></td>
<td>The position in the menu bar at which to start inserting items.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-ui-configure-configurable"></a><h3>gnome_app_ui_configure_configurable ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_app_ui_configure_configurable (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>);</pre>
<p>
Configure all user-configurable elements in the given UI info
structure.  This includes loading and setting previously-set options from
GNOME config files.
</p>
<p>
Normally, <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-create-menus" title="gnome_app_create_menus ()"><code class="function">gnome_app_create_menus()</code></a> calls this function for the developer,
but if something needs to be altered afterwards, this function can be called
first. The main reason for this function being a public interface is so that
it can be called from <a class="link" href="libgnomeui-gnome-popup-menu.html#gnome-popup-menu-new" title="gnome_popup_menu_new ()"><code class="function">gnome_popup_menu_new()</code></a>, which clears a copy of the
pass in <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structures.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>uiinfo</code></em> :</span></p></td>
<td>Pointer to GNOME UI menu/toolbar info</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-create-menus"></a><h3>gnome_app_create_menus ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_app_create_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 class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>);</pre>
<p>
Constructs a menu bar and attaches it to the specified 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 representing the current application.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uiinfo</code></em> :</span></p></td>
<td>The first in an array <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> instances containing the menu
data.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-create-menus-interp"></a><h3>gnome_app_create_menus_interp ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_app_create_menus_interp       (<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 class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-Types.html#GtkCallbackMarshal"><span class="type">GtkCallbackMarshal</span></a> relay_func</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy_func</code></em>);</pre>
<p>
Identical to <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-create-menus" title="gnome_app_create_menus ()"><code class="function">gnome_app_create_menus()</code></a>, except that extra functions and data
can be passed in for finer control of the destruction and marshalling.
</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, representing the current application.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uiinfo</code></em> :</span></p></td>
<td>The first item in an array of <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structures describing
the menu bar.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>relay_func</code></em> :</span></p></td>
<td>A marshaller for the signal callbacks.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>Application specific data passed to the signal callback functions.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>destroy_func</code></em> :</span></p></td>
<td>The function to call when the menu bar is destroyed.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-create-menus-with-data"></a><h3>gnome_app_create_menus_with_data ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_app_create_menus_with_data    (<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 class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>
Identical to <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-create-menus" title="gnome_app_create_menus ()"><code class="function">gnome_app_create_menus()</code></a>, except that <em class="parameter"><code>user_data</code></em> is passed to
all the callback functions when signals are emitted.
</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 representing the current application.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uiinfo</code></em> :</span></p></td>
<td>The first in an array <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> instances containing the menu
data.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>Application-specific data that is passed to every callback
function.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-create-menus-custom"></a><h3>gnome_app_create_menus_custom ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_app_create_menus_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 class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIBuilderData" title="struct GnomeUIBuilderData"><span class="type">GnomeUIBuilderData</span></a> *uibdata</code></em>);</pre>
<p>
Identical to <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-create-menus" title="gnome_app_create_menus ()"><code class="function">gnome_app_create_menus()</code></a>, except that <em class="parameter"><code>uibdata</code></em> is also
specified for creating the signal handlers. Mostly for use by language
bindings.
</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 representing the current application.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uiinfo</code></em> :</span></p></td>
<td>The first in an array <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> instances containing the menu
data.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uibdata</code></em> :</span></p></td>
<td>An appropriate <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIBuilderData" title="struct GnomeUIBuilderData"><span class="type">GnomeUIBuilderData</span></a> instance.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-fill-toolbar"></a><h3>gnome_app_fill_toolbar ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_app_fill_toolbar              (<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><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> *accel_group</code></em>);</pre>
<p>
Fills <em class="parameter"><code>toolbar</code></em> with buttons specified in <em class="parameter"><code>uiinfo</code></em>. If <em class="parameter"><code>accel_group</code></em> is not
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the items' accelrator keys are put into it.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>toolbar</code></em> :</span></p></td>
<td>A <a href="http://library.gnome.org/devel/gtk/unstable/GtkToolbar.html"><span class="type">GtkToolbar</span></a> instance.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uiinfo</code></em> :</span></p></td>
<td>An array of <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structures containing the items for the
toolbar.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>accel_group</code></em> :</span></p></td>
<td>A <a href="http://library.gnome.org/devel/gtk/unstable/gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> for holding the accelerator keys of the items
(or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>).</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-fill-toolbar-with-data"></a><h3>gnome_app_fill_toolbar_with_data ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_app_fill_toolbar_with_data    (<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><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> *accel_group</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>
The same as <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-fill-toolbar" title="gnome_app_fill_toolbar ()"><code class="function">gnome_app_fill_toolbar()</code></a>, except that the user data pointers in
the signal handlers are set to <em class="parameter"><code>user_data</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>toolbar</code></em> :</span></p></td>
<td>A <a href="http://library.gnome.org/devel/gtk/unstable/GtkToolbar.html"><span class="type">GtkToolbar</span></a> instance.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uiinfo</code></em> :</span></p></td>
<td>An array of <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structures containing the items for the
toolbar.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>accel_group</code></em> :</span></p></td>
<td>A <a href="http://library.gnome.org/devel/gtk/unstable/gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> for holding the accelerator keys of the items
(or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>).</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>Application specific data.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-fill-toolbar-custom"></a><h3>gnome_app_fill_toolbar_custom ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_app_fill_toolbar_custom       (<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><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIBuilderData" title="struct GnomeUIBuilderData"><span class="type">GnomeUIBuilderData</span></a> *uibdata</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> *accel_group</code></em>);</pre>
<p>
The same as <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-fill-toolbar" title="gnome_app_fill_toolbar ()"><code class="function">gnome_app_fill_toolbar()</code></a>, except that the sepcified <em class="parameter"><code>uibdata</code></em>
instance is used. This is mostly for the benefit of language bindings.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>toolbar</code></em> :</span></p></td>
<td>A <a href="http://library.gnome.org/devel/gtk/unstable/GtkToolbar.html"><span class="type">GtkToolbar</span></a> instance.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uiinfo</code></em> :</span></p></td>
<td>An array of <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structures containing the items for the
toolbar.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uibdata</code></em> :</span></p></td>
<td>The <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIBuilderData" title="struct GnomeUIBuilderData"><span class="type">GnomeUIBuilderData</span></a> data for the toolbar.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>accel_group</code></em> :</span></p></td>
<td>A <a href="http://library.gnome.org/devel/gtk/unstable/gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> for holding the accelerator keys of the items
(or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>).</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-create-toolbar"></a><h3>gnome_app_create_toolbar ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_app_create_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 class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>);</pre>
<p>
Constructs a toolbar and attaches it to the specified 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>uiinfo</code></em> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> array specifying the contents of the toolbar.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-create-toolbar-interp"></a><h3>gnome_app_create_toolbar_interp ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_app_create_toolbar_interp     (<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 class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-Types.html#GtkCallbackMarshal"><span class="type">GtkCallbackMarshal</span></a> relay_func</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy_func</code></em>);</pre>
<p>
Constructs a toolbar and attaches it to the specified application
window -- this version is intended for language bindings.
</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>uiinfo</code></em> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> array specifying the contents of the toolbar.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>relay_func</code></em> :</span></p></td>
<td>Argument marshalling function.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>Application specific data to pass to signal callbacks.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>destroy_func</code></em> :</span></p></td>
<td>The function to call when the toolbar is destroyed.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-create-toolbar-with-data"></a><h3>gnome_app_create_toolbar_with_data ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_app_create_toolbar_with_data  (<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 class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>
Constructs a toolbar, sets all the user data pointers to
<em class="parameter"><code>user_data</code></em>, and attaches it to <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>uiinfo</code></em> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> array specifying the contents of the toolbar.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>Application specific data to be sent to each signal callback
function.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-create-toolbar-custom"></a><h3>gnome_app_create_toolbar_custom ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_app_create_toolbar_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 class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIBuilderData" title="struct GnomeUIBuilderData"><span class="type">GnomeUIBuilderData</span></a> *uibdata</code></em>);</pre>
<p>
Constructs a toolbar and attaches it to the <em class="parameter"><code>app</code></em> window,
using <em class="parameter"><code>uibdata</code></em> builder data -- intended for language bindings.
</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>uiinfo</code></em> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> array specifying the contents of the toolbar.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uibdata</code></em> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIBuilderData" title="struct GnomeUIBuilderData"><span class="type">GnomeUIBuilderData</span></a> instance specifying the handlers to use for
the toolbar.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-find-menu-pos"></a><h3>gnome_app_find_menu_pos ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         gnome_app_find_menu_pos             (<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a> *parent</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *pos</code></em>);</pre>
<p>
Finds a menu item described by path starting in the <a href="http://library.gnome.org/devel/gtk/unstable/GtkMenuShell.html"><span class="type">GtkMenuShell</span></a> top and
returns its parent <a href="http://library.gnome.org/devel/gtk/unstable/GtkMenuShell.html"><span class="type">GtkMenuShell</span></a> and the position after this item in <em class="parameter"><code>pos</code></em>.
The meaning of <em class="parameter"><code>pos</code></em> is that a subsequent call to gtk_menu_shell_insert(p, w,
pos) would then insert widget w in GtkMenuShell p right after the menu item
described by path.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
<td>Root menu shell widget containing menu items to be searched.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
<td>Specifies the target menu item by menu path.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>pos</code></em> :</span></p></td>
<td>Used to hold the returned menu items' position.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The parent menu shell of <em class="parameter"><code>path</code></em>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-remove-menus"></a><h3>gnome_app_remove_menus ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_app_remove_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>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> items</code></em>);</pre>
<p>
Removes <em class="parameter"><code>items</code></em> items from the existing <em class="parameter"><code>app</code></em>'s menu structure,
beginning with item described by <em class="parameter"><code>path</code></em>.
</p>
<p>
The <em class="parameter"><code>path</code></em> argument should be in the form "File/.../.../Something". "" will
insert the item as the first one in the menubar, "File/" will insert it as
the first one in the File menu, "File/Settings" will insert it after the
Setting item in the File menu use of "File/&lt;Separator&gt;" should be obvious.
However, the use of "&lt;Separator&gt;" stops after the first separator.
</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>path</code></em> :</span></p></td>
<td>A path to the menu item concerned.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>items</code></em> :</span></p></td>
<td>The number of items to remove.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-remove-menu-range"></a><h3>gnome_app_remove_menu_range ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_app_remove_menu_range         (<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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> start</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> items</code></em>);</pre>
<p>
Same as the <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-remove-menus" title="gnome_app_remove_menus ()"><code class="function">gnome_app_remove_menus()</code></a>, except it removes the specified number
of <em class="parameter"><code>items</code></em> from the existing <em class="parameter"><code>app</code></em>'s menu structure begining with item
described by (<em class="parameter"><code>path</code></em> plus <em class="parameter"><code>start</code></em>). This is very useful for adding and
removing Recent document items in the File menu.
</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>path</code></em> :</span></p></td>
<td>A path to the menu item concerned.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>start</code></em> :</span></p></td>
<td>An offset beyond the start of <em class="parameter"><code>path</code></em> at which to begin removing.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>items</code></em> :</span></p></td>
<td>The number of items to remove.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-insert-menus-custom"></a><h3>gnome_app_insert_menus_custom ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_app_insert_menus_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>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIBuilderData" title="struct GnomeUIBuilderData"><span class="type">GnomeUIBuilderData</span></a> *uibdata</code></em>);</pre>
<p>
Inserts menus described by <em class="parameter"><code>uiinfo</code></em> in existing <em class="parameter"><code>app</code></em>'s menu
structure right after the item described by <em class="parameter"><code>path</code></em>. The <em class="parameter"><code>uibdata</code></em> parameter
makes this, again, most useful for language bindings.
</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>path</code></em> :</span></p></td>
<td>A path to the menu item concerned.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uiinfo</code></em> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> array describing the menus.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uibdata</code></em> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIBuilderData" title="struct GnomeUIBuilderData"><span class="type">GnomeUIBuilderData</span></a> instance describing the functions to attach
as the menu's callbacks.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-insert-menus"></a><h3>gnome_app_insert_menus ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_app_insert_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>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *menuinfo</code></em>);</pre>
<p>
Insert the menus given by <em class="parameter"><code>menuinfo</code></em> beginning at <em class="parameter"><code>path</code></em> into the pre-existing
<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>path</code></em> :</span></p></td>
<td>A path to the menu item concerned.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>menuinfo</code></em> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> array describing the menus.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-insert-menus-with-data"></a><h3>gnome_app_insert_menus_with_data ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_app_insert_menus_with_data    (<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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *menuinfo</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
<p>
This is the same as <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-insert-menus" title="gnome_app_insert_menus ()"><code class="function">gnome_app_insert_menus()</code></a>, except that the specified
<em class="parameter"><code>data</code></em> is passed to each signal callback.
</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>path</code></em> :</span></p></td>
<td>A path to the menu item concerned.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>menuinfo</code></em> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> array describing the menus.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>Application specific data to send to each signal callback.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-insert-menus-interp"></a><h3>gnome_app_insert_menus_interp ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_app_insert_menus_interp       (<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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *menuinfo</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-Types.html#GtkCallbackMarshal"><span class="type">GtkCallbackMarshal</span></a> relay_func</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy_func</code></em>);</pre>
<p>
THe same as <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-insert-menus" title="gnome_app_insert_menus ()"><code class="function">gnome_app_insert_menus()</code></a>, except that the given functions are
attached to each menu item. Mostly of use for language bindings.
</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>path</code></em> :</span></p></td>
<td>A path to the menu item concerned.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>menuinfo</code></em> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> array describing the menus.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>relay_func</code></em> :</span></p></td>
<td>A custom marshallar for signal data.,</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>Application-specific data to send to each signal callback.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>destroy_func</code></em> :</span></p></td>
<td>The function to call when the menu item is destroyed.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-install-appbar-menu-hints"></a><h3>gnome_app_install_appbar_menu_hints ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_app_install_appbar_menu_hints (<em class="parameter"><code><a class="link" href="libgnomeui-gnome-appbar.html#GnomeAppBar"><span class="type">GnomeAppBar</span></a> *appbar</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>);</pre>
<p>
Install menu hints for the given <em class="parameter"><code>appbar</code></em> object. This function cannot just
be called automatically, since it is impossible to reliably find the correct
<em class="parameter"><code>appbar</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>appbar</code></em> :</span></p></td>
<td>An existing <a class="link" href="libgnomeui-gnome-appbar.html#GnomeAppBar"><span class="type">GnomeAppBar</span></a> instance.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uiinfo</code></em> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> array of a menu for which hints will be set.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-install-statusbar-menu-hints"></a><h3>gnome_app_install_statusbar_menu_hints ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_app_install_statusbar_menu_hints
                                                        (<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkStatusbar.html"><span class="type">GtkStatusbar</span></a> *bar</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>);</pre>
<p>
Install menu hints for the given status bar.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>bar</code></em> :</span></p></td>
<td>Pointer to <a href="http://library.gnome.org/devel/gtk/unstable/GtkStatusbar.html"><span class="type">GtkStatusbar</span></a> instance.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uiinfo</code></em> :</span></p></td>
<td>
<a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> for the menu to be changed.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-install-menu-hints"></a><h3>gnome_app_install_menu_hints ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_app_install_menu_hints        (<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 class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> *uiinfo</code></em>);</pre>
<p>
Set menu hints for the <em class="parameter"><code>app</code></em> object's attached status bar.
</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>An existing <a class="link" href="libgnomeui-gnome-appbar.html#GnomeAppBar"><span class="type">GnomeAppBar</span></a> instance.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uiinfo</code></em> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> array of a menu for which hints will be set.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-setup-toolbar"></a><h3>gnome_app_setup_toolbar ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_app_setup_toolbar             (<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><span class="type">BonoboDockItem</span> *dock_item</code></em>);</pre>
<p>
Sets up a toolbar to use GNOME user preferences.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>toolbar</code></em> :</span></p></td>
<td>Pointer to a <a href="http://library.gnome.org/devel/gtk/unstable/GtkToolbar.html"><span class="type">GtkToolbar</span></a> instance.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>dock_item</code></em> :</span></p></td>
<td>Pointer to the <span class="type">BonoboDockItem</span> the toolbar is inside, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
for none.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-END:CAPS"></a><h3>GNOMEUIINFO_END</h3>
<pre class="programlisting">#define             GNOMEUIINFO_END</pre>
<p>
A macro that can be used to terminate an arrau of <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structures.
</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>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-SEPARATOR:CAPS"></a><h3>GNOMEUIINFO_SEPARATOR</h3>
<pre class="programlisting">#define             GNOMEUIINFO_SEPARATOR</pre>
<p>
A macro that defines a menu seperator bar. Can be put into an array of
<a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structures.
</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>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-ITEM:CAPS"></a><h3>GNOMEUIINFO_ITEM()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_ITEM(label, tooltip, callback, xpm_data)</pre>
<p>
A generic menu item with an inline xpm icon.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>Menu label.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>tooltip</code></em> :</span></p></td>
<td>Tooltip for the label.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
<td>Function to call on selection of this item.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>xpm_data</code></em> :</span></p></td>
<td>Pixmap data.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-ITEM-STOCK:CAPS"></a><h3>GNOMEUIINFO_ITEM_STOCK()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_ITEM_STOCK(label, tooltip, callback, stock_id)</pre>
<p>
A menu item with a stock icon.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>Menu label.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>tooltip</code></em> :</span></p></td>
<td>Tooltip for the label.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
<td>Function to call on selection of this item.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>stock_id</code></em> :</span></p></td>
<td>The value of stock icon (from the gnome-stock-item module of this
library).</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-ITEM-NONE:CAPS"></a><h3>GNOMEUIINFO_ITEM_NONE()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_ITEM_NONE(label, tooltip, callback)</pre>
<p>
A menu item with no icon.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>Menu label.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>tooltip</code></em> :</span></p></td>
<td>Tooltip for the label.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
<td>Function to call on selection of this item.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-ITEM-DATA:CAPS"></a><h3>GNOMEUIINFO_ITEM_DATA()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_ITEM_DATA(label, tooltip, callback, user_data, xpm_data)</pre>
<p>
A menu item with an inline xpm icon and user data pointer for <em class="parameter"><code>callback</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>label</code></em> :</span></p></td>
<td>Menu label.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>tooltip</code></em> :</span></p></td>
<td>Tooltip for the label.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
<td>Function to call on selection of this item.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>User data to pass to the callback function.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>xpm_data</code></em> :</span></p></td>
<td>Pixmap data.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-TOGGLEITEM:CAPS"></a><h3>GNOMEUIINFO_TOGGLEITEM()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_TOGGLEITEM(label, tooltip, callback, xpm_data)</pre>
<p>
A toggle item (check box) with inline xpm icon.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>Menu label.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>tooltip</code></em> :</span></p></td>
<td>Tooltip for the label.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
<td>Function to call on selection of this item.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>xpm_data</code></em> :</span></p></td>
<td>Pixmap data.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-TOGGLEITEM-DATA:CAPS"></a><h3>GNOMEUIINFO_TOGGLEITEM_DATA()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_TOGGLEITEM_DATA(label, tooltip, callback, user_data, xpm_data)</pre>
<p>
A toggle item (chekc box) with inline xpm icon and user data pointer for
<em class="parameter"><code>callback</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>label</code></em> :</span></p></td>
<td>Menu label.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>tooltip</code></em> :</span></p></td>
<td>Tooltip for the label.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
<td>Function to call on selection of this item.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>User data to pass to the callback function.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>xpm_data</code></em> :</span></p></td>
<td>Pixmap data.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-HELP:CAPS"></a><h3>GNOMEUIINFO_HELP()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_HELP(app_name)</pre>
<p>
A menu containing all help topics based on <em class="parameter"><code>app_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_name</code></em> :</span></p></td>
<td>Application id string.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-SUBTREE:CAPS"></a><h3>GNOMEUIINFO_SUBTREE()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_SUBTREE(label, tree)</pre>
<p>
A subtree (submenu).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>Submenu label.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>tree</code></em> :</span></p></td>
<td>A pointer to an array of <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structures.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-SUBTREE-HINT:CAPS"></a><h3>GNOMEUIINFO_SUBTREE_HINT()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_SUBTREE_HINT(label, hint, tree)</pre>
<p>
A subtree with a hint.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>Submenu label.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>hint</code></em> :</span></p></td>
<td>Hint for statusbar.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>tree</code></em> :</span></p></td>
<td>A pointer to an array of <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structures.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-SUBTREE-STOCK:CAPS"></a><h3>GNOMEUIINFO_SUBTREE_STOCK()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_SUBTREE_STOCK(label, tree, stock_id)</pre>
<p>
A subtree using a stock icon.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tree</code></em> :</span></p></td>
<td>A pointer to an array of <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structs.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>stock_id</code></em> :</span></p></td>
<td>The value of stock icon (from the gnome-stock-item module of this
library).</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-INCLUDE:CAPS"></a><h3>GNOMEUIINFO_INCLUDE()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_INCLUDE(tree)</pre>
<p>
A menu that should be included at the current point of the current menu (like
<a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-SUBTREE:CAPS" title="GNOMEUIINFO_SUBTREE()"><span class="type">GNOMEUIINFO_SUBTREE</span></a>, but doesn't create a submenu).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tree</code></em> :</span></p></td>
<td>A pointer to an array of <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structures.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-RADIOLIST:CAPS"></a><h3>GNOMEUIINFO_RADIOLIST()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_RADIOLIST(list)</pre>
<p>
A list of radio items.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
<td>Pointer to a list of <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-RADIOITEM:CAPS" title="GNOMEUIINFO_RADIOITEM()"><span class="type">GNOMEUIINFO_RADIOITEM</span></a> elements.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-RADIOITEM:CAPS"></a><h3>GNOMEUIINFO_RADIOITEM()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_RADIOITEM(label, tooltip, callback, xpm_data)</pre>
<p>
A radio item with an inline xpm icon.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>Item label.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>tooltip</code></em> :</span></p></td>
<td>Tooltip for the item.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
<td>Function to call on selection of this item.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>xpm_data</code></em> :</span></p></td>
<td>Pixmap data.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-RADIOITEM-DATA:CAPS"></a><h3>GNOMEUIINFO_RADIOITEM_DATA()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_RADIOITEM_DATA(label, tooltip, callback, user_data, xpm_data)</pre>
<p>
A radio item with an inline xpm icon and user data for <em class="parameter"><code>callback</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>label</code></em> :</span></p></td>
<td>Item label.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>tooltip</code></em> :</span></p></td>
<td>Tooltip for the item.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
<td>Function to call on selection of this item.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>User data for the callback function.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>xpm_data</code></em> :</span></p></td>
<td>Pixmap data.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-NEW-ITEM:CAPS"></a><h3>GNOMEUIINFO_MENU_NEW_ITEM()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_NEW_ITEM(label, tip, cb, data)</pre>
<p>
A "New" entry (typically in the "File" menu).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>The label for the menu item (the thing being created).</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>tip</code></em> :</span></p></td>
<td>Tooltip for the item.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>cb</code></em> :</span></p></td>
<td>Callback for when the menu item is selected.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>User data to pass to the callback.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-NEW-SUBTREE:CAPS"></a><h3>GNOMEUIINFO_MENU_NEW_SUBTREE()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_NEW_SUBTREE(tree)</pre>
<p>
A "New" menu item that creates a subtree (for when you have more than one thing
that can be created anew).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tree</code></em> :</span></p></td>
<td>Pointer to a list of <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> menu structures.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-OPEN-ITEM:CAPS"></a><h3>GNOMEUIINFO_MENU_OPEN_ITEM()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_OPEN_ITEM(cb, data)</pre>
<p>
An "Open..." menu item.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cb</code></em> :</span></p></td>
<td>Callback for when the menu item is selected.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>Used data to pass to the callback.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-SAVE-ITEM:CAPS"></a><h3>GNOMEUIINFO_MENU_SAVE_ITEM()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_SAVE_ITEM(cb, data)</pre>
<p>
A "Save" menu item.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cb</code></em> :</span></p></td>
<td>Callback for when the menu item is selected.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>Used data to pass to the callback.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-SAVE-AS-ITEM:CAPS"></a><h3>GNOMEUIINFO_MENU_SAVE_AS_ITEM()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_SAVE_AS_ITEM(cb, data)</pre>
<p>
A "Save as..." menu item.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cb</code></em> :</span></p></td>
<td>Callback for when the menu item is selected.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>Used data to pass to the callback.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-REVERT-ITEM:CAPS"></a><h3>GNOMEUIINFO_MENU_REVERT_ITEM()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_REVERT_ITEM(cb, data)</pre>
<p>
A "Revert" (to last saved) menu item.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cb</code></em> :</span></p></td>
<td>Callback for when the menu item is selected.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>Used data to pass to the callback.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-PRINT-ITEM:CAPS"></a><h3>GNOMEUIINFO_MENU_PRINT_ITEM()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_PRINT_ITEM(cb, data)</pre>
<p>
A "Print" menu item.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cb</code></em> :</span></p></td>
<td>Callback for when the menu item is selected.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>Used data to pass to the callback.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-PRINT-SETUP-ITEM:CAPS"></a><h3>GNOMEUIINFO_MENU_PRINT_SETUP_ITEM()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_PRINT_SETUP_ITEM(cb, data)</pre>
<p>
A "Print setup..." menu item.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cb</code></em> :</span></p></td>
<td>Callback for when the menu item is selected.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>Used data to pass to the callback.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-CLOSE-ITEM:CAPS"></a><h3>GNOMEUIINFO_MENU_CLOSE_ITEM()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_CLOSE_ITEM(cb, data)</pre>
<p>
A "Close" menu item.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cb</code></em> :</span></p></td>
<td>Callback for when the menu item is selected.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>Used data to pass to the callback.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-EXIT-ITEM:CAPS"></a><h3>GNOMEUIINFO_MENU_EXIT_ITEM()</h3>
<pre class="programlisting">#define GNOMEUIINFO_MENU_EXIT_ITEM(cb, data) GNOMEUIINFO_MENU_QUIT_ITEM(cb, data)
</pre>
<p>
An "Exit" menu item (deprecated).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cb</code></em> :</span></p></td>
<td>Callback for when the menu item is selected.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>Used data to pass to the callback.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-QUIT-ITEM:CAPS"></a><h3>GNOMEUIINFO_MENU_QUIT_ITEM()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_QUIT_ITEM(cb, data)</pre>
<p>
A "Quit" menu item.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cb</code></em> :</span></p></td>
<td>Callback for when the menu item is selected.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>Used data to pass to the callback.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-CUT-ITEM:CAPS"></a><h3>GNOMEUIINFO_MENU_CUT_ITEM()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_CUT_ITEM(cb, data)</pre>
<p>
A "Cut" menu item.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cb</code></em> :</span></p></td>
<td>Callback for when the menu item is selected.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>Used data to pass to the callback.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-COPY-ITEM:CAPS"></a><h3>GNOMEUIINFO_MENU_COPY_ITEM()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_COPY_ITEM(cb, data)</pre>
<p>
A "Copy" menu item.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cb</code></em> :</span></p></td>
<td>Callback for when the menu item is selected.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>Used data to pass to the callback.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-PASTE-ITEM:CAPS"></a><h3>GNOMEUIINFO_MENU_PASTE_ITEM()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_PASTE_ITEM(cb, data)</pre>
<p>
A "Paste" menu item.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cb</code></em> :</span></p></td>
<td>Callback for when the menu item is selected.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>Used data to pass to the callback.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-SELECT-ALL-ITEM:CAPS"></a><h3>GNOMEUIINFO_MENU_SELECT_ALL_ITEM()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_SELECT_ALL_ITEM(cb, data)</pre>
<p>
A "Select All" menu item.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cb</code></em> :</span></p></td>
<td>Callback for when the menu item is selected.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>Used data to pass to the callback.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-CLEAR-ITEM:CAPS"></a><h3>GNOMEUIINFO_MENU_CLEAR_ITEM()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_CLEAR_ITEM(cb, data)</pre>
<p>
A "clear" menu item.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cb</code></em> :</span></p></td>
<td>Callback for when the menu item is selected.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>Used data to pass to the callback.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-UNDO-ITEM:CAPS"></a><h3>GNOMEUIINFO_MENU_UNDO_ITEM()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_UNDO_ITEM(cb, data)</pre>
<p>
An "Undo" menu item.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cb</code></em> :</span></p></td>
<td>Callback for when the menu item is selected.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>Used data to pass to the callback.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-REDO-ITEM:CAPS"></a><h3>GNOMEUIINFO_MENU_REDO_ITEM()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_REDO_ITEM(cb, data)</pre>
<p>
A "Redo" menu item.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cb</code></em> :</span></p></td>
<td>Callback for when the menu item is selected.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>Used data to pass to the callback.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-FIND-ITEM:CAPS"></a><h3>GNOMEUIINFO_MENU_FIND_ITEM()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_FIND_ITEM(cb, data)</pre>
<p>
A "Find" menu item.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cb</code></em> :</span></p></td>
<td>Callback for when the menu item is selected.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>Used data to pass to the callback.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-FIND-AGAIN-ITEM:CAPS"></a><h3>GNOMEUIINFO_MENU_FIND_AGAIN_ITEM()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_FIND_AGAIN_ITEM(cb, data)</pre>
<p>
A "Find Again" menu item.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cb</code></em> :</span></p></td>
<td>Callback for when the menu item is selected.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>Used data to pass to the callback.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-REPLACE-ITEM:CAPS"></a><h3>GNOMEUIINFO_MENU_REPLACE_ITEM()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_REPLACE_ITEM(cb, data)</pre>
<p>
A "Replace" menu item.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cb</code></em> :</span></p></td>
<td>Callback for when the menu item is selected.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>Used data to pass to the callback.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-PROPERTIES-ITEM:CAPS"></a><h3>GNOMEUIINFO_MENU_PROPERTIES_ITEM()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_PROPERTIES_ITEM(cb, data)</pre>
<p>
A "Properties..." menu item.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cb</code></em> :</span></p></td>
<td>Callback for when the menu item is selected.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>Used data to pass to the callback.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-PREFERENCES-ITEM:CAPS"></a><h3>GNOMEUIINFO_MENU_PREFERENCES_ITEM()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_PREFERENCES_ITEM(cb, data)</pre>
<p>
A "Preferences..." menu item.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cb</code></em> :</span></p></td>
<td>Callback for when the menu item is selected.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>Used data to pass to the callback.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-NEW-WINDOW-ITEM:CAPS"></a><h3>GNOMEUIINFO_MENU_NEW_WINDOW_ITEM()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_NEW_WINDOW_ITEM(cb, data)</pre>
<p>
A "New Window" menu item.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cb</code></em> :</span></p></td>
<td>Callback for when the menu item is selected.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>Used data to pass to the callback.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-CLOSE-WINDOW-ITEM:CAPS"></a><h3>GNOMEUIINFO_MENU_CLOSE_WINDOW_ITEM()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_CLOSE_WINDOW_ITEM(cb, data)</pre>
<p>
A "Close Window" menu item.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cb</code></em> :</span></p></td>
<td>Callback for when the menu item is selected.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>Used data to pass to the callback.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-ABOUT-ITEM:CAPS"></a><h3>GNOMEUIINFO_MENU_ABOUT_ITEM()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_ABOUT_ITEM(cb, data)</pre>
<p>
An "About..." menu item.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cb</code></em> :</span></p></td>
<td>Callback for when the menu item is selected.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>Used data to pass to the callback.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-NEW-GAME-ITEM:CAPS"></a><h3>GNOMEUIINFO_MENU_NEW_GAME_ITEM()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_NEW_GAME_ITEM(cb, data)</pre>
<p>
A "New Game" menu item.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cb</code></em> :</span></p></td>
<td>Callback for when the menu item is selected.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>Used data to pass to the callback.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-PAUSE-GAME-ITEM:CAPS"></a><h3>GNOMEUIINFO_MENU_PAUSE_GAME_ITEM()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_PAUSE_GAME_ITEM(cb, data)</pre>
<p>
A "Pause Game" menu item.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cb</code></em> :</span></p></td>
<td>Callback for when the menu item is selected.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>Used data to pass to the callback.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-RESTART-GAME-ITEM:CAPS"></a><h3>GNOMEUIINFO_MENU_RESTART_GAME_ITEM()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_RESTART_GAME_ITEM(cb, data)</pre>
<p>
A "Restart Game" menu item.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cb</code></em> :</span></p></td>
<td>Callback for when the menu item is selected.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>Used data to pass to the callback.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-UNDO-MOVE-ITEM:CAPS"></a><h3>GNOMEUIINFO_MENU_UNDO_MOVE_ITEM()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_UNDO_MOVE_ITEM(cb, data)</pre>
<p>
An "Undo Move" menu item (for games, usually).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cb</code></em> :</span></p></td>
<td>Callback for when the menu item is selected.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>Used data to pass to the callback.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-REDO-MOVE-ITEM:CAPS"></a><h3>GNOMEUIINFO_MENU_REDO_MOVE_ITEM()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_REDO_MOVE_ITEM(cb, data)</pre>
<p>
A "Redo move" menu item.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cb</code></em> :</span></p></td>
<td>Callback for when the menu item is selected.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>Used data to pass to the callback.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-HINT-ITEM:CAPS"></a><h3>GNOMEUIINFO_MENU_HINT_ITEM()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_HINT_ITEM(cb, data)</pre>
<p>
A "Hint" menu item.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cb</code></em> :</span></p></td>
<td>Callback for when the menu item is selected.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>Used data to pass to the callback.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-SCORES-ITEM:CAPS"></a><h3>GNOMEUIINFO_MENU_SCORES_ITEM()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_SCORES_ITEM(cb, data)</pre>
<p>
A "Scores" menu item.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cb</code></em> :</span></p></td>
<td>Callback for when the menu item is selected.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>Used data to pass to the callback.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-END-GAME-ITEM:CAPS"></a><h3>GNOMEUIINFO_MENU_END_GAME_ITEM()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_END_GAME_ITEM(cb, data)</pre>
<p>
An "End Game" menu item.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cb</code></em> :</span></p></td>
<td>Callback for when the menu item is selected.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>Used data to pass to the callback.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-FILE-TREE:CAPS"></a><h3>GNOMEUIINFO_MENU_FILE_TREE()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_FILE_TREE(tree)</pre>
<p>
A "File" menu tree.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tree</code></em> :</span></p></td>
<td>Pointer to a tree containing menu items for inside this menu.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-EDIT-TREE:CAPS"></a><h3>GNOMEUIINFO_MENU_EDIT_TREE()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_EDIT_TREE(tree)</pre>
<p>
An "Edit" menu tree.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tree</code></em> :</span></p></td>
<td>Pointer to a tree containing menu items for inside this menu.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-VIEW-TREE:CAPS"></a><h3>GNOMEUIINFO_MENU_VIEW_TREE()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_VIEW_TREE(tree)</pre>
<p>
A "View" menu tree.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tree</code></em> :</span></p></td>
<td>Pointer to a tree containing menu items for inside this menu.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-SETTINGS-TREE:CAPS"></a><h3>GNOMEUIINFO_MENU_SETTINGS_TREE()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_SETTINGS_TREE(tree)</pre>
<p>
A "Settings" menu tree.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tree</code></em> :</span></p></td>
<td>Pointer to a tree containing menu items for inside this menu.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-FILES-TREE:CAPS"></a><h3>GNOMEUIINFO_MENU_FILES_TREE()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_FILES_TREE(tree)</pre>
<p>
A "Files" menu tree.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tree</code></em> :</span></p></td>
<td>Pointer to a tree containing menu items for inside this menu.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-WINDOWS-TREE:CAPS"></a><h3>GNOMEUIINFO_MENU_WINDOWS_TREE()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_WINDOWS_TREE(tree)</pre>
<p>
A "Windows" menu tree.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tree</code></em> :</span></p></td>
<td>Pointer to a tree containing menu items for inside this menu.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-HELP-TREE:CAPS"></a><h3>GNOMEUIINFO_MENU_HELP_TREE()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_HELP_TREE(tree)</pre>
<p>
A "Help" menu tree.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tree</code></em> :</span></p></td>
<td>Pointer to a tree containing menu items for inside this menu.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOMEUIINFO-MENU-GAME-TREE:CAPS"></a><h3>GNOMEUIINFO_MENU_GAME_TREE()</h3>
<pre class="programlisting">#define             GNOMEUIINFO_MENU_GAME_TREE(tree)</pre>
<p>
A "Game" menu tree.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>tree</code></em> :</span></p></td>
<td>Pointer to a tree containing menu items for inside this menu.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOME-MENU-FILE-STRING:CAPS"></a><h3>GNOME_MENU_FILE_STRING</h3>
<pre class="programlisting">#define GNOME_MENU_FILE_STRING D_("_File")
</pre>
<p>
A string which is the title of the "File" menu (when the menu is created using
<a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-FILE-TREE:CAPS" title="GNOMEUIINFO_MENU_FILE_TREE()"><span class="type">GNOMEUIINFO_MENU_FILE_TREE</span></a>).
</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>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOME-MENU-FILE-PATH:CAPS"></a><h3>GNOME_MENU_FILE_PATH</h3>
<pre class="programlisting">#define GNOME_MENU_FILE_PATH D_("_File/")
</pre>
<p>
A pre-defined path to the "File" menu (when the menu is created using
<a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-FILE-TREE:CAPS" title="GNOMEUIINFO_MENU_FILE_TREE()"><span class="type">GNOMEUIINFO_MENU_FILE_TREE</span></a>). Used in calls like <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-find-menu-pos" title="gnome_app_find_menu_pos ()"><code class="function">gnome_app_find_menu_pos()</code></a>.
</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>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOME-MENU-EDIT-STRING:CAPS"></a><h3>GNOME_MENU_EDIT_STRING</h3>
<pre class="programlisting">#define GNOME_MENU_EDIT_STRING D_("_Edit")
</pre>
<p>
A string which is the title of the "Edit" menu (when the menu is created using
<a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-FILE-TREE:CAPS" title="GNOMEUIINFO_MENU_FILE_TREE()"><span class="type">GNOMEUIINFO_MENU_FILE_TREE</span></a>).
</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>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOME-MENU-EDIT-PATH:CAPS"></a><h3>GNOME_MENU_EDIT_PATH</h3>
<pre class="programlisting">#define GNOME_MENU_EDIT_PATH D_("_Edit/")
</pre>
<p>
A pre-defined path to the "Edit" menu (when the menu is created using
<a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-EDIT-TREE:CAPS" title="GNOMEUIINFO_MENU_EDIT_TREE()"><span class="type">GNOMEUIINFO_MENU_EDIT_TREE</span></a>). Used in calls like <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-find-menu-pos" title="gnome_app_find_menu_pos ()"><code class="function">gnome_app_find_menu_pos()</code></a>.
</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>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOME-MENU-VIEW-STRING:CAPS"></a><h3>GNOME_MENU_VIEW_STRING</h3>
<pre class="programlisting">#define GNOME_MENU_VIEW_STRING D_("_View")
</pre>
<p>
A string which is the title of the "View" menu (when the menu is created using
<a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-VIEW-TREE:CAPS" title="GNOMEUIINFO_MENU_VIEW_TREE()"><span class="type">GNOMEUIINFO_MENU_VIEW_TREE</span></a>).
</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>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOME-MENU-VIEW-PATH:CAPS"></a><h3>GNOME_MENU_VIEW_PATH</h3>
<pre class="programlisting">#define GNOME_MENU_VIEW_PATH D_("_View/")
</pre>
<p>
A pre-defined path to the "View" menu (when the menu is created using
<a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-FILE-TREE:CAPS" title="GNOMEUIINFO_MENU_FILE_TREE()"><span class="type">GNOMEUIINFO_MENU_FILE_TREE</span></a>). Used in calls like <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-find-menu-pos" title="gnome_app_find_menu_pos ()"><code class="function">gnome_app_find_menu_pos()</code></a>.
</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>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOME-MENU-SETTINGS-STRING:CAPS"></a><h3>GNOME_MENU_SETTINGS_STRING</h3>
<pre class="programlisting">#define GNOME_MENU_SETTINGS_STRING D_("_Settings")
</pre>
<p>
A string which is the title of the "Settings" menu (when the menu is created
using <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-SETTINGS-TREE:CAPS" title="GNOMEUIINFO_MENU_SETTINGS_TREE()"><span class="type">GNOMEUIINFO_MENU_SETTINGS_TREE</span></a>).
</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>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOME-MENU-SETTINGS-PATH:CAPS"></a><h3>GNOME_MENU_SETTINGS_PATH</h3>
<pre class="programlisting">#define GNOME_MENU_SETTINGS_PATH D_("_Settings/")
</pre>
<p>
A pre-defined path to the "Settings" menu (when the menu is created using
<a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-FILE-TREE:CAPS" title="GNOMEUIINFO_MENU_FILE_TREE()"><span class="type">GNOMEUIINFO_MENU_FILE_TREE</span></a>). Used in calls like <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-find-menu-pos" title="gnome_app_find_menu_pos ()"><code class="function">gnome_app_find_menu_pos()</code></a>.
</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>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOME-MENU-NEW-STRING:CAPS"></a><h3>GNOME_MENU_NEW_STRING</h3>
<pre class="programlisting">#define GNOME_MENU_NEW_STRING D_("_New")
</pre>
<p>
A string which is the title of the "New" menu (when the menu is created using
<span class="type">GNOMEUIINFO_MENU_NEW_TREE</span>).
</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>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOME-MENU-NEW-PATH:CAPS"></a><h3>GNOME_MENU_NEW_PATH</h3>
<pre class="programlisting">#define GNOME_MENU_NEW_PATH D_("_New/")
</pre>
<p>
A pre-defined path to the "New" menu (when the menu is created using
<a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-FILE-TREE:CAPS" title="GNOMEUIINFO_MENU_FILE_TREE()"><span class="type">GNOMEUIINFO_MENU_FILE_TREE</span></a>). Used in calls like <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-find-menu-pos" title="gnome_app_find_menu_pos ()"><code class="function">gnome_app_find_menu_pos()</code></a>.
</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>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOME-MENU-FILES-STRING:CAPS"></a><h3>GNOME_MENU_FILES_STRING</h3>
<pre class="programlisting">#define GNOME_MENU_FILES_STRING D_("Fi_les")
</pre>
<p>
A string which is the title of the "Files" menu (when the menu is created using
<a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-FILES-TREE:CAPS" title="GNOMEUIINFO_MENU_FILES_TREE()"><span class="type">GNOMEUIINFO_MENU_FILES_TREE</span></a>).
</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>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOME-MENU-FILES-PATH:CAPS"></a><h3>GNOME_MENU_FILES_PATH</h3>
<pre class="programlisting">#define GNOME_MENU_FILES_PATH D_("Fi_les/")
</pre>
<p>
A pre-defined path to the "Files" menu (when the menu is created using
<a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-FILE-TREE:CAPS" title="GNOMEUIINFO_MENU_FILE_TREE()"><span class="type">GNOMEUIINFO_MENU_FILE_TREE</span></a>). Used in calls like <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-find-menu-pos" title="gnome_app_find_menu_pos ()"><code class="function">gnome_app_find_menu_pos()</code></a>.
</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>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOME-MENU-WINDOWS-STRING:CAPS"></a><h3>GNOME_MENU_WINDOWS_STRING</h3>
<pre class="programlisting">#define GNOME_MENU_WINDOWS_STRING D_("_Windows")
</pre>
<p>
A string which is the title of the "Windows" menu (when the menu is created
using <a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-WINDOWS-TREE:CAPS" title="GNOMEUIINFO_MENU_WINDOWS_TREE()"><span class="type">GNOMEUIINFO_MENU_WINDOWS_TREE</span></a>).
</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>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOME-MENU-WINDOWS-PATH:CAPS"></a><h3>GNOME_MENU_WINDOWS_PATH</h3>
<pre class="programlisting">#define GNOME_MENU_WINDOWS_PATH D_("_Windows/")
</pre>
<p>
A pre-defined path to the "Windows" menu (when the menu is created using
<a class="link" href="libgnomeui-gnome-app-helper.html#GNOMEUIINFO-MENU-FILE-TREE:CAPS" title="GNOMEUIINFO_MENU_FILE_TREE()"><span class="type">GNOMEUIINFO_MENU_FILE_TREE</span></a>). Used in calls like <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-find-menu-pos" title="gnome_app_find_menu_pos ()"><code class="function">gnome_app_find_menu_pos()</code></a>.
</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>A <a class="link" href="libgnomeui-gnome-app-helper.html#GnomeUIInfo" title="GnomeUIInfo"><span class="type">GnomeUIInfo</span></a> structure.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-app-helper-gettext"></a><h3>gnome_app_helper_gettext ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       gnome_app_helper_gettext            (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
<p>
Translate <em class="parameter"><code>string</code></em> by calling <code class="function">gettext()</code> and then, if that did not change the
string, <code class="function">dgettext()</code> with the domain set to libgnome's message domain.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
<td>The string to translate.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The localised value of the string.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="L-:CAPS"></a><h3>L_()</h3>
<pre class="programlisting">#define L_(x) gnome_app_helper_gettext(x)
</pre>
<p>
Syntactic sugar for <a class="link" href="libgnomeui-gnome-app-helper.html#gnome-app-helper-gettext" title="gnome_app_helper_gettext ()"><code class="function">gnome_app_helper_gettext()</code></a>.
</p>
</div>
<hr>
<div class="refsect2">
<a name="D-:CAPS"></a><h3>D_()</h3>
<pre class="programlisting">#define D_(x) dgettext (GETTEXT_PACKAGE, x)
</pre>
<p>
Syntactic sugar for calling <code class="function">dgettext()</code> with the domain set to libgnome's message
domain.
</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.16</div>
</body>
</html>