File: gamgi_gtk_help_topic.c

package info (click to toggle)
gamgi 0.15.8-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 19,672 kB
  • sloc: ansic: 155,977; xml: 105,764; makefile: 537; perl: 171; sh: 5
file content (1714 lines) | stat: -rw-r--r-- 56,669 bytes parent folder | download
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
/**********************************************
 *
 * $GAMGI/src/gtk/help/gamgi_gtk_help_topic.c
 *
 * Copyright (C) 2004 Carlos Pereira
 *
 * Distributed under the terms of the GNU
 * General Public License: $GAMGI/LICENSE
 *
 */

#include "gamgi_engine.h"
#include "gamgi_gtk.h"

#include "gamgi_gtk_dialog.h"
#include "gamgi_gtk_help_dialog.h"

static void static_interfaces (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces",
"interfaces/interfaces", data, 0, 0);
}

static void static_interfaces_introduction (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Introduction",
"interfaces/introduction/introduction", data, 0, 0);
}

static void static_interfaces_introduction_objects (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Introduction Objects", 
"interfaces/introduction/objects", data, 0, 0);
}

static void static_interfaces_introduction_tasks (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Introduction Tasks", 
"interfaces/introduction/tasks", data, 0, 0);
}

static void static_interfaces_introduction_windows (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Introduction Windows", 
"interfaces/introduction/windows", data, 0, 0);
}

static void static_interfaces_introduction_starting (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Introduction Starting", 
"interfaces/introduction/starting", data, 0, 0);
}

static void static_interfaces_introduction_identification (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Introduction Identification", 
"interfaces/introduction/identification", data, 0, 0);
}

static void static_interfaces_introduction_selection (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Introduction Selection", 
"interfaces/introduction/selection", data, 0, 0);
}

static void static_interfaces_introduction_mouse (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Introduction Mouse", 
"interfaces/introduction/mouse", data, 0, 0);
}

static void static_interfaces_introduction_keyboard (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Introduction Keyboard", 
"interfaces/introduction/keyboard", data, 0, 0);
}

static void static_interfaces_introduction_menus (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Introduction Menus", 
"interfaces/introduction/menus", data, 0, 0);
}

static void static_interfaces_introduction_drawing (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Introduction Drawing", 
"interfaces/introduction/drawing", data, 0, 0);
}

static void static_interfaces_introduction_tools (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Introduction Tools", 
"interfaces/introduction/tools", data, 0, 0);
}

static void static_interfaces_introduction_commands (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Introduction Commands", 
"interfaces/introduction/commands", data, 0, 0);
}

static void static_interfaces_introduction_status (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Introduction Status", 
"interfaces/introduction/status", data, 0, 0);
}

static void static_interfaces_gamgi (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Gamgi", 
"keywords/gamgi", data, 0, 0);
}

static void static_interfaces_gamgi_about (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Gamgi About", 
"interfaces/gamgi/about", data, 0, 0);
}

static void static_interfaces_gamgi_reset (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Gamgi Reset", 
"interfaces/gamgi/reset", data, 0, 0);
}

static void static_interfaces_gamgi_exit (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Gamgi Exit", 
"interfaces/gamgi/exit", data, 0, 0);
}

static void static_interfaces_gamgi_config (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Gamgi Config", 
"interfaces/gamgi/config", data, 3, 1, "usability", 
"precision", "color");
}

static void static_interfaces_file (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces File", 
"keywords/file", data, 0, 0);
}

static void static_interfaces_file_import (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces File Import", 
"interfaces/file/import", data, 2, 1, "location", "filters");
}

static void static_interfaces_file_export (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces File Export", 
"interfaces/file/export", data, 2, 1, "location", "filters");
}

static void static_interfaces_window (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Window", 
"keywords/window", data, 0, 0);
}

static void static_interfaces_window_copy (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Window Copy",
"interfaces/window/copy", data, 1, 1, "object");
}

static void static_interfaces_window_select (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Window Select", 
"interfaces/window/select", data, 1, 1, "list");
}

static void static_interfaces_window_link (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Window Link",
"interfaces/window/link", data, 2, 1, "object", "shift");
}

static void static_interfaces_window_remove (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Window Remove", 
"interfaces/window/remove", data, 1, 1, "object");
}

static void static_interfaces_window_config (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Window Config", 
"interfaces/window/config", data, 1, 1, "ruler");
}

static void static_interfaces_layer (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Layer", 
"keywords/layer", data, 0, 0);
}

static void static_interfaces_layer_create (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Layer Create", 
"interfaces/layer/create", data, 4, 1, "projection", 
"position", "visibility", "view");
}

static void static_interfaces_layer_copy (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Layer Copy",
"interfaces/layer/copy", data, 2, 1, "object", "shift");
}

static void static_interfaces_layer_select (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Layer Select", 
"interfaces/layer/select", data, 1, 1, "list");
}

static void static_interfaces_layer_link (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Layer Link",
"interfaces/layer/link", data, 2, 1, "object", "shift");
}

static void static_interfaces_layer_modify (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Layer Modify",
"interfaces/layer/modify", data, 4, 1, "projection", "position", 
"visibility", "view");
}

static void static_interfaces_layer_remove (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Layer Remove", 
"interfaces/layer/remove", data, 1, 1, "object");
}

static void static_interfaces_layer_config (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Layer Config", 
"interfaces/layer/config", data, 3, 1, "projection", "position", "history");
}

static void static_interfaces_light (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Light", 
"keywords/light", data, 0, 0);
}

static void static_interfaces_light_create (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Light Create", 
"interfaces/light/create", data, 3, 1, "geometry", "color", "attenuation");
}

static void static_interfaces_light_copy (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Light Copy",
"interfaces/light/copy", data, 2, 1, "object", "shift");
}

static void static_interfaces_light_select (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Light Select", 
"interfaces/light/select", data, 1, 1, "list");
}

static void static_interfaces_light_link (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Light Link",
"interfaces/light/link", data, 2, 1, "object", "shift");
}

