/*
 * DO NOT EDIT THIS FILE - it is generated by Glade.
 */

#ifdef HAVE_CONFIG_H
#  include <config.h>
#endif

#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <string.h>
#include <stdio.h>

#include <gdk/gdkkeysyms.h>
#include <gtk/gtk.h>

#include "callbacks.h"
#include "interface.h"
#include "support.h"

#define GLADE_HOOKUP_OBJECT(component,widget,name) \
  g_object_set_data_full (G_OBJECT (component), name, \
    gtk_widget_ref (widget), (GDestroyNotify) gtk_widget_unref)

#define GLADE_HOOKUP_OBJECT_NO_REF(component,widget,name) \
  g_object_set_data (G_OBJECT (component), name, widget)

GtkWidget*
create_main_window (void)
{
  GtkWidget *main_window;
  GtkWidget *hbox1;
  GtkWidget *vbox1;
  GtkWidget *gl_target;
  GtkWidget *hseparator4;
  GtkWidget *hbox2;
  GtkWidget *startButton;
  GtkWidget *alignment9;
  GtkWidget *hbox31;
  GtkWidget *image12;
  GtkWidget *label52;
  GtkWidget *alignment14;
  GtkWidget *simProgressBar;
  GtkWidget *notebook1;
  GtkWidget *vbox2;
  GtkWidget *table3;
  GtkWidget *hbox44;
  GtkWidget *label80;
  GtkWidget *label81;
  GtkWidget *timeSteps;
  GtkWidget *hbox48;
  GtkWidget *label89;
  GtkWidget *label90;
  GtkWidget *numCatoms;
  GtkWidget *experimentFile;
  GtkWidget *worldFile;
  GtkWidget *hbox49;
  GtkWidget *label91;
  GtkWidget *label92;
  GtkWidget *hbox50;
  GtkWidget *label93;
  GtkWidget *label94;
  GtkWidget *hbox8;
  GtkWidget *label10;
  GtkWidget *label11;
  GtkWidget *physicsTimeStep;
  GtkWidget *hbox25;
  GtkWidget *label45;
  GtkWidget *label46;
  GtkWidget *simTimeStep;
  GtkWidget *hbox34;
  GtkWidget *label63;
  GtkWidget *label64;
  GtkWidget *saveEveryNSteps;
  GtkWidget *hbox11;
  GtkWidget *label14;
  GtkWidget *label15;
  GtkWidget *modulesList;
  GtkWidget *hbox51;
  GtkWidget *label95;
  GtkWidget *label96;
  GtkWidget *featureMap;
  GtkWidget *hseparator8;
  GtkWidget *hbox70;
  GtkWidget *label130;
  GtkWidget *stepsEntry;
  GtkWidget *advanceButton;
  GtkWidget *hbox52;
  GtkWidget *vbuttonbox1;
  GtkWidget *renderButton;
  GtkWidget *alignment8;
  GtkWidget *hbox30;
  GtkWidget *image11;
  GtkWidget *label51;
  GtkWidget *shadowButton;
  GtkWidget *alignment5;
  GtkWidget *hbox27;
  GtkWidget *image8;
  GtkWidget *label48;
  GtkWidget *speechButton;
  GtkWidget *alignment7;
  GtkWidget *hbox29;
  GtkWidget *image10;
  GtkWidget *label50;
  GtkWidget *vbuttonbox2;
  GtkWidget *aboutDPRSim;
  GtkWidget *alignment23;
  GtkWidget *hbox56;
  GtkWidget *image21;
  GtkWidget *label103;
  GtkWidget *dprsimHelp;
  GtkWidget *alignment24;
  GtkWidget *hbox57;
  GtkWidget *image22;
  GtkWidget *label104;
  GtkWidget *settingsLabel;
  GtkWidget *vbox4;
  GtkWidget *table4;
  GtkWidget *objectFile;
  GtkWidget *objectButton;
  GtkWidget *alignment10;
  GtkWidget *hbox35;
  GtkWidget *image13;
  GtkWidget *label65;
  GtkWidget *clearObjectButton;
  GtkWidget *image14;
  GtkWidget *label85;
  GtkObject *catomScale_adj;
  GtkWidget *catomScale;
  GtkWidget *hbox59;
  GtkWidget *label106;
  GtkWidget *label84;
  GtkWidget *hbox60;
  GtkWidget *label107;
  GtkWidget *label108;
  GtkWidget *toolbar3;
  GtkIconSize tmp_toolbar_icon_size;
  GSList *shellFillButton_group = NULL;
  GtkWidget *shellFillButton;
  GtkWidget *separatortoolitem2;
  GtkWidget *solidFillButton;
  GtkWidget *hbox61;
  GtkWidget *label109;
  GtkWidget *label110;
  GtkWidget *toolbar4;
  GtkWidget *flipYZ;
  GtkWidget *separatortoolitem1;
  GtkWidget *insertAtCursor;
  GtkWidget *hseparator6;
  GtkWidget *hbox66;
  GtkWidget *label122;
  GtkWidget *label82;
  GtkWidget *latticeType;
  GtkWidget *hbox67;
  GtkWidget *label123;
  GtkWidget *label124;
  GtkObject *shellThickness_adj;
  GtkWidget *shellThickness;
  GtkWidget *alignment25;
  GtkWidget *importObjectButton;
  GtkWidget *alignment11;
  GtkWidget *hbox43;
  GtkWidget *image15;
  GtkWidget *label79;
  GtkWidget *alignment15;
  GtkWidget *catomizeBar;
  GtkWidget *hseparator3;
  GtkWidget *alignment18;
  GtkWidget *toolbar1;
  GSList *navigateButton_group = NULL;
  GtkWidget *tmp_image;
  GtkWidget *navigateButton;
  GtkWidget *insertButton;
  GtkWidget *eraseButton;
  GtkWidget *selectButton;
  GtkWidget *toolitem4;
  GtkWidget *catomColorButton;
  GtkWidget *alignment19;
  GtkWidget *toolbar2;
  GtkWidget *toolitem2;
  GtkWidget *label86;
  GSList *mwcameraButton_group = NULL;
  GtkWidget *mwcameraButton;
  GtkWidget *mwcursorButton;
  GtkWidget *hseparator7;
  GtkWidget *hbox45;
  GtkWidget *alignment17;
  GtkWidget *setGUIDButton;
  GtkWidget *alignment13;
  GtkWidget *hbox47;
  GtkWidget *image17;
  GtkWidget *label88;
  GtkWidget *alignment16;
  GtkWidget *GUIDEntry;
  GtkWidget *label129;
  GtkWidget *alignment30;
  GtkWidget *hbox71;
  GtkWidget *cursorPos;
  GtkWidget *label131;
  GtkWidget *alignment29;
  GtkWidget *hbox69;
  GtkWidget *label111;
  GtkWidget *catomCountLabel;
  GtkWidget *label128;
  GtkWidget *label127;
  GtkWidget *clearButton;
  GtkWidget *alignment28;
  GtkWidget *hbox68;
  GtkWidget *image23;
  GtkWidget *label125;
  GtkWidget *saveAsButton;
  GtkWidget *alignment31;
  GtkWidget *hbox72;
  GtkWidget *image24;
  GtkWidget *label132;
  GtkWidget *builderLabel;
  GtkTooltips *tooltips;

  tooltips = gtk_tooltips_new ();

  main_window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  gtk_window_set_title (GTK_WINDOW (main_window), _("DPRSim"));
  gtk_window_set_icon_name (GTK_WINDOW (main_window), "gtk-execute");

  hbox1 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox1);
  gtk_container_add (GTK_CONTAINER (main_window), hbox1);

  vbox1 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox1);
  gtk_box_pack_start (GTK_BOX (hbox1), vbox1, TRUE, TRUE, 0);

  gl_target = gtk_drawing_area_new ();
  gtk_widget_show (gl_target);
  gtk_box_pack_start (GTK_BOX (vbox1), gl_target, TRUE, TRUE, 0);
  gtk_widget_set_size_request (gl_target, 640, 480);
  GTK_WIDGET_SET_FLAGS (gl_target, GTK_CAN_FOCUS);
  GTK_WIDGET_SET_FLAGS (gl_target, GTK_CAN_DEFAULT);
  gtk_widget_set_extension_events (gl_target, GDK_EXTENSION_EVENTS_ALL);

  hseparator4 = gtk_hseparator_new ();
  gtk_widget_show (hseparator4);
  gtk_box_pack_start (GTK_BOX (vbox1), hseparator4, FALSE, FALSE, 0);

  hbox2 = gtk_hbox_new (FALSE, 5);
  gtk_widget_show (hbox2);
  gtk_box_pack_start (GTK_BOX (vbox1), hbox2, FALSE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox2), 5);

  startButton = gtk_toggle_button_new ();
  gtk_widget_show (startButton);
  gtk_box_pack_start (GTK_BOX (hbox2), startButton, FALSE, FALSE, 0);

  alignment9 = gtk_alignment_new (0.5, 0.5, 0, 0);
  gtk_widget_show (alignment9);
  gtk_container_add (GTK_CONTAINER (startButton), alignment9);

  hbox31 = gtk_hbox_new (FALSE, 2);
  gtk_widget_show (hbox31);
  gtk_container_add (GTK_CONTAINER (alignment9), hbox31);

  image12 = gtk_image_new_from_stock ("gtk-apply", GTK_ICON_SIZE_BUTTON);
  gtk_widget_show (image12);
  gtk_box_pack_start (GTK_BOX (hbox31), image12, FALSE, FALSE, 0);

  label52 = gtk_label_new_with_mnemonic (_("Start / Pause"));
  gtk_widget_show (label52);
  gtk_box_pack_start (GTK_BOX (hbox31), label52, FALSE, FALSE, 0);

  alignment14 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment14);
  gtk_box_pack_start (GTK_BOX (hbox2), alignment14, TRUE, TRUE, 0);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment14), 6, 6, 6, 6);

  simProgressBar = gtk_progress_bar_new ();
  gtk_widget_show (simProgressBar);
  gtk_container_add (GTK_CONTAINER (alignment14), simProgressBar);
  gtk_widget_set_size_request (simProgressBar, -1, 30);
  gtk_progress_bar_set_text (GTK_PROGRESS_BAR (simProgressBar), _("Simulation Progress"));

  notebook1 = gtk_notebook_new ();
  gtk_widget_show (notebook1);
  gtk_box_pack_start (GTK_BOX (hbox1), notebook1, FALSE, FALSE, 0);
  GTK_WIDGET_UNSET_FLAGS (notebook1, GTK_CAN_FOCUS);
  gtk_notebook_set_show_tabs (GTK_NOTEBOOK (notebook1), FALSE);

  vbox2 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox2);
  gtk_container_add (GTK_CONTAINER (notebook1), vbox2);

  table3 = gtk_table_new (10, 2, TRUE);
  gtk_widget_show (table3);
  gtk_box_pack_start (GTK_BOX (vbox2), table3, FALSE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (table3), 8);
  gtk_table_set_row_spacings (GTK_TABLE (table3), 8);
  gtk_table_set_col_spacings (GTK_TABLE (table3), 8);

  hbox44 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox44);
  gtk_table_attach (GTK_TABLE (table3), hbox44, 0, 1, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);

  label80 = gtk_label_new ("");
  gtk_widget_show (label80);
  gtk_box_pack_start (GTK_BOX (hbox44), label80, TRUE, TRUE, 0);

  label81 = gtk_label_new (_("# of Time Steps:"));
  gtk_widget_show (label81);
  gtk_box_pack_start (GTK_BOX (hbox44), label81, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label81), GTK_JUSTIFY_RIGHT);
  gtk_misc_set_alignment (GTK_MISC (label81), 0, 0.5);

  timeSteps = gtk_entry_new ();
  gtk_widget_show (timeSteps);
  gtk_table_attach (GTK_TABLE (table3), timeSteps, 1, 2, 3, 4,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_editable_set_editable (GTK_EDITABLE (timeSteps), FALSE);

  hbox48 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox48);
  gtk_table_attach (GTK_TABLE (table3), hbox48, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);

  label89 = gtk_label_new ("");
  gtk_widget_show (label89);
  gtk_box_pack_start (GTK_BOX (hbox48), label89, TRUE, TRUE, 0);

  label90 = gtk_label_new (_("# of Catoms:"));
  gtk_widget_show (label90);
  gtk_box_pack_start (GTK_BOX (hbox48), label90, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label90), GTK_JUSTIFY_RIGHT);
  gtk_misc_set_alignment (GTK_MISC (label90), 0, 0.5);

  numCatoms = gtk_entry_new ();
  gtk_widget_show (numCatoms);
  gtk_table_attach (GTK_TABLE (table3), numCatoms, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_editable_set_editable (GTK_EDITABLE (numCatoms), FALSE);

  experimentFile = gtk_entry_new ();
  gtk_widget_show (experimentFile);
  gtk_table_attach (GTK_TABLE (table3), experimentFile, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_editable_set_editable (GTK_EDITABLE (experimentFile), FALSE);

  worldFile = gtk_entry_new ();
  gtk_widget_show (worldFile);
  gtk_table_attach (GTK_TABLE (table3), worldFile, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_editable_set_editable (GTK_EDITABLE (worldFile), FALSE);

  hbox49 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox49);
  gtk_table_attach (GTK_TABLE (table3), hbox49, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);

  label91 = gtk_label_new ("");
  gtk_widget_show (label91);
  gtk_box_pack_start (GTK_BOX (hbox49), label91, TRUE, TRUE, 0);

  label92 = gtk_label_new (_("World File:"));
  gtk_widget_show (label92);
  gtk_box_pack_start (GTK_BOX (hbox49), label92, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label92), GTK_JUSTIFY_RIGHT);
  gtk_misc_set_alignment (GTK_MISC (label92), 0, 0.5);

  hbox50 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox50);
  gtk_table_attach (GTK_TABLE (table3), hbox50, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);

  label93 = gtk_label_new ("");
  gtk_widget_show (label93);
  gtk_box_pack_start (GTK_BOX (hbox50), label93, TRUE, TRUE, 0);

  label94 = gtk_label_new (_("Experiment File:"));
  gtk_widget_show (label94);
  gtk_box_pack_start (GTK_BOX (hbox50), label94, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label94), GTK_JUSTIFY_RIGHT);
  gtk_misc_set_alignment (GTK_MISC (label94), 0, 0.5);

  hbox8 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox8);
  gtk_table_attach (GTK_TABLE (table3), hbox8, 0, 1, 4, 5,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);

  label10 = gtk_label_new ("");
  gtk_widget_show (label10);
  gtk_box_pack_start (GTK_BOX (hbox8), label10, TRUE, TRUE, 0);

  label11 = gtk_label_new (_("Physics Time Step:"));
  gtk_widget_show (label11);
  gtk_box_pack_start (GTK_BOX (hbox8), label11, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label11), GTK_JUSTIFY_RIGHT);
  gtk_misc_set_alignment (GTK_MISC (label11), 0, 0.5);

  physicsTimeStep = gtk_entry_new ();
  gtk_widget_show (physicsTimeStep);
  gtk_table_attach (GTK_TABLE (table3), physicsTimeStep, 1, 2, 4, 5,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_editable_set_editable (GTK_EDITABLE (physicsTimeStep), FALSE);

  hbox25 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox25);
  gtk_table_attach (GTK_TABLE (table3), hbox25, 0, 1, 5, 6,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);

  label45 = gtk_label_new ("");
  gtk_widget_show (label45);
  gtk_box_pack_start (GTK_BOX (hbox25), label45, TRUE, TRUE, 0);

  label46 = gtk_label_new (_("Simulator Time Step:"));
  gtk_widget_show (label46);
  gtk_box_pack_start (GTK_BOX (hbox25), label46, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label46), GTK_JUSTIFY_RIGHT);
  gtk_misc_set_alignment (GTK_MISC (label46), 0, 0.5);

  simTimeStep = gtk_entry_new ();
  gtk_widget_show (simTimeStep);
  gtk_table_attach (GTK_TABLE (table3), simTimeStep, 1, 2, 5, 6,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_editable_set_editable (GTK_EDITABLE (simTimeStep), FALSE);

  hbox34 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox34);
  gtk_table_attach (GTK_TABLE (table3), hbox34, 0, 1, 6, 7,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);

  label63 = gtk_label_new ("");
  gtk_widget_show (label63);
  gtk_box_pack_start (GTK_BOX (hbox34), label63, TRUE, TRUE, 0);

  label64 = gtk_label_new (_("Save Every # Steps:"));
  gtk_widget_show (label64);
  gtk_box_pack_start (GTK_BOX (hbox34), label64, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label64), GTK_JUSTIFY_RIGHT);
  gtk_misc_set_alignment (GTK_MISC (label64), 0, 0.5);

  saveEveryNSteps = gtk_entry_new ();
  gtk_widget_show (saveEveryNSteps);
  gtk_table_attach (GTK_TABLE (table3), saveEveryNSteps, 1, 2, 6, 7,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_editable_set_editable (GTK_EDITABLE (saveEveryNSteps), FALSE);

  hbox11 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox11);
  gtk_table_attach (GTK_TABLE (table3), hbox11, 0, 1, 7, 8,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);

  label14 = gtk_label_new ("");
  gtk_widget_show (label14);
  gtk_box_pack_start (GTK_BOX (hbox11), label14, TRUE, TRUE, 0);

  label15 = gtk_label_new (_("Running Code Modules:"));
  gtk_widget_show (label15);
  gtk_box_pack_start (GTK_BOX (hbox11), label15, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label15), GTK_JUSTIFY_RIGHT);
  gtk_misc_set_alignment (GTK_MISC (label15), 0, 0.5);

  modulesList = gtk_entry_new ();
  gtk_widget_show (modulesList);
  gtk_table_attach (GTK_TABLE (table3), modulesList, 1, 2, 7, 8,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_editable_set_editable (GTK_EDITABLE (modulesList), FALSE);

  hbox51 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox51);
  gtk_table_attach (GTK_TABLE (table3), hbox51, 0, 1, 8, 9,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);

  label95 = gtk_label_new ("");
  gtk_widget_show (label95);
  gtk_box_pack_start (GTK_BOX (hbox51), label95, TRUE, TRUE, 0);

  label96 = gtk_label_new (_("FeatureMap:"));
  gtk_widget_show (label96);
  gtk_box_pack_start (GTK_BOX (hbox51), label96, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label96), GTK_JUSTIFY_RIGHT);
  gtk_misc_set_alignment (GTK_MISC (label96), 0, 0.5);

  featureMap = gtk_entry_new ();
  gtk_widget_show (featureMap);
  gtk_table_attach (GTK_TABLE (table3), featureMap, 1, 2, 8, 9,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_editable_set_editable (GTK_EDITABLE (featureMap), FALSE);

  hseparator8 = gtk_hseparator_new ();
  gtk_widget_show (hseparator8);
  gtk_table_attach (GTK_TABLE (table3), hseparator8, 0, 2, 9, 10,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  hbox70 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox70);
  gtk_box_pack_start (GTK_BOX (vbox2), hbox70, FALSE, TRUE, 4);

  label130 = gtk_label_new (_("Steps:"));
  gtk_widget_show (label130);
  gtk_box_pack_start (GTK_BOX (hbox70), label130, TRUE, FALSE, 6);

  stepsEntry = gtk_entry_new ();
  gtk_widget_show (stepsEntry);
  gtk_box_pack_start (GTK_BOX (hbox70), stepsEntry, TRUE, FALSE, 0);
  gtk_entry_set_invisible_char (GTK_ENTRY (stepsEntry), 9679);

  advanceButton = gtk_button_new_with_mnemonic (_("Advance"));
  gtk_widget_show (advanceButton);
  gtk_box_pack_start (GTK_BOX (hbox70), advanceButton, TRUE, FALSE, 6);

  hbox52 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox52);
  gtk_box_pack_start (GTK_BOX (vbox2), hbox52, FALSE, FALSE, 6);

  vbuttonbox1 = gtk_vbutton_box_new ();
  gtk_widget_show (vbuttonbox1);
  gtk_box_pack_start (GTK_BOX (hbox52), vbuttonbox1, TRUE, TRUE, 0);
  gtk_box_set_spacing (GTK_BOX (vbuttonbox1), 6);

  renderButton = gtk_toggle_button_new ();
  gtk_widget_show (renderButton);
  gtk_container_add (GTK_CONTAINER (vbuttonbox1), renderButton);

  alignment8 = gtk_alignment_new (0.5, 0.5, 0, 0);
  gtk_widget_show (alignment8);
  gtk_container_add (GTK_CONTAINER (renderButton), alignment8);

  hbox30 = gtk_hbox_new (FALSE, 2);
  gtk_widget_show (hbox30);
  gtk_container_add (GTK_CONTAINER (alignment8), hbox30);

  image11 = gtk_image_new_from_stock ("gtk-add", GTK_ICON_SIZE_BUTTON);
  gtk_widget_show (image11);
  gtk_box_pack_start (GTK_BOX (hbox30), image11, FALSE, FALSE, 0);

  label51 = gtk_label_new_with_mnemonic (_("Render to Disk"));
  gtk_widget_show (label51);
  gtk_box_pack_start (GTK_BOX (hbox30), label51, FALSE, FALSE, 0);

  shadowButton = gtk_toggle_button_new ();
  gtk_widget_show (shadowButton);
  gtk_container_add (GTK_CONTAINER (vbuttonbox1), shadowButton);
  gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (shadowButton), TRUE);

  alignment5 = gtk_alignment_new (0.5, 0.5, 0, 0);
  gtk_widget_show (alignment5);
  gtk_container_add (GTK_CONTAINER (shadowButton), alignment5);

  hbox27 = gtk_hbox_new (FALSE, 2);
  gtk_widget_show (hbox27);
  gtk_container_add (GTK_CONTAINER (alignment5), hbox27);

  image8 = gtk_image_new_from_stock ("gtk-index", GTK_ICON_SIZE_BUTTON);
  gtk_widget_show (image8);
  gtk_box_pack_start (GTK_BOX (hbox27), image8, FALSE, FALSE, 0);

  label48 = gtk_label_new_with_mnemonic (_("Show Shadows"));
  gtk_widget_show (label48);
  gtk_box_pack_start (GTK_BOX (hbox27), label48, FALSE, FALSE, 0);

  speechButton = gtk_toggle_button_new ();
  gtk_widget_show (speechButton);
  gtk_container_add (GTK_CONTAINER (vbuttonbox1), speechButton);
  gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (speechButton), TRUE);

  alignment7 = gtk_alignment_new (0.5, 0.5, 0, 0);
  gtk_widget_show (alignment7);
  gtk_container_add (GTK_CONTAINER (speechButton), alignment7);

  hbox29 = gtk_hbox_new (FALSE, 2);
  gtk_widget_show (hbox29);
  gtk_container_add (GTK_CONTAINER (alignment7), hbox29);

  image10 = gtk_image_new_from_stock ("gtk-dialog-warning", GTK_ICON_SIZE_BUTTON);
  gtk_widget_show (image10);
  gtk_box_pack_start (GTK_BOX (hbox29), image10, FALSE, FALSE, 0);

  label50 = gtk_label_new_with_mnemonic (_("Catom Speech"));
  gtk_widget_show (label50);
  gtk_box_pack_start (GTK_BOX (hbox29), label50, FALSE, FALSE, 0);

  vbuttonbox2 = gtk_vbutton_box_new ();
  gtk_widget_show (vbuttonbox2);
  gtk_box_pack_start (GTK_BOX (hbox52), vbuttonbox2, TRUE, TRUE, 0);
  gtk_box_set_spacing (GTK_BOX (vbuttonbox2), 6);

  aboutDPRSim = gtk_button_new ();
  gtk_widget_show (aboutDPRSim);
  gtk_container_add (GTK_CONTAINER (vbuttonbox2), aboutDPRSim);
  GTK_WIDGET_SET_FLAGS (aboutDPRSim, GTK_CAN_DEFAULT);

  alignment23 = gtk_alignment_new (0.5, 0.5, 0, 0);
  gtk_widget_show (alignment23);
  gtk_container_add (GTK_CONTAINER (aboutDPRSim), alignment23);

  hbox56 = gtk_hbox_new (FALSE, 2);
  gtk_widget_show (hbox56);
  gtk_container_add (GTK_CONTAINER (alignment23), hbox56);

  image21 = gtk_image_new_from_stock ("gtk-about", GTK_ICON_SIZE_BUTTON);
  gtk_widget_show (image21);
  gtk_box_pack_start (GTK_BOX (hbox56), image21, FALSE, FALSE, 0);

  label103 = gtk_label_new_with_mnemonic (_("About DPRSim"));
  gtk_widget_show (label103);
  gtk_box_pack_start (GTK_BOX (hbox56), label103, FALSE, FALSE, 0);

  dprsimHelp = gtk_button_new ();
  gtk_widget_show (dprsimHelp);
  gtk_container_add (GTK_CONTAINER (vbuttonbox2), dprsimHelp);
  GTK_WIDGET_SET_FLAGS (dprsimHelp, GTK_CAN_DEFAULT);

  alignment24 = gtk_alignment_new (0.5, 0.5, 0, 0);
  gtk_widget_show (alignment24);
  gtk_container_add (GTK_CONTAINER (dprsimHelp), alignment24);

  hbox57 = gtk_hbox_new (FALSE, 2);
  gtk_widget_show (hbox57);
  gtk_container_add (GTK_CONTAINER (alignment24), hbox57);

  image22 = gtk_image_new_from_stock ("gtk-help", GTK_ICON_SIZE_BUTTON);
  gtk_widget_show (image22);
  gtk_box_pack_start (GTK_BOX (hbox57), image22, FALSE, FALSE, 0);

  label104 = gtk_label_new_with_mnemonic (_("DPRSim Help"));
  gtk_widget_show (label104);
  gtk_box_pack_start (GTK_BOX (hbox57), label104, FALSE, FALSE, 0);

  settingsLabel = gtk_label_new (_("Settings"));
  gtk_widget_show (settingsLabel);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook1), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook1), 0), settingsLabel);

  vbox4 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox4);
  gtk_container_add (GTK_CONTAINER (notebook1), vbox4);

  table4 = gtk_table_new (7, 3, FALSE);
  gtk_widget_show (table4);
  gtk_box_pack_start (GTK_BOX (vbox4), table4, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (table4), 6);
  gtk_table_set_row_spacings (GTK_TABLE (table4), 6);
  gtk_table_set_col_spacings (GTK_TABLE (table4), 6);

  objectFile = gtk_entry_new ();
  gtk_widget_show (objectFile);
  gtk_table_attach (GTK_TABLE (table4), objectFile, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  GTK_WIDGET_UNSET_FLAGS (objectFile, GTK_CAN_FOCUS);
  gtk_editable_set_editable (GTK_EDITABLE (objectFile), FALSE);

  objectButton = gtk_button_new ();
  gtk_widget_show (objectButton);
  gtk_table_attach (GTK_TABLE (table4), objectButton, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  alignment10 = gtk_alignment_new (0.5, 0.5, 0, 0);
  gtk_widget_show (alignment10);
  gtk_container_add (GTK_CONTAINER (objectButton), alignment10);

  hbox35 = gtk_hbox_new (FALSE, 2);
  gtk_widget_show (hbox35);
  gtk_container_add (GTK_CONTAINER (alignment10), hbox35);

  image13 = gtk_image_new_from_stock ("gtk-open", GTK_ICON_SIZE_BUTTON);
  gtk_widget_show (image13);
  gtk_box_pack_start (GTK_BOX (hbox35), image13, FALSE, FALSE, 0);

  label65 = gtk_label_new_with_mnemonic (_("Model file:"));
  gtk_widget_show (label65);
  gtk_box_pack_start (GTK_BOX (hbox35), label65, FALSE, FALSE, 0);

  clearObjectButton = gtk_button_new ();
  gtk_widget_show (clearObjectButton);
  gtk_table_attach (GTK_TABLE (table4), clearObjectButton, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_button_set_relief (GTK_BUTTON (clearObjectButton), GTK_RELIEF_NONE);

  image14 = gtk_image_new_from_stock ("gtk-delete", GTK_ICON_SIZE_BUTTON);
  gtk_widget_show (image14);
  gtk_container_add (GTK_CONTAINER (clearObjectButton), image14);

  label85 = gtk_label_new ("");
  gtk_widget_show (label85);
  gtk_table_attach (GTK_TABLE (table4), label85, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label85), 0, 0.5);

  catomScale_adj = gtk_adjustment_new (30, 10, 1000, 5, 5, 5);
  catomScale = gtk_spin_button_new (GTK_ADJUSTMENT (catomScale_adj), 1, 0);
  gtk_widget_show (catomScale);
  gtk_table_attach (GTK_TABLE (table4), catomScale, 1, 3, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (catomScale), TRUE);

  hbox59 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox59);
  gtk_table_attach (GTK_TABLE (table4), hbox59, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);

  label106 = gtk_label_new ("");
  gtk_widget_show (label106);
  gtk_box_pack_start (GTK_BOX (hbox59), label106, TRUE, TRUE, 0);

  label84 = gtk_label_new (_("Long Axis Size:"));
  gtk_widget_show (label84);
  gtk_box_pack_start (GTK_BOX (hbox59), label84, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label84), 0, 0.5);

  hbox60 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox60);
  gtk_table_attach (GTK_TABLE (table4), hbox60, 0, 1, 4, 5,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);

  label107 = gtk_label_new (_("                "));
  gtk_widget_show (label107);
  gtk_box_pack_start (GTK_BOX (hbox60), label107, FALSE, FALSE, 0);

  label108 = gtk_label_new (_("Fill Style:"));
  gtk_widget_show (label108);
  gtk_box_pack_start (GTK_BOX (hbox60), label108, FALSE, FALSE, 0);

  toolbar3 = gtk_toolbar_new ();
  gtk_widget_show (toolbar3);
  gtk_table_attach (GTK_TABLE (table4), toolbar3, 1, 3, 4, 5,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_toolbar_set_style (GTK_TOOLBAR (toolbar3), GTK_TOOLBAR_TEXT);
  tmp_toolbar_icon_size = gtk_toolbar_get_icon_size (GTK_TOOLBAR (toolbar3));

  shellFillButton = (GtkWidget*) gtk_radio_tool_button_new (NULL);
  gtk_tool_button_set_label (GTK_TOOL_BUTTON (shellFillButton), _("Shell"));
  gtk_widget_show (shellFillButton);
  gtk_tool_item_set_expand (GTK_TOOL_ITEM (shellFillButton), TRUE);
  gtk_container_add (GTK_CONTAINER (toolbar3), shellFillButton);
  gtk_radio_tool_button_set_group (GTK_RADIO_TOOL_BUTTON (shellFillButton), shellFillButton_group);
  shellFillButton_group = gtk_radio_tool_button_get_group (GTK_RADIO_TOOL_BUTTON (shellFillButton));
  gtk_toggle_tool_button_set_active (GTK_TOGGLE_TOOL_BUTTON (shellFillButton), TRUE);

  separatortoolitem2 = (GtkWidget*) gtk_separator_tool_item_new ();
  gtk_widget_show (separatortoolitem2);
  gtk_container_add (GTK_CONTAINER (toolbar3), separatortoolitem2);

  solidFillButton = (GtkWidget*) gtk_radio_tool_button_new (NULL);
  gtk_tool_button_set_label (GTK_TOOL_BUTTON (solidFillButton), _("Solid"));
  gtk_widget_show (solidFillButton);
  gtk_tool_item_set_expand (GTK_TOOL_ITEM (solidFillButton), TRUE);
  gtk_container_add (GTK_CONTAINER (toolbar3), solidFillButton);
  gtk_radio_tool_button_set_group (GTK_RADIO_TOOL_BUTTON (solidFillButton), shellFillButton_group);
  shellFillButton_group = gtk_radio_tool_button_get_group (GTK_RADIO_TOOL_BUTTON (solidFillButton));

  hbox61 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox61);
  gtk_table_attach (GTK_TABLE (table4), hbox61, 0, 1, 6, 7,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);

  label109 = gtk_label_new (_("      "));
  gtk_widget_show (label109);
  gtk_box_pack_start (GTK_BOX (hbox61), label109, FALSE, FALSE, 0);

  label110 = gtk_label_new (_("Other Options:"));
  gtk_widget_show (label110);
  gtk_box_pack_start (GTK_BOX (hbox61), label110, FALSE, FALSE, 0);

  toolbar4 = gtk_toolbar_new ();
  gtk_widget_show (toolbar4);
  gtk_table_attach (GTK_TABLE (table4), toolbar4, 1, 3, 6, 7,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_toolbar_set_style (GTK_TOOLBAR (toolbar4), GTK_TOOLBAR_TEXT);
  tmp_toolbar_icon_size = gtk_toolbar_get_icon_size (GTK_TOOLBAR (toolbar4));

  flipYZ = (GtkWidget*) gtk_toggle_tool_button_new ();
  gtk_tool_button_set_label (GTK_TOOL_BUTTON (flipYZ), _("Flip YZ"));
  gtk_widget_show (flipYZ);
  gtk_tool_item_set_expand (GTK_TOOL_ITEM (flipYZ), TRUE);
  gtk_container_add (GTK_CONTAINER (toolbar4), flipYZ);

  separatortoolitem1 = (GtkWidget*) gtk_separator_tool_item_new ();
  gtk_widget_show (separatortoolitem1);
  gtk_container_add (GTK_CONTAINER (toolbar4), separatortoolitem1);

  insertAtCursor = (GtkWidget*) gtk_toggle_tool_button_new ();
  gtk_tool_button_set_label (GTK_TOOL_BUTTON (insertAtCursor), _("Insert at cursor"));
  gtk_widget_show (insertAtCursor);
  gtk_tool_item_set_expand (GTK_TOOL_ITEM (insertAtCursor), TRUE);
  gtk_container_add (GTK_CONTAINER (toolbar4), insertAtCursor);

  hseparator6 = gtk_hseparator_new ();
  gtk_widget_show (hseparator6);
  gtk_table_attach (GTK_TABLE (table4), hseparator6, 0, 3, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);

  hbox66 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox66);
  gtk_table_attach (GTK_TABLE (table4), hbox66, 0, 1, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);

  label122 = gtk_label_new (_("          "));
  gtk_widget_show (label122);
  gtk_box_pack_start (GTK_BOX (hbox66), label122, FALSE, FALSE, 0);

  label82 = gtk_label_new (_("Lattice Type:"));
  gtk_widget_show (label82);
  gtk_box_pack_start (GTK_BOX (hbox66), label82, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label82), 0, 0.5);

  latticeType = gtk_combo_box_new_text ();
  gtk_widget_show (latticeType);
  gtk_table_attach (GTK_TABLE (table4), latticeType, 1, 3, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  GTK_WIDGET_SET_FLAGS (latticeType, GTK_CAN_DEFAULT);
  gtk_combo_box_append_text (GTK_COMBO_BOX (latticeType), _("Cubic"));
  gtk_combo_box_append_text (GTK_COMBO_BOX (latticeType), _("Hex Planar"));
  gtk_combo_box_append_text (GTK_COMBO_BOX (latticeType), _("Face-Centered Cubic"));
  gtk_combo_box_append_text (GTK_COMBO_BOX (latticeType), _("Body-Centered Cubic"));

  hbox67 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox67);
  gtk_table_attach (GTK_TABLE (table4), hbox67, 0, 1, 5, 6,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);

  label123 = gtk_label_new (_("    "));
  gtk_widget_show (label123);
  gtk_box_pack_start (GTK_BOX (hbox67), label123, FALSE, FALSE, 0);

  label124 = gtk_label_new (_("Shell Thickness:"));
  gtk_widget_show (label124);
  gtk_box_pack_start (GTK_BOX (hbox67), label124, FALSE, FALSE, 0);

  shellThickness_adj = gtk_adjustment_new (2, 2, 100, 1, 10, 10);
  shellThickness = gtk_spin_button_new (GTK_ADJUSTMENT (shellThickness_adj), 1, 0);
  gtk_widget_show (shellThickness);
  gtk_table_attach (GTK_TABLE (table4), shellThickness, 1, 3, 5, 6,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  alignment25 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment25);
  gtk_box_pack_start (GTK_BOX (vbox4), alignment25, FALSE, FALSE, 0);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment25), 0, 6, 6, 6);

  importObjectButton = gtk_button_new ();
  gtk_widget_show (importObjectButton);
  gtk_container_add (GTK_CONTAINER (alignment25), importObjectButton);

  alignment11 = gtk_alignment_new (0.5, 0.5, 0, 0);
  gtk_widget_show (alignment11);
  gtk_container_add (GTK_CONTAINER (importObjectButton), alignment11);

  hbox43 = gtk_hbox_new (FALSE, 2);
  gtk_widget_show (hbox43);
  gtk_container_add (GTK_CONTAINER (alignment11), hbox43);

  image15 = gtk_image_new_from_stock ("gtk-execute", GTK_ICON_SIZE_BUTTON);
  gtk_widget_show (image15);
  gtk_box_pack_start (GTK_BOX (hbox43), image15, FALSE, FALSE, 0);

  label79 = gtk_label_new_with_mnemonic (_("Import/Create Object"));
  gtk_widget_show (label79);
  gtk_box_pack_start (GTK_BOX (hbox43), label79, FALSE, FALSE, 0);

  alignment15 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment15);
  gtk_box_pack_start (GTK_BOX (vbox4), alignment15, FALSE, FALSE, 0);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment15), 0, 0, 6, 6);

  catomizeBar = gtk_progress_bar_new ();
  gtk_widget_show (catomizeBar);
  gtk_container_add (GTK_CONTAINER (alignment15), catomizeBar);
  gtk_widget_set_size_request (catomizeBar, -1, 30);

  hseparator3 = gtk_hseparator_new ();
  gtk_widget_show (hseparator3);
  gtk_box_pack_start (GTK_BOX (vbox4), hseparator3, FALSE, FALSE, 6);

  alignment18 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment18);
  gtk_box_pack_start (GTK_BOX (vbox4), alignment18, FALSE, FALSE, 0);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment18), 0, 0, 6, 6);

  toolbar1 = gtk_toolbar_new ();
  gtk_widget_show (toolbar1);
  gtk_container_add (GTK_CONTAINER (alignment18), toolbar1);
  gtk_toolbar_set_style (GTK_TOOLBAR (toolbar1), GTK_TOOLBAR_BOTH);
  tmp_toolbar_icon_size = gtk_toolbar_get_icon_size (GTK_TOOLBAR (toolbar1));

  navigateButton = (GtkWidget*) gtk_radio_tool_button_new (NULL);
  gtk_tool_button_set_label (GTK_TOOL_BUTTON (navigateButton), _("Navigate"));
  tmp_image = gtk_image_new_from_stock ("gtk-go-up", tmp_toolbar_icon_size);
  gtk_widget_show (tmp_image);
  gtk_tool_button_set_icon_widget (GTK_TOOL_BUTTON (navigateButton), tmp_image);
  gtk_widget_show (navigateButton);
  gtk_container_add (GTK_CONTAINER (toolbar1), navigateButton);
  gtk_radio_tool_button_set_group (GTK_RADIO_TOOL_BUTTON (navigateButton), navigateButton_group);
  navigateButton_group = gtk_radio_tool_button_get_group (GTK_RADIO_TOOL_BUTTON (navigateButton));
  gtk_toggle_tool_button_set_active (GTK_TOGGLE_TOOL_BUTTON (navigateButton), TRUE);

  insertButton = (GtkWidget*) gtk_radio_tool_button_new (NULL);
  gtk_tool_button_set_label (GTK_TOOL_BUTTON (insertButton), _("Insert"));
  tmp_image = gtk_image_new_from_stock ("gtk-yes", tmp_toolbar_icon_size);
  gtk_widget_show (tmp_image);
  gtk_tool_button_set_icon_widget (GTK_TOOL_BUTTON (insertButton), tmp_image);
  gtk_widget_show (insertButton);
  gtk_container_add (GTK_CONTAINER (toolbar1), insertButton);
  gtk_radio_tool_button_set_group (GTK_RADIO_TOOL_BUTTON (insertButton), navigateButton_group);
  navigateButton_group = gtk_radio_tool_button_get_group (GTK_RADIO_TOOL_BUTTON (insertButton));

  eraseButton = (GtkWidget*) gtk_radio_tool_button_new (NULL);
  gtk_tool_button_set_label (GTK_TOOL_BUTTON (eraseButton), _("Erase"));
  tmp_image = gtk_image_new_from_stock ("gtk-no", tmp_toolbar_icon_size);
  gtk_widget_show (tmp_image);
  gtk_tool_button_set_icon_widget (GTK_TOOL_BUTTON (eraseButton), tmp_image);
  gtk_widget_show (eraseButton);
  gtk_container_add (GTK_CONTAINER (toolbar1), eraseButton);
  gtk_radio_tool_button_set_group (GTK_RADIO_TOOL_BUTTON (eraseButton), navigateButton_group);
  navigateButton_group = gtk_radio_tool_button_get_group (GTK_RADIO_TOOL_BUTTON (eraseButton));

  selectButton = (GtkWidget*) gtk_radio_tool_button_new (NULL);
  gtk_tool_button_set_label (GTK_TOOL_BUTTON (selectButton), _("Select"));
  tmp_image = gtk_image_new_from_stock ("gtk-index", tmp_toolbar_icon_size);
  gtk_widget_show (tmp_image);
  gtk_tool_button_set_icon_widget (GTK_TOOL_BUTTON (selectButton), tmp_image);
  gtk_widget_show (selectButton);
  gtk_container_add (GTK_CONTAINER (toolbar1), selectButton);
  gtk_radio_tool_button_set_group (GTK_RADIO_TOOL_BUTTON (selectButton), navigateButton_group);
  navigateButton_group = gtk_radio_tool_button_get_group (GTK_RADIO_TOOL_BUTTON (selectButton));

  toolitem4 = (GtkWidget*) gtk_tool_item_new ();
  gtk_widget_show (toolitem4);
  gtk_container_add (GTK_CONTAINER (toolbar1), toolitem4);

  catomColorButton = gtk_color_button_new ();
  gtk_widget_show (catomColorButton);
  gtk_container_add (GTK_CONTAINER (toolitem4), catomColorButton);
  gtk_container_set_border_width (GTK_CONTAINER (catomColorButton), 4);
  gtk_tooltips_set_tip (tooltips, catomColorButton, _("Catom Color Selection"), NULL);
  gtk_color_button_set_title (GTK_COLOR_BUTTON (catomColorButton), _("Select Catom color"));

  alignment19 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment19);
  gtk_box_pack_start (GTK_BOX (vbox4), alignment19, FALSE, TRUE, 0);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment19), 6, 0, 6, 6);

  toolbar2 = gtk_toolbar_new ();
  gtk_widget_show (toolbar2);
  gtk_container_add (GTK_CONTAINER (alignment19), toolbar2);
  gtk_toolbar_set_style (GTK_TOOLBAR (toolbar2), GTK_TOOLBAR_BOTH);
  tmp_toolbar_icon_size = gtk_toolbar_get_icon_size (GTK_TOOLBAR (toolbar2));

  toolitem2 = (GtkWidget*) gtk_tool_item_new ();
  gtk_widget_show (toolitem2);
  gtk_container_add (GTK_CONTAINER (toolbar2), toolitem2);

  label86 = gtk_label_new (_("Mouse Wheel Scroll: "));
  gtk_widget_show (label86);
  gtk_container_add (GTK_CONTAINER (toolitem2), label86);
  gtk_label_set_line_wrap (GTK_LABEL (label86), TRUE);
  gtk_label_set_width_chars (GTK_LABEL (label86), 17);

  mwcameraButton = (GtkWidget*) gtk_radio_tool_button_new (NULL);
  gtk_tool_button_set_label (GTK_TOOL_BUTTON (mwcameraButton), _("Camera Z"));
  tmp_image = gtk_image_new_from_stock ("gtk-fullscreen", tmp_toolbar_icon_size);
  gtk_widget_show (tmp_image);
  gtk_tool_button_set_icon_widget (GTK_TOOL_BUTTON (mwcameraButton), tmp_image);
  gtk_widget_show (mwcameraButton);
  gtk_container_add (GTK_CONTAINER (toolbar2), mwcameraButton);
  gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (mwcameraButton), tooltips, _("Scrolling mouse wheel moves camera along Z axis"), NULL);
  gtk_radio_tool_button_set_group (GTK_RADIO_TOOL_BUTTON (mwcameraButton), mwcameraButton_group);
  mwcameraButton_group = gtk_radio_tool_button_get_group (GTK_RADIO_TOOL_BUTTON (mwcameraButton));

  mwcursorButton = (GtkWidget*) gtk_radio_tool_button_new (NULL);
  gtk_tool_button_set_label (GTK_TOOL_BUTTON (mwcursorButton), _("Cursor Z"));
  tmp_image = gtk_image_new_from_stock ("gtk-jump-to", tmp_toolbar_icon_size);
  gtk_widget_show (tmp_image);
  gtk_tool_button_set_icon_widget (GTK_TOOL_BUTTON (mwcursorButton), tmp_image);
  gtk_widget_show (mwcursorButton);
  gtk_container_add (GTK_CONTAINER (toolbar2), mwcursorButton);
  gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (mwcursorButton), tooltips, _("Scrolling mouse wheel moves catom cursor along Z axis"), NULL);
  gtk_radio_tool_button_set_group (GTK_RADIO_TOOL_BUTTON (mwcursorButton), mwcameraButton_group);
  mwcameraButton_group = gtk_radio_tool_button_get_group (GTK_RADIO_TOOL_BUTTON (mwcursorButton));

  hseparator7 = gtk_hseparator_new ();
  gtk_widget_show (hseparator7);
  gtk_box_pack_start (GTK_BOX (vbox4), hseparator7, FALSE, FALSE, 6);

  hbox45 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox45);
  gtk_box_pack_start (GTK_BOX (vbox4), hbox45, FALSE, TRUE, 0);

  alignment17 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment17);
  gtk_box_pack_start (GTK_BOX (hbox45), alignment17, FALSE, FALSE, 0);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment17), 0, 0, 6, 0);

  setGUIDButton = gtk_button_new ();
  gtk_widget_show (setGUIDButton);
  gtk_container_add (GTK_CONTAINER (alignment17), setGUIDButton);

  alignment13 = gtk_alignment_new (0.5, 0.5, 0, 0);
  gtk_widget_show (alignment13);
  gtk_container_add (GTK_CONTAINER (setGUIDButton), alignment13);

  hbox47 = gtk_hbox_new (FALSE, 2);
  gtk_widget_show (hbox47);
  gtk_container_add (GTK_CONTAINER (alignment13), hbox47);

  image17 = gtk_image_new_from_stock ("gtk-edit", GTK_ICON_SIZE_BUTTON);
  gtk_widget_show (image17);
  gtk_box_pack_start (GTK_BOX (hbox47), image17, FALSE, FALSE, 0);

  label88 = gtk_label_new_with_mnemonic (_("Set GUID"));
  gtk_widget_show (label88);
  gtk_box_pack_start (GTK_BOX (hbox47), label88, FALSE, FALSE, 0);

  alignment16 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment16);
  gtk_box_pack_start (GTK_BOX (hbox45), alignment16, TRUE, TRUE, 0);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment16), 0, 0, 6, 6);

  GUIDEntry = gtk_entry_new ();
  gtk_widget_show (GUIDEntry);
  gtk_container_add (GTK_CONTAINER (alignment16), GUIDEntry);
  gtk_entry_set_invisible_char (GTK_ENTRY (GUIDEntry), 9679);

  label129 = gtk_label_new ("");
  gtk_widget_show (label129);
  gtk_box_pack_start (GTK_BOX (vbox4), label129, FALSE, FALSE, 0);

  alignment30 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment30);
  gtk_box_pack_start (GTK_BOX (vbox4), alignment30, FALSE, FALSE, 0);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment30), 0, 0, 6, 0);

  hbox71 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox71);
  gtk_container_add (GTK_CONTAINER (alignment30), hbox71);

  cursorPos = gtk_label_new ("");
  gtk_widget_show (cursorPos);
  gtk_box_pack_start (GTK_BOX (hbox71), cursorPos, FALSE, FALSE, 0);

  label131 = gtk_label_new ("");
  gtk_widget_show (label131);
  gtk_box_pack_start (GTK_BOX (hbox71), label131, FALSE, FALSE, 0);

  alignment29 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment29);
  gtk_box_pack_start (GTK_BOX (vbox4), alignment29, FALSE, FALSE, 0);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment29), 0, 6, 6, 6);

  hbox69 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox69);
  gtk_container_add (GTK_CONTAINER (alignment29), hbox69);

  label111 = gtk_label_new (_("Catoms: "));
  gtk_widget_show (label111);
  gtk_box_pack_start (GTK_BOX (hbox69), label111, FALSE, FALSE, 0);

  catomCountLabel = gtk_label_new (_("0"));
  gtk_widget_show (catomCountLabel);
  gtk_box_pack_start (GTK_BOX (hbox69), catomCountLabel, FALSE, FALSE, 0);

  label128 = gtk_label_new ("");
  gtk_widget_show (label128);
  gtk_box_pack_start (GTK_BOX (hbox69), label128, FALSE, FALSE, 3);

  label127 = gtk_label_new ("");
  gtk_widget_show (label127);
  gtk_box_pack_start (GTK_BOX (hbox69), label127, TRUE, FALSE, 0);

  clearButton = gtk_button_new ();
  gtk_widget_show (clearButton);
  gtk_box_pack_start (GTK_BOX (hbox69), clearButton, FALSE, FALSE, 6);

  alignment28 = gtk_alignment_new (0.5, 0.5, 0, 0);
  gtk_widget_show (alignment28);
  gtk_container_add (GTK_CONTAINER (clearButton), alignment28);

  hbox68 = gtk_hbox_new (FALSE, 2);
  gtk_widget_show (hbox68);
  gtk_container_add (GTK_CONTAINER (alignment28), hbox68);

  image23 = gtk_image_new_from_stock ("gtk-delete", GTK_ICON_SIZE_BUTTON);
  gtk_widget_show (image23);
  gtk_box_pack_start (GTK_BOX (hbox68), image23, FALSE, FALSE, 0);

  label125 = gtk_label_new_with_mnemonic (_("Clear All"));
  gtk_widget_show (label125);
  gtk_box_pack_start (GTK_BOX (hbox68), label125, FALSE, FALSE, 0);

  saveAsButton = gtk_button_new ();
  gtk_widget_show (saveAsButton);
  gtk_box_pack_start (GTK_BOX (hbox69), saveAsButton, FALSE, FALSE, 0);

  alignment31 = gtk_alignment_new (0.5, 0.5, 0, 0);
  gtk_widget_show (alignment31);
  gtk_container_add (GTK_CONTAINER (saveAsButton), alignment31);

  hbox72 = gtk_hbox_new (FALSE, 2);
  gtk_widget_show (hbox72);
  gtk_container_add (GTK_CONTAINER (alignment31), hbox72);

  image24 = gtk_image_new_from_stock ("gtk-save-as", GTK_ICON_SIZE_BUTTON);
  gtk_widget_show (image24);
  gtk_box_pack_start (GTK_BOX (hbox72), image24, FALSE, FALSE, 0);

  label132 = gtk_label_new_with_mnemonic (_("Save As..."));
  gtk_widget_show (label132);
  gtk_box_pack_start (GTK_BOX (hbox72), label132, FALSE, FALSE, 0);

  builderLabel = gtk_label_new (_("Builder"));
  gtk_widget_show (builderLabel);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook1), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook1), 1), builderLabel);

  g_signal_connect ((gpointer) main_window, "destroy",
                    G_CALLBACK (on_main_window_destroy),
                    NULL);
  g_signal_connect ((gpointer) startButton, "toggled",
                    G_CALLBACK (on_startButton_toggled),
                    NULL);
  g_signal_connect ((gpointer) timeSteps, "changed",
                    G_CALLBACK (on_modulesList_changed),
                    NULL);
  g_signal_connect ((gpointer) numCatoms, "changed",
                    G_CALLBACK (on_modulesList_changed),
                    NULL);
  g_signal_connect ((gpointer) experimentFile, "changed",
                    G_CALLBACK (on_modulesList_changed),
                    NULL);
  g_signal_connect ((gpointer) worldFile, "changed",
                    G_CALLBACK (on_modulesList_changed),
                    NULL);
  g_signal_connect ((gpointer) physicsTimeStep, "changed",
                    G_CALLBACK (on_modulesList_changed),
                    NULL);
  g_signal_connect ((gpointer) simTimeStep, "changed",
                    G_CALLBACK (on_modulesList_changed),
                    NULL);
  g_signal_connect ((gpointer) saveEveryNSteps, "changed",
                    G_CALLBACK (on_modulesList_changed),
                    NULL);
  g_signal_connect ((gpointer) modulesList, "changed",
                    G_CALLBACK (on_modulesList_changed),
                    NULL);
  g_signal_connect ((gpointer) featureMap, "changed",
                    G_CALLBACK (on_modulesList_changed),
                    NULL);
  g_signal_connect ((gpointer) advanceButton, "clicked",
                    G_CALLBACK (on_advanceButton_clicked),
                    NULL);
  g_signal_connect ((gpointer) renderButton, "toggled",
                    G_CALLBACK (on_renderButton_toggled),
                    NULL);
  g_signal_connect ((gpointer) shadowButton, "toggled",
                    G_CALLBACK (on_shadowButton_toggled),
                    NULL);
  g_signal_connect ((gpointer) speechButton, "toggled",
                    G_CALLBACK (on_speechButton_toggled),
                    NULL);
  g_signal_connect ((gpointer) aboutDPRSim, "clicked",
                    G_CALLBACK (on_aboutDPRSim_clicked),
                    NULL);
  g_signal_connect ((gpointer) dprsimHelp, "clicked",
                    G_CALLBACK (on_dprsimHelp_clicked),
                    NULL);
  g_signal_connect ((gpointer) objectButton, "clicked",
                    G_CALLBACK (on_objectButton_clicked),
                    NULL);
  g_signal_connect ((gpointer) clearObjectButton, "clicked",
                    G_CALLBACK (on_clearObjectButton_clicked),
                    NULL);
  g_signal_connect ((gpointer) shellFillButton, "toggled",
                    G_CALLBACK (on_shellFillButton_toggled),
                    NULL);
  g_signal_connect ((gpointer) solidFillButton, "toggled",
                    G_CALLBACK (on_solidFillButton_toggled),
                    NULL);
  g_signal_connect ((gpointer) insertAtCursor, "toggled",
                    G_CALLBACK (on_insertAtCursor_toggled),
                    NULL);
  g_signal_connect ((gpointer) latticeType, "changed",
                    G_CALLBACK (on_latticeType_changed),
                    NULL);
  g_signal_connect ((gpointer) importObjectButton, "clicked",
                    G_CALLBACK (on_importObjectButton_clicked),
                    NULL);
  g_signal_connect ((gpointer) navigateButton, "toggled",
                    G_CALLBACK (on_navigateButton_toggled),
                    NULL);
  g_signal_connect ((gpointer) insertButton, "toggled",
                    G_CALLBACK (on_insertButton_toggled),
                    NULL);
  g_signal_connect ((gpointer) eraseButton, "toggled",
                    G_CALLBACK (on_eraseButton_toggled),
                    NULL);
  g_signal_connect ((gpointer) selectButton, "toggled",
                    G_CALLBACK (on_selectButton_toggled),
                    NULL);
  g_signal_connect ((gpointer) catomColorButton, "color_set",
                    G_CALLBACK (on_catomColorButton_color_set),
                    NULL);
  g_signal_connect ((gpointer) mwcameraButton, "toggled",
                    G_CALLBACK (on_mwcameraButton_toggled),
                    NULL);
  g_signal_connect ((gpointer) mwcursorButton, "toggled",
                    G_CALLBACK (on_mwcursorButton_toggled),
                    NULL);
  g_signal_connect ((gpointer) setGUIDButton, "clicked",
                    G_CALLBACK (on_setGUIDButton_clicked),
                    NULL);
  g_signal_connect ((gpointer) clearButton, "clicked",
                    G_CALLBACK (on_clearButton_clicked),
                    NULL);
  g_signal_connect ((gpointer) saveAsButton, "clicked",
                    G_CALLBACK (on_saveAsButton_clicked),
                    NULL);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (main_window, main_window, "main_window");
  GLADE_HOOKUP_OBJECT (main_window, hbox1, "hbox1");
  GLADE_HOOKUP_OBJECT (main_window, vbox1, "vbox1");
  GLADE_HOOKUP_OBJECT (main_window, gl_target, "gl_target");
  GLADE_HOOKUP_OBJECT (main_window, hseparator4, "hseparator4");
  GLADE_HOOKUP_OBJECT (main_window, hbox2, "hbox2");
  GLADE_HOOKUP_OBJECT (main_window, startButton, "startButton");
  GLADE_HOOKUP_OBJECT (main_window, alignment9, "alignment9");
  GLADE_HOOKUP_OBJECT (main_window, hbox31, "hbox31");
  GLADE_HOOKUP_OBJECT (main_window, image12, "image12");
  GLADE_HOOKUP_OBJECT (main_window, label52, "label52");
  GLADE_HOOKUP_OBJECT (main_window, alignment14, "alignment14");
  GLADE_HOOKUP_OBJECT (main_window, simProgressBar, "simProgressBar");
  GLADE_HOOKUP_OBJECT (main_window, notebook1, "notebook1");
  GLADE_HOOKUP_OBJECT (main_window, vbox2, "vbox2");
  GLADE_HOOKUP_OBJECT (main_window, table3, "table3");
  GLADE_HOOKUP_OBJECT (main_window, hbox44, "hbox44");
  GLADE_HOOKUP_OBJECT (main_window, label80, "label80");
  GLADE_HOOKUP_OBJECT (main_window, label81, "label81");
  GLADE_HOOKUP_OBJECT (main_window, timeSteps, "timeSteps");
  GLADE_HOOKUP_OBJECT (main_window, hbox48, "hbox48");
  GLADE_HOOKUP_OBJECT (main_window, label89, "label89");
  GLADE_HOOKUP_OBJECT (main_window, label90, "label90");
  GLADE_HOOKUP_OBJECT (main_window, numCatoms, "numCatoms");
  GLADE_HOOKUP_OBJECT (main_window, experimentFile, "experimentFile");
  GLADE_HOOKUP_OBJECT (main_window, worldFile, "worldFile");
  GLADE_HOOKUP_OBJECT (main_window, hbox49, "hbox49");
  GLADE_HOOKUP_OBJECT (main_window, label91, "label91");
  GLADE_HOOKUP_OBJECT (main_window, label92, "label92");
  GLADE_HOOKUP_OBJECT (main_window, hbox50, "hbox50");
  GLADE_HOOKUP_OBJECT (main_window, label93, "label93");
  GLADE_HOOKUP_OBJECT (main_window, label94, "label94");
  GLADE_HOOKUP_OBJECT (main_window, hbox8, "hbox8");
  GLADE_HOOKUP_OBJECT (main_window, label10, "label10");
  GLADE_HOOKUP_OBJECT (main_window, label11, "label11");
  GLADE_HOOKUP_OBJECT (main_window, physicsTimeStep, "physicsTimeStep");
  GLADE_HOOKUP_OBJECT (main_window, hbox25, "hbox25");
  GLADE_HOOKUP_OBJECT (main_window, label45, "label45");
  GLADE_HOOKUP_OBJECT (main_window, label46, "label46");
  GLADE_HOOKUP_OBJECT (main_window, simTimeStep, "simTimeStep");
  GLADE_HOOKUP_OBJECT (main_window, hbox34, "hbox34");
  GLADE_HOOKUP_OBJECT (main_window, label63, "label63");
  GLADE_HOOKUP_OBJECT (main_window, label64, "label64");
  GLADE_HOOKUP_OBJECT (main_window, saveEveryNSteps, "saveEveryNSteps");
  GLADE_HOOKUP_OBJECT (main_window, hbox11, "hbox11");
  GLADE_HOOKUP_OBJECT (main_window, label14, "label14");
  GLADE_HOOKUP_OBJECT (main_window, label15, "label15");
  GLADE_HOOKUP_OBJECT (main_window, modulesList, "modulesList");
  GLADE_HOOKUP_OBJECT (main_window, hbox51, "hbox51");
  GLADE_HOOKUP_OBJECT (main_window, label95, "label95");
  GLADE_HOOKUP_OBJECT (main_window, label96, "label96");
  GLADE_HOOKUP_OBJECT (main_window, featureMap, "featureMap");
  GLADE_HOOKUP_OBJECT (main_window, hseparator8, "hseparator8");
  GLADE_HOOKUP_OBJECT (main_window, hbox70, "hbox70");
  GLADE_HOOKUP_OBJECT (main_window, label130, "label130");
  GLADE_HOOKUP_OBJECT (main_window, stepsEntry, "stepsEntry");
  GLADE_HOOKUP_OBJECT (main_window, advanceButton, "advanceButton");
  GLADE_HOOKUP_OBJECT (main_window, hbox52, "hbox52");
  GLADE_HOOKUP_OBJECT (main_window, vbuttonbox1, "vbuttonbox1");
  GLADE_HOOKUP_OBJECT (main_window, renderButton, "renderButton");
  GLADE_HOOKUP_OBJECT (main_window, alignment8, "alignment8");
  GLADE_HOOKUP_OBJECT (main_window, hbox30, "hbox30");
  GLADE_HOOKUP_OBJECT (main_window, image11, "image11");
  GLADE_HOOKUP_OBJECT (main_window, label51, "label51");
  GLADE_HOOKUP_OBJECT (main_window, shadowButton, "shadowButton");
  GLADE_HOOKUP_OBJECT (main_window, alignment5, "alignment5");
  GLADE_HOOKUP_OBJECT (main_window, hbox27, "hbox27");
  GLADE_HOOKUP_OBJECT (main_window, image8, "image8");
  GLADE_HOOKUP_OBJECT (main_window, label48, "label48");
  GLADE_HOOKUP_OBJECT (main_window, speechButton, "speechButton");
  GLADE_HOOKUP_OBJECT (main_window, alignment7, "alignment7");
  GLADE_HOOKUP_OBJECT (main_window, hbox29, "hbox29");
  GLADE_HOOKUP_OBJECT (main_window, image10, "image10");
  GLADE_HOOKUP_OBJECT (main_window, label50, "label50");
  GLADE_HOOKUP_OBJECT (main_window, vbuttonbox2, "vbuttonbox2");
  GLADE_HOOKUP_OBJECT (main_window, aboutDPRSim, "aboutDPRSim");
  GLADE_HOOKUP_OBJECT (main_window, alignment23, "alignment23");
  GLADE_HOOKUP_OBJECT (main_window, hbox56, "hbox56");
  GLADE_HOOKUP_OBJECT (main_window, image21, "image21");
  GLADE_HOOKUP_OBJECT (main_window, label103, "label103");
  GLADE_HOOKUP_OBJECT (main_window, dprsimHelp, "dprsimHelp");
  GLADE_HOOKUP_OBJECT (main_window, alignment24, "alignment24");
  GLADE_HOOKUP_OBJECT (main_window, hbox57, "hbox57");
  GLADE_HOOKUP_OBJECT (main_window, image22, "image22");
  GLADE_HOOKUP_OBJECT (main_window, label104, "label104");
  GLADE_HOOKUP_OBJECT (main_window, settingsLabel, "settingsLabel");
  GLADE_HOOKUP_OBJECT (main_window, vbox4, "vbox4");
  GLADE_HOOKUP_OBJECT (main_window, table4, "table4");
  GLADE_HOOKUP_OBJECT (main_window, objectFile, "objectFile");
  GLADE_HOOKUP_OBJECT (main_window, objectButton, "objectButton");
  GLADE_HOOKUP_OBJECT (main_window, alignment10, "alignment10");
  GLADE_HOOKUP_OBJECT (main_window, hbox35, "hbox35");
  GLADE_HOOKUP_OBJECT (main_window, image13, "image13");
  GLADE_HOOKUP_OBJECT (main_window, label65, "label65");
  GLADE_HOOKUP_OBJECT (main_window, clearObjectButton, "clearObjectButton");
  GLADE_HOOKUP_OBJECT (main_window, image14, "image14");
  GLADE_HOOKUP_OBJECT (main_window, label85, "label85");
  GLADE_HOOKUP_OBJECT (main_window, catomScale, "catomScale");
  GLADE_HOOKUP_OBJECT (main_window, hbox59, "hbox59");
  GLADE_HOOKUP_OBJECT (main_window, label106, "label106");
  GLADE_HOOKUP_OBJECT (main_window, label84, "label84");
  GLADE_HOOKUP_OBJECT (main_window, hbox60, "hbox60");
  GLADE_HOOKUP_OBJECT (main_window, label107, "label107");
  GLADE_HOOKUP_OBJECT (main_window, label108, "label108");
  GLADE_HOOKUP_OBJECT (main_window, toolbar3, "toolbar3");
  GLADE_HOOKUP_OBJECT (main_window, shellFillButton, "shellFillButton");
  GLADE_HOOKUP_OBJECT (main_window, separatortoolitem2, "separatortoolitem2");
  GLADE_HOOKUP_OBJECT (main_window, solidFillButton, "solidFillButton");
  GLADE_HOOKUP_OBJECT (main_window, hbox61, "hbox61");
  GLADE_HOOKUP_OBJECT (main_window, label109, "label109");
  GLADE_HOOKUP_OBJECT (main_window, label110, "label110");
  GLADE_HOOKUP_OBJECT (main_window, toolbar4, "toolbar4");
  GLADE_HOOKUP_OBJECT (main_window, flipYZ, "flipYZ");
  GLADE_HOOKUP_OBJECT (main_window, separatortoolitem1, "separatortoolitem1");
  GLADE_HOOKUP_OBJECT (main_window, insertAtCursor, "insertAtCursor");
  GLADE_HOOKUP_OBJECT (main_window, hseparator6, "hseparator6");
  GLADE_HOOKUP_OBJECT (main_window, hbox66, "hbox66");
  GLADE_HOOKUP_OBJECT (main_window, label122, "label122");
  GLADE_HOOKUP_OBJECT (main_window, label82, "label82");
  GLADE_HOOKUP_OBJECT (main_window, latticeType, "latticeType");
  GLADE_HOOKUP_OBJECT (main_window, hbox67, "hbox67");
  GLADE_HOOKUP_OBJECT (main_window, label123, "label123");
  GLADE_HOOKUP_OBJECT (main_window, label124, "label124");
  GLADE_HOOKUP_OBJECT (main_window, shellThickness, "shellThickness");
  GLADE_HOOKUP_OBJECT (main_window, alignment25, "alignment25");
  GLADE_HOOKUP_OBJECT (main_window, importObjectButton, "importObjectButton");
  GLADE_HOOKUP_OBJECT (main_window, alignment11, "alignment11");
  GLADE_HOOKUP_OBJECT (main_window, hbox43, "hbox43");
  GLADE_HOOKUP_OBJECT (main_window, image15, "image15");
  GLADE_HOOKUP_OBJECT (main_window, label79, "label79");
  GLADE_HOOKUP_OBJECT (main_window, alignment15, "alignment15");
  GLADE_HOOKUP_OBJECT (main_window, catomizeBar, "catomizeBar");
  GLADE_HOOKUP_OBJECT (main_window, hseparator3, "hseparator3");
  GLADE_HOOKUP_OBJECT (main_window, alignment18, "alignment18");
  GLADE_HOOKUP_OBJECT (main_window, toolbar1, "toolbar1");
  GLADE_HOOKUP_OBJECT (main_window, navigateButton, "navigateButton");
  GLADE_HOOKUP_OBJECT (main_window, insertButton, "insertButton");
  GLADE_HOOKUP_OBJECT (main_window, eraseButton, "eraseButton");
  GLADE_HOOKUP_OBJECT (main_window, selectButton, "selectButton");
  GLADE_HOOKUP_OBJECT (main_window, toolitem4, "toolitem4");
  GLADE_HOOKUP_OBJECT (main_window, catomColorButton, "catomColorButton");
  GLADE_HOOKUP_OBJECT (main_window, alignment19, "alignment19");
  GLADE_HOOKUP_OBJECT (main_window, toolbar2, "toolbar2");
  GLADE_HOOKUP_OBJECT (main_window, toolitem2, "toolitem2");
  GLADE_HOOKUP_OBJECT (main_window, label86, "label86");
  GLADE_HOOKUP_OBJECT (main_window, mwcameraButton, "mwcameraButton");
  GLADE_HOOKUP_OBJECT (main_window, mwcursorButton, "mwcursorButton");
  GLADE_HOOKUP_OBJECT (main_window, hseparator7, "hseparator7");
  GLADE_HOOKUP_OBJECT (main_window, hbox45, "hbox45");
  GLADE_HOOKUP_OBJECT (main_window, alignment17, "alignment17");
  GLADE_HOOKUP_OBJECT (main_window, setGUIDButton, "setGUIDButton");
  GLADE_HOOKUP_OBJECT (main_window, alignment13, "alignment13");
  GLADE_HOOKUP_OBJECT (main_window, hbox47, "hbox47");
  GLADE_HOOKUP_OBJECT (main_window, image17, "image17");
  GLADE_HOOKUP_OBJECT (main_window, label88, "label88");
  GLADE_HOOKUP_OBJECT (main_window, alignment16, "alignment16");
  GLADE_HOOKUP_OBJECT (main_window, GUIDEntry, "GUIDEntry");
  GLADE_HOOKUP_OBJECT (main_window, label129, "label129");
  GLADE_HOOKUP_OBJECT (main_window, alignment30, "alignment30");
  GLADE_HOOKUP_OBJECT (main_window, hbox71, "hbox71");
  GLADE_HOOKUP_OBJECT (main_window, cursorPos, "cursorPos");
  GLADE_HOOKUP_OBJECT (main_window, label131, "label131");
  GLADE_HOOKUP_OBJECT (main_window, alignment29, "alignment29");
  GLADE_HOOKUP_OBJECT (main_window, hbox69, "hbox69");
  GLADE_HOOKUP_OBJECT (main_window, label111, "label111");
  GLADE_HOOKUP_OBJECT (main_window, catomCountLabel, "catomCountLabel");
  GLADE_HOOKUP_OBJECT (main_window, label128, "label128");
  GLADE_HOOKUP_OBJECT (main_window, label127, "label127");
  GLADE_HOOKUP_OBJECT (main_window, clearButton, "clearButton");
  GLADE_HOOKUP_OBJECT (main_window, alignment28, "alignment28");
  GLADE_HOOKUP_OBJECT (main_window, hbox68, "hbox68");
  GLADE_HOOKUP_OBJECT (main_window, image23, "image23");
  GLADE_HOOKUP_OBJECT (main_window, label125, "label125");
  GLADE_HOOKUP_OBJECT (main_window, saveAsButton, "saveAsButton");
  GLADE_HOOKUP_OBJECT (main_window, alignment31, "alignment31");
  GLADE_HOOKUP_OBJECT (main_window, hbox72, "hbox72");
  GLADE_HOOKUP_OBJECT (main_window, image24, "image24");
  GLADE_HOOKUP_OBJECT (main_window, label132, "label132");
  GLADE_HOOKUP_OBJECT (main_window, builderLabel, "builderLabel");
  GLADE_HOOKUP_OBJECT_NO_REF (main_window, tooltips, "tooltips");

  gtk_widget_grab_focus (gl_target);
  gtk_widget_grab_default (gl_target);
  return main_window;
}

