Window window = (Window) gladeApp.getWidget("mainwindow"); window.addListener(new LifeCycleListener() { public void lifeCycleEvent(LifeCycleEvent event) { }  public boolean lifeCycleQuery(LifeCycleEvent event) { Gtk.mainQuit(); return false; } }); window.setDefaultSize(600, 600); window.setMinimumSize(800, 600);
	public void addWindowCloser() {//		Window window = (Window) gladeApp.getWidget("mainwindow");//		window.addListener(new LifeCycleListener() {//			public void lifeCycleEvent(LifeCycleEvent event) {//			}////			public boolean lifeCycleQuery(LifeCycleEvent event) {//				Gtk.mainQuit();//				return false;//			}//		});//		window.setDefaultSize(600, 600);//		window.setMinimumSize(800, 600);	}