static void static_interfaces_light_modify (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Light Modify",
"interfaces/light/modify", data, 3, 1, "geometry", "color", "attenuation");
}

static void static_interfaces_light_remove (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Light Remove", 
"interfaces/light/remove", data, 1, 1, "object");
}

static void static_interfaces_light_config (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Light Config", 
"interfaces/light/config", data, 2, 1, "color", "materials");
}

static void static_interfaces_assembly (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Assembly", 
"keywords/assembly", data, 0, 0);
}

static void static_interfaces_assembly_create (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Assembly Create", 
"interfaces/assembly/create", data, 0, 0);
}

static void static_interfaces_assembly_copy (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Assembly Copy",
"interfaces/assembly/copy", data, 2, 1, "object", "shift");
}

static void static_interfaces_assembly_select (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Assembly Select", 
"interfaces/assembly/select", data, 1, 1, "list");
}

static void static_interfaces_assembly_link (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Assembly Link",
"interfaces/assembly/link", data, 2, 1, "object", "shift");
}

static void static_interfaces_assembly_remove (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Assembly Remove", 
"interfaces/assembly/remove", data, 1, 1, "object");
}

static void static_interfaces_graph (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Graph", 
"keywords/graph", data, 0, 0);
}

static void static_interfaces_graph_select (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Graph Select", 
"interfaces/graph/select", data, 0, 0);
}

static void static_interfaces_shape (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Shape", 
"keywords/shape", data, 0, 0);
}

static void static_interfaces_shape_select (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Shape Select", 
"interfaces/shape/select", data, 0, 0);
}

static void static_interfaces_arrow (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Arrow", 
"keywords/arrow", data, 0, 0);
}

static void static_interfaces_arrow_select (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Arrow", 
"interfaces/arrow/select", data, 0, 0);
}

static void static_interfaces_cell (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Cell", 
"keywords/cell", data, 0, 0);
}

static void static_interfaces_cell_create (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Cell Create", 
"interfaces/cell/create", data, 5, 1, "symmetry", "volume",
"position", "origin", "view");
}

static void static_interfaces_cell_copy (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Cell Copy",
"interfaces/cell/copy", data, 2, 1, "object", "shift");
}

static void static_interfaces_cell_select (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Cell Select", 
"interfaces/cell/select", data, 1, 1, "list");
}

static void static_interfaces_cell_link (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Cell Link",
"interfaces/cell/link", data, 6, 1, "object", "shift",
"position", "change", "occupancy", "packing");
}

static void static_interfaces_cell_link_rcp (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Cell Link RCP",
"interfaces/cell/rcp", data, 0, 0);
}

static void static_interfaces_cell_modify (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Cell Modify", 
"interfaces/cell/modify", data, 5, 1, "symmetry", "volume",
"position", "origin", "view");
}

static void static_interfaces_cell_measure (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Cell Measure", 
"interfaces/cell/measure", data, 1, 1, "reciprocal");
}

static void static_interfaces_cell_remove (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Cell Remove", 
"interfaces/cell/remove", data, 1, 1, "object");
}

static void static_interfaces_cluster (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Cluster", 
"keywords/cluster", data, 0, 0);
}

static void static_interfaces_cluster_create (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Cluster Create", 
"interfaces/cluster/create", data, 0, 0);
}

static void static_interfaces_cluster_copy (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Cluster Copy",
"interfaces/cluster/copy", data, 2, 1, "object", "shift");
}

static void static_interfaces_cluster_select (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Cluster Select", 
"interfaces/cluster/select", data, 1, 1, "list");
}

static void static_interfaces_cluster_link (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Cluster Link",
"interfaces/cluster/link", data, 2, 1, "object", "shift");
}

static void static_interfaces_cluster_measure (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Cluster Measure", 
"interfaces/cluster/measure", data, 5, 1, "type", "symmetry",
"voronoi", "tolerance", "view");
}

static void static_interfaces_cluster_measure_geometry (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Cluster Measure Geometry",
"interfaces/cluster/geometry", data, 0, 0);
}

static void static_interfaces_cluster_measure_symmetry (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Cluster Measure Symmetry",
"interfaces/cluster/symmetry", data, 0, 0);
}

static void static_interfaces_cluster_measure_voronoi (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Cluster Measure Voronoi",
"interfaces/cluster/voronoi", data, 0, 0);
}

static void static_interfaces_cluster_remove (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Cluster Remove", 
"interfaces/cluster/remove", data, 1, 1, "object");
}

static void static_interfaces_molecule (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Molecule", 
"keywords/molecule", data, 0, 0);
}

static void static_interfaces_molecule_create (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Molecule Create", 
"interfaces/molecule/create", data, 0, 0);
}

static void static_interfaces_molecule_copy (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Molecule Copy",
"interfaces/molecule/copy", data, 2, 1, "object", "shift");
}

static void static_interfaces_molecule_select (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Molecule Select", 
"interfaces/molecule/select", data, 1, 1, "list");
}

static void static_interfaces_molecule_link (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Molecule Link",
"interfaces/molecule/link", data, 2, 1, "object", "shift");
}

static void static_interfaces_molecule_measure (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Molecule Measure", 
"interfaces/molecule/measure", data, 5, 1, "type", "symmetry",
"voronoi", "tolerance", "view");
}

static void static_interfaces_molecule_measure_geometry (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Molecule Measure Geometry",
"interfaces/molecule/geometry", data, 0, 0);
}

static void static_interfaces_molecule_measure_symmetry (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Molecule Measure Symmetry",
"interfaces/molecule/symmetry", data, 0, 0);
}

static void static_interfaces_molecule_measure_voronoi (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Molecule Measure Voronoi",
"interfaces/molecule/voronoi", data, 0, 0);
}

static void static_interfaces_molecule_remove (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Molecule Remove", 
"interfaces/molecule/remove", data, 1, 1, "object");
}

static void static_interfaces_group (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Group", 
"keywords/group", data, 0, 0);
}

