/*
 * Generated by LibGladeStubs from test.glade
 */

import java.io.IOException;

import org.gnu.glade.LibGlade;
import org.gnu.gtk.Gtk;
import org.gnu.gtk.event.GtkEvent;

public class Test {

    private LibGlade libglade;

    private static final String gladeFile = "test.glade";

    public Test() throws IOException {
	libglade = new LibGlade(gladeFile, this);
    }

    // Signal handlers, as defined in test.glade

    /**
     * gtkMainQuit method to handle the "destroy" signal.
     *
     * @param source the widget that fired this signal
     * @param target an object defined as the target of this signal, or null.
     */
    public void gtkMainQuit(GtkEvent event, Object target) {
        // TODO: handler code here
    }

    public static void main(String args[]) {
	Test gui;

	Gtk.init(args);
	try {
	    gui = new Test();
	} catch (IOException e) {
	    System.err.println(e.toString());
	    System.exit(1);
	}
	Gtk.main();
    }
}
