resumet.connect((ToolButton.CLICKED)new GUIEventPipe(this, "resume"));
final ImageMenuItem preferencesm = (ImageMenuItem)mainGlade.getWidget("mbtn_preferences");
preferencesm.connect(new GUIEventPipe(this, "preferences"));
final Window w = (Window)mainGlade.getWidget("wnd_main");
w.showAll();
w.connect(new Window.DELETE_EVENT()
{
public boolean onDeleteEvent(Widget source, Event event)
{
Gtk.mainQuit();
return false;