static void static_interfaces_group_create (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Group Create",
"interfaces/group/create", data, 4, 1, "type", "scope",
"tolerance", "view");
}

static void static_interfaces_group_copy (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Group Copy",
"interfaces/group/copy", data, 2, 1, "object", "shift");
}

static void static_interfaces_group_create_polytope (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Group Create Polytope",
"interfaces/group/create_polytope", data, 0, 0);
}

static void static_interfaces_group_select (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Group Select", 
"interfaces/group/select", data, 1, 1, "list");
}

static void static_interfaces_group_link (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Group Link",
"interfaces/group/link", data, 2, 1, "object", "shift");
}

static void static_interfaces_group_modify (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Group Modify",
"interfaces/group/modify", data, 4, 1, "type", "scope", 
"tolerance", "view");
}

static void static_interfaces_group_modify_polytope (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Group Modify Polytope",
"interfaces/group/modify_polytope", data, 0, 0);
}

static void static_interfaces_group_measure (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Group Measure",
"interfaces/group/measure", data, 5, 1, "type", "symmetry",
"voronoi", "tolerance", "view");

}

static void static_interfaces_group_measure_geometry (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Group Measure Geometry",
"interfaces/group/geometry", data, 0, 0);
}

static void static_interfaces_group_measure_symmetry (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Group Measure Symmetry",
"interfaces/group/symmetry", data, 0, 0);
}

static void static_interfaces_group_measure_voronoi (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Group Measure Voronoi",
"interfaces/group/voronoi", data, 0, 0);
}

static void static_interfaces_group_remove (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Group Remove", 
"interfaces/group/remove", data, 1, 1, "object");
}

static void static_interfaces_plane (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Plane", 
"keywords/plane", data, 0, 0);
}

static void static_interfaces_plane_create (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Plane Create", 
"interfaces/plane/create", data, 4, 1, "type", "projection",
"scope", "view");
}

static void static_interfaces_plane_copy (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Plane Copy",
"interfaces/plane/copy", data, 2, 1, "object", "shift");
}

static void static_interfaces_plane_select (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Plane Select", 
"interfaces/plane/select", data, 1, 1, "list");
}

static void static_interfaces_plane_link (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Plane Link",
"interfaces/plane/link", data, 2, 1, "object", "shift");
}

static void static_interfaces_plane_modify (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Plane Modify",
"interfaces/plane/modify", data, 4, 1, "type", "projection",
"scope", "view");
}

static void static_interfaces_plane_measure (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Plane Measure", 
"interfaces/plane/measure", data, 3, 1, "length", "area", "angle");
}

static void static_interfaces_plane_remove (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Plane Remove", 
"interfaces/plane/remove", data, 1, 1, "object");
}

static void static_interfaces_direction (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Direction", 
"keywords/direction", data, 0, 0);
}

static void static_interfaces_direction_create (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Direction Create", 
"interfaces/direction/create", data, 4, 1, "type", "projection", 
"scope", "view");
}

static void static_interfaces_direction_copy (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Direction Copy",
"interfaces/direction/copy", data, 2, 1, "object", "shift");
}

static void static_interfaces_direction_select (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Direction Select", 
"interfaces/direction/select", data, 1, 1, "list");
}

static void static_interfaces_direction_link (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Direction Link",
"interfaces/direction/link", data, 2, 1, "object", "shift");
}

static void static_interfaces_direction_modify (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Direction Modify",
"interfaces/direction/modify", data, 4, 1, "type", "projection", 
"scope", "view");
}

static void static_interfaces_direction_measure (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Direction Measure", 
"interfaces/direction/measure", data, 2, 1, "length", "angle");
}

static void static_interfaces_direction_remove (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Direction Remove", 
"interfaces/direction/remove", data, 1, 1, "object");
}

static void static_interfaces_atom (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Atom", 
"keywords/atom", data, 0, 0);
}

static void static_interfaces_atom_create (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Atom Create", 
"interfaces/atom/create", data, 5, 1, "type", "property",
"analysis", "position", "view");
}

static void static_interfaces_atom_copy (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Atom Copy",
"interfaces/atom/copy", data, 2, 1, "object", "shift");
}

static void static_interfaces_atom_select (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Atom Select", 
"interfaces/atom/select", data, 1, 1, "list");
}

static void static_interfaces_atom_link (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Atom Link",
"interfaces/atom/link", data, 2, 1, "object", "shift");
}

static void static_interfaces_atom_modify (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Atom Modify", 
"interfaces/atom/modify", data, 7, 1, "type", "property",
"analysis", "position", "view", "length", "angle");
}

static void static_interfaces_atom_measure (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Atom measure",
"interfaces/atom/measure", data, 2, 1, "length", "angle");
}

static void static_interfaces_atom_remove (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Atom Remove", 
"interfaces/atom/remove", data, 1, 1, "object");
}

static void static_interfaces_atom_config (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Atom Config", 
"interfaces/atom/config", data, 3, 1, "element",
"analysis", "view");
}

static void static_interfaces_bond (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Bond", 
"keywords/bond", data, 0, 0);
}

static void static_interfaces_bond_create (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Bond Create", 
"interfaces/bond/create", data, 4, 1, "method", "length",
"property", "view");
}

static void static_interfaces_bond_select (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Bond Select", 
"interfaces/bond/select", data, 1, 1, "list");
}

static void static_interfaces_bond_link (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Bond Link",
"interfaces/bond/link", data, 2, 1, "object", "shift");
}

static void static_interfaces_bond_modify (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Bond Modify", 
"interfaces/bond/modify", data, 2, 1, "property", "view");
}

static void static_interfaces_bond_remove (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Bond Remove", 
"interfaces/bond/remove", data, 1, 1, "object");
}

static void static_interfaces_bond_config (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Bond Config", 
"interfaces/bond/config", data, 2, 1, "length", "view");
}

static void static_interfaces_orbital (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Orbital", 
"keywords/orbital", data, 0, 0);
}

