void showWidget(Constants.GenericWindowShow stuff)
{
if(stuff == Constants.GenericWindowShow.ENTRY)
entry.Show();
else if(stuff == Constants.GenericWindowShow.ENTRY2)
hbox_entry2.Show();
else if(stuff == Constants.GenericWindowShow.ENTRY3)
hbox_entry3.Show();
else if(stuff == Constants.GenericWindowShow.SPININT)
hbox_spin_int.Show();
else if(stuff == Constants.GenericWindowShow.SPINDOUBLE)
spin_double.Show();
else if(stuff == Constants.GenericWindowShow.HBOXSPINDOUBLE2)
hbox_spin_double2.Show();
else if(stuff == Constants.GenericWindowShow.HEIGHTMETRIC)
hbox_height_metric.Show();
else if(stuff == Constants.GenericWindowShow.SPININT2)
hbox_spin_int2.Show();
else if(stuff == Constants.GenericWindowShow.SPININT3)
hbox_spin_int3.Show();
else if(stuff == Constants.GenericWindowShow.COMBO) {
//do later, we need to create them first
/*
hbox_combo.Show();
combo.Show();
*/
}
else if(stuff == Constants.GenericWindowShow.BUTTONMIDDLE)
hbuttonbox_middle.Show();
else if(stuff == Constants.GenericWindowShow.TEXTVIEW)
scrolled_window_textview.Show();
else //if(stuff == Constants.GenericWindowShow.TREEVIEW)
scrolled_window_treeview.Show();
}