"Fossies" - the Fresh Open Source Software Archive

Member "gamgi0.17.5x/src/gtk/help/gamgi_gtk_help_topic.c" (23 Feb 2022, 59259 Bytes) of package /linux/misc/gamgi-all-0.17.5x.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 /**********************************************
    2  *
    3  * $GAMGI/src/gtk/help/gamgi_gtk_help_topic.c
    4  *
    5  * Copyright (C) 2004 Carlos Pereira
    6  *
    7  * Distributed under the terms of the GNU
    8  * General Public License: $GAMGI/LICENSE
    9  *
   10  */
   11 
   12 #include "gamgi_engine.h"
   13 #include "gamgi_gtk.h"
   14 
   15 #include "gamgi_gtk_dialog.h"
   16 #include "gamgi_gtk_help_dialog.h"
   17 
   18 static void static_interfaces (void *data)
   19 {
   20 gamgi_gtk_help_dialog_import ("Help Interfaces",
   21 "interfaces/interfaces", data, 0, 0);
   22 }
   23 
   24 static void static_interfaces_introduction (void *data)
   25 {
   26 gamgi_gtk_help_dialog_import ("Help Interfaces Introduction",
   27 "interfaces/introduction/introduction", data, 0, 0);
   28 }
   29 
   30 static void static_interfaces_introduction_objects (void *data)
   31 {
   32 gamgi_gtk_help_dialog_import ("Help Interfaces Introduction Objects", 
   33 "interfaces/introduction/objects", data, 0, 0);
   34 }
   35 
   36 static void static_interfaces_introduction_tasks (void *data)
   37 {
   38 gamgi_gtk_help_dialog_import ("Help Interfaces Introduction Tasks", 
   39 "interfaces/introduction/tasks", data, 0, 0);
   40 }
   41 
   42 static void static_interfaces_introduction_windows (void *data)
   43 {
   44 gamgi_gtk_help_dialog_import ("Help Interfaces Introduction Windows", 
   45 "interfaces/introduction/windows", data, 0, 0);
   46 }
   47 
   48 static void static_interfaces_introduction_starting (void *data)
   49 {
   50 gamgi_gtk_help_dialog_import ("Help Interfaces Introduction Starting", 
   51 "interfaces/introduction/starting", data, 0, 0);
   52 }
   53 
   54 static void static_interfaces_introduction_identification (void *data)
   55 {
   56 gamgi_gtk_help_dialog_import ("Help Interfaces Introduction Identification", 
   57 "interfaces/introduction/identification", data, 0, 0);
   58 }
   59 
   60 static void static_interfaces_introduction_selection (void *data)
   61 {
   62 gamgi_gtk_help_dialog_import ("Help Interfaces Introduction Selection", 
   63 "interfaces/introduction/selection", data, 0, 0);
   64 }
   65 
   66 static void static_interfaces_introduction_mouse (void *data)
   67 {
   68 gamgi_gtk_help_dialog_import ("Help Interfaces Introduction Mouse", 
   69 "interfaces/introduction/mouse", data, 0, 0);
   70 }
   71 
   72 static void static_interfaces_introduction_keyboard (void *data)
   73 {
   74 gamgi_gtk_help_dialog_import ("Help Interfaces Introduction Keyboard", 
   75 "interfaces/introduction/keyboard", data, 0, 0);
   76 }
   77 
   78 static void static_interfaces_introduction_menus (void *data)
   79 {
   80 gamgi_gtk_help_dialog_import ("Help Interfaces Introduction Menus", 
   81 "interfaces/introduction/menus", data, 0, 0);
   82 }
   83 
   84 static void static_interfaces_introduction_drawing (void *data)
   85 {
   86 gamgi_gtk_help_dialog_import ("Help Interfaces Introduction Drawing", 
   87 "interfaces/introduction/drawing", data, 0, 0);
   88 }
   89 
   90 static void static_interfaces_introduction_tools (void *data)
   91 {
   92 gamgi_gtk_help_dialog_import ("Help Interfaces Introduction Tools", 
   93 "interfaces/introduction/tools", data, 0, 0);
   94 }
   95 
   96 static void static_interfaces_introduction_commands (void *data)
   97 {
   98 gamgi_gtk_help_dialog_import ("Help Interfaces Introduction Commands", 
   99 "interfaces/introduction/commands", data, 0, 0);
  100 }
  101 
  102 static void static_interfaces_introduction_status (void *data)
  103 {
  104 gamgi_gtk_help_dialog_import ("Help Interfaces Introduction Status", 
  105 "interfaces/introduction/status", data, 0, 0);
  106 }
  107 
  108 static void static_interfaces_gamgi (void *data)
  109 {
  110 gamgi_gtk_help_dialog_import ("Help Interfaces Gamgi", 
  111 "keywords/gamgi", data, 0, 0);
  112 }
  113 
  114 static void static_interfaces_gamgi_about (void *data)
  115 {
  116 gamgi_gtk_help_dialog_import ("Help Interfaces Gamgi About", 
  117 "interfaces/gamgi/about", data, 0, 0);
  118 }
  119 
  120 static void static_interfaces_gamgi_reset (void *data)
  121 {
  122 gamgi_gtk_help_dialog_import ("Help Interfaces Gamgi Reset", 
  123 "interfaces/gamgi/reset", data, 0, 0);
  124 }
  125 
  126 static void static_interfaces_gamgi_exit (void *data)
  127 {
  128 gamgi_gtk_help_dialog_import ("Help Interfaces Gamgi Exit", 
  129 "interfaces/gamgi/exit", data, 0, 0);
  130 }
  131 
  132 static void static_interfaces_gamgi_config (void *data)
  133 {
  134 gamgi_gtk_help_dialog_import ("Help Interfaces Gamgi Config", 
  135 "interfaces/gamgi/config", data, 3, 1, "usability", 
  136 "precision", "color");
  137 }
  138 
  139 static void static_interfaces_file (void *data)
  140 {
  141 gamgi_gtk_help_dialog_import ("Help Interfaces File", 
  142 "keywords/file", data, 0, 0);
  143 }
  144 
  145 static void static_interfaces_file_import (void *data)
  146 {
  147 gamgi_gtk_help_dialog_import ("Help Interfaces File Import", 
  148 "interfaces/file/import", data, 2, 1, "location", "filters");
  149 }
  150 
  151 static void static_interfaces_file_export (void *data)
  152 {
  153 gamgi_gtk_help_dialog_import ("Help Interfaces File Export", 
  154 "interfaces/file/export", data, 2, 1, "location", "filters");
  155 }
  156 
  157 static void static_interfaces_window (void *data)
  158 {
  159 gamgi_gtk_help_dialog_import ("Help Interfaces Window", 
  160 "keywords/window", data, 0, 0);
  161 }
  162 
  163 static void static_interfaces_window_copy (void *data)
  164 {
  165 gamgi_gtk_help_dialog_import ("Help Interfaces Window Copy",
  166 "interfaces/window/copy", data, 1, 1, "object");
  167 }
  168 
  169 static void static_interfaces_window_select (void *data)
  170 {
  171 gamgi_gtk_help_dialog_import ("Help Interfaces Window Select", 
  172 "interfaces/window/select", data, 1, 1, "list");
  173 }
  174 
  175 static void static_interfaces_window_link (void *data)
  176 {
  177 gamgi_gtk_help_dialog_import ("Help Interfaces Window Link",
  178 "interfaces/window/link", data, 2, 1, "object", "shift");
  179 }
  180 
  181 static void static_interfaces_window_remove (void *data)
  182 {
  183 gamgi_gtk_help_dialog_import ("Help Interfaces Window Remove", 
  184 "interfaces/window/remove", data, 1, 1, "object");
  185 }
  186 
  187 static void static_interfaces_window_config (void *data)
  188 {
  189 gamgi_gtk_help_dialog_import ("Help Interfaces Window Config", 
  190 "interfaces/window/config", data, 1, 1, "ruler");
  191 }
  192 
  193 static void static_interfaces_layer (void *data)
  194 {
  195 gamgi_gtk_help_dialog_import ("Help Interfaces Layer", 
  196 "keywords/layer", data, 0, 0);
  197 }
  198 
  199 static void static_interfaces_layer_create (void *data)
  200 {
  201 gamgi_gtk_help_dialog_import ("Help Interfaces Layer Create", 
  202 "interfaces/layer/create", data, 4, 1, "projection", 
  203 "position", "visibility", "view");
  204 }
  205 
  206 static void static_interfaces_layer_copy (void *data)
  207 {
  208 gamgi_gtk_help_dialog_import ("Help Interfaces Layer Copy",
  209 "interfaces/layer/copy", data, 2, 1, "object", "shift");
  210 }
  211 
  212 static void static_interfaces_layer_select (void *data)
  213 {
  214 gamgi_gtk_help_dialog_import ("Help Interfaces Layer Select", 
  215 "interfaces/layer/select", data, 1, 1, "list");
  216 }
  217 
  218 static void static_interfaces_layer_link (void *data)
  219 {
  220 gamgi_gtk_help_dialog_import ("Help Interfaces Layer Link",
  221 "interfaces/layer/link", data, 2, 1, "object", "shift");
  222 }
  223 
  224 static void static_interfaces_layer_modify (void *data)
  225 {
  226 gamgi_gtk_help_dialog_import ("Help Interfaces Layer Modify",
  227 "interfaces/layer/modify", data, 4, 1, "projection", "position", 
  228 "visibility", "view");
  229 }
  230 
  231 static void static_interfaces_layer_remove (void *data)
  232 {
  233 gamgi_gtk_help_dialog_import ("Help Interfaces Layer Remove", 
  234 "interfaces/layer/remove", data, 1, 1, "object");
  235 }
  236 
  237 static void static_interfaces_layer_config (void *data)
  238 {
  239 gamgi_gtk_help_dialog_import ("Help Interfaces Layer Config", 
  240 "interfaces/layer/config", data, 3, 1, "projection", "position", "history");
  241 }
  242 
  243 static void static_interfaces_light (void *data)
  244 {
  245 gamgi_gtk_help_dialog_import ("Help Interfaces Light", 
  246 "keywords/light", data, 0, 0);
  247 }
  248 
  249 static void static_interfaces_light_create (void *data)
  250 {
  251 gamgi_gtk_help_dialog_import ("Help Interfaces Light Create", 
  252 "interfaces/light/create", data, 3, 1, "geometry", "color", "attenuation");
  253 }
  254 
  255 static void static_interfaces_light_copy (void *data)
  256 {
  257 gamgi_gtk_help_dialog_import ("Help Interfaces Light Copy",
  258 "interfaces/light/copy", data, 2, 1, "object", "shift");
  259 }
  260 
  261 static void static_interfaces_light_select (void *data)
  262 {
  263 gamgi_gtk_help_dialog_import ("Help Interfaces Light Select", 
  264 "interfaces/light/select", data, 1, 1, "list");
  265 }
  266 
  267 static void static_interfaces_light_link (void *data)
  268 {
  269 gamgi_gtk_help_dialog_import ("Help Interfaces Light Link",
  270 "interfaces/light/link", data, 2, 1, "object", "shift");
  271 }
  272 
  273 static void static_interfaces_light_modify (void *data)
  274 {
  275 gamgi_gtk_help_dialog_import ("Help Interfaces Light Modify",
  276 "interfaces/light/modify", data, 3, 1, "geometry", "color", "attenuation");
  277 }
  278 
  279 static void static_interfaces_light_remove (void *data)
  280 {
  281 gamgi_gtk_help_dialog_import ("Help Interfaces Light Remove", 
  282 "interfaces/light/remove", data, 1, 1, "object");
  283 }
  284 
  285 static void static_interfaces_light_config (void *data)
  286 {
  287 gamgi_gtk_help_dialog_import ("Help Interfaces Light Config", 
  288 "interfaces/light/config", data, 2, 1, "color", "global");
  289 }
  290 
  291 static void static_interfaces_assembly (void *data)
  292 {
  293 gamgi_gtk_help_dialog_import ("Help Interfaces Assembly", 
  294 "keywords/assembly", data, 0, 0);
  295 }
  296 
  297 static void static_interfaces_assembly_create (void *data)
  298 {
  299 gamgi_gtk_help_dialog_import ("Help Interfaces Assembly Create", 
  300 "interfaces/assembly/create", data, 0, 0);
  301 }
  302 
  303 static void static_interfaces_assembly_copy (void *data)
  304 {
  305 gamgi_gtk_help_dialog_import ("Help Interfaces Assembly Copy",
  306 "interfaces/assembly/copy", data, 2, 1, "object", "shift");
  307 }
  308 
  309 static void static_interfaces_assembly_select (void *data)
  310 {
  311 gamgi_gtk_help_dialog_import ("Help Interfaces Assembly Select", 
  312 "interfaces/assembly/select", data, 1, 1, "list");
  313 }
  314 
  315 static void static_interfaces_assembly_link (void *data)
  316 {
  317 gamgi_gtk_help_dialog_import ("Help Interfaces Assembly Link",
  318 "interfaces/assembly/link", data, 2, 1, "object", "shift");
  319 }
  320 
  321 static void static_interfaces_assembly_remove (void *data)
  322 {
  323 gamgi_gtk_help_dialog_import ("Help Interfaces Assembly Remove", 
  324 "interfaces/assembly/remove", data, 1, 1, "object");
  325 }
  326 
  327 static void static_interfaces_graph (void *data)
  328 {
  329 gamgi_gtk_help_dialog_import ("Help Interfaces Graph", 
  330 "keywords/graph", data, 0, 0);
  331 }
  332 
  333 static void static_interfaces_graph_select (void *data)
  334 {
  335 gamgi_gtk_help_dialog_import ("Help Interfaces Graph Select", 
  336 "interfaces/graph/select", data, 0, 0);
  337 }
  338 
  339 static void static_interfaces_shape (void *data)
  340 {
  341 gamgi_gtk_help_dialog_import ("Help Interfaces Shape", 
  342 "keywords/shape", data, 0, 0);
  343 }
  344 
  345 static void static_interfaces_shape_select (void *data)
  346 {
  347 gamgi_gtk_help_dialog_import ("Help Interfaces Shape Select", 
  348 "interfaces/shape/select", data, 0, 0);
  349 }
  350 
  351 static void static_interfaces_arrow (void *data)
  352 {
  353 gamgi_gtk_help_dialog_import ("Help Interfaces Arrow", 
  354 "keywords/arrow", data, 0, 0);
  355 }
  356 
  357 static void static_interfaces_arrow_select (void *data)
  358 {
  359 gamgi_gtk_help_dialog_import ("Help Interfaces Arrow", 
  360 "interfaces/arrow/select", data, 0, 0);
  361 }
  362 
  363 static void static_interfaces_cell (void *data)
  364 {
  365 gamgi_gtk_help_dialog_import ("Help Interfaces Cell", 
  366 "keywords/cell", data, 0, 0);
  367 }
  368 
  369 static void static_interfaces_cell_create (void *data)
  370 {
  371 gamgi_gtk_help_dialog_import ("Help Interfaces Cell Create", 
  372 "interfaces/cell/create", data, 5, 1, "symmetry", "volume",
  373 "position", "origin", "view");
  374 }
  375 
  376 static void static_interfaces_cell_copy (void *data)
  377 {
  378 gamgi_gtk_help_dialog_import ("Help Interfaces Cell Copy",
  379 "interfaces/cell/copy", data, 2, 1, "object", "shift");
  380 }
  381 
  382 static void static_interfaces_cell_select (void *data)
  383 {
  384 gamgi_gtk_help_dialog_import ("Help Interfaces Cell Select", 
  385 "interfaces/cell/select", data, 1, 1, "list");
  386 }
  387 
  388 static void static_interfaces_cell_link (void *data)
  389 {
  390 gamgi_gtk_help_dialog_import ("Help Interfaces Cell Link",
  391 "interfaces/cell/link", data, 6, 1, "object", "shift",
  392 "position", "change", "occupancy", "packing");
  393 }
  394 
  395 static void static_interfaces_cell_link_rcp (void *data)
  396 {
  397 gamgi_gtk_help_dialog_import ("Help Interfaces Cell Link RCP",
  398 "interfaces/cell/rcp", data, 0, 0);
  399 }
  400 
  401 static void static_interfaces_cell_modify (void *data)
  402 {
  403 gamgi_gtk_help_dialog_import ("Help Interfaces Cell Modify", 
  404 "interfaces/cell/modify", data, 5, 1, "symmetry", "volume",
  405 "position", "origin", "view");
  406 }
  407 
  408 static void static_interfaces_cell_measure (void *data)
  409 {
  410 gamgi_gtk_help_dialog_import ("Help Interfaces Cell Measure", 
  411 "interfaces/cell/measure", data, 5, 1, "type", "reciprocal",
  412 "voronoi", "tolerance", "view");
  413 }
  414 
  415 static void static_interfaces_cell_measure_geometry (void *data)
  416 {
  417 gamgi_gtk_help_dialog_import ("Help Interfaces Cell Measure Geometry",
  418 "interfaces/cell/geometry", data, 0, 0);
  419 }
  420 
  421 static void static_interfaces_cell_measure_voronoi (void *data)
  422 {
  423 gamgi_gtk_help_dialog_import ("Help Interfaces Cell Measure Voronoi",
  424 "interfaces/cell/voronoi", data, 0, 0);
  425 }
  426 
  427 static void static_interfaces_cell_remove (void *data)
  428 {
  429 gamgi_gtk_help_dialog_import ("Help Interfaces Cell Remove", 
  430 "interfaces/cell/remove", data, 1, 1, "object");
  431 }
  432 
  433 static void static_interfaces_cell_config (void *data)
  434 {
  435 gamgi_gtk_help_dialog_import ("Help Interfaces Cell Config",
  436 "interfaces/cell/config", data, 4, 1, "volume", "origin",
  437 "view", "global");
  438 }
  439 
  440 static void static_interfaces_cluster (void *data)
  441 {
  442 gamgi_gtk_help_dialog_import ("Help Interfaces Cluster", 
  443 "keywords/cluster", data, 0, 0);
  444 }
  445 
  446 static void static_interfaces_cluster_create (void *data)
  447 {
  448 gamgi_gtk_help_dialog_import ("Help Interfaces Cluster Create", 
  449 "interfaces/cluster/create", data, 0, 0);
  450 }
  451 
  452 static void static_interfaces_cluster_copy (void *data)
  453 {
  454 gamgi_gtk_help_dialog_import ("Help Interfaces Cluster Copy",
  455 "interfaces/cluster/copy", data, 2, 1, "object", "shift");
  456 }
  457 
  458 static void static_interfaces_cluster_select (void *data)
  459 {
  460 gamgi_gtk_help_dialog_import ("Help Interfaces Cluster Select", 
  461 "interfaces/cluster/select", data, 1, 1, "list");
  462 }
  463 
  464 static void static_interfaces_cluster_link (void *data)
  465 {
  466 gamgi_gtk_help_dialog_import ("Help Interfaces Cluster Link",
  467 "interfaces/cluster/link", data, 2, 1, "object", "shift");
  468 }
  469 
  470 static void static_interfaces_cluster_measure (void *data)
  471 {
  472 gamgi_gtk_help_dialog_import ("Help Interfaces Cluster Measure", 
  473 "interfaces/cluster/measure", data, 5, 1, "type", "symmetry",
  474 "voronoi", "tolerance", "view");
  475 }
  476 
  477 static void static_interfaces_cluster_measure_geometry (void *data)
  478 {
  479 gamgi_gtk_help_dialog_import ("Help Interfaces Cluster Measure Geometry",
  480 "interfaces/cluster/geometry", data, 0, 0);
  481 }
  482 
  483 static void static_interfaces_cluster_measure_symmetry (void *data)
  484 {
  485 gamgi_gtk_help_dialog_import ("Help Interfaces Cluster Measure Symmetry",
  486 "interfaces/cluster/symmetry", data, 0, 0);
  487 }
  488 
  489 static void static_interfaces_cluster_measure_voronoi (void *data)
  490 {
  491 gamgi_gtk_help_dialog_import ("Help Interfaces Cluster Measure Voronoi",
  492 "interfaces/cluster/voronoi", data, 0, 0);
  493 }
  494 
  495 static void static_interfaces_cluster_remove (void *data)
  496 {
  497 gamgi_gtk_help_dialog_import ("Help Interfaces Cluster Remove", 
  498 "interfaces/cluster/remove", data, 1, 1, "object");
  499 }
  500 
  501 static void static_interfaces_molecule (void *data)
  502 {
  503 gamgi_gtk_help_dialog_import ("Help Interfaces Molecule", 
  504 "keywords/molecule", data, 0, 0);
  505 }
  506 
  507 static void static_interfaces_molecule_create (void *data)
  508 {
  509 gamgi_gtk_help_dialog_import ("Help Interfaces Molecule Create", 
  510 "interfaces/molecule/create", data, 1, 1, "type");
  511 }
  512 
  513 static void static_interfaces_molecule_copy (void *data)
  514 {
  515 gamgi_gtk_help_dialog_import ("Help Interfaces Molecule Copy",
  516 "interfaces/molecule/copy", data, 2, 1, "object", "shift");
  517 }
  518 
  519 static void static_interfaces_molecule_select (void *data)
  520 {
  521 gamgi_gtk_help_dialog_import ("Help Interfaces Molecule Select", 
  522 "interfaces/molecule/select", data, 1, 1, "list");
  523 }
  524 
  525 static void static_interfaces_molecule_link (void *data)
  526 {
  527 gamgi_gtk_help_dialog_import ("Help Interfaces Molecule Link",
  528 "interfaces/molecule/link", data, 2, 1, "object", "shift");
  529 }
  530 
  531 static void static_interfaces_molecule_measure (void *data)
  532 {
  533 gamgi_gtk_help_dialog_import ("Help Interfaces Molecule Measure", 
  534 "interfaces/molecule/measure", data, 5, 1, "type", "symmetry",
  535 "voronoi", "tolerance", "view");
  536 }
  537 
  538 static void static_interfaces_molecule_measure_geometry (void *data)
  539 {
  540 gamgi_gtk_help_dialog_import ("Help Interfaces Molecule Measure Geometry",
  541 "interfaces/molecule/geometry", data, 0, 0);
  542 }
  543 
  544 static void static_interfaces_molecule_measure_symmetry (void *data)
  545 {
  546 gamgi_gtk_help_dialog_import ("Help Interfaces Molecule Measure Symmetry",
  547 "interfaces/molecule/symmetry", data, 0, 0);
  548 }
  549 
  550 static void static_interfaces_molecule_measure_voronoi (void *data)
  551 {
  552 gamgi_gtk_help_dialog_import ("Help Interfaces Molecule Measure Voronoi",
  553 "interfaces/molecule/voronoi", data, 0, 0);
  554 }
  555 
  556 static void static_interfaces_molecule_remove (void *data)
  557 {
  558 gamgi_gtk_help_dialog_import ("Help Interfaces Molecule Remove", 
  559 "interfaces/molecule/remove", data, 1, 1, "object");
  560 }
  561 
  562 static void static_interfaces_group (void *data)
  563 {
  564 gamgi_gtk_help_dialog_import ("Help Interfaces Group", 
  565 "keywords/group", data, 0, 0);
  566 }
  567 
  568 static void static_interfaces_group_create (void *data)
  569 {
  570 gamgi_gtk_help_dialog_import ("Help Interfaces Group Create",
  571 "interfaces/group/create", data, 3, 1, "type", "scope",
  572 "view");
  573 }
  574 
  575 static void static_interfaces_group_copy (void *data)
  576 {
  577 gamgi_gtk_help_dialog_import ("Help Interfaces Group Copy",
  578 "interfaces/group/copy", data, 2, 1, "object", "shift");
  579 }
  580 
  581 static void static_interfaces_group_create_polytope (void *data)
  582 {
  583 gamgi_gtk_help_dialog_import ("Help Interfaces Group Create Polytope",
  584 "interfaces/group/create_polytope", data, 0, 0);
  585 }
  586 
  587 static void static_interfaces_group_select (void *data)
  588 {
  589 gamgi_gtk_help_dialog_import ("Help Interfaces Group Select", 
  590 "interfaces/group/select", data, 1, 1, "list");
  591 }
  592 
  593 static void static_interfaces_group_link (void *data)
  594 {
  595 gamgi_gtk_help_dialog_import ("Help Interfaces Group Link",
  596 "interfaces/group/link", data, 2, 1, "object", "shift");
  597 }
  598 
  599 static void static_interfaces_group_modify (void *data)
  600 {
  601 gamgi_gtk_help_dialog_import ("Help Interfaces Group Modify",
  602 "interfaces/group/modify", data, 4, 1, "type", "scope", 
  603 "position", "view");
  604 }
  605 
  606 static void static_interfaces_group_modify_polytope (void *data)
  607 {
  608 gamgi_gtk_help_dialog_import ("Help Interfaces Group Modify Polytope",
  609 "interfaces/group/modify_polytope", data, 0, 0);
  610 }
  611 
  612 static void static_interfaces_group_measure (void *data)
  613 {
  614 gamgi_gtk_help_dialog_import ("Help Interfaces Group Measure",
  615 "interfaces/group/measure", data, 5, 1, "type", "symmetry",
  616 "voronoi", "tolerance", "view");
  617 }
  618 
  619 static void static_interfaces_group_measure_geometry (void *data)
  620 {
  621 gamgi_gtk_help_dialog_import ("Help Interfaces Group Measure Geometry",
  622 "interfaces/group/geometry", data, 0, 0);
  623 }
  624 
  625 static void static_interfaces_group_measure_symmetry (void *data)
  626 {
  627 gamgi_gtk_help_dialog_import ("Help Interfaces Group Measure Symmetry",
  628 "interfaces/group/symmetry", data, 0, 0);
  629 }
  630 
  631 static void static_interfaces_group_measure_voronoi (void *data)
  632 {
  633 gamgi_gtk_help_dialog_import ("Help Interfaces Group Measure Voronoi",
  634 "interfaces/group/voronoi", data, 0, 0);
  635 }
  636 
  637 static void static_interfaces_group_remove (void *data)
  638 {
  639 gamgi_gtk_help_dialog_import ("Help Interfaces Group Remove", 
  640 "interfaces/group/remove", data, 1, 1, "object");
  641 }
  642 
  643 static void static_interfaces_plane (void *data)
  644 {
  645 gamgi_gtk_help_dialog_import ("Help Interfaces Plane", 
  646 "keywords/plane", data, 0, 0);
  647 }
  648 
  649 static void static_interfaces_plane_create (void *data)
  650 {
  651 gamgi_gtk_help_dialog_import ("Help Interfaces Plane Create", 
  652 "interfaces/plane/create", data, 4, 1, "type", "projection",
  653 "scope", "view");
  654 }
  655 
  656 static void static_interfaces_plane_copy (void *data)
  657 {
  658 gamgi_gtk_help_dialog_import ("Help Interfaces Plane Copy",
  659 "interfaces/plane/copy", data, 2, 1, "object", "shift");
  660 }
  661 
  662 static void static_interfaces_plane_select (void *data)
  663 {
  664 gamgi_gtk_help_dialog_import ("Help Interfaces Plane Select", 
  665 "interfaces/plane/select", data, 1, 1, "list");
  666 }
  667 
  668 static void static_interfaces_plane_link (void *data)
  669 {
  670 gamgi_gtk_help_dialog_import ("Help Interfaces Plane Link",
  671 "interfaces/plane/link", data, 2, 1, "object", "shift");
  672 }
  673 
  674 static void static_interfaces_plane_modify (void *data)
  675 {
  676 gamgi_gtk_help_dialog_import ("Help Interfaces Plane Modify",
  677 "interfaces/plane/modify", data, 5, 1, "type", "projection",
  678 "scope", "position", "view");
  679 }
  680 
  681 static void static_interfaces_plane_measure (void *data)
  682 {
  683 gamgi_gtk_help_dialog_import ("Help Interfaces Plane Measure", 
  684 "interfaces/plane/measure", data, 3, 1, "length", "area", "angle");
  685 }
  686 
  687 static void static_interfaces_plane_remove (void *data)
  688 {
  689 gamgi_gtk_help_dialog_import ("Help Interfaces Plane Remove", 
  690 "interfaces/plane/remove", data, 1, 1, "object");
  691 }
  692 
  693 static void static_interfaces_direction (void *data)
  694 {
  695 gamgi_gtk_help_dialog_import ("Help Interfaces Direction", 
  696 "keywords/direction", data, 0, 0);
  697 }
  698 
  699 static void static_interfaces_direction_create (void *data)
  700 {
  701 gamgi_gtk_help_dialog_import ("Help Interfaces Direction Create", 
  702 "interfaces/direction/create", data, 4, 1, "type", "projection", 
  703 "scope", "view");
  704 }
  705 
  706 static void static_interfaces_direction_copy (void *data)
  707 {
  708 gamgi_gtk_help_dialog_import ("Help Interfaces Direction Copy",
  709 "interfaces/direction/copy", data, 2, 1, "object", "shift");
  710 }
  711 
  712 static void static_interfaces_direction_select (void *data)
  713 {
  714 gamgi_gtk_help_dialog_import ("Help Interfaces Direction Select", 
  715 "interfaces/direction/select", data, 1, 1, "list");
  716 }
  717 
  718 static void static_interfaces_direction_link (void *data)
  719 {
  720 gamgi_gtk_help_dialog_import ("Help Interfaces Direction Link",
  721 "interfaces/direction/link", data, 2, 1, "object", "shift");
  722 }
  723 
  724 static void static_interfaces_direction_modify (void *data)
  725 {
  726 gamgi_gtk_help_dialog_import ("Help Interfaces Direction Modify",
  727 "interfaces/direction/modify", data, 5, 1, "type", "projection", 
  728 "scope", "position", "view");
  729 }
  730 
  731 static void static_interfaces_direction_measure (void *data)
  732 {
  733 gamgi_gtk_help_dialog_import ("Help Interfaces Direction Measure", 
  734 "interfaces/direction/measure", data, 2, 1, "length", "angle");
  735 }
  736 
  737 static void static_interfaces_direction_remove (void *data)
  738 {
  739 gamgi_gtk_help_dialog_import ("Help Interfaces Direction Remove", 
  740 "interfaces/direction/remove", data, 1, 1, "object");
  741 }
  742 
  743 static void static_interfaces_atom (void *data)
  744 {
  745 gamgi_gtk_help_dialog_import ("Help Interfaces Atom", 
  746 "keywords/atom", data, 0, 0);
  747 }
  748 
  749 static void static_interfaces_atom_create (void *data)
  750 {
  751 gamgi_gtk_help_dialog_import ("Help Interfaces Atom Create", 
  752 "interfaces/atom/create", data, 5, 1, "type", "property",
  753 "analysis", "position", "view");
  754 }
  755 
  756 static void static_interfaces_atom_copy (void *data)
  757 {
  758 gamgi_gtk_help_dialog_import ("Help Interfaces Atom Copy",
  759 "interfaces/atom/copy", data, 2, 1, "object", "shift");
  760 }
  761 
  762 static void static_interfaces_atom_select (void *data)
  763 {
  764 gamgi_gtk_help_dialog_import ("Help Interfaces Atom Select", 
  765 "interfaces/atom/select", data, 1, 1, "list");
  766 }
  767 
  768 static void static_interfaces_atom_link (void *data)
  769 {
  770 gamgi_gtk_help_dialog_import ("Help Interfaces Atom Link",
  771 "interfaces/atom/link", data, 2, 1, "object", "shift");
  772 }
  773 
  774 static void static_interfaces_atom_modify (void *data)
  775 {
  776 gamgi_gtk_help_dialog_import ("Help Interfaces Atom Modify", 
  777 "interfaces/atom/modify", data, 7, 1, "type", "property",
  778 "analysis", "position", "view", "length", "angle");
  779 }
  780 
  781 static void static_interfaces_atom_measure (void *data)
  782 {
  783 gamgi_gtk_help_dialog_import ("Help Interfaces Atom measure",
  784 "interfaces/atom/measure", data, 2, 1, "length", "angle");
  785 }
  786 
  787 static void static_interfaces_atom_remove (void *data)
  788 {
  789 gamgi_gtk_help_dialog_import ("Help Interfaces Atom Remove", 
  790 "interfaces/atom/remove", data, 1, 1, "object");
  791 }
  792 
  793 static void static_interfaces_atom_config (void *data)
  794 {
  795 gamgi_gtk_help_dialog_import ("Help Interfaces Atom Config", 
  796 "interfaces/atom/config", data, 4, 1, "type",
  797 "analysis", "view", "global");
  798 }
  799 
  800 static void static_interfaces_bond (void *data)
  801 {
  802 gamgi_gtk_help_dialog_import ("Help Interfaces Bond", 
  803 "keywords/bond", data, 0, 0);
  804 }
  805 
  806 static void static_interfaces_bond_create (void *data)
  807 {
  808 gamgi_gtk_help_dialog_import ("Help Interfaces Bond Create", 
  809 "interfaces/bond/create", data, 4, 1, "type", "length",
  810 "property", "view");
  811 }
  812 
  813 static void static_interfaces_bond_select (void *data)
  814 {
  815 gamgi_gtk_help_dialog_import ("Help Interfaces Bond Select", 
  816 "interfaces/bond/select", data, 1, 1, "list");
  817 }
  818 
  819 static void static_interfaces_bond_link (void *data)
  820 {
  821 gamgi_gtk_help_dialog_import ("Help Interfaces Bond Link",
  822 "interfaces/bond/link", data, 2, 1, "object", "shift");
  823 }
  824 
  825 static void static_interfaces_bond_modify (void *data)
  826 {
  827 gamgi_gtk_help_dialog_import ("Help Interfaces Bond Modify", 
  828 "interfaces/bond/modify", data, 2, 1, "property", "view");
  829 }
  830 
  831 static void static_interfaces_bond_remove (void *data)
  832 {
  833 gamgi_gtk_help_dialog_import ("Help Interfaces Bond Remove", 
  834 "interfaces/bond/remove", data, 1, 1, "object");
  835 }
  836 
  837 static void static_interfaces_bond_config (void *data)
  838 {
  839 gamgi_gtk_help_dialog_import ("Help Interfaces Bond Config", 
  840 "interfaces/bond/config", data, 2, 1, "length", "view");
  841 }
  842 
  843 static void static_interfaces_orbital (void *data)
  844 {
  845 gamgi_gtk_help_dialog_import ("Help Interfaces Orbital", 
  846 "keywords/orbital", data, 0, 0);
  847 }
  848 
  849 static void static_interfaces_orbital_create (void *data)
  850 {
  851 gamgi_gtk_help_dialog_import ("Help Interfaces Orbital Create",
  852 "interfaces/orbital/create", data, 5, 1,
  853 "type", "scope", "volume", "position", "view");
  854 }
  855 
  856 static void static_interfaces_orbital_copy (void *data)
  857 {
  858 gamgi_gtk_help_dialog_import ("Help Interfaces Orbital Copy",
  859 "interfaces/orbital/copy", data, 2, 1, "object", "shift");
  860 }
  861 
  862 static void static_interfaces_orbital_select (void *data)
  863 {
  864 gamgi_gtk_help_dialog_import ("Help Interfaces Orbital Select", 
  865 "interfaces/orbital/select", data, 1, 1, "list");
  866 }
  867 
  868 static void static_interfaces_orbital_link (void *data)
  869 {
  870 gamgi_gtk_help_dialog_import ("Help Interfaces Orbital Link",
  871 "interfaces/orbital/link", data, 2, 1, "object", "shift");
  872 }
  873 
  874 static void static_interfaces_orbital_modify (void *data)
  875 {
  876 gamgi_gtk_help_dialog_import ("Help Interfaces Orbital Modify",
  877 "interfaces/orbital/modify", data, 5, 1,
  878 "type", "scope", "volume", "position", "view");
  879 }
  880 
  881 static void static_interfaces_orbital_remove (void *data)
  882 {
  883 gamgi_gtk_help_dialog_import ("Help Interfaces Orbital Remove",
  884 "interfaces/orbital/remove", data, 1, 1, "object");
  885 }
  886 
  887 static void static_interfaces_text (void *data)
  888 {
  889 gamgi_gtk_help_dialog_import ("Help Interfaces Text", 
  890 "keywords/text", data, 0, 0);
  891 }
  892 
  893 static void static_interfaces_text_create (void *data)
  894 {
  895 gamgi_gtk_help_dialog_import ("Help Interfaces Text Create", 
  896 "interfaces/text/create", data, 3, 1, "contents", "position", "view");
  897 }
  898 
  899 static void static_interfaces_text_copy (void *data)
  900 {
  901 gamgi_gtk_help_dialog_import ("Help Interfaces Text Copy",
  902 "interfaces/text/copy", data, 2, 1, "object", "shift");
  903 }
  904 
  905 static void static_interfaces_text_select (void *data)
  906 {
  907 gamgi_gtk_help_dialog_import ("Help Interfaces Text Select", 
  908 "interfaces/text/select", data, 1, 1, "list");
  909 }
  910 
  911 static void static_interfaces_text_link (void *data)
  912 {
  913 gamgi_gtk_help_dialog_import ("Help Interfaces Text Link", 
  914 "interfaces/text/link", data, 2, 1, "object", "shift");
  915 }
  916 
  917 static void static_interfaces_text_modify (void *data)
  918 {
  919 gamgi_gtk_help_dialog_import ("Help Interfaces Text Modify", 
  920 "interfaces/text/modify", data, 3, 1, "contents", "position", "view");
  921 }
  922 
  923 static void static_interfaces_text_remove (void *data)
  924 {
  925 gamgi_gtk_help_dialog_import ("Help Interfaces Text Remove", 
  926 "interfaces/text/remove", data, 1, 1, "object");
  927 }
  928 
  929 static void static_interfaces_text_config (void *data)
  930 {
  931 gamgi_gtk_help_dialog_import ("Help Interfaces Text Config", 
  932 "interfaces/text/config", data, 1, 1, "view");
  933 }
  934 
  935 static void static_interfaces_help (void *data)
  936 {
  937 gamgi_gtk_help_dialog_import ("Help Interfaces Help", 
  938 "keywords/help", data, 0, 0);
  939 }
  940 
  941 static void static_interfaces_help_current (void *data)
  942 {
  943 gamgi_gtk_help_dialog_import ("Help Interfaces Help Current", 
  944 "interfaces/help/current", data, 0, 0);
  945 }
  946 
  947 static void static_interfaces_help_topic (void *data)
  948 {
  949 gamgi_gtk_help_dialog_import ("Help Interfaces Help Topic",
  950 "interfaces/help/topic", data, 0, 0);
  951 }
  952 
  953 static void static_interfaces_help_search (void *data)
  954 {
  955 gamgi_gtk_help_dialog_import ("Help Interfaces Help Search", 
  956 "interfaces/help/search", data, 0, 0);
  957 }
  958 
  959 static void static_interfaces_help_tutorial (void *data)
  960 {
  961 gamgi_gtk_help_dialog_import ("Help Interfaces Help Tutorial", 
  962 "interfaces/help/tutorial", data, 0, 0);
  963 }
  964 
  965 static void static_interfaces_help_tips (void *data)
  966 {
  967 gamgi_gtk_help_dialog_import ("Help Interfaces Help Tips",
  968 "interfaces/help/tips", data, 0, 0);
  969 }
  970 
  971 static void static_interfaces_help_start (void *data)
  972 {
  973 gamgi_gtk_help_dialog_import ("Help Interfaces Help Start",
  974 "interfaces/help/start", data, 0, 0);
  975 }
  976 
  977 static void static_interfaces_help_config (void *data)
  978 {
  979 gamgi_gtk_help_dialog_import ("Help Interfaces Help Config", 
  980 "interfaces/help/config", data, 2, 1, "source", "agent");
  981 }
  982 
  983 /****************
  984  * file formats *
  985  ****************/
  986 
  987 static void static_formats (void *data)
  988 {
  989 gamgi_gtk_help_dialog_import ("Help Formats", 
  990 "formats/formats", data, 0, 0);
  991 }
  992 
  993 static void static_formats_introduction (void *data)
  994 {
  995 gamgi_gtk_help_dialog_import ("Help Formats Introduction", 
  996 "formats/introduction/introduction", data, 0, 0);
  997 }
  998 
  999 static void static_formats_introduction_language (void *data)
 1000 {
 1001 gamgi_gtk_help_dialog_import ("Help Formats Introduction Language", 
 1002 "formats/introduction/language", data, 0, 0);
 1003 }
 1004 
 1005 static void static_formats_introduction_elements (void *data)
 1006 {
 1007 gamgi_gtk_help_dialog_import ("Help Formats Introduction Elements", 
 1008 "formats/introduction/elements", data, 0, 0);
 1009 }
 1010 
 1011 static void static_formats_introduction_attributes (void *data)
 1012 {
 1013 gamgi_gtk_help_dialog_import ("Help Formats Introduction Attributes", 
 1014 "formats/introduction/attributes", data, 0, 0);
 1015 }
 1016 
 1017 static void static_formats_introduction_headers (void *data)
 1018 {
 1019 gamgi_gtk_help_dialog_import ("Help Formats Introduction Headers", 
 1020 "formats/introduction/headers", data, 0, 0);
 1021 }
 1022 
 1023 static void static_formats_introduction_entities (void *data)
 1024 {
 1025 gamgi_gtk_help_dialog_import ("Help Formats Introduction Entities", 
 1026 "formats/introduction/entities", data, 0, 0);
 1027 }
 1028 
 1029 static void static_formats_introduction_comments (void *data)
 1030 {
 1031 gamgi_gtk_help_dialog_import ("Help Formats Introduction Comments", 
 1032 "formats/introduction/comments", data, 0, 0);
 1033 }
 1034 
 1035 static void static_formats_introduction_identifiers (void *data)
 1036 {
 1037 gamgi_gtk_help_dialog_import ("Help Formats Introduction Identifiers", 
 1038 "formats/introduction/identifiers", data, 0, 0);
 1039 }
 1040 
 1041 static void static_formats_introduction_defaults (void *data)
 1042 {
 1043 gamgi_gtk_help_dialog_import ("Help Formats Introduction Defaults", 
 1044 "formats/introduction/defaults", data, 0, 0);
 1045 }
 1046 
 1047 static void static_formats_introduction_jpeg (void *data)
 1048 {
 1049 gamgi_gtk_help_dialog_import ("Help Formats Introduction JPEG",
 1050 "formats/introduction/jpeg", data, 0, 0);
 1051 }
 1052 
 1053 static void static_formats_introduction_png (void *data)
 1054 {
 1055 gamgi_gtk_help_dialog_import ("Help Formats Introduction PNG",
 1056 "formats/introduction/png", data, 0, 0);
 1057 }
 1058 
 1059 static void static_formats_introduction_ppm (void *data)
 1060 {
 1061 gamgi_gtk_help_dialog_import ("Help Formats Introduction PPM",
 1062 "formats/introduction/ppm", data, 0, 0);
 1063 }
 1064 
 1065 static void static_formats_introduction_ps (void *data)
 1066 {
 1067 gamgi_gtk_help_dialog_import ("Help Formats Introduction PS",
 1068 "formats/introduction/ps", data, 0, 0);
 1069 }
 1070 
 1071 static void static_formats_introduction_tiff (void *data)
 1072 {
 1073 gamgi_gtk_help_dialog_import ("Help Formats Introduction TIFF",
 1074 "formats/introduction/tiff", data, 0, 0);
 1075 }
 1076 
 1077 static void static_formats_introduction_xyz (void *data)
 1078 {
 1079 gamgi_gtk_help_dialog_import ("Help Formats Introduction XYZ",
 1080 "formats/introduction/xyz", data, 0, 0);
 1081 }
 1082 
 1083 static void static_formats_gamgi (void *data)
 1084 {
 1085 gamgi_gtk_help_dialog_import ("Help Formats Gamgi",  
 1086 "keywords/gamgi", data, 0, 0);
 1087 }
 1088 
 1089 static void static_formats_gamgi_config (void *data)
 1090 {
 1091 gamgi_gtk_help_dialog_import ("Help Formats Gamgi Config",
 1092 "formats/gamgi/config", data, 3, 1, "usability", "precision", "color");
 1093 }
 1094 
 1095 static void static_formats_file (void *data)
 1096 {
 1097 gamgi_gtk_help_dialog_import ("Help Formats File",
 1098 "keywords/file", data, 0, 0);
 1099 }
 1100 
 1101 static void static_formats_file_config (void *data)
 1102 {
 1103 gamgi_gtk_help_dialog_import ("Help Formats File Config",
 1104 "formats/file/config", data, 0, 0);
 1105 }
 1106 
 1107 static void static_formats_window (void *data)
 1108 {
 1109 gamgi_gtk_help_dialog_import ("Help Formats Window",
 1110 "keywords/window", data, 0, 0);
 1111 }
 1112 
 1113 static void static_formats_window_create (void *data)
 1114 {
 1115 gamgi_gtk_help_dialog_import ("Help Formats Window Create",
 1116 "formats/window/create", data, 1, 1, "position");
 1117 }
 1118 
 1119 static void static_formats_window_config (void *data)
 1120 {
 1121 gamgi_gtk_help_dialog_import ("Help Formats Config Window",
 1122 "formats/window/config", data, 1, 1, "ruler");
 1123 }
 1124 
 1125 static void static_formats_layer (void *data)
 1126 {
 1127 gamgi_gtk_help_dialog_import ("Help Formats Layer",
 1128 "keywords/layer", data, 0, 0);
 1129 }
 1130 
 1131 static void static_formats_layer_create (void *data)
 1132 {
 1133 gamgi_gtk_help_dialog_import ("Help Formats Layer Create",
 1134 "formats/layer/create", data, 4, 1, "projection", "position", 
 1135 "visibility", "view");
 1136 }
 1137 
 1138 static void static_formats_layer_config (void *data)
 1139 {
 1140 gamgi_gtk_help_dialog_import ("Help Formats Layer Config",
 1141 "formats/layer/config", data, 3, 1, "projection", "position", "history");
 1142 }
 1143 
 1144 static void static_formats_light (void *data)
 1145 {
 1146 gamgi_gtk_help_dialog_import ("Help Formats Light",
 1147 "keywords/light", data, 0, 0);
 1148 }
 1149 
 1150 static void static_formats_light_create (void *data)
 1151 {
 1152 gamgi_gtk_help_dialog_import ("Help Formats Light Create",
 1153 "formats/light/create", data, 3, 1, "type", "color", "attenuation");
 1154 }
 1155 
 1156 static void static_formats_light_config (void *data)
 1157 {
 1158 gamgi_gtk_help_dialog_import ("Help Formats Light Config",
 1159 "formats/light/config", data, 2, 1, "color", "global");
 1160 }
 1161 
 1162 static void static_formats_assembly (void *data)
 1163 {
 1164 gamgi_gtk_help_dialog_import ("Help Formats Assembly",
 1165 "keywords/assembly", data, 0, 0);
 1166 }
 1167 
 1168 static void static_formats_assembly_create (void *data)
 1169 {
 1170 gamgi_gtk_help_dialog_import ("Help Formats Assembly Create",
 1171 "formats/assembly/create", data, 1, 1, "view");
 1172 }
 1173 
 1174 static void static_formats_graph (void *data)
 1175 {
 1176 gamgi_gtk_help_dialog_import ("Help Formats Graph",
 1177 "keywords/graph", data, 0, 0);
 1178 }
 1179 
 1180 static void static_formats_graph_create (void *data)
 1181 {
 1182 gamgi_gtk_help_dialog_import ("Help Formats Graph Create",
 1183 "formats/graph/create", data, 1, 1, "view");
 1184 }
 1185 
 1186 static void static_formats_arrow (void *data)
 1187 {
 1188 gamgi_gtk_help_dialog_import ("Help Formats Arrow",
 1189 "keywords/arrow", data, 0, 0);
 1190 }
 1191 
 1192 static void static_formats_arrow_create (void *data)
 1193 {
 1194 gamgi_gtk_help_dialog_import ("Help Formats Arrow Create",
 1195 "formats/arrow/create", data, 1, 1, "view");
 1196 }
 1197 
 1198 static void static_formats_shape (void *data)
 1199 {
 1200 gamgi_gtk_help_dialog_import ("Help Formats Shape",
 1201 "keywords/shape", data, 0, 0);
 1202 }
 1203 
 1204 static void static_formats_shape_create (void *data)
 1205 {
 1206 gamgi_gtk_help_dialog_import ("Help Formats Create Shape",
 1207 "formats/shape/create", data, 1, 1, "view");
 1208 }
 1209 
 1210 static void static_formats_cell (void *data)
 1211 {
 1212 gamgi_gtk_help_dialog_import ("Help Formats Cell",
 1213 "keywords/cell", data, 0, 0);
 1214 }
 1215 
 1216 static void static_formats_cell_create (void *data)
 1217 {
 1218 gamgi_gtk_help_dialog_import ("Help Formats Cell Create",
 1219 "formats/cell/create", data, 5, 1, "symmetry", "volume", 
 1220 "position", "origin", "view");
 1221 }
 1222 
 1223 static void static_formats_cell_config (void *data)
 1224 {
 1225 gamgi_gtk_help_dialog_import ("Help Formats Cell Config",
 1226 "formats/cell/config", data, 0, 0);
 1227 }
 1228 
 1229 static void static_formats_cluster (void *data)
 1230 {
 1231 gamgi_gtk_help_dialog_import ("Help Formats Cluster",
 1232 "keywords/cluster", data, 0, 0);
 1233 }
 1234 
 1235 static void static_formats_cluster_create (void *data)
 1236 {
 1237 gamgi_gtk_help_dialog_import ("Help Formats Cluster Create",
 1238 "formats/cluster/create", data, 4, 1, "type", "scope",
 1239 "position", "view");
 1240 }
 1241 
 1242 static void static_formats_molecule (void *data)
 1243 {
 1244 gamgi_gtk_help_dialog_import ("Help Formats Molecule",
 1245 "keywords/molecule", data, 0, 0);
 1246 }
 1247 
 1248 static void static_formats_molecule_create (void *data)
 1249 {
 1250 gamgi_gtk_help_dialog_import ("Help Formats Molecule Create",
 1251 "formats/molecule/create", data, 1, 1, "view");
 1252 }
 1253 
 1254 static void static_formats_group (void *data)
 1255 {
 1256 gamgi_gtk_help_dialog_import ("Help Formats Group",
 1257 "keywords/group", data, 0, 0);
 1258 }
 1259 
 1260 static void static_formats_group_create (void *data)
 1261 {
 1262 gamgi_gtk_help_dialog_import ("Help Formats Group Create",
 1263 "formats/group/create", data, 4, 1, "type", "scope",
 1264 "position", "view");
 1265 }
 1266 
 1267 static void static_formats_plane (void *data)
 1268 {
 1269 gamgi_gtk_help_dialog_import ("Help Formats Plane",
 1270 "keywords/plane", data, 0, 0);
 1271 }
 1272 
 1273 static void static_formats_plane_create (void *data)
 1274 {
 1275 gamgi_gtk_help_dialog_import ("Help Formats Plane Create",
 1276 "formats/plane/create", data, 5, 1, "type", "projection", 
 1277 "scope", "position", "view");
 1278 }
 1279 
 1280 static void static_formats_direction (void *data)
 1281 {
 1282 gamgi_gtk_help_dialog_import ("Help Formats Direction",
 1283 "keywords/direction", data, 0, 0);
 1284 }
 1285 
 1286 static void static_formats_direction_create (void *data)
 1287 {
 1288 gamgi_gtk_help_dialog_import ("Help Formats Direction Create",
 1289 "formats/direction/create", data, 5, 1, "type", "projection", 
 1290 "scope", "position", "view");
 1291 }
 1292 
 1293 static void static_formats_atom (void *data)
 1294 {
 1295 gamgi_gtk_help_dialog_import ("Help Formats Atom",
 1296 "keywords/atom", data, 0, 0);
 1297 }
 1298 
 1299 static void static_formats_atom_create (void *data)
 1300 {
 1301 gamgi_gtk_help_dialog_import ("Help Formats Atom Create",
 1302 "formats/atom/create", data, 5, 1, "type", "property",
 1303 "analysis", "position", "view");
 1304 }
 1305 
 1306 static void static_formats_atom_config (void *data)
 1307 {
 1308 gamgi_gtk_help_dialog_import ("Help Formats Atom Config",
 1309 "formats/atom/config", data, 0, 0);
 1310 }
 1311 
 1312 static void static_formats_bond (void *data)
 1313 {
 1314 gamgi_gtk_help_dialog_import ("Help Formats Bond",
 1315 "keywords/bond", data, 0, 0);
 1316 }
 1317 
 1318 static void static_formats_bond_create (void *data)
 1319 {
 1320 gamgi_gtk_help_dialog_import ("Help Formats Bond Create",
 1321 "formats/bond/create", data, 3, 1, "type", "property", "view");
 1322 }
 1323 
 1324 static void static_formats_bond_config (void *data)
 1325 {
 1326 gamgi_gtk_help_dialog_import ("Help Formats Bond Config",
 1327 "formats/bond/config", data, 2, 1, "length", "view");
 1328 }
 1329 
 1330 static void static_formats_orbital (void *data)
 1331 {
 1332 gamgi_gtk_help_dialog_import ("Help Formats Orbital",
 1333 "keywords/orbital", data, 0, 0);
 1334 }
 1335 
 1336 static void static_formats_orbital_create (void *data)
 1337 {
 1338 gamgi_gtk_help_dialog_import ("Help Formats Orbital Create",
 1339 "formats/orbital/create", data, 5, 1, "type", "scope",
 1340 "volume", "position", "view");
 1341 }
 1342 
 1343 static void static_formats_text (void *data)
 1344 {
 1345 gamgi_gtk_help_dialog_import ("Help Formats Text",
 1346 "keywords/text", data, 0, 0);
 1347 }
 1348 
 1349 static void static_formats_text_create (void *data)
 1350 {
 1351 gamgi_gtk_help_dialog_import ("Help Formats Text Create",
 1352 "formats/text/create", data, 3, 1, "contents", "position", "view");
 1353 }
 1354 
 1355 static void static_formats_text_config (void *data)
 1356 {
 1357 gamgi_gtk_help_dialog_import ("Help Formats Text Config",
 1358 "formats/text/config", data, 1, 1, "view");
 1359 }
 1360 
 1361 static void static_formats_help (void *data)
 1362 {
 1363 gamgi_gtk_help_dialog_import ("Help Formats Help",
 1364 "keywords/help", data, 0, 0);
 1365 }
 1366 
 1367 static void static_formats_help_config (void *data)
 1368 {
 1369 gamgi_gtk_help_dialog_import ("Help Formats Help Config",
 1370 "formats/help/config", data, 2, 1, "source", "agent");
 1371 }
 1372 
 1373 static void static_activated (GtkTreeView *treeview, 
 1374 GtkTreePath *path, GtkTreeViewColumn *col, void *data)
 1375 {
 1376 GtkTreeIter iter;
 1377 GtkTreeModel *model;
 1378 gamgi_function1 function;
 1379 
 1380 /*********************************
 1381  * a row has been double-clicked *
 1382  *********************************/
 1383 
 1384 model = gtk_tree_view_get_model (treeview);
 1385 if (gtk_tree_model_get_iter (model, &iter, path) == FALSE) return;
 1386 
 1387 gtk_tree_model_get (model, &iter, 1, &function, -1);
 1388 (* function) (data);
 1389 }
 1390 
 1391 static void static_ok (GtkWidget *widget, void *data)
 1392 {
 1393 gamgi_window *window = GAMGI_CAST_WINDOW data;
 1394 GtkWidget *dialog = window->dialog0;
 1395 GtkWidget *treeview;
 1396 GtkTreeSelection *selection;
 1397 GtkTreeModel *model;
 1398 GtkTreeIter iter;
 1399 gamgi_function1 function;
 1400 
 1401 treeview = (GtkWidget *) g_object_get_data (G_OBJECT (dialog), "treeview");
 1402 selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (treeview));
 1403 if (gtk_tree_selection_get_selected (selection, &model, &iter) == FALSE)
 1404   {
 1405   gamgi_gtk_dialog_message_create ("Error", "Help topic not selected", window);
 1406   return;
 1407   }
 1408 
 1409 gtk_tree_model_get (model, &iter, 1, &function, -1);
 1410 (* function) (data);
 1411 }
 1412 
 1413 static GtkTreeIter static_row (GtkTreeStore *store, 
 1414 GtkTreeIter *parent, char *label, gamgi_function1 function)
 1415 {
 1416 GtkTreeIter iter;
 1417 
 1418 gtk_tree_store_append (store, &iter, parent);
 1419 gtk_tree_store_set (store, &iter, 0, label, 1, function, -1);
 1420 
 1421 return iter;
 1422 }
 1423 
 1424 static void static_contents (GtkWidget *treeview)
 1425 {
 1426 GtkTreeStore *store;
 1427 GtkTreeIter iter1, iter2, iter3;
 1428 
 1429 store = gtk_tree_store_new (2, G_TYPE_STRING, G_TYPE_POINTER);
 1430 
 1431 /*********************
 1432  * dialog interfaces *
 1433  *********************/
 1434 
 1435 iter1 = static_row (store, NULL, "Interfaces", static_interfaces);
 1436 
 1437 iter2 = static_row (store, &iter1, "Introduction", static_interfaces_introduction);
 1438 static_row (store, &iter2, "Objects", static_interfaces_introduction_objects);
 1439 static_row (store, &iter2, "Tasks", static_interfaces_introduction_tasks);
 1440 static_row (store, &iter2, "Windows", static_interfaces_introduction_windows);
 1441 static_row (store, &iter2, "Starting", static_interfaces_introduction_starting);
 1442 static_row (store, &iter2, "Identification", static_interfaces_introduction_identification);
 1443 static_row (store, &iter2, "Selection", static_interfaces_introduction_selection);
 1444 static_row (store, &iter2, "Mouse", static_interfaces_introduction_mouse);
 1445 static_row (store, &iter2, "Keyboard", static_interfaces_introduction_keyboard);
 1446 static_row (store, &iter2, "Menus", static_interfaces_introduction_menus);
 1447 static_row (store, &iter2, "Drawing", static_interfaces_introduction_drawing);
 1448 static_row (store, &iter2, "Tools", static_interfaces_introduction_tools);
 1449 static_row (store, &iter2, "Commands", static_interfaces_introduction_commands);
 1450 static_row (store, &iter2, "Status", static_interfaces_introduction_status);
 1451 
 1452 iter2 = static_row (store, &iter1, "Gamgi", static_interfaces_gamgi);
 1453 static_row (store, &iter2, "About", static_interfaces_gamgi_about);
 1454 static_row (store, &iter2, "Reset", static_interfaces_gamgi_reset);
 1455 static_row (store, &iter2, "Exit", static_interfaces_gamgi_exit);
 1456 static_row (store, &iter2, "Config", static_interfaces_gamgi_config);
 1457 
 1458 iter2 = static_row (store, &iter1, "File", static_interfaces_file);
 1459 static_row (store, &iter2, "Import", static_interfaces_file_import);
 1460 static_row (store, &iter2, "Export", static_interfaces_file_export);
 1461 
 1462 iter2 = static_row (store, &iter1, "Window", static_interfaces_window);
 1463 static_row (store, &iter2, "Copy", static_interfaces_window_copy);
 1464 static_row (store, &iter2, "Select", static_interfaces_window_select);
 1465 static_row (store, &iter2, "Link", static_interfaces_window_link);
 1466 static_row (store, &iter2, "Remove", static_interfaces_window_remove);
 1467 static_row (store, &iter2, "Config", static_interfaces_window_config);
 1468 
 1469 iter2 = static_row (store, &iter1, "Layer", static_interfaces_layer);
 1470 static_row (store, &iter2, "Create", static_interfaces_layer_create);
 1471 static_row (store, &iter2, "Copy", static_interfaces_layer_copy);
 1472 static_row (store, &iter2, "Select", static_interfaces_layer_select);
 1473 static_row (store, &iter2, "Link", static_interfaces_layer_link);
 1474 static_row (store, &iter2, "Modify", static_interfaces_layer_modify);
 1475 static_row (store, &iter2, "Remove", static_interfaces_layer_remove);
 1476 static_row (store, &iter2, "Config", static_interfaces_layer_config);
 1477 
 1478 iter2 = static_row (store, &iter1, "Light", static_interfaces_light);
 1479 static_row (store, &iter2, "Create", static_interfaces_light_create);
 1480 static_row (store, &iter2, "Copy", static_interfaces_light_copy);
 1481 static_row (store, &iter2, "Select", static_interfaces_light_select);
 1482 static_row (store, &iter2, "Link", static_interfaces_light_link);
 1483 static_row (store, &iter2, "Modify", static_interfaces_light_modify);
 1484 static_row (store, &iter2, "Remove", static_interfaces_light_remove);
 1485 static_row (store, &iter2, "Config", static_interfaces_light_config);
 1486 
 1487 iter2 = static_row (store, &iter1, "Assembly", static_interfaces_assembly);
 1488 static_row (store, &iter2, "Create", static_interfaces_assembly_create);
 1489 static_row (store, &iter2, "Copy", static_interfaces_assembly_copy);
 1490 static_row (store, &iter2, "Select", static_interfaces_assembly_select);
 1491 static_row (store, &iter2, "Link", static_interfaces_assembly_link);
 1492 static_row (store, &iter2, "Remove", static_interfaces_assembly_remove);
 1493 
 1494 iter2 = static_row (store, &iter1, "Graph", static_interfaces_graph);
 1495 static_row (store, &iter2, "Select", static_interfaces_graph_select);
 1496 
 1497 iter2 = static_row (store, &iter1, "Shape", static_interfaces_shape);
 1498 static_row (store, &iter2, "Select", static_interfaces_shape_select);
 1499 
 1500 iter2 = static_row (store, &iter1, "Arrow", static_interfaces_arrow);
 1501 static_row (store, &iter2, "Select", static_interfaces_arrow_select);
 1502 
 1503 iter2 = static_row (store, &iter1, "Cell", static_interfaces_cell);
 1504 static_row (store, &iter2, "Create", static_interfaces_cell_create);
 1505 static_row (store, &iter2, "Copy", static_interfaces_cell_copy);
 1506 static_row (store, &iter2, "Select", static_interfaces_cell_select);
 1507 iter3 = static_row (store, &iter2, "Link", static_interfaces_cell_link);
 1508 static_row (store, &iter3, "RCP", static_interfaces_cell_link_rcp);
 1509 static_row (store, &iter2, "Modify", static_interfaces_cell_modify);
 1510 iter3 = static_row (store, &iter2, "Measure", static_interfaces_cell_measure);
 1511 static_row (store, &iter3, "Geometry", static_interfaces_cell_measure_geometry);
 1512 static_row (store, &iter3, "Voronoi", static_interfaces_cell_measure_voronoi);
 1513 static_row (store, &iter2, "Remove", static_interfaces_cell_remove);
 1514 static_row (store, &iter2, "Config", static_interfaces_cell_config);
 1515 
 1516 iter2 = static_row (store, &iter1, "Cluster", static_interfaces_cluster);
 1517 static_row (store, &iter2, "Create", static_interfaces_cluster_create);
 1518 static_row (store, &iter2, "Copy", static_interfaces_cluster_copy);
 1519 static_row (store, &iter2, "Select", static_interfaces_cluster_select);
 1520 static_row (store, &iter2, "Link", static_interfaces_cluster_link);
 1521 iter3 = static_row (store, &iter2, "Measure", static_interfaces_cluster_measure);
 1522 static_row (store, &iter3, "Geometry", static_interfaces_cluster_measure_geometry);
 1523 static_row (store, &iter3, "Symmetry", static_interfaces_cluster_measure_symmetry);
 1524 static_row (store, &iter3, "Voronoi", static_interfaces_cluster_measure_voronoi);
 1525 static_row (store, &iter2, "Remove", static_interfaces_cluster_remove);
 1526 
 1527 iter2 = static_row (store, &iter1, "Molecule", static_interfaces_molecule);
 1528 static_row (store, &iter2, "Create", static_interfaces_molecule_create);
 1529 static_row (store, &iter2, "Copy", static_interfaces_molecule_copy);
 1530 static_row (store, &iter2, "Select", static_interfaces_molecule_select);
 1531 static_row (store, &iter2, "Link", static_interfaces_molecule_link);
 1532 iter3 = static_row (store, &iter2, "Measure", static_interfaces_molecule_measure);
 1533 static_row (store, &iter3, "Geometry", static_interfaces_molecule_measure_geometry);
 1534 static_row (store, &iter3, "Symmetry", static_interfaces_molecule_measure_symmetry);
 1535 static_row (store, &iter3, "Voronoi", static_interfaces_molecule_measure_voronoi);
 1536 static_row (store, &iter2, "Remove", static_interfaces_molecule_remove);
 1537 
 1538 iter2 = static_row (store, &iter1, "Group", static_interfaces_group);
 1539 iter3 = static_row (store, &iter2, "Create", static_interfaces_group_create);
 1540 static_row (store, &iter2, "Copy", static_interfaces_group_copy);
 1541 static_row (store, &iter3, "Polytope", static_interfaces_group_create_polytope);
 1542 static_row (store, &iter2, "Select", static_interfaces_group_select);
 1543 static_row (store, &iter2, "Link", static_interfaces_group_link);
 1544 iter3 = static_row (store, &iter2, "Modify", static_interfaces_group_modify);
 1545 static_row (store, &iter3, "Polytope", static_interfaces_group_modify_polytope);
 1546 iter3 = static_row (store, &iter2, "Measure", static_interfaces_group_measure);
 1547 static_row (store, &iter3, "Geometry", static_interfaces_group_measure_geometry);
 1548 static_row (store, &iter3, "Symmetry", static_interfaces_group_measure_symmetry);
 1549 static_row (store, &iter3, "Voronoi", static_interfaces_group_measure_voronoi);
 1550 static_row (store, &iter2, "Remove", static_interfaces_group_remove);
 1551 
 1552 iter2 = static_row (store, &iter1, "Plane", static_interfaces_plane);
 1553 static_row (store, &iter2, "Create", static_interfaces_plane_create);
 1554 static_row (store, &iter2, "Copy", static_interfaces_plane_copy);
 1555 static_row (store, &iter2, "Select", static_interfaces_plane_select);
 1556 static_row (store, &iter2, "Link", static_interfaces_plane_link);
 1557 static_row (store, &iter2, "Modify", static_interfaces_plane_modify);
 1558 static_row (store, &iter2, "Measure", static_interfaces_plane_measure);
 1559 static_row (store, &iter2, "Remove", static_interfaces_plane_remove);
 1560 
 1561 iter2 = static_row (store, &iter1, "Direction", static_interfaces_direction);
 1562 static_row (store, &iter2, "Create", static_interfaces_direction_create);
 1563 static_row (store, &iter2, "Copy", static_interfaces_direction_copy);
 1564 static_row (store, &iter2, "Select", static_interfaces_direction_select);
 1565 static_row (store, &iter2, "Link", static_interfaces_direction_link);
 1566 static_row (store, &iter2, "Modify", static_interfaces_direction_modify);
 1567 static_row (store, &iter2, "Measure", static_interfaces_direction_measure);
 1568 static_row (store, &iter2, "Remove", static_interfaces_direction_remove);
 1569 
 1570 iter2 = static_row (store, &iter1, "Atom", static_interfaces_atom);
 1571 static_row (store, &iter2, "Create", static_interfaces_atom_create);
 1572 static_row (store, &iter2, "Copy", static_interfaces_atom_copy);
 1573 static_row (store, &iter2, "Select", static_interfaces_atom_select);
 1574 static_row (store, &iter2, "Link", static_interfaces_atom_link);
 1575 static_row (store, &iter2, "Modify", static_interfaces_atom_modify);
 1576 static_row (store, &iter2, "Measure", static_interfaces_atom_measure);
 1577 static_row (store, &iter2, "Remove", static_interfaces_atom_remove);
 1578 static_row (store, &iter2, "Config", static_interfaces_atom_config);
 1579 
 1580 iter2 = static_row (store, &iter1, "Bond", static_interfaces_bond);
 1581 static_row (store, &iter2, "Create", static_interfaces_bond_create);
 1582 static_row (store, &iter2, "Select", static_interfaces_bond_select);
 1583 static_row (store, &iter2, "Link", static_interfaces_bond_link);
 1584 static_row (store, &iter2, "Modify", static_interfaces_bond_modify);
 1585 static_row (store, &iter2, "Remove", static_interfaces_bond_remove);
 1586 static_row (store, &iter2, "Config", static_interfaces_bond_config);
 1587 
 1588 iter2 = static_row (store, &iter1, "Orbital", static_interfaces_orbital);
 1589 static_row (store, &iter2, "Create", static_interfaces_orbital_create);
 1590 static_row (store, &iter2, "Copy", static_interfaces_orbital_copy);
 1591 static_row (store, &iter2, "Select", static_interfaces_orbital_select);
 1592 static_row (store, &iter2, "Link", static_interfaces_orbital_link);
 1593 static_row (store, &iter2, "Modify", static_interfaces_orbital_modify);
 1594 static_row (store, &iter2, "Remove", static_interfaces_orbital_remove);
 1595 
 1596 iter2 = static_row (store, &iter1, "Text", static_interfaces_text);
 1597 static_row (store, &iter2, "Create", static_interfaces_text_create);
 1598 static_row (store, &iter2, "Copy", static_interfaces_text_copy);
 1599 static_row (store, &iter2, "Select", static_interfaces_text_select);
 1600 static_row (store, &iter2, "Link", static_interfaces_text_link);
 1601 static_row (store, &iter2, "Modify", static_interfaces_text_modify);
 1602 static_row (store, &iter2, "Remove", static_interfaces_text_remove);
 1603 static_row (store, &iter2, "Config", static_interfaces_text_config);
 1604 
 1605 iter2 = static_row (store, &iter1, "Help", static_interfaces_help);
 1606 static_row (store, &iter2, "Current", static_interfaces_help_current);
 1607 static_row (store, &iter2, "Topic", static_interfaces_help_topic);
 1608 static_row (store, &iter2, "Search", static_interfaces_help_search);
 1609 static_row (store, &iter2, "Tutorial", static_interfaces_help_tutorial);
 1610 static_row (store, &iter2, "Tips", static_interfaces_help_tips);
 1611 static_row (store, &iter2, "Start", static_interfaces_help_start);
 1612 static_row (store, &iter2, "Config", static_interfaces_help_config);
 1613 
 1614 /****************
 1615  * file formats *
 1616  ****************/
 1617 
 1618 iter1 = static_row (store, NULL, "Formats", static_formats);
 1619 
 1620 iter2 = static_row (store, &iter1, "Introduction", static_formats_introduction);
 1621 static_row (store, &iter2, "Language", static_formats_introduction_language);
 1622 static_row (store, &iter2, "Elements", static_formats_introduction_elements);
 1623 static_row (store, &iter2, "Attributes", static_formats_introduction_attributes);
 1624 static_row (store, &iter2, "Headers", static_formats_introduction_headers);
 1625 static_row (store, &iter2, "Entities", static_formats_introduction_entities);
 1626 static_row (store, &iter2, "Comments", static_formats_introduction_comments);
 1627 static_row (store, &iter2, "Identifiers", static_formats_introduction_identifiers);
 1628 static_row (store, &iter2, "Defaults", static_formats_introduction_defaults);
 1629 
 1630 static_row (store, &iter2, "JPEG", static_formats_introduction_jpeg);
 1631 static_row (store, &iter2, "PNG", static_formats_introduction_png);
 1632 static_row (store, &iter2, "PPM", static_formats_introduction_ppm);
 1633 static_row (store, &iter2, "PS", static_formats_introduction_ps);
 1634 static_row (store, &iter2, "TIFF", static_formats_introduction_tiff);
 1635 static_row (store, &iter2, "XYZ", static_formats_introduction_xyz);
 1636 
 1637 iter2 = static_row (store, &iter1, "Gamgi", static_formats_gamgi);
 1638 static_row (store, &iter2, "Config", static_formats_gamgi_config);
 1639 
 1640 iter2 = static_row (store, &iter1, "File", static_formats_file);
 1641 static_row (store, &iter2, "Config", static_formats_file_config);
 1642 
 1643 iter2 = static_row (store, &iter1, "Window", static_formats_window);
 1644 static_row (store, &iter2, "Create", static_formats_window_create);
 1645 static_row (store, &iter2, "Config", static_formats_window_config);
 1646 
 1647 iter2 = static_row (store, &iter1, "Layer", static_formats_layer);
 1648 static_row (store, &iter2, "Create", static_formats_layer_create);
 1649 static_row (store, &iter2, "Config", static_formats_layer_config);
 1650 
 1651 iter2 = static_row (store, &iter1, "Light", static_formats_light);
 1652 static_row (store, &iter2, "Create", static_formats_light_create);
 1653 static_row (store, &iter2, "Config", static_formats_light_config);
 1654 
 1655 iter2 = static_row (store, &iter1, "Assembly", static_formats_assembly);
 1656 static_row (store, &iter2, "Create", static_formats_assembly_create);
 1657 
 1658 iter2 = static_row (store, &iter1, "Graph", static_formats_graph);
 1659 static_row (store, &iter2, "Create", static_formats_graph_create);
 1660 
 1661 iter2 = static_row (store, &iter1, "Arrow", static_formats_arrow);
 1662 static_row (store, &iter2, "Create", static_formats_arrow_create);
 1663 
 1664 iter2 = static_row (store, &iter1, "Shape", static_formats_shape);
 1665 static_row (store, &iter2, "Create", static_formats_shape_create);
 1666 
 1667 iter2 = static_row (store, &iter1, "Cell", static_formats_cell);
 1668 static_row (store, &iter2, "Create", static_formats_cell_create);
 1669 static_row (store, &iter2, "Config", static_formats_cell_config);
 1670 
 1671 iter2 = static_row (store, &iter1, "Cluster", static_formats_cluster);
 1672 static_row (store, &iter2, "Create", static_formats_cluster_create);
 1673 
 1674 iter2 = static_row (store, &iter1, "Molecule", static_formats_molecule);
 1675 static_row (store, &iter2, "Create", static_formats_molecule_create);
 1676 
 1677 iter2 = static_row (store, &iter1, "Group", static_formats_group);
 1678 static_row (store, &iter2, "Create", static_formats_group_create);
 1679 
 1680 iter2 = static_row (store, &iter1, "Plane", static_formats_plane);
 1681 static_row (store, &iter2, "Create", static_formats_plane_create);
 1682 
 1683 iter2 = static_row (store, &iter1, "Direction", static_formats_direction);
 1684 static_row (store, &iter2, "Create", static_formats_direction_create);
 1685 
 1686 iter2 = static_row (store, &iter1, "Atom", static_formats_atom);
 1687 static_row (store, &iter2, "Create", static_formats_atom_create);
 1688 static_row (store, &iter2, "Config", static_formats_atom_config);
 1689 
 1690 iter2 = static_row (store, &iter1, "Bond", static_formats_bond);
 1691 static_row (store, &iter2, "Create", static_formats_bond_create);
 1692 static_row (store, &iter2, "Config", static_formats_bond_config);
 1693 
 1694 iter2 = static_row (store, &iter1, "Orbital", static_formats_orbital);
 1695 static_row (store, &iter2, "Create", static_formats_orbital_create);
 1696 
 1697 iter2 = static_row (store, &iter1, "Text", static_formats_text);
 1698 static_row (store, &iter2, "Create", static_formats_text_create);
 1699 static_row (store, &iter2, "Config", static_formats_text_config);
 1700 
 1701 iter2 = static_row (store, &iter1, "Help", static_formats_help);
 1702 static_row (store, &iter2, "Config", static_formats_help_config);
 1703 
 1704 gtk_tree_view_set_model (GTK_TREE_VIEW (treeview), GTK_TREE_MODEL (store));
 1705 g_object_unref (store);
 1706 }
 1707 
 1708 /********************* external function ************************
 1709  *                                                              *
 1710  *                   GAMGI_GTK_HELP_TOPIC                       *
 1711  *                                                              *
 1712  *                                                              *
 1713  ****************************************************************/
 1714 
 1715 void gamgi_gtk_help_topic (GtkWidget *widget, void *data)
 1716 {
 1717 gamgi_window *window = GAMGI_CAST_WINDOW data;
 1718 GtkWidget *dialog;
 1719 GtkWidget *scrolled_window;
 1720 GtkWidget *button;
 1721 GtkWidget *vbox_dialog;
 1722 GtkWidget *hbox_center;
 1723 GtkWidget *treeview;
 1724 GtkCellRenderer *renderer;
 1725 GtkTreeViewColumn *column;
 1726 GtkTreeSelection *selection;
 1727 
 1728 dialog = gamgi_gtk_dialog_task0_create ("Help Topic", window);
 1729 window->action = GAMGI_GTK_HELP_TOPIC;
 1730 gtk_container_set_border_width (GTK_CONTAINER (dialog), 5);
 1731 
 1732 vbox_dialog = gtk_vbox_new (FALSE, 5);
 1733 gtk_container_add (GTK_CONTAINER (dialog), vbox_dialog);
 1734 gtk_widget_show (vbox_dialog);
 1735 
 1736 scrolled_window = gtk_scrolled_window_new (NULL, NULL);
 1737 gtk_box_pack_start (GTK_BOX (vbox_dialog), scrolled_window, TRUE, TRUE, 0);
 1738 gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_window),
 1739 GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); 
 1740 gtk_widget_show (scrolled_window);
 1741   
 1742 treeview = gtk_tree_view_new ();
 1743 gtk_container_add (GTK_CONTAINER (scrolled_window), treeview);
 1744 gtk_widget_set_size_request (treeview,
 1745 GAMGI_GTK_HELP_TOPIC_WIDTH, GAMGI_GTK_HELP_TOPIC_HEIGHT);
 1746 selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (treeview));
 1747 gtk_tree_selection_set_mode (selection, GTK_SELECTION_BROWSE);
 1748 g_signal_connect (treeview, "row-activated",
 1749 G_CALLBACK (static_activated), window);
 1750 g_object_set_data (G_OBJECT (dialog), "treeview", treeview);
 1751 gtk_widget_show (treeview);
 1752 
 1753 renderer = gtk_cell_renderer_text_new ();
 1754 column = gtk_tree_view_column_new_with_attributes ("Object", renderer, "text", 0, NULL);
 1755 gtk_tree_view_append_column (GTK_TREE_VIEW (treeview), column);
 1756 gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (treeview), FALSE);
 1757 
 1758 static_contents (treeview);
 1759 
 1760 /*********************
 1761  * Ok/Cancel buttons *
 1762  *********************/
 1763 
 1764 hbox_center = gtk_hbox_new (TRUE, 0);
 1765 gtk_box_pack_start (GTK_BOX (vbox_dialog), hbox_center, FALSE, FALSE, 0);
 1766 gtk_widget_show (hbox_center);
 1767 
 1768 button = gamgi_gtk_dialog_button_create ("Ok", NULL);
 1769 gtk_box_pack_start (GTK_BOX (hbox_center), button, FALSE, FALSE, 0);
 1770 gtk_widget_set_size_request (button, GAMGI_GTK_BUTTON_WIDTH, -1);
 1771 g_signal_connect (button, "clicked",
 1772 G_CALLBACK (static_ok), window);
 1773 gtk_widget_show (button);
 1774 
 1775 button = gamgi_gtk_dialog_button_create ("Cancel", "red");
 1776 gtk_box_pack_start (GTK_BOX (hbox_center), button, FALSE, FALSE, 0);
 1777 gtk_widget_set_size_request (button, GAMGI_GTK_BUTTON_WIDTH, -1);
 1778 gtk_widget_grab_focus (button);
 1779 g_signal_connect (button, "clicked",
 1780 G_CALLBACK (gamgi_gtk_dialog_task0_remove), window);
 1781 gtk_widget_show (button);
 1782 
 1783 gtk_widget_show (dialog);
 1784 }