static void static_interfaces_orbital_select (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Orbital Select", 
"interfaces/orbital/select", data, 0, 0);
}

static void static_interfaces_text (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Text", 
"keywords/text", data, 0, 0);
}

static void static_interfaces_text_create (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Text Create", 
"interfaces/text/create", data, 3, 1, "contents", "position", "view");
}

static void static_interfaces_text_copy (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Text Copy",
"interfaces/text/copy", data, 2, 1, "object", "shift");
}

static void static_interfaces_text_select (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Text Select", 
"interfaces/text/select", data, 1, 1, "list");
}

static void static_interfaces_text_link (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Text Link", 
"interfaces/text/link", data, 2, 1, "object", "shift");
}

static void static_interfaces_text_modify (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Text Modify", 
"interfaces/text/modify", data, 3, 1, "contents", "position", "view");
}

static void static_interfaces_text_remove (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Text Remove", 
"interfaces/text/remove", data, 1, 1, "object");
}

static void static_interfaces_text_config (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Text Config", 
"interfaces/text/config", data, 1, 1, "view");
}

static void static_interfaces_help (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Help", 
"keywords/help", data, 0, 0);
}

static void static_interfaces_help_start (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Help Start", 
"interfaces/help/start", data, 0, 0);
}

static void static_interfaces_help_topic (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Help Topic", 
"interfaces/help/topic", data, 0, 0);
}

static void static_interfaces_help_current (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Help Current", 
"interfaces/help/current", data, 0, 0);
}

static void static_interfaces_help_search (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Help Search", 
"interfaces/help/search", data, 0, 0);
}

static void static_interfaces_help_tutorial (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Help Tutorial", 
"interfaces/help/tutorial", data, 0, 0);
}

static void static_interfaces_help_config (void *data)
{
gamgi_gtk_help_dialog_import ("Help Interfaces Help Config", 
"interfaces/help/config", data, 2, 1, "source", "agent");
}

/****************
 * file formats *
 ****************/

static void static_formats (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats", 
"formats/formats", data, 0, 0);
}

static void static_formats_introduction (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Introduction", 
"formats/introduction/introduction", data, 0, 0);
}

static void static_formats_introduction_language (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Introduction Language", 
"formats/introduction/language", data, 0, 0);
}

static void static_formats_introduction_elements (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Introduction Elements", 
"formats/introduction/elements", data, 0, 0);
}

static void static_formats_introduction_attributes (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Introduction Attributes", 
"formats/introduction/attributes", data, 0, 0);
}

static void static_formats_introduction_headers (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Introduction Headers", 
"formats/introduction/headers", data, 0, 0);
}

static void static_formats_introduction_entities (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Introduction Entities", 
"formats/introduction/entities", data, 0, 0);
}

static void static_formats_introduction_comments (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Introduction Comments", 
"formats/introduction/comments", data, 0, 0);
}

static void static_formats_introduction_identifiers (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Introduction Identifiers", 
"formats/introduction/identifiers", data, 0, 0);
}

static void static_formats_introduction_defaults (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Introduction Defaults", 
"formats/introduction/defaults", data, 0, 0);
}

static void static_formats_introduction_jpeg (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Introduction JPEG",
"formats/introduction/jpeg", data, 0, 0);
}

static void static_formats_introduction_png (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Introduction PNG",
"formats/introduction/png", data, 0, 0);
}

static void static_formats_introduction_ppm (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Introduction PPM",
"formats/introduction/ppm", data, 0, 0);
}

static void static_formats_introduction_ps (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Introduction PS",
"formats/introduction/ps", data, 0, 0);
}

static void static_formats_introduction_tiff (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Introduction TIFF",
"formats/introduction/tiff", data, 0, 0);
}

static void static_formats_introduction_xyz (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Introduction XYZ",
"formats/introduction/xyz", data, 0, 0);
}

static void static_formats_gamgi (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Gamgi",  
"keywords/gamgi", data, 0, 0);
}

static void static_formats_gamgi_config (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Gamgi Config",
"formats/gamgi/config", data, 3, 1, "usability", "precision", "color");
}

static void static_formats_file (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats File",
"keywords/file", data, 0, 0);
}

static void static_formats_file_config (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats File Config",
"formats/file/config", data, 0, 0);
}

static void static_formats_window (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Window",
"keywords/window", data, 0, 0);
}

static void static_formats_window_create (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Window Create",
"formats/window/create", data, 1, 1, "position");
}

static void static_formats_window_config (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Config Window",
"formats/window/config", data, 1, 1, "ruler");
}

static void static_formats_layer (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Layer",
"keywords/layer", data, 0, 0);
}

static void static_formats_layer_create (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Layer Create",
"formats/layer/create", data, 4, 1, "projection", "position", 
"visibility", "view");
}

static void static_formats_layer_config (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Layer Config",
"formats/layer/config", data, 3, 1, "projection", "position", "history");
}

static void static_formats_light (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Light",
"keywords/light", data, 0, 0);
}

static void static_formats_light_create (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Light Create",
"formats/light/create", data, 3, 1, "type", "color", "attenuation");
}

static void static_formats_light_config (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Light Config",
"formats/light/config", data, 2, 1, "color", "materials");
}

static void static_formats_assembly (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Assembly",
"keywords/assembly", data, 0, 0);
}

static void static_formats_assembly_create (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Assembly Create",
"formats/assembly/create", data, 1, 1, "view");
}

static void static_formats_graph (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Graph",
"keywords/graph", data, 0, 0);
}

static void static_formats_graph_create (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Graph Create",
"formats/graph", data, 1, 1, "view");
}

static void static_formats_arrow (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Arrow",
"keywords/arrow", data, 0, 0);
}

static void static_formats_arrow_create (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Arrow Create",
"formats/arrow/create", data, 1, 1, "view");
}

static void static_formats_shape (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Shape",
"keywords/shape", data, 0, 0);
}

static void static_formats_shape_create (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Create Shape",
"formats/shape/create", data, 1, 1, "view");
}

static void static_formats_cell (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Cell",
"keywords/cell", data, 0, 0);
}

static void static_formats_cell_create (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Cell Create",
"formats/cell/create", data, 5, 1, "symmetry", "type", 
"position", "origin", "view");
}

static void static_formats_cell_config (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Cell Config",
"formats/cell/config", data, 0, 0);
}

static void static_formats_cluster (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Cluster",
"keywords/cluster", data, 0, 0);
}

static void static_formats_cluster_create (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Cluster Create",
"formats/cluster/create", data, 1, 1, "view");
}

static void static_formats_molecule (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Molecule",
"keywords/molecule", data, 0, 0);
}

static void static_formats_molecule_create (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Molecule Create",
"formats/molecule/create", data, 1, 1, "view");
}

static void static_formats_group (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Group",
"keywords/group", data, 0, 0);
}

static void static_formats_group_create (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Group Create",
"formats/group/create", data, 1, 1, "view");
}

static void static_formats_plane (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Plane",
"keywords/plane", data, 0, 0);
}

static void static_formats_plane_create (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Plane Create",
"formats/plane/create", data, 4, 1, "type", "projection", 
"scope", "view");
}

static void static_formats_direction (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Direction",
"keywords/direction", data, 0, 0);
}

static void static_formats_direction_create (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Direction Create",
"formats/direction/create", data, 4, 1, "type", "projection", 
"scope", "view");
}

static void static_formats_atom (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Atom",
"keywords/atom", data, 0, 0);
}

static void static_formats_atom_create (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Atom Create",
"formats/atom/create", data, 0, 0);
}

static void static_formats_atom_config (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Atom Config",
"formats/atom/config", data, 0, 0);
}

static void static_formats_bond (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Bond",
"keywords/bond", data, 0, 0);
}

static void static_formats_bond_create (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Bond Create",
"formats/bond/create", data, 3, 1, "mode", "type", "view");
}

static void static_formats_bond_config (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Bond Config",
"formats/bond/config", data, 2, 1, "length", "view");
}

static void static_formats_orbital (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Orbital",
"keywords/orbital", data, 0, 0);
}

static void static_formats_orbital_create (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Orbital Create",
"formats/orbital/create", data, 1, 1, "view");
}

static void static_formats_text (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Text",
"keywords/text", data, 0, 0);
}

static void static_formats_text_create (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Text Create",
"formats/text/create", data, 3, 1, "contents", "position", "view");
}

static void static_formats_text_config (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Text Config",
"formats/text/config", data, 1, 1, "view");
}

static void static_formats_help (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Help",
"keywords/help", data, 0, 0);
}

static void static_formats_help_config (void *data)
{
gamgi_gtk_help_dialog_import ("Help Formats Help Config",
"formats/help/config", data, 2, 1, "source", "agent");
}

static void static_activated (GtkTreeView *treeview, 
GtkTreePath *path, GtkTreeViewColumn *col, void *data)
{
GtkTreeIter iter;
GtkTreeModel *model;
gamgi_function1 function;

/*********************************
 * a row has been double-clicked *
 *********************************/

model = gtk_tree_view_get_model (treeview);
if (gtk_tree_model_get_iter (model, &iter, path) == FALSE) return;

gtk_tree_model_get (model, &iter, 1, &function, -1);
(* function) (data);
}

static void static_ok (GtkWidget *widget, void *data)
{
gamgi_window *window = GAMGI_CAST_WINDOW data;
GtkWidget *dialog = window->dialog0;
GtkWidget *treeview;
GtkTreeSelection *selection;
GtkTreeModel *model;
GtkTreeIter iter;
gamgi_function1 function;

treeview = (GtkWidget *) g_object_get_data (G_OBJECT (dialog), "treeview");
selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (treeview));
if (gtk_tree_selection_get_selected (selection, &model, &iter) == FALSE)
  {
  gamgi_gtk_dialog_message_create ("Error", "Help topic not selected", window);
  return;
  }

gtk_tree_model_get (model, &iter, 1, &function, -1);
(* function) (data);
}

static GtkTreeIter static_row (GtkTreeStore *store, 
GtkTreeIter *parent, char *label, gamgi_function1 function)
{
GtkTreeIter iter;

gtk_tree_store_append (store, &iter, parent);
gtk_tree_store_set (store, &iter, 0, label, 1, function, -1);

return iter;
}

static void static_contents (GtkWidget *treeview)
{
GtkTreeStore *store;
GtkTreeIter iter1, iter2, iter3;

store = gtk_tree_store_new (2, G_TYPE_STRING, G_TYPE_POINTER);

/*********************
 * dialog interfaces *
 *********************/

iter1 = static_row (store, NULL, "Interfaces", static_interfaces);

iter2 = static_row (store, &iter1, "Introduction", static_interfaces_introduction);
static_row (store, &iter2, "Objects", static_interfaces_introduction_objects);
static_row (store, &iter2, "Tasks", static_interfaces_introduction_tasks);
static_row (store, &iter2, "Windows", static_interfaces_introduction_windows);
static_row (store, &iter2, "Starting", static_interfaces_introduction_starting);
static_row (store, &iter2, "Identification", static_interfaces_introduction_identification);
static_row (store, &iter2, "Selection", static_interfaces_introduction_selection);
static_row (store, &iter2, "Mouse", static_interfaces_introduction_mouse);
static_row (store, &iter2, "Keyboard", static_interfaces_introduction_keyboard);
static_row (store, &iter2, "Menus", static_interfaces_introduction_menus);
static_row (store, &iter2, "Drawing", static_interfaces_introduction_drawing);
static_row (store, &iter2, "Tools", static_interfaces_introduction_tools);
static_row (store, &iter2, "Commands", static_interfaces_introduction_commands);
static_row (store, &iter2, "Status", static_interfaces_introduction_status);

iter2 = static_row (store, &iter1, "Gamgi", static_interfaces_gamgi);
static_row (store, &iter2, "About", static_interfaces_gamgi_about);
static_row (store, &iter2, "Reset", static_interfaces_gamgi_reset);
static_row (store, &iter2, "Exit", static_interfaces_gamgi_exit);
static_row (store, &iter2, "Config", static_interfaces_gamgi_config);

iter2 = static_row (store, &iter1, "File", static_interfaces_file);
static_row (store, &iter2, "Import", static_interfaces_file_import);
static_row (store, &iter2, "Export", static_interfaces_file_export);

iter2 = static_row (store, &iter1, "Window", static_interfaces_window);
static_row (store, &iter2, "Copy", static_interfaces_window_copy);
static_row (store, &iter2, "Select", static_interfaces_window_select);
static_row (store, &iter2, "Link", static_interfaces_window_link);
static_row (store, &iter2, "Remove", static_interfaces_window_remove);
static_row (store, &iter2, "Config", static_interfaces_window_config);

iter2 = static_row (store, &iter1, "Layer", static_interfaces_layer);
static_row (store, &iter2, "Create", static_interfaces_layer_create);
static_row (store, &iter2, "Copy", static_interfaces_layer_copy);
static_row (store, &iter2, "Select", static_interfaces_layer_select);
static_row (store, &iter2, "Link", static_interfaces_layer_link);
static_row (store, &iter2, "Modify", static_interfaces_layer_modify);
static_row (store, &iter2, "Remove", static_interfaces_layer_remove);
static_row (store, &iter2, "Config", static_interfaces_layer_config);

iter2 = static_row (store, &iter1, "Light", static_interfaces_light);
static_row (store, &iter2, "Create", static_interfaces_light_create);
static_row (store, &iter2, "Copy", static_interfaces_light_copy);
static_row (store, &iter2, "Select", static_interfaces_light_select);
static_row (store, &iter2, "Link", static_interfaces_light_link);
static_row (store, &iter2, "Modify", static_interfaces_light_modify);
static_row (store, &iter2, "Remove", static_interfaces_light_remove);
static_row (store, &iter2, "Config", static_interfaces_light_config);

iter2 = static_row (store, &iter1, "Assembly", static_interfaces_assembly);
static_row (store, &iter2, "Create", static_interfaces_assembly_create);
static_row (store, &iter2, "Copy", static_interfaces_assembly_copy);
static_row (store, &iter2, "Select", static_interfaces_assembly_select);
static_row (store, &iter2, "Link", static_interfaces_assembly_link);
static_row (store, &iter2, "Remove", static_interfaces_assembly_remove);

iter2 = static_row (store, &iter1, "Graph", static_interfaces_graph);
static_row (store, &iter2, "Select", static_interfaces_graph_select);

iter2 = static_row (store, &iter1, "Shape", static_interfaces_shape);
static_row (store, &iter2, "Select", static_interfaces_shape_select);

iter2 = static_row (store, &iter1, "Arrow", static_interfaces_arrow);
static_row (store, &iter2, "Select", static_interfaces_arrow_select);

iter2 = static_row (store, &iter1, "Cell", static_interfaces_cell);
static_row (store, &iter2, "Create", static_interfaces_cell_create);
static_row (store, &iter2, "Copy", static_interfaces_cell_copy);
static_row (store, &iter2, "Select", static_interfaces_cell_select);
iter3 = static_row (store, &iter2, "Link", static_interfaces_cell_link);
static_row (store, &iter3, "RCP", static_interfaces_cell_link_rcp);
static_row (store, &iter2, "Modify", static_interfaces_cell_modify);
static_row (store, &iter2, "Measure", static_interfaces_cell_measure);
static_row (store, &iter2, "Remove", static_interfaces_cell_remove);

iter2 = static_row (store, &iter1, "Cluster", static_interfaces_cluster);
static_row (store, &iter2, "Create", static_interfaces_cluster_create);
static_row (store, &iter2, "Copy", static_interfaces_cluster_copy);
static_row (store, &iter2, "Select", static_interfaces_cluster_select);
static_row (store, &iter2, "Link", static_interfaces_cluster_link);
iter3 = static_row (store, &iter2, "Measure", static_interfaces_cluster_measure);
static_row (store, &iter3, "Geometry", static_interfaces_cluster_measure_geometry);
static_row (store, &iter3, "Symmetry", static_interfaces_cluster_measure_symmetry);
static_row (store, &iter3, "Voronoi", static_interfaces_cluster_measure_voronoi);
static_row (store, &iter2, "Remove", static_interfaces_cluster_remove);

iter2 = static_row (store, &iter1, "Molecule", static_interfaces_molecule);
static_row (store, &iter2, "Create", static_interfaces_molecule_create);
static_row (store, &iter2, "Copy", static_interfaces_molecule_copy);
static_row (store, &iter2, "Select", static_interfaces_molecule_select);
static_row (store, &iter2, "Link", static_interfaces_molecule_link);
iter3 = static_row (store, &iter2, "Measure", static_interfaces_molecule_measure);
static_row (store, &iter3, "Geometry", static_interfaces_molecule_measure_geometry);
static_row (store, &iter3, "Symmetry", static_interfaces_molecule_measure_symmetry);
static_row (store, &iter3, "Voronoi", static_interfaces_molecule_measure_voronoi);
static_row (store, &iter2, "Remove", static_interfaces_molecule_remove);

iter2 = static_row (store, &iter1, "Group", static_interfaces_group);
iter3 = static_row (store, &iter2, "Create", static_interfaces_group_create);
static_row (store, &iter2, "Copy", static_interfaces_group_copy);
static_row (store, &iter3, "Polytope", static_interfaces_group_create_polytope);
static_row (store, &iter2, "Select", static_interfaces_group_select);
static_row (store, &iter2, "Link", static_interfaces_group_link);
iter3 = static_row (store, &iter2, "Measure", static_interfaces_group_measure);
static_row (store, &iter3, "Geometry", static_interfaces_group_measure_geometry);
static_row (store, &iter3, "Symmetry", static_interfaces_group_measure_symmetry);
static_row (store, &iter3, "Voronoi", static_interfaces_group_measure_voronoi);
iter3 = static_row (store, &iter2, "Modify", static_interfaces_group_modify);
static_row (store, &iter3, "Polytope", static_interfaces_group_modify_polytope);
static_row (store, &iter2, "Remove", static_interfaces_group_remove);

iter2 = static_row (store, &iter1, "Plane", static_interfaces_plane);
static_row (store, &iter2, "Create", static_interfaces_plane_create);
static_row (store, &iter2, "Copy", static_interfaces_plane_copy);
static_row (store, &iter2, "Select", static_interfaces_plane_select);
static_row (store, &iter2, "Link", static_interfaces_plane_link);
static_row (store, &iter2, "Modify", static_interfaces_plane_modify);
static_row (store, &iter2, "Measure", static_interfaces_plane_measure);
static_row (store, &iter2, "Remove", static_interfaces_plane_remove);

iter2 = static_row (store, &iter1, "Direction", static_interfaces_direction);
static_row (store, &iter2, "Create", static_interfaces_direction_create);
static_row (store, &iter2, "Copy", static_interfaces_direction_copy);
static_row (store, &iter2, "Select", static_interfaces_direction_select);
static_row (store, &iter2, "Link", static_interfaces_direction_link);
static_row (store, &iter2, "Modify", static_interfaces_direction_modify);
static_row (store, &iter2, "Measure", static_interfaces_direction_measure);
static_row (store, &iter2, "Remove", static_interfaces_direction_remove);

iter2 = static_row (store, &iter1, "Atom", static_interfaces_atom);
static_row (store, &iter2, "Create", static_interfaces_atom_create);
static_row (store, &iter2, "Copy", static_interfaces_atom_copy);
static_row (store, &iter2, "Select", static_interfaces_atom_select);
static_row (store, &iter2, "Link", static_interfaces_atom_link);
static_row (store, &iter2, "Modify", static_interfaces_atom_modify);
static_row (store, &iter2, "Measure", static_interfaces_atom_measure);
static_row (store, &iter2, "Remove", static_interfaces_atom_remove);
static_row (store, &iter2, "Config", static_interfaces_atom_config);

iter2 = static_row (store, &iter1, "Bond", static_interfaces_bond);
static_row (store, &iter2, "Create", static_interfaces_bond_create);
static_row (store, &iter2, "Select", static_interfaces_bond_select);
static_row (store, &iter2, "Link", static_interfaces_bond_link);
static_row (store, &iter2, "Modify", static_interfaces_bond_modify);
static_row (store, &iter2, "Remove", static_interfaces_bond_remove);
static_row (store, &iter2, "Config", static_interfaces_bond_config);

iter2 = static_row (store, &iter1, "Orbital", static_interfaces_orbital);
static_row (store, &iter2, "Select", static_interfaces_orbital_select);

iter2 = static_row (store, &iter1, "Text", static_interfaces_text);
static_row (store, &iter2, "Create", static_interfaces_text_create);
static_row (store, &iter2, "Copy", static_interfaces_text_copy);
static_row (store, &iter2, "Select", static_interfaces_text_select);
static_row (store, &iter2, "Link", static_interfaces_text_link);
static_row (store, &iter2, "Modify", static_interfaces_text_modify);
static_row (store, &iter2, "Remove", static_interfaces_text_remove);
static_row (store, &iter2, "Config", static_interfaces_text_config);

iter2 = static_row (store, &iter1, "Help", static_interfaces_help);
static_row (store, &iter2, "Start", static_interfaces_help_start);
static_row (store, &iter2, "Topic", static_interfaces_help_topic);
static_row (store, &iter2, "Current", static_interfaces_help_current);
static_row (store, &iter2, "Search", static_interfaces_help_search);
static_row (store, &iter2, "Tutorial", static_interfaces_help_tutorial);
static_row (store, &iter2, "Config", static_interfaces_help_config);

/****************
 * file formats *
 ****************/

iter1 = static_row (store, NULL, "Formats", static_formats);

iter2 = static_row (store, &iter1, "Introduction", static_formats_introduction);
static_row (store, &iter2, "Language", static_formats_introduction_language);
static_row (store, &iter2, "Elements", static_formats_introduction_elements);
static_row (store, &iter2, "Attributes", static_formats_introduction_attributes);
static_row (store, &iter2, "Headers", static_formats_introduction_headers);
static_row (store, &iter2, "Entities", static_formats_introduction_entities);
static_row (store, &iter2, "Comments", static_formats_introduction_comments);
static_row (store, &iter2, "Identifiers", static_formats_introduction_identifiers);
static_row (store, &iter2, "Defaults", static_formats_introduction_defaults);

static_row (store, &iter2, "JPEG", static_formats_introduction_jpeg);
static_row (store, &iter2, "PNG", static_formats_introduction_png);
static_row (store, &iter2, "PPM", static_formats_introduction_ppm);
static_row (store, &iter2, "PS", static_formats_introduction_ps);
static_row (store, &iter2, "TIFF", static_formats_introduction_tiff);
static_row (store, &iter2, "XYZ", static_formats_introduction_xyz);

iter2 = static_row (store, &iter1, "Gamgi", static_formats_gamgi);
static_row (store, &iter2, "Config", static_formats_gamgi_config);

iter2 = static_row (store, &iter1, "File", static_formats_file);
static_row (store, &iter2, "Config", static_formats_file_config);

iter2 = static_row (store, &iter1, "Window", static_formats_window);
static_row (store, &iter2, "Create", static_formats_window_create);
static_row (store, &iter2, "Config", static_formats_window_config);

iter2 = static_row (store, &iter1, "Layer", static_formats_layer);
static_row (store, &iter2, "Create", static_formats_layer_create);
static_row (store, &iter2, "Config", static_formats_layer_config);

iter2 = static_row (store, &iter1, "Light", static_formats_light);
static_row (store, &iter2, "Create", static_formats_light_create);
static_row (store, &iter2, "Config", static_formats_light_config);

iter2 = static_row (store, &iter1, "Assembly", static_formats_assembly);
static_row (store, &iter2, "Create", static_formats_assembly_create);

iter2 = static_row (store, &iter1, "Graph", static_formats_graph);
static_row (store, &iter2, "Create", static_formats_graph_create);

iter2 = static_row (store, &iter1, "Arrow", static_formats_arrow);
static_row (store, &iter2, "Create", static_formats_arrow_create);

iter2 = static_row (store, &iter1, "Shape", static_formats_shape);
static_row (store, &iter2, "Create", static_formats_shape_create);

iter2 = static_row (store, &iter1, "Cell", static_formats_cell);
static_row (store, &iter2, "Create", static_formats_cell_create);
static_row (store, &iter2, "Config", static_formats_cell_config);

iter2 = static_row (store, &iter1, "Cluster", static_formats_cluster);
static_row (store, &iter2, "Create", static_formats_cluster_create);

iter2 = static_row (store, &iter1, "Molecule", static_formats_molecule);
static_row (store, &iter2, "Create", static_formats_molecule_create);

iter2 = static_row (store, &iter1, "Group", static_formats_group);
static_row (store, &iter2, "Create", static_formats_group_create);

iter2 = static_row (store, &iter1, "Plane", static_formats_plane);
static_row (store, &iter2, "Create", static_formats_plane_create);

iter2 = static_row (store, &iter1, "Direction", static_formats_direction);
static_row (store, &iter2, "Create", static_formats_direction_create);

iter2 = static_row (store, &iter1, "Atom", static_formats_atom);
static_row (store, &iter2, "Create", static_formats_atom_create);
static_row (store, &iter2, "Config", static_formats_atom_config);

iter2 = static_row (store, &iter1, "Bond", static_formats_bond);
static_row (store, &iter2, "Create", static_formats_bond_create);
static_row (store, &iter2, "Config", static_formats_bond_config);

iter2 = static_row (store, &iter1, "Orbital", static_formats_orbital);
static_row (store, &iter2, "Create", static_formats_orbital_create);

iter2 = static_row (store, &iter1, "Text", static_formats_text);
static_row (store, &iter2, "Create", static_formats_text_create);
static_row (store, &iter2, "Config", static_formats_text_config);

iter2 = static_row (store, &iter1, "Help", static_formats_help);
static_row (store, &iter2, "Config", static_formats_help_config);

gtk_tree_view_set_model (GTK_TREE_VIEW (treeview), GTK_TREE_MODEL (store));
g_object_unref (store);
}

/********************* external function ************************
 *                                                              *
 *                   GAMGI_GTK_HELP_TOPIC                       *
 *                                                              *
 *                                                              *
 ****************************************************************/

void gamgi_gtk_help_topic (GtkWidget *widget, void *data)
{
gamgi_window *window = GAMGI_CAST_WINDOW data;
GtkWidget *dialog;
GtkWidget *scrolled_window;
GtkWidget *button;
GtkWidget *vbox_dialog;
GtkWidget *hbox_center;
GtkWidget *treeview;
GtkCellRenderer *renderer;
GtkTreeViewColumn *column;
GtkTreeSelection *selection;

dialog = gamgi_gtk_dialog_task0_create ("Help Topic", window);
window->action = GAMGI_GTK_HELP_TOPIC;
gtk_container_set_border_width (GTK_CONTAINER (dialog), 5);

vbox_dialog = gtk_vbox_new (FALSE, 5);
gtk_container_add (GTK_CONTAINER (dialog), vbox_dialog);
gtk_widget_show (vbox_dialog);

scrolled_window = gtk_scrolled_window_new (NULL, NULL);
gtk_box_pack_start (GTK_BOX (vbox_dialog), scrolled_window, TRUE, TRUE, 0);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_window),
GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); 
gtk_widget_show (scrolled_window);
  
treeview = gtk_tree_view_new ();
gtk_container_add (GTK_CONTAINER (scrolled_window), treeview);
gtk_widget_set_size_request (treeview,
GAMGI_GTK_HELP_TOPIC_WIDTH, GAMGI_GTK_HELP_TOPIC_HEIGHT);
selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (treeview));
gtk_tree_selection_set_mode (selection, GTK_SELECTION_BROWSE);
g_signal_connect (treeview, "row-activated",
G_CALLBACK (static_activated), window);
g_object_set_data (G_OBJECT (dialog), "treeview", treeview);
gtk_widget_show (treeview);

renderer = gtk_cell_renderer_text_new ();
column = gtk_tree_view_column_new_with_attributes ("Object", renderer, "text", 0, NULL);
gtk_tree_view_append_column (GTK_TREE_VIEW (treeview), column);
gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (treeview), FALSE);

static_contents (treeview);

/*********************
 * Ok/Cancel buttons *
 *********************/

hbox_center = gtk_hbox_new (TRUE, 0);
gtk_box_pack_start (GTK_BOX (vbox_dialog), hbox_center, FALSE, FALSE, 0);
gtk_widget_show (hbox_center);

button = gamgi_gtk_dialog_button_create ("Ok", NULL);
gtk_box_pack_start (GTK_BOX (hbox_center), button, FALSE, FALSE, 0);
gtk_widget_set_size_request (button, GAMGI_GTK_BUTTON_WIDTH, -1);
g_signal_connect (button, "clicked",
G_CALLBACK (static_ok), window);
gtk_widget_show (button);

button = gamgi_gtk_dialog_button_create ("Cancel", "red");
gtk_box_pack_start (GTK_BOX (hbox_center), button, FALSE, FALSE, 0);
gtk_widget_set_size_request (button, GAMGI_GTK_BUTTON_WIDTH, -1);
gtk_widget_grab_focus (button);
g_signal_connect (button, "clicked",
G_CALLBACK (gamgi_gtk_dialog_task0_remove), window);
gtk_widget_show (button);

gtk_widget_show (dialog